Optical communication system, method, hybrid optical module and computer program product

By introducing hybrid optical modules and corresponding control modules into the optical communication system, the problem of port layout difficulties in optical communication systems is solved, and independent access and low-cost expansion of passive optical networks and Ethernet optical networks are realized.

CN119788998APending Publication Date: 2025-04-08TP-LINK INT CHENGDU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411905636.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The ports of passive optical network optical modules in optical communication systems and the ports of Ethernet optical modules are separately set, resulting in difficulties in port layout and the existing technology fails to provide effective solutions.

Method used

An optical communication system is designed, including at least one port module, an Ethernet optical switching module, a passive optical network media access control module, and a control module. The port module is used to access the hybrid optical module at least, which can be accessed to the passive optical network and the Ethernet optical network. The control module identifies the type of optical module connected to it and controls the opening and closing of the working channel according to the type.

Benefits of technology

Through the use of hybrid optical modules, independent access to passive optical networks and Ethernet optical networks is achieved, reducing the complexity of port layout, and expanding the number of optical modules that the port module of the optical communication system can access at low cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119788998A_ABST
    Figure CN119788998A_ABST
Patent Text Reader

Abstract

The present application discloses an optical communication system, method, hybrid optical module and computer program product. The optical communication system includes: at least one port module, each port module is at least used to access a hybrid optical module, and the hybrid optical module is used to access a passive optical network and an Ethernet optical network; a control module, which controls the opening and closing of the working channels of the Ethernet optical switching module and the passive optical network media access control module according to the type of the accessed optical module; an Ethernet switching module, which is used to receive, route and forward the Ethernet signal transmitted by the port module when the working channel is turned on; a passive optical network media access control module, which is used to receive, route and forward the passive optical network signal transmitted by the port module when the working channel is turned on. Through this application, the problem that the optical communication system in the related art sets the port of the passive optical network optical module and the port of the Ethernet optical module separately, resulting in difficulty in port layout, is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical communication technology, and in particular to an optical communication system, method, hybrid optical module and computer program product. Background Art

[0002] Optical Line Terminal (OLT) is a key device for passive optical network communication, and its function is to bridge the passive optical network terminal (ONT) at the data center and the user end.

[0003] The optical module is a key component of the OLT product that converts electrical signals into optical signals. The OLT requires a passive optical network (PON) optical module and an Ethernet optical module. Accordingly, the OLT product is equipped with a PON optical port and an uplink Ethernet optical port. The PON optical port exchanges data with the ONT through the PON optical module, and the uplink Ethernet optical port exchanges data with the Ethernet optical port of the data center through the Ethernet optical module.

[0004] It should be noted that the OLT product design in the related art generally designs the PON optical port and the uplink Ethernet optical port separately. However, the maximum width of the port panel of the OLT product is generally fixed. For products with a large number of ports, the port design in the related art easily leads to difficulties in port layout.

[0005] With regard to the problem that the optical communication system in the related art sets the ports of the passive optical network optical module and the ports of the Ethernet optical module separately, which leads to difficulty in port layout, no effective solution has been proposed so far. Summary of the invention

[0006] The present application provides an optical communication system, method, hybrid optical module and computer program product to solve the problem that the optical communication system in the related art sets the ports of the passive optical network optical module and the ports of the Ethernet optical module separately, which makes the port layout difficult.

[0007] According to another aspect of the present application, an optical communication system is provided. The system includes: at least one port module, an Ethernet optical switching module, a passive optical network media access control module, and a control module; each port module is at least used to access a hybrid optical module, and the hybrid optical module is used to access a passive optical network and an Ethernet optical network; the control module is connected to the port module, the Ethernet optical switching module, and the passive optical network media access control module, and is used to identify the type of optical module accessed by each port module, and control the opening and closing of the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module according to the type of the optical module; the Ethernet optical switching module is connected to the port module, and is used to receive the Ethernet signal transmitted by the port module when the working channel is turned on, and route and forward the Ethernet signal; the passive optical network media access control module is connected to the port module, and is used to receive the passive optical network signal transmitted by the port module when the working channel is turned on, and route and forward the passive optical network signal.

[0008] Optionally, each port module is used to connect to an Ethernet transmitter and an Ethernet receiver in the Ethernet optical switching module, and is also used to connect to a passive optical network transmitter and a passive optical network receiver in the passive optical network media access control module.

[0009] Optionally, in each port module, the pins connected to the Ethernet optical switching module are configured with Ethernet transmitter pins and Ethernet receiver pins, and the pins connected to the passive optical network media access control module are configured with passive optical network transmitter pins and passive optical network receiver pins.

[0010] Optionally, for a port module that is compatible with an access hybrid optical module or a passive optical network optical module or an Ethernet optical network optical module, the port module is connected to an Ethernet receiver and an Ethernet transmitter of an Ethernet optical switching module, and the port module is also connected to the Ethernet receiver of the Ethernet optical switching module and the passive optical network receiver of a passive optical network media access control module through a first serial-parallel converter switch, and the port module is also connected to the Ethernet transmitter of the Ethernet optical switching module and the passive optical network transmitter of the passive optical network media access control module through a second serial-parallel converter switch.

[0011] Optionally, for a port module that is compatible with an access hybrid optical module or a passive optical network optical module or an Ethernet optical module, the Ethernet transmitter pin and the Ethernet receiver pin of the port module are respectively connected to the Ethernet transmitter pin and the Ethernet receiver pin of the Ethernet optical switching module, and the passive optical network receiver pin of the port module is connected to the Ethernet receiver pin of the Ethernet optical switching module and the passive optical network receiver pin of the passive optical network media access control module through a first serial-parallel converter switch; the passive optical network transmitter pin of the port module is connected to the Ethernet transmitter pin of the Ethernet optical switching module and the passive optical network transmitter pin of the passive optical network media access control module through a second serial-parallel converter switch.

[0012] Optionally, in each port module, an I2C signal access pin is configured among the pins connected to the control module, and a ground pin connected to the control module is configured as a module presence signal identification pin.

[0013] According to one aspect of the present application, an optical communication method is provided. Applied to an optical communication system, the method includes: judging whether a port module is connected to an optical module according to an optical module in-position signal; in the case where the port module is connected to the optical module, identifying the type of the optical module according to an I2C signal; if the optical module type is a hybrid optical module, controlling the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module to be turned on; if the optical module type is a passive optical network optical module, controlling the working channel of the Ethernet optical switching module to be turned off, and controlling the working channel of the passive optical network media access control module to be turned on; if the optical module type is an Ethernet optical module, controlling the working channel of the passive optical network media access control module to be turned off, and controlling the working channel of the Ethernet optical switching module to be turned on.

[0014] Optionally, for a port module compatible with a hybrid optical module or a passive optical network optical module or an Ethernet optical module, the method further includes: if the optical module type is a passive optical network optical module, when the working channel of the Ethernet optical switching module is controlled to be closed and the working channel of the passive optical network media access control module is controlled to be opened, controlling the first serial-to-parallel converter switch connected to the passive optical network receiver pin of the port module and the second serial-to-parallel converter switch connected to the passive optical network transmitter pin of the port module to be selected to the passive optical network media access control module; if the optical module type is an Ethernet optical module, when the working channel of the Ethernet optical switching module is controlled to be opened and the working channel of the passive optical network media access control module is controlled to be closed, controlling the first serial-to-parallel converter switch and the second serial-to-parallel converter switch to be selected to the Ethernet optical switching module.

[0015] According to one aspect of the present application, a hybrid optical module is provided for accessing an optical communication system, including: a gold finger unit; an Ethernet transceiver, connected to the gold finger unit, and connected to a first filter component via a first transmitting photon component and a first receiving photon component; a passive optical network transceiver, connected to the gold finger unit, and connected to a second filter component via a second transmitting photon component and a second receiving photon component; a micro control unit, connected to the gold finger unit, and respectively connected to the Ethernet transceiver and the passive optical network transceiver.

[0016] Optionally, the Ethernet transmitter non-inverting input pin, Ethernet transmitter inverting input pin, Ethernet receiver inverting output pin, and Ethernet receiver non-inverting output pin set on the gold finger unit are respectively connected to the Ethernet transceiver; the passive optical network transmitter non-inverting input pin, passive optical network transmitter inverting input pin, passive optical network receiver inverting output pin, and passive optical network receiver non-inverting output pin set on the gold finger unit are respectively connected to the passive optical network transceiver; the micro control unit I2C signal access pin set on the gold finger unit is connected to the Ethernet transceiver.

[0017] According to another aspect of the present application, a computer program product is provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, an optical communication method is implemented.

[0018] Through the present application, the optical communication system adopts the following parts: at least one port module, an Ethernet optical switching module, a passive optical network media access control module and a control module; each port module is at least used to access a hybrid optical module, and the hybrid optical module is used to access a passive optical network and an Ethernet optical network; the control module is connected to the port module, the Ethernet optical switching module and the passive optical network media access control module, and is used to identify the type of optical module accessed by each port module, and control the opening and closing of the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module according to the type of the optical module; the Ethernet optical switching module is connected to the port module, and is used to receive the Ethernet signal transmitted by the port module when the working channel is turned on, and to route and forward the Ethernet signal; the passive optical network media access control module is connected to the port module, and is used to receive the passive optical network signal transmitted by the port module when the working channel is turned on, and to route and forward the passive optical network signal, which solves the problem that the optical communication system in the related art sets the port of the passive optical network optical module and the port of the Ethernet optical module separately, resulting in difficulty in port layout. The present application sets a port module in an optical communication system, and the port module is at least used to access a hybrid optical module. Since the hybrid optical module can access a passive optical network and an Ethernet optical network, the number of optical modules that can be accessed by the port module in the optical communication system is expanded at a low cost, thereby reducing the complexity of the port layout. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0020] Figure 1 is a schematic diagram of an optical communication system according to an embodiment of the present application;

[0021] Figure 2 is a schematic diagram of an optional optical communication system according to an embodiment of the present application;

[0022] Figure 3 is a circuit diagram of an optional optical communication system according to an embodiment of the present application Figure 1 ;

[0023] Figure 4 is a circuit diagram of an optional optical communication system according to an embodiment of the present application Figure 2 ;

[0024] Figure 5 is a circuit diagram of an optional optical communication system according to an embodiment of the present application Figure 3 ;

[0025] Figure 6is a circuit diagram of an optional optical communication system according to an embodiment of the present application Figure 4 ;

[0026] Figure 7 is a circuit diagram of an optional optical communication system according to an embodiment of the present application Figure 5 ;

[0027] Figure 8 is a schematic diagram of a hybrid optical module according to an embodiment of the present application;

[0028] Fig. 9 is a flow chart of an optical communication method according to an embodiment of the present application;

[0029] Fig.10 is a flow chart of an optional optical communication method according to an embodiment of the present application;

[0030] Fig.11 is a schematic diagram of an optical communication device according to an embodiment of the present application;

[0031] Fig.12 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0032] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0033] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0035] According to an embodiment of the present application, an optical communication system is provided. Figure 1 is a schematic diagram of an optical communication system according to an embodiment of the present application, such as Figure 1 As shown, the optical communication system includes:

[0036] At least one port module, an Ethernet optical switching module, a passive optical network media access control module and a control module.

[0037] Specifically, at least one port module, Ethernet optical switching module, passive optical network media access control module and control module can be set on a circuit board. The circuit board, also known as the PCB (Printed Circuit Board), is the basis of the entire optical communication system. Components such as the port module, Ethernet optical switching module, passive optical network media access control module and control module can be installed on the circuit board, and the transmission of electrical signals between the various components is achieved through the routing on the circuit board.

[0038] The optical communication system of this embodiment can be implemented on an OLT (Optical Line Terminal). Figure 2 is a schematic diagram of an optional optical communication system according to an embodiment of the present application, Figure 2 In the embodiment, the Ethernet optical switching module may be an Ethernet Switch chip, the passive optical network media access control module may be a PON MAC (Media Access Control) chip, and the control module may be a CPU (Central Processing Unit) or a FPGA (Field-Programmable Gate Array).

[0039] Each port module is at least used to access a hybrid optical module, and the hybrid optical module is used to access a passive optical network and an Ethernet optical network.

[0040] It should be noted that the number of port modules can be multiple ( Figure 1 and Figure 2 Only one is shown in the figure), there may be multiple types. For example, the port module may be a port module that only supports access to hybrid optical modules, or a port module that is compatible with access to hybrid optical modules or passive optical network optical modules, or a port module that is compatible with access to hybrid optical modules or Ethernet optical modules, or a port module that is compatible with access to hybrid optical modules or passive optical network optical modules or Ethernet optical modules.

[0041] Hybrid optical modules can be called Combo optical modules ( Figure 2The Combo optical module outputs two optical signals, one PON optical signal and one Ethernet optical signal. The interface type of the Combo optical module can be designed according to actual needs. For example, the interface type can be an LC (Lucent Connector) dual-fiber bidirectional (single-mode) interface. One LC-SC single-fiber bidirectional optical fiber is connected to the PON optical transceiver module (i.e., PON optical module) provided on the ONT for transmitting the PON optical signal. Another LC single-fiber bidirectional optical fiber is connected to the uplink GE / 10GE (Gigabit Ethernet) optical module provided on the core switch for transmitting 1GE or 10GE optical signals. The PON optical signal and the Ethernet optical signal are independent of each other and do not interfere with each other.

[0042] The control module is connected to the port module, the Ethernet optical switching module and the passive optical network media access control module, and is used to identify the type of optical module connected to each port module, and control the opening and closing of the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module according to the type of the optical module.

[0043] Among them, the control module reads the register of the optical module connected to the port module through the I2C bus, so as to know the type of the optical module. In addition, the control module also controls the light emission of the optical module through Control IO (Input / OutputContro). When the type of the optical module is a hybrid optical module, the working channel of the Ethernet optical switching module (that is, Ethernet Serdes) and the working channel of the passive optical network media access control module (that is, PON Serdes) are controlled to be turned on. When the type of the optical module is a passive optical network optical module, the working channel of the Ethernet optical switching module is controlled to be closed, and the working channel of the passive optical network media access control module is controlled to be turned on. When the type of the optical module is an Ethernet optical module, the working channel of the passive optical network media access control module is controlled to be closed, and the working channel of the Ethernet optical switching module is controlled to be turned on.

[0044] The Ethernet optical switching module is connected to the port module, and is used to receive the Ethernet signal transmitted by the port module when the working channel is turned on, and to route and forward the Ethernet signal.

[0045] Wherein, when the optical module connected to the port module is a hybrid optical module, the Ethernet optical switching module receives the Ethernet signal transmitted by the hybrid optical module, and routes and forwards the Ethernet signal. When the optical module connected to the port module is an Ethernet optical module, the Ethernet optical switching module receives the Ethernet signal transmitted by the Ethernet optical network, and routes and forwards the Ethernet signal.

[0046] The passive optical network media access control module is connected to the port module and is used to receive the passive optical network signal transmitted by the port module when the working channel is turned on, and to route and forward the passive optical network signal.

[0047] Wherein, when the optical module connected to the port module is a hybrid optical module, the passive optical network media access control module receives the passive optical network signal transmitted by the hybrid optical module, and routes and forwards the passive optical network signal. When the optical module connected to the port module is a passive optical network optical module, the passive optical network media access control module receives the passive optical network signal transmitted by the passive optical network, and routes and forwards the passive optical network signal. In addition, the passive optical network media access control module also controls the reset of the optical module, the detection of the received signal of the optical module, and the measurement of the received signal power of the optical module through the PON MPIO (Management and Provisioning Interface).

[0048] In addition, it should be noted that the optical communication system of the present application can be implemented not only on OLT (Optical Line Terminal), but also on ONU (Optical Network Unit) or ONT (Optical Network Terminal). This embodiment does not limit the type of optical communication system.

[0049] The optical communication system provided by the embodiment of the present application includes at least one port module, an Ethernet optical switching module, a passive optical network media access control module and a control module; each port module is at least used to access a hybrid optical module, and the hybrid optical module is used to access a passive optical network and an Ethernet optical network; the control module is connected to the port module, the Ethernet optical switching module and the passive optical network media access control module, and is used to identify the type of optical module accessed by each port module, and control the opening and closing of the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module according to the type of the optical module; the Ethernet optical switching module is connected to the port module, and is used to receive the Ethernet signal transmitted by the port module when the working channel is turned on, and to route and forward the Ethernet signal; the passive optical network media access control module is connected to the port module, and is used to receive the passive optical network signal transmitted by the port module when the working channel is turned on, and to route and forward the passive optical network signal, thereby solving the problem that the optical communication system in the related art sets the port of the passive optical network optical module and the port of the Ethernet optical module separately, which leads to difficulty in port layout. The present application sets a port module in an optical communication system, and the port module is at least used to access a hybrid optical module. Since the hybrid optical module can access a passive optical network and an Ethernet optical network, the number of optical modules that can be accessed by the port module in the optical communication system is expanded at a low cost, thereby reducing the complexity of the port layout.

[0050] Optionally, in the optical communication system provided in the embodiment of the present application, each port module is used to connect the Ethernet transmitter and Ethernet receiver in the Ethernet optical switching module, and is also used to connect the passive optical network transmitter and passive optical network receiver in the passive optical network media access control module.

[0051] Among them, the port module is used to connect the Ethernet transmitter and Ethernet receiver in the Ethernet optical switching module, and send and receive Ethernet signals when the working channel of the Ethernet optical switching module is turned on. The port module is also used to connect the passive optical network transmitter and passive optical network receiver in the passive optical network media access control module, and send and receive passive optical network signals when the working channel of the passive optical network media access control module is turned on.

[0052] Optionally, in the optical communication system provided in an embodiment of the present application, in each port module, the pins connected to the Ethernet optical switching module are configured with Ethernet transmitter pins and Ethernet receiver pins, and the pins connected to the passive optical network media access control module are configured with passive optical network transmitter pins and passive optical network receiver pins.

[0053] Among them, the Ethernet transmitter pin includes an Ethernet transmitter non-inverting input pin and an Ethernet transmitter inverting input pin, the Ethernet receiver pin includes an Ethernet receiver non-inverting input pin and an Ethernet receiver inverting input pin, the passive optical network transmitter pin includes a passive optical network transmitter non-inverting input pin and a passive optical network transmitter inverting input pin, and the passive optical network receiver pin includes a passive optical network receiver non-inverting input pin and a passive optical network receiver inverting input pin.

[0054] In an optional implementation, the pin definition of a port module compatible with a hybrid optical module or a passive optical network optical module can be implemented based on the pin definition of a port module of a PON optical module. The pin definition of a Combo port module is obtained by adjusting the pin definition of the port module of the PON optical module, so that the Combo port module can be connected to both a single PON optical module and a Combo optical module. Specifically, the type of the optical module is first obtained through the I2C bus, and then the corresponding pins of the port module are configured. Table 1 is the pin information of a Combo port module designed based on a port module of a GPON SFP (Small Form-factor Pluggable, a small pluggable fiber optic interface module standard) optical module (i.e., pin information compatible with GPON SFP optical modules and Combo SFP optical modules). Figure 3 is a circuit diagram of an optional optical communication system according to an embodiment of the present application Figure 1 Among them, the Ethernet optical switching module is a Switch chip, the passive optical network media access control module is a PON MAC chip, and the control module is a CPU / FPGA.

[0055] Table 1

[0056]

[0057] As shown in Table 1 and Figure 3As shown, the main board of the port module of the optical communication system can be a 20-pin SFP / SFP+ optical module socket, wherein Pin1, 2, 6, and 10 are respectively the Ethernet transmitter non-inverting input pin, the Ethernet transmitter inverting input pin, the Ethernet receiver inverting output pin, and the Ethernet receiver non-inverting output pin, which are used to connect the differential Serdes channel of the Switch chip. For pin1, when the GPON optical module is inserted, the two pins of the Switch chip are grounded. Since the output of the Switch chip is DC coupled, an AC (Alternating Current) coupling capacitor is added to avoid DC grounding causing abnormality of the Switch chip. For pin2, after the GPON optical module is inserted, the TX_Fault signal of the optical module is connected to the Serdes pin of the Switch chip, and the DC level is isolated by the AC coupling capacitor, so that the AC part of the TX_Fault signal is transmitted to avoid affecting the DC level of the Switch chip.

[0058] Among them, Pin7, 8, 9, 12, 13, 18, 19 are the same as the pins of the GPONSFP optical module and are directly connected to the PON MAC chip. Pin12, 13, 18, 19 are the passive optical network transmitter inverting input pin, the passive optical network transmitter non-inverting input pin, the passive optical network receiver non-inverting output pin and the passive optical network receiver inverting output pin. Pin7, 8, 9 are the interface pins for the management and configuration of the PON MAC chip.

[0059] Among them, Pin4 and Pin5 are connected to the I2CS data pin and clock signal pin of the CPU / FPGA on the motherboard. Pin14 is the ground pin, connected to the MOD_ABS signal of the motherboard, and is also the optical module in place signal identification pin. After the motherboard is connected to the power supply, it is pulled up to a high level by default. When the optical module is inserted, the pin is pulled down. Recognizing the low level indicates that the optical module is in place.

[0060] Among them, Pin3, 11, 17, and 20 are connected to the GND of the motherboard. Although the pin3 of the GPON SFP optical module is the TX_DIS pin, when the GPON SFP optical module is inserted, the Pin3 pin is pulled low, and the GPON SFP optical module will not be damaged and emits light normally.

[0061] Among them, Pin15 and Pin16 are power pins, which can be connected to the power supply of the motherboard through inductors or magnetic beads.

[0062] In addition, it should be noted that the PON optical module can be not only a GPON optical module, but also an XGS-PON optical module, an EPON optical module and a PON optical module with a higher rate, for example, a 50G PON optical module. This embodiment does not limit the type of PON.

[0063] In an optional implementation, the pin definition of a port module that is compatible with a hybrid optical module or an Ethernet optical module can be implemented based on the pin definition of a port module of an Ethernet optical module. The pin definition of a Combo port module is obtained by adjusting the pin definition of the port module of the Ethernet optical module, so that the Combo port module can be connected to both a single Ethernet optical module and a Combo optical module. Specifically, the type of the optical module is first obtained through the I2C bus, and then the corresponding pins of the port module are configured. Table 2 is the pin information of a Combo port module designed based on a port module of an Ethernet (Small Form-factor Pluggable, a small pluggable fiber optic interface module standard) optical module (i.e., pin information compatible with Ethernet SFP optical modules and Combo SFP optical modules). Figure 4 is a circuit diagram of an optional optical communication system according to an embodiment of the present application Figure 2 Among them, the Ethernet optical switching module is a Switch chip, the passive optical network media access control module is a PON MAC chip, and the control module is a CPU / FPGA.

[0064] Table 2

[0065]

[0066]

[0067] As shown in Table 2 and Figure 4 As shown, the main board of the port module of the optical communication system can be a 20-pin SFP / SFP+ optical module socket, wherein Pins 13, 12, 18, and 19 are respectively the Ethernet transmitter non-inverting input pin, the Ethernet transmitter inverting input pin, the Ethernet receiver inverting output pin, and the Ethernet receiver non-inverting output pin, which are used to connect the differential Serdes channel of the Switch chip.

[0068] Among them, Pin7, 8, 9, 1, 2, 6, 10 are the same as the pins of the Ethernet SFP optical module and are directly connected to the PON MAC chip. Pin1, 2, 6, 10 are the non-inverting input pins of the passive optical network transmitter, the inverting input pins of the passive optical network transmitter, the inverting output pins of the passive optical network receiver, and the non-inverting output pins of the passive optical network receiver. Pin7, 8, 9 are the interface pins for the management and configuration of the PON MAC chip.

[0069] Among them, Pin4 and Pin5 are connected to the I2CS data and clock signals of the CPU / FPGA on the mainboard. Pin14 is a ground pin, connected to the MOD_ABS signal of the mainboard, and is also the optical module in place signal identification pin. After the mainboard is connected to the power supply, it is pulled up to a high level by default. When the optical module is inserted, the pin is pulled down. Recognizing the low level indicates that the optical module is in place.

[0070] Among them, Pin3, 11, 17, and 20 are connected to the GND of the motherboard. Pin15 and 16 are power pins, which can be connected to the power supply of the motherboard through inductors or magnetic beads.

[0071] In addition, it should be noted that the interface of the Ethernet optical module can be 1G SFP, or a 10G, 25G, 100G or other higher-speed Ethernet interface. This embodiment does not limit the interface type of the Ethernet optical module.

[0072] In an optional implementation, the pin information of the Combo port module that only supports the pin definition of the port module connected to the hybrid optical module (that is, the pin information that only supports the access to the Combo SFP optical module) is shown in Table 3. Figure 5 is a circuit diagram of an optional optical communication system according to an embodiment of the present application Figure 3 Among them, the Ethernet optical switching module is a Switch chip, the passive optical network media access control module is a PON MAC chip, and the control module is a CPU / FPGA.

[0073] Table 3

[0074] Pin number Combo SFP Combo SFP Pin Description 1 TD+ Ethernet transmitter non-inverting input, forming a differential pair with TD- 2 TD- Ethernet transmitter inverting input 3 GND land 4 SDA I2C Signals 5 SCL I2C Signals 6 Mod_ABS Module in place 7 RX_Reset PON MPIO 8 Signal_Detect PON MPIO 9 RD- Ethernet receiver inverted output 10 RD+ Ethernet receiver non-inverting output, forming a differential pair with RD- 11 GND land 12 PON_RD - PON receiver inverted output 13 PON_RD+ PON receiver non-inverting output, forming a differential pair with PON_RD- 14 RSSI Trigger PON MPIO 15 VxV power supply 16 V T power supply 17 GND land 18 PON_TD+ PON transmitter non-inverting input, forming a differential pair with PON_TD- 19 PON_TD- PON transmitter inverting input 20 GND land

[0075] As shown in Table 3 and Figure 5 As shown, the main board of the port module of the optical communication system can be a 20-pin SFP / SFP+ optical module socket, and the main board of the port module of the optical communication system can be a 20-pin SFP / SFP+ optical module socket, wherein Pins 1, 2, 9, and 10 are respectively the Ethernet transmitter non-inverting input pin, the Ethernet transmitter inverting input pin, the Ethernet receiver inverting output pin, and the Ethernet receiver non-inverting output pin, which are connected to the differential Serdes channel of the Switch chip.

[0076] Among them, Pin7, 8, 14, 12, 13, 18, and 19 are directly connected to the PON MAC chip, Pin12, 13, 18, and 19 are the passive optical network transmitter inverting input pin, the passive optical network transmitter non-inverting input pin, the passive optical network receiver non-inverting output pin, and the passive optical network receiver inverting output pin, and Pin7, 8, and 14 are the interface pins for the management and configuration of the PON MAC chip.

[0077] Among them, Pin4 and Pin5 are connected to the I2CS data and clock signals of the CPU / FPGA on the mainboard. Pin6 is the ground pin, connected to the MOD_ABS signal of the mainboard, and is also the optical module in place signal identification pin. After the mainboard is connected to the power supply, it is pulled up to a high level by default. When the optical module is inserted, the pin is pulled down. Recognizing the low level indicates that the optical module is in place.

[0078] Among them, Pin3, 11, 17, and 20 are connected to the GND of the motherboard. Among them, Pin15 and 16 are power pins, which can be connected to the power supply of the motherboard through inductors or magnetic beads.

[0079] In this embodiment, the port module compatible with the PON optical module and the Combo optical module can be expanded based on the port module of the PON optical module, and the port module compatible with the Ethernet optical module and the Combo optical module can be expanded based on the port module of the Ethernet optical module. A port module that only supports access to the Combo optical module can also be set. The purpose of flexibly expanding the number of ports of the optical communication system is achieved without adding optical filters and other equipment on the periphery and basically without increasing the cost of the mainboard and the communication topology.

[0080] Optionally, in the optical communication system provided in the embodiment of the present application, for a port module that is compatible with an access hybrid optical module or a passive optical network optical module or an Ethernet optical network optical module, the port module is connected to an Ethernet receiver and an Ethernet transmitter of an Ethernet optical switching module, and the port module is also connected to the Ethernet receiver of the Ethernet optical switching module and the passive optical network receiver of the passive optical network media access control module through a first serial-parallel converter switch, and the port module is also connected to the Ethernet transmitter of the Ethernet optical switching module and the passive optical network transmitter of the passive optical network media access control module through a second serial-parallel converter switch.

[0081] Exemplarily, when it is detected that the inserted optical module is a single Ethernet optical network optical module, the two serial-parallel converters are selected to the Ethernet optical switching module, and the channel of the port module connecting the Ethernet receiver and the Ethernet transmitter of the Ethernet optical switching module is closed; when it is detected that the inserted optical module is a passive optical network optical module, the two serial-parallel converters are selected to the passive optical network media access control module, and the channel of the port module connecting the Ethernet receiver and the Ethernet transmitter of the Ethernet optical switching module is closed; when it is detected that the inserted optical module is a hybrid optical module, the two serial-parallel converters are selected to the passive optical network media access control module, and at the same time, the channel of the port module connecting the Ethernet receiver and the Ethernet transmitter of the Ethernet optical switching module is opened, thereby realizing compatible access of the port module to three types of optical modules.

[0082] Optionally, in the optical communication system provided in the embodiment of the present application, for a port module that is compatible with an access hybrid optical module or a passive optical network optical module or an Ethernet optical module, the Ethernet transmitter pin and the Ethernet receiver pin of the port module are respectively connected to the Ethernet transmitter pin and the Ethernet receiver pin of the Ethernet optical switching module, and the passive optical network receiver pin of the port module is connected to the Ethernet receiver pin of the Ethernet optical switching module and the passive optical network receiver pin of the passive optical network media access control module through a first serial-parallel converter switch; the passive optical network transmitter pin of the port module is connected to the Ethernet transmitter pin of the Ethernet optical switching module and the passive optical network transmitter pin of the passive optical network media access control module through a second serial-parallel converter switch.

[0083] In an optional implementation, the pin definition of a port module compatible with a hybrid optical module or a passive optical network optical module or an Ethernet optical module can be implemented based on the pin definition of a port module of a PON optical module. The pin definition of a Combo port module is obtained by adjusting the pin definition of the port module of the PON optical module, so that the Combo port module can be connected to a single PON optical module, an Ethernet optical module, or a Combo optical module. Specifically, the type of the optical module is first obtained through the I2C bus, and then the corresponding pins of the port module are configured. Table 4 is the pin information of a Combo port module designed based on a port module of a GPON optical module (i.e., the pin information compatible with GPON SFP optical modules, Ethernet SFP optical modules, and Combo SFP optical modules). Figure 6 is a circuit diagram of an optional optical communication system according to an embodiment of the present application Figure 4 Among them, the Ethernet optical switching module is a Switch chip, the passive optical network media access control module is a PON MAC chip, and the control module is a CPU / FPGA.

[0084] Table 4

[0085]

[0086] It should be noted that the pin definition of the port module compatible with the hybrid optical module or the passive optical network optical module or the Ethernet optical module in Table 4 is the same as the pin definition of the port module compatible with the hybrid optical module or the passive optical network optical module in Table 1. However, in order to be compatible with the access of the three types of optical modules, it is necessary to add a SerdesSwitch chip in the optical communication system. Figure 5As shown, two Serdes channels are led out from the Switch chip, one Serdes channel connects pins 1, 2, 6, and 10 of the port module, and the other Serdes channel connects two SerdesSwitch chips. Pins 12, 13 and 18, 19 of the port module are connected to the Switch chip and the PON MAC chip respectively through two SerdesSwtich chips. In this way, when it is detected that the inserted optical module is a single Ethernet optical module, the two SerdesSwtich chips are selected to the Switch chip, and the Serdes of the Switch chip connected to Pins 1, 2, 6, and 10 are turned off; when it is detected that the inserted optical module is a GPON optical module, the two SerdesSwtich chips are selected to the PON MAC chip, and the Serdes of the Switch chip connected to Pins 1, 2, 6, and 10 are turned off; when it is detected that the inserted optical module is a Combo optical module, the two SerdesSwtich chips are selected to the PON MAC chip, and the Serdes of the Switch chip connected to Pins 1, 2, 6, and 10 are turned on, thereby realizing that the port module is compatible with access to three types of optical modules.

[0087] In an optional implementation, the pin definition of a port module compatible with a hybrid optical module or a passive optical network optical module or an Ethernet optical module can be implemented based on the pin definition of a port module of an Ethernet optical module. The pin definition of a Combo port module is obtained by adjusting the pin definition of the port module of the Ethernet optical module, so that the Combo port module can be connected to a single PON optical module, an Ethernet optical module, or a Combo optical module. Specifically, the type of the optical module is first obtained through the I2C bus, and then the corresponding pins of the port module are configured. Table 5 is the pin information of a Combo port module designed based on a port module of an Ethernet optical module (i.e., pin information compatible with GPON SFP optical modules, Ethernet SFP optical modules, and Combo SFP optical modules). Figure 7 is a circuit diagram of an optional optical communication system according to an embodiment of the present application Figure 5 Among them, the Ethernet optical switching module is a Switch chip, the passive optical network media access control module is a PON MAC chip, and the control module is a CPU / FPGA.

[0088] Table 5

[0089]

[0090] It should be noted that the pin definition of the port module compatible with the hybrid optical module or the passive optical network optical module or the Ethernet optical module in Table 5 is the same as the pin definition of the port module compatible with the hybrid optical module or the Ethernet optical network optical module in Table 2. However, in order to be compatible with the access of the three types of optical modules, it is necessary to add a SerdesSwitch chip in the optical communication system. Figure 7 As shown, two Serdes channels are led out from the Switch chip, one Serdes channel connects Pins 18, 19 and 12, 13 of the port module, and the other Serdes channel connects two SerdesSwitch chips. Pins 6, 10, 1, 2 of the port module are connected to the Switch chip and the PON MAC chip respectively through two SerdesSwtich chips. In this way, when it is detected that the inserted optical module is a single Ethernet optical module, the two SerdesSwitch chips are turned off, and the Serdes of the Switch chip connected to pins 12, 13, 18, and 19 are turned on; when it is detected that the inserted optical module is a GPON optical module, the two SerdesSwtich chips are strobed to the PON MAC chip, and the Serdes of the Switch chip connected to pins 12, 13, 18, and 19 are turned off; when it is detected that the inserted optical module is a Combo optical module, the two SerdesSwtich chips are strobed to the PON MAC chip, and the Serdes of the Switch chip connected to pins 12, 13, 18, and 19 are turned on, thereby achieving compatible access of the port module to three types of optical modules.

[0091] In this embodiment, the port module compatible with the PON optical module, the Ethernet optical module and the Combo optical module can be expanded based on the port module of the PON optical module, and the port module compatible with the Ethernet optical module, the PON optical module and the Combo optical module can be expanded based on the port module of the Ethernet optical module. The purpose of flexibly expanding the number of ports of the optical communication system is achieved without adding optical filters and other equipment on the periphery and basically without increasing the cost of the mainboard and the communication topology.

[0092] In order to facilitate the communication between the control module and the port module, optionally, in the optical communication system provided in the embodiment of the present application, in each port module, an I2C signal access pin is configured in the pin connected to the control module, and a ground pin connected to the control module is configured as a module in-place signal identification pin.

[0093] Among them, the I2C signal access pin of the port module is connected to the I2CS data pin and clock signal pin of the control module, so that the control module can read the type information of the optical module connected to the port module through the I2C signal, and can also control the optical module to shut down through the I2C signal. Figures 3 to 7As shown, the I2C signal access pins of the port module can be Pin 4 and Pin 5.

[0094] Among them, the module in-place signal identification pin of the port module is pulled up to a high level by default after the mainboard is connected to the power supply. When the optical module is inserted, the pin is pulled down. Recognizing the low level indicates that the optical module is in place. Figures 3 to 7 As shown, the module presence signal identification pin of the port module may be Pin14.

[0095] The pins connected to the passive optical network media access control module are configured with management and configuration interface pins. Optionally, in the optical communication system provided in the embodiment of the present application, in each port module, the pins connected to the passive optical network media access control module are configured with an optical module receiver reset pin, an optical module received signal detection pin, and an optical module received signal power measurement pin.

[0096] The optical module receiver reset pin is used to receive the input signal of the optical module, and reset is performed when a high level is input. The optical module receive signal detection pin is used to indicate whether the output signal of the optical module is detected. A high level output indicates that the optical signal is normal, and a low level output indicates that the optical signal is abnormal. The optical module receive signal power measurement pin is used to measure the power of the output signal of the optical module, and is enabled when a high level is input. Figures 3 to 7 As shown, Pin 7, Pin 8, and Pin 9 are respectively the optical module receiver reset pin, the optical module received signal detection pin, and the optical module received signal power measurement pin.

[0097] According to an embodiment of the present application, a hybrid optical module is provided for accessing an optical communication system.

[0098] Figure 8 is a schematic diagram of a hybrid optical module according to an embodiment of the present application. Figure 8 As shown, the hybrid optical module includes:

[0099] Gold finger unit (can be SFP gold finger). Gold finger is used to transmit and receive data signals, power supply, control signals, etc. Gold finger unit is used to access the port module and thus access the communication system.

[0100] Ethernet transceiver ( Figure 8The first optical filter component may be an optical filter. The first optical filter component may be an Ethernet Transeiver (in the figure), connected to the gold finger unit, and connected to the first optical filter component through the first transmitting photon component and the first receiving photon component. The gold finger unit receives data (RX Data) from the Ethernet transceiver and sends data (TX Data) to the Ethernet transceiver. The first transmitting photon component may be an Ethernet TOSA (Transmitter Optical Subassembly), the first receiving photon component may be an Ethernet ROSA (Receiver Optical Subassembly), the first optical filter component may be an optical filter, and the hybrid optical module transmits signals with the Ethernet optical network through the TX / RX optical port. The first optical filter component filters the optical signal from the Ethernet optical network and filters the optical signal sent to the Ethernet optical network.

[0101] Passive Optical Network Transceiver( Figure 8 The second optical filter component is connected to the PON Transeiver (PON Transeiver) and is connected to the gold finger unit, and is also connected to the second filter component through the second transmitting photon component and the second receiving photon component. The gold finger unit receives data (RX Data) from the passive optical network transceiver and sends data (TX Data) to the Ethernet transceiver. The second transmitting photon component can be a PON TOSA (Transmitter Optical Subassembly), the second receiving photon component can be a PON ROSA (Receiver Optical Subassembly), the second filter component can be a filter, and the hybrid optical module transmits signals with the passive optical network through the TX / RX optical port. The second filter component filters the optical signal sent from the passive optical network and filters the optical signal sent to the passive optical network.

[0102] The microcontroller unit (MCU) is connected to the gold finger unit, and is also connected to the Ethernet transceiver and the passive optical network transceiver. The MCU is connected to the Ethernet transceiver through the I2C bus and the Control I / O, and is also connected to the passive optical network transceiver through the I2C bus and the Control I / O, and is used to control the Ethernet transceiver and the passive optical network transceiver.

[0103] The hybrid optical module provided in the embodiment of the present application includes a gold finger unit; an Ethernet transceiver, connected to the gold finger unit, and connected to the first filter component through the first transmitting photon component and the first receiving photon component; a passive optical network transceiver, connected to the gold finger unit, and connected to the second filter component through the second transmitting photon component and the second receiving photon component; a micro control unit, connected to the gold finger unit, and connected to the Ethernet transceiver and the passive optical network transceiver respectively. The problem that the optical communication system in the related art sets the port of the passive optical network optical module and the port of the Ethernet optical module separately, resulting in difficulty in port layout, is solved. The hybrid optical module of the present application can be connected to the port module in the optical communication system. Since the hybrid optical module can be connected to the passive optical network and the Ethernet optical network, the optical signals of the passive optical network and the Ethernet optical network are independently accessed, do not interfere with each other, and the communication is stable, which reduces the complexity of the port layout without increasing the cost of the optical network.

[0104] Optionally, the Ethernet transmitter non-inverting input pin, Ethernet transmitter inverting input pin, Ethernet receiver inverting output pin, and Ethernet receiver non-inverting output pin set on the gold finger unit are respectively connected to the Ethernet transceiver; the passive optical network transmitter non-inverting input pin, passive optical network transmitter inverting input pin, passive optical network receiver inverting output pin, and passive optical network receiver non-inverting output pin set on the gold finger unit are respectively connected to the passive optical network transceiver; the micro control unit I2C signal access pin set on the gold finger unit is connected to the Ethernet transceiver.

[0105] Among them, TD+ and TD- on the gold finger unit are the non-inverting input pins and the inverting input pins of the Ethernet transmitter, RD+ and RD- on the gold finger unit are the inverting output pins and the non-inverting output pins of the Ethernet receiver, PON_TD+ and PON_TD- on the gold finger unit are the non-inverting input pins and the inverting input pins of the passive optical network transmitter, PON_RD+ and PON_RD- on the gold finger unit are the inverting output pins and the non-inverting output pins of the passive optical network receiver, and SCL and SDA on the gold finger unit are I2C signal access pins. In addition, the gold finger unit is provided with management and configuration interface pins RX_Reset, Signal_Detect and RSSITrigger, power pins VccR and VccT, and ground pins GND, one of which can be used as an optical model in-place identification pin and connected to the optical model in-place identification pin of the port module.

[0106] It should be noted that the hybrid optical module can be designed based on 20pinSFP / SFP+, or based on non-standard designs such as 22pin, can be designed based on SFP / SFP+, can be extended to SFP28, and can be extended to QSFP / QSFP+ / QSFP28 (QSFP is the abbreviation of Quad Small Form-factor Pluggable, which means a four-channel small pluggable fiber optic interface module standard). This embodiment does not limit the design method of the hybrid optical module.

[0107] According to an embodiment of the present application, an optical communication method is provided, which is applied to an optical communication system.

[0108] Fig. 9 is a flow chart of an optical communication method according to an embodiment of the present application. Fig. 9 As shown, the method comprises the following steps:

[0109] Step S802: determining whether the port module is connected to the optical module according to the optical module presence signal.

[0110] Specifically, the optical module presence signal can be a level signal of the optical module presence signal identification pin of the port module. The optical module presence signal identification pin is a ground pin. When the port module is powered on, the level signal of the optical module presence signal identification pin is a high level. After the optical module is connected to the port module, the level of the level signal of the optical module presence signal identification pin is pulled down to a low level. Therefore, when the control module of the optical communication system recognizes that the level signal of the optical module presence signal identification pin is a low level, it determines that the port module is connected to the optical module.

[0111] Step S804: When the port module is connected to the optical module, the type of the optical module is identified according to the I2C signal.

[0112] Specifically, the port module sends a data instruction to the optical module connected to the port module through an I2C signal, reads a register of the optical module, and obtains the type of the optical module.

[0113] Step S806: If the optical module type is a hybrid optical module, control the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module to be turned on.

[0114] It should be noted that the hybrid optical module is used to access the passive optical network and the Ethernet optical network. If the optical module type is a hybrid optical module, it means that the optical communication system needs to receive and route passive optical network signals and Ethernet signals. Therefore, the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module are controlled to be opened, so that the Ethernet optical switching module can receive and route Ethernet signals, and the passive optical network media access control module can receive and route passive optical network signals.

[0115] Step S808: If the optical module type is a passive optical network optical module, control the working channel of the Ethernet optical switching module to be closed, and control the working channel of the passive optical network media access control module to be opened.

[0116] That is, if the optical module type is a passive optical network optical module, it means that the optical communication system needs to receive and route passive optical network signals, control the working channel of the passive optical network media access control module to be opened, and at the same time, in order to reduce signal crosstalk and reduce module power consumption, control the working channel of the Ethernet optical switching module to be closed.

[0117] Step S810: If the optical module type is an Ethernet optical module, control the working channel of the passive optical network media access control module to be closed, and control the working channel of the Ethernet optical switching module to be opened.

[0118] That is, if the optical module type is an Ethernet optical module, it means that the optical communication system needs to receive and route non-Ethernet signals, and control the working channel of the Ethernet optical switching module to be opened. At the same time, in order to reduce signal crosstalk and reduce module power consumption, control the working channel of the passive optical network media access control module to be closed.

[0119] The optical communication method provided by the embodiment of the present application determines whether the port module is connected to the optical module according to the optical module in-position signal; when the port module is connected to the optical module, the optical module type is identified according to the I2C signal; if the optical module type is a hybrid optical module, the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module are controlled to be opened; if the optical module type is a passive optical network optical module, the working channel of the Ethernet optical switching module is controlled to be closed, and the working channel of the passive optical network media access control module is controlled to be opened; if the optical module type is an Ethernet optical module, the working channel of the passive optical network media access control module is controlled to be closed, and the working channel of the Ethernet optical switching module is controlled to be opened, which solves the problem that the optical communication system in the related art sets the port of the passive optical network optical module and the port of the Ethernet optical module separately, resulting in difficulty in port layout. The present application sets a port module in the optical communication system, and the port module is at least used to access the hybrid optical module. Since the hybrid optical module can access the passive optical network and the Ethernet optical network, it achieves the effect of flexibly controlling the work of the optical communication system after accessing different optical modules while expanding the number of optical modules that the port module in the optical communication system can access at a low cost and reducing the complexity of the port layout.

[0120] Optionally, in the optical communication method provided in an embodiment of the present application, for a port module that is compatible with a hybrid optical module or a passive optical network optical module or an Ethernet optical module, the method further includes: if the optical module type is a passive optical network optical module, when the working channel of the Ethernet optical switching module is controlled to be closed and the working channel of the passive optical network media access control module is controlled to be opened, the first serial-to-parallel converter switch connected to the passive optical network receiver pin of the port module and the second serial-to-parallel converter switch connected to the passive optical network transmitter pin of the port module are controlled to be selected to the passive optical network media access control module; if the optical module type is an Ethernet optical module, when the working channel of the Ethernet optical switching module is controlled to be opened and the working channel of the passive optical network media access control module is controlled to be closed, the first serial-to-parallel converter switch and the second serial-to-parallel converter switch are controlled to be selected to the Ethernet optical switching module.

[0121] It should be noted that for port modules that are compatible with hybrid optical modules or passive optical network optical modules or Ethernet optical modules, the Ethernet optical switching module leads to two Serdes channels, one of which is connected to the Ethernet transmitter non-inverting input pin, the Ethernet transmitter inverting input pin, the Ethernet receiver inverting output pin and the Ethernet receiver non-inverting output pin of the port module, and the other is connected to two SerdesSwitch chips. The passive optical network transmitter inverting input pin, the passive optical network transmitter non-inverting input pin, the passive optical network receiver non-inverting output pin and the passive optical network receiver inverting output pin of the port module are respectively connected to the passive optical network media access control module (PON MAC chip) of the Ethernet optical switching module and the passive optical network module through two SerdesSwtich chips.

[0122] Exemplarily, the Ethernet optical switching module is a Switch chip. In the initial state, the Serdes channels (RD+ and RD-) of the Switch chip and the Serdes channels (PON_RD+ and PON_RD-) of the PON MAC chip are all closed, and the internal channels of the two SerdesSwtich chips are also closed. When it is detected that the inserted optical module is a single Ethernet optical network, the Serdes channel of the Switch chip is turned on, the SerdesSwtich chip is gated to the Switch chip, and the Ethernet signal is received and routed through the Switch chip. When it is detected that the inserted optical module is a PON optical module, the Serdes channel of the PON MAC chip is turned on, the SerdesSwtich chip is gated to the PON MAC chip, and the passive optical network signal is received and routed through the PON MAC chip. When it is detected that the inserted optical module is a Combo optical module, the Serdes channel of the Switch chip is turned on, the Serdes channel of the PON MAC chip is turned on, the SerdesSwtich chip is selected to the PON MAC chip, the Ethernet signal is received and routed through the Switch chip, and the passive optical network signal is received and routed through the PON MAC chip.

[0123] Fig.10 is a flow chart of an optional optical communication method according to an embodiment of the present application, such as Fig.10 As shown, the method includes:

[0124] The mainboard of the port module completes initialization and enters the initialization state. The port is configured to GPON mode by default, and the Serdes channel of the PON MAC chip and the Serdes channel of the Switch chip are closed.

[0125] Then, it starts to detect whether the optical module in-position signal pin level (MOD_ABS) is continuously low. When the pin level is detected as a continuous low level (illustratively, the duration is 100ms), an interrupt signal is generated. After receiving the interrupt signal, the CPU reads the pin level. When the MOD_ABS level state is low, it is determined that the optical module is in place, I2C communication is started, and the optical module type is identified.

[0126] If the optical module type is identified as a GPON optical module, the Switch channel remains closed, and the Serdes channel (PON channel for short) of the PON MAC chip is opened.

[0127] If the optical module type is identified as an Ethernet optical module, the PON MAC channel remains closed, and the Serdes channel (referred to as the Switch channel) of the Switch chip is opened.

[0128] If the optical module type is identified as a combo optical module, enable the Serdes channel and PON Serdes channel of the switch chip.

[0129] Through this embodiment, whether the optical module is connected to the port module of the optical communication system is identified by the level of the optical module in-position signal pin. When the optical module is connected to the port module of the optical communication system, the type of the optical module is identified, and the opening or closing of the Switch channel and the PON channel is controlled according to the type of the optical module. After the number of ports of the optical communication system is expanded, the operation of the optical communication system after connecting to different optical modules is flexibly controlled.

[0130] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0131] The embodiment of the present application also provides an optical communication device. It should be noted that the optical communication device of the embodiment of the present application is applied to an optical communication system and can be used to execute the optical communication method provided by the embodiment of the present application. The optical communication device provided by the embodiment of the present application is introduced below.

[0132] Fig.11 Schematic diagram of an optical communication device according to an embodiment of the present application. Fig.11 As shown, the device includes: a judgment unit 1002 , an identification unit 1004 , a first control unit 1006 , a second control unit 1008 and a third control unit 1010 .

[0133] The judging unit 1002 is used to judge whether the port module is connected to the optical module according to the optical module presence signal.

[0134] The identification unit 1004 is used to identify the type of the optical module according to the I2C signal when the port module is connected to the optical module.

[0135] The first control unit 1006 is configured to control the opening of a working channel of the Ethernet optical switching module and a working channel of the passive optical network media access control module if the optical module type is a hybrid optical module.

[0136] The second control unit 1008 is configured to control the working channel of the Ethernet optical switching module to be closed and control the working channel of the passive optical network media access control module to be opened if the optical module type is a passive optical network optical module.

[0137] The third control unit 1010 is used for controlling the working channel of the passive optical network media access control module to be closed, and controlling the working channel of the Ethernet optical switching module to be opened if the optical module type is an Ethernet optical module.

[0138] The optical communication device provided in the embodiment of the present application uses a judgment unit 1002 to judge whether the port module is connected to the optical module according to the optical module in-place signal; the identification unit 1004 identifies the type of the optical module according to the I2C signal when the port module is connected to the optical module; the first control unit 1006 controls the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module to be turned on if the optical module type is a hybrid optical module; the second control unit 1008 controls the working channel of the Ethernet optical switching module to be turned off and the working channel of the passive optical network media access control module to be turned on if the optical module type is a passive optical network optical module; the third control unit 1006 controls the working channel of the Ethernet optical switching module to be turned off and the working channel of the passive optical network media access control module to be turned on if the optical module type is a passive optical network optical module. The control unit 1010 controls the working channel of the passive optical network media access control module to be closed and controls the working channel of the Ethernet optical switching module to be opened if the optical module type is an Ethernet optical module, thereby solving the problem that the optical communication system in the related art sets the port of the passive optical network optical module and the port of the Ethernet optical module separately, which leads to difficulty in port layout. The present application sets a port module in the optical communication system, and the port module is at least used to access a hybrid optical module. Since the hybrid optical module can access a passive optical network and an Ethernet optical network, the number of optical modules that can be accessed by the port module in the optical communication system is expanded at a low cost, and the complexity of the port layout is reduced.

[0139] Optionally, in the optical communication device provided in the embodiment of the present application, for a port module compatible with a hybrid optical module or a passive optical network optical module or an Ethernet optical module, the device further includes: a fourth control unit, for controlling, if the optical module type is a passive optical network optical module, a first serial-to-parallel converter switch connected to a passive optical network receiver pin of the port module and a second serial-to-parallel converter switch connected to a passive optical network transmitter pin of the port module to be selected to the passive optical network media access control module under the condition that the working channel of the Ethernet optical switching module is controlled to be closed and the working channel of the passive optical network media access control module is controlled to be opened, if the optical module type is a passive optical network optical module; a fifth control unit, for controlling, if the optical module type is an Ethernet optical module, a working channel of the Ethernet optical switching module is controlled to be opened and the working channel of the passive optical network media access control module is controlled to be closed, if the optical module type is a passive optical network optical module, to control the first serial-to-parallel converter switch and the second serial-to-parallel converter switch to be selected to the passive optical network media access control module.

[0140] The above-mentioned optical communication device includes a processor and a memory. The above-mentioned judgment unit 1002, identification unit 1004, first control unit 1006, second control unit 1008 and third control unit 1010 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0141] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of difficulty in port layout caused by separate settings of the ports of the passive optical network optical module and the Ethernet optical module in the optical communication system in the related art is solved by adjusting the kernel parameters.

[0142] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage module.

[0143] An embodiment of the present application further provides a computer storage medium, which is used to store a program, wherein when the program is run, the device where the non-volatile storage medium is located is controlled to execute an optical communication method.

[0144] The embodiment of the present application also provides an electronic device, Fig.12 1 is a schematic diagram of an electronic device according to an embodiment of the present application, wherein the electronic device 1101 comprises a processor and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein the computer-readable instructions execute an optical communication method when executed. The electronic device in this article may be a server, a PC, a PAD, a mobile phone, etc.

[0145] An embodiment of the present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, an optical communication method is implemented.

[0146] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0147] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0148] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0150] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0151] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0152] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0153] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0154] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. An optical communication system, characterized in that: include: at least one port module, an Ethernet optical switching module, a passive optical network media access control module, and a control module; Each port module is at least used to access a hybrid optical module, and the hybrid optical module is used to access a passive optical network and an Ethernet optical network; The control module is connected to the port module, the Ethernet optical switching module and the passive optical network media access control module, and is used to identify the type of optical module connected to each port module, and control the opening and closing of the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module according to the type of the optical module; The Ethernet optical switching module is connected to the port module, and is used to receive the Ethernet signal transmitted by the port module when the working channel is turned on, and to route and forward the Ethernet signal; The passive optical network media access control module is connected to the port module, and is used to receive the passive optical network signal transmitted by the port module when the working channel is turned on, and to route and forward the passive optical network signal.

2. The optical communication system according to claim 1, characterized in that: Each port module is used to connect the Ethernet transmitter and the Ethernet receiver in the Ethernet optical switching module, and is also used to connect the passive optical network transmitter and the passive optical network receiver in the passive optical network media access control module.

3. The optical communication system according to claim 2, characterized in that: In each port module, the pins connected to the Ethernet optical switching module are configured with Ethernet transmitter pins and Ethernet receiver pins, and the pins connected to the passive optical network media access control module are configured with passive optical network transmitter pins and passive optical network receiver pins.

4. The optical communication system according to claim 2, characterized in that: For a port module compatible with a hybrid optical module or a passive optical network optical module or an Ethernet optical network optical module, the port module is connected to the Ethernet receiver and the Ethernet transmitter of the Ethernet optical switching module, and the port module is also connected to the Ethernet receiver of the Ethernet optical switching module and the passive optical network receiver of the passive optical network media access control module through a first serial-parallel converter switch, and the port module is also connected to the Ethernet transmitter of the Ethernet optical switching module and the passive optical network transmitter of the passive optical network media access control module through a second serial-parallel converter switch.

5. The optical communication system according to claim 4, characterized in that: For a port module compatible with a hybrid optical module or a passive optical network optical module or an Ethernet optical module, the Ethernet transmitter pin of the port module is connected to the Ethernet transmitter pin and the Ethernet receiver pin of the Ethernet optical switching module respectively, the passive optical network receiver pin of the port module is connected to the Ethernet receiver pin of the Ethernet optical switching module and the passive optical network receiver pin of the passive optical network media access control module through the first serial-parallel converter switch; the passive optical network transmitter pin of the port module is connected to the Ethernet transmitter pin of the Ethernet optical switching module and the passive optical network transmitter pin of the passive optical network media access control module through the second serial-parallel converter switch.

6. The optical communication system according to claim 1, characterized in that: In each port module, the pins connected to the control module are configured with I2C signal access pins, and a ground pin connected to the control module is configured as a module presence signal identification pin.

7. An optical communication method, characterized in that: The optical communication system according to any one of claims 1 to 6, comprising: Determine whether the port module is connected to the optical module according to the optical module presence signal; When the port module is connected to an optical module, identifying the type of the optical module according to the I2C signal; If the optical module type is a hybrid optical module, control the working channel of the Ethernet optical switching module and the working channel of the passive optical network media access control module to be turned on; If the optical module type is a passive optical network optical module, control the working channel of the Ethernet optical switching module to be closed, and control the working channel of the passive optical network media access control module to be opened; If the optical module type is an Ethernet optical module, the working channel of the passive optical network media access control module is controlled to be closed, and the working channel of the Ethernet optical switching module is controlled to be opened.

8. The optical communication method according to claim 7, characterized in that: For a port module compatible with an access hybrid optical module or a passive optical network optical module or an Ethernet optical module, the method further includes: If the optical module type is a passive optical network optical module, under the condition that the working channel of the Ethernet optical switching module is controlled to be closed and the working channel of the passive optical network media access control module is controlled to be opened, the first serial-to-parallel converter switch connected to the passive optical network receiver pin of the port module and the second serial-to-parallel converter switch connected to the passive optical network transmitter pin of the port module are controlled to be selected to the passive optical network media access control module; If the optical module type is an Ethernet optical module, the working channel of the Ethernet optical switching module is controlled to be opened, and the working channel of the passive optical network media access control module is controlled to be closed, and the first serial-parallel converter switch and the second serial-parallel converter switch are controlled to be selected to the Ethernet optical switching module.

9. A hybrid optical module, characterized in that: Used to access the optical communication system according to any one of claims 1 to 6, comprising: Goldfinger unit; An Ethernet transceiver connected to the gold finger unit and connected to the first optical filter component via a first transmitting photon component and a first receiving photon component; A passive optical network transceiver is connected to the gold finger unit and is also connected to the second filter component via a second transmitting photon component and a second receiving photon component; The micro control unit is connected to the gold finger unit, and is also connected to the Ethernet transceiver and the passive optical network transceiver respectively.

10. The hybrid light module according to claim 9, characterized in that: The Ethernet transmitter non-inverting input pin, the Ethernet transmitter inverting input pin, the Ethernet receiver inverting output pin, and the Ethernet receiver non-inverting output pin provided on the gold finger unit are respectively connected to the Ethernet transceiver; The non-inverting input pin of the passive optical network transmitter, the inverting input pin of the passive optical network transmitter, the inverting output pin of the passive optical network receiver, and the non-inverting output pin of the passive optical network receiver provided on the gold finger unit are respectively connected to the passive optical network transceiver; The microcontroller I2C signal access pin arranged on the gold finger unit is connected to the Ethernet transceiver.

11. A computer program product, characterized in that The invention comprises a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the optical communication method according to claim 7 or 8 is implemented.