[go: up one dir, main page]

CN115842778A - Optical communication system, dual-homing protection method and communication system - Google Patents

Optical communication system, dual-homing protection method and communication system Download PDF

Info

Publication number
CN115842778A
CN115842778A CN202110918933.9A CN202110918933A CN115842778A CN 115842778 A CN115842778 A CN 115842778A CN 202110918933 A CN202110918933 A CN 202110918933A CN 115842778 A CN115842778 A CN 115842778A
Authority
CN
China
Prior art keywords
optical
communication device
controller
optical fiber
signal light
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
CN202110918933.9A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110918933.9A priority Critical patent/CN115842778A/en
Publication of CN115842778A publication Critical patent/CN115842778A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Optical Communication System (AREA)

Abstract

The present application relates to the field of optical communications, and in particular, to an optical communication system, a dual homing protection method, and a communication system. The optical communication system comprises a dual-homing protection device, a first optical communication device, a second optical communication device and a third optical communication device. The dual-return protection device is connected with the first optical communication device through the first optical fiber and the second optical fiber, the dual-return protection device is connected with the second optical communication device through the third optical fiber, and the dual-return protection device is connected with the third optical communication device through the fourth optical fiber. The dual-homing protection device may establish an optical path between the first optical fiber and the fourth optical fiber, or between the second optical fiber and the third optical fiber or the fourth optical fiber upon detection of a failure in one or more of the first optical fiber, the third optical fiber, the second optical communication device. By adopting the optical communication system and the dual-homing protection method provided by the application, the reliability of the forward network and the private network can be improved.

Description

一种光通信系统、双归保护方法及通信系统An optical communication system, a dual-homing protection method, and a communication system

技术领域technical field

本申请涉及通信技术领域,尤其涉及一种光通信系统、双归保护方法及通信系统。The present application relates to the technical field of communication, and in particular to an optical communication system, a dual-homing protection method and a communication system.

背景技术Background technique

随着光通信技术的不断发展,基于光网络架构实现的前传(即fronthaul)网络或者专线网络逐渐普及开来。前传网络实现的是远端设备(如射频拉远单元(remote radiounit,RRU)或有源天线单元(active antenna unit,AAU))与局端设备(如基带处理单元(building baseband unit,BBU)或分布式单元(distributed unit,DU))之间的业务数据传输。专线网络实现的是远端设备(如客户前置设备(customer premise equipment,CPE))与局端设备(如云接入点(point of presence,POP)设备)之间的业务数据传输。由于前传网络或者专线网络的重要性,人们对前传网络或者专线网络所采用的光通信系统的可靠性和实用性愈发地关注。With the continuous development of optical communication technology, the fronthaul (ie fronthaul) network or private line network implemented based on the optical network architecture is gradually becoming popular. The fronthaul network implements remote equipment (such as remote radio unit (RRU) or active antenna unit (active antenna unit, AAU)) and central office equipment (such as baseband processing unit (building baseband unit, BBU) or Service data transmission between distributed units (distributed unit, DU)). The dedicated line network realizes service data transmission between remote equipment (such as customer premise equipment (CPE)) and central office equipment (such as cloud access point (point of presence, POP) equipment). Due to the importance of the fronthaul network or the private line network, people pay more and more attention to the reliability and practicability of the optical communication system adopted by the fronthaul network or the private line network.

在现有前传网络或者专线网络的光通信系统中,主要是通过远端设备与局端设备之间的两根主干光纤形成主备倒换机制,从而实现针对主干光纤的保护。但是,现有的前传网络或者专线网络也仅能实现针对主干光纤的单归保护,其无法对局端设备这一侧实现冗余保护。一旦局端设备侧发生故障,则远端设备与局端设备之间的所有业务都会发生中断。所以,当前的前传网络或者专线网络的可靠性较差。In the optical communication system of the existing fronthaul network or dedicated line network, the main and standby switching mechanism is formed mainly through the two main optical fibers between the remote equipment and the central office equipment, so as to realize the protection for the main optical fiber. However, the existing fronthaul network or dedicated line network can only realize single-homing protection for the backbone optical fiber, and it cannot realize redundant protection for the side of the central office equipment. Once a failure occurs on the side of the central office equipment, all services between the remote equipment and the central office equipment will be interrupted. Therefore, the reliability of the current fronthaul network or dedicated line network is poor.

发明内容Contents of the invention

为此,本申请提供了一种光通信系统、双归保护方法和通信系统,可实现针对前传网络或者专线网络中的主干光纤和局端设备的双归保护,可提升前传网络或者专线网络的可靠性。To this end, the application provides an optical communication system, a dual-homing protection method, and a communication system, which can realize dual-homing protection for the backbone optical fiber and the central office equipment in the fronthaul network or dedicated line network, and can improve the security of the fronthaul network or dedicated line network. reliability.

第一方面,本申请实施例提供了一种光通信系统。该光通信系统包括双归保护装置、第一光通信装置、第二光通信装置、第三光通信装置、第一光纤、第二光纤、第三光纤和第四光纤。所述双归保护装置通过所述第一光纤和所述第二光纤与所述第一光通信装置相连接。所述双归保护装置通过所述第三光纤与所述第二光通信装置相连接,所述双归保护装置通过所述第四光纤与所述第三光通信装置相连接。所述双归保护装置用于当检测到所述第一光纤、所述第三光纤、所述第二光通信装置中的一项或者多项发生故障时,在所述第一光纤与第四光纤之间,或者,在所述第二光纤与所述第三光纤或者第四光纤之间建立光通路,以使得信号光在所述第一光通信装置与所述第二光通信装置或者所述第三光通信装置之间传输。In a first aspect, the embodiment of the present application provides an optical communication system. The optical communication system includes a dual-homing protection device, a first optical communication device, a second optical communication device, a third optical communication device, a first optical fiber, a second optical fiber, a third optical fiber and a fourth optical fiber. The dual-homing protection device is connected to the first optical communication device through the first optical fiber and the second optical fiber. The dual-homing protection device is connected to the second optical communication device through the third optical fiber, and the dual-homing protection device is connected to the third optical communication device through the fourth optical fiber. The dual-homing protection device is configured to, when it is detected that one or more of the first optical fiber, the third optical fiber, and the second optical communication device are faulty, between the first optical fiber and the fourth optical fiber between the optical fibers, or between the second optical fiber and the third optical fiber or the fourth optical fiber, so that the signal light travels between the first optical communication device and the second optical communication device or the between the third optical communication devices.

应理解,在上述光通信系统中,针对第一光纤以及由第三光纤连接的第二光通信装置均设置有备用的部分。如,第一光纤设置有备用的第二光纤,第三光纤设置有备用的第四光纤。第二光通信装置也设置有备用的第三光通信装置。因此,只要双归保护装置检测到第一光纤、所述第三光纤、所述第二光通信装置中的一项或者多项发生故障,就可以将发生故障的光纤或者光通信装置切换至其备用的部分。因此,该光通信系统可以通过双归保护装置实现针对第二光纤以及第二光通信装置的双归保护。将上述光通信系统应用于前传网络或者专线网络,即可实现使得前传网络或者专线网络能够实现针对主干光纤以及局端设备的双归保护,可提升前传网络或者专线网络的可靠性。It should be understood that, in the above optical communication system, spare parts are provided for both the first optical fiber and the second optical communication device connected by the third optical fiber. For example, the first optical fiber is provided with a spare second optical fiber, and the third optical fiber is provided with a spare fourth optical fiber. The second optical communication device is also provided with a spare third optical communication device. Therefore, as long as the dual-homing protection device detects that one or more of the first optical fiber, the third optical fiber, and the second optical communication device fails, it can switch the failed optical fiber or optical communication device to its spare part. Therefore, the optical communication system can implement dual-homing protection for the second optical fiber and the second optical communication device through the dual-homing protection device. Applying the above-mentioned optical communication system to the fronthaul network or dedicated line network can realize the dual-homing protection for the backbone optical fiber and the central office equipment, which can improve the reliability of the fronthaul network or the dedicated line network.

结合第一方面,在一种可行的实现方式中,所述双归保护装置包括:第一光耦合器、第二光耦合器、第三光耦合器、第四光耦合器、第一光开关组、第二光开关组、第一控制器和第二控制器,所述第一光耦合器分别与所述第一控制器和所述第一光开关组连接,所述第一控制器还分别与所述第一光开关组和所述第三光耦合器相连接,所述第一光开关组还与所述第二光开关组相连接,所述第二光开关组还别与所述第二光耦合器、所述第二控制器以及所述第四光耦合器相连接,所述第二控制器还分别与所述第二光耦合器和所述第四光耦合器相连接,所述第一控制器与所述第二控制器相连接,所述第一光耦合器通过所述第一光纤与所述第一光通信装置相连接,所述第二光耦合器通过所述第二光纤与所述第一光通信装置相连接,所述第三光耦合器通过所述第三光纤与所述第二光通信装置相连接,所述第四光耦合器通过所述第四光纤与所述第三光通信装置相连接。With reference to the first aspect, in a feasible implementation manner, the dual-homing protection device includes: a first optical coupler, a second optical coupler, a third optical coupler, a fourth optical coupler, a first optical switch group, a second optical switch group, a first controller, and a second controller, the first optical coupler is respectively connected to the first controller and the first optical switch group, and the first controller also respectively connected to the first optical switch group and the third optical coupler, the first optical switch group is also connected to the second optical switch group, and the second optical switch group is also connected to the The second optocoupler, the second controller and the fourth optocoupler are connected, and the second controller is also connected to the second optocoupler and the fourth optocoupler respectively , the first controller is connected with the second controller, the first optical coupler is connected with the first optical communication device through the first optical fiber, and the second optical coupler is connected through the The second optical fiber is connected to the first optical communication device, the third optical coupler is connected to the second optical communication device through the third optical fiber, and the fourth optical coupler is connected to the second optical communication device through the first Four optical fibers are connected to the third optical communication device.

结合第一方面,在一种可行的实现方式中,所述信号光还包括通过所述第一光纤向所述第一光耦合器发送的第四信号光。所述第一光耦合器用于根据所述第四信号光分光得到第七子信号光和第八子信号光,将所述第七子信号光传输给所述第一控制器,并将所述第八子信号光传输给所述第一光开关组。所述第一控制器用于当确定所述第七子信号光的光功率为零,或者,确定所述第七子信号光的光功率与第二预设光功率的第二光功率差值等于或者大于第二预设差值时,确定所述第一光纤发生故障。第一控制器通过光功率检测的方式来判断第一光纤是否发生故障,方式简单且易于实现,可降低双归保护装置的结构复杂度和成本。With reference to the first aspect, in a feasible implementation manner, the signal light further includes fourth signal light sent to the first optical coupler through the first optical fiber. The first optical coupler is used to obtain the seventh sub-signal light and the eighth sub-signal light according to the light splitting of the fourth signal light, transmit the seventh sub-signal light to the first controller, and send the The eighth sub-signal light is transmitted to the first optical switch group. The first controller is configured to determine that the optical power of the seventh sub-signal light is zero, or determine that the second optical power difference between the optical power of the seventh sub-signal light and the second preset optical power is equal to Or when the difference is greater than the second preset difference, it is determined that the first optical fiber is faulty. The first controller judges whether the first optical fiber fails by means of optical power detection, which is simple and easy to implement, and can reduce the structural complexity and cost of the dual-homing protection device.

结合第一方面,在一种可行的实现方式中,所述信号光还包括通过所述第三光纤向所述第三光耦合器发送的第一信号光。所述第三光耦合器用于根据所述第一信号光分光得到第一子信号光和第二子信号光,将所述第一子信号光传输给所述第一控制器,并将所述第二子信号光传输给所述第一光开关组。所述第一控制器用于当确定所述第一子信号光的光功率为零,或者,确定所述第一子信号光的光功率与第一预设光功率的第一光功率差值等于或者大于第一预设差值时,确定所述第三光纤发生故障。第二控制器也通过光功率检测的方式来判断第二光纤是否发生故障,这样可进一步降低双归保护装置的结构复杂度及成本。With reference to the first aspect, in a feasible implementation manner, the signal light further includes first signal light sent to the third optical coupler through the third optical fiber. The third optical coupler is used to obtain the first sub-signal light and the second sub-signal light according to the light splitting of the first signal light, transmit the first sub-signal light to the first controller, and transmit the The second sub-signal light is transmitted to the first optical switch group. The first controller is configured to determine that the optical power of the first sub-signal light is zero, or determine that the first optical power difference between the optical power of the first sub-signal light and the first preset optical power is equal to Or when the difference is greater than the first preset difference, it is determined that the third optical fiber is faulty. The second controller also judges whether the second optical fiber fails by means of optical power detection, which can further reduce the structural complexity and cost of the dual-homing protection device.

结合第一方面,在一种可行的实现方式中,所述第一控制器还用于当确定所述第一光功率差值小于所述第一预设差值时,确定所述第一子信号光是否包含目标调顶信号。其中,所述目标调顶信号为所述第一信号光预配置的调顶信号。若确定所述第一子信号光不包含所述目标调顶信号,则确定所述第二光通信装置发生故障。第一控制器通过检测光功率来判断第三光纤是否发生故障,并在确定第三光纤无故障的情况下,进一步通过检测第一子信号光中是否包含目标调顶信号来判断第二光通信装置是否发生故障,这样就可以实现针对第三光纤和第二光通信装置的纯光层的故障检测。With reference to the first aspect, in a feasible implementation manner, the first controller is further configured to, when determining that the first optical power difference is smaller than the first preset difference, determine the first sub- Whether the signal light contains the target pitch signal. Wherein, the target top adjustment signal is a top adjustment signal preconfigured by the first signal light. If it is determined that the first sub-signal light does not include the target pitch signal, it is determined that a fault occurs in the second optical communication device. The first controller judges whether the third optical fiber is faulty by detecting the optical power, and further judges whether the second optical communication is faulty by detecting whether the first sub-signal light contains the target top adjustment signal in the case of determining that the third optical fiber is not faulty. Whether the device fails, so that the fault detection for the third optical fiber and the pure optical layer of the second optical communication device can be realized.

结合第一方面,在一种可行的实现方式中,所述信号光还包括通过所述第二光纤向所述第二光耦合器发送的第二信号光以及通过所述第四光纤向所述第四光耦合器发送的第三信号光。所述第二光耦合器用于根据所述第二信号光分光得到第三子信号光和第四子信号光,将所述第三子信号光传输给所述第二控制器,并将所述第四子信号光传输给所述第二光开关组。所述第四光耦合器用于根据所述第三信号光分光得到第五子信号光和第六子信号光,将所述第五子信号光传输给所述第二控制器,并将所述第六子信号光传输给所述第二光开关组。所述第二控制器用于根据所述第三子信号光确定所述第二光纤是否发生故障。所述第二控制器还用于根据所述第五子信号光确定所述第四光纤和/或所述第三光通信装置是否发生故障。With reference to the first aspect, in a feasible implementation manner, the signal light further includes the second signal light sent to the second optical coupler through the second optical fiber and the second signal light sent to the second optical coupler through the fourth optical fiber. The third signal light sent by the fourth optical coupler. The second optical coupler is used to obtain third sub-signal light and fourth sub-signal light according to the light splitting of the second signal light, transmit the third sub-signal light to the second controller, and transfer the The fourth sub-signal light is transmitted to the second optical switch group. The fourth optical coupler is used to obtain fifth sub-signal light and sixth sub-signal light according to the light splitting of the third signal light, transmit the fifth sub-signal light to the second controller, and transfer the The sixth sub-signal light is transmitted to the second optical switch group. The second controller is configured to determine whether the second optical fiber is faulty according to the third sub-signal light. The second controller is further configured to determine whether the fourth optical fiber and/or the third optical communication device fails according to the fifth sub-signal light.

结合第一方面,在一种可行的实现方式中,所述第一控制器用于在确定所述第一光纤发生故障且所述第三光纤和所述第二光通信装置无故障的情况下,控制所述第一光开关组在所述第二光开关组和所述第三光耦合器之间建立光通路,并向所述第二控制器发送第一指示信息。所述第二控制器用于接收所述第一指示信息,在确定所述第二光纤无故障的情况下,控制所述第二光开关组在所述第二光耦合器和所述第一光开关组之间建立光通路,以通过所述第三光纤将所述第四子信号光传输给所述第二光通信装置,并通过所述第二光纤将所述第二子信号光传输给所述第一光通信装置。当双归保护装置确定第一光纤发生故障且第三光纤和第二光通信装置未发生故障时,可通过第二光纤来代替第一光纤来进行相应的业务数据的传输,这样就使得光通信系统能够实现针对第一光纤的故障保护。With reference to the first aspect, in a feasible implementation manner, the first controller is configured to, when it is determined that the first optical fiber is faulty and the third optical fiber and the second optical communication device are not faulty, controlling the first optical switch group to establish an optical path between the second optical switch group and the third optical coupler, and sending first indication information to the second controller. The second controller is configured to receive the first indication information, and control the second optical switch group to connect between the second optical coupler and the first optical fiber when it is determined that the second optical fiber is not faulty. An optical path is established between the switch groups, so as to transmit the fourth sub-signal light to the second optical communication device through the third optical fiber, and transmit the second sub-signal light to the second optical communication device through the second optical fiber. The first optical communication device. When the dual-homing protection device determines that the first optical fiber is faulty and the third optical fiber and the second optical communication device are not faulty, the second optical fiber can be used instead of the first optical fiber to transmit the corresponding service data, thus enabling optical communication The system enables fault protection for the first optical fiber.

结合第一方面,在一种可行的实现方式中,所述第一控制器用于在确定所述第一光纤无故障且所述第三光纤和/或所述第二光通信装置发生故障的情况下,控制所述第一光开关组在所述第一光耦合器和所述第二光开关组之间建立光通路,并向所述第二控制器发送第二指示信息。所述第二控制器用于接收所述第二指示信息,在确定所述第四光纤和所述第三光通信装置无故障的情况下,控制所述第二光开关组在所述第一光开关组和所述第四光耦合器之间建立光通路,以通过所述第四光纤将所述第一光耦合器提供的子信号光传输给所述第三光通信装置,并通过所述第一光纤将所述第六子信号光传输给所述第一光通信装置。当双归保护装置确定第一光纤无故障且第三光纤和/或第二光通信装置发生故障,即可通过备用的第四光纤和第三光通信装置来代替第三光纤和第二光通信装置进行相应的业务数据的传输,这样就使得光通信系统还能实现针对第三光纤和第二光通信装置的故障保护。With reference to the first aspect, in a feasible implementation manner, the first controller is configured to determine that the first optical fiber is not faulty and the third optical fiber and/or the second optical communication device is faulty Next, controlling the first optical switch group to establish an optical path between the first optical coupler and the second optical switch group, and sending second instruction information to the second controller. The second controller is configured to receive the second indication information, and control the second optical switch group to switch between the first optical fiber and the third optical communication device when it is determined that there is no fault in the fourth optical fiber An optical path is established between the switch group and the fourth optical coupler, so as to transmit the sub-signal light provided by the first optical coupler to the third optical communication device through the fourth optical fiber, and transmit the sub-signal light provided by the first optical coupler to the third optical communication device through the fourth optical fiber. The first optical fiber transmits the sixth sub-signal light to the first optical communication device. When the dual-homing protection device determines that the first optical fiber is not faulty and the third optical fiber and/or the second optical communication device fails, the third optical fiber and the second optical communication device can be replaced by the spare fourth optical fiber and the third optical communication device The device transmits corresponding service data, so that the optical communication system can also implement fault protection for the third optical fiber and the second optical communication device.

结合第一方面,在一种可行的实现方式中,所述第一控制器用于在确定所述第一光纤和所述第三光纤,或者,所述第一光纤、所述第三光纤和所述第二光通信装置均发生故障的情况下,向所述第二控制器发送第三指示信息。所述第二控制器用于接收所述第三指示信息,在确定所述第二光纤、所述第四光纤和所述第三光通信装置均无故障的情况下,控制所述第二光开关组在所述第二光耦合器和所述第四光耦合器之间建立光通路,以通过所述第四光纤将所述第四子信号光传输给所述第三光通信装置,并通过所述第二光纤将所述第六子信号光传输给所述第一光通信装置。With reference to the first aspect, in a feasible implementation manner, the first controller is configured to determine the first optical fiber and the third optical fiber, or the first optical fiber, the third optical fiber and the When all the second optical communication devices fail, send third indication information to the second controller. The second controller is configured to receive the third indication information, and control the second optical switch when it is determined that the second optical fiber, the fourth optical fiber, and the third optical communication device are not faulty. establishing an optical path between the second optical coupler and the fourth optical coupler, so as to transmit the fourth sub-signal light to the third optical communication device through the fourth optical fiber, and transmit the fourth sub-signal light to the third optical communication device through the The second optical fiber transmits the sixth sub-signal light to the first optical communication device.

结合第一方面,在一种可行的实现方式中,在确定所述第一光纤和所述第二光纤发生故障的情况下,所述第二控制器用于输出业务中断告警信息,其中,所述业务中断告警信息用于指示所述第一光通信装置与所述第二光通信装置和所述第三光通信装置之间发生业务中断。With reference to the first aspect, in a feasible implementation manner, when it is determined that the first optical fiber and the second optical fiber fail, the second controller is configured to output service interruption alarm information, wherein the The service interruption alarm information is used to indicate that service interruption occurs between the first optical communication device, the second optical communication device, and the third optical communication device.

结合第一方面,在一种可行的实现方式中,所述第二光通信装置包括第一合分波器、N根第一支路光纤以及N个第一光收发器。其中,每个第一光收发器通过一根支路光纤以及所述第一合分波器与所述第三光纤相连接,N为大于或者等于2的正整数。所述N个第一光收发器用于生成N个第一支路信号光,并分别通过所述N根第一支路光纤将所述N个第一支路信号光传输给所述第一合分波器。其中,所述N个第一支路信号光中的每个第一支路信号光预配置有第一支路调顶信号。所述第一合分波器用于对所述N个第一支路信号光进行合束以得到第一信号光,并通过所述第三光纤将所述第一信号光传输给所述第三光耦合器。所述第三光耦合器用于根据所述第一信号光进行分光以得到第一子信号光,并将所述第一子信号光发送给所述第一控制器。所述第一控制器还用于当确定所述第一光功率差值小于所述第一预设差值时,确定所述第一子信号光是否包含所述N个第一支路信号光中每个第一支路信号光对应的第一支路调顶信号。若所述第一控制器确定所述第一子信号光不包含所述N个第一支路信号光中的M个第一支路信号光预配置的第一支路调顶信号,则确定用于生成所述M个第一支路信号光的M个第一光收发器发生故障。其中,M为大于或者等于1的正整数。With reference to the first aspect, in a feasible implementation manner, the second optical communication device includes a first multiplexer/demultiplexer, N first branch optical fibers, and N first optical transceivers. Wherein, each first optical transceiver is connected to the third optical fiber through a branch optical fiber and the first multiplexer/demultiplexer, and N is a positive integer greater than or equal to 2. The N first optical transceivers are used to generate N first branch signal lights, and respectively transmit the N first branch signal lights to the first combination through the N first branch optical fibers. Splitter. Wherein, each first branch signal light in the N first branch signal lights is pre-configured with a first branch top adjustment signal. The first multiplexer/demultiplexer is used to combine the N first branch signal lights to obtain the first signal light, and transmit the first signal light to the third optical fiber through the third optical fiber. optocoupler. The third optical coupler is configured to split light according to the first signal light to obtain first sub-signal light, and send the first sub-signal light to the first controller. The first controller is further configured to determine whether the first sub-signal lights include the N first branch signal lights when it is determined that the first optical power difference is smaller than the first preset difference Each of the first branch signal light corresponds to the first branch top adjustment signal. If the first controller determines that the first sub-signal light does not include the first branch top adjustment signal preconfigured by the M first branch signal lights in the N first branch signal lights, then determine The M first optical transceivers used to generate the M first branch signal lights fail. Wherein, M is a positive integer greater than or equal to 1.

结合第一方面,在一种可行的实现方式中,所述第三光通信装置包括第二合分波器、N根第二支路光纤以及N个第二光收发器,每个第二光收发器通过一根第二支路光纤以及所述第二合分波器与所述第四光纤相连接,所述N个第一光收发器与所述N个第二光收发器一一对应。所述第一控制器用于在确定所述M个第一光收发器发生故障的情况下,控制所述第一光开关组在所述第一光耦合器和所述第二光开关组之间建立光通路,并向所述第二控制器发送第四指示信息。所述第二控制器用于接收所述第四指示信息,在确定所述第二光纤、所述第四光纤以及所述第三光通信装置无故障的情况下,控制所述第二光开关组在所述第二光纤和所述第四光纤之间建立光通路,以通过所述N个第二光收发器中与所述M个第一光收发器相对应的M个第二光收发器来代替发生故障的所述M个第一光收发器进行相应的信号光的传输。With reference to the first aspect, in a feasible implementation manner, the third optical communication device includes a second multiplexer/demultiplexer, N second branch optical fibers, and N second optical transceivers, and each second optical The transceiver is connected to the fourth optical fiber through a second branch optical fiber and the second multiplexer/demultiplexer, and the N first optical transceivers are in one-to-one correspondence with the N second optical transceivers . The first controller is configured to control the first optical switch group between the first optical coupler and the second optical switch group when it is determined that the M first optical transceivers fail. Establish an optical path, and send fourth indication information to the second controller. The second controller is configured to receive the fourth indication information, and control the second optical switch group when it is determined that the second optical fiber, the fourth optical fiber, and the third optical communication device are not faulty. Establishing an optical path between the second optical fiber and the fourth optical fiber to pass through the M second optical transceivers corresponding to the M first optical transceivers among the N second optical transceivers to replace the M first optical transceivers that have failed to transmit corresponding signal light.

在上述实现中,当第二光通信装置中的M第一光收发器发生故障时,双归保护装置可将这发生故障的M个第一光收发器所承载的传输业务切换至第三光通信装置中对应的M个第二光收发器上。这样就可以实现针对第二光通信装置中的一个或者多个光收发器的保护,可提升光通信系统的功能的多样性。In the above implementation, when the M first optical transceivers in the second optical communication device fail, the dual-homing protection device can switch the transmission services carried by the failed M first optical transceivers to the third optical transceiver. on the corresponding M second optical transceivers in the communication device. In this way, protection for one or more optical transceivers in the second optical communication device can be realized, and the diversity of functions of the optical communication system can be improved.

结合第一方面,在一种可行的实现方式中,所述第四指示信息至少包括所述M个第一光收发器对应的第一标识信息以及所述多个第一光收发器对应的故障状态信息,所述故障状态信息用于指示发生故障的状态,所述第一控制器还与所述第二光通信装置相连接。所述第一控制器还用于向所述第二光通信装置发送所述第四指示信息,以告知所述第二光通信装置所述M个第一光收发器发生故障。With reference to the first aspect, in a feasible implementation manner, the fourth indication information includes at least first identification information corresponding to the M first optical transceivers and faults corresponding to the multiple first optical transceivers. state information, the fault state information is used to indicate a fault state, and the first controller is also connected to the second optical communication device. The first controller is further configured to send the fourth indication information to the second optical communication device, so as to inform the second optical communication device that the M first optical transceivers have failed.

结合第一方面,在一种可行的实现方式中,所述第二控制器还与所述第三光通信装置相连接。所述第三光通信装置用于在确定所述M个第二光收发器开始代替所述M个第一光收发器进行相应的第一支路信号光的传输后,向所述第二控制器发送第二切换完成指示信息。其中,所述第二切换完成指示信息至少包括所述M个第二光收发器对应的第二标识信息以及所述M个第二光收发器对应的无故障状态信息,所述无故障状态信息用于指示无故障的状态。With reference to the first aspect, in a feasible implementation manner, the second controller is further connected to the third optical communication device. The third optical communication device is configured to, after determining that the M second optical transceivers start to replace the M first optical transceivers to transmit the corresponding first branch signal light, send a message to the second control The device sends the second handover completion indication information. Wherein, the second switching completion indication information includes at least second identification information corresponding to the M second optical transceivers and non-fault status information corresponding to the M second optical transceivers, the non-fault status information Used to indicate a non-faulty state.

所述第二控制器还用于将所述第二切换完成指示信息转发给所述第一控制器和/或所述第二光通信装置。The second controller is further configured to forward the second switching completion indication information to the first controller and/or the second optical communication device.

结合第一方面,在一种可行的实现方式中,所述光通信系统还包括第四光通信装置、第五光通信装置、第六光通信装置、第五光纤、第六光纤、第七光纤和第八光纤,所述双归保护装置还包括第五光耦合器、第六光耦合器、第七光耦合器和第八光耦合器。所述第四光通信装置通过所述第五光纤与所述第五光耦合器相连接。所述第四光通信装置还通过所述第六光纤与所述第六光耦合器相连接。所述第五光耦合器还分别与所述第一控制器以及所述第一光开关组相连接。所述第六光耦合器还分别与所述第二控制器以及所述第二光开关组相连接。所述第五光通信装置通过所述第七光纤与所述第七光耦合器相连接,所述第七光耦合器分别与所述第一控制器以及所述第一光开关组相连接。所述第六光通信装置通过第八光纤与所述第八光耦合器相连接,所述第八光耦合器还分别与所述第二控制器和第二光开关组相连接。所述第一光开关组通过第九光纤与所述第二光开关组相连接。With reference to the first aspect, in a feasible implementation manner, the optical communication system further includes a fourth optical communication device, a fifth optical communication device, a sixth optical communication device, a fifth optical fiber, a sixth optical fiber, and a seventh optical fiber and the eighth optical fiber, the dual-homing protection device further includes a fifth optical coupler, a sixth optical coupler, a seventh optical coupler and an eighth optical coupler. The fourth optical communication device is connected to the fifth optical coupler through the fifth optical fiber. The fourth optical communication device is also connected to the sixth optical coupler through the sixth optical fiber. The fifth optical coupler is also connected to the first controller and the first optical switch group respectively. The sixth optical coupler is also connected to the second controller and the second optical switch group respectively. The fifth optical communication device is connected to the seventh optical coupler through the seventh optical fiber, and the seventh optical coupler is respectively connected to the first controller and the first optical switch group. The sixth optical communication device is connected to the eighth optical coupler through an eighth optical fiber, and the eighth optical coupler is also connected to the second controller and the second optical switch group respectively. The first optical switch group is connected to the second optical switch group through a ninth optical fiber.

结合第一方面,在一种可行的实现方式中,所述第一控制器用于在确定所述第一光纤发生故障且所述第三光纤和所述第二光通信装置无故障的情况下,结合所述第二控制器来控制所述第一光开关组和第二光开关组在所述第二光耦合器和所述第三光耦合器之间建立第一光通路。其中,所述第一光通路经过所述第九光纤。所述第一控制器还用于当根据所述第五光耦合器提供的子信号光确定所述第五光纤发生故障且根据所述第七光耦合器提供的子信号光确定所述第七光纤和所述第五光通信装置无故障时,向所述第二控制器发送第五指示信息。所述第二控制器用于接收所述第五指示信息,在确定所述第二光纤、所述第四光纤和所述第三光通信装置无故障的情况下,控制所述第二光开关组在所述第二光耦合器和所述第四光耦合器之间建立第二光通路,以通过所述第三光通信装置来代替所述第二光通信装置完成所述第二光通信装置与所述第一光通信装置之间的信号光的传输。所述第三光通信装置用于在确定完全代替所述第二光通信装置后,向所述第一控制器和所述第二控制器发送第一切换完成指示信息。当所述第一控制器和所述第二控制器均接收到所述第一切换完成指示信息后,所述第一控制器结合所述第二控制器控制所述第一光开关组和第二光开关组断开所述第一光通路。With reference to the first aspect, in a feasible implementation manner, the first controller is configured to, when it is determined that the first optical fiber is faulty and the third optical fiber and the second optical communication device are not faulty, In combination with the second controller, the first optical switch group and the second optical switch group are controlled to establish a first optical path between the second optical coupler and the third optical coupler. Wherein, the first optical path passes through the ninth optical fiber. The first controller is further configured to determine that the fifth optical fiber is faulty according to the sub-signal light provided by the fifth optical coupler and determine that the seventh optical fiber is faulty according to the sub-signal light provided by the seventh optical coupler. and sending fifth indication information to the second controller when the optical fiber and the fifth optical communication device have no failure. The second controller is configured to receive the fifth indication information, and control the second optical switch group when it is determined that the second optical fiber, the fourth optical fiber, and the third optical communication device are not faulty. Establishing a second optical path between the second optical coupler and the fourth optical coupler to complete the second optical communication device through the third optical communication device instead of the second optical communication device transmission of signal light with the first optical communication device. The third optical communication device is configured to send first switching completion indication information to the first controller and the second controller after it is determined to completely replace the second optical communication device. After both the first controller and the second controller receive the first switching completion indication information, the first controller controls the first optical switch group and the second optical switch group in combination with the second controller. The two optical switch groups disconnect the first optical path.

结合第一方面,在一种可行的实现方式中,在断开所述第一光通路后,所述第一控制器还用于控制所述第一光开关组在所述第七光耦合器与所述第二光开关组之间建立光通路,并向所述第二控制器发送第六指示信息。所述第二控制器用于接收所述第六指示信息,在确定所述第七光纤无故障的情况下,控制所述第二光开关组在所述第六光耦合器和所述第一光开关组之间建立光通路,以使得所述第四光通信装置和第五光通信装置之间通过所述第六光纤、第九光纤和第七光纤建立光通路。在光通信系统中包括多个主路和备路,并且这多个主路和备路共享双归保护装置的情况下,双归保护装置可以通过将先发生故障的第一主路完整的切换到其对应的第一备路上来释放被占用的共享的第九光纤,然后再进一步控制后来发生故障的第二主路向第二备路进行切换,这样就可以有效的解决因第九光纤被占用所导致的无法同时为多个主路提供故障保护的问题,可进一步提升光通信系统的实用性。With reference to the first aspect, in a feasible implementation manner, after the first optical path is disconnected, the first controller is further configured to control the first optical switch group to switch between the seventh optical coupler An optical path is established with the second optical switch group, and sixth indication information is sent to the second controller. The second controller is configured to receive the sixth indication information, and control the second optical switch group to switch between the sixth optical coupler and the first optical fiber when it is determined that the seventh optical fiber is not faulty. An optical path is established between the switch groups, so that an optical path is established between the fourth optical communication device and the fifth optical communication device through the sixth optical fiber, the ninth optical fiber and the seventh optical fiber. In the case where the optical communication system includes multiple primary circuits and backup circuits, and the multiple primary circuits and backup circuits share the dual-homing protection device, the dual-homing protection device can completely switch over the first primary circuit that fails first. Release the occupied shared ninth optical fiber to its corresponding first backup route, and then further control the second main route that fails later to switch to the second backup route, so that it can effectively solve the problem caused by the ninth optical fiber being occupied. The resulting problem of being unable to provide fault protection for multiple main circuits at the same time can further improve the practicability of the optical communication system.

第二方面,本申请实施例提供了一种双归保护方法。该双归保护方法应用于上述第一方面提供的光通信系统。该光通信系统包括双归保护装置、第一光通信装置、第二光通信装置、第三光通信装置、第一光纤、第二光纤、第三光纤和第四光纤,所述双归保护装置通过所述第一光纤和所述第二光纤与所述第一光通信装置相连接,所述双归保护装置通过所述第三光纤与所述第二光通信装置相连接,所述双归保护装置通过所述第四光纤与所述第三光通信装置相连接。该方法包括通过所述双归保护装置检测所述第一光纤、所述第三光纤、所述第二光通信装置中的一项或者多项是否发生故障。当通过双归保护装置确定所述第一光纤、所述第三光纤、所述第二光通信装置中的一项或者多项发生故障时,通过所述双归保护装置在所述第一光纤与第四光纤之间,或者,在所述第二光纤与所述第三光纤或者第四光纤之间建立光通路,以使得信号光在所述第一光通信装置与所述第二光通信装置或者所述第三光通信装置之间传输。In the second aspect, the embodiment of the present application provides a dual-homing protection method. The dual-homing protection method is applied to the optical communication system provided in the first aspect above. The optical communication system includes a dual-homing protection device, a first optical communication device, a second optical communication device, a third optical communication device, a first optical fiber, a second optical fiber, a third optical fiber and a fourth optical fiber, the dual-homing protection device It is connected to the first optical communication device through the first optical fiber and the second optical fiber, the dual-homing protection device is connected to the second optical communication device through the third optical fiber, and the dual-homing protection device is connected to the second optical communication device through the third optical fiber. The protection device is connected to the third optical communication device through the fourth optical fiber. The method includes using the dual-homing protection device to detect whether one or more of the first optical fiber, the third optical fiber, and the second optical communication device is faulty. When it is determined by the dual-homing protection device that one or more of the first optical fiber, the third optical fiber, and the second optical communication device is faulty, the dual-homing protection device is used in the first optical fiber and the fourth optical fiber, or establish an optical path between the second optical fiber and the third optical fiber or the fourth optical fiber, so that signal light communicates with the second optical fiber in the first optical communication device devices or the third optical communication device.

应理解,在上述实现中,基于第一方面提供的光通信系统,只要双归保护装置检测到第一光纤、所述第三光纤、所述第二光通信装置中的一项或者多项发生故障,就可以将发生故障的光纤或者光通信装置切换至其备用的部分。因此,通过光通信系统中的双归保护方法可实现针对第二光纤以及第二光通信装置的双归保护。所以,将上述方法及光通信系统应用于前传网络或者专线网络,即可使得前传网络或者专线网络能够对主干光纤以及局端设备实现双归保护,可提升前传网络或者专线网络的可靠性。It should be understood that, in the above implementation, based on the optical communication system provided in the first aspect, as long as the dual-homing protection device detects that one or more of the first optical fiber, the third optical fiber, and the second optical communication device If there is a fault, the faulty optical fiber or optical communication device can be switched to its spare part. Therefore, the dual-homing protection for the second optical fiber and the second optical communication device can be realized through the dual-homing protection method in the optical communication system. Therefore, applying the above method and optical communication system to the fronthaul network or the private line network can enable the fronthaul network or the private line network to realize dual-homing protection for the backbone optical fiber and the central office equipment, and can improve the reliability of the fronthaul network or the private line network.

结合第二方面,在一种可行的实现方式中,所述双归保护装置包括第一光耦合器、第二光耦合器、第三光耦合器、第四光耦合器、第一光开关组、第二光开关组、第一控制器和第二控制器,所述第一光耦合器分别与所述第一控制器和所述第一光开关组连接,所述第一控制器还分别与所述第一光开关组和所述第三光耦合器相连接,所述第一光开关组还与所述第二光开关组相连接,所述第二光开关组还别与所述第二光耦合器、所述第二控制器以及所述第四光耦合器相连接,所述第二控制器还分别与所述第二光耦合器和所述第四光耦合器相连接,所述第一控制器与所述第二控制器相连接,所述第一光耦合器通过所述第一光纤与所述第一光通信装置相连接,所述第二光耦合器通过所述第二光纤与所述第一光通信装置相连接,所述第三光耦合器通过所述第三光纤与所述第二光通信装置相连接,所述第四光耦合器通过所述第四光纤与所述第三光通信装置相连接。With reference to the second aspect, in a feasible implementation manner, the dual-homing protection device includes a first optical coupler, a second optical coupler, a third optical coupler, a fourth optical coupler, a first optical switch group , a second optical switch group, a first controller and a second controller, the first optical coupler is respectively connected to the first controller and the first optical switch group, and the first controller is also respectively It is connected with the first optical switch group and the third optical coupler, the first optical switch group is also connected with the second optical switch group, and the second optical switch group is also connected with the The second optical coupler, the second controller and the fourth optical coupler are connected, and the second controller is also connected to the second optical coupler and the fourth optical coupler respectively, The first controller is connected to the second controller, the first optical coupler is connected to the first optical communication device through the first optical fiber, and the second optical coupler is connected through the The second optical fiber is connected to the first optical communication device, the third optical coupler is connected to the second optical communication device through the third optical fiber, and the fourth optical coupler is connected to the second optical communication device through the fourth The optical fiber is connected to the third optical communication device.

结合第二方面,在一种可行的实现方式中,所述信号光还包括通过所述第三光纤向所述第三光耦合器发送的第一信号光。可通过所述第三光耦合器对所述第一信号光分光以得到第一子信号光和第二子信号光。可通过所述第三光耦合器将所述第一子信号光传输给所述第一控制器,并将所述第二子信号光传输给所述第一光开关组。当通过所述第一控制器确定所述第一子信号光的光功率为零,或者,确定所述第一子信号光的光功率与第一预设光功率的第一光功率差值等于或者大于第一预设差值时,确定所述第三光纤发生故障。With reference to the second aspect, in a feasible implementation manner, the signal light further includes first signal light sent to the third optical coupler through the third optical fiber. The first signal light may be split by the third optical coupler to obtain first sub-signal light and second sub-signal light. The first sub-signal light may be transmitted to the first controller through the third optical coupler, and the second sub-signal light may be transmitted to the first optical switch group. When it is determined by the first controller that the optical power of the first sub-signal light is zero, or the first optical power difference between the optical power of the first sub-signal light and the first preset optical power is determined to be equal to Or when the difference is greater than the first preset difference, it is determined that the third optical fiber is faulty.

结合第二方面,在一种可行的实现方式中,当通过所述第一控制器确定所述第一光功率差值小于所述第一预设差值时,通过所述第一控制器确定所述第一子信号光是否包含目标调顶信号,其中,所述目标调顶信号为所述第一信号光预配置的调顶信号。若通过所述第一控制器确定所述第一子信号光不包含所述目标调顶信号,则确定所述第二光通信装置发生故障。With reference to the second aspect, in a feasible implementation manner, when the first controller determines that the first optical power difference is smaller than the first preset difference, the first controller determines Whether the first sub-signal light includes a target top adjustment signal, wherein the target top adjustment signal is a top adjustment signal preconfigured by the first signal light. If it is determined by the first controller that the first sub-signal light does not contain the target pitch signal, it is determined that the second optical communication device is faulty.

结合第二方面,在一种可行的实现方式中,所述信号光还包括通过所述第一光纤向所述第一光耦合器发送的第四信号光。可通过第一光耦合器对第四信号光分光得到第七子信号光和第八子信号光,并将所述第七子信号光传输给所述第一控制器,并将所述第八子信号光传输给所述第一光开关组。当通过第一控制器确定所述第七子信号光的光功率为零,或者,确定所述第七子信号光的光功率与第二预设光功率的第二光功率差值等于或者大于第二预设差值时,确定所述第一光纤发生故障。With reference to the second aspect, in a feasible implementation manner, the signal light further includes fourth signal light sent to the first optical coupler through the first optical fiber. The fourth signal light can be split by the first optical coupler to obtain the seventh sub-signal light and the eighth sub-signal light, and the seventh sub-signal light is transmitted to the first controller, and the eighth sub-signal light is transmitted to the first controller. The sub signal light is transmitted to the first optical switch group. When it is determined by the first controller that the optical power of the seventh sub-signal light is zero, or it is determined that the second optical power difference between the optical power of the seventh sub-signal light and the second preset optical power is equal to or greater than When the second preset difference is reached, it is determined that the first optical fiber is faulty.

结合第二方面,在一种可行的实现方式中,所述信号光还包括所述第一光通信装置通过所述第二光纤向所述第二光耦合器发送的第二信号光以及所述第三光通信装置通过所述第四光纤向所述第四光耦合器发送的第三信号光。可通过所述第二光耦合器对所述第二信号光分光得到第三子信号光和第四子信号光,将所述第三子信号光传输给所述第二控制器,并将所述第四子信号光传输给所述第二光开关组。可通过所述第四光耦合器对所述第三信号光分光得到第五子信号光和第六子信号光,将所述第五子信号光传输给所述第二控制器,并将所述第六子信号光传输给所述第二光开关组。可通过所述第二控制器来根据所述第三子信号光确定所述第二光纤是否发生故障。可通过第二控制器来根据所述第五子信号光确定所述第四光纤和/或所述第三光通信装置是否发生故障。With reference to the second aspect, in a feasible implementation manner, the signal light further includes the second signal light sent by the first optical communication device to the second optical coupler through the second optical fiber and the The third optical communication device transmits the third signal light to the fourth optical coupler through the fourth optical fiber. The second signal light can be split by the second optical coupler to obtain a third sub-signal light and a fourth sub-signal light, and the third sub-signal light can be transmitted to the second controller, and the The fourth sub-signal light is transmitted to the second optical switch group. The third signal light can be split by the fourth optical coupler to obtain fifth sub-signal light and sixth sub-signal light, and the fifth sub-signal light can be transmitted to the second controller, and the obtained The sixth sub-signal light is transmitted to the second optical switch group. Whether a fault occurs in the second optical fiber may be determined according to the third sub-signal light through the second controller. Whether the fourth optical fiber and/or the third optical communication device fails can be determined according to the fifth sub-signal light by the second controller.

结合第二方面,在一种可行的实现方式中,在通过所述第一控制器确定所述第一光纤发生故障且所述第三光纤和所述第二光通信装置无故障的情况下,可通过所述第一控制器控制所述第一光开关组在所述第二光开关组和所述第三光耦合器之间建立光通路,并向所述第二控制器发送第一指示信息。通过所述第二控制器接收所述第一指示信息。在通过所述第二控制器确定所述第二光纤无故障的情况下,通过所述第二控制器控制所述第二光开关组在所述第二光耦合器和所述第一光开关组之间建立光通路。With reference to the second aspect, in a feasible implementation manner, when it is determined by the first controller that the first optical fiber is faulty and the third optical fiber and the second optical communication device are not faulty, The first controller may control the first optical switch group to establish an optical path between the second optical switch group and the third optical coupler, and send a first instruction to the second controller information. The first indication information is received by the second controller. When it is determined by the second controller that the second optical fiber is not faulty, the second controller controls the second optical switch group between the second optical coupler and the first optical switch Create light paths between groups.

结合第二方面,在一种可行的实现方式中,在通过所述第一控制器确定所述第一光纤无故障且所述第三光纤和/或所述第二光通信装置发生故障的情况下,通过所述第一控制器控制所述第一光开关组在所述第一光耦合器和所述第二光开关组之间建立光通路,并向所述第二控制器发送第二指示信息。通过所述第二控制器接收所述第二指示信息,在通过所述第二控制器确定所述第四光纤和所述第三光通信装置无故障的情况下,通过所述第二控制器控制所述第二光开关组在所述第一光开关组和所述第四光耦合器之间建立光通路。With reference to the second aspect, in a feasible implementation manner, when it is determined by the first controller that the first optical fiber is not faulty and the third optical fiber and/or the second optical communication device is faulty Next, the first controller controls the first optical switch group to establish an optical path between the first optical coupler and the second optical switch group, and sends a second Instructions. Receive the second indication information through the second controller, and when the second controller determines that the fourth optical fiber and the third optical communication device are not faulty, through the second controller and controlling the second optical switch group to establish an optical path between the first optical switch group and the fourth optical coupler.

结合第二方面,在一种可行的实现方式中,在通过所述第一控制器确定所述第一光纤和所述第三光纤,或者,所述第一光纤、所述第三光纤和所述第二光通信装置均发生故障的情况下,通过所述第一控制器向所述第二控制器发送第三指示信息。通过所述第二控制器接收所述第三指示信息,在通过所述第二控制器确定所述第二光纤、所述第四光纤和所述第三光通信装置均无故障的情况下,通过所述第二控制器控制所述第二光开关组在所述第二光耦合器和所述第四光耦合器之间建立光通路。With reference to the second aspect, in a feasible implementation manner, after the first controller determines the first optical fiber and the third optical fiber, or the first optical fiber, the third optical fiber and the When all the second optical communication devices fail, the first controller sends third indication information to the second controller. The third indication information is received by the second controller, and when the second controller determines that the second optical fiber, the fourth optical fiber, and the third optical communication device are all fault-free, The second optical switch group is controlled by the second controller to establish an optical path between the second optical coupler and the fourth optical coupler.

结合第二方面,在一种可行的实现方式中,在通过所述第一控制器确定所述第一光纤发生故障的情况下,若通过所述第二控制器确定所述第二光纤发生故障,则通过所述第二控制器输出业务中断告警信息。其中,所述业务中断告警信息用于指示所述第一光通信装置与所述第二光通信装置和所述第三光通信装置之间发生业务中断。With reference to the second aspect, in a feasible implementation manner, if the first controller determines that the first optical fiber is faulty, if the second controller determines that the second optical fiber is faulty , output service interruption warning information through the second controller. Wherein, the service interruption alarm information is used to indicate that service interruption occurs between the first optical communication device, the second optical communication device, and the third optical communication device.

结合第二方面,在一种可行的实现方式中,所述第二光通信装置包括第一合分波器、N根第一支路光纤以及N个第一光收发器,每个第一光收发器通过一根支路光纤以及所述第一合分波器与所述第三光纤相连接,所述第一子信号光由所述第三光耦合器对所述第一合分波器通过所述第三光纤传输的所述第一信号光进行分光得到。所述第一信号光由所述第一合分波器对所述N根第一支路光纤上传输的N个第一支路信号光合束得到。所述N个第一支路信号光由所述N个第一光收发器生成并传输至所述N根第一支路光纤。所述N个第一支路信号光中的每个第一支路信号光预配置有支路调顶信号。N为大于或者等于2的正整数。当通过所述第一控制器确定所述第一光功率差值小于所述第一预设差值时,通过所述第一控制器确定所述第一子信号光是否包含所述N个第一支路信号光预配置的支路信号光。若通过所述第一控制器确定所述第一子信号光中不包含所述N个第一支路信号光中的M个第一支路信号光预配置的支路调顶信号,则确定用于生成所述M个第一支路信号光的M个第一光收发器发生故障。其中,M为大于或者等于1的正整数。With reference to the second aspect, in a feasible implementation manner, the second optical communication device includes a first multiplexer/demultiplexer, N first branch optical fibers, and N first optical transceivers, and each first optical The transceiver is connected to the third optical fiber through a branch optical fiber and the first multiplexer/demultiplexer, and the first sub-signal light is connected to the first multiplexer/demultiplexer by the third optical coupler obtained by splitting the first signal light transmitted through the third optical fiber. The first signal light is obtained by combining the N first branch signal lights transmitted on the N first branch optical fibers by the first multiplexer/demultiplexer. The N first branch signal lights are generated by the N first optical transceivers and transmitted to the N first branch optical fibers. Each first branch signal light of the N first branch signal lights is pre-configured with a branch top adjustment signal. N is a positive integer greater than or equal to 2. When it is determined by the first controller that the first optical power difference is smaller than the first preset difference, it is determined by the first controller whether the first sub-signal light contains the Nth A branch signal light is a preconfigured branch signal light. If it is determined by the first controller that the first sub-signal light does not contain the branch top-tuning signal pre-configured by the M first branch signal lights in the N first branch signal lights, then determine The M first optical transceivers used to generate the M first branch signal lights fail. Wherein, M is a positive integer greater than or equal to 1.

结合第二方面,在一种可行的实现方式中,所述第三光通信装置包括第二合分波器、N根第二支路光纤以及N个第二光收发器,每个第二光收发器通过一根第二支路光纤以及所述第二合分波器与所述第四光纤相连接,所述N个第一光收发器与所述N个第二光收发器一一对应。可在通过所述第一控制器在确定所述M个第一光收发器发生故障的情况下,控制第一光开关组207在第一光耦合器201和所述第二光开关组208之间建立光通路,并向所述第二控制器发送第四指示信息。通过所述第二控制器接收所述第四指示信息。在通过所述第二控制器在确定所述第二光纤、所述第四光纤以及所述第三光通信装置无故障的情况下,通过所述第二控制器控制所述第二光开关组在所述第一光纤和所述第四光纤之间建立光通路,以使得所述N个第二光收发器中与所述M个第一光收发器相对应的M个第二光收发器来代替发生故障的所述M个第一光收发器进行相应的信号光的传输。With reference to the second aspect, in a feasible implementation manner, the third optical communication device includes a second multiplexer/demultiplexer, N second branch optical fibers, and N second optical transceivers, and each second optical The transceiver is connected to the fourth optical fiber through a second branch optical fiber and the second multiplexer/demultiplexer, and the N first optical transceivers are in one-to-one correspondence with the N second optical transceivers . The first optical switch group 207 may be controlled between the first optical coupler 201 and the second optical switch group 208 when the first controller determines that the M first optical transceivers fail. establish an optical path between them, and send fourth indication information to the second controller. The fourth indication information is received by the second controller. When the second controller determines that the second optical fiber, the fourth optical fiber, and the third optical communication device are not faulty, the second controller controls the second optical switch group An optical path is established between the first optical fiber and the fourth optical fiber, so that the M second optical transceivers among the N second optical transceivers corresponding to the M first optical transceivers to replace the M first optical transceivers that have failed to transmit corresponding signal light.

结合第二方面,在一种可行的实现方式中,所述第四指示信息至少包括所述M个第一光收发器对应的第一标识信息以及所述M个第一光收发器对应的故障状态信息,所述故障状态信息用于指示发生故障的状态,所述第一控制器还与所述第二光通信装置相连接。可通过所述第一控制器向所述第二光通信装置发送所述第四指示信息,以告知所述第二光通信装置所述M个第一光收发器发生故障。With reference to the second aspect, in a feasible implementation manner, the fourth indication information includes at least first identification information corresponding to the M first optical transceivers and faults corresponding to the M first optical transceivers. state information, the fault state information is used to indicate a fault state, and the first controller is also connected to the second optical communication device. The fourth indication information may be sent to the second optical communication device through the first controller, so as to inform the second optical communication device that the M first optical transceivers have failed.

结合第二方面,在一种可行的实现方式中,所述第二控制器还与所述第三光通信装置相连接。可通过所述第二控制器接收来自于所述第三光通信装置的第一切换完成指示信息。其中,所述第一切换完成指示信息由所述第三光通信装置在确定所述M个第二光收发器开始代替所述M个第一光收发器进行相应的第一支路信号光的传输后生成并发送的,所述第一切换完成指示信息至少包括所述M个第二光收发器对应的第二标识信息以及所述M个第二光收发器对应的无故障状态信息,所述无故障状态信息用于指示无故障的状态。通过所述第二控制信息将所述第一切换完成指示信息转发给所述第一控制器和/或所述第二光通信装置。With reference to the second aspect, in a feasible implementation manner, the second controller is further connected to the third optical communication device. The first handover completion indication information from the third optical communication device may be received by the second controller. Wherein, the first handover completion indication information is determined by the third optical communication device when the M second optical transceivers start to replace the M first optical transceivers to carry out the corresponding first branch signal light Generated and sent after transmission, the first switching completion indication information includes at least second identification information corresponding to the M second optical transceivers and fault-free status information corresponding to the M second optical transceivers, so The no-fault status information described above is used to indicate a no-fault status. forwarding the first switching completion indication information to the first controller and/or the second optical communication device through the second control information.

结合第二方面,在一种可行的实现方式中,所述光通信系统还包括第四光通信装置、第五光通信装置、第六光通信装置、第五光纤、第六光纤、第七光纤和第八光纤,所述双归保护装置还包括第五光耦合器、第六光耦合器、第七光耦合器和第八光耦合器。第四光通信装置通过第五光纤与第五光耦合器相连接,第四光通信装置还通过第六光纤与第六光耦合器相连接,第五光耦合器还分别与第一控制器以及第一光开关组相连接,第六光耦合器还分别与第二控制器以及第二光开关组相连接,第五光通信装置通过第七光纤与第七光耦合器相连接,第六光通信装置通过第八光纤与第八光耦合器相连接,第一光开关组通过第九光纤与第二光开关组相连接。With reference to the second aspect, in a feasible implementation manner, the optical communication system further includes a fourth optical communication device, a fifth optical communication device, a sixth optical communication device, a fifth optical fiber, a sixth optical fiber, and a seventh optical fiber and the eighth optical fiber, the dual-homing protection device further includes a fifth optical coupler, a sixth optical coupler, a seventh optical coupler and an eighth optical coupler. The fourth optical communication device is connected to the fifth optical coupler through the fifth optical fiber, the fourth optical communication device is also connected to the sixth optical coupler through the sixth optical fiber, and the fifth optical coupler is also connected to the first controller and the The first optical switch group is connected, the sixth optical coupler is also connected to the second controller and the second optical switch group, the fifth optical communication device is connected to the seventh optical coupler through the seventh optical fiber, and the sixth optical coupler is connected to the second optical switch group. The communication device is connected to the eighth optical coupler through the eighth optical fiber, and the first optical switch group is connected to the second optical switch group through the ninth optical fiber.

结合第二方面,在一种可行的实现方式中,在通过第一控制器和第二控制器确定所述第一光纤发生故障且所述第三光纤和所述第二光通信装置无故障,并控制所述第一光开关组和第二光开关组在所述第二光耦合器和所述第三光耦合器之间建立第一光通路之后,当通过所述第一控制器根据所述第五光耦合器提供的子信号光确定所述第五光纤发生故障且根据所述第七光耦合器提供的子信号光确定所述第七光纤和所述第五光通信装置无故障时,向所述第二控制器发送第五指示信息。通过所述第二控制器用于所述第五指示信息,并在确定所述第二光纤、所述第四光纤和所述第三光通信装置无故障的情况下,控制所述第二光开关组在所述第二光耦合器和所述第四光耦合器之间建立第二光通路,以通过所述第三光通信装置来代替所述第二光通信装置完成所述第二光通信装置与所述第一光通信装置之间的信号光的传输。With reference to the second aspect, in a feasible implementation manner, after the first controller and the second controller determine that the first optical fiber is faulty and the third optical fiber and the second optical communication device are not faulty, And after controlling the first optical switch group and the second optical switch group to establish the first optical path between the second optical coupler and the third optical coupler, when the first controller according to the When the sub-signal light provided by the fifth optical coupler determines that the fifth optical fiber is faulty and the seventh optical fiber and the fifth optical communication device are not faulty according to the sub-signal light provided by the seventh optical coupler , sending fifth indication information to the second controller. Use the second controller for the fifth indication information, and control the second optical switch when it is determined that the second optical fiber, the fourth optical fiber, and the third optical communication device are not faulty establishing a second optical path between the second optical coupler and the fourth optical coupler, so as to complete the second optical communication through the third optical communication device instead of the second optical communication device transmission of signal light between the device and the first optical communication device.

结合第二方面,在一种可行的实现方式中,当通过所述第一控制器和所述第二控制器接收到来自于所述第三光通信装置的第二切换完成指示时,通过所述第一控制器和所述第二控制器控制所述第一光开关组和第二光开关组断开所述第一光通路。其中,所述第二切换完成指示信息由所述第三光通信装置在确定完全代替所述第二光通信装置后生成并发送。With reference to the second aspect, in a feasible implementation manner, when the second switching completion indication from the third optical communication device is received by the first controller and the second controller, the The first controller and the second controller control the first optical switch group and the second optical switch group to disconnect the first optical path. Wherein, the second switching completion indication information is generated and sent by the third optical communication device after it is determined to completely replace the second optical communication device.

结合第二方面,在一种可行的实现方式中,在断开所述第一光通路后,可通过所述第一控制器控制所述第一光开关组在所述第七光耦合器与所述第二光开关组之间建立光通路,并向所述第二控制器发送第六指示信息。可通过所述第二控制器接收所述第六指示信息,并在确定所述第七光纤无故障的情况下,控制所述第二光开关组在所述第六光耦合器和所述第一光开关组之间建立光通路,以使得所述第四光通信装置和第五光通信装置之间通过所述第六光纤和所述第八光纤建立光通路。With reference to the second aspect, in a feasible implementation manner, after the first optical path is disconnected, the first optical switch group may be controlled by the first controller to switch between the seventh optical coupler and the An optical path is established between the second optical switch groups, and sixth indication information is sent to the second controller. The second controller may receive the sixth indication information, and when it is determined that the seventh optical fiber is not faulty, control the second optical switch group to switch between the sixth optical coupler and the second optical fiber. An optical path is established between an optical switch group, so that an optical path is established between the fourth optical communication device and the fifth optical communication device through the sixth optical fiber and the eighth optical fiber.

第三方面,本申请实施例提供了一种双归保护装置。所述双归保护装置通过第一光纤和第二光纤连接第一光通信装置,所述双归保护装置通过第三光纤连接第二光通信装置,所述双归保护装置通过第四光纤连接第三光通信装置。所述双归保护装置用于当检测到所述第一光纤、所述第三光纤、所述第二光通信装置中的一项或者多项发生故障时,在所述第一光纤与第四光纤之间,或者,在所述第二光纤与所述第三光纤或者第四光纤之间建立光通路,以使得信号光在所述第一光通信装置与所述第二光通信装置或者所述第三光通信装置之间传输。In a third aspect, the embodiment of the present application provides a dual-homing protection device. The dual-homing protection device is connected to the first optical communication device through the first optical fiber and the second optical fiber, the dual-homing protection device is connected to the second optical communication device through the third optical fiber, and the dual-homing protection device is connected to the first optical communication device through the fourth optical fiber. Three-light communication device. The dual-homing protection device is configured to, when it is detected that one or more of the first optical fiber, the third optical fiber, and the second optical communication device are faulty, between the first optical fiber and the fourth optical fiber between the optical fibers, or between the second optical fiber and the third optical fiber or the fourth optical fiber, so that the signal light travels between the first optical communication device and the second optical communication device or the between the third optical communication devices.

结合第三方面,在一种可行的实现方式中,所述双归保护装置包括:第一光耦合器、第二光耦合器、第三光耦合器、第四光耦合器、第一光开关组、第二光开关组、第一控制器和第二控制器,所述第一光耦合器分别与所述第一控制器和所述第一光开关组连接,所述第一控制器还分别与所述第一光开关组和所述第三光耦合器相连接,所述第一光开关组还与所述第二光开关组相连接,所述第二光开关组还别与所述第二光耦合器、所述第二控制器以及所述第四光耦合器相连接,所述第二控制器还分别与所述第二光耦合器和所述第四光耦合器相连接,所述第一控制器与所述第二控制器相连接,所述第一光耦合器通过所述第一光纤与所述第一光通信装置相连接,所述第二光耦合器通过所述第二光纤与所述第一光通信装置相连接,所述第三光耦合器通过所述第三光纤与所述第二光通信装置相连接,所述第四光耦合器通过所述第四光纤与所述第三光通信装置相连接。With reference to the third aspect, in a feasible implementation manner, the dual-homing protection device includes: a first optical coupler, a second optical coupler, a third optical coupler, a fourth optical coupler, a first optical switch group, a second optical switch group, a first controller, and a second controller, the first optical coupler is respectively connected to the first controller and the first optical switch group, and the first controller also respectively connected to the first optical switch group and the third optical coupler, the first optical switch group is also connected to the second optical switch group, and the second optical switch group is also connected to the The second optocoupler, the second controller and the fourth optocoupler are connected, and the second controller is also connected to the second optocoupler and the fourth optocoupler respectively , the first controller is connected with the second controller, the first optical coupler is connected with the first optical communication device through the first optical fiber, and the second optical coupler is connected through the The second optical fiber is connected to the first optical communication device, the third optical coupler is connected to the second optical communication device through the third optical fiber, and the fourth optical coupler is connected to the second optical communication device through the first Four optical fibers are connected to the third optical communication device.

结合第三方面,在一种可行的实现方式中,所述第一光耦合器用于对通过第一光纤向双归保护装置传输的第一信号光进行分光以得到第一子信号光和第二子信号光,将所述第一子信号光传输给所述第一控制器,并将所述第二子信号光传输给所述第一光开关组。所述第一控制器用于当确定所述第一子信号光的光功率为零时,确定所述第一光纤发生故障。With reference to the third aspect, in a feasible implementation manner, the first optical coupler is used to split the first signal light transmitted to the dual-homing protection device through the first optical fiber to obtain the first sub-signal light and the second sub-signal light The sub-signal light transmits the first sub-signal light to the first controller, and transmits the second sub-signal light to the first optical switch group. The first controller is configured to determine that the first optical fiber is faulty when it is determined that the optical power of the first sub-signal light is zero.

结合第三方面,在一种可行的实现方式中,所述第三光耦合器用于对通过第三光纤向双归保护装置传输的的第二信号光分光得到第三子信号光和第四子信号光,将所述第三子信号光传输给所述第一控制器,并将所述第四子信号光传输给所述第一光开关组。所述第一控制器用于当确定所述第一子信号光的光功率为零,或者,确定所述第一子信号光的光功率与第一预设光功率的第一光功率差值等于或者大于第一预设差值时,确定所述第三光纤发生故障。With reference to the third aspect, in a feasible implementation manner, the third optical coupler is used to split the second signal light transmitted to the dual-homing protection device through the third optical fiber to obtain the third sub-signal light and the fourth sub-signal light. The signal light transmits the third sub-signal light to the first controller, and transmits the fourth sub-signal light to the first optical switch group. The first controller is configured to determine that the optical power of the first sub-signal light is zero, or determine that the first optical power difference between the optical power of the first sub-signal light and the first preset optical power is equal to Or when the difference is greater than the first preset difference, it is determined that the third optical fiber is faulty.

结合第三方面,在一种可行的实现方式中,所述第一控制器还用于当确定所述第一光功率差值小于所述第一预设差值时,确定所述第三子信号光是否包含目标调顶信号,其中,所述目标调顶信号为所述第二信号光预配置的调顶信号。所述第一控制还用于若确定所述第三子信号光不包含所述目标调顶信号,则确定所述第第二光通信装置发生故障。With reference to the third aspect, in a feasible implementation manner, the first controller is further configured to, when determining that the first optical power difference is smaller than the first preset difference, determine the third sub- Whether the signal light includes a target top adjustment signal, where the target top adjustment signal is a top adjustment signal preconfigured by the second signal light. The first control is further configured to determine that the second optical communication device fails if it is determined that the third sub-signal light does not contain the target top signal.

结合第三方面,在一种可行的实现方式中,第二光耦合器用于对来通过第二光纤向双归保护装置传输的第三信号光进行分光以得到第五子信号光和第六子信号光,将第五子信号光传输给第二控制器,并将第六子信号光传输给第二光开关组。第四光耦合器用于对来通过第四光纤向双归保护装置传输的的第四信号光进行分光以得到第七子信号光和第八子信号光,将第七子信号光传输给所述第二控制器,并将第八子信号光传输给所述第二光开关组。第二控制器用于根据第五子信号光确定第二光纤是否发生故障。第二控制器还用于根据第七子信号光确定第四光纤是否发生故障。With reference to the third aspect, in a feasible implementation manner, the second optical coupler is used to split the third signal light transmitted to the dual-homing protection device through the second optical fiber to obtain the fifth sub-signal light and the sixth sub-signal light. The signal light transmits the fifth sub-signal light to the second controller, and transmits the sixth sub-signal light to the second optical switch group. The fourth optical coupler is used to split the fourth signal light transmitted to the dual-homing protection device through the fourth optical fiber to obtain the seventh sub-signal light and the eighth sub-signal light, and transmit the seventh sub-signal light to the the second controller, and transmit the eighth sub-signal light to the second optical switch group. The second controller is used for determining whether the second optical fiber fails according to the fifth sub-signal light. The second controller is also used to determine whether the fourth optical fiber fails according to the seventh sub-signal light.

结合第三方面,在一种可行的实现方式中,所述第一控制器用于在确定所述第一光纤发生故障且所述第三光纤和第二光通信装置无故障的情况下,控制所述第一光开关组在所述第二光开关组和所述第三光耦合器之间建立光通路,并向所述第二控制器发送第一指示信息。所述第二控制器用于接收所述第一指示信息,在确定所述第二光纤无故障的情况下,控制所述第二光开关组在所述第二光耦合器和所述第一光开关组之间建立光通路。With reference to the third aspect, in a feasible implementation manner, the first controller is configured to control the The first optical switch group establishes an optical path between the second optical switch group and the third optical coupler, and sends first indication information to the second controller. The second controller is configured to receive the first indication information, and control the second optical switch group to connect between the second optical coupler and the first optical fiber when it is determined that the second optical fiber is not faulty. An optical path is established between the switch groups.

结合第三方面,在一种可行的实现方式中,第一控制器用于在确定第一光纤、第三光纤和第二光通信装置均发生故障的情况下,向第二控制器发送第三指示信息。第二控制器用于接收第三指示信息,在确定第二光纤和第四光纤均无故障的情况下,控制第二光开关组在第二光耦合器和第四光耦合器之间建立光通路。With reference to the third aspect, in a feasible implementation manner, the first controller is configured to send a third indication to the second controller when it is determined that the first optical fiber, the third optical fiber, and the second optical communication device all fail. information. The second controller is configured to receive the third indication information, and control the second optical switch group to establish an optical path between the second optical coupler and the fourth optical coupler under the condition that neither the second optical fiber nor the fourth optical fiber is faulty. .

结合第三方面,在一种可行的实现方式中,所述第二光通信装置包括第一合分波器、N根第一支路光纤以及N个第一光收发器,其中,每个第一光收发器通过一根支路光纤以及所述第一合分波器与所述第三光纤相连接。N为大于或者等于2的正整数。所述N个第一光收发器用于生成N个第一支路信号光,并分别通过所述N根第一支路光纤将所述N个第一支路信号光传输给所述第一合分波器。其中,所述N个第一支路信号光中的每个第一支路信号光预配置有第一支路调顶信号,所述第一合分波器用于对所述N个第一支路信号光进行合束以得到所述第一信号光,并通过所述第三光纤将所述第一信号光传输给所述第三光耦合器。所述第一控制器还用于当确定所述第一光功率差值小于所述第一预设差值时,确定所述第一子信号光是否包含所述N个第一支路信号光中每个第一支路信号光对应的第一支路调顶信号。若所述第一控制器确定所述第一子信号光不包含所述N个第一支路信号光中的M个第一支路信号光预配置的第一支路调顶信号,则确定用于生成所述M个第一支路信号光的M个第一光收发器发生故障。其中,M为大于或者等于1的正整数。With reference to the third aspect, in a feasible implementation manner, the second optical communication device includes a first multiplexer/demultiplexer, N first branch optical fibers, and N first optical transceivers, wherein each An optical transceiver is connected to the third optical fiber through a branch optical fiber and the first multiplexer/demultiplexer. N is a positive integer greater than or equal to 2. The N first optical transceivers are used to generate N first branch signal lights, and respectively transmit the N first branch signal lights to the first combination through the N first branch optical fibers. Splitter. Wherein, each first branch signal light in the N first branch signal lights is pre-configured with a first branch top-tuning signal, and the first multiplexer/demultiplexer is used for the N first branch signal lights Combine the signal lights of two channels to obtain the first signal light, and transmit the first signal light to the third optical coupler through the third optical fiber. The first controller is further configured to determine whether the first sub-signal lights include the N first branch signal lights when it is determined that the first optical power difference is smaller than the first preset difference Each of the first branch signal light corresponds to the first branch top adjustment signal. If the first controller determines that the first sub-signal light does not include the first branch top adjustment signal preconfigured by the M first branch signal lights in the N first branch signal lights, then determine The M first optical transceivers used to generate the M first branch signal lights fail. Wherein, M is a positive integer greater than or equal to 1.

结合第三方面,在一种可行的实现方式中,所述第三光通信装置包括第二合分波器、N根第二支路光纤以及N个第二光收发器,每个第二光收发器通过一根第二支路光纤以及所述第二合分波器与所述第四光纤相连接,所述N个第一光收发器与所述N个第二光收发器一一对应。所述第一控制器用于在确定所述M个第一光收发器发生故障的情况下,向所述第二控制器发送第四指示信息。所述第二控制器用于接收所述第四指示信息,在确定所述第二光纤、所述第四光纤以及所述第三光通信装置无故障的情况下,控制所述第二光开关组在所述第二光纤和所述第四光纤之间建立光通路,以通过所述N个第二光收发器中与所述M个第一光收发器相对应的M个第二光收发器来代替发生故障的所述M个第一光收发器进行相应的第一支路信号光的传输。With reference to the third aspect, in a feasible implementation manner, the third optical communication device includes a second multiplexer/demultiplexer, N second branch optical fibers, and N second optical transceivers, and each second optical The transceiver is connected to the fourth optical fiber through a second branch optical fiber and the second multiplexer/demultiplexer, and the N first optical transceivers are in one-to-one correspondence with the N second optical transceivers . The first controller is configured to send fourth indication information to the second controller when it is determined that the M first optical transceivers fail. The second controller is configured to receive the fourth indication information, and control the second optical switch group when it is determined that the second optical fiber, the fourth optical fiber, and the third optical communication device are not faulty. Establishing an optical path between the second optical fiber and the fourth optical fiber to pass through the M second optical transceivers corresponding to the M first optical transceivers among the N second optical transceivers to replace the failed M first optical transceivers to transmit corresponding first branch signal light.

结合第三方面,在一种可行的实现方式中,所述光通信系统还包括第四光通信装置、第五光通信装置、第六光通信装置、第五光纤、第六光纤、第七光纤和第八光纤,所述双归保护装置还包括第五光耦合器、第六光耦合器、第七光耦合器和第八光耦合器。第四光通信装置通过第五光纤与第五光耦合器相连接,第四光通信装置还通过第六光纤与所述第六光耦合器相连接,第五光耦合器还分别与第一控制器以及所述第一光开关组相连接,第六光耦合器还分别与第二控制器以及第二光开关组相连接,第五光通信装置通过第七光纤与第七光耦合器相连接,第六光通信装置通过第八光纤与第八光耦合器相连接,第一光开关组通过第九光纤与第二光开关组相连接。With reference to the third aspect, in a feasible implementation manner, the optical communication system further includes a fourth optical communication device, a fifth optical communication device, a sixth optical communication device, a fifth optical fiber, a sixth optical fiber, and a seventh optical fiber and the eighth optical fiber, the dual-homing protection device further includes a fifth optical coupler, a sixth optical coupler, a seventh optical coupler and an eighth optical coupler. The fourth optical communication device is connected to the fifth optical coupler through the fifth optical fiber, the fourth optical communication device is also connected to the sixth optical coupler through the sixth optical fiber, and the fifth optical coupler is also respectively connected to the first control The device is connected with the first optical switch group, the sixth optical coupler is also connected with the second controller and the second optical switch group, and the fifth optical communication device is connected with the seventh optical coupler through the seventh optical fiber , the sixth optical communication device is connected to the eighth optical coupler through the eighth optical fiber, and the first optical switch group is connected to the second optical switch group through the ninth optical fiber.

结合第三方面,在一种可行的实现方式中,所述第一控制器用于在确定所述第一光纤发生故障且所述第三光纤和所述第二光通信装置无故障的情况下,结合所述第二控制器来控制所述第一光开关组和第二光开关组在所述第二光耦合器和所述第三光耦合器之间建立第一光通路,其中,所述第一光通路经过所述第九光纤;With reference to the third aspect, in a feasible implementation manner, the first controller is configured to: combining the second controller to control the first optical switch group and the second optical switch group to establish a first optical path between the second optical coupler and the third optical coupler, wherein the the first optical path passes through the ninth optical fiber;

所述第一控制器还用于当根据所述第五光耦合器提供的子信号光确定所述第五光纤发生故障且根据所述第七光耦合器提供的子信号光确定所述第七光纤和所述第五光通信装置无故障时,向所述第二控制器发送第五指示信息;The first controller is further configured to determine that the fifth optical fiber is faulty according to the sub-signal light provided by the fifth optical coupler and determine that the seventh optical fiber is faulty according to the sub-signal light provided by the seventh optical coupler. When the optical fiber and the fifth optical communication device have no failure, send fifth indication information to the second controller;

所述第二控制器用于接收所述第五指示信息,在确定所述第二光纤、所述第四光纤和所述第三光通信装置无故障的情况下,控制所述第二光开关组在所述第二光耦合器和所述第四光耦合器之间建立第二光通路,以通过所述第三光通信装置来代替所述第二光通信装置完成所述第二光通信装置与所述第一光通信装置之间的信号光的传输;The second controller is configured to receive the fifth indication information, and control the second optical switch group when it is determined that the second optical fiber, the fourth optical fiber, and the third optical communication device are not faulty. Establishing a second optical path between the second optical coupler and the fourth optical coupler to complete the second optical communication device through the third optical communication device instead of the second optical communication device transmission of signal light with the first optical communication device;

当第一控制器和第二控制器均接收到第二切换完成指示后,第一控制器结合第二控制器控制第一光开关组和第二光开关组断开所述第一光通路,其中,第二切换完成指示信息由第三光通信装置在确定完全代替所述第二光通信装置后生成并发送的。After both the first controller and the second controller receive the second switching completion indication, the first controller in conjunction with the second controller controls the first optical switch group and the second optical switch group to disconnect the first optical path, Wherein, the second handover completion indication information is generated and sent by the third optical communication device after it is determined to completely replace the second optical communication device.

结合第三方面,在一种可行的实现方式中,在断开所述第一光通路后,所述第一控制器还用于控制所述第一光开关组在所述第七光耦合器与所述第二光开关组之间建立光通路,并向所述第二控制器发送第六指示信息。所述第二控制器用于接收所述第六指示信息,在确定所述第七光纤无故障的情况下,控制所述第二光开关组在所述第六光耦合器和所述第一光开关组之间建立光通路,以使得所述第四光通信装置和第五光通信装置之间通过所述第六光纤、第七光纤和所述第八光纤建立光通路。With reference to the third aspect, in a feasible implementation manner, after the first optical path is disconnected, the first controller is further configured to control the first optical switch group to switch between the seventh optical coupler An optical path is established with the second optical switch group, and sixth indication information is sent to the second controller. The second controller is configured to receive the sixth indication information, and control the second optical switch group to switch between the sixth optical coupler and the first optical fiber when it is determined that the seventh optical fiber is not faulty. An optical path is established between the switch groups, so that an optical path is established between the fourth optical communication device and the fifth optical communication device through the sixth optical fiber, the seventh optical fiber, and the eighth optical fiber.

第四方面,本申请实施例提供了一种通信系统。该通信系统包括第一通信设备、如第一方面中任一项所述的光通信系统以及第二通信设备。所述第一通信设备通过所述光通信系统与所述第二通信设备建立通信连接。所述光通信系统用于所述第一通信设备和所述第二通信设备之间的业务数据的传输。In a fourth aspect, the embodiment of the present application provides a communication system. The communication system includes a first communication device, the optical communication system according to any one of the first aspect, and a second communication device. The first communication device establishes a communication connection with the second communication device through the optical communication system. The optical communication system is used for the transmission of service data between the first communication device and the second communication device.

结合第四方面,在一种可行的实现方式中,所述第一通信设备为终端设备,所述第二通信设备为回传设备,所述光通信系统中的第一光通信装置包括有源天线单元AAU或者射频拉远单元RRU,所述光通信系统中的第二光通信装置和第三光通信装置包括基带处理单元BBU或者分布式单元DU。With reference to the fourth aspect, in a feasible implementation manner, the first communication device is a terminal device, the second communication device is a backhaul device, and the first optical communication device in the optical communication system includes an active The antenna unit AAU or remote radio unit RRU, the second optical communication device and the third optical communication device in the optical communication system include a baseband processing unit BBU or a distributed unit DU.

结合第四方面,在一种可行的实现方式中,所述第一通信设备为终端设备,所述第二通信设备为公有云设备,所述光通信系统中的第一光通信装置为客户前置设备CPE,所述第二光通信装置和所述第三光通信装置为云接入点POP设备。With reference to the fourth aspect, in a feasible implementation manner, the first communication device is a terminal device, the second communication device is a public cloud device, and the first optical communication device in the optical communication system is a customer front The configuration equipment CPE, the second optical communication device and the third optical communication device are cloud access point POP devices.

上述第二方面至第四方面提供的方案,用于实现或配合实现上述第一方面提供的光通信系统,因此可以与第一方面达到相同或相应的有益效果,此处不再进行赘述。The solutions provided by the above second aspect to the fourth aspect are used to implement or cooperate to realize the optical communication system provided by the above first aspect, so they can achieve the same or corresponding beneficial effects as those of the first aspect, and will not be repeated here.

综上,本申请提供的光通信系统和双归保护方法可使得前传网络或者专线网络能够实现对主干光纤和局端设备的双归保护,可以提升前传网络或者专线网络的可靠性。In summary, the optical communication system and dual-homing protection method provided by the present application can enable the fronthaul network or dedicated line network to realize dual-homing protection for the backbone optical fiber and the central office equipment, and can improve the reliability of the fronthaul network or dedicated line network.

附图说明Description of drawings

图1是本申请实施例提供的一种光通信系统的第一结构示意图;FIG. 1 is a schematic diagram of a first structure of an optical communication system provided by an embodiment of the present application;

图2是本申请实施例提供的一种光通信系统的第二结构示意图;Fig. 2 is a second structural schematic diagram of an optical communication system provided by an embodiment of the present application;

图3是本申请实施例提供的一种双归保护装置的第一结构示意图;Fig. 3 is a schematic diagram of the first structure of a dual-homing protection device provided by an embodiment of the present application;

图4是本申请实施例提供的一种光通信系统的第三结构示意图;FIG. 4 is a schematic diagram of a third structure of an optical communication system provided by an embodiment of the present application;

图5是本申请实施例提供的一种光通信系统的第四结构示意图;Fig. 5 is a fourth structural schematic diagram of an optical communication system provided by an embodiment of the present application;

图6是本申请实施例提供的一种双归保护装置的第二结构示意图;Fig. 6 is a second structural schematic diagram of a dual-homing protection device provided by an embodiment of the present application;

图7是本申请实施例提供的一种双归保护方法的流程示意图;Fig. 7 is a schematic flow chart of a dual-homing protection method provided by an embodiment of the present application;

图8是本申请实施例提供的一种通信系统的结构示意图。Fig. 8 is a schematic structural diagram of a communication system provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例提供的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings provided in the embodiments of the present application.

现有的前传网络或者专线网络仅能针对远端设备和局端设备之间的主干光纤实现单归保护,其无法对局端设备这一侧实现冗余保护。一旦局端设备侧发生故障,则远端设备与局端设备之间的所有业务都会发生中断。因此,现有的前传网络或者专线网络的可靠性较差。The existing fronthaul network or dedicated line network can only realize single-homing protection for the backbone optical fiber between the remote equipment and the central office equipment, and cannot implement redundant protection for the side of the central office equipment. Once a failure occurs on the side of the central office equipment, all services between the remote equipment and the central office equipment will be interrupted. Therefore, the reliability of the existing fronthaul network or dedicated line network is poor.

因此,本申请要解决的技术问题是:如何在前传网络或者专线网络中实现针对主干光纤和局端设备的双归保护,以提升前传网络或者专线网络的可靠性。Therefore, the technical problem to be solved in this application is: how to realize the dual-homing protection for the backbone optical fiber and the central office equipment in the fronthaul network or the dedicated line network, so as to improve the reliability of the fronthaul network or the dedicated line network.

图1是本申请实施例提供的一种光通信系统的第一结构示意图。如图1所示,该光通信系统100包括第一光通信装置10、双归保护装置20、第二光通信装置30、第三光通信装置40、第一光纤101、第二光纤102,第三光纤103和第四光纤104。其中,第一光通信装置10通过第一光纤101和第二光纤102与双归保护装置20相连接。双归保护装置20通过第三光纤103与第二光通信装置30相连接。双归保护装置20还通过第四光纤与第三光通信装置40相连接。FIG. 1 is a schematic diagram of a first structure of an optical communication system provided by an embodiment of the present application. As shown in Figure 1, the optical communication system 100 includes a first optical communication device 10, a dual-homing protection device 20, a second optical communication device 30, a third optical communication device 40, a first optical fiber 101, a second optical fiber 102, a first Three optical fibers 103 and a fourth optical fiber 104 . Wherein, the first optical communication device 10 is connected to the dual-homing protection device 20 through a first optical fiber 101 and a second optical fiber 102 . The dual-homing protection device 20 is connected to the second optical communication device 30 through the third optical fiber 103 . The dual-homing protection device 20 is also connected to the third optical communication device 40 through a fourth optical fiber.

需要说明的是,本申请实施例提供的第一光通信装置10、第二光通信装置30和第三光通信装置40均具备光收发功能。也就是说,第一光通信装置10、第二光通信装置30和第三光通信装置40可以在发信号光的同时接收信号光。因此,信号光可以在第一光通信装置10与第二光通信装置30或者第三光通信装置40之间双向传输。It should be noted that the first optical communication device 10 , the second optical communication device 30 , and the third optical communication device 40 provided in the embodiment of the present application all have an optical transceiver function. That is, the first optical communication device 10 , the second optical communication device 30 , and the third optical communication device 40 can receive signal light while transmitting signal light. Therefore, signal light can be bidirectionally transmitted between the first optical communication device 10 and the second optical communication device 30 or the third optical communication device 40 .

还需要说明的是,第一光纤101与第二光纤102互为主备,第三光纤103与第四光纤104互为主备,第二光通信装置30和第三光通信装置40也互为主备。也就是说,第一光纤101、双归保护装置20、第三光纤103在第一通信装置10和第二光通信装置30构建了光信号传输的主路,而第二光纤102、双归保护装置20、第四光纤104在第一光通信装置10与第三光通信装置40之间构建了光信号传输的备路。在实际使用时,光通信系统100会优先使用主路来进行信号光的传输。It should also be noted that the first optical fiber 101 and the second optical fiber 102 are mutually active and standby, the third optical fiber 103 and the fourth optical fiber 104 are mutually active and standby, and the second optical communication device 30 and the third optical communication device 40 are also mutually active and standby. master and backup. That is to say, the first optical fiber 101, the dual-homing protection device 20, and the third optical fiber 103 construct the main path for optical signal transmission between the first communication device 10 and the second optical communication device 30, while the second optical fiber 102, the dual-homing protection device The device 20 and the fourth optical fiber 104 construct a backup path for optical signal transmission between the first optical communication device 10 and the third optical communication device 40 . In actual use, the optical communication system 100 will preferentially use the main channel to transmit signal light.

在光通信系统100进行信号光的传输过程中,上述双归保护装置20可以用于检测第一光纤101、第三光纤103以及第二光通信装置30中的一项或者多项是否发生故障。并且,在确定上述第一光纤101、第三光纤103以及第二光通信装置30中的一项或者多项发生故障时,双归保护装置20可以在第一光纤101与第四光纤104之间,或者,在第二光纤102与第三光纤103或者第四光纤104之间建立光通路,以实现第一光通信装置10与第二光通信装置30或者第三光通信装置40之间的信号光的传输。During signal light transmission in the optical communication system 100 , the dual-homing protection device 20 may be used to detect whether one or more of the first optical fiber 101 , the third optical fiber 103 , and the second optical communication device 30 are faulty. Moreover, when it is determined that one or more of the first optical fiber 101, the third optical fiber 103, and the second optical communication device 30 is faulty, the dual-homing protection device 20 may be between the first optical fiber 101 and the fourth optical fiber 104. , or, an optical path is established between the second optical fiber 102 and the third optical fiber 103 or the fourth optical fiber 104, so as to realize the signal between the first optical communication device 10 and the second optical communication device 30 or the third optical communication device 40 transmission of light.

在上述实现中,只要双归保护装置20检测到第一光纤101、第三光纤103、第二光通信装置30中的一项或者多项发生故障,就可以将发生故障的光纤或光通信装置切换至其备用的部分,从而实现针对第一光纤101以及第二光通信装置30的双归保护。所以,将该光通信系统应用于前传网络或者专线网络,即可实现针对前传网络或者专线网络中的主干光纤以及局端设备的双归保护,可提升前传网络或者专线网络的可靠性。In the above implementation, as long as the dual-homing protection device 20 detects that one or more of the first optical fiber 101, the third optical fiber 103, and the second optical communication device 30 is faulty, it can send the faulty optical fiber or optical communication device Switch to its spare part, thereby realizing dual-homing protection for the first optical fiber 101 and the second optical communication device 30 . Therefore, applying the optical communication system to the fronthaul network or private line network can realize dual-homing protection for the backbone optical fiber and the central office equipment in the fronthaul network or private line network, which can improve the reliability of the fronthaul network or private line network.

进一步地,图2是本申请实施例提供的一种光通信系统的第二结构示意图。图2进一步示出的上述双归保护装置20的一种可选的具体结构。如图2所示,双归保护装置20包括第一光耦合器201、第二光耦合器202、第三光耦合器203、第四光耦合器204、第一控制器205、第二控制器206、第一光开关组207和第二光开关组208。其中,第一光耦合器201分别与第一控制器205和第一光开关组207连接。第一控制器205还分别与第一光开关组207和第三光耦合器203连接。第一光开关组207还通过一根光纤与第二光开关组208连接。第二光开关组208还分别与第二光耦合器202、第二控制器206和第四光耦合器204连接。第二控制器206还分别与第二光耦合器202和第四光耦合器204相连接。第一控制器205与第二控制器206连接。第一光耦合器201通过第一光纤101与第一光通信装置10连接,第二光耦合器202通过第二光纤102与第一光通信装置10连接,第三光耦合器203通过第三光纤103与第二光通信装置30连接,第四光耦合器204通过第四光纤104与第三光通信装置40连接。Further, FIG. 2 is a second structural schematic diagram of an optical communication system provided by an embodiment of the present application. FIG. 2 further shows an optional specific structure of the above-mentioned dual-homing protection device 20 . As shown in FIG. 2, the dual-homing protection device 20 includes a first optocoupler 201, a second optocoupler 202, a third optocoupler 203, a fourth optocoupler 204, a first controller 205, a second controller 206 . The first optical switch group 207 and the second optical switch group 208 . Wherein, the first optical coupler 201 is connected to the first controller 205 and the first optical switch group 207 respectively. The first controller 205 is also connected to the first optical switch group 207 and the third optical coupler 203 respectively. The first optical switch group 207 is also connected to the second optical switch group 208 through an optical fiber. The second optical switch group 208 is also connected to the second optical coupler 202 , the second controller 206 and the fourth optical coupler 204 respectively. The second controller 206 is also connected to the second optical coupler 202 and the fourth optical coupler 204 respectively. The first controller 205 is connected to the second controller 206 . The first optical coupler 201 is connected to the first optical communication device 10 through the first optical fiber 101, the second optical coupler 202 is connected to the first optical communication device 10 through the second optical fiber 102, and the third optical coupler 203 is connected to the first optical communication device 10 through the third optical fiber. 103 is connected to the second optical communication device 30 , and the fourth optical coupler 204 is connected to the third optical communication device 40 through the fourth optical fiber 104 .

需要说明的是,本申请实施例提供的光耦合器(如前文所述的第一光耦合器201、第二光耦合器202等)均支持双向光传输,并且其既可以实现光的转接,又可以实现分光功能。例如,上述第一光耦合器201既可以对来自于第一光纤101的光进行分光,并将分出的两束光分别传输给第一控制器205以及第一光开关组207,其又可以将来自于第一光开关组207的光直接转接至第一光纤101。其他光耦合器的功能与之类似,此处便不再一一赘述。It should be noted that the optical couplers provided in the embodiment of the present application (such as the first optical coupler 201, the second optical coupler 202, etc. as mentioned above) all support bidirectional optical transmission, and they can realize optical switching , and can realize the spectroscopic function. For example, the above-mentioned first optical coupler 201 can split the light from the first optical fiber 101, and transmit the split two beams of light to the first controller 205 and the first optical switch group 207 respectively, which can also The light from the first optical switch group 207 is directly transferred to the first optical fiber 101 . The functions of other optocouplers are similar and will not be repeated here.

还需要说明的是,本申请实施例提供的光开关组可以由一个或多个光开关构成,其可以基于控制器(如第一控制器205)提供控制信号来实现不同光接口之间的导通或关断。例如,第一光开关组207包含与第一光耦合器201连接的第一光接口、与第一光开关组208连接的第二光接口以及与第三光耦合器203连接的第三光接口。第一光开关组207可以基于第一控制器205提供的开关控制信号来实现上述第一至第三光接口中的任意两个光接口之间的导通或关断。第二光开关组208的功能与之类似,此处便不再赘述。It should also be noted that the optical switch group provided in the embodiment of the present application can be composed of one or more optical switches, which can implement control signals between different optical interfaces based on the control signal provided by the controller (such as the first controller 205). on or off. For example, the first optical switch group 207 includes a first optical interface connected to the first optical coupler 201, a second optical interface connected to the first optical switch group 208, and a third optical interface connected to the third optical coupler 203 . The first optical switch group 207 may implement switching on or off between any two optical interfaces among the above-mentioned first to third optical interfaces based on the switch control signal provided by the first controller 205 . The function of the second optical switch group 208 is similar, and will not be repeated here.

下面,为了方便后续对光通信系统100中各部件的功能的描述,现假设光通信系统100的实际工作场景为通过第一光通信装置10向第二光通信装置30发送第一业务数据,并通过第二光通信装置30向第一光通信装置10发送第二业务数据。Next, in order to facilitate the subsequent description of the functions of the components in the optical communication system 100, it is now assumed that the actual working scenario of the optical communication system 100 is to send the first service data to the second optical communication device 30 through the first optical communication device 10, and The second service data is sent to the first optical communication device 10 through the second optical communication device 30 .

在实际应用时,第二光通信装置30可先基于第二业务数据生成一个信号光(为了方便区别,下文将以第一信号光代替描述),然后再通过第三光纤103将该第一信号光传输给第三光耦合器203。而由于第三光通信装置40和第四光纤104与第二光通信装置30以及第三光纤103为主备的关系,所以上述第三光通信装置40也会同步的基于第二业务数据生成信号光(为了方便区别,下文将以第三信号光代替描述),并通过第四光纤104将该第三信号光传输给第四光耦合器204。与此同时,第一光通信装置10可基于第一业务数据生成源信号光,并将该源信号光分光得到第二信号光和第四信号光。然后,第一光通信装置10可通过第一光纤101将上述第四信号光传输至第一光耦合器201处,并通过第二光纤102将上述第二信号光传输至第二光耦合器202处。In actual application, the second optical communication device 30 can first generate a signal light based on the second service data (for the convenience of distinction, the description will be replaced by the first signal light below), and then pass the first signal light through the third optical fiber 103 The light is transmitted to the third optical coupler 203 . And because the relationship between the third optical communication device 40 and the fourth optical fiber 104 and the second optical communication device 30 and the third optical fiber 103 are active and standby, so the above-mentioned third optical communication device 40 will also generate signals based on the second service data synchronously light (in order to facilitate the distinction, the description will be replaced by the third signal light below), and transmit the third signal light to the fourth optical coupler 204 through the fourth optical fiber 104 . At the same time, the first optical communication device 10 may generate the source signal light based on the first service data, and split the source signal light to obtain the second signal light and the fourth signal light. Then, the first optical communication device 10 can transmit the above-mentioned fourth signal light to the first optical coupler 201 through the first optical fiber 101, and transmit the above-mentioned second signal light to the second optical coupler 202 through the second optical fiber 102 place.

进一步地,第一光耦合器201在接收到上述第四信号光后,可将第四信号光分光得到第七子信号光和第八子信号光,并分别传输给第一控制器205和第一光开关组207。这里需要说明的是,上述第七子信号光的光功率应小于上述第八子信号光的光功率。类似的,第二光耦合器202在接收到上述第二信号光后,可将第二信号光分光得到第三子信号光和第四子信号光,并分别将第三子信号光和第四子信号光传输给第二控制器206和第二光开关组208。这里,上述第三子信号光的光功率也应小于上述第四子信号光的光功率。类似的,第三光耦合器203在接收到上述第一信号光之后,也可将该第一信号光分光得到第一子信号光和第二子信号光,并分别将该第一子信号光和第二子信号光发送给第一控制器205和第二光开关组208。类似的,第四光耦合器204在接收到上述第三信号光之后,可将第三信号光分光得到第五子信号光和第六子信号光,并分别将第五子信号光和第六子信号光传输给第二控制器206和第二光开关组208。Further, after receiving the fourth signal light, the first optical coupler 201 can split the fourth signal light to obtain the seventh sub-signal light and the eighth sub-signal light, and transmit them to the first controller 205 and the second sub-signal light respectively. An optical switch group 207. It should be noted here that the optical power of the seventh sub-signal light should be smaller than the optical power of the eighth sub-signal light. Similarly, after receiving the above-mentioned second signal light, the second optical coupler 202 can split the second signal light to obtain the third sub-signal light and the fourth sub-signal light, and separate the third sub-signal light and the fourth sub-signal light The sub signal light is transmitted to the second controller 206 and the second optical switch group 208 . Here, the optical power of the third sub-signal light should also be smaller than the optical power of the fourth sub-signal light. Similarly, after receiving the above-mentioned first signal light, the third optical coupler 203 can also split the first signal light to obtain the first sub-signal light and the second sub-signal light, and respectively use the first sub-signal light and the second sub-signal light are sent to the first controller 205 and the second optical switch group 208 . Similarly, after receiving the above-mentioned third signal light, the fourth optical coupler 204 can split the third signal light to obtain the fifth sub-signal light and the sixth sub-signal light, and respectively split the fifth sub-signal light and the sixth sub-signal light The sub signal light is transmitted to the second controller 206 and the second optical switch group 208 .

在一种可行的实现方式中,第一控制器205可根据第一光耦合器201提供的第七子信号光来判断第一光纤101是否发生故障。例如,上述第一控制器205可检测来自于第一光耦合器201的第七子信号光的光功率是否为零。这里,第一控制器205可通过其包含的光电探测器来检测第七子信号光的光功率是否为零。当第一控制器205检测到上述第七子信号光的光功率为零(也即第七子信号光无光)时,则可确定第一光纤101发生故障。当第一控制器205检测到上述第七子信号光的光功率不为零(也即第七子信号光有光)时,则可确定第一光纤101无故障。又例如,第一控制器205也可检测来自于第一光耦合器201的第七子信号光的光功率与第二预设光功率的第二光功率差值是否等于或者大于第二预设差值时。当第一控制器205确定第二光功率差值等于或者大于第二预设差值时,则可确定第一光纤101发生故障。当第一控制器205确定第二光功率差值小于第二预设差值时,则可确定第一光纤101无故障。In a feasible implementation manner, the first controller 205 may determine whether the first optical fiber 101 is faulty according to the seventh sub-signal light provided by the first optical coupler 201 . For example, the above-mentioned first controller 205 may detect whether the optical power of the seventh sub-signal light from the first optical coupler 201 is zero. Here, the first controller 205 may detect whether the optical power of the seventh sub-signal light is zero through a photodetector included therein. When the first controller 205 detects that the optical power of the seventh sub-signal light is zero (that is, the seventh sub-signal light has no light), it can determine that the first optical fiber 101 is faulty. When the first controller 205 detects that the optical power of the seventh sub-signal light is not zero (that is, the seventh sub-signal light has light), it can determine that the first optical fiber 101 is not faulty. For another example, the first controller 205 may also detect whether the second optical power difference between the optical power of the seventh sub-signal light from the first optical coupler 201 and the second preset optical power is equal to or greater than the second preset optical power. difference. When the first controller 205 determines that the second optical power difference is equal to or greater than the second preset difference, it may determine that the first optical fiber 101 is faulty. When the first controller 205 determines that the second optical power difference is smaller than the second preset difference, it can determine that the first optical fiber 101 is not faulty.

在上述实现中,第一控制器205通过光功率检测的方式来判断第一光纤101是否发生故障,方式简单且易于实现,可降低双归保护装置20的结构复杂度和成本。In the above implementation, the first controller 205 judges whether the first optical fiber 101 is faulty through optical power detection, which is simple and easy to implement, and can reduce the structural complexity and cost of the dual-homing protection device 20 .

同理,上述第二控制器206也可根据第二光耦合器202提供的第三子信号光来判断第二光纤102是否发生故障。例如,第二控制器206可检测来自于第二光耦合器202的第三子信号光的光功率是否为零。当第二控制器206检测到上述第三子信号光的光功率为零时,则可确定第二光纤102发生故障。当第二控制器206检测到上述第三子信号光的光功率不为零时,则可确定第二光纤102无故障。又例如,第二控制器206也可检测来自于第二光耦合器202的第三子信号光的光功率与第二预设光功率的第三光功率差值是否等于或者大于第二预设差值时。当第一控制器205确定第三光功率差值等于或者大于第二预设差值时,则可确定第二光纤102发生故障。当第二控制器206确定第三光功率差值小于第二预设差值时,则可确定第二光纤102无故障。Similarly, the above-mentioned second controller 206 can also judge whether the second optical fiber 102 is faulty according to the third sub-signal light provided by the second optical coupler 202 . For example, the second controller 206 can detect whether the optical power of the third sub-signal light from the second optical coupler 202 is zero. When the second controller 206 detects that the optical power of the third sub-signal light is zero, it may determine that the second optical fiber 102 is faulty. When the second controller 206 detects that the optical power of the third sub-signal light is not zero, it may determine that the second optical fiber 102 is not faulty. For another example, the second controller 206 may also detect whether the third optical power difference between the optical power of the third sub-signal light from the second optical coupler 202 and the second preset optical power is equal to or greater than the second preset optical power. difference. When the first controller 205 determines that the third optical power difference is equal to or greater than the second preset difference, it may determine that the second optical fiber 102 is faulty. When the second controller 206 determines that the third optical power difference is smaller than the second preset difference, it can determine that the second optical fiber 102 is not faulty.

在上述实现中,第二控制器206也通过光功率检测的方式来判断第二光纤102是否发生故障,这样可进一步降低双归保护装置20的结构复杂度和成本。In the above implementation, the second controller 206 also judges whether the second optical fiber 102 is faulty through optical power detection, which can further reduce the structural complexity and cost of the dual-homing protection device 20 .

在一种可能的实现方式中,第一控制器205还根据第三光耦合器203提供的第一子信号光来判断上述第三光纤103和/或第二光通信装置30是否发生故障。具体地,第一控制器205可先检测第二光耦合器202提供的第一子信号光的光功率是否为零,或,确定所述第一子信号光的光功率与第一预设光功率的第一光功率差值是否等于或大于第一预设差值。若第一控制器205确定上述第一子信号光的光功率为零,或,确定所述第一子信号光的光功率与第一预设光功率的第一光功率差值等于或大于第一预设差值,则可确定上述第三光纤103发生故障。若第一控制器205确定确定第一光功率差值小于所述第一预设差值,则可确定上述第三光纤103无故障。在第一控制器205确定第三光纤103无故障的的情况下,第一控制器205可进一步确定上述第一子信号光中是否包含目标调顶信号。具体的,第一控制器205可通过其包含的调顶解调模块对第一子信号光进行调顶解调以得到相应的调顶解调结果。然后,第一控制器205可确定该调顶解调结果中是否包含目标调顶信号。若第一控制器205确定该调顶解调结果中不包含目标调顶信号,则确定第一子信号光中不包含目标调顶解调信号。若第一控制器205确定上述调顶解调结果中包含目标调顶信号,则可确定上述第一子信号光中包含目标调顶信号。当第一控制器205确定上述第一子信号光中不包含上述目标调顶信号,则可确定第二光通信装置30生成的第一信号光中不包含目标调顶信号,这样就可以确定第二光通信装置30发生故障。而当第一控制器205确定上述第一子信号光中包含目标调顶信号,则可确定上述第一信号光中包含目标调顶信号,则可确定上述第二光通信装置30无故障。In a possible implementation manner, the first controller 205 also judges whether the third optical fiber 103 and/or the second optical communication device 30 fails according to the first sub-signal light provided by the third optical coupler 203 . Specifically, the first controller 205 may first detect whether the optical power of the first sub-signal light provided by the second optical coupler 202 is zero, or determine whether the optical power of the first sub-signal light is equal to that of the first preset light Whether the first optical power difference of the power is equal to or greater than the first preset difference. If the first controller 205 determines that the optical power of the first sub-signal light is zero, or determines that the first optical power difference between the optical power of the first sub-signal light and the first preset optical power is equal to or greater than the first If a preset difference is reached, it can be determined that the third optical fiber 103 is faulty. If the first controller 205 determines that the first optical power difference is smaller than the first preset difference, it may determine that the third optical fiber 103 is not faulty. In the case where the first controller 205 determines that the third optical fiber 103 is not faulty, the first controller 205 may further determine whether the above-mentioned first sub-signal light contains the target top adjustment signal. Specifically, the first controller 205 may perform IM demodulation on the first sub-signal light through the IM demodulation module contained therein to obtain corresponding IM demodulation results. Then, the first controller 205 may determine whether the target pitch signal is contained in the pitch demodulation result. If the first controller 205 determines that the target pitch modulation and demodulation result does not contain the target pitch modulation and demodulation signal, it determines that the target pitch modulation and demodulation signal is not contained in the first sub-signal light. If the first controller 205 determines that the pitch tuning demodulation result includes the target pitch tuning signal, it may determine that the target pitch tuning signal is included in the first sub-signal light. When the first controller 205 determines that the target pitch signal is not included in the first sub-signal light, it can be determined that the target pitch signal is not included in the first signal light generated by the second optical communication device 30, so that the second sub-signal light can be determined. The second optical communication device 30 fails. When the first controller 205 determines that the first sub-signal light contains the target pitch signal, it can determine that the first signal light contains the target pitch signal, and then it can determine that the second optical communication device 30 is not faulty.

需要说明的是,该目标调顶信号为上述第一信号光预配置的调顶信号。也就是说,在本实现方式中,第二光通信装置30在生成上述第一信号光的过程中,会通过调顶技术在基于第二业务数据生成业务信号光上加载一个低频的目标调顶信号,进而生成实际传输的第一信号光。应理解,这个目标调顶信号并不会干扰业务信号光的传输,其可承载一个轻量级的操作维护管理(operation administration and maintenance,OAM)报文,用于光链路诊断以及光模块的功率、温度或电路告警等功能。It should be noted that the target top adjustment signal is the top adjustment signal preconfigured by the first signal light. That is to say, in this implementation mode, in the process of generating the above-mentioned first signal light, the second optical communication device 30 will load a low-frequency target top adjustment on the service signal light generated based on the second service data through the top adjustment technology. signal, and then generate the first signal light that is actually transmitted. It should be understood that the target tuning signal will not interfere with the optical transmission of the service signal, and it can carry a lightweight operation administration and maintenance (OAM) message, which is used for optical link diagnosis and optical module maintenance. Power, temperature or circuit alarm functions.

在上述实现中,第一控制器205通过检测光功率来判断第三光纤103是否发生故障,并在确定第三光纤103无故障的情况下,进一步通过检测第一子信号光中是否包含目标调顶信号来判断第二光通信装置30是否发生故障,这样就可以实现针对第三光纤103和第二光通信装置30的纯光层的故障检测。In the above implementation, the first controller 205 judges whether the third optical fiber 103 has a fault by detecting the optical power, and further detects whether the first sub-signal light contains the target modulation The IR signal is used to judge whether the second optical communication device 30 is faulty, so that the fault detection for the third optical fiber 103 and the pure optical layer of the second optical communication device 30 can be realized.

同理,第二控制器206也可根据第四光耦合器204提供的第五子信号光来判断上述第四光纤104和/或第三光通信装置40是否发生故障。具体的,第二控制器206可先检测第四光耦合器204提供的第五子信号光的光功率是否为零,或者,确定所述第五子信号光的光功率与第一预设光功率的第四光功率差值是否等于或者大于第一预设差值。若第二控制器206确定第五子信号光的光功率为零,或者,确定第四光功率差值等于或者大于第一预设差值,则可确定上述第四光纤104发生故障。若第二控制器206确定所述第四光功率差值小于所述第一预设差值,则可确定上述第四光纤104无故障。在第二控制器206确定第四光纤104无故障的情况下,第二控制器206也可进一步确定第五子信号光中是否包含上述目标调顶信号。这里需要说明的是,同样的,第三光通信装置40在生成上述第三信号光的过程中,也会通过调顶技术在基于第二业务数据生成业务信号光上加载一个低频的目标调顶信号,进而生成实际传输的第三信号光。这里,第二控制器206检测第五子信号光中是否包含目标调顶信号的具体过程可一并参见前文描述的第一控制器205检测第一子信号光中的是否包含目标调顶信号的过程,此处便不再赘述。当第二控制器206确定第五子信号光中不包含上述目标调顶信号时,可确定第三光通信装置40生成的第三信号光中不包含目标调顶信号,这样就可以确定第三光通信装置40发生故障。而当第二控制器206确定第五子信号光中包含目标调顶信号时,则可确定上述第三信号光中包含目标调顶信号,则可确定第三光通信装置40无故障。Similarly, the second controller 206 can also determine whether the fourth optical fiber 104 and/or the third optical communication device 40 is faulty according to the fifth sub-signal light provided by the fourth optical coupler 204 . Specifically, the second controller 206 may first detect whether the optical power of the fifth sub-signal light provided by the fourth optical coupler 204 is zero, or determine whether the optical power of the fifth sub-signal light is equal to that of the first preset light Whether the fourth optical power difference of power is equal to or greater than the first preset difference. If the second controller 206 determines that the optical power of the fifth sub-signal light is zero, or determines that the fourth optical power difference is equal to or greater than the first preset difference, it may determine that the fourth optical fiber 104 is faulty. If the second controller 206 determines that the fourth optical power difference is smaller than the first preset difference, it may determine that the fourth optical fiber 104 is not faulty. In the case where the second controller 206 determines that the fourth optical fiber 104 is not faulty, the second controller 206 may further determine whether the fifth sub-signal light contains the aforementioned target top adjustment signal. It should be noted here that, similarly, in the process of generating the above-mentioned third signal light, the third optical communication device 40 will also load a low-frequency target top adjustment on the service signal light generated based on the second service data through the top adjustment technology. signal, and then generate the third signal light that is actually transmitted. Here, the specific process for the second controller 206 to detect whether the fifth sub-signal light contains the target top-adjustment signal can also refer to the above-mentioned first controller 205 detecting whether the first sub-signal light contains the target top-adjustment signal. The process will not be repeated here. When the second controller 206 determines that the target pitch signal is not included in the fifth sub-signal light, it can be determined that the target pitch signal is not included in the third signal light generated by the third optical communication device 40, so that the third The optical communication device 40 fails. When the second controller 206 determines that the fifth sub-signal light contains the target pitch signal, it can determine that the third signal light contains the target pitch signal, and then it can determine that the third optical communication device 40 is not faulty.

在上述实现中,第二控制器206也通过检测光功率来判断第四光纤104是否发生故障,并在确定第四光纤104无故障的情况下,进一步通过检测第五子信号光中是否包含目标调顶信号来判断第三光通信装置40是否发生故障,这样就可以实现针对第四光纤104和第三光通信装置40的纯光层的故障检测,可进一步降低双归保护装置20的结构复杂度和成本。In the above implementation, the second controller 206 also judges whether the fourth optical fiber 104 is faulty by detecting the optical power, and further detects whether the fifth sub-signal light contains a target when it is determined that the fourth optical fiber 104 is not faulty. Adjust the top signal to judge whether the third optical communication device 40 fails, so that the fault detection for the pure optical layer of the fourth optical fiber 104 and the third optical communication device 40 can be realized, and the structure complexity of the dual-homing protection device 20 can be further reduced degree and cost.

前文描述了双归保护装置20检测第一光纤101、第二光纤102、第三光纤103、第四光纤104、第二光通信装置30以及第三光通信装置40是否发生故障的过程。下面将结合前文的描述,进一步说明双归保护装置20在确定上述多个检测对象中的一项或者多项发生故障时的处理过程。The foregoing describes the process in which the dual-homing protection device 20 detects whether the first optical fiber 101 , the second optical fiber 102 , the third optical fiber 103 , the fourth optical fiber 104 , the second optical communication device 30 and the third optical communication device 40 are faulty. The following will further illustrate the processing procedure of the dual-homing protection device 20 when it is determined that one or more of the above-mentioned detection objects are faulty in combination with the foregoing description.

图3是本申请实施例提供的一种双归保护装置的第一结构示意图。如图3所示,第一光开关组207可包括一个第一光开关2071,第二光开关组208可包括一个第二光开关2081。第一光开关2071以及第二光开关2081均为1*2的光开关,第一光开关2071具备第一光接口、第二光接口、第三光接口以及第一电接口。第二光开关2081具备第四光接口、第五光接口、第六光接口以及第二电接口。其中,第一光开关2071的第一光接口与第一光耦合器201相连的,其第二光接口与第三光耦合器203相连,其第三光接口与第二光开关2081的第六光接口通过第五光纤105相连接,其第一电接口与第一控制器205相连接。在实际应用中,第一控制器205可通过上述第一电接口向第一光开关2071发送开关控制信号,以控制第三光接口与在第二光接口或者第一光接口之间的导通或者关断。第二光开关2081的第四光接口与第二光耦合器202相连的,其第五光接口与第四光耦合器204相连,其第二电接口与第二控制器206相连接。在实际应用中,第二控制器206可通过第二电接口向第二光开关2081发送开关控制信号,以控制第六光接口与在第四光接口或者第五光接口之间的导通或者关断。因此,这里可以理解到的是,通过第一控制器205与第二控制器206的协同控制,即可实现第一光耦合器201与第三光耦合器203或者第四光耦合器204之间的光通路的建立和释放,以及,实现第二光耦合器202与第三光耦合器203或者第四光耦合器204之间的光通路的建立或者释放。例如,当第一控制器205控制第一光开关2071导通其第一光接口和第三光接口,同时第二控制器206控制第二光开关2081导通其第五光接口和第六光接口,则即实现了第一光耦合器201与第四光耦合器204之间的光通路的建立。而当第一控制器205控制第一光开关2071断开其第一光接口和第三光接口,同时第二控制器206控制第二光开关2081断开其第五光接口和第六光接口,则可实现第一光耦合器201与第四光耦合器204之间的光通路的释放。Fig. 3 is a schematic diagram of a first structure of a dual-homing protection device provided by an embodiment of the present application. As shown in FIG. 3 , the first optical switch group 207 may include a first optical switch 2071 , and the second optical switch group 208 may include a second optical switch 2081 . Both the first optical switch 2071 and the second optical switch 2081 are 1*2 optical switches, and the first optical switch 2071 has a first optical interface, a second optical interface, a third optical interface and a first electrical interface. The second optical switch 2081 has a fourth optical interface, a fifth optical interface, a sixth optical interface, and a second electrical interface. Wherein, the first optical interface of the first optical switch 2071 is connected to the first optical coupler 201, the second optical interface is connected to the third optical coupler 203, and the third optical interface is connected to the sixth optical interface of the second optical switch 2081. The optical interface is connected through the fifth optical fiber 105 , and its first electrical interface is connected with the first controller 205 . In practical applications, the first controller 205 can send a switch control signal to the first optical switch 2071 through the above-mentioned first electrical interface to control the conduction between the third optical interface and the second optical interface or the first optical interface. or shut down. The fourth optical interface of the second optical switch 2081 is connected to the second optical coupler 202 , the fifth optical interface is connected to the fourth optical coupler 204 , and the second electrical interface is connected to the second controller 206 . In practical applications, the second controller 206 can send a switch control signal to the second optical switch 2081 through the second electrical interface to control the conduction between the sixth optical interface and the fourth optical interface or the fifth optical interface or off. Therefore, it can be understood here that through the cooperative control of the first controller 205 and the second controller 206, the connection between the first optical coupler 201 and the third optical coupler 203 or the fourth optical coupler 204 can be realized. The establishment and release of the optical path, and the establishment or release of the optical path between the second optical coupler 202 and the third optical coupler 203 or the fourth optical coupler 204 . For example, when the first controller 205 controls the first optical switch 2071 to turn on its first optical interface and third optical interface, at the same time the second controller 206 controls the second optical switch 2081 to turn on its fifth optical interface and sixth optical interface. The interface realizes the establishment of the optical path between the first optical coupler 201 and the fourth optical coupler 204 . And when the first controller 205 controls the first optical switch 2071 to disconnect its first optical interface and third optical interface, at the same time the second controller 206 controls the second optical switch 2081 to disconnect its fifth optical interface and sixth optical interface , then the release of the optical path between the first optical coupler 201 and the fourth optical coupler 204 can be realized.

在一种可选的实现方式中,在第一控制器205确定第一光纤101发生故障且第三光纤103和第二光通信装置30无故障的情况下,第一控制器205可以控制第一光开关组207在第二光开关组和第三光耦合器203之间建立光通路。具体的,第一控制器205可以给第一光开关2071发送一个第一开关控制信号。第一光开关2071在接收到上述第一开关控制信号后,即可导通第二光接口和第三光接口,从而在第三光耦合器203与第二光开关2081的第六光接口之间建立光通路。同时,上述第一控制器205还可生成一个第一指示信息,并将该第一指示信息发送给第二控制器206。这里,该第一指示信息主要用于指示第一光纤101发生故障且第三光纤103和第二光通信装置30无故障。In an optional implementation, when the first controller 205 determines that the first optical fiber 101 is faulty and the third optical fiber 103 and the second optical communication device 30 are not faulty, the first controller 205 can control the first The optical switch group 207 establishes an optical path between the second optical switch group and the third optical coupler 203 . Specifically, the first controller 205 may send a first switch control signal to the first optical switch 2071 . After the first optical switch 2071 receives the above-mentioned first switch control signal, it can conduct the second optical interface and the third optical interface, so that between the third optical coupler 203 and the sixth optical interface of the second optical switch 2081 Create a light path between them. At the same time, the above-mentioned first controller 205 may also generate a first indication information, and send the first indication information to the second controller 206 . Here, the first indication information is mainly used to indicate that the first optical fiber 101 is faulty and the third optical fiber 103 and the second optical communication device 30 are not faulty.

然后,当第二控制器206接收到上述第一指示信息时,若第二控制器206确定第二光纤102无故障,则可控制第二光开关组208在第二光耦合器202与第一光开关组207之间建立光通路。具体地,第二控制器206向第二光开关2081发送一个第二开关控制信号。第二光开关2081在接收到该第二开关控制信号后,即可导通其第六光接口与第四光接口,从而在其第六光接口与第二光耦合器202之间建立光通路。至此,第二光耦合器202即通过第二光开关2081、第五光纤105以及第一光开关2071与第三光耦合器203之间建立光通路。然后,第四子信号光即可通过第二光开关2081、第五光纤105、第一光开关2071、第三光耦合器203以及第三光纤103传输至第二光通信装置30,从而实现了第一业务数据从第一光通信装置10到第二光通信装置30的传输。同时,第二子信号光也可通过第三光耦合器203、第一光开关2071、第五光纤105、第二光开关2081以及第二光纤102传输至第一光通信装置10,从而实现了第二业务数据从第二光通信装置30到第一光通信装置10的传输。这里也可以理解成,第二光纤102即开始代替发生故障的第一光纤101来实现第一光通信装置10与第二光通信装置20之间的业务数据的传输,发生故障的第一光纤101完成了向备用的第二光纤102的切换。Then, when the second controller 206 receives the above-mentioned first indication information, if the second controller 206 determines that the second optical fiber 102 is not faulty, it can control the second optical switch group 208 to switch between the second optical coupler 202 and the first optical fiber 102. Optical paths are established between the optical switch groups 207 . Specifically, the second controller 206 sends a second switch control signal to the second optical switch 2081 . After receiving the second switch control signal, the second optical switch 2081 can turn on its sixth optical interface and fourth optical interface, thereby establishing an optical path between its sixth optical interface and the second optical coupler 202 . So far, the second optical coupler 202 establishes an optical path through the second optical switch 2081 , the fifth optical fiber 105 , the first optical switch 2071 and the third optical coupler 203 . Then, the fourth sub-signal light can be transmitted to the second optical communication device 30 through the second optical switch 2081, the fifth optical fiber 105, the first optical switch 2071, the third optical coupler 203 and the third optical fiber 103, thereby realizing Transmission of the first service data from the first optical communication device 10 to the second optical communication device 30 . At the same time, the second sub-signal light can also be transmitted to the first optical communication device 10 through the third optical coupler 203, the first optical switch 2071, the fifth optical fiber 105, the second optical switch 2081 and the second optical fiber 102, thereby realizing Transmission of the second service data from the second optical communication device 30 to the first optical communication device 10 . It can also be understood here that the second optical fiber 102 starts to replace the failed first optical fiber 101 to realize the transmission of service data between the first optical communication device 10 and the second optical communication device 20, and the failed first optical fiber 101 Switchover to the spare second optical fiber 102 is complete.

可选的,当第二控制器206接收到上述第一指示信息时,若第二控制器206确定第二光纤102也发生故障,则第二控制器206可以输出业务中断告警信息。这里,该业务中断告警信息可用于指示所述第一光通信装置10与所述第二光通信装置30和所述第三光通信装置40之间发生业务中断。Optionally, when the second controller 206 receives the first indication information, if the second controller 206 determines that the second optical fiber 102 also fails, the second controller 206 may output service interruption warning information. Here, the service interruption warning information may be used to indicate that service interruption occurs between the first optical communication device 10 and the second optical communication device 30 and the third optical communication device 40 .

在上述实现中,当双归保护装置20确定第一光纤101发生故障且第三光纤103和第二光通信装置30未发生故障时,可通过第二光纤102来代替第一光纤101来进行相应的业务数据的传输,这样就可以使得光通信系统100能够实现针对第一光纤101的故障保护。In the above implementation, when the dual-homing protection device 20 determines that the first optical fiber 101 is faulty and the third optical fiber 103 and the second optical communication device 30 are not faulty, the second optical fiber 102 can be used instead of the first optical fiber 101 for corresponding The transmission of service data, so that the optical communication system 100 can realize the fault protection for the first optical fiber 101.

在一种可选的实现方式中,在第一控制器205确定第一光纤101无故障且第三光纤103和/或第二光通信装置30发生故障的情况下,第一控制器205可以控制第一光开关组207在第三光耦合器203与第二光开关组208之间建立光通路。第一控制器205还可生成并向第二控制器206发送第二指示信息。这里,该第二指示信息可用于指示第一光纤101无故障且第三光纤103和/或第二光通信装置30发生故障。当第二控制器206接收到上述第二指示信息时,若第二控制器206确定第四光纤104和第三光通信装置40无故障,则可控制第二光开关组208在第一光开关组207和第四光耦合器204之间建立光通路。这样就可以通过第四光纤104将第一光耦合器201分光得到的第八子信号光传输给第三光通信装置40,也就可以通过第一光纤101将上述第六子信号光传输给第一光通信装置10。In an optional implementation, when the first controller 205 determines that the first optical fiber 101 is not faulty and the third optical fiber 103 and/or the second optical communication device 30 is faulty, the first controller 205 may control The first optical switch group 207 establishes an optical path between the third optical coupler 203 and the second optical switch group 208 . The first controller 205 may also generate and send second indication information to the second controller 206 . Here, the second indication information may be used to indicate that the first optical fiber 101 is not faulty and the third optical fiber 103 and/or the second optical communication device 30 is faulty. When the second controller 206 receives the above-mentioned second instruction information, if the second controller 206 determines that the fourth optical fiber 104 and the third optical communication device 40 are not faulty, it can control the second optical switch group 208 to switch between the first optical switch An optical path is established between the group 207 and the fourth optical coupler 204 . In this way, the eighth sub-signal light split by the first optical coupler 201 can be transmitted to the third optical communication device 40 through the fourth optical fiber 104, and the sixth sub-signal light can be transmitted to the third optical communication device 40 through the first optical fiber 101. An optical communication device 10 .

具体的,结合图3所示的结构,当第一控制器205确定第一光纤101无故障且第三光纤103和/或第二光通信装置30发生故障时,第一控制器205可以生成并向第一光开关2071发送第三开关控制信号。第一光开关2071在接收到上述第三开关控制信号后,即可导通其第一光接口和第三光接口,从而在第一光耦合器201与第二光开关2081之间建立光通路。与此同时,第一控制器205还可生成一个第二指示信息,并将该第二指示信息发送给第二控制器206。第二控制器206在接收到上述第二指示信息后,在确定第四光纤104和第三光通信装置40无故障的情况下,即可生成并向第二光开关2081发送第四开关控制信号。第二光开关2081在接收到上述第四开关控制信号后,即可导通其第五光接口和第六光接口,从而在第一光开关2071余第四光耦合器204之间建立光通路。至此,第一光耦合器201即通过第二光开关2081、第五光纤105以及第一光开关2071与第四光耦合器204之间建立光通路。然后,第八子信号光即可通过第一光开关2071、第五光纤105、第二光开关2081、第四光耦合器204以及第四光纤104传输至第三光通信装置40,从而实现了第一业务数据从第一光通信装置10到第三光通信装置40的传输。同时,第六子信号光也可通过第二光开关2081、第五光纤105、第一光开关2071、第一光耦合器201以及第一光纤101传输至第一光通信装置10,从而实现了上述第二业务数据从第三光通信装置40到第一光通信装置10的传输。这里也可以理解成,第四光纤104和第三光通信装置40即开始代替发生故障的第三光纤103和/或第二光通信装置30来实现与第一光通信装置10之间的业务数据的传输,第三光纤103和第二光通信装置30即完成了向备用的第三光纤104和第三光通信装置40的切换。Specifically, in combination with the structure shown in FIG. 3 , when the first controller 205 determines that the first optical fiber 101 is not faulty and the third optical fiber 103 and/or the second optical communication device 30 is faulty, the first controller 205 may generate and Send the third switch control signal to the first optical switch 2071 . After the first optical switch 2071 receives the above-mentioned third switch control signal, it can turn on its first optical interface and third optical interface, thereby establishing an optical path between the first optical coupler 201 and the second optical switch 2081 . At the same time, the first controller 205 may also generate a second indication information, and send the second indication information to the second controller 206 . After the second controller 206 receives the above-mentioned second instruction information and determines that the fourth optical fiber 104 and the third optical communication device 40 are not faulty, it can generate and send the fourth switch control signal to the second optical switch 2081 . After the second optical switch 2081 receives the above-mentioned fourth switch control signal, it can turn on its fifth optical interface and sixth optical interface, thereby establishing an optical path between the first optical switch 2071 and the fourth optical coupler 204 . So far, the first optical coupler 201 establishes an optical path through the second optical switch 2081 , the fifth optical fiber 105 , and the first optical switch 2071 and the fourth optical coupler 204 . Then, the eighth sub-signal light can be transmitted to the third optical communication device 40 through the first optical switch 2071, the fifth optical fiber 105, the second optical switch 2081, the fourth optical coupler 204, and the fourth optical fiber 104, thereby realizing Transmission of the first service data from the first optical communication device 10 to the third optical communication device 40 . At the same time, the sixth sub-signal light can also be transmitted to the first optical communication device 10 through the second optical switch 2081, the fifth optical fiber 105, the first optical switch 2071, the first optical coupler 201 and the first optical fiber 101, thereby realizing The above-mentioned transmission of the second service data from the third optical communication device 40 to the first optical communication device 10 . It can also be understood here that the fourth optical fiber 104 and the third optical communication device 40 start to replace the failed third optical fiber 103 and/or the second optical communication device 30 to realize the business data with the first optical communication device 10 transmission, the third optical fiber 103 and the second optical communication device 30 complete the switching to the spare third optical fiber 104 and the third optical communication device 40 .

可选的,当第二控制器206接收到上述第二指示信息时,若第二控制器206确定第四光纤104和/或第三光通信装置40也发生故障,则可输出上述业务中断告警信息。Optionally, when the second controller 206 receives the above-mentioned second indication information, if the second controller 206 determines that the fourth optical fiber 104 and/or the third optical communication device 40 also fails, it may output the above-mentioned service interruption alarm information.

在上述实现中,当双归保护装置20确定第一光纤101无故障且第三光纤103和/或第二光通信装置30发生故障,即可通过备用的第四光纤104和第三光通信装置40来代替第三光纤103和第二光通信装置30进行相应的业务数据的传输,这样就使得光通信系统还能实现针对第三光纤和第二光通信装置的故障保护。In the above implementation, when the dual-homing protection device 20 determines that the first optical fiber 101 is not faulty and the third optical fiber 103 and/or the second optical communication device 30 fails, it can pass through the spare fourth optical fiber 104 and the third optical communication device. 40 to replace the third optical fiber 103 and the second optical communication device 30 to transmit corresponding service data, so that the optical communication system can also implement fault protection for the third optical fiber and the second optical communication device.

在一种可选的实现方式中,在确定第一光纤101和第三光纤103均发生故障,或者,确定上述第一光纤101、第三光纤103和第二光通信装置30均发生故障的情况下,第一控制器205可以生成并向第二控制器206发送第三指示信息。这里,该第三指示信息用于指示第一光纤101和第三光纤103均发生故障,或者,第一光纤101、第三光纤103和第二光通信装置30均发生故障。第二控制器206在接收到上述第三指示信息后,若确定第二光纤102、第四光纤104以及第三光通信装置40均无故障,则可控制第二光开关组208在第二光耦合器202和第四光耦合器204之间建立光通路。这样就可以通过第四光纤104将第四子信号光传输给第三光通信装置40,也可以通过第二光纤102将第六子信号光传输给第一光通信装置10,保证了第一业务数据和第二业务数据正常传输。In an optional implementation manner, when it is determined that both the first optical fiber 101 and the third optical fiber 103 are faulty, or it is determined that the above-mentioned first optical fiber 101, the third optical fiber 103 and the second optical communication device 30 are all faulty Next, the first controller 205 may generate and send third indication information to the second controller 206 . Here, the third indication information is used to indicate that both the first optical fiber 101 and the third optical fiber 103 fail, or that the first optical fiber 101 , the third optical fiber 103 and the second optical communication device 30 all fail. After the second controller 206 receives the above-mentioned third indication information, if it is determined that the second optical fiber 102, the fourth optical fiber 104, and the third optical communication device 40 are not faulty, it can control the second optical switch group 208 to operate on the second optical An optical path is established between the coupler 202 and the fourth optical coupler 204 . In this way, the fourth sub-signal light can be transmitted to the third optical communication device 40 through the fourth optical fiber 104, and the sixth sub-signal light can be transmitted to the first optical communication device 10 through the second optical fiber 102, ensuring the first service The data and the second service data are normally transmitted.

具体的,结合图3所示的结构,第二控制器206在接收到上述第三指示信息后,若确定第二光纤102、第四光纤104以及第三光通信装置40均无故障,则可生成并向第二光开关2081发送第五开关控制信号。第二光开关2081在接收到上述第五开关控制信号后,即可导通其第四光接口和第五光接口,从而在第二光耦合器202余第四光耦合器204之间建立光通路。至此,第二光耦合器202即通过第二光开关2081与第四光耦合器204之间建立光通路。然后,第四子信号光即可通过第二光开关2081、第四光耦合器204以及第四光纤104传输至第三光通信装置40,从而实现了第一业务数据从第一光通信装置10到第三光通信装置40的传输。同时,第六子信号光也可通过第二光开关2081、第二光耦合器202以及第二光纤102传输至第一光通信装置10,从而实现了第二业务数据从第三光通信装置40到第一光通信装置10的传输。这里也可以理解成,此时,第二光纤102、第四光纤104和第三光通信装置40即开始代替发生故障的第一光纤101、第三光纤103和第二光通信装置30来实现与第一光通信装置10之间的业务数据的传输。Specifically, in combination with the structure shown in FIG. 3 , after the second controller 206 receives the above-mentioned third indication information, if it is determined that the second optical fiber 102, the fourth optical fiber 104, and the third optical communication device 40 are all fault-free, then the Generate and send a fifth switch control signal to the second optical switch 2081 . After the second optical switch 2081 receives the above-mentioned fifth switch control signal, it can turn on its fourth optical interface and fifth optical interface, thereby establishing an optical connection between the second optical coupler 202 and the fourth optical coupler 204. path. So far, the second optical coupler 202 establishes an optical path through the second optical switch 2081 and the fourth optical coupler 204 . Then, the fourth sub-signal light can be transmitted to the third optical communication device 40 through the second optical switch 2081, the fourth optical coupler 204 and the fourth optical fiber 104, thereby realizing the transmission of the first service data from the first optical communication device 10 Transmission to the third optical communication device 40 . At the same time, the sixth sub-signal light can also be transmitted to the first optical communication device 10 through the second optical switch 2081, the second optical coupler 202 and the second optical fiber 102, thereby realizing the transmission of the second service data from the third optical communication device 40 Transmission to the first optical communication device 10 . It can also be understood here that at this moment, the second optical fiber 102, the fourth optical fiber 104 and the third optical communication device 40 start to replace the failed first optical fiber 101, the third optical fiber 103 and the second optical communication device 30 to realize communication with Transmission of business data between the first optical communication devices 10 .

在上述实现中,当双归保护装置20确定第一光纤101以及第三光纤103和/或第二光通信装置30发生故障,即可通过备用的第二光纤102、第三光纤103以及第三光通信装置40来代替第一光纤101、第三光纤103以及第二光通信装置30来进行相应的业务数据的传输,这样就实现了光通信系统100的双归保护机制中针对第一光纤101、第三光纤103和第二光通信装置30的故障保护。In the above implementation, when the dual-homing protection device 20 determines that the first optical fiber 101 and the third optical fiber 103 and/or the second optical communication device 30 fail, it can pass through the spare second optical fiber 102, the third optical fiber 103 and the third The optical communication device 40 replaces the first optical fiber 101, the third optical fiber 103 and the second optical communication device 30 to transmit corresponding service data, thus realizing the dual-homing protection mechanism for the first optical fiber 101 in the optical communication system 100 1. Fault protection of the third optical fiber 103 and the second optical communication device 30 .

在上述多种实现方式中,只要第一光纤101、第三光纤103和第二光通信装置30中的任意一项或多项发生故障,双归保护装置20都可采取相应的切换操作以通过备用部分来代替发生故障的对象进行相应的业务数据的传输,这就使得该光通信系统100能够实现针对传输光纤以及光通信装置的双归保护。因此,将该光通信系统100应用于前传网络或者专线网络,可以提升前传网络或者专线网络的可靠性。In the various implementations above, as long as any one or more of the first optical fiber 101, the third optical fiber 103, and the second optical communication device 30 fails, the dual-homing protection device 20 can take corresponding switching operations to pass The spare part replaces the failed object to transmit corresponding service data, which enables the optical communication system 100 to realize dual-homing protection for the transmission optical fiber and the optical communication device. Therefore, applying the optical communication system 100 to a fronthaul network or a dedicated line network can improve the reliability of the fronthaul network or the dedicated line network.

进一步地,在一种可选的实现方式中,当第一控制器205确定第一光纤101、第三光纤103和第二光通信装置30中的任意一项或多项所发生的故障已经恢复后(即第一控制器205检测到发生故障的对象又再次恢复了正常),则第一控制器205以及第二控制器206可协同控制第一光开关组207和第二光开关组208,以使得第一光纤101、双归保护装置20、第三光纤103构建的主路,以及,第二光纤102、双归保护装置20、第四光纤104构建的备路恢复到第一光纤101、第三光纤103和第二光通信装置30均无故障时的状态。下面以前文描述的第一光纤101发生故障且第三光纤103和第二光通信装置30无故障这一场景为例。在第一光通信装置10通过第二光纤102、第二光耦合器202、第二光开关组208、第一光开关组207、第三光耦合器203以及第三光纤103建立光通路之后,第一控制器205可继续检测第一光纤的状态。当第一控制器205检测到上述第一光纤101已经再次无故障的时候,第一控制器205可重新在第一光耦合器201与第三光耦合器203之间的建立光通路。同时,第一控制器205也可向第二控制器206发送一个第一状态恢复信息。这里,该第一状态恢复信息用于指示第一光纤101已经消除了故障。第二控制器206在接收到上述第一状态恢复信息后,即可重新在第二光耦合器202与第四光耦合器204之间建立光通路。至此,主路和备路均恢复到第一光纤101、第三光纤103和第二光通信装置30均无故障时的状态。Further, in an optional implementation manner, when the first controller 205 determines that any one or more of the first optical fiber 101, the third optical fiber 103, and the second optical communication device 30 have recovered from the fault After that (that is, the first controller 205 detects that the faulty object has returned to normal again), the first controller 205 and the second controller 206 can coordinately control the first optical switch group 207 and the second optical switch group 208, The main path constructed by the first optical fiber 101, the dual-homing protection device 20, and the third optical fiber 103, and the backup path constructed by the second optical fiber 102, the dual-homing protection device 20, and the fourth optical fiber 104 are restored to the first optical fiber 101, The state when neither the third optical fiber 103 nor the second optical communication device 30 is faulty. The following takes the above-mentioned scenario where the first optical fiber 101 fails and the third optical fiber 103 and the second optical communication device 30 are not faulty as an example. After the first optical communication device 10 establishes an optical path through the second optical fiber 102, the second optical coupler 202, the second optical switch group 208, the first optical switch group 207, the third optical coupler 203, and the third optical fiber 103, The first controller 205 can continue to detect the status of the first optical fiber. When the first controller 205 detects that the first optical fiber 101 is fault-free again, the first controller 205 can re-establish the optical path between the first optical coupler 201 and the third optical coupler 203 . At the same time, the first controller 205 may also send a first state recovery message to the second controller 206 . Here, the first state recovery information is used to indicate that the first optical fiber 101 has eliminated the fault. After the second controller 206 receives the above-mentioned first state recovery information, it can re-establish the optical path between the second optical coupler 202 and the fourth optical coupler 204 . So far, both the main path and the backup path have recovered to the state when the first optical fiber 101 , the third optical fiber 103 and the second optical communication device 30 have no faults.

这里,双归保护装置20在检测到发生故障的对象已经重新恢复正常后,可自动使得第一光纤101、双归保护装置20、第三光纤103构建的主路,以及,第二光纤102、双归保护装置20、第四光纤104构建的备路恢复到第一光纤101、第三光纤103和第二光通信装置30均无故障时的状态,这样可提升双归保护装置20的功能灵活性。Here, after the dual-homing protection device 20 detects that the faulty object has returned to normal, it can automatically make the main path constructed by the first optical fiber 101, the dual-homing protection device 20, and the third optical fiber 103, and the second optical fiber 102, The backup path constructed by the dual-homing protection device 20 and the fourth optical fiber 104 is restored to the state when the first optical fiber 101, the third optical fiber 103 and the second optical communication device 30 are not faulty, which can improve the functional flexibility of the dual-homing protection device 20 sex.

在一些可行的实现方式中,上述第一光通信装置10、第二光通信装置30以及第三光通信装置40中可包含多个光收发器,而这多个光收发器即对应了多个光支路。例如,图4是本申请实施例提供的一种光通信系统的第三结构示意图。如图4所示,上述第一光通信装置20具体可包括有N个第三光收发器、N根第三支路光纤、第三合分波器以及第九光耦合器。其中,该N个第三光收发器中的一个第三光收发器通过该N根第三支路光纤中的一根第三支路光纤与第三合分波器相连接,所述第三合分波器还与第九光耦合器相连接。所述第九光耦合器还通过第一光纤101与第二光纤102分别与第一光耦合器201以及第二光耦合器202相连接。类似的,上述第二光通信装置30具体可包括有N个第一光收发器、N个第一支路光纤、第一合分波器。其中,该N个第一光收发器中的一个第一光收发器通过该N根第一支路光纤中的一根第一支路光纤与第一合分波器相连接,所述第一合分波器还通过第三光纤103与第三光耦合器203相连接。上述第三光通信装置40具体可包括有N个第二光收发器、N个第二支路光纤、第二合分波器。其中,该N个第二光收发器中的一个第二光收发器通过该N根第二支路光纤中的一根第二支路光纤与第二合分波器相连接,所述第二合分波器还通过第四光纤104与第四光耦合器204相连接。In some feasible implementations, the first optical communication device 10, the second optical communication device 30, and the third optical communication device 40 may include multiple optical transceivers, and the multiple optical transceivers correspond to multiple light branch. For example, FIG. 4 is a schematic diagram of a third structure of an optical communication system provided by an embodiment of the present application. As shown in FIG. 4 , the above-mentioned first optical communication device 20 may specifically include N third optical transceivers, N third branch optical fibers, a third multiplexer/demultiplexer, and a ninth optical coupler. Wherein, a third optical transceiver in the N third optical transceivers is connected to a third multiplexer/demultiplexer through a third branch fiber in the N third branch fibers, and the third The multiplexer/demultiplexer is also connected with the ninth optical coupler. The ninth optical coupler is also connected to the first optical coupler 201 and the second optical coupler 202 through the first optical fiber 101 and the second optical fiber 102 respectively. Similarly, the above-mentioned second optical communication device 30 may specifically include N first optical transceivers, N first branch optical fibers, and a first multiplexer/demultiplexer. Wherein, one of the N first optical transceivers is connected to the first multiplexer/demultiplexer through one of the N first branch optical fibers, and the first The multiplexer/demultiplexer is also connected to the third optical coupler 203 through the third optical fiber 103 . The above-mentioned third optical communication device 40 may specifically include N second optical transceivers, N second branch optical fibers, and a second multiplexer/demultiplexer. Wherein, one of the N second optical transceivers is connected to the second multiplexer/demultiplexer through one of the N second branch optical fibers, and the second The multiplexer/demultiplexer is also connected to the fourth optical coupler 204 through the fourth optical fiber 104 .

结合前文假设的传输场景,上述第一业务数据中可包括N个第一子业务数据,上述第二业务数据中可包括N个第二子业务数据。在实际工作过程中,上述N个第三光收发器会基于N个第一子业务数据生成N个第三支路信号光。这里,一个第三光收发器基于一个第一子业务数据生成一个第三支路信号光,并且每个第三支路信号光预配置有相应的第二支路调顶信号。然后,上述N个第三支路信号光会通过N根第三支路光纤传输至第三合分波器。第三合分波器在接收到上述N个第三支路信号光之后,可将这N个第三支路信号光进行合束以得到一路合束后的信号光,并将该合束后的信号光传输给第九光耦合器。然后,第九光耦合器可对这个合束后的信号光进行分光以得到第四信号光和第二信号光,并通过第一光纤101将该第四信号光传输给第一光耦合器201,通过第二光纤102将第二信号光传输给第二光耦合器202。类似的,N个第一光收发器会基于上述N个第二子业务数据生成N个第一支路信号光,并进一步通过N根第一支路光纤将这N个第一支路信号光传输给第一合分波器。这里,每个第一支路信号预配置有一个第一支路调顶信号。第一合分波器在接收到上述N个第一支路信号光之后,可将这N个第一支路信号光进行合束以得到上述第一信号光,并将该第三光纤103将该第一信号光传输给第三光耦合器203。同时,上述N个第二光收发器也会基于上述N个第二子业务数据生成N个第二支路信号光,并进一步通过N根第二支路光纤将该N个第二支路信号光传输给第二合分波器。这里,每个第二支路信号光同样预配置有一个第一支路调顶信号。第二合分波器在接收到N个第二支路信号光之后,可将这N个第二支路信号光进行合束以得到上述第三信号光,并将该第三信号光传输给第四光耦合器204。In combination with the transmission scenario assumed above, the above-mentioned first service data may include N pieces of first sub-service data, and the above-mentioned second service data may include N pieces of second sub-service data. In an actual working process, the N third optical transceivers will generate N third branch signal lights based on the N first sub-service data. Here, a third optical transceiver generates a third branch signal light based on a first sub-service data, and each third branch signal light is preconfigured with a corresponding second branch top-tuning signal. Then, the above-mentioned N third branch signal lights are transmitted to the third multiplexer/demultiplexer through N third branch optical fibers. After receiving the above-mentioned N third branch signal lights, the third multiplexer/demultiplexer can combine the N third branch signal lights to obtain one combined signal light, and combine the combined The signal light is transmitted to the ninth optical coupler. Then, the ninth optical coupler can split the combined signal light to obtain the fourth signal light and the second signal light, and transmit the fourth signal light to the first optical coupler 201 through the first optical fiber 101 , transmit the second signal light to the second optical coupler 202 through the second optical fiber 102 . Similarly, the N first optical transceivers will generate N first branch signal lights based on the above N second sub-service data, and further transmit the N first branch signal lights through N first branch optical fibers transmitted to the first multiplexer/demultiplexer. Here, each first branch signal is pre-configured with a first branch top-tuning signal. After the first multiplexer/demultiplexer receives the above-mentioned N first branch signal lights, it can combine the N first branch signal lights to obtain the above-mentioned first signal light, and connect the third optical fiber 103 to The first signal light is transmitted to the third optical coupler 203 . At the same time, the above N second optical transceivers will also generate N second branch signal lights based on the above N second sub-service data, and further transmit the N second branch signal lights through N second branch optical fibers. The light is transmitted to the second multiplexer/demultiplexer. Here, each second branch signal light is also pre-configured with a first branch top-tuning signal. After the second multiplexer/demultiplexer receives the N second branch signal lights, it can combine the N second branch signal lights to obtain the above-mentioned third signal light, and transmit the third signal light to The fourth optical coupler 204 .

进一步地,第一控制器205可根据第一光耦合器201提供的第七子信号光的光功率来确定第一光纤101是否发生故障,具体过程可参见前文所述,此处不再赘述。第一控制器205还可先根据第三光耦合器203提供的第一子信号光的光功率来判断第三光纤103是否发生故障。在第一控制器205确定第三光纤103无故障的情况下,第一控制器205可进一步确定上述第一子信号光中是否包含上述N个第一支路信号光中每个第一支路信号光对应的第一支路调顶信号。这里,第一控制器205确定第一子信号光中是否包含N个第一支路信号光中每个第一支路信号光对应的第一支路调顶信号的具体过程可参见前文描述的第一控制器205确定第一子信号光是否包含目标调顶信号的过程,此处便不再赘述。当第一控制器205确定第一子信号光中包含有每个第一支路信号光对应的第一支路调顶信号时,则可确定上述第二光通信装置30中的N个第一光收发器均无故障,也就确定第二光通信装置30无故障。当第一控制器205确定上述第一子信号光中不包含上述N个第一支路信号光中的M个第一子信号光对应的第一支路信号光,则可确定上述用于生成上述M个第一子信号光的M个第一光收发器发生故障,也就可以确定第二光通信装置30发生故障。这里,M为大于或等于1的正整数。Further, the first controller 205 can determine whether the first optical fiber 101 is faulty according to the optical power of the seventh sub-signal light provided by the first optical coupler 201. The specific process can be referred to above, and will not be repeated here. The first controller 205 may first judge whether the third optical fiber 103 is faulty according to the optical power of the first sub-signal light provided by the third optical coupler 203 . In the case where the first controller 205 determines that the third optical fiber 103 is not faulty, the first controller 205 may further determine whether each first branch of the N first branch signal lights is included in the first sub-signal light The signal light corresponds to the top-tuning signal of the first branch. Here, the specific process for the first controller 205 to determine whether the first sub-signal light contains the first branch top-adjustment signal corresponding to each first branch signal light among the N first branch signal lights can refer to the above-described The process of the first controller 205 determining whether the first sub-signal light contains the target top adjustment signal will not be repeated here. When the first controller 205 determines that the first sub-signal light contains the first branch top adjustment signal corresponding to each first branch signal light, it can determine the N first sub-signal lights in the second optical communication device 30 None of the optical transceivers is faulty, and it is determined that the second optical communication device 30 is not faulty. When the first controller 205 determines that the first sub-signal lights do not contain the first branch signal lights corresponding to the M first sub-signal lights in the N first branch signal lights, it can be determined that the above-mentioned method for generating If the M first optical transceivers of the M first sub-signal lights fail, it can be determined that the second optical communication device 30 fails. Here, M is a positive integer greater than or equal to 1.

同理,第二控制器206可根据第四光耦合器204提供的第五子信号光的光功率来确定第四光纤是否发生故障,具体过程可参见前文所述,此处便不再赘述。在第二控制器206确定第四光纤104无故障的情况下,第二控制器206可进一步确定上述第五子信号光中是否包含上述N个第二支路信号光中每个第二支路信号光对应的第一支路调顶信号。这里,第二控制器206确定第五子信号光中是否包含N个第二支路信号光对应的N个第一支路调顶信号的具体过程可一并参见前文描述的第一控制器205确定第一子信号光是否包含N个第一支路信号光对应的N个第一支路调顶信号的过程,此处便不再赘述。当第二控制器206确定第五子信号光中包含有每个第二支路信号光对应的第一支路调顶信号时,则可确定上述第三光通信装置40中的N个第二光收发器均无故障,也就确定第三光通信装置40无故障。当第二控制器206确定上述第五子信号光中不包含上述N个第一支路信号光中的P个第一支路信号光对应的第一支路调顶信号时,则可确定用于生成上述P个第二支路信号光的P个第二光收发器发生故障,也就可以确定第三光通信装置40发生故障。这里,P为大于或者等于1的正整数。Similarly, the second controller 206 can determine whether the fourth optical fiber is faulty according to the optical power of the fifth sub-signal light provided by the fourth optical coupler 204. The specific process can be referred to above, and will not be repeated here. In the case that the second controller 206 determines that the fourth optical fiber 104 is not faulty, the second controller 206 may further determine whether the fifth sub-signal light includes each second branch of the N second branch signal lights The signal light corresponds to the top-tuning signal of the first branch. Here, the specific process for the second controller 206 to determine whether the fifth sub-signal light contains N first-branch top adjustment signals corresponding to N second-branch signal lights can be referred to the first controller 205 described above. The process of determining whether the first sub-signal light includes N first-branch top adjustment signals corresponding to the N first-branch signal lights will not be repeated here. When the second controller 206 determines that the fifth sub-signal light contains the first branch top adjustment signal corresponding to each second branch signal light, it can determine the N second sub-signal lights in the third optical communication device 40 None of the optical transceivers is faulty, and it is determined that the third optical communication device 40 is not faulty. When the second controller 206 determines that the fifth sub-signal light does not contain the first branch top adjustment signal corresponding to the P first branch signal lights among the N first branch signal lights, it can be determined to use Since the P second optical transceivers that generate the above P second branch signal lights fail, it can be determined that the third optical communication device 40 fails. Here, P is a positive integer greater than or equal to 1.

进一步地,在第一控制器205确定第一光纤101、第三光纤103、第二光通信装置30中的N个第一光收发器均无故障,且第二控制器206确定第二光纤102、第四光纤104、第三光通信装置40中的N个第二光收发器无故障的情况下,第八子信号光即可通过第一光开关组207、第三光耦合器203、第三光纤103到达第一合分波器。然后,第一合分波器即可对该第八子信号光进行分波以得到与上述N个第三支路信号光对应的N个第四支路信号光。这里,这N个第四支路信号光中的每个第四支路信号光上包含有一个第一子业务数据,且加载有一个预配置的第二支路调顶信号。然后,第一合分波器可通过上述N个第一支路光纤将这N个第四按支路信号光分别传输给N个第一光收发器,进而完成N个第一子业务数据从第一光通信装置10到第二光通信装置30的光传输。而第三子信号光即可通过第二光开关组208、第四光耦合器204、第四光纤104到达第二合分波器。然后,第二合分波器即可对该第三子信号光进行分波以得到与上述N个第四支路信号光相同的N个第五支路信号光。这里,这N个第无支路信号光中的每个第五支路信号光上包含有一个第一子业务数据,且加载有一个预配置的第二支路调顶信号。然后,第二合分波器可通过上述N个第二支路光纤将这N个第五支路信号光分别传输给N个第二光收发器,进而完成N个第一子业务数据从第一光通信装置10到第三光通信装置40的光传输。Further, the first controller 205 determines that none of the N first optical transceivers in the first optical fiber 101, the third optical fiber 103, and the second optical communication device 30 are faulty, and the second controller 206 determines that the second optical fiber 102 , the fourth optical fiber 104, and the N second optical transceivers in the third optical communication device 40 without failure, the eighth sub-signal light can pass through the first optical switch group 207, the third optical coupler 203, the The three optical fibers 103 reach the first multiplexer/demultiplexer. Then, the first multiplexer/demultiplexer can demultiplex the eighth sub-signal light to obtain N fourth branch signal lights corresponding to the above-mentioned N third branch signal lights. Here, each of the N fourth branch signal lights includes a first sub-service data, and is loaded with a pre-configured second branch top-tuning signal. Then, the first multiplexer/demultiplexer can respectively transmit the N fourth branch-by-branch signal lights to the N first optical transceivers through the above-mentioned N first branch optical fibers, and then complete the transfer of N first sub-service data from Optical transmission from the first optical communication device 10 to the second optical communication device 30 . And the third sub-signal light can pass through the second optical switch group 208 , the fourth optical coupler 204 , and the fourth optical fiber 104 to reach the second multiplexer/demultiplexer. Then, the second multiplexer/demultiplexer can demultiplex the third sub-signal light to obtain N fifth branch signal lights that are the same as the above-mentioned N fourth branch signal lights. Here, each fifth branch signal light among the Nth branch-free signal lights contains a first sub-service data, and is loaded with a pre-configured second branch top-tuning signal. Then, the second multiplexer/demultiplexer can respectively transmit the N fifth branch signal lights to the N second optical transceivers through the above-mentioned N second branch optical fibers, and then complete the transfer of the N first sub-service data from the first Optical transmission from one optical communication device 10 to a third optical communication device 40 .

同时,上述第二子信号光可通过第一光开关组207、第一光耦合器201、第一光纤101传输至第九光耦合器,第六子信号光可通过第二光开关组208、第二光耦合器202以及第二光纤102传输至第九光耦合器。然后,第九光耦合器对第二子信号光和第六子信号光进行合束,并将合束后的信号光传输给第三光合分波器。第三光合分波器可对合束后的信号光进行分束以得到N个第五支路信号光。这里,这N个第五支路信号光中的每个第五支路信号光承载一个第二子业务数据,也加载了一个预配置的第一支路调顶信号。然后,第三合分波器可通过N个第三支路光纤将这N个第五支路信号光分别传输给N个第三光收发器,进而完成N个第二子业务数据从第二光通信装置30以及第三光通信装置40到第一光通信装置20的光传输。At the same time, the above-mentioned second sub-signal light can be transmitted to the ninth optical coupler through the first optical switch group 207, the first optical coupler 201, and the first optical fiber 101, and the sixth sub-signal light can pass through the second optical switch group 208, The second optical coupler 202 and the second optical fiber 102 transmit to the ninth optical coupler. Then, the ninth optical coupler combines the second sub-signal light and the sixth sub-signal light, and transmits the combined signal light to the third optical combiner and demultiplexer. The third optical combiner and demultiplexer can perform beam splitting on the combined signal light to obtain N fifth branch signal lights. Here, each fifth branch signal light among the N fifth branch signal lights carries a second sub-service data, and is also loaded with a preconfigured first branch top-tuning signal. Then, the third multiplexer/demultiplexer can respectively transmit the N fifth branch signal lights to the N third optical transceivers through the N third branch optical fibers, thereby completing the transfer of N second sub-service data from the second Optical transmission from the optical communication device 30 and the third optical communication device 40 to the first optical communication device 20 .

当第一控制器205确定第一光纤101无故障且第二光通信装置30中的M个第一光收发器发生故障时,第一控制器205可控制第一光开关组207在第一光耦合器201和第二光开关组208之间建立光通路。具体过程可参见前文,此处不再赘述。同时,第一控制器205可生成第四指示信息并发送给第二控制器206。第四指示信息用于指示上述M个第一光收发器发生故障。第二控制器206在接收到第四指示信息后,若确定第四光纤104以及第三光通信装置40中的N个第二光收发器均无故障,则可控制第二光开关组208在第一光开关组207和第四光耦合器204之间建立光通路。至此,第一光耦合器201与第四光耦合器204即通过第一光开关组207、第五光纤105和第二光开关组208建立光通路。然后,第八子信号光即可通过第一光开关组2071、第五光纤105、第二光开关组208、第四光耦合器204以及第四光纤104传输至第三光通信装置40。同时,第六子信号光也可通过第二光开关组208、第五光纤105、第一光开关组207、第一光耦合器201和第一光纤101传输至第一光通信装置10。这样就可使得上述N个第二光收发器中与M个第一光收发器相对应的M个第二光收发器可以用来代替发生故障的M个第一光收发器来进行相应的支路信号光的传输。应理解,上述发生故障的M个第一光收发器上承载的传输业务也会全部的切换至上述M个第二光收发器。When the first controller 205 determines that the first optical fiber 101 has no fault and the M first optical transceivers in the second optical communication device 30 fail, the first controller 205 can control the first optical switch group 207 to switch between the first optical An optical path is established between the coupler 201 and the second optical switch group 208 . The specific process can be referred to above, and will not be repeated here. At the same time, the first controller 205 may generate fourth indication information and send it to the second controller 206 . The fourth indication information is used to indicate that the above M first optical transceivers fail. After the second controller 206 receives the fourth indication information, if it is determined that the fourth optical fiber 104 and the N second optical transceivers in the third optical communication device 40 are not faulty, it can control the second optical switch group 208 to An optical path is established between the first optical switch group 207 and the fourth optical coupler 204 . So far, the first optical coupler 201 and the fourth optical coupler 204 establish an optical path through the first optical switch group 207 , the fifth optical fiber 105 and the second optical switch group 208 . Then, the eighth sub-signal light can be transmitted to the third optical communication device 40 through the first optical switch group 2071 , the fifth optical fiber 105 , the second optical switch group 208 , the fourth optical coupler 204 and the fourth optical fiber 104 . At the same time, the sixth sub-signal light can also be transmitted to the first optical communication device 10 through the second optical switch group 208 , the fifth optical fiber 105 , the first optical switch group 207 , the first optical coupler 201 and the first optical fiber 101 . In this way, the M second optical transceivers corresponding to the M first optical transceivers among the above-mentioned N second optical transceivers can be used to replace the failed M first optical transceivers for corresponding support. transmission of signal light. It should be understood that the transmission services carried by the M first optical transceivers that have failed will also be completely switched to the M second optical transceivers.

在上述实现中,当第二光通信装置30中的M个第一光收发器发生故障时,双归保护装置20可将这发生故障的M个第一光收发器所承载的传输业务切换至第三光通信装置40中对应的M个第二光收发器上。这样就可以实现针对第二光通信装置30中的一个或者多个光收发器的保护,可提升光通信系统100的功能的多样性。In the above implementation, when the M first optical transceivers in the second optical communication device 30 fail, the dual-homing protection device 20 can switch the transmission services carried by the failed M first optical transceivers to on the corresponding M second optical transceivers in the third optical communication device 40 . In this way, protection for one or more optical transceivers in the second optical communication device 30 can be realized, and the diversity of functions of the optical communication system 100 can be improved.

可选的,上述第四指示信息中至少包括上述M个第一光收发器对应的第一标识信息以及这M个第二光收发器对应的故障状态信息,所述故障状态信息用于指示发生故障的状态。第一控制器205还与第二光通信装置30相连接。该第一控制器205在生成上述第四指示信息后,也可将该第四指示信息发送给第二光通信装置30,以告知第二光通信装置30其包含的M个第一光收发器发生故障。Optionally, the fourth indication information includes at least the first identification information corresponding to the M first optical transceivers and the fault status information corresponding to the M second optical transceivers, the fault status information is used to indicate the occurrence of The state of the fault. The first controller 205 is also connected to the second optical communication device 30 . After the first controller 205 generates the fourth indication information, it can also send the fourth indication information to the second optical communication device 30 to inform the second optical communication device 30 of the M first optical transceivers it contains malfunction.

可选的,上述第二控制器206在控制第二光开关组208在第一光开关组207和第四光耦合器204之间建立光通路之后,第二控制器206还可生成一个支路故障指示信息。该支路故障指示信息可包括上述发生故障的M个第一光收发器对应的光收发器标识信息。然后,第二控制器206可将该支路故障指示信息发送给第三光通信装置40。第三光通信装置40在接收到上述支路故障指示信息后,可关闭其包含的N个第二光收发器中除上述M个第二光收发器以外的第二光收发器。在这种情况下,第三光通信装置40中仅有这M个第二光收发器在正常工作,可降低第三光通信装置40的功耗。Optionally, after the second controller 206 controls the second optical switch group 208 to establish an optical path between the first optical switch group 207 and the fourth optical coupler 204, the second controller 206 can also generate a branch Fault indication information. The branch failure indication information may include identification information of optical transceivers corresponding to the M first optical transceivers that have failed. Then, the second controller 206 may send the branch fault indication information to the third optical communication device 40 . After receiving the branch failure indication information, the third optical communication device 40 may turn off the second optical transceivers among the N second optical transceivers included in it except for the above M second optical transceivers. In this case, only the M second optical transceivers in the third optical communication device 40 are working normally, which can reduce the power consumption of the third optical communication device 40 .

可选的,第二控制器206还与第三光通信装置40相连接。第三光通信装置40在确定其包含的M个第二光收发器已经代替上述发生故障的M个第一光收发器进行相应的支路信号光的传输后,第三光通信装置40可以向第二控制器发送第二切换完成指示信息。其中,该第二切换完成指示信息至少包括上述M个第二光收发器对应的第二标识信息以及这个M个第二光收发器对应的无故障状态信息。这里,该无故障状态信息用于指示无故障的状态。上述第二切换完成指示信息用于指示M个第二光收发器已经代替发生故障的M个第一光收发器进行相应的支路信号光的传输。进一步的,第二控制器206在接收到上述第二切换完成指示信息后,还可将该第二切换完成指示信息转发给第一控制器205和/或第二光通信装置30,以告知第一控制器205和/或第二光通信装置30相应的支路切换已经完成。Optionally, the second controller 206 is also connected to the third optical communication device 40 . After the third optical communication device 40 determines that the M second optical transceivers included in it have replaced the M first optical transceivers that have failed to transmit the corresponding branch signal light, the third optical communication device 40 can send The second controller sends second switching completion indication information. Wherein, the second switching completion indication information includes at least the second identification information corresponding to the M second optical transceivers and the fault-free status information corresponding to the M second optical transceivers. Here, the non-failure status information is used to indicate a non-failure state. The above-mentioned second switching completion indication information is used to indicate that the M second optical transceivers have replaced the faulty M first optical transceivers to transmit the corresponding branch signal light. Further, after receiving the second handover completion indication information, the second controller 206 may also forward the second handover completion indication information to the first controller 205 and/or the second optical communication device 30 to notify the second handover completion indication information to the first controller 205 and/or the second optical communication device 30 A corresponding branch switching of the controller 205 and/or the second optical communication device 30 has been completed.

可选的,和前文类似,在双归保护装置20重新检测到上述发生故障的M个第一光收发器已经重新恢复正常的情况下,双归保护装置20也可通过第一控制器205和第二控制器206来协同控制第一光开关组207和第二关开关组208进行相应的恢复操作,以使得第一光耦合器201与第三光耦合器203之间重新建立光通路,使得第二光耦合器202与第四光耦合器204之间重新建立光通路。这样可使得上述M个第一光收发器能够重新承载相应的传输业务。Optionally, similar to the above, when the dual-homing protection device 20 re-detects that the M first optical transceivers that have failed have returned to normal, the dual-homing protection device 20 can also use the first controller 205 and The second controller 206 cooperatively controls the first optical switch group 207 and the second off switch group 208 to perform corresponding recovery operations, so that the optical path is re-established between the first optical coupler 201 and the third optical coupler 203, so that An optical path is re-established between the second optical coupler 202 and the fourth optical coupler 204 . In this way, the above M first optical transceivers can re-carry corresponding transmission services.

前文都是以光通信系统100中仅包含由第一光纤101、双归保护装置20、第三光纤103构建的主路(为了方便区别,下文将以第一主路代替描述),以及,第二光纤102、双归保护装置20、第四光纤104构建的备路(为了方便区别,下文将以第一备路代替描述)这样的场景进行描述的,在实际应用中,光通信系统100中还可包括出上述第一主路和第一备路以外的第二主路以及相应的第二备路。下面将以光通信系统100中同时包括第一主路、第二主路、第一备路以及第二备路这样的场景为例,对光通信系统100的结构和功能进行描述。In the foregoing, the optical communication system 100 only includes the main path constructed by the first optical fiber 101, the dual-homing protection device 20, and the third optical fiber 103 (for the convenience of distinction, the description will be replaced by the first main path below), and, the first The backup path constructed by the second optical fiber 102, the dual-homing protection device 20, and the fourth optical fiber 104 (in order to facilitate the distinction, the first backup path will be used in the following description) is described. In practical applications, the optical communication system 100 It may also include a second main road and a corresponding second backup road other than the above-mentioned first main road and first backup road. The structure and functions of the optical communication system 100 will be described below by taking a scenario in which the optical communication system 100 includes the first main path, the second main path, the first backup path, and the second backup path as an example.

图5是本申请实施例提供的一种光通信系统的第四结构示意图。如图5所示,该光通信系统100还包括第四光通信装置50、第五光通信装置60、第六光通信装置70、第五光纤105、第六光纤106、第七光纤107以及第八光纤108。上述双归保护装置20还包括第五光耦合器209、第六光耦合器210、第七光耦合器211、第八光耦合器212以及第九光纤109。其中,第四光通信装置50通过第五光纤105与第五光耦合器209相连接,第五光耦合器209还分别与第一控制器205以及第一光开关组207相连接。第四光通信装置50通过第六光纤106与第六光耦合器210相连接,第六光耦合器210还分别与第二控制器206以及第二光开关组208相连接。第五光通信装置60通过第七光纤107与第七光耦合器211相连接,第七光耦合器211还分别与第一控制器205和第一光开关组207相连接。第六光通信装置70通过第八光纤108与第八光耦合器212相连接,第八光耦合器212还分别与第二控制器206和第二光开关组208相连接。第一光开关组207与第二光开关组208通过第九光纤109相连接。FIG. 5 is a schematic diagram of a fourth structure of an optical communication system provided by an embodiment of the present application. As shown in Figure 5, the optical communication system 100 also includes a fourth optical communication device 50, a fifth optical communication device 60, a sixth optical communication device 70, a fifth optical fiber 105, a sixth optical fiber 106, a seventh optical fiber 107 and a eight optical fibers 108 . The above-mentioned dual-homing protection device 20 further includes a fifth optical coupler 209 , a sixth optical coupler 210 , a seventh optical coupler 211 , an eighth optical coupler 212 and a ninth optical fiber 109 . Wherein, the fourth optical communication device 50 is connected to the fifth optical coupler 209 through the fifth optical fiber 105 , and the fifth optical coupler 209 is also connected to the first controller 205 and the first optical switch group 207 respectively. The fourth optical communication device 50 is connected to the sixth optical coupler 210 through the sixth optical fiber 106 , and the sixth optical coupler 210 is also connected to the second controller 206 and the second optical switch group 208 respectively. The fifth optical communication device 60 is connected to the seventh optical coupler 211 through the seventh optical fiber 107 , and the seventh optical coupler 211 is also connected to the first controller 205 and the first optical switch group 207 respectively. The sixth optical communication device 70 is connected to the eighth optical coupler 212 through the eighth optical fiber 108 , and the eighth optical coupler 212 is also connected to the second controller 206 and the second optical switch group 208 respectively. The first optical switch group 207 is connected to the second optical switch group 208 through the ninth optical fiber 109 .

这里需要说明的是,上述第四光通信装置50与第五光通信装置60之间即通过第五光纤105、双归保护装置20、第七光纤107建立有第二主路,而第四光通信装置50与第六光通信装置70之间即通过第六光纤106、双归保护装置20以及第六光通信装置70建立有第二备路。It should be noted here that a second main path is established between the fourth optical communication device 50 and the fifth optical communication device 60 through the fifth optical fiber 105, the dual-homing protection device 20, and the seventh optical fiber 107, and the fourth optical A second backup path is established between the communication device 50 and the sixth optical communication device 70 through the sixth optical fiber 106 , the dual-homing protection device 20 and the sixth optical communication device 70 .

下面为了方便对图5所示的光通信系统100的功能的描述,现假设具体工作场景为:第一光通信装置10向第二光通信装置30发送第一业务数据,第二光通信装置30向第一光通信装置10发送第二业务数据,第四光通信装置50向第五光通信装置60发送第三业务数据,第五光通信装置60向第四光通信装置50发送第四业务数据。In order to facilitate the description of the functions of the optical communication system 100 shown in FIG. Send the second service data to the first optical communication device 10, the fourth optical communication device 50 sends the third service data to the fifth optical communication device 60, and the fifth optical communication device 60 sends the fourth service data to the fourth optical communication device 50 .

在实际工作时,上述第四光通信装置50可生成承载有该第三业务数据的第五信号光和第六信号光。具体过程可参见前文描述第一光通信装置10生成第二信号光和第四信号光的具体过程,此处便不再赘述。然后,第四光通信装置50可通过第五光纤105将第五信号光传输给第五光耦合器209,还可通过第六光纤106将第六信号光传输给第六光耦合器210。和前文叙述的第一光耦合器201的功能相同,第五光耦合器209在接收到上述第五信号光之后,也可将该第五信号光分光成两束子信号光,并将这两束子信号光分别传输给第一控制器205和第一光开关组207。第六光耦合器210在接收到上述第六信号光之后,也可将该第六信号光分光成两束子信号光,并将这两束子信号光分别传输给第二控制器206和第二光开关组208。During actual operation, the above-mentioned fourth optical communication device 50 may generate the fifth signal light and the sixth signal light carrying the third service data. For the specific process, refer to the specific process of generating the second signal light and the fourth signal light by the first optical communication device 10 described above, and details will not be repeated here. Then, the fourth optical communication device 50 can transmit the fifth signal light to the fifth optical coupler 209 through the fifth optical fiber 105 , and can also transmit the sixth signal light to the sixth optical coupler 210 through the sixth optical fiber 106 . The function of the first optical coupler 201 described above is the same, after the fifth optical coupler 209 receives the above-mentioned fifth signal light, it can also split the fifth signal light into two beams of sub-signal light, and combine the two beams of sub-signal light. The signal light is transmitted to the first controller 205 and the first optical switch group 207 respectively. After receiving the above-mentioned sixth signal light, the sixth optical coupler 210 can also split the sixth signal light into two beams of sub-signal light, and transmit the two beams of sub-signal light to the second controller 206 and the second light beam respectively. switch group 208 .

上述第五光通信装置60可生成承载有上述第四业务数据的第七信号光,并通过第七光纤107将该第七信号光传输给第七光耦合器211。同时,上述第六光通信装置70可生成承载有第四业务数据的第八信号光,并通过第八光纤108将该第八信号光传输给第八光耦合器212。和前文叙述的第一光耦合器201的功能相同,第七光耦合器211在接收到第七信号光之后,也可将该第七信号光分光成两束子信号光,并将这两束子信号光分别传输给第一控制器205和第一光开关组207。第八光耦合器212在接收到上述第八信号光之后,也可将该第八信号光分光成两束子信号光,并将这两束子信号光分别传输给第二控制器206和第二光开关组208。The fifth optical communication device 60 may generate the seventh signal light carrying the fourth service data, and transmit the seventh signal light to the seventh optical coupler 211 through the seventh optical fiber 107 . At the same time, the sixth optical communication device 70 can generate the eighth signal light carrying the fourth service data, and transmit the eighth signal light to the eighth optical coupler 212 through the eighth optical fiber 108 . The function of the first optical coupler 201 described above is the same, after the seventh optical coupler 211 receives the seventh signal light, it can also split the seventh signal light into two beams of sub-signal lights, and combine the two beams of sub-signal lights The light is transmitted to the first controller 205 and the first optical switch group 207 respectively. After receiving the above-mentioned eighth signal light, the eighth optical coupler 212 can also split the eighth signal light into two beams of sub-signal light, and transmit the two beams of sub-signal light to the second controller 206 and the second light beam respectively. switch group 208 .

进一步地,第一控制器205可根据第五光耦合器209提供的子信号光来判断该第五光纤是否发生故障。具体过程与前文描述第一控制器205根据第七子信号光判断第七光纤107是否发生故障的过程相同,此处便不再赘述。第一控制器205还可根据来自于第七光耦合器211的子信号光来判断上述第七光纤107和第五光通信装置60是否发生故障,具体过程与前文描述的第一控制器205根据来第一子信号光判断上述第三光纤103和第二光通信装置30是否发生故障的过程相同,此处便不再赘述。Further, the first controller 205 can determine whether the fifth optical fiber is faulty according to the sub-signal light provided by the fifth optical coupler 209 . The specific process is the same as the process described above in which the first controller 205 determines whether the seventh optical fiber 107 is faulty according to the seventh sub-signal light, and will not be repeated here. The first controller 205 can also judge whether the above-mentioned seventh optical fiber 107 and the fifth optical communication device 60 are faulty according to the sub-signal light from the seventh optical coupler 211. The specific process is the same as that of the first controller 205 described above. The process of judging whether the third optical fiber 103 and the second optical communication device 30 are faulty by the first sub-signal light is the same, and will not be repeated here.

同理,第二控制器206可根据第六光耦合器210提供的子信号光来判断该第六光纤是否发生故障,具体过程与前文描述第二控制器206根据第三子信号光判断第二光纤102是否发生故障的过程相同,此处便不再赘述。第二控制器206还可根据来自于第八光耦合器212的子信号光来判断上述第八光纤108和第六光通信装置70是否发生故障,具体过程与前文描述的第二控制器206根据来第五子信号光判断上述第四光纤104和第三光通信装置40是否发生故障的过程相同,此处便不再赘述。Similarly, the second controller 206 can judge whether the sixth optical fiber is faulty according to the sub-signal light provided by the sixth optical coupler 210. The specific process is the same as that described above. The process of whether the optical fiber 102 fails is the same, and will not be repeated here. The second controller 206 can also judge whether the above-mentioned eighth optical fiber 108 and the sixth optical communication device 70 are faulty according to the sub-signal light from the eighth optical coupler 212. The specific process is the same as that of the second controller 206 described above. The process of judging whether the fourth optical fiber 104 and the third optical communication device 40 are faulty by the fifth sub-signal light is the same, and will not be repeated here.

由前文描述的内容以及图5所示的结构可以理解到,第一主路与第一备路之间的切换以及第二主路与第二备路之间的切换都需要依赖双归保护装置20,也就说双归保护装置20是被共享使用的。而双归保护装置20中的第一光开关组207与第二光开关组208仅通过第九光纤109相连接,在同一时刻上,第九光纤109仅能支持一个主路与备路的切换。因此,当第一主路和第二主路同时发生故障时,双归保护装置20需要一种新的机制来避免因第九光纤109被占用所导致的无法同时为多个主路实现故障保护的问题。From the content described above and the structure shown in Figure 5, it can be understood that the switching between the first main road and the first backup road and the switching between the second main road and the second backup road need to rely on the dual-homing protection device 20, that is to say, the dual-homing protection device 20 is shared. However, the first optical switch group 207 and the second optical switch group 208 in the dual-homing protection device 20 are only connected through the ninth optical fiber 109, and at the same time, the ninth optical fiber 109 can only support the switching between one main path and the backup path . Therefore, when the first main circuit and the second main circuit fail at the same time, the dual-homing protection device 20 needs a new mechanism to avoid failure protection for multiple main circuits at the same time due to the occupation of the ninth optical fiber 109 The problem.

图6是本申请实施例提供的一种双归保护装置的第二结构示意图。如图6所示,上述第一光开关组207具体可包括第三光开关2072、第四光开关2073、第五光开关2074。上述第二光开关组208具体可包括第六光开关2082、第七光开关2083、第八光开关2084。其中,第三光开关2072分别与第一控制器205、第一光耦合器201、第三光耦合器203以及第五光开关2074相连接。第四光开关2073分别与第一控制器205、第五光耦合器209、第七光耦合器211以及第五光开关2074相连接。第七光开关2083分别与第二控制器206、第二光耦合器202、第四光耦合器204以及第六光开关2082相连接。第八光开关2084分别与第二控制器206、第六光耦合器210、第八光耦合器212以及第六光开关2082相连接。第六光开关2082还与第二控制器206相连接,第五光开关2074还与第一控制器205相连接。第五光开关2074与第六光开关2082通过第九光纤109相连接。Fig. 6 is a schematic diagram of a second structure of a dual-homing protection device provided by an embodiment of the present application. As shown in FIG. 6 , the first optical switch group 207 may specifically include a third optical switch 2072 , a fourth optical switch 2073 , and a fifth optical switch 2074 . The second optical switch group 208 may specifically include a sixth optical switch 2082 , a seventh optical switch 2083 , and an eighth optical switch 2084 . Wherein, the third optical switch 2072 is respectively connected with the first controller 205 , the first optical coupler 201 , the third optical coupler 203 and the fifth optical switch 2074 . The fourth optical switch 2073 is respectively connected to the first controller 205 , the fifth optical coupler 209 , the seventh optical coupler 211 and the fifth optical switch 2074 . The seventh optical switch 2083 is connected to the second controller 206 , the second optical coupler 202 , the fourth optical coupler 204 and the sixth optical switch 2082 respectively. The eighth optical switch 2084 is respectively connected to the second controller 206 , the sixth optical coupler 210 , the eighth optical coupler 212 and the sixth optical switch 2082 . The sixth optical switch 2082 is also connected to the second controller 206 , and the fifth optical switch 2074 is also connected to the first controller 205 . The fifth optical switch 2074 is connected to the sixth optical switch 2082 through the ninth optical fiber 109 .

在实际工作过程中,第一控制器205可控制第四光开关2073在第五光耦合器209、第七光耦合器211、第五光开关2074中的任意两项之间建立光通路。第一控制器205还可控制第三光开关2072在第一光耦合器201、第三光耦合器203、第五光开关2074中的任意两项之间建立光通路。第一控制器205还可控制第五光开关2074在第四光开关2073与第九光纤之间,或者,在第三光开关2072与第九光纤之间建立光通路。类似的,第二控制器206可控制第七光开关2083在第二光耦合器202、第四光耦合器204、第六光开关2082中的任意两项之间建立光通路。第二控制器206还可控制第八光开关2084在第六光耦合器210、第八光耦合器212、第六光开关2082中的任意两项之间建立光通路。第二控制器206还可控制第六光开关2082在第七光开关2083与第九光纤之间,或者,在第八光开关2084与第九光纤之间建立光通路。In an actual working process, the first controller 205 can control the fourth optical switch 2073 to establish an optical path between any two of the fifth optical coupler 209 , the seventh optical coupler 211 , and the fifth optical switch 2074 . The first controller 205 can also control the third optical switch 2072 to establish an optical path between any two items of the first optical coupler 201 , the third optical coupler 203 , and the fifth optical switch 2074 . The first controller 205 may also control the fifth optical switch 2074 to establish an optical path between the fourth optical switch 2073 and the ninth optical fiber, or between the third optical switch 2072 and the ninth optical fiber. Similarly, the second controller 206 can control the seventh optical switch 2083 to establish an optical path between any two of the second optical coupler 202 , the fourth optical coupler 204 , and the sixth optical switch 2082 . The second controller 206 can also control the eighth optical switch 2084 to establish an optical path between any two of the sixth optical coupler 210 , the eighth optical coupler 212 , and the sixth optical switch 2082 . The second controller 206 may also control the sixth optical switch 2082 to establish an optical path between the seventh optical switch 2083 and the ninth optical fiber, or between the eighth optical switch 2084 and the ninth optical fiber.

在一种可选的实现方式中,结合前文对光通信系统100中各部件的功能描述,在第一控制器205检测到第一光纤101发生故障且第三光纤103和第二光通信装置30无故障的情况下,第一控制器205可结合第二控制器206来控制所述第一光开关组207和第二光开关组208在第二光耦合器202和第三光耦合器203之间建立一个光通路(为了方面描述,下文将以第一光通路代替描述)。这里,该第一光通路经过第九光纤109。In an optional implementation, in combination with the foregoing functional descriptions of the components in the optical communication system 100, the first controller 205 detects that the first optical fiber 101 fails and the third optical fiber 103 and the second optical communication device 30 In the case of no failure, the first controller 205 can combine with the second controller 206 to control the first optical switch group 207 and the second optical switch group 208 between the second optical coupler 202 and the third optical coupler 203 An optical path is established between them (for the sake of description, the description will be replaced by the first optical path below). Here, the first optical path passes through the ninth optical fiber 109 .

具体的,结合图6所示结构,第一控制器205可控制第三光开关2072在第三光耦合器203与第五光开关2074之间建立光通路,并同时控制第五光开关2074在第三光开关2072与第九光纤之间建立光通路,这样也就可以使得第三光耦合器203与第九光纤之间建立光通路。同时,第一控制器205还可生成第一指示信息,并将该第一指示信息发送给第二控制器206。这里,该第一指示信息用于指示第一光纤101发生故障且第三光纤103和第二光通信装置30无故障。Specifically, in combination with the structure shown in FIG. 6 , the first controller 205 can control the third optical switch 2072 to establish an optical path between the third optical coupler 203 and the fifth optical switch 2074, and simultaneously control the fifth optical switch 2074 to An optical path is established between the third optical switch 2072 and the ninth optical fiber, so that an optical path can be established between the third optical coupler 203 and the ninth optical fiber. At the same time, the first controller 205 may also generate first indication information, and send the first indication information to the second controller 206 . Here, the first indication information is used to indicate that the first optical fiber 101 is faulty and the third optical fiber 103 and the second optical communication device 30 are not faulty.

可选的,在光通信系统包括多个主路和多个备路的情况下,上述第一指示信息中具体可包括用于指示第一主路的第一主路标识信息以及用于指示故障发生地点的故障指示信息。上述第一主路标识信息具体可包括第一光通信装置10与第二光通信装置30的设备标识或者单板标识。上述故障指示信息中具体包括故障点指示信息以及故障状态指示信息。该故障点指示信息至少包括三种取值,这里分别假设为第一取值、第二取值和第三取值。第一取值下的故障点指示信息用于指示主路中的线路光纤(如第一主路中的第一光纤),第二取值下的故障点指示信息用于指示主路中的支路光纤或者局端设备(如第一主路中的第三光纤和第二光通信装置),第三取值下故障点指示信息用于指示线路光纤、支路光纤和局端设备。上述故障状态指示信息至少可包括两种取值,这里假设为第四取值和第五取值。第四取值下的故障状态指示信息用于指示发生故障,第五取值下的故障状态指示信息用于指示无故障。Optionally, in the case that the optical communication system includes multiple primary paths and multiple backup paths, the above-mentioned first indication information may specifically include the first primary path identification information used to indicate the first primary path and the first primary path identification information used to indicate the fault. Fault indication information at the place of occurrence. The foregoing first main road identification information may specifically include equipment identifications or board identifications of the first optical communication apparatus 10 and the second optical communication apparatus 30 . The above fault indication information specifically includes fault point indication information and fault state indication information. The failure point indication information includes at least three values, which are respectively assumed to be the first value, the second value and the third value here. The fault point indication information under the first value is used to indicate the line optical fiber in the main road (such as the first optical fiber in the first main road), and the fault point indication information under the second value is used to indicate the branch fiber in the main road. optical fiber or the central office equipment (such as the third optical fiber and the second optical communication device in the first main road), the fault point indication information under the third value is used to indicate the line optical fiber, the branch optical fiber and the central office equipment. The above fault state indication information may include at least two values, which are assumed to be the fourth value and the fifth value here. The fault state indication information under the fourth value is used to indicate the occurrence of a fault, and the fault state indication information under the fifth value is used to indicate no fault.

下面以上述第一指示信息为例,表1-1为本申请实施例提供的一种第一指示信息。如表1-1所述,该第一指示信息中包括第一光通信装置10与第二光通信装置30的设备标识,故障点指示信息为第三取值,故障状态指示信息为第六取值,则指示第一主路中的第一光纤101发生了故障。Taking the above-mentioned first indication information as an example below, Table 1-1 is a kind of first indication information provided in this embodiment of the present application. As described in Table 1-1, the first indication information includes the equipment identifiers of the first optical communication device 10 and the second optical communication device 30, the fault point indication information is the third value, and the fault state indication information is the sixth value. value, it indicates that the first optical fiber 101 in the first main path has a fault.

表1-1Table 1-1

第一主路标识信息Identification information of the first main road 故障点指示信息Point of failure indication 故障状态指示信息Fault status indication information 第一光通信装置10与第二光通信装置30的设备标识Equipment identification of the first optical communication device 10 and the second optical communication device 30 第一取值first value 第四取值Fourth value

这里应理解,在实际使用过程中,第一控制器205给第二控制器206发送的指示信息还可以其他的形式得以实现,本申请对此不作具体限制。It should be understood here that during actual use, the indication information sent by the first controller 205 to the second controller 206 may also be implemented in other forms, which is not specifically limited in this application.

进一步地,上述第二控制器206在确定接收到上述第一指示信息后,可控制第七光开关2083在第二光耦合器202与第六光开关2082之间建立光通路,并同时控制第六光开关2082在第七光开关2083与第九光纤109之间建立光通路,这样也就可以使得第二光耦合器202与第九光纤109之间也建立光通路。至此,第三光耦合器203与第二光耦合器202之间就建立了上述第一光通路,第一光通信装置10即可通过第二光纤102、双归保护装置20以及第三光纤103向第二光通信装置30发送第一业务数据,也可通过第二光纤102、双归保护装置20以及第三光纤103接收第二光通信装置30发送的第二业务数据。Further, the second controller 206 may control the seventh optical switch 2083 to establish an optical path between the second optical coupler 202 and the sixth optical switch 2082 after determining that the first instruction information is received, and at the same time control the seventh optical switch 2083 to The six optical switches 2082 establish an optical path between the seventh optical switch 2083 and the ninth optical fiber 109 , so that an optical path can also be established between the second optical coupler 202 and the ninth optical fiber 109 . So far, the above-mentioned first optical path has been established between the third optical coupler 203 and the second optical coupler 202, and the first optical communication device 10 can pass through the second optical fiber 102, the dual-homing protection device 20 and the third optical fiber 103 The first service data is sent to the second optical communication device 30 , and the second service data sent by the second optical communication device 30 can also be received through the second optical fiber 102 , the dual-homing protection device 20 and the third optical fiber 103 .

可选的,第二控制器206在完成第二光耦合器202与第九光纤109之间光通路的建立后,还可生成并向第一控制器205发送针对上述第一指示信息的第一响应信息。该第一响应信息用于指示第二控制器206已经控制第二光纤102代替发生故障的第一光纤101进行相应的信号光的传输。这里,上述第一响应信息中可包括第二备路对应的第一备路标识信息,以及用于指示具体备用对象的故障替代点信息和该故障替代点的故障状态信息。该故障替代点信息至少包括三种取值,这里分别假设为第八取值、第九值和第十取值。第八取值下的故障替代点信息用于指示备路中的线路光纤(如第一备路中的第二光纤),第九取值下的故障替代点信息用于指示备路中的支路光纤或者局端设备(如第一备路中的第四光纤和第三光通信装置),第十取值下故障替代点信息用于指示线路光纤、支路光纤和局端设备。上述故障状态指示信息和前文描述的第一指示信息中包含的故障状态指示信息相同。第四取值下的故障状态指示信息用于指示发生故障,第五取值下的故障状态指示信息用于指示无故障。Optionally, after the second controller 206 completes the establishment of the optical path between the second optical coupler 202 and the ninth optical fiber 109, it may also generate and send to the first controller 205 a first instruction for the above-mentioned first instruction information. Response message. The first response information is used to indicate that the second controller 206 has controlled the second optical fiber 102 to replace the failed first optical fiber 101 to transmit corresponding signal light. Here, the above-mentioned first response information may include first backup path identification information corresponding to the second backup path, fault replacement point information for indicating a specific backup object, and fault status information of the fault replacement point. The fault replacement point information includes at least three values, which are respectively assumed to be the eighth value, the ninth value, and the tenth value here. The fault replacement point information under the eighth value is used to indicate the line optical fiber in the backup route (such as the second fiber in the first backup route), and the fault replacement point information under the ninth value is used to indicate the branch fiber in the backup route. optical fiber or the central office equipment (such as the fourth optical fiber and the third optical communication device in the first backup line), the fault replacement point information under the tenth value is used to indicate the line optical fiber, the branch optical fiber and the central office equipment. The above fault state indication information is the same as the fault state indication information included in the first indication information described above. The fault state indication information under the fourth value is used to indicate the occurrence of a fault, and the fault state indication information under the fifth value is used to indicate no fault.

同时,当第一控制器205根据第五光耦合器209提供的子信号光确定第五光纤105也发生故障,并且根据第七光耦合器211提供的子信号光确定第七光纤107和第五光通信装置60无故障时,第一控制器205可生成并向第二控制器206发送第五指示信息。这里,该第五指示信息用于指示第一光纤101和第五光纤105发生故障,第七光纤107、第五光通信装置60、第三光纤103和第二光通信装置30无故障。上述第二控制器206在接收到上述第五指示信息后,在确定第二光纤102、第四光纤104以及第三光通信装置40无故障的情况下,控制第二光开关组208在第二光耦合器202和第四光耦合器204之间建立一个新的光通路(为了方便区别,下文将以第二光通路代替描述)。具体实现中,结合图7的结构,上述第二控制器206在确定接收到上述第五指示信息后,可控制第七光开关2083在第二光耦合器202与第六光开关2082之间建立光通路,并同时控制第七光开关2083在第二光耦合器202与第四光耦合器204之间建立光通路,这样也就可以使得第二光耦合器202与第九光纤109之间也建立光通路。这样的话,光通信系统100就可以基于上述第二光通路来使得第三光通信装置40代替第二光通信装置30,以继续第二光通信装置30与第一光通信装置10之间的信号光的传输。At the same time, when the first controller 205 determines that the fifth optical fiber 105 also fails according to the sub-signal light provided by the fifth optical coupler 209, and determines that the seventh optical fiber 107 and the fifth optical fiber 107 are connected according to the sub-signal light provided by the seventh optical coupler 211 When the optical communication device 60 has no failure, the first controller 205 may generate and send fifth indication information to the second controller 206 . Here, the fifth indication information is used to indicate that the first optical fiber 101 and the fifth optical fiber 105 are faulty, and the seventh optical fiber 107 , the fifth optical communication device 60 , the third optical fiber 103 and the second optical communication device 30 are not faulty. After receiving the fifth indication information, the second controller 206 controls the second optical switch group 208 to operate on the second A new optical path is established between the optical coupler 202 and the fourth optical coupler 204 (for convenience of distinction, the description will be replaced by the second optical path below). In specific implementation, in combination with the structure shown in FIG. 7 , the second controller 206 can control the seventh optical switch 2083 to establish an and at the same time control the seventh optical switch 2083 to establish an optical path between the second optical coupler 202 and the fourth optical coupler 204, so that the second optical coupler 202 and the ninth optical fiber 109 can also Create a light path. In this way, the optical communication system 100 can make the third optical communication device 40 replace the second optical communication device 30 based on the above-mentioned second optical path, so as to continue the signal between the second optical communication device 30 and the first optical communication device 10 transmission of light.

可选的,在第二控制器206建立上述第二光通路之后,第二控制器206还可生成并向第一控制器发送针对上述第一指示信息的第一响应信息,该第一响应信息主要用于指示第一备路中的第三光通信装置以及代替第二光通信装置30进行相应的信号光的传输。Optionally, after the second controller 206 establishes the second optical path, the second controller 206 may also generate and send to the first controller first response information for the first indication information, the first response information It is mainly used to instruct the third optical communication device in the first backup path and replace the second optical communication device 30 to transmit corresponding signal light.

进一步地,在第三光通信装置40确定其已经完全代替第二光通信装置30后,其可生成并向第一控制器205和第二控制器206发送第一切换完成指示信息。在第一控制器205和第二控制器206均接收到上述第一切换完成指示信息后,第一控制器205即可结合第二控制器206控制来控制第一光开关组207和第二光开关组208断开上述第一光通路。在第一光通路断开之后,上述第九光纤109即解除了占用。Further, after the third optical communication device 40 determines that it has completely replaced the second optical communication device 30 , it may generate and send first switching completion indication information to the first controller 205 and the second controller 206 . After both the first controller 205 and the second controller 206 receive the above-mentioned first switching completion indication information, the first controller 205 can control the first optical switch group 207 and the second optical switch group 207 in combination with the second controller 206. The switch group 208 disconnects the above-mentioned first optical path. After the first optical path is disconnected, the ninth optical fiber 109 is unoccupied.

具体的,结合上述图6所示结构,第一控制器205可控制第三光开关2072和第五光开关2074断开光连接,第二控制器206可控制第六光开关2082断开与第七光开关2083的光连接,这样就可以完全断开第七光开关2083与第三光开关2072的光连接,达到解除第九光纤109的占用的效果。Specifically, in combination with the structure shown in FIG. 6 above, the first controller 205 can control the third optical switch 2072 and the fifth optical switch 2074 to disconnect the optical connection, and the second controller 206 can control the sixth optical switch The optical connection of the seventh optical switch 2083 can completely disconnect the optical connection between the seventh optical switch 2083 and the third optical switch 2072 to achieve the effect of releasing the occupation of the ninth optical fiber 109 .

这里,在第三光通信装置40确定其已经完全代替第二光通信装置30后,其可通过第一切换完成指示信息通知第一控制器205和第二控制器206,从而使得第一控制器205和第二控制器206能够及时的进一步控制发生故障的第二主路向第二备路进行切换,可提升故障保护的时效性。Here, after the third optical communication device 40 determines that it has completely replaced the second optical communication device 30, it can notify the first controller 205 and the second controller 206 through the first switching completion indication information, so that the first controller 205 and the second controller 206 can further control the switching of the failed second primary path to the second backup path in a timely manner, which can improve the timeliness of fault protection.

进一步地,在第一控制器205协同第二控制器206断开上述第一光通路后,第一控制器205还可控制第一光开关组207在第七光耦合器211与第一光开关组207之间建立光通路。具体的,结合图6所示的结构,第一控制器205可控制第四光开关2073在第七光耦合器211与第五光开关2074之间建立光连接,第一控制器205还可控制第五光开关2074在第九光纤109与第四光开关2073之间建立光连接,这样就可以实现第七光耦合器211到第九光纤109的光通路。同时,第一控制器205还可向第二控制器206发送第六指示信息。这里,该第六指示信息用于指示第九光纤109与第四光开关2073之间已经建立光连接。上述第二控制器206在确定接收到上述第六指示信息后,在确定第七光纤107无故障的情况下,可控制第二光开关组208在第六光耦合器210和第一光开关组207之间建立光通路。具体的,结合图7所述的结构,第二控制器206可控制第八光开关2084在第六光开关2082以及第六光耦合器210之间建立光连接,第二控制器206还可控制第六光开关2082在第九光纤109与第八光开关2084之间建立光连接,这样就可以使得第七光耦合器211与第六光耦合器210建立光连接。至此,第四光通信装置50和第五光通信装置60之间即可以通过第六光纤106、第七光纤107和第九光纤109建立光通路,第四光通信装置50和第五光通信装置60之间既可通过该光通路实现上述第三业务数据和第四业务数据的传输。Further, after the first controller 205 cooperates with the second controller 206 to disconnect the above-mentioned first optical path, the first controller 205 can also control the first optical switch group 207 to switch between the seventh optical coupler 211 and the first optical switch. An optical path is established between groups 207 . Specifically, in combination with the structure shown in FIG. 6, the first controller 205 can control the fourth optical switch 2073 to establish an optical connection between the seventh optical coupler 211 and the fifth optical switch 2074, and the first controller 205 can also control The fifth optical switch 2074 establishes an optical connection between the ninth optical fiber 109 and the fourth optical switch 2073 , so that the optical path from the seventh optical coupler 211 to the ninth optical fiber 109 can be realized. At the same time, the first controller 205 may also send sixth indication information to the second controller 206 . Here, the sixth indication information is used to indicate that an optical connection has been established between the ninth optical fiber 109 and the fourth optical switch 2073 . The above-mentioned second controller 206 can control the second optical switch group 208 to connect the sixth optical coupler 210 and the first optical switch group when it is determined that the seventh optical fiber 107 is not faulty after receiving the above-mentioned sixth indication information. 207 to establish an optical path. Specifically, in combination with the structure described in FIG. 7, the second controller 206 can control the eighth optical switch 2084 to establish an optical connection between the sixth optical switch 2082 and the sixth optical coupler 210, and the second controller 206 can also control The sixth optical switch 2082 establishes an optical connection between the ninth optical fiber 109 and the eighth optical switch 2084 , so that the seventh optical coupler 211 and the sixth optical coupler 210 can establish an optical connection. So far, an optical path can be established between the fourth optical communication device 50 and the fifth optical communication device 60 through the sixth optical fiber 106, the seventh optical fiber 107 and the ninth optical fiber 109. The fourth optical communication device 50 and the fifth optical communication device 60 can realize the transmission of the above-mentioned third service data and fourth service data through the optical path.

在上述实现中,在光通信系统100中包括多个主路和备路,并且这多个主路和备路共享双归保护装置20的情况下,双归保护装置20可以通过将先发生故障的第一主路完整的切换到其对应的第一备路上来释放被占用的共享的第九光纤109,然后再进一步控制后来发生故障的第二主路向第二备路进行切换,这样就可以有效的解决因第九光纤109被占用所导致的无法同时为多个主路提供故障保护的问题,可进一步提升光通信系统100的实用性。In the above implementation, when the optical communication system 100 includes a plurality of main paths and backup paths, and these multiple main paths and backup paths share the dual-homing protection device 20, the dual-homing protection device 20 can complete switching of the first main path to its corresponding first backup path to release the occupied shared ninth optical fiber 109, and then further control the subsequent failure of the second main path to switch to the second backup path, so that The practicality of the optical communication system 100 can be further improved by effectively solving the problem that the ninth optical fiber 109 cannot provide fault protection for multiple main paths at the same time due to the occupation of the ninth optical fiber 109 .

这里需要补充说明的是,结合前文图1或图2所述的光通信系统100的架构,在前传这个具体场景下,尤其是在4G前传的场景下,上述第一光通信装置10为包含一个或者多个RRU的装置,可以视为4G前传网络中的远端设备。上述第二光通信装置30和第三光通信装置40为包含一个或者多个BBU的装置,可以视为4G前传网络中的局端设备。而第一光纤101和第二光纤102即可视为主用和备用的两根主干光纤。在5G前传的场景下,上述第一光通信装置20为包含一个或者多个AAU的装置,其可视为5G前传网络中的远端设备。上述第二光通信装置30和第三光通信装置40为包含一个或者多个DU的装置,其可视为5G前传网络中的局端设备设备。What needs to be supplemented here is that, in combination with the architecture of the optical communication system 100 described in FIG. 1 or FIG. 2 above, in the specific scenario of fronthaul, especially in the scenario of 4G Or a device with multiple RRUs can be regarded as a remote device in the 4G fronthaul network. The above-mentioned second optical communication device 30 and third optical communication device 40 are devices including one or more BBUs, and can be regarded as central office equipment in a 4G fronthaul network. The first optical fiber 101 and the second optical fiber 102 can be regarded as two main optical fibers for main use and backup. In the scenario of 5G fronthaul, the above-mentioned first optical communication device 20 is a device including one or more AAUs, which can be regarded as a remote device in the 5G fronthaul network. The above-mentioned second optical communication device 30 and third optical communication device 40 are devices including one or more DUs, which can be regarded as central office equipment in a 5G fronthaul network.

而在专线这个场景下,上述第一光通信装置10即为CPE设备,其可视为专线网络中的远端设备。上述第二光通信装置30和第三光通信装置40即可为不同的云接入点POP设备,其可视为专线网络中的局端设备。In the scenario of a dedicated line, the above-mentioned first optical communication device 10 is a CPE device, which can be regarded as a remote device in a dedicated line network. The above-mentioned second optical communication device 30 and third optical communication device 40 can be different cloud access point POP devices, which can be regarded as central office devices in a dedicated line network.

另外,结合前文图5所示的光通信系统100的架构。在前传这个场景下,尤其是在4G前传的场景下,上述第一光通信装置10和第四光通信装置50即为包含一个或者多个RRU的装置,他们两可视为前传网络中的远端设备。上述第二光通信装置30、第三光通信装置40、第五光通信装置60和第六光通信装置70即为包含一个或者多个BBU的装置,他们可视为前传网络中的局端设备。在5G前传的场景下,上述第一光通信装置10和第四光通信装置50即为包含一个或者多个AAU的装置,他们可视为前传网络中的远端设备。上述第二光通信装置30、第三光通信装置40、第五光通信装置60和第六光通信装置70即为包含一个或者多个DU的装置,他们可视为前传网络中的局端设备。In addition, it is combined with the architecture of the optical communication system 100 shown in FIG. 5 above. In the scenario of fronthaul, especially in the scenario of 4G fronthaul, the above-mentioned first optical communication device 10 and fourth optical communication device 50 are devices including one or more RRUs, and they can be regarded as remote components in the fronthaul network. end device. The above-mentioned second optical communication device 30, third optical communication device 40, fifth optical communication device 60, and sixth optical communication device 70 are devices that include one or more BBUs, and they can be regarded as central office equipment in the fronthaul network . In the scenario of 5G fronthaul, the above-mentioned first optical communication device 10 and fourth optical communication device 50 are devices including one or more AAUs, and they can be regarded as remote devices in the fronthaul network. The above-mentioned second optical communication device 30, third optical communication device 40, fifth optical communication device 60, and sixth optical communication device 70 are devices that include one or more DUs, and they can be regarded as central office equipment in the fronthaul network .

而在专线网络这个场景下,上述第一光通信装置10和第四光通信装置50即为CPE设备,可视为专线网络中的远端设备,上述第二光通信装置30、第三光通信装置40、第五光通信装置60和第六光通信装置70即可为不同的云接入点POP设备,可视为专线网络中的局端设备。In the dedicated line network scenario, the first optical communication device 10 and the fourth optical communication device 50 are CPE equipment, which can be regarded as remote equipment in the dedicated line network. The second optical communication device 30 and the third optical communication device 30 The device 40, the fifth optical communication device 60, and the sixth optical communication device 70 can be different cloud access point POP devices, which can be regarded as central office devices in a dedicated line network.

由于无论是在专线网络或者前传网络,光通信系统100的结构和实现双归保护功能的具体过程都如前文所述,所以为了避免累赘,这里就不再结合专线网络或者前传网络这两个具体的场景来重复描述光通信系统100的结构以及实现双归保护功能的具体过程。Since the structure of the optical communication system 100 and the specific process of realizing the dual-homing protection function are as described above, no matter in the dedicated line network or the fronthaul network, so in order to avoid redundancy, the two specific details of the dedicated line network or the fronthaul network will not be combined here. The structure of the optical communication system 100 and the specific process of realizing the dual-homing protection function are described repeatedly.

本申请实施例还提供了适用于前述描述的光通信系统100的双归保护方法。该双归保护方法具体可由光通信系统100中各功能部件协同实现。这里需要说明的是,后文针对对该双归保护方法的描述将以前文叙述的光通信系统100为基础,所涉及到的各功能部件的连接关系以及功能可一并参见前文中相应的描述,此处不再赘述。The embodiment of the present application also provides a dual-homing protection method applicable to the optical communication system 100 described above. Specifically, the dual-homing protection method can be implemented cooperatively by various functional components in the optical communication system 100 . It should be noted here that the following description of the dual-homing protection method will be based on the optical communication system 100 described above, and the connection relationship and functions of the various functional components involved can be referred to the corresponding description above. , which will not be repeated here.

图7是本申请实施例提供的一种双归保护方法的流程示意图。如图7所示,该双归保护方法包括如下步骤。FIG. 7 is a schematic flowchart of a dual-homing protection method provided by an embodiment of the present application. As shown in Fig. 7, the dual-homing protection method includes the following steps.

S701,通过双归保护装置检测第一光纤、第三光纤和第二光通信装置是否发生故障。S701. Detect whether a fault occurs in the first optical fiber, the third optical fiber, and the second optical communication device through the dual-homing protection device.

在一些可行的实现方式中,在光通信系统100通过第一光通信装置10向第二光通信装置30发送第一业务数据,并通过第二光通信装置30向第一光通信装置发送第二业务数据的过程中,光通信系统100可通过双归保护装置20来检测第一光纤101、第三光纤103和第二光通信装置30是否发生故障。In some feasible implementation manners, in the optical communication system 100, the first service data is sent to the second optical communication device 30 through the first optical communication device 10, and the second service data is sent to the first optical communication device through the second optical communication device 30. During the process of service data, the optical communication system 100 can detect whether the first optical fiber 101 , the third optical fiber 103 and the second optical communication device 30 are faulty through the dual-homing protection device 20 .

具体实现中,在光通信系统100的结构如图3所示的情况下,光通信系统100可通过第一光通信装置10生成承载有第一业务数据的第二信号光和第四信号光,并通过第一光纤101将该第四信号光传输给双归保护装置20,通过第二光纤102将第二信号光传输给双归保护装置20。同时,光通信系统100还可通过第二光通信装置30生成承载有第二业务数据的第一信号光,并通过第三光纤103将该第一信号光传输给双归保护装置20。光通信系统100还可通过第三光通信装置40生成承载有第二业务数据的第三信号光,并通过第三光纤103将该第三信号光传输给双归保护装置20。In a specific implementation, in the case where the structure of the optical communication system 100 is shown in FIG. 3 , the optical communication system 100 can generate the second signal light and the fourth signal light carrying the first service data through the first optical communication device 10, And transmit the fourth signal light to the dual-homing protection device 20 through the first optical fiber 101 , and transmit the second signal light to the dual-homing protection device 20 through the second optical fiber 102 . At the same time, the optical communication system 100 can also generate the first signal light carrying the second service data through the second optical communication device 30 , and transmit the first signal light to the dual-homing protection device 20 through the third optical fiber 103 . The optical communication system 100 may also generate third signal light carrying the second service data through the third optical communication device 40 , and transmit the third signal light to the dual-homing protection device 20 through the third optical fiber 103 .

可选的,光通信系统100可通过双归保护装置20中的第一控制器205来根据第一光耦合器201提供的第七子信号光的光功率判断上述第一光纤101是否发生故障。若通过第一控制器205确定所述第七子信号光的光功率为零,或者,确定所述第七子信号光的光功率与第二预设光功率的第二光功率差值等于或者大于第二预设差值时,确定所述第一光纤101发生故障。若通过第一控制器205确定第二光功率差值小于所述第二预设差值,则可确定第一光纤101无故障。这里,通过第一控制器205来根据第七子信号光的光功率判断第一光纤101是否发生故障的具体过程可参见实施例一中相应的描述,此处便不再赘述。Optionally, the optical communication system 100 can use the first controller 205 in the dual-homing protection device 20 to determine whether the above-mentioned first optical fiber 101 is faulty according to the optical power of the seventh sub-signal light provided by the first optical coupler 201 . If it is determined by the first controller 205 that the optical power of the seventh sub-signal light is zero, or it is determined that the second optical power difference between the optical power of the seventh sub-signal light and the second preset optical power is equal to or When the difference is greater than the second preset difference, it is determined that the first optical fiber 101 is faulty. If it is determined by the first controller 205 that the second optical power difference is smaller than the second preset difference, it can be determined that the first optical fiber 101 is not faulty. Here, the specific process of judging whether the first optical fiber 101 is faulty according to the optical power of the seventh sub-signal light by the first controller 205 can refer to the corresponding description in Embodiment 1, which will not be repeated here.

类似的,光通信系统100还可通过第二控制器206来根据第二光耦合器202提供的第三子信号光的光功率确定第二光纤102是否发生故障。具体过程可参见实施例一中相应的描述,此处便不再赘述。Similarly, the optical communication system 100 can also use the second controller 206 to determine whether the second optical fiber 102 is faulty according to the optical power of the third sub-signal light provided by the second optical coupler 202 . For the specific process, refer to the corresponding description in Embodiment 1, and details will not be repeated here.

可选的,光通信系统100还可通过第一控制器205来根据第三光耦合器203提供的第一子信号光的光功率确定第三光纤是否发生故障。若通过第一控制器205确定所述第一子信号光的光功率为零,或者,确定所述第一子信号光的光功率与第一预设光功率的第一光功率差值等于或者大于第一预设差值时,确定所述第三光纤103发生故障。若通过第一控制器205确定第一光功率差值小于所述第一预设差值,则可确定第三光纤103无故障。这里,光通信系统100通过第一控制器205来根据第一子信号光的光功率确定第三光纤是否发生故障具体过程可一并参见前文实施例一中相应的描述,此处便不再赘述。Optionally, the optical communication system 100 may also use the first controller 205 to determine whether the third optical fiber fails according to the optical power of the first sub-signal light provided by the third optical coupler 203 . If it is determined by the first controller 205 that the optical power of the first sub-signal light is zero, or it is determined that the first optical power difference between the optical power of the first sub-signal light and the first preset optical power is equal to or When the difference is greater than the first preset difference, it is determined that the third optical fiber 103 is faulty. If it is determined by the first controller 205 that the first optical power difference is smaller than the first preset difference, it can be determined that the third optical fiber 103 is not faulty. Here, the optical communication system 100 uses the first controller 205 to determine whether the third optical fiber is faulty according to the optical power of the first sub-signal light. The specific process can refer to the corresponding description in the first embodiment above, and will not be repeated here. .

进一步的,在光通信系统100通过第一控制器205确定第三光纤103无故障(也即确定第一子信号光的光功率不为零)的情况下,其可进一步通过第一控制器205来确定第一子信号光是否包含目标调顶信号。这里,该目标调顶信号为第一信号光预配置的调顶信号。若通过第一控制器205确定所该第一子信号光不包含目标调顶信号,则光通信系统100可确定确定第二光通信装置发生故障。若通过第一控制器205确定所该第一子信号光包含有目标调顶信号,则光通信系统100可确定第二光通信装置无故障。这里,通过第一控制器205根据第一子信号光是否包含目标调顶信号来判断第二光通信装置30是否存在故障的具体过程可参见前文实施例一中相应的描述,此处便不再赘述。Further, when the optical communication system 100 determines through the first controller 205 that the third optical fiber 103 is not faulty (that is, it is determined that the optical power of the first sub-signal light is not zero), it can further pass the first controller 205 to determine whether the first sub-signal light contains the target top adjustment signal. Here, the target top adjustment signal is the top adjustment signal preconfigured by the first signal light. If it is determined by the first controller 205 that the first sub-signal light does not include the target pitch signal, the optical communication system 100 may determine that the second optical communication device is faulty. If it is determined by the first controller 205 that the first sub-signal light contains the target pitch signal, the optical communication system 100 may determine that the second optical communication device is not faulty. Here, the specific process of judging whether there is a fault in the second optical communication device 30 by the first controller 205 according to whether the first sub-signal light contains the target top-adjustment signal can refer to the corresponding description in the first embodiment above, and will not be repeated here. repeat.

类似的,光通信系统100还可通过第二控制器206来根据第四光耦合器204提供的第六子信号光来确定第四光纤104和第三光通信装置40是否发生故障。具体过程可参见前文实施例一中相应的描述,此处便不再赘述。Similarly, the optical communication system 100 can also use the second controller 206 to determine whether the fourth optical fiber 104 and the third optical communication device 40 fail according to the sixth sub-signal light provided by the fourth optical coupler 204 . For the specific process, reference may be made to the corresponding description in the first embodiment above, and details will not be repeated here.

可选地,在如图5所示的光通信系统中,通过第一控制器205确定第三光纤103无故障的情况下,可进一步通过第一控制器205来确定第一子信号光是否包含N个第一支路信号光预配置的支路信号光。若通过第一控制器205确定第一子信号光中不包含述N个第一支路信号光中的M个第一支路信号光预配置的支路调顶信号,则可确定用于生成这M个第一支路信号光的M个第一光收发器发生故障。这里,光通信系统100通过第一控制器205来根据第一子信号光判断第二光通信装置30的N个第一光收发器中是否有M个第一光收发器发生故障的具体过程,可参见实施例一的相应描述,此处不再赘述。Optionally, in the optical communication system as shown in FIG. 5 , when the first controller 205 determines that the third optical fiber 103 is not faulty, the first controller 205 may be further used to determine whether the first sub-signal light contains N first branch signal lights are pre-configured branch signal lights. If it is determined by the first controller 205 that the first sub-signal light does not contain the branch top-adjustment signal preconfigured by the M first branch signal lights of the N first branch signal lights, it can be determined to generate The M first optical transceivers of the M first branch signal lights fail. Here, the optical communication system 100 uses the first controller 205 to determine whether M first optical transceivers out of the N first optical transceivers of the second optical communication device 30 fail according to the first sub-signal light. Reference may be made to the corresponding description of Embodiment 1, which will not be repeated here.

类似的,在光通信系统的100的结构如图5所示的情况下,光通信系统100也可通过第二控制器206来根据五子信号光来判断第三光通信装置40的N个第二光收发器中是否有P个第二光收发器发生故障。具体过程可一并参见实施例一中相应的描述,此处便不再赘述Similarly, in the case where the structure of the optical communication system 100 is shown in FIG. 5 , the optical communication system 100 can also use the second controller 206 to determine the N second Whether P second optical transceivers among the optical transceivers fail. For the specific process, please refer to the corresponding description in Embodiment 1, and will not repeat them here

S702,若确定第一光纤、第三光纤、第二光通信装置中的一项或者多项发生故障,则通过双归保护装置在第一光纤与第四光纤之间,或者,在第二光纤与第三光纤或者第四光纤之间建立光通路。S702. If it is determined that one or more of the first optical fiber, the third optical fiber, and the second optical communication device are faulty, use the dual-homing protection device to switch between the first optical fiber and the fourth optical fiber, or, between the second optical fiber An optical path is established with the third optical fiber or the fourth optical fiber.

在一些可行的实现方式中,若光通信系统100通过双归保护装置20确定第一光纤101、第三光纤103、第二光通信装置30中的一项或者多项发生故障,则可进一步通过双归保护装置20在第一光纤101与第四光纤104之间,或者,在第二光纤102与第三光纤103或者第四光纤104之间建立光通路,以使得信号光在所述第一光通信装置10与所述第二光通信装置30或者所述第三光通信装置40之间传输。In some feasible implementations, if the optical communication system 100 determines that one or more of the first optical fiber 101, the third optical fiber 103, and the second optical communication device 30 is faulty through the dual-homing protection device 20, it can further pass The dual-homing protection device 20 establishes an optical path between the first optical fiber 101 and the fourth optical fiber 104, or between the second optical fiber 102 and the third optical fiber 103 or the fourth optical fiber 104, so that signal light Transmission between the optical communication device 10 and the second optical communication device 30 or the third optical communication device 40 .

在一种可行的实现方式中,在光通信系统的100的结构如图3所示的情况下,若光通信系统100通过第一控制器205确定第一光纤101发生故障且第三光纤103和第二光通信装置30无故障,则可通过第一控制器205控制第一光开关组207在第二光开关组208和第三光耦合器203之间建立光通路,并向第二控制器206发送第一指示信息。这里,该第一指示信息用于指示第一光纤101发生故障且第三光纤103和第二光通信装置30无故障。然后,当通过第二控制器206接收到第一指示信息后,若通过第二控制器206确定第二光纤102无故障,则可通过第二控制器206控制第二光开关组208在第二光耦合器202和第一光开关组207之间建立光通路。这样就可以实现在第二光纤102和第三光纤103之间的光通路的建立,从而使得第一光通信装置10和第二光通信装置30能够通过第二光纤102和第三光纤103进行信号光的传输。这里,光通信系统100通过双归保护装置20在第二光纤102和第三光纤103之间建立光通路的具体过程可一并参见前文实施例一中相应的描述,此处便不再赘述。In a feasible implementation, in the case where the structure of the optical communication system 100 is as shown in FIG. The second optical communication device 30 has no failure, then the first optical switch group 207 can be controlled by the first controller 205 to establish an optical path between the second optical switch group 208 and the third optical coupler 203, and the 206 Send first indication information. Here, the first indication information is used to indicate that the first optical fiber 101 is faulty and the third optical fiber 103 and the second optical communication device 30 are not faulty. Then, after receiving the first instruction information through the second controller 206, if the second controller 206 determines that the second optical fiber 102 is not faulty, the second controller 206 can control the second optical switch group 208 to operate on the second An optical path is established between the optical coupler 202 and the first optical switch group 207 . In this way, the establishment of an optical path between the second optical fiber 102 and the third optical fiber 103 can be realized, so that the first optical communication device 10 and the second optical communication device 30 can transmit signals through the second optical fiber 102 and the third optical fiber 103 transmission of light. Here, the specific process for the optical communication system 100 to establish an optical path between the second optical fiber 102 and the third optical fiber 103 through the dual-homing protection device 20 can refer to the corresponding description in the first embodiment above, and will not be repeated here.

在又一种可选的实现方式中,在光通信系统的100的结构如图3所示的情况下,若通过第一控制器205确定第一光纤101无故障且第三光纤103和/或第二光通信装置30发生故障,则光通信系统100可通过第一控制器205控制第一光开关组207在第一光耦合器201和第二光开关组208之间建立光通路,并向第二控制器206发送第二指示信息。若通过第二控制器206接收该第二指示信息,且通过第二控制器206确定第四光纤104和第三光通信装置40无故障,则光通信系统100可通过第二控制器206控制第二光开关组208在第一光开关组207和第四光耦合器204之间建立光通路。这样就可以实现在第一光纤101和第四光纤104之间的光通路的建立,从而使得第一光通信装置10和第三光通信装置40能够通过第一光纤101和第四光纤104进行信号光的传输。这里,通过双归保护装置20在第一光纤101和第四光纤104之间建立光通路的具体过程可一并参见前文实施例一的相应描述,此处不再赘述。In yet another optional implementation manner, in the case where the structure of the optical communication system 100 is as shown in FIG. If the second optical communication device 30 fails, the optical communication system 100 can control the first optical switch group 207 through the first controller 205 to establish an optical path between the first optical coupler 201 and the second optical switch group 208, and send The second controller 206 sends second indication information. If the second instruction information is received by the second controller 206, and it is determined by the second controller 206 that the fourth optical fiber 104 and the third optical communication device 40 are not faulty, the optical communication system 100 can control the second optical fiber 104 by the second controller 206. The second optical switch group 208 establishes an optical path between the first optical switch group 207 and the fourth optical coupler 204 . In this way, the establishment of an optical path between the first optical fiber 101 and the fourth optical fiber 104 can be realized, so that the first optical communication device 10 and the third optical communication device 40 can transmit signals through the first optical fiber 101 and the fourth optical fiber 104 transmission of light. Here, the specific process of establishing an optical path between the first optical fiber 101 and the fourth optical fiber 104 through the dual-homing protection device 20 can refer to the corresponding description of the first embodiment above, and will not be repeated here.

在又一种可选的实现方式中,在光通信系统的100的结构如图3所示的情况下,若通过第一控制器205确定第一光纤101和第三光纤103,或者,第一光纤101、第三光纤103和所述第二光通信装置30均发生故障的情况下,则光通信系统100可通过第一控制器205向第二控制器发送第三指示信息。若光通信系统100通过第二控制器206接收到该第三指示信息,并且通过第二控制器206确定第二光纤102、第四光纤104和第三光通信装置40均无故障,则可通过第二控制器206控制第二光开关组208在第二光耦合器202和第四光耦合器204之间建立光通路。这样就可以实现在第二光纤102和第四光纤104之间的光通路的建立,从而使得第一光通信装置10和第三光通信装置40能够通过第二光纤102和第四光纤104进行信号光的传输。这里,光通信系统100通过双归保护装置20在第二光纤102和第四光纤104之间建立光通路的具体过程可一并参见前文实施例一中相应的描述,此处便不再赘述。In yet another optional implementation manner, in the case where the structure of the optical communication system 100 is shown in FIG. When the optical fiber 101 , the third optical fiber 103 and the second optical communication device 30 all fail, the optical communication system 100 may send third indication information to the second controller through the first controller 205 . If the optical communication system 100 receives the third indication information through the second controller 206, and the second controller 206 determines that the second optical fiber 102, the fourth optical fiber 104 and the third optical communication device 40 are all fault-free, then the The second controller 206 controls the second optical switch group 208 to establish an optical path between the second optical coupler 202 and the fourth optical coupler 204 . In this way, the establishment of an optical path between the second optical fiber 102 and the fourth optical fiber 104 can be realized, so that the first optical communication device 10 and the third optical communication device 40 can transmit signals through the second optical fiber 102 and the fourth optical fiber 104 transmission of light. Here, the specific process for the optical communication system 100 to establish an optical path between the second optical fiber 102 and the fourth optical fiber 104 through the dual-homing protection device 20 can refer to the corresponding description in the first embodiment above, and will not be repeated here.

这里,在通过第一控制器205确定第一光纤101发生故障的情况下,若通过第二控制器206确定第二光纤102页发生故障,则光通信系统100可通过第二控制器206输出业务中断告警信息。这里,该业务中断告警信息主要用于指示第一光通信装置10与第二光通信装置30和第三光通信装置40之间发生业务中断。Here, when it is determined by the first controller 205 that the first optical fiber 101 is faulty, if it is determined by the second controller 206 that the second optical fiber 102 is faulty, the optical communication system 100 can output the service through the second controller 206 Interrupt warning message. Here, the service interruption warning information is mainly used to indicate that service interruption occurs between the first optical communication device 10 and the second optical communication device 30 and the third optical communication device 40 .

在又一种可选的实现方式中,在光通信系统的100的结构如图5所示的情况下,若通过第一控制器205确定第二光通信装置30中的M个第一光收发器发生故障,则可通过第一控制器控制第一光开关组207在第一光耦合器201和所述第二光开关组208之间建立光通路,并通过第一控制器205向第二控制器206发送第四指示信息。若通过第二控制器206接收该第四指示信息,且通过第二控制器206确定所述第四光纤104以及所述第三光通信装置40无故障,则可通过第二控制器206控制第二光开关组208在第一光开关组207和第四光耦合器204之间建立光通路。这样就可以使得第一光通信装置10通过第一光纤101与第三光通信装置40之间建立光通路,就可以使得N个第二光收发器中与M个第一光收发器相对应的M个第二光收发器能够代替发生故障的M个第一光收发器进行相应的第一支路信号光的传输。这里,光通信系统100通过双归保护装置20在第一光纤101和第四光纤104之间建立光通路的具体过程可一并参见前文实施例一中相应的描述,此处便不再赘述。In yet another optional implementation, in the case where the structure of the optical communication system 100 is shown in FIG. 5 , if the first controller 205 determines the M first optical transceivers in the second optical communication device If the device fails, the first optical switch group 207 can be controlled by the first controller to establish an optical path between the first optical coupler 201 and the second optical switch group 208, and the first controller 205 can send the optical path to the second The controller 206 sends fourth indication information. If the fourth indication information is received by the second controller 206, and it is determined by the second controller 206 that the fourth optical fiber 104 and the third optical communication device 40 are not faulty, the second controller 206 can be used to control the fourth optical fiber 104 and the third optical communication device 40. The second optical switch group 208 establishes an optical path between the first optical switch group 207 and the fourth optical coupler 204 . In this way, an optical path can be established between the first optical communication device 10 and the third optical communication device 40 through the first optical fiber 101, and the N second optical transceivers corresponding to the M first optical transceivers can The M second optical transceivers can replace the failed M first optical transceivers to transmit corresponding first branch signal light. Here, the specific process of establishing an optical path between the first optical fiber 101 and the fourth optical fiber 104 by the optical communication system 100 through the dual-homing protection device 20 can refer to the corresponding description in the first embodiment above, and will not be repeated here.

可选地,所述第四指示信息至少包括所述M个第一光收发器对应的第一标识信息以及所述M个第一光收发器对应的故障状态信息,所述故障状态信息用于指示发生故障的状态。在通过第一控制器205生成上述第四指示信息后,可通过第一控制器205向所述第二光通信装置30发送该第四指示信息,以告知所述第二光通信装置30所述M个第一光收发器发生故障。Optionally, the fourth indication information includes at least first identification information corresponding to the M first optical transceivers and fault status information corresponding to the M first optical transceivers, and the fault status information is used for Indicates a failed state. After the above fourth instruction information is generated by the first controller 205, the fourth instruction information may be sent to the second optical communication device 30 by the first controller 205, so as to inform the second optical communication device 30 of the The M first optical transceivers fail.

可选的,光通信系统100还可通过第二控制器206接收来自于第三光通信装置40的第一切换完成指示信息。其中,该第一切换完成指示信息由所述第三光通信装置40在确定所述M个第二光收发器开始代替所述M个第一光收发器进行相应的第一支路信号光的传输后生成并发送的。该所述第一切换完成指示信息至少包括所述M个第二光收发器对应的第二标识信息以及所述M个第二光收发器对应的无故障状态信息。这里,所述无故障状态信息用于指示无故障的状态。进一步的,光通信系统还可通过该第二控制器206将所述第一切换完成指示信息转发给所述第一控制器205和/或所述第二光通信装置30,以告知所述M个第二光收发器已经开始代替所述M个第一光收发器进行相应的第一支路信号光的传输。Optionally, the optical communication system 100 may also receive the first switching completion indication information from the third optical communication device 40 through the second controller 206 . Wherein, the first switching completion indication information is determined by the third optical communication device 40 when the M second optical transceivers start to replace the M first optical transceivers to perform the corresponding first branch signal light Generated and sent after transfer. The first switching completion indication information includes at least second identification information corresponding to the M second optical transceivers and fault-free status information corresponding to the M second optical transceivers. Here, the no-fault status information is used to indicate a no-fault status. Further, the optical communication system may also forward the first switching completion indication information to the first controller 205 and/or the second optical communication device 30 through the second controller 206, so as to inform the M The second optical transceivers have started to replace the M first optical transceivers to transmit corresponding first branch signal light.

进一步地,在光通信系统100中包含第一主路、第一备路、第二主路和第二备路的情况下(此时光通信系统100的结构如图6所示),在光通信系统100通过第一控制器205和第二控制器206确定第一光纤发生101发生故障且第三光纤103和第二光通信装置30无故障,并控制第一光开关组207和第二光开关组208在第二光耦合器202和所述第三光耦合器203之间建立第一光通路之后,当光通信系统100又通过第一控制器205根据第五光耦合器209提供的子信号光确定第五光纤105发生故障,且根据第七光耦合器211提供的子信号光确定第七光纤107和第五光通信装置6无故障时,光通信装置100可通过第一控制器205向所述第二控制器206发送第五指示信息。具体过程可参见实施例一中的相关描述,此处不再赘述。Further, in the case that the optical communication system 100 includes a first main path, a first backup path, a second main path, and a second backup path (the structure of the optical communication system 100 at this time is shown in FIG. 6 ), in the optical communication The system 100 determines through the first controller 205 and the second controller 206 that the first optical fiber 101 is faulty and the third optical fiber 103 and the second optical communication device 30 are not faulty, and controls the first optical switch group 207 and the second optical switch After the group 208 establishes the first optical path between the second optical coupler 202 and the third optical coupler 203, when the optical communication system 100 passes the sub-signal provided by the fifth optical coupler 209 through the first controller 205 When it is determined that the fifth optical fiber 105 is faulty, and according to the sub-signal light provided by the seventh optical coupler 211, it is determined that the seventh optical fiber 107 and the fifth optical communication device 6 are not faulty, the optical communication device 100 can send a The second controller 206 sends fifth indication information. For the specific process, refer to the relevant description in Embodiment 1, and details are not repeated here.

若光通信系统100通过第二控制器206接收到所述第五指示信息,并确定所述第二光纤102、所述第四光纤104和所述第三光通信装置40无故障,则可通过第二控制器206控制所述第二光开关组208在所述第二光耦合器202和所述第四光耦合器204之间建立第二光通路,以通过所述第三光通信装置40来代替所述第二光通信装置30完成所述第二光通信装置30与所述第一光通信装置10之间的信号光的传输。If the optical communication system 100 receives the fifth indication information through the second controller 206, and determines that the second optical fiber 102, the fourth optical fiber 104, and the third optical communication device 40 are not faulty, the The second controller 206 controls the second optical switch group 208 to establish a second optical path between the second optical coupler 202 and the fourth optical coupler 204 to pass through the third optical communication device 40 instead of the second optical communication device 30 to complete the transmission of signal light between the second optical communication device 30 and the first optical communication device 10 .

进一步的,当光通信系统100通过第一控制器205和第二控制器206接收到来自于所述第三光通信装置40的第二切换完成指示时,则可通过所述第一控制器205和所述第二控制器206来控制所述第一光开关组207和第二光开关组208断开上述第一光通路。其中,该第二切换完成指示信息由所述第三光通信装置40在确定其完全代替所述第二光通信装置30后生成并发送。这里,光通信系统100断开上述第一光通路的具体过程可参见实施例一中相应的过程,此处便不再赘述。Further, when the optical communication system 100 receives the second switching completion indication from the third optical communication device 40 through the first controller 205 and the second controller 206, the first controller 205 may and the second controller 206 to control the first optical switch group 207 and the second optical switch group 208 to disconnect the first optical path. Wherein, the second switching completion indication information is generated and sent by the third optical communication device 40 after it is determined that it completely replaces the second optical communication device 30 . Here, for the specific process of disconnecting the above-mentioned first optical path by the optical communication system 100, reference may be made to the corresponding process in Embodiment 1, which will not be repeated here.

进一步的,在断开所述第一光通路后,光通信系统100可通过第一控制器205控制第一光开关组207在第七光耦合器211与第二光开关组208之间建立光通路,并向第二控制器206发送第六指示信息。然后,若光通信系统100通过第二控制器206接收到第六指示信息,并确定第七光纤107无故障,则可控制第二光开关组208在所述第六光耦合器210和所述第一光开关组207之间建立光通路,以使得所述第四光通信装置50和第五光通信装置60之间通过所述第六光纤和所述第八光纤建立光通路。这里,光通信系统100通过所述第六光纤和所述第八光纤在第四光通信装置50和第五光通信装置60之间建立光通路的具体过程可一并参见前文实施例一中描述的相应过程,此处便不再赘述。Further, after the first optical path is disconnected, the optical communication system 100 can control the first optical switch group 207 through the first controller 205 to establish an optical connection between the seventh optical coupler 211 and the second optical switch group 208. path, and send sixth indication information to the second controller 206 . Then, if the optical communication system 100 receives the sixth indication information through the second controller 206 and determines that the seventh optical fiber 107 is not faulty, it can control the second optical switch group 208 to switch between the sixth optical coupler 210 and the An optical path is established between the first optical switch group 207, so that an optical path is established between the fourth optical communication device 50 and the fifth optical communication device 60 through the sixth optical fiber and the eighth optical fiber. Here, the specific process for the optical communication system 100 to establish an optical path between the fourth optical communication device 50 and the fifth optical communication device 60 through the sixth optical fiber and the eighth optical fiber can be referred to the description in the first embodiment above. The corresponding process will not be repeated here.

在本实施例中,光通信系统100通过双归保护装置检测到第一光纤101、第三光纤103、第二光通信装置30中的一项或者多项发生故障,就可以将发生故障的光纤或者光通信装置切换至其备用的部分。因此,通过该方法可实现针对第二光纤102以及第二光通信装置30的双归保护。所以,将上述方法及光通信系统100应用于前传网络或专线网络,即可实现针对主干光纤以及局端设备的双归保护,可提升前传网络或者专线网络的可靠性。In this embodiment, the optical communication system 100 detects that one or more of the first optical fiber 101, the third optical fiber 103, and the second optical communication device 30 are faulty through the dual-homing protection device, and then the faulty optical fiber can be Or the optical communication device switches to its spare part. Therefore, dual-homing protection for the second optical fiber 102 and the second optical communication device 30 can be realized through this method. Therefore, applying the above method and the optical communication system 100 to the fronthaul network or the dedicated line network can realize dual-homing protection for the backbone optical fiber and the central office equipment, and can improve the reliability of the fronthaul network or the dedicated line network.

图8是本申请实施例提供的一种通信系统的结构示意图。如图8所示,通信系统800至少包括前文所述的光通信系统100、第一通信设备300和第二通信设备400。其中,第一通信设备300通过光通信系统100与第二通信设备400建立通信连接。上述光通信系统100主要用于承载所述第一通信设备300和所述第二通信设备400之间的业务数据的传输。Fig. 8 is a schematic structural diagram of a communication system provided by an embodiment of the present application. As shown in FIG. 8 , the communication system 800 includes at least the aforementioned optical communication system 100 , the first communication device 300 and the second communication device 400 . Wherein, the first communication device 300 establishes a communication connection with the second communication device 400 through the optical communication system 100 . The above optical communication system 100 is mainly used to bear the transmission of service data between the first communication device 300 and the second communication device 400 .

在前传场景中,第一通信设备300具体可以为终端设备。这里,该终端设备可以为向用户提供语音和/或数据连通性的无线设备,该无线设备可以是具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备,经无线接入网与一个或多个核心网进行通信的移动设备。例如,无线设备可以为移动电话、计算机、平板电脑、个人数码助理(personal digital assistant,PDA)、移动互联网设备(mobile Internet device,MID)、可穿戴设备和电子书阅读器(e-book reader)等。又如,上述无线设备也可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动设备。再如,上述无线设备还可以为移动站(mobile station)、接入点(access point)。本申请对终端设备的类型不做具体限制。所述第二通信设备400具体可以为回传设备。上述光通信系统100中的第一光通信装置101可以为包括有源天线单元AAU或者射频拉远单元RRU的装置,而第二光通信装置30和第三光通信装置40可以是包括有基带处理单元BBU/分布式单元DU的装置。In a fronthaul scenario, the first communication device 300 may specifically be a terminal device. Here, the terminal device may be a wireless device that provides voice and/or data connectivity to the user, and the wireless device may be a handheld device with a wireless connection function, or other processing device connected to a wireless modem, via a wireless access network A mobile device that communicates with one or more core networks. Examples of wireless devices can be mobile phones, computers, tablets, personal digital assistants (PDAs), mobile Internet devices (MIDs), wearable devices, and e-book readers wait. As another example, the above wireless device may also be a portable, pocket, hand-held, computer built-in or vehicle-mounted mobile device. For another example, the foregoing wireless device may also be a mobile station (mobile station) or an access point (access point). This application does not specifically limit the type of terminal equipment. The second communication device 400 may specifically be a backhaul device. The first optical communication device 101 in the above-mentioned optical communication system 100 may be a device including an active antenna unit AAU or a remote radio unit RRU, and the second optical communication device 30 and the third optical communication device 40 may include baseband processing Unit BBU/distributed unit DU device.

在专线场景中,上述第一通信设备300具体也可以为终端设备。上述第二通信设备400可以为公有云设备。上述公有云设备为用于支持专线场景中的公有云的相关设备,如云服务器、云计算设备等,本申请对此不作具体限制。光通信系统100中的第一光通信装置可以为客户前置设备CPE,第二光通信装置30和所述第三光通信装置40可以为云接入点POP设备。In a dedicated line scenario, the foregoing first communication device 300 may specifically also be a terminal device. The foregoing second communication device 400 may be a public cloud device. The above-mentioned public cloud devices are related devices used to support the public cloud in the dedicated line scenario, such as cloud servers, cloud computing devices, etc., and this application does not specifically limit this. The first optical communication device in the optical communication system 100 may be customer premises equipment (CPE), and the second optical communication device 30 and the third optical communication device 40 may be cloud access point POP devices.

应理解,本申请实施例提供的光通信系统100以及双归保护方法不仅仅适合用于前文提及的前传网络这专线网络,在其他需要进行业务的双归保护的光通信场景中同样适用。It should be understood that the optical communication system 100 and the dual-homing protection method provided by the embodiment of the present application are not only suitable for the dedicated line network of the fronthaul network mentioned above, but also applicable to other optical communication scenarios that require dual-homing protection for services.

本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that, in the above one or more examples, the functions described in this application may be implemented by hardware, software, firmware or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.

以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The specific implementation manners described above have further described the purpose, technical solutions and beneficial effects of the application in detail. It should be understood that the above descriptions are only specific implementation modes of the application and are not intended to limit the scope of the application. Scope of protection: All modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of this application shall be included within the scope of protection of this application.

Claims (30)

1. An optical communication system comprising a dual homing protection device, a first optical communication device, a second optical communication device, a third optical communication device, a first optical fiber, a second optical fiber, a third optical fiber, and a fourth optical fiber, wherein:
the dual-homing protection device is connected with the first optical communication device through the first optical fiber and the second optical fiber;
the dual-homing protection device is connected with the second optical communication device through the third optical fiber, and the dual-homing protection device is connected with the third optical communication device through the fourth optical fiber;
the dual-homing protection device is used for establishing an optical path between the first optical fiber and a fourth optical fiber or between the second optical fiber and the third optical fiber or the fourth optical fiber when one or more of the first optical fiber, the third optical fiber and the second optical communication device is/are detected to be in failure, so that signal light is transmitted between the first optical communication device and the second optical communication device or the third optical communication device.
2. The optical communication system of claim 1, wherein the dual homing protection device comprises: the optical coupler comprises a first optical coupler, a second optical coupler, a third optical coupler, a fourth optical coupler, a first optical switch group, a second optical switch group, a first controller and a second controller, wherein the first optical coupler is respectively connected with the first controller and the first optical switch group, the first controller is respectively connected with the first optical switch group and the third optical coupler, the first optical switch group is also connected with the second optical switch group, the second optical switch group is respectively connected with the second optical coupler, the second controller and the fourth optical coupler, the second controller is respectively connected with the second optical coupler and the fourth optical coupler, the first controller is connected with the second controller, the first optical coupler is connected with the first optical communication device through the first optical fiber, the second optical coupler is connected with the first optical communication device through the second optical fiber, the third optical coupler is connected with the second optical communication device through the third optical fiber, and the fourth optical communication device through the third optical fiber.
3. The optical communication system according to claim 2, wherein the signal light includes first signal light transmitted to the third optical coupler through the third optical fiber;
the third optical coupler is used for obtaining first sub-signal light and second sub-signal light according to the first signal light, transmitting the first sub-signal light to the first controller, and transmitting the second sub-signal light to the first optical switch group;
the first controller is to:
and when the optical power of the first sub-signal light is determined to be zero, or a first optical power difference value between the optical power of the first sub-signal light and a first preset optical power is determined to be equal to or greater than a first preset difference value, determining that the third optical fiber has a fault.
4. The optical communication system of claim 3, wherein the first controller is further configured to:
when the first optical power difference is smaller than the first preset difference, determining whether the first sub-signal light contains a target tuning signal, wherein the target tuning signal is a tuning signal pre-configured for the first signal light;
and if the first sub-signal light does not contain the target tuning signal, determining that the second optical communication device has a fault.
5. The optical communication system according to any one of claims 2 to 4, wherein the signal light further includes second signal light transmitted to the second optical coupler through the second optical fiber and third signal light transmitted to the fourth optical coupler through the fourth optical fiber;
the second optical coupler is used for obtaining third sub-signal light and fourth sub-signal light according to the light splitting of the second signal light, transmitting the third sub-signal light to the second controller, and transmitting the fourth sub-signal light to the second optical switch group;
the fourth optical coupler is used for obtaining fifth sub-signal light and sixth sub-signal light according to the light splitting of the third signal light, transmitting the fifth sub-signal light to the second controller, and transmitting the sixth sub-signal light to the second optical switch group;
the second controller is used for determining whether the second optical fiber is in failure according to the third sub-signal light;
the second controller is further configured to determine whether the fourth optical fiber and/or the third optical communication device is malfunctioning according to the fifth sub-signal light.
6. The optical communication system according to claim 5, wherein the first controller is configured to control the first optical switch group to establish an optical path between the second optical switch group and the third optical coupler and send first indication information to the second controller, if it is determined that the first optical fiber has a fault and the third optical fiber and the second optical communication device have no fault;
the second controller is configured to receive the first indication information, and control the second optical switch group to establish an optical path between the second optical coupler and the first optical switch group when it is determined that the second optical fiber is not faulty, so as to transmit the fourth sub-signal light to the second optical communication device through the third optical fiber and transmit the second sub-signal light to the first optical communication device through the second optical fiber.
7. The optical communication system according to claim 5 or 6, wherein the first controller is configured to control the first optical switch group to establish an optical path between the first optical coupler and the second optical switch group and send second indication information to the second controller in case that it is determined that the first optical fiber is not faulty and the third optical fiber and/or the second optical communication device is faulty;
the second controller is configured to receive the second indication information, and control the second optical switch group to establish an optical path between the first optical switch group and the fourth optical coupler under the condition that it is determined that the fourth optical fiber and the third optical communication device are not faulty, so as to transmit the sub-signal light provided by the first optical coupler to the third optical communication device through the fourth optical fiber, and transmit the sixth sub-signal light to the first optical communication device through the first optical fiber.
8. The optical communication system according to any one of claims 5 to 7, wherein the first controller is configured to send third indication information to the second controller in case it is determined that the first optical fiber and the third optical fiber, or the first optical fiber, the third optical fiber, and the second optical communication device, are failed;
the second controller is configured to receive the third indication information, and, in a case where it is determined that none of the second optical fiber, the fourth optical fiber, and the third optical communication device is faulty, control the second optical switch group to establish an optical path between the second optical coupler and the fourth optical coupler, so as to transmit the fourth sub-signal light to the third optical communication device through the fourth optical fiber, and transmit the sixth sub-signal light to the first optical communication device through the second optical fiber.
9. The optical communication system according to claim 3, wherein the second optical communication device includes a first combiner/splitter, N first tributary optical fibers, and N first optical transceivers, each of the first optical transceivers is connected to the third optical fiber through one tributary optical fiber and the first combiner/splitter, and N is a positive integer greater than or equal to 2;
the N first optical transceivers are configured to generate N first branch signal lights and transmit the N first branch signal lights to the first multiplexer/demultiplexer through the N first branch optical fibers, where each of the N first branch signal lights is preconfigured with a first branch pilot tone signal;
the first multiplexer/demultiplexer is configured to combine the N first branch signal lights to obtain the first signal light, and transmit the first signal light to the third optical coupler through the third optical fiber;
the first controller is further configured to determine whether the first sub-signal light includes a first branch pilot signal corresponding to each of the N first branch signal lights when it is determined that the first optical power difference is smaller than the first preset difference;
if the first controller determines that the first sub-signal light does not include a first branch set top signal preconfigured by M first branch signal lights of the N first branch signal lights, it is determined that M first optical transceivers for generating the M first branch signal lights have a failure, where M is a positive integer greater than or equal to 1.
10. The optical communication system according to claim 9, wherein the third optical communication device includes a second combiner/splitter, N second tributary optical fibers, and N second optical transceivers, each of the second optical transceivers is connected to the fourth optical fiber through one second tributary optical fiber and the second combiner/splitter, and the N first optical transceivers correspond to the N second optical transceivers one to one;
the first controller is used for controlling the first optical switch group to establish an optical path between the first optical coupler and the second optical switch group and sending fourth indication information to the second controller under the condition that the first optical fiber is determined to be free from faults and the M first optical transceivers are determined to be faulty;
the second controller is configured to receive the fourth indication information, and control the second optical switch group to establish an optical path between the first optical switch group and the fourth optical coupler when it is determined that neither the fourth optical fiber nor the N second optical transceivers have a failure, so as to replace the M failed first optical transceivers with M second optical transceivers corresponding to the M first optical transceivers among the N second optical transceivers to perform transmission of corresponding signal light.
11. The optical communication system according to claim 2, wherein the optical communication system further comprises a fourth optical communication device, a fifth optical communication device, a sixth optical communication device, a fifth optical fiber, a sixth optical fiber, a seventh optical fiber, and an eighth optical fiber, and the dual homing protection device further comprises a fifth optical coupler, a sixth optical coupler, a seventh optical coupler, and an eighth optical coupler;
the fourth optical communication device is connected with the fifth optical coupler through the fifth optical fiber, the fourth optical communication device is further connected with the sixth optical coupler through the sixth optical fiber, the fifth optical coupler is further connected with the first controller and the first optical switch group respectively, the sixth optical coupler is further connected with the second controller and the second optical switch group respectively, the fifth optical communication device is connected with the seventh optical coupler through the seventh optical fiber, the seventh optical coupler is connected with the first controller and the first optical switch group respectively, the sixth optical communication device is connected with the eighth optical coupler through the eighth optical fiber, the eighth optical coupler is further connected with the second controller and the second optical switch group respectively, and the first optical switch group is connected with the second optical switch group through the ninth optical fiber.
12. The optical communication system according to claim 11, wherein;
the first controller is used for controlling the first optical switch group and the second optical switch group to establish a first optical path between the second optical coupler and the third optical coupler in combination with the second controller under the condition that the first optical fiber is determined to be in fault and the third optical fiber and the second optical communication device are not in fault, wherein the first optical path passes through the ninth optical fiber;
the first controller is further configured to send fifth indication information to the second controller when it is determined that the fifth optical fiber has a fault according to the sub-signal light provided by the fifth optical coupler and it is determined that the seventh optical fiber and the fifth optical communication device have no fault according to the sub-signal light provided by the seventh optical coupler;
the second controller is configured to receive the fifth indication information, and control the second optical switch group to establish a second optical path between the second optical coupler and the fourth optical coupler under the condition that it is determined that the second optical fiber, the fourth optical fiber and the third optical communication device are not faulty, so as to complete transmission of signal light between the second optical communication device and the first optical communication device by the third optical communication device instead of the second optical communication device;
the third optical communication device is configured to send first handover completion indication information to the first controller and the second controller after determining to replace the second optical communication device;
when the first controller and the second controller both receive the first switching completion indication, the first controller controls the first optical switch group and the second optical switch group to disconnect the first optical path by combining with the second controller.
13. The optical communication system according to claim 12, wherein after the first optical path is disconnected, the first controller is further configured to control the first optical switch group to establish an optical path between the seventh optical coupler and the second optical switch group, and send sixth indication information to the second controller;
the second controller is configured to receive the sixth indication information, and control the second optical switch group to establish an optical path between the sixth optical coupler and the first optical switch group when it is determined that the seventh optical fiber is not faulty, so that an optical path is established between the fourth optical communication device and the fifth optical communication device through the sixth optical fiber, the ninth optical fiber and the seventh optical fiber.
14. A double-homing protection method is characterized in that the double-homing protection method is applied to an optical communication system, the optical communication system comprises a double-homing protection device, a first optical communication device, a second optical communication device, a third optical communication device, a first optical fiber, a second optical fiber, a third optical fiber and a fourth optical fiber, the double-homing protection device is connected with the first optical communication device through the first optical fiber and the second optical fiber, the double-homing protection device is connected with the second optical communication device through the third optical fiber, and the double-homing protection device is connected with the third optical communication device through the fourth optical fiber;
the method comprises the following steps:
detecting whether the first optical fiber, the third optical fiber and the second optical communication device have faults or not through the dual-homing protection device;
when one or more of the first optical fiber, the third optical fiber and the second optical communication device is determined to be in fault through a dual-homing protection device, an optical path is established between the first optical fiber and a fourth optical fiber or between the second optical fiber and the third optical fiber or the fourth optical fiber through the dual-homing protection device, so that signal light is transmitted between the first optical communication device and the second optical communication device or the third optical communication device.
15. The method of claim 14, wherein the dual homing protection device comprises: the optical coupler comprises a first optical coupler, a second optical coupler, a third optical coupler, a fourth optical coupler, a first optical switch group, a second optical switch group, a first controller and a second controller, wherein the first optical coupler is respectively connected with the first controller and the first optical switch group, the first controller is respectively connected with the first optical switch group and the third optical coupler, the first optical switch group is also connected with the second optical switch group, the second optical switch group is respectively connected with the second optical coupler, the second controller and the fourth optical coupler, the second controller is respectively connected with the second optical coupler and the fourth optical coupler, the first controller is connected with the second controller, the first optical coupler is connected with the first optical communication device through the first optical fiber, the second optical coupler is connected with the first optical communication device through the second optical fiber, the third optical coupler is connected with the second optical communication device through the third optical fiber, and the fourth optical communication device through the third optical fiber.
16. The method of claim 15, wherein the signal light further comprises a first signal light transmitted to the third optical coupler through the third optical fiber, and wherein the detecting, by the dual homing protection device, whether one or more of the first optical fiber, the third optical fiber, and the second optical communication device is malfunctioning comprises:
splitting the first signal light by the third optical coupler to obtain first sub-signal light and second sub-signal light;
transmitting the first sub-signal light to the first controller through the third optical coupler, and transmitting the second sub-signal light to the first optical switch group;
and when the first controller determines that the optical power of the first sub-signal light is zero or determines that a first optical power difference value between the optical power of the first sub-signal light and a first preset optical power is equal to or greater than a first preset difference value, determining that the third optical fiber has a fault.
17. The method of claim 16, wherein said detecting, by the dual homing protection device, whether one or more of the first optical fiber, the third optical fiber, the second optical communication device is malfunctioning further comprises:
when the first controller determines that the first optical power difference is smaller than the first preset difference, determining, by the first controller, whether the first sub-signal light includes a target set-top signal, where the target set-top signal is a set-top signal preconfigured by the first signal light;
and if the first controller determines that the first sub-signal light does not contain the target set-top signal, determining that the second optical communication device has a fault.
18. The method according to any one of claims 15 to 17, wherein the signal light further includes second signal light transmitted to the second optical coupler through the second optical fiber and third signal light transmitted to the fourth optical coupler through the fourth optical fiber;
the method further comprises the following steps:
splitting the second signal light by the second optical coupler to obtain third sub-signal light and fourth sub-signal light, transmitting the third sub-signal light to the second controller, and transmitting the fourth sub-signal light to the second optical switch group;
splitting the third signal light by the fourth optical coupler to obtain fifth sub-signal light and sixth sub-signal light, transmitting the fifth sub-signal light to the second controller, and transmitting the sixth sub-signal light to the second optical switch group;
determining, by the second controller, whether the second optical fiber is malfunctioning according to the third sub-signal light, and determining, by the second controller, whether the fourth optical fiber and/or the third optical communication device is malfunctioning according to the fifth sub-signal light.
19. The method of claim 18, wherein said establishing an optical path between the first and fourth optical fibers, or between the second and third or fourth optical fibers, through the dual homing protection device comprises:
in the case that the first controller determines that the first optical fiber has a fault and the third optical fiber and the second optical communication device have no fault, controlling the first optical switch group to establish an optical path between the second optical switch group and the third optical coupler through the first controller, and sending first indication information to the second controller;
receiving, by the second controller, the first indication information;
controlling, by the second controller, the second optical switch group to establish an optical path between the second optical coupler and the first optical switch group in the event that it is determined by the second controller that the second optical fiber is non-faulty.
20. The method of claim 18 or 19, wherein said establishing an optical path between said first and fourth optical fibers, or between said second and third or fourth optical fibers, through said dual homing protection device comprises:
in the case that the first controller determines that the first optical fiber is not faulty and the third optical fiber and/or the second optical communication device is faulty, controlling the first optical switch group to establish an optical path between the first optical coupler and the second optical switch group through the first controller, and sending second indication information to the second controller;
receiving, by the second controller, the second indication information, and controlling, by the second controller, the second optical switch group to establish an optical path between the first optical switch group and the fourth optical coupler in a case where it is determined by the second controller that the fourth optical fiber and the third optical communication device are not faulty.
21. The method of any one of claims 18-20, wherein said establishing an optical path between said first optical fiber and a fourth optical fiber, or between said second optical fiber and said third optical fiber or fourth optical fiber, by said dual homing protection device comprises:
sending, by the first controller, third indication information to the second controller in a case where it is determined by the first controller that the first optical fiber and the third optical fiber, or the first optical fiber, the third optical fiber, and the second optical communication device all have a failure;
and receiving the third indication information through the second controller, and controlling the second optical switch group to establish an optical path between the second optical coupler and the fourth optical coupler through the second controller when the second controller determines that the second optical fiber, the fourth optical fiber and the third optical communication device are not in fault.
22. The method according to claim 16, wherein the second optical communication device includes a first combiner-splitter, N first branch optical fibers, and N first optical transceivers, each first optical transceiver is connected to the third optical fiber through one branch optical fiber and the first combiner-splitter, the first sub-signal light is obtained by splitting, by the third optical coupler, the first signal light transmitted by the first combiner-splitter through the third optical fiber, the first signal light is obtained by combining, by the first combiner-splitter, N first branch signal lights transmitted on the N first branch optical fibers, the N first branch signal lights are generated by the N first optical transceivers and transmitted to the N first branch optical fibers, each of the N first branch signal lights is preconfigured with a branch channel-peak-modulated signal, N is a positive integer greater than or equal to 2;
the dual-homing protection device detects whether one or more of the first optical fiber, the third optical fiber and the second optical communication device fails, and comprises:
when the first controller determines that the first optical power difference is smaller than the first preset difference, determining, by the first controller, whether the first sub-signal light includes the N pre-configured branch signal lights of the first branch signal light;
if the first controller determines that the first sub-signal light does not include a branch line pilot tone signal pre-configured by M first branch signal lights of the N first branch signal lights, it is determined that M first optical transceivers for generating the M first branch signal lights have a failure, where M is a positive integer greater than or equal to 1.
23. The method of claim 22, wherein the third optical communication device comprises a second combiner/splitter, N second tributary optical fibers, and N second optical transceivers, each of the second optical transceivers is connected to the fourth optical fiber through one second tributary optical fiber and the second combiner/splitter, and the N first optical transceivers are in one-to-one correspondence with the N second optical transceivers;
the establishing an optical path between the first optical fiber and a fourth optical fiber or between the second optical fiber and the third optical fiber or the fourth optical fiber by the dual homing protection device includes:
transmitting fourth indication information to the second controller in case it is determined by the first controller that the M first optical transceivers have failed;
receiving, by the second controller, the fourth indication information;
under the condition that the second controller determines that the second optical fiber, the fourth optical fiber and the third optical communication device are not in fault, the second controller controls the second optical switch group to establish an optical path between the second optical fiber and the fourth optical fiber, so that M second optical transceivers corresponding to the M first optical transceivers in the N second optical transceivers replace the M first optical transceivers in fault to transmit corresponding signal light.
24. The method of claim 15, wherein the optical communication system further comprises a fourth optical communication device, a fifth optical communication device, a sixth optical communication device, a fifth optical fiber, a sixth optical fiber, a seventh optical fiber, and an eighth optical fiber, and wherein the dual homing protection device further comprises a fifth optical coupler, a sixth optical coupler, a seventh optical coupler, and an eighth optical coupler;
the fourth optical communication device is connected with the fifth optical coupler through the fifth optical fiber, the fourth optical communication device is further connected with the sixth optical coupler through the sixth optical fiber, the fifth optical coupler is further connected with the first controller and the first optical switch group respectively, the sixth optical coupler is further connected with the second controller and the second optical switch group respectively, the fifth optical communication device is connected with the seventh optical coupler through the seventh optical fiber, the seventh optical coupler is connected with the first controller and the first optical switch group respectively, the sixth optical communication device is connected with the eighth optical coupler through the eighth optical fiber, the eighth optical coupler is further connected with the second controller and the second optical switch group respectively, and the first optical switch group is connected with the second optical switch group through the ninth optical fiber.
25. The method of claim 24, wherein after determining by the first controller and the second controller that the first optical fiber is faulty and that the third optical fiber and the second optical communication device are non-faulty and controlling the first optical switch set and the second optical switch set to establish the first optical path between the second optical coupler and the third optical coupler, the method further comprises:
when it is determined that the fifth optical fiber has a failure according to the sub signal light provided by the fifth optical coupler and it is determined that the seventh optical fiber and the fifth optical communication device have no failure according to the sub signal light provided by the seventh optical coupler, the first controller transmits fifth indication information to the second controller;
and the second controller is used for the fifth indication information, and under the condition that the second optical fiber, the fourth optical fiber and the third optical communication device are determined to be fault-free, the second optical switch group is controlled to establish a second optical path between the second optical coupler and the fourth optical coupler, so that the third optical communication device replaces the second optical communication device to complete the transmission of the signal light between the second optical communication device and the first optical communication device.
26. The method of claim 25, further comprising:
when a second switching completion indication from the third optical communication device is received through the first controller and the second controller, the first optical switch group and the second optical switch group are controlled to disconnect the first optical path through the first controller and the second controller, wherein the second switching completion indication information is generated and sent by the third optical communication device after the third optical communication device is determined to replace the second optical communication device.
27. The method of claim 26, wherein after disconnecting the first optical path, the method further comprises:
controlling the first optical switch group to establish an optical path between the seventh optical coupler and the second optical switch group through the first controller, and sending sixth indication information to the second controller;
and receiving, by the second controller, the sixth indication information, and controlling, in a case where it is determined that the seventh optical fiber is not faulty, the second optical switch group to establish an optical path between the sixth optical coupler and the first optical switch group, so that an optical path is established between the fourth optical communication device and the fifth optical communication device through the sixth optical fiber, the ninth optical fiber, and the seventh optical fiber.
28. A communication system, characterized in that the communication system comprises a first communication device, an optical communication system according to any of claims 1-13, and a second communication device, the first communication device establishing a communication connection with the second communication device through the optical communication system;
the optical communication system is used for transmitting service data between the first communication equipment and the second communication equipment.
29. The communication system according to claim 28, wherein the first communication device is a terminal device, the second communication device is a backhaul device, the first optical communication apparatus in the optical communication system includes an active antenna unit AAU or a radio remote unit RRU, and the second optical communication apparatus and the third optical communication apparatus in the optical communication system include a baseband processing unit BBU or a distributed unit DU.
30. The communication system according to claim 28, wherein the first communication device is an end device, the second communication device is a public cloud device, the first optical communication device in the optical communication system is a Customer Premises Equipment (CPE), and the second optical communication device and the third optical communication device are cloud point of presence (POP) devices.
CN202110918933.9A 2021-08-11 2021-08-11 Optical communication system, dual-homing protection method and communication system Pending CN115842778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110918933.9A CN115842778A (en) 2021-08-11 2021-08-11 Optical communication system, dual-homing protection method and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110918933.9A CN115842778A (en) 2021-08-11 2021-08-11 Optical communication system, dual-homing protection method and communication system

Publications (1)

Publication Number Publication Date
CN115842778A true CN115842778A (en) 2023-03-24

Family

ID=85574097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110918933.9A Pending CN115842778A (en) 2021-08-11 2021-08-11 Optical communication system, dual-homing protection method and communication system

Country Status (1)

Country Link
CN (1) CN115842778A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004015432A (en) * 2002-06-06 2004-01-15 Sumitomo Electric Ind Ltd Optical transceiver and optical communication system
CN102684810A (en) * 2012-01-18 2012-09-19 徐志国 Optical network protection method, optical link switching control device and optical link switching control system
CN110391841A (en) * 2018-04-16 2019-10-29 中兴通讯股份有限公司 A kind of dual-homing protection method, apparatus and dual-homing protection network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004015432A (en) * 2002-06-06 2004-01-15 Sumitomo Electric Ind Ltd Optical transceiver and optical communication system
CN102684810A (en) * 2012-01-18 2012-09-19 徐志国 Optical network protection method, optical link switching control device and optical link switching control system
CN110391841A (en) * 2018-04-16 2019-10-29 中兴通讯股份有限公司 A kind of dual-homing protection method, apparatus and dual-homing protection network

Similar Documents

Publication Publication Date Title
CN101399697B (en) System and method for automatically protection switching
CN102098201B (en) Method for realizing L2TP user access backup and network system
US20140093232A1 (en) Method for protection of multi-wavelength passive optical network
CN101860492A (en) Method, device and system for fast switching
US20100074121A1 (en) Wireless device and method of controlling and monitoring wireless device
CN102104532B (en) Fault switching method and system and hub provider edge (Hub PE) router
CN102448095A (en) Double-homing protection method and equipment
WO2015131360A1 (en) Method, device and system for link switching
CN101237254A (en) Optical fiber protection inverse device, method and passive optical network system with the device
US10790904B2 (en) Redundant backup near-end machine, far-end machine and system thereof for digital optical fiber repeater
WO2004004183A1 (en) Wdm layer-based optical channel protecting device and the method thereof
US20200220798A1 (en) Built In Alternate Links Within a Switch
CN101394309A (en) Cluster system expanding method, apparatus and cluster system
CN101562480A (en) Optical access network, and method, system and apparatus for backuping optical line terminal
WO2013007161A1 (en) Building baseband unit, baseband processing panel, and failure processing method for baseband processing panel
WO2013029395A1 (en) Base station apparatus and channel machine switching method
WO2011097893A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
CN105871614A (en) Protection method and device of board cards in communication device
CN105763442A (en) PON system and method avoiding interruption of LACP aggregation link in main-standby switching process
CN103905115B (en) Method and system for transmitting services between RRU and BBUs, and BBUs
US12218823B2 (en) Communication possibility/impossibility indication device, system, method, and program
CN115842778A (en) Optical communication system, dual-homing protection method and communication system
JP6457962B2 (en) Node device and redundant network communication method
WO2024087636A1 (en) Remote-unit protection system
CN101860888B (en) Method, system and equipment for transmitting data by wireless link

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