Optical fiber hot backup device and method thereof

文档序号:860998 发布日期:2021-03-16 浏览:19次 中文

阅读说明:本技术 一种光纤热备份装置及其方法 (Optical fiber hot backup device and method thereof ) 是由 陈其燕 田茂发 王建波 陈建 席娟 詹洪娇 于 2020-12-18 设计创作,主要内容包括:本发明提供了一种光纤热备份装置及其方法,包括网络接口模块,FPGA单元、主用光路和备用光路,主用光路和备用光路并联后与FPGA单元、网络接口模块串联。本发明提供了一种光纤热备份装置及其方法,通过增加一路光纤链路,结合FPGA实现光纤链路的切换,实现了光纤热备份,当一路光链路出现故障时,自动切换至另一路光链路,有效的提高了光链路的可靠性和维修性。(The invention provides an optical fiber hot backup device and a method thereof, which comprises a network interface module, an FPGA unit, a main optical path and a standby optical path, wherein the main optical path and the standby optical path are connected in parallel and then are connected in series with the FPGA unit and the network interface module. The invention provides an optical fiber hot backup device and a method thereof, which realize the switching of optical fiber links by adding one optical fiber link and combining FPGA (field programmable gate array), realize the hot backup of optical fibers, automatically switch to another optical link when one optical link fails, and effectively improve the reliability and maintainability of the optical links.)

1. An optical fiber hot backup device, characterized in that: the optical path switching device comprises a network interface module (1), an FPGA unit (2), a main optical path and a standby optical path, wherein the main optical path and the standby optical path are connected in parallel and then are connected in series with the FPGA unit (2) and the network interface module (1).

2. A fiber optic hot-standby device according to claim 1, wherein: the FPGA unit (2) comprises a main and standby state indicating module (3), a data transceiver module (4), a link state detecting module (5) and a main and standby switching module (6), wherein every two of the data transceiver module (4), the main and standby state indicating module (3) and the link state detecting module (5) are in bidirectional data transmission connection, the main and standby state indicating module (3) is in bidirectional data transmission connection with the main and standby switching module (6), the output end of the main and standby switching module (6) is in data transmission connection with the link state detecting module (5), and the data transceiver module (4) is in bidirectional data transmission connection with the network interface module (1), the main optical path and the standby optical path respectively.

3. A fiber optic hot-standby device according to claim 2, wherein: the FPGA unit (2) further comprises an initialization module (7), and the output end of the initialization module (7) is respectively connected with the main/standby state indication module (3) and the link state detection module (5) in a data transmission mode.

4. A fiber optic hot-standby device according to claim 1, wherein: the main optical path comprises a main photoelectric conversion module (8), a main optical transceiver module (9) and a main optical fiber (10).

5. A fiber optic hot-standby device according to claim 1, wherein: the standby optical path comprises a standby photoelectric conversion module (11), a standby optical transceiver module (12) and a standby optical fiber (13).

6. A method for optical fiber hot backup using the optical fiber hot backup apparatus of claims 1 to 5, characterized in that: after the main optical path is connected with the standby optical path in parallel, the FPGA unit (2) is connected to monitor the state of the main optical path, the switching of the optical fiber link is controlled by the FPGA unit (2), and when the main optical path fails, the main optical path is automatically switched to the standby optical path.

7. A method for hot-standby of optical fibers according to claim 6, wherein: the FPGA unit (2) comprises the following steps of:

the method comprises the following steps: the active/standby state indicating module (3) reads the states of the active optical path and the standby optical path through the data transceiver module (4) and assigns values;

step two: the link state detection module (5) reads the currently used optical fiber link state through the data transceiver module (4) in real time and assigns a value;

step three: the master and standby state indicating module (3) reads the link state from the link state detecting module (5) every 1s, and when the link state is normal, the step two is returned; when the link state is abnormal, the fourth step is carried out;

step four: the main/standby state indicating module (3) transmits the switching information to the main/standby switching module (6), the main/standby switching module (6) switches the optical fiber link, and feeds the switched information back to the main/standby state indicating module (3) and the link state detecting module (5) for updating assignment.

8. A method for hot-standby of optical fibers according to claim 7, wherein: in the first step, when the optical fiber hot backup device is powered on, the active-standby state indication module (3) and the active-standby switching module (6) are firstly powered on and initialized before working.

9. A fiber optic hot-standby device according to claim 7, wherein: in the fourth step, the main/standby switching module (6) reads the switching notification from the main/standby state indicating module every 1 s.

Technical Field

The invention belongs to the technical field of optical fiber communication, and particularly relates to an optical fiber hot backup device and an optical fiber hot backup method.

Background

With the rapid development of the communication industry, optical communication plays an important role in the whole communication industry, and optical fibers are an important component of optical communication. The optical fiber connector has the advantages of high bandwidth, light weight, low time delay, strong anti-interference capability, long transmission distance and the like, but also has the defects of fragile texture, easy disconnection, difficult connection and the like, and a special connecting mechanism is needed, for example, an angle type optical connector is provided in the Chinese patent with the publication number of CN100480759C, the optical fiber connector is a mounting and fixing mechanism of an optical fiber, but the optical link has low reliability and difficult maintenance due to the lack of a redundant design, and once the optical fiber is damaged, the data transmission is interrupted, so that the production and the life are seriously influenced.

Disclosure of Invention

In order to solve the technical problems, the invention provides an optical fiber hot backup device and a method thereof, wherein one optical fiber link is added, the switching of the optical fiber links is realized by combining with an FPGA (field programmable gate array), the optical fiber hot backup is realized, when one optical link fails, the optical link is automatically switched to the other optical link, and the reliability and the maintainability of the optical link are effectively improved.

The invention is realized by the following technical scheme:

an optical fiber hot backup device comprises a network interface module, an FPGA unit, a main optical path and a standby optical path, wherein the main optical path and the standby optical path are connected in parallel and then are connected in series with the FPGA unit and the network interface module, one path of optical fiber link is added, the switching of the optical fiber link is realized by combining the FPGA, the hot backup of the optical fiber is realized, when one path of optical link fails, the optical link is automatically switched to the other path of optical link, the reliability and the maintainability of the optical link are effectively improved, the manual repair time is reduced, the optical fiber link can be automatically repaired in a short time, the smooth information transmission is ensured, and the failed optical fiber link is maintained, repaired or replaced under the condition that the data transmission is not influenced.

The FPGA unit comprises a main and standby state indicating module, a data transceiver module, a link state detecting module and a main and standby switching module, wherein the data transceiver module, the main and standby state indicating module and the link state detecting module are connected in a two-way data transmission mode, the main and standby state indicating module is connected with the main and standby switching module in a two-way data transmission mode, the output end of the main and standby switching module is connected with the link state detecting module in a data transmission mode, and the data transceiver module is respectively connected with the network interface module, the main optical path and the standby optical path in a two-way data transmission mode, so that the monitoring and switching functions of the.

The FPGA unit also comprises an initialization module, and the output end of the initialization module is respectively connected with the main/standby state indication module and the link state detection module in a data transmission manner, so that the state self-detection and initialization during power-on are realized.

The main optical path comprises a main photoelectric conversion module, a main optical transceiver module and a main optical fiber.

The standby optical path comprises a standby photoelectric conversion module, a standby optical transceiver module and a standby optical fiber.

The optical fiber hot backup device is used, after the standby optical path is connected in parallel on the main optical path, the FPGA unit is connected to monitor the state of the main optical path, the switching of the optical fiber link is controlled by the FPGA unit, and when the main optical path fails, the main optical path is automatically switched to the standby optical path.

The FPGA unit monitoring process of the state of the main optical path comprises the following steps:

the method comprises the following steps: the master and standby state indicating module reads the states of the master optical path and the standby optical path through the data receiving and transmitting module and assigns values;

step two: the link state detection module reads the currently used optical fiber link state through the data transceiver module in real time and assigns a value;

step three: the master and standby state indicating module reads the link state every 1s, and returns to the step two when the link state is normal; when the link state is abnormal, the fourth step is carried out;

step four: and the main/standby state indicating module transmits the switching information to the main/standby switching module, the main/standby switching module switches the used optical fiber link and feeds the switched information back to the main/standby state indicating module and the link state detecting module for updating assignment.

In the first step, when the optical fiber hot backup device is powered on, the active/standby state indication module and the active/standby switching module are firstly powered on and initialized before working.

In the fourth step, the main/standby switching module reads the switching notification from the main/standby state indicating module every 1 s.

The invention has the beneficial effects that:

compared with the prior art, the optical fiber hot backup is realized by adding one path of optical fiber link and combining FPGA (field programmable gate array) to realize the switching of the optical fiber links, when one path of optical link fails, the optical fiber hot backup is automatically switched to the other path of optical link, the reliability and maintainability of the optical link are effectively improved, the manual repair time is reduced, the optical fiber links can be automatically repaired in a short time, the smooth information transmission is ensured, and the maintenance, the repair or the replacement of the failed optical fiber links are realized under the condition that the data transmission is not influenced.

Drawings

FIG. 1 is a schematic structural diagram of an optical fiber hot backup device according to the present invention;

FIG. 2 is a schematic diagram of the structure of an FPGA unit in the present invention;

FIG. 3 is a flowchart illustrating operation of the active/standby status indication module according to the present invention;

fig. 4 is a flowchart of the operation of the active/standby switching module according to the present invention.

In the figure: the system comprises a network interface module 1, a FPGA unit 2, a master-slave state indication module 3, a data transceiver module 4, a link state detection module 5, a master-slave switching module 6, an initialization module 7, a master photoelectric conversion module 8, a master optical transceiver module 9, a master optical fiber 10, a backup photoelectric conversion module 11, a backup optical transceiver module 12 and a backup optical fiber 13.

Detailed Description

The technical solution of the present invention is further described below, but the scope of the claimed invention is not limited to the described.

As shown in fig. 1, an optical fiber hot backup device includes a network interface module 1, an FPGA unit 2, a main optical path and a backup optical path, the main optical path and the backup optical path are connected in parallel and then connected in series with the FPGA unit 2 and the network interface module 1, the optical fiber hot backup is realized by adding one optical fiber link and combining with the FPGA to realize the switching of the optical fiber links, when one optical link fails, the optical fiber hot backup is automatically switched to the other optical link, thereby effectively improving the reliability and maintainability of the optical links, reducing the time of manual repair, automatically repairing the optical fiber links in a short time, ensuring smooth information transmission, and realizing the maintenance, repair or replacement of the failed optical fiber links without affecting data transmission.

As shown in fig. 2, the FPGA unit 2 includes a primary/secondary status indication module 3, a data transceiver module 4, a link status detection module 5, and a primary/secondary switching module 6, two-way data transmission connection is performed between the data transceiver module 4, the primary/secondary status indication module 3, and the link status detection module 5, the primary/secondary status indication module 3 is connected with the primary/secondary switching module 6 in two-way data transmission, an output end of the primary/secondary switching module 6 is connected with the link status detection module 5 in data transmission, and the data transceiver module 4 is respectively connected with the network interface module 1, the primary optical path, and the secondary optical path in two-way data transmission, so as to implement monitoring and switching functions of the primary/.

As shown in fig. 2, the FPGA unit 2 further includes an initialization module 7, and an output end of the initialization module 7 is respectively connected to the active/standby state indication module 3 and the link state detection module 5 in a data transmission manner, so as to implement state self-detection and initialization when powered on.

The initialization module 7 mainly realizes the self-checking and initialization of the state when the power is on; the active-standby state indication module 3 realizes the current active-standby state indication and judges whether the link needs to be switched according to the current link state; the main/standby switching module 6 receives the switching notification of the main/standby state indicating module 3 and completes the link switching, and notifies the corresponding module of the switching information after the switching is completed; the link state detection module 5 realizes the current link state detection and feeds back the detection result to the active/standby state indication module 3; the data transceiver module 4 realizes data receiving and transmitting.

As shown in fig. 1, the primary optical path includes a primary photoelectric conversion module 8, a primary optical transceiver module 9, and a primary optical fiber 10.

As shown in fig. 1, the backup optical path includes a backup photoelectric conversion module 11, a backup optical transceiver module 12, and a backup optical fiber 13.

As shown in fig. 3 and 4, the present application further provides an optical fiber hot backup method, in which, after the optical fiber hot backup apparatus is used, after the standby optical path is connected in parallel on the primary optical path, the FPGA unit 2 is connected to monitor the state of the primary optical path, the FPGA unit 2 controls the switching of the optical fiber link, and when the primary optical path fails, the optical fiber hot backup apparatus is automatically switched to the standby optical path.

As shown in fig. 3, the active/standby state indication module 3 firstly performs power-on initialization, then determines the current active/standby operating state according to the data provided by the data transceiver module 4, and makes a corresponding indication, and reads the link state every 1S, and determines whether the link state is a fault alarm, if so, notifies the state switching module to perform state switching, and if not, continues to read the link state.

As shown in fig. 4, the active/standby switching module 6 first performs power-on initialization, reads a switching notification from the active/standby state indication module 3 every 1S, if there is a switching notification, immediately performs active/standby state switching, and distributes switching information to a corresponding module, and if not, continues to read the switching notification.

The link state detection module 5 monitors the data state of the current link bus in real time through the data provided by the data transceiver module 4, immediately gives an alarm when the link state fails, and sends alarm information to the active/standby state indication module 3. The data transceiver module 4 processes the received data, determines the current active/standby state, and then sends the data out from the working link.

According to the optical fiber hot backup device and the method thereof, one optical fiber link is added, the switching of the optical fiber links is realized by combining with the FPGA, the optical fiber hot backup is realized, when one optical link fails, the optical link is automatically switched to the other optical link, the reliability and the maintainability of the optical link are effectively improved, the time for manual repair is reduced, the optical fiber links can be automatically repaired in a short time, the smooth information transmission is ensured, and the maintenance, the repair or the replacement of the failed optical fiber links is realized under the condition that the data transmission is not influenced.

7页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种快速有效的判断多模光纤带宽的测量方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!