A method and system for redundant communication of optical modules based on a dual single fiber bidirectional link
Patent Information
- Application Number
- CN202610891872.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-18
- Publication Date
- 2026-09-15
Smart Images

Figure CN122764342A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of redundant communication technology, and in particular to a redundant communication method and system for optical modules based on dual single-fiber bidirectional links. Background Technology
[0002] Fiber optic communication technology boasts advantages such as long transmission distance, strong resistance to electromagnetic interference, high communication bandwidth, and good operational stability, and has been widely applied in fields such as industrial communication, field monitoring, communication base station transmission, and security protection. With the expansion of network scale and the continuous increase in data transmission demands, optical modules continue to evolve in terms of transmission rate, package size, and integration. However, in application scenarios such as exploration operations, wind power generation, high-tower base stations, and distributed security monitoring, there are still numerous point-to-point communication needs between field equipment and remote equipment rooms, characterized by long distances and relatively fixed cabling structures. Therefore, small-package optical modules with LC interfaces, such as SFF, SFP, and SFP+, remain widely used.
[0003] Existing optical module communication systems typically include optical modules located at both ends of the communication circuit and optical fiber transmission paths connecting the two ends. Taking an LC interface dual-fiber optical module as an example, the optical modules at both ends establish transmit and receive paths through corresponding optical fibers. Each optical module acts as an independent optical signal transceiver component, used to convert electrical signals to optical signals at its respective communication end. The communication equipment can also interact with the optical modules to read module identification information and operational monitoring information for module identification, operational monitoring, and routine maintenance. SFF optical modules are typically fixedly mounted on the equipment circuit board, while SFP, SFP+, and other optical modules are usually pluggable and installed in the equipment interface.
[0004] In existing communication processes, the optical module at one end converts the electrical signal output by the corresponding device into an optical signal and transmits it to the other end via an optical fiber transmission path. The optical module at the other end receives the corresponding optical signal and converts it back into an electrical signal for use by the corresponding device. Reverse communication is completed by the corresponding communication end according to the corresponding transmission direction. Therefore, existing communication systems typically rely on optical modules and corresponding optical fiber transmission paths at both ends to achieve point-to-point data transmission between field devices and remote devices. During this communication process, the communication equipment usually checks or judges the current communication status based on whether communication is connected, whether the signal is abnormal, and the module operation monitoring information it reads.
[0005] However, with accumulated application time, optical modules may malfunction or be damaged due to factors such as device performance degradation, circuit malfunction, interface damage, environmental influences, or reaching the end of their service life. Fiber optic connections or related communication components may also experience anomalies affecting signal transmission. When signal quality deteriorates, data transmission becomes unstable, or communication is interrupted at the communication end, these anomalies may be caused by different objects within the optical module itself, the fiber optic connection location, the signal transmission path, or related communication components. Since optical modules in existing communication systems function as independent transceiver components undertaking specific communication tasks, and the module monitoring information and communication results read by existing communication methods are typically used to reflect the current module status or whether communication is affected, and the communication anomalies caused by different faulty objects may be the same or similar, existing technologies struggle to quickly determine the actual faulty object corresponding to the communication anomaly and the specific optical module requiring repair or replacement based on information already generated during the communication process.
[0006] Especially in application environments with limited maintenance conditions, such as high towers, deep wells, wind turbine nacelles, remote exploration sites, or distributed security nodes, if the faulty component causing the communication anomaly cannot be identified before maintenance, maintenance personnel typically need to arrive on-site and systematically inspect, disassemble, verify, or replace any optical modules, fiber optic connections, or related communication equipment that may be causing the anomaly. For fixed-installation optical modules, it may be necessary to disassemble the corresponding equipment before troubleshooting and module replacement can be completed; for pluggable optical modules, the inability to identify the replacement component in advance may also increase the workload of on-site testing and repetitive operations.
[0007] Therefore, after a communication anomaly occurs, it is difficult to quickly identify the faulty object causing the communication anomaly and determine the optical module that needs to be repaired or replaced based on the existing communication operation information and anomaly results. This makes the fault confirmation process rely heavily on manual on-site inspection, resulting in slow identification of the repair object, low repair efficiency, and affecting the continuity and stability of communication between on-site equipment and remote equipment. Summary of the Invention
[0008] Therefore, embodiments of the present invention provide a redundant communication method and system for optical modules based on dual single-fiber bidirectional links. The technical solution is as follows: On the one hand, a redundant communication method for optical modules based on dual single-fiber bidirectional links is provided, the method comprising: S1, obtain the link configuration data between the target redundant optical module and the peer redundant optical module, determine the transceiver components connected to each single-fiber bidirectional link, and obtain the link component correspondence; the single-fiber bidirectional link is formed by the local transceiver component, the peer transceiver component and the optical fiber connection between the two, and the transceiver component is used to realize the bidirectional conversion between the device side electrical signal and the optical fiber side optical signal.
[0009] S2, based on the correspondence of link components, obtain the channel status and corresponding bidirectional transmission status information of each transceiver component in the redundant communication process, and perform link status aggregation processing to obtain the redundant link characterization status. The channel status includes one or more of the following: transmission path status, reception path status, and current conduction status.
[0010] S3, based on the redundant link characterization status, perform abnormal link location processing and / or faulty transceiver component association processing to determine the corresponding target abnormal link and / or faulty transceiver component.
[0011] S4, based on the communication recovery status of the target abnormal link and / or faulty transceiver component, adjust the conduction status of the redundant communication channel to switch the communication to an available single-fiber bidirectional link or an available transceiver component, and output the fault identification result.
[0012] On the other hand, a redundant optical module communication system based on dual single-fiber bidirectional links is provided. The system includes: a link configuration parsing unit, a redundancy status aggregation unit, an abnormal object identification unit, a channel recovery execution unit, and a communication controller.
[0013] The communication controller is used to control the target redundant optical module and the peer redundant optical module to perform redundant communication, anomaly identification and channel recovery operations.
[0014] The link configuration parsing unit is used to control the module controller to read the link configuration data between the target redundant optical module and the peer redundant optical module, determine the transceiver components connected to each single-fiber bidirectional link, and obtain the link component correspondence; both the target redundant optical module and the peer redundant optical module include at least two transceiver components, a channel selection circuit, and a module controller.
[0015] The redundancy status aggregation unit is used to obtain the channel status and corresponding bidirectional transmission status information of each transceiver component in the redundant communication process based on the correspondence of link components, and to perform link status aggregation processing to obtain the redundant link characterization status.
[0016] An abnormal object identification unit is used to perform abnormal link location processing and / or faulty transceiver component association processing based on the redundant link characterization status, so as to determine the corresponding target abnormal link and / or faulty transceiver component.
[0017] The channel recovery execution unit is used to output channel adjustment instructions to the channel selection circuit based on the communication recovery status of the target abnormal link and / or faulty transceiver component, so as to adjust the conduction status of the redundant communication channel, switch the communication to the available single-fiber bidirectional link or available transceiver component, and output the fault identification result at the same time.
[0018] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: 1. This invention acquires link configuration data between the target redundant optical module and the peer redundant optical module, and identifies the transceiver components connected to each single-fiber bidirectional link. This establishes a clear correspondence between the link and the transceiver components, providing a foundation for subsequent anomaly identification. Based on the link component correspondence, it collects the transmit path status, receive path status, current conduction status, and bidirectional transmission status information of each transceiver component, and aggregates the link statuses. This unifies the scattered module and transmission statuses into a redundant link characterization status, facilitating rapid understanding of each link's operational status. Based on the redundant link characterization status, it locates abnormal links and associates faulty components, enabling rapid differentiation between link-related and transceiver component anomalies when communication quality deteriorates, transmission becomes unstable, or interrupts. Adjusting the redundant communication channel conduction status based on the communication recovery status of the target abnormal link or faulty transceiver component allows communication to switch to an available link or available transceiver component, achieving coordinated fault identification and communication recovery, improving maintenance efficiency and communication continuity.
[0019] 2. By comparing the changes in the local sending state and the remote receiving state, and the remote sending state and the local receiving state, within the same communication process, a bidirectional status code containing positive and negative response flags is generated. This converts the bidirectional response relationship between the two transceiver components into processable status data, facilitating rapid identification of which transceiver components can form effective communication. When both directions are in a valid response state, the corresponding transceiver components are identified as a valid link combination, which helps to exclude combinations that are only unidirectionally reachable or have incomplete responses. Furthermore, the link availability status is determined based on the bidirectional response consistency parameter, which allows for further screening of stable and usable target link combinations from the valid link combinations, avoiding the use of restricted links as recovery targets. By assigning link identifiers to target link combinations and establishing a first correspondence between the link identifier and the two transceiver components, as well as a second correspondence between the link identifier and the positive response flag, the negative response flag, and the link availability status, the composition and bidirectional availability of a single-fiber bidirectional link can be clearly defined.
[0020] 3. By determining the local and remote transceiver components corresponding to the current single-fiber bidirectional link through the first correspondence, and determining the positive and negative response flags through the second correspondence, the state confusion between different links or different transceiver components can be avoided. By reading the channel status and bidirectional transmission status information of the transceiver components at both ends within the same link status acquisition period, the sending path, receiving path, and transmission results can be ensured to be in the same analysis period, improving the consistency of anomaly judgment. By determining the actual sending and receiving paths participating in the communication through the current conduction status, and comparing the transmission results in both directions with the corresponding response flags respectively, the current positive response value and the current negative response value can be obtained, which can convert the communication results into discernible directional response data. By further converting them into positive and negative response status bits, bidirectional normal, unidirectional abnormal, and bidirectional abnormal can be quickly distinguished.
[0021] 4. When a single-fiber bidirectional link is in a unidirectional abnormal state, the transmitting and receiving transceiver components corresponding to the abnormal transmission direction are first identified. Then, the unidirectional abnormality correlation parameters are generated by combining the transmitting and receiving path states. This allows for further correlation of invalid unidirectional transmission results to the transmitting or receiving side, facilitating rapid identification of the fault source. When the unidirectional abnormality correlation parameters point to the transmitting or receiving side, the corresponding transceiver component is identified as the faulty transceiver component. When the unidirectional abnormality correlation parameters cannot point to a single transceiver component, the current single-fiber bidirectional link is identified as the target abnormal link, avoiding misjudgment of specific components. By merging the transmitting and receiving path states of the same transceiver component under bidirectional abnormal conditions to generate bidirectional fault attribution parameters, it is possible to determine whether bidirectional abnormalities are concentrated in the same transceiver component. If they can be concentrated, the faulty transceiver component is identified; if they cannot be concentrated, the target abnormal link is located, thereby improving the accuracy of abnormality location and the efficiency of determining the repair target.
[0022] 5. By identifying the current object to be isolated through faulty transceiver components or target abnormal links, it is possible to first identify abnormal objects that need to be avoided, preventing the continued occupation of faulty paths during the recovery process. By using the correspondence between link components, candidate recovery links are screened from single-fiber bidirectional links or transceiver components that have not included the object to be isolated, improving the efficiency of selecting backup communication paths. By reading the link availability status, positive response status bit, negative response status bit, and current conduction status of candidate recovery links and combining them to generate communication recovery status parameters, it is possible to convert whether the candidate object has the conditions for recovery into a discernible status code. When the communication recovery status parameters meet the preset redundancy recovery conditions, the candidate recovery link is identified as the target recovery object and its conduction status is adjusted, enabling communication to quickly switch to an available path. When there are multiple recoverable objects, the better recovery object is determined based on the communication recovery status parameters, which can improve recovery stability. Finally, the fault identification result is output based on the communication recovery result, which facilitates maintenance personnel to quickly identify the faulty object and recovery status. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 A flowchart of a redundant communication method for optical modules based on dual single-fiber bidirectional links provided in an embodiment of the present invention; Figure 2 A schematic diagram of a redundant optical module communication system based on dual single-fiber bidirectional links provided in an embodiment of the present invention; Figure 3 This is a diagram illustrating the internal structure of a redundant optical module provided in an embodiment of the present invention. Figure 4 This is a schematic diagram of the redundant optical module structure provided in an embodiment of the present invention; Figure 5 A comparative schematic diagram illustrating the application scenarios of the redundant dual-fiber optical module provided in the embodiments of the present invention; Figure 6 This is a schematic diagram of the internal structure of the mini-BOSA provided in an embodiment of the present invention; Figure 7 This is one of the enlarged partial views of the redundant optical module structure provided in the embodiments of the present invention; Figure 8 This is a second enlarged view of a redundant optical module structure provided in an embodiment of the present invention; Figure 9 This is the third enlarged partial view of the redundant optical module structure provided in the embodiment of the present invention; Reference numerals in the attached diagram: 1. First unit mini-BOSA; 2. First unit ROSA-FPC; 3. Second unit mini-BOSA; 4. Second unit ROSA-FPC; 5. PCBA; 6. Second unit TOSA-FPC; 7. First unit TOSA-FPC; 8. Black adhesive; 9. ROSA-TO9; 10. Component holder; 11. LC ferrule; 12. Fiber optic protection ring; 13. Filter; 14. Core cover; 15. Core sleeve; 16. TOSA-TO. Detailed Implementation
[0025] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0026] In embodiments of the present invention, words such as "exemplarily," "for example," etc., are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in the present invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present the concept in a concrete manner. Furthermore, in embodiments of the present invention, the meaning expressed by "and / or" can be both, or either one.
[0027] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0028] The embodiments of the present invention provide, as follows Figure 1 The flowchart shown is a redundancy communication method for optical modules based on dual single-fiber bidirectional links. The processing flow of this method may include the following steps: S1: Obtain the link configuration data between the target redundant optical module and the peer redundant optical module, determine the transceiver components connected to each single-fiber bidirectional link, and obtain the link component correspondence. A single-fiber bidirectional link is formed by the local transceiver component, the peer transceiver component, and the optical fiber connection between them. The transceiver components are used to realize bidirectional conversion between the electrical signals on the device side and the optical signals on the fiber side.
[0029] In this step, the link configuration data includes the local transceiver component identifier, the peer transceiver component identifier, the fiber connection identifier, the transmit status, the receive status, and the channel connectivity status. The transceiver component identifier distinguishes different transceiver components within the same redundant optical module, such as the first transceiver component and the second transceiver component; the fiber connection identifier distinguishes different fiber connections between the target redundant optical module and the peer redundant optical module; the transmit status indicates whether the transceiver component is in transmit mode; the receive status indicates whether the transceiver component has received an optical signal from the peer; and the channel connectivity status indicates whether the device-side signal is currently connected to the corresponding transceiver component.
[0030] Within the same communication process, the transmission status of the local transceiver component, the reception status of the remote transceiver component, the reception status of the local transceiver component, and the transmission status of the remote transceiver component are recorded respectively. If the local transceiver component changes from a non-transmitting state to a transmitting state, the receiving path monitoring data of the remote transceiver component is read through the module controller of the remote redundant optical module to obtain the remote receiving status. The receiving path monitoring data includes whether the remote transceiver component detects the corresponding optical signal, whether it forms a device-side electrical signal output through the receiving path, and whether the receiving path is marked as abnormal. When the corresponding optical signal is detected, a valid electrical signal output is formed, and the receiving path is not marked as abnormal, the remote receiving status is recorded as a receiving state; otherwise, it is recorded as a non-receiving state. If the remote receiving status changes from a non-receiving state to a receiving state within the same communication process, it is determined that a corresponding response has been formed, and the positive response flag is set to 1; if the local transceiver component changes its transmission status but the remote transceiver component does not form a corresponding receiving status change, the positive response flag is set to 0. The positive response flag is used to indicate whether a correspondence between sending and receiving can be formed from this end to the other end.
[0031] If the peer transceiver changes from a non-transmitting state to a transmitting state, and the local transceiver changes from a non-receiving state to a receiving state within the same communication process, it is determined that the peer's transmitting state change forms a corresponding response in the local receiving state, and the reverse response flag is set to 1. If the peer transceiver changes its transmitting state but the local transceiver does not form a corresponding receiving state change, the reverse response flag is set to 0. The reverse response flag indicates whether a corresponding relationship between transmitting and receiving can be formed from the peer to the local end.
[0032] The positive and negative response flags are combined in a fixed order to generate a bidirectional status code for the corresponding transceiver component combination. For example, if the positive response flag is used as the high bit and the negative response flag as the low bit, the bidirectional status code can be 11, 10, 01, or 00. Here, 11 indicates a valid response in both the local-to-remote and remote-to-local directions; 10 indicates a valid response in the local-to-remote direction, but no valid response in the remote-to-local direction; 01 indicates a valid response in the remote-to-local direction, but no valid response in the local-to-remote direction; and 00 indicates no valid response in either direction. The above encoding method is used to illustrate the generation rules of the bidirectional status code; in actual implementation, other data formats that can distinguish the response results in the two directions can also be used.
[0033] If the bidirectional status code is 11, it indicates that the local transceiver component and the remote transceiver component can form a transmission and reception correspondence in both communication directions, and the local transceiver component and the remote transceiver component are determined to be a valid link combination. If the bidirectional status code is 10, 01, or 00, it indicates that at least one communication direction does not form a transmission and reception correspondence, and the local transceiver component and the remote transceiver component are determined to be an invalid link combination. Invalid link combinations are not used as the basis for generating link component correspondence.
[0034] For the local and remote transceiver components identified as valid link combinations, a bidirectional response consistency parameter is calculated based on the positive and negative response flags. The bidirectional response consistency parameter is obtained by adding the positive and negative response flags. When both the positive and negative response flags are 1, the bidirectional response consistency parameter is 2, indicating that both communication directions are valid. When either flag is 0, the bidirectional response consistency parameter is less than 2, indicating that the corresponding transceiver component combination cannot meet the requirements for complete bidirectional communication. Since the aforementioned steps have already identified combinations with incomplete flags as invalid link combinations, valid link combinations entering the link availability judgment typically correspond to a bidirectional response consistency parameter of 2.
[0035] The availability status of a corresponding single-fiber bidirectional link is determined based on the bidirectional response consistency parameter. The preset availability condition is set as follows: the bidirectional response consistency parameter equals 2, and the channel conduction status of the corresponding local and remote transceiver components allows participation in redundant communication. When a valid link combination meets this preset availability condition, the link availability status is determined to be available; when a valid link combination does not meet this preset availability condition, the link availability status is determined to be restricted. Restricted link combinations are not used as the current target link combination. The preset availability condition can be written during system initialization or can be formed based on the optical module's factory configuration, communication equipment configuration, or settings by maintenance personnel. Its function is to determine whether a valid link combination can serve as an available link in the current redundant communication.
[0036] Valid link combinations with an available status are identified as target link combinations, and a link identifier is assigned to each target link combination. The link identifier uniquely identifies a single-fiber bidirectional link; for example, it can use L1, L2, or other numbering formats. Subsequently, a first correspondence is established between the link identifier and the local and remote transceiver components. This first correspondence specifies which local and remote transceiver components correspond to a given link identifier, that is, which two transceiver components form the single-fiber bidirectional link.
[0037] A second correspondence is further established between the link identifier and the positive response flag, the negative response flag, and the link availability status. This second correspondence describes the response results of the single-fiber bidirectional link in both the local-to-remote and remote-to-local directions, and whether the link can be used for redundant communication. Combining the first and second correspondences yields the link component correspondence. This correspondence includes at least the link identifier, the local transceiver component identifier, the remote transceiver component identifier, the positive response flag, the negative response flag, and the link availability status. Through this link component correspondence, the transceiver component composition corresponding to each single-fiber bidirectional link, the response results in both communication directions, and whether the link is available can be clearly identified.
[0038] S2, based on the correspondence between link components, obtains the channel status and corresponding bidirectional transmission status information of each transceiver component during redundant communication, and performs link status aggregation processing to obtain the redundant link characterization status. The channel status includes one or more of the following: transmitting path status, receiving path status, and current conduction status.
[0039] In this step, based on the first correspondence, the local and remote transceiver components corresponding to the current single-fiber bidirectional link are determined. Specifically, this includes: obtaining the link identifier corresponding to the single-fiber bidirectional link for which status data needs to be collected, and matching this link identifier with the link identifiers recorded in the first correspondence; when a matching record is found, reading the associated local and remote transceiver component identifiers in that record, and determining the transceiver component corresponding to the local transceiver component identifier as the local transceiver component of the current single-fiber bidirectional link, and determining the transceiver component corresponding to the remote transceiver component identifier as the remote transceiver component of the current single-fiber bidirectional link. The first correspondence can be understood as a table relating link identifiers to the transceiver components at both ends. For example, link L1 corresponds to the local first transceiver component and the remote second transceiver component, and link L2 corresponds to the local second transceiver component and the remote first transceiver component.
[0040] Based on the second correspondence, the forward and reverse response flags corresponding to the current single-fiber bidirectional link are determined. Specifically, this includes matching the link identifier of the current single-fiber bidirectional link with the link identifier recorded in the second correspondence; when a matching record is found, the associated forward and reverse response flags and link availability status are read from that record. The forward response flag indicates whether the direction from the local end to the remote end is confirmed as a valid response direction during the link configuration phase, and the reverse response flag indicates whether the direction from the remote end to the local end is confirmed as a valid response direction during the link configuration phase. For example, if both the forward and reverse response flags for link L1 are 1, it indicates that link L1 has a valid response basis in both directions; if one flag is 0, it indicates that the direction does not have a valid response basis.
[0041] Within a link status acquisition cycle, the channel status and bidirectional transmission status information of the local and remote transceiver components are read. A link status acquisition cycle refers to a time window used to determine the link's operational status. The transmit path status, receive path status, current conduction status, and transmission result read within this time window belong to the same link determination process. The transmit path status indicates whether the device-side electrical signal has been connected to the corresponding transceiver component and can be output to the fiber optic side through that component; the receive path status indicates whether the corresponding transceiver component can convert the optical signal received on the fiber optic side into an electrical signal for output; the current conduction status indicates which transceiver component or path is currently participating in the communication. Bidirectional transmission status information indicates the actual transmission results of the current single-fiber bidirectional link in the local-to-remote and remote-to-local directions, including, for example, whether there is a received response, whether there is a communication interruption, and whether there is a data transmission failure.
[0042] Based on the current connectivity status, determine the actual transmitting and receiving paths involved in the communication. If the current connectivity status indicates that the transmitting path of a certain transceiver component on the local end is selected, then that transmitting path is taken as the actual transmitting path from the local end to the remote end; if the current connectivity status indicates that the receiving path of a certain transceiver component on the remote end is selected, then that receiving path is taken as the actual receiving path from the local end to the remote end. The reverse direction is similar; determine the actual reverse path involved in the communication based on the connectivity status of the remote end's transmitting path and the local end's receiving path.
[0043] After determining the actual transmitting and receiving paths involved in the communication, the actual transmission results from this end to the other end are quantified to generate a positive actual response bit. The positive actual response bit indicates whether the signal sent by this end has resulted in a valid reception result at the other end. When the receiving path at the other end generates a reception response within the same link status acquisition period, and the corresponding communication result is not marked as a transmission failure, the positive actual response bit is assigned a value of 1. When the other end does not generate a reception response or the corresponding communication result is marked as a transmission failure, the positive actual response bit is assigned a value of 0. The positive response flag bit and the positive actual response bit are multiplied to obtain the current positive response value; that is, the current positive response value is equal to the positive response flag bit multiplied by the positive actual response bit. If both the positive response flag bit and the positive actual response bit are 1, the current positive response value is 1, indicating that the current transmission response from this end to the other end meets the response requirements confirmed during the link configuration phase. If the positive response flag bit is 1 but the positive actual response bit is 0, the current positive response value is 0, indicating that the current transmission response in this direction does not meet the corresponding requirements.
[0044] Similarly, the actual transmission results from the peer to the local end are quantized to generate a reverse actual response bit. The reverse actual response bit indicates whether the signal from the peer has resulted in a valid reception result at the local end. When the local receiving path generates a reception response within the same link state acquisition period, and the corresponding communication result is not marked as a transmission failure, the reverse actual response bit is set to 1. When the local end does not generate a reception response or the corresponding communication result is marked as a transmission failure, the reverse actual response bit is set to 0. The reverse response flag bit and the reverse actual response bit are multiplied to obtain the reverse current response value; that is, the reverse current response value is equal to the reverse response flag bit multiplied by the reverse actual response bit. If both the reverse response flag bit and the reverse actual response bit are 1, the reverse current response value is 1, indicating that the current transmission response from the peer to the local end meets the corresponding requirements. If the reverse response flag bit is 1 but the reverse actual response bit is 0, the reverse current response value is 0, indicating that the current transmission response in this direction does not meet the corresponding requirements.
[0045] In this configuration, 1 indicates a valid response in the current direction, and 0 indicates an invalid response in the current direction. If both the forward and reverse response status bits are 1, the current single-fiber bidirectional link is determined to be in a bidirectional normal state, meaning that both communication directions can complete effective transmission. If one of the forward and reverse response status bits is 1 and the other is 0, the current single-fiber bidirectional link is determined to be in a unidirectional abnormal state, meaning that one direction can transmit while the other cannot. If both the forward and reverse response status bits are 0, the current single-fiber bidirectional link is determined to be in a bidirectional abnormal state, meaning that neither communication direction has formed effective transmission.
[0046] The redundant link representation status is formed by aggregating the link identifier, local transceiver component identifier, remote transceiver component identifier, current conduction status, transmitting path status, receiving path status, positive response status bit, negative response status bit, and current link status. It's important to understand that the redundant link representation status is not simply a stack of 1s and 0s. Instead, it uses the link identifier as an index, and the local and remote transceiver component identifiers as fields to distinguish them. Then, it writes the current conduction status, transmitting path status, receiving path status, positive response status bit, negative response status bit, and current link status in a fixed field order to form a link status record. For example, L1-A1-B2-1-1-0-1-0-One-way anomaly indicates that link L1 is formed by local A1 and remote B2, is currently in a conducting state, the transmitting path is valid, the receiving path is abnormal, the positive response is valid, and the negative response is invalid. The redundant link representation status is a data set composed of multiple link status records, used to distinguish different links, different transceiver components, and their current operating states.
[0047] S3, anomaly handling is performed based on the redundant link characterization status. This anomaly handling includes anomaly link location processing in Scenario 1 and faulty component association processing in Scenario 2, used to determine the target anomaly link or faulty transceiver component. The redundant link characterization status includes the forward response status bit, reverse response status bit, transmit path status, receive path status, and current conduction status of the current single-fiber bidirectional link. The forward response status bit indicates whether a valid transmission can be formed from the local end to the remote end, and the reverse response status bit indicates whether a valid transmission can be formed from the remote end to the local end.
[0048] Scenario 1 assumes the current single-fiber bidirectional link is in a unidirectional abnormal state. A unidirectional abnormal state means that one of the forward response status bits indicates a valid response, while the other indicates an invalid response. In this case, the abnormal transmission direction is first determined based on the direction of the invalid response. If the direction from this end to the other end is invalid, the corresponding transceiver component at this end is designated as the transmitting transceiver component, and the corresponding transceiver component at the other end is designated as the receiving transceiver component. If the direction from the other end to this end is invalid, the corresponding transceiver component at the other end is designated as the transmitting transceiver component, and the corresponding transceiver component at this end is designated as the receiving transceiver component. Then, the transmitting path status of the transmitting transceiver component is converted to a transmitting abnormal bit, and the receiving path status of the receiving transceiver component is converted to a receiving abnormal bit. Specifically, the abnormal bit is set to 0 when the path status is normal, and 1 when the path status is abnormal.
[0049] Subtracting the receiving error bit from the transmitted error bit yields the one-way error association parameter. If the transmitted error bit is 1 and the receiving error bit is 0, the one-way error association parameter is 1, indicating that there is an error on the transmitting side corresponding to the abnormal transmission direction, but the receiving side has not indicated an error, and the transmitting-side transceiver component is identified as a faulty transceiver component. If the transmitted error bit is 0 and the receiving error bit is 1, the one-way error association parameter is -1, indicating that there is an error on the receiving side corresponding to the abnormal transmission direction, but the transmitting side has not indicated an error, and the receiving-side transceiver component is identified as a faulty transceiver component. If both the transmitted and receiving error bits are 0, or both are 1, the one-way error association parameter is 0, indicating that the one-way error cannot be attributed to only one transceiver component on the transmitting or receiving side, and the current single-fiber bidirectional link is identified as the target abnormal link.
[0050] Scenario 2 assumes the current single-fiber bidirectional link is in a bidirectional abnormal state. A bidirectional abnormal state means both the forward and reverse response status bits indicate an invalid response. In this case, a same-side merging judgment is performed on both the local and remote transceiver components. Same-side merging judgment means analyzing the combined transmit and receive path states of the same transceiver component only within that component. Specifically, the transmit and receive path states of the local transceiver component are converted into local transmit and receive abnormal bits, respectively, and then added to obtain the local attribution value. Similarly, the transmit and receive path states of the remote transceiver component are converted into remote transmit and receive abnormal bits, respectively, and then added to obtain the remote attribution value. The local and remote attribution values constitute the bidirectional fault attribution parameter. If the local attribution value is 2 and the remote attribution value is less than 2, it indicates that both the transmitting and receiving paths of the local transceiver component are abnormal, and the local transceiver component is identified as a faulty transceiver component. If the remote attribution value is 2 and the local attribution value is less than 2, the remote transceiver component is identified as a faulty transceiver component. If both the local and remote attribution values are 2, or both are less than 2, the bidirectional fault attribution parameter does not point to a single transceiver component, and the current single-fiber bidirectional link is identified as the target abnormal link.
[0051] In another embodiment, when multiple single-fiber bidirectional links exhibit anomalies simultaneously within the same detection period, scenarios 1 and 2 are allowed to coexist. In this case, corresponding unidirectional anomaly association parameters or bidirectional fault attribution parameters are generated for each single-fiber bidirectional link, and grouped according to anomaly type. For unidirectional abnormal links, faulty transceiver components on the transmitting or receiving side are identified first. For bidirectional abnormal links, it is prioritized to determine whether the transmitting and receiving paths of the same transceiver component are simultaneously abnormal. If the same transceiver component appears in multiple anomaly results, that transceiver component is prioritized as the faulty transceiver component. If multiple anomaly results do not point to the same transceiver component, the corresponding single-fiber bidirectional link is identified as the target abnormal link. This processing method maintains a clear judgment order when multiple anomalies occur simultaneously, avoiding misjudging link anomalies as single transceiver component failures.
[0052] S4, based on the communication recovery status corresponding to the target abnormal link or faulty transceiver component, adjust the conduction status of the redundant communication channel to switch the communication to an available single-fiber bidirectional link or an available transceiver component, and output the fault identification result at the same time.
[0053] For Scenario 1, when the one-way anomaly association parameter points to either the transmitting or receiving transceiver component, the identified faulty transceiver component is designated as the current object to be isolated. If the one-way anomaly association parameter does not point to a single transceiver component but instead identifies the current single-fiber bidirectional link as the target faulty link, that target faulty link is designated as the current object to be isolated. For Scenario 2, when the bidirectional fault attribution parameter points to a faulty transceiver component, that faulty transceiver component is designated as the current object to be isolated. If the bidirectional fault attribution parameter does not point to a single transceiver component but instead identifies the current single-fiber bidirectional link as the target faulty link, that target faulty link is designated as the current object to be isolated. Objects to be isolated refer to faulty links or faulty transceiver components that will no longer participate in current communication during subsequent communication recovery.
[0054] After identifying the object to be isolated, candidate recovery links are selected from single-fiber bidirectional links or transceiver components that have never included the object to be isolated, based on the corresponding relationship of link components. A candidate recovery link is a backup link or backup transceiver component that, in terms of structural connection, can replace the abnormal communication path to continue communication. For example, if the faulty object is the local first transceiver component, then the link containing the local first transceiver component is not considered a candidate recovery link; if the faulty object is a single-fiber bidirectional link, then that link is not considered a candidate recovery link.
[0055] For each candidate recovery link, the link availability status, positive response status bit, negative response status bit, and current conduction status are read and converted into corresponding status bits. The link availability status is assigned a value of 1 if the availability condition is met, otherwise a value of 0; the positive response status bit is assigned a value of 1 if it is valid, otherwise a value of 0; the negative response status bit is assigned a value of 1 if it is valid, otherwise a value of 0; the current conduction status indicates that the candidate recovery link can be connected or switched, assigned a value of 1, otherwise a value of 0. These four status bits are combined in a fixed order to generate communication recovery status parameters. For example, a communication recovery status parameter of 1111 indicates that the candidate recovery link is available, the positive response is valid, the negative response is valid, and it can be connected; if any bit in the communication recovery status parameter is 0, it indicates that the candidate recovery link has corresponding restrictions.
[0056] The preset redundancy recovery conditions can be set as follows: the link availability status bit, forward response status bit, reverse response status bit, and conduction status bit are all 1. Alternatively, depending on the system configuration, the sum of the four status bits can reach a preset recovery threshold, and the forward and reverse response status bits are both 1. If the communication recovery status parameters meet the preset redundancy recovery conditions, i.e., the communication recovery status parameters indicate that the candidate recovery link is available, both communication directions can form effective responses, and the candidate recovery link has the conditions to be conducted or switched, then the corresponding candidate recovery link is identified as the target recovery object, and the conduction status of the corresponding communication link is adjusted so that communication is switched from the abnormal communication path corresponding to the object to be isolated to the available communication path corresponding to the target recovery object. If the communication recovery status parameters do not meet the preset redundancy recovery conditions, i.e., the link is unavailable, neither communication direction can form an effective response, or the candidate recovery link does not have the conditions to be conducted or switched, then the corresponding candidate recovery link is identified as an unrecoverable object, and other candidate recovery links are further evaluated.
[0057] When multiple candidate recovery links meet the preset redundancy recovery conditions, the target recovery object can be determined based on the sum of the status bits corresponding to the communication recovery status parameters or the preset link priority. After completing the conduction status adjustment, the bidirectional transmission status information of the target recovery object is reacquired, and the reacquired local-to-remote transmission results are converted into recovery positive status bits, and the reacquired remote-to-local transmission results are converted into recovery reverse status bits. A recovery positive status bit of 1 indicates that local-to-remote recovery is valid, and a recovery reverse status bit of 1 indicates that remote-to-local recovery is valid. If both the recovery positive and recovery reverse status bits are 1, a successful communication recovery result is generated. The successful communication recovery result includes a successful recovery flag, the target recovery object, the restored link conduction status, and the corresponding recovery verification status code. If any recovery status bit is 0, an incomplete recovery result is generated, and the candidate recovery link judgment continues or a recovery failure message is output.
[0058] Based on the same inventive concept as the aforementioned optical module redundancy communication method based on dual single-fiber bidirectional links, this embodiment of the invention also provides an optical module redundancy communication system based on dual single-fiber bidirectional links. This system performs the link configuration acquisition, redundancy status aggregation, abnormal object identification, and communication channel recovery processes described in the above method. It controls the target redundant optical module and the peer redundant optical module through a communication controller, enabling each functional unit to perform corresponding data reading, status analysis, anomaly detection, and channel adjustment operations, thereby realizing the corresponding execution of the method steps within the system structure.
[0059] This invention provides an optical module redundancy communication system based on dual single-fiber bidirectional links, such as... Figure 2The diagram shows a structural schematic of an optical module redundant communication system based on dual single-fiber bidirectional links. The system may include: a link configuration parsing unit, a redundancy status aggregation unit, an abnormal object identification unit, a channel recovery execution unit, and a communication controller.
[0060] The communication controller controls the target redundant optical module and the peer redundant optical module to perform redundant communication, anomaly identification, and channel recovery operations. The link configuration parsing unit controls the module controller to read the link configuration data between the target redundant optical module and the peer redundant optical module, determine the transceiver components connected to each single-fiber bidirectional link, and obtain the link component correspondence. Both the target redundant optical module and the peer redundant optical module include at least two transceiver components, a channel selection circuit, and a module controller. The redundancy status aggregation unit, based on the link component correspondence, controls the module controller to obtain the channel status of each transceiver component during redundant communication and the corresponding link configuration. The system receives bidirectional transmission status information and performs link status aggregation processing to obtain the redundant link characterization status; the abnormal object identification unit is used to perform abnormal link location processing and / or faulty transceiver component association processing based on the redundant link characterization status to determine the corresponding target abnormal link and / or faulty transceiver component; the channel recovery execution unit is used to output channel adjustment instructions to the channel selection circuit based on the communication recovery status corresponding to the target abnormal link and / or faulty transceiver component, so as to adjust the conduction status of the redundant communication channel, switch the communication to the available single-fiber bidirectional link or available transceiver component, and output the fault identification result at the same time.
[0061] like Figure 3The diagram shows the internal structure of the redundant optical module. In the diagram, the external input differential signals TD+ and TD- (Transmit Data Positive / Negative) enter the module via switch 1. Switch 1, under the control of the microcontroller unit (MCU), can selectively connect the transmit signal to either the TD1 or TD2 path. The external output differential signals RD+ and RD- are output by switch 2. Switch 2, under the control of the MCU, can selectively receive signals from either the RD1 or RD2 path. The module internally includes a first transceiver component and a second transceiver component, both of which include a driver circuit, a limiting amplifier circuit, a read-only memory (ROM), a laser, a detector, and a mini bidirectional optical sub-assembly (mini-BOSA) structure. In the transmitting direction, the driver circuit drives the laser to convert the electrical signal into an optical signal; in the receiving direction, the detector converts the optical signal into an electrical signal, which is then output after being limited and amplified by the limiting amplifier circuit. The MCU reads the status of the transceiver components and controls the power switches through interfaces such as the serial data line (SDA) and the serial clock line (SCL), realizing the channel switching between the first and second transceiver components, thereby providing a hardware foundation for subsequent redundant communication and fault recovery.
[0062] like Figure 4The schematic diagram of the redundant optical module structure shown illustrates the arrangement of two sets of single-fiber bidirectional transceiver structures within a standard optical module form factor, using a Small Form Factor (SFF) package as an example. The diagram includes the first unit mini bidirectional optical sub-assembly (mini-BOSA), the first unit receiver optical sub-assembly flexible printed circuit board (ROSA-FPC), the second unit mini bidirectional optical sub-assembly (mini-BOSA), the second unit receiver optical sub-assembly flexible printed circuit board (ROSA-FPC), a printed circuit board assembly (PCBA), the second unit transmitter optical sub-assembly flexible printed circuit board (TOSA-FPC), and the first unit transmitter optical sub-assembly flexible printed circuit board (TOSA-FPC). Two mini-BOSAs are connected to the PCBA via corresponding ROSA-FPC and TOSA-FPC, respectively. The driving circuit on the PCBA provides electrical signals to the transmitter, and the receiver transmits the photoelectric converted signals back to the PCBA via a flexible circuit board. During operation, both the first and second units can independently transmit and receive optical signals, and can form a primary or backup transceiver channel under the switching of the control circuit, thereby achieving redundant communication without changing the external LC interface connection method.
[0063] like Figure 5The diagram illustrates a comparison of application scenarios for dual-fiber optical modules. The upper part shows a typical dual-fiber optical module scenario: the ASIC switching chip on the switch side outputs TD+ and TD- differential signals, which are converted into optical signals by the driver circuit and TOSA and then transmitted to the peer optical module via one optical fiber. The peer return signal is received by ROSA via another optical fiber and amplified by clipping to form RD+ and RD- signals. Therefore, each optical fiber typically undertakes unidirectional transmission. The lower part shows a redundant dual-fiber optical module scenario: both optical modules A and B contain a first transceiver component, a second transceiver component, and an electrical switch structure. The two modules form a dual-single-fiber bidirectional link via optical fibers. The optical path information in each fiber can be transmitted bidirectionally using wavelength division multiplexing, enabling the first and second transceiver components to form a switchable redundant communication relationship. When one of the transmitting, receiving, or transceiver components malfunctions, the electrical switch can control the switch to the backup path, improving communication continuity.
[0064] like Figure 6 The diagram shows the internal structure of the mini-BOSA. This structure integrates the transmitting and receiving optical components within the same housing. Label 8 represents black adhesive, used to fix and protect the internal optical components from light; label 9 represents the Receiver Optical Sub-Assembly Transistor Outline (ROSA-TO), used to receive optical signals from the fiber optic side and perform photoelectric conversion; label 10 represents the assembly base, used to support and position the various optical components; label 11 represents the Lucent Connector ferrule, used to connect with the external LC fiber optic interface; label 12 represents the fiber guard ring, used to protect the fiber optic connection end and improve connection stability; label 13 represents the splitter filter, used to separate or combine transmitting and receiving light of different wavelengths; label 14 represents the die cap, used to encapsulate and protect the die structure; label 15 represents the die sleeve, used to fix and protect the corresponding optical component die; and label 16 represents the Transmitter Optical Sub-Assembly Transistor. The mini-BOSA (Outline, TOSA-TO) is used to generate transmitted optical signals and perform electro-optical conversion. Through the above mini-BOSA structure, a single transceiver component can simultaneously perform transmission and reception functions on a single optical fiber, providing an optical structural basis for the construction of dual single-fiber bidirectional links, redundant channel switching, and abnormal link recovery.
[0065] like Figure 7 , Figure 8 and Figure 9 As shown, all are Figure 4A partially enlarged schematic diagram of the medium-redundancy optical module structure is shown to illustrate the assembly relationship between the two sets of single-fiber bidirectional transceiver structures and the circuit board from different viewing angles. Figure 7 The relative positions of the first unit mini-BOSA, the second unit mini-BOSA, and their corresponding ROSA-FPC, TOSA-FPC, and PCBA are shown, which helps to illustrate the distribution of the two transceiver components within the module; Figure 8 The layout of the dual LC interfaces, two sets of optical devices, and circuit components on the PCBA board is shown from a top-down perspective, demonstrating the integration of the redundant transceiver structure within a standard package space. Figure 9 The overall connection between the optical interface, transceiver components, and circuit board is shown from an oblique view, further illustrating that the redundant optical module achieves dual transceiver component integration while maintaining the conventional interface shape.
[0066] Although preferred embodiments of the invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including both the preferred embodiments and all changes and modifications falling within the scope of the invention.
[0067] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A redundant communication method for optical modules based on dual single-fiber bidirectional links, characterized in that, The method includes: S1, obtain the link configuration data between the target redundant optical module and the peer redundant optical module, determine the transceiver components connected to each single-fiber bidirectional link, and obtain the link component correspondence; The single-fiber bidirectional link is formed by a local transceiver component, a remote transceiver component, and an optical fiber connection between the two. The transceiver component is used to realize bidirectional conversion between electrical signals on the device side and optical signals on the optical fiber side. S2, based on the correspondence of the link components, obtain the channel status and corresponding bidirectional transmission status information of each transceiver component in the redundant communication process, and perform link status aggregation processing to obtain the redundant link characterization status. The channel status includes one or more of the following: transmission path status, reception path status, and current conduction status. S3, based on the redundant link characterization status, perform abnormal link location processing and / or faulty transceiver component association processing to determine the corresponding target abnormal link and / or faulty transceiver component. S4. Based on the communication recovery status parameters corresponding to the target abnormal link and / or faulty transceiver component, adjust the conduction status of the redundant communication channel to switch the communication to an available single-fiber bidirectional link, and output the fault identification result.
2. The optical module redundancy communication method based on dual single-fiber bidirectional links as described in claim 1, characterized in that, S1 includes: Based on the correspondence between the changes in the local sending state and the remote receiving state within the same communication process, and the correspondence between the changes in the local receiving state and the remote sending state, a bidirectional status code for the corresponding transceiver component combination is generated. The bidirectional state code word includes a positive response flag bit and a negative response flag bit. The positive response flag bit is used to characterize whether a change in the transmission state of the local transceiver component forms a corresponding response in the reception state of the remote transceiver component. The negative response flag bit is used to characterize whether a change in the transmission state of the remote transceiver component forms a corresponding response in the reception state of the local transceiver component. If the bidirectional status code indicates that both the positive response flag and the negative response flag are in a valid response state, then the corresponding local transceiver component and the peer transceiver component are determined to be a valid link combination. If the bidirectional status code indicates that at least one of the positive response flag and the negative response flag is not in a valid response state, then the corresponding local transceiver component and the peer transceiver component are determined to be an invalid link combination.
3. The optical module redundancy communication method based on dual single-fiber bidirectional links as described in claim 2, characterized in that, S1 further includes: For the local and remote transceiver components that are identified as valid link combinations, the link availability status of the corresponding single-fiber bidirectional link is determined based on the obtained bidirectional response consistency parameters. The bidirectional response consistency parameter is determined by comparing the sending and receiving states of the local transceiver component and the peer transceiver component in two communication directions. Valid link combinations whose link availability does not meet the preset availability conditions are identified as restricted link combinations and are not used as the current target link combinations. The effective link combination whose link availability status meets the preset availability conditions is identified as the target link combination, and a corresponding link identifier is assigned to the target link combination; Establish a first correspondence between the link identifier and the local transceiver component and the remote transceiver component. The first correspondence is used to characterize the compositional affiliation between the single-fiber bidirectional link and its two transceiver components. A second correspondence is established between the link identifier and the positive response flag, the negative response flag, and the link availability status. The second correspondence is used to characterize the bidirectional response status and availability of the single-fiber bidirectional link.
4. The optical module redundancy communication method based on dual single-fiber bidirectional links as described in claim 3, characterized in that, S2 includes: Based on the first correspondence, the local transceiver component and the remote transceiver component corresponding to the current single-fiber bidirectional link are determined, and the positive response flag and the negative response flag corresponding to the single-fiber bidirectional link are determined based on the second correspondence. Read the channel status and bidirectional transmission status information of the local transceiver component and the remote transceiver component within the same link status acquisition period; The actual transmission and reception paths involved in the communication are determined based on the current conduction status. The transmission status information from this end to the other end is compared with the positive response flag to obtain the positive current response value. The transmission status information from the other end to this end is compared with the negative response flag to obtain the negative current response value. The positive current response value is used to characterize whether the transmission response of the current single-fiber bidirectional link in the direction from this end to the other end meets the corresponding requirements, and the negative current response value is used to characterize whether the transmission response of the current single-fiber bidirectional link in the direction from the other end to this end meets the corresponding requirements.
5. The optical module redundancy communication method based on dual single-fiber bidirectional links as described in claim 4, characterized in that, S2 further includes: The positive current response value and the negative current response value are converted into response states in the corresponding directions to obtain a positive response state bit and a negative response state bit. The positive response state bit is used to characterize whether the response is valid in the direction from this end to the other end, and the negative response state bit is used to characterize whether the response is valid in the direction from the other end to this end. If both the positive response status bit and the negative response status bit indicate that the response is valid, then the current single-fiber bidirectional link is determined to be in a bidirectional normal state. If one of the positive response status bits and the negative response status bits indicates that the response is valid and the other indicates that the response is invalid, then the current single-fiber bidirectional link is determined to be in a unidirectional abnormal state. If both the positive response status bit and the negative response status bit indicate that the response is invalid, then the current single-fiber bidirectional link is determined to be in a bidirectional abnormal state.
6. The optical module redundancy communication method based on dual single-fiber bidirectional links as described in claim 5, characterized in that, S3 includes: When the current single-fiber bidirectional link is in a unidirectional abnormal state, determine the transmitting and receiving transceiver components corresponding to the abnormal transmission direction, and generate unidirectional abnormality association parameters based on the corresponding transmitting and receiving path states. If the one-way anomaly correlation parameter indicates an anomaly on the sending side, then the sending-side transceiver component is identified as a faulty transceiver component. If the one-way anomaly correlation parameter indicates an anomaly on the receiving side, then the receiving-side transceiver component is identified as a faulty transceiver component. If the unidirectional anomaly association parameter does not point to a single transceiver component, then the current single-fiber bidirectional link is identified as the target anomaly link.
7. The optical module redundancy communication method based on dual single-fiber bidirectional links as described in claim 5, characterized in that, S3 further includes: When the current single-fiber bidirectional link is in a bidirectional abnormal state, the transmit path status and receive path status of the same transceiver component are merged and judged on the same side to generate bidirectional fault attribution parameters. If the bidirectional fault attribution parameter indicates that both the transmission and reception paths of a certain transceiver component are abnormal, then the transceiver component is identified as a faulty transceiver component. If the bidirectional fault attribution parameter does not point to a single transceiver component, the current single-fiber bidirectional link is identified as the target abnormal link.
8. The optical module redundancy communication method based on dual single-fiber bidirectional links as described in claim 6 or 7, characterized in that, S4 includes: Based on the faulty transceiver component or the target abnormal link, determine the object to be isolated. Based on the link component correspondence, candidate recovery links are selected from single-fiber bidirectional links or transceiver components that have never contained the object to be isolated. Read the link availability status, positive response status bit, negative response status bit and current conduction status corresponding to the candidate recovery link, convert them into corresponding status bits respectively, and combine them to generate communication recovery status parameters; The communication recovery status parameter is a status code used to characterize whether the candidate recovery link has the conditions to resume communication.
9. The optical module redundancy communication method based on dual single-fiber bidirectional links as described in claim 8, characterized in that, S4 further includes: If the communication recovery status parameter indicates that the candidate recovery link meets the preset redundancy recovery conditions, then the candidate recovery link is determined as the target recovery object, and the conduction status of the corresponding communication link is adjusted based on the target recovery object, so that the communication is switched from the abnormal communication path corresponding to the object to be isolated to the available communication path corresponding to the target recovery object. If the communication recovery status parameter indicates that the candidate recovery link does not meet the preset redundancy recovery condition, then the candidate recovery link is determined as an unrecoverable object, and new candidate recovery links are determined from other single-fiber bidirectional links or transceiver components that have never been associated with the object to be isolated. If multiple candidate recovery links meet the preset redundancy recovery conditions, the target recovery object is determined according to the communication recovery status parameters corresponding to each candidate recovery link. Obtain the communication recovery result corresponding to the target recovery object, and output the fault identification result based on the communication recovery result. The fault identification result includes one or more of the following: faulty transceiver component, target abnormal link, object to be isolated, target recovery object, and redundant recovery status.
10. A redundant optical module communication system based on dual single-fiber bidirectional links, characterized in that, The system includes: a link configuration parsing unit, a redundancy status aggregation unit, an abnormal object identification unit, a channel recovery execution unit, and a communication controller; The communication controller is used to control the target redundant optical module and the peer redundant optical module to perform redundant communication, anomaly identification and channel recovery operations. The link configuration parsing unit is used to control the module controller to read the link configuration data between the target redundant optical module and the peer redundant optical module, determine the transceiver components connected to each single-fiber bidirectional link, and obtain the link component correspondence. Both the target redundant optical module and the peer redundant optical module include at least two transceiver components, a channel selection circuit, and a module controller. The redundant status aggregation unit is used to control the module controller based on the correspondence of the link components, to obtain the channel status and corresponding bidirectional transmission status information of each transceiver component in the redundant communication process, and to perform link status aggregation processing to obtain the redundant link characterization status. The abnormal object identification unit is used to perform abnormal link location processing and / or faulty transceiver component association processing based on the redundant link characterization status, so as to determine the corresponding target abnormal link and / or faulty transceiver component. The channel recovery execution unit is used to control the module controller to output a channel adjustment command to the channel selection circuit based on the communication recovery status parameters corresponding to the target abnormal link and / or faulty transceiver component, so as to adjust the conduction status of the redundant communication channel, switch the communication to the available single-fiber bidirectional link, and output the fault identification result at the same time.