Photoelectric transceiver device and photoelectric transceiver method

By using the drive module connection between the amplification module and the laser driving module in the photoelectric transceiver device, replacing the traditional switch connection, the problem of parasitic capacitance and series impedance affecting signal transmission is solved, and high-quality full-duplex signal transmission is achieved.

CN119696691BActive Publication Date: 2025-08-26SHANGHAI SIYI TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510205854.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-25
Publication Date
2025-08-26
Estimated Expiration
2045-02-25

AI Technical Summary

Technical Problem

In existing photoelectric transceiver devices, the parasitic capacitance and series impedance caused by the switch connection method affect the signal transmission quality, especially when switching high-speed signals, affecting signal quality and transmission efficiency.

Method used

The amplification module is used to connect to the electrical port through the first type of driving module, and the laser driving module is connected to the electrical port through the second type of driving module, replacing the traditional switching connection method, reducing the influence of parasitic capacitance and series impedance, and realizing full duplex transmission in switchable directions.

Benefits of technology

Signal transmission quality is significantly improved, impedance matching is optimized, and the problems of poor impedance matching and reduced swing caused by switch connection are avoided, and the accuracy and efficiency of signal transmission are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119696691B_ABST
    Figure CN119696691B_ABST
Patent Text Reader

Abstract

The present invention discloses an optoelectronic transceiver and a method for optoelectronic transceiver, wherein the optoelectronic transceiver comprises: a first-type driver module, a second-type driver module, an electrical port, an amplifier module, and a laser driver module; the amplifier module is used to be electrically connected to an optical signal receiving module, the laser driver module is used to be electrically connected to an optical signal transmitting module, the amplifier module is connected to the electrical port through the first-type driver module, and the laser driver module is connected to the electrical port through the second-type driver module; when the first-type driver module is turned on, the electrical port is electrically connected to the amplifier module; when the second-type driver module is turned on and the first-type driver module is turned off, the electrical port is electrically connected to the laser driver module. In the present application, the amplifier module is connected to the electrical port through the first-type driver module, and the laser driver module is connected to the electrical port through the second-type driver module. Compared with a switch connection method, the present invention can significantly reduce the influence of parasitic capacitance and series impedance while achieving full-duplex transmission in a switchable direction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a photoelectric transceiver device and a photoelectric transceiver method. Background Art

[0002] In the field of communications technology, as data transmission rates continue to increase, the application of active optical cables is becoming increasingly widespread. During this application process, there is a widespread demand for switching between the transmitter and receiver ends of high-speed electrical signal ports. For example, the Type-C connector can support USB4 standard mode and DP Alternate Mode. The Type-C connector contains four pairs of differential high-speed pins. In standard mode, the high-speed pins are two transmit and two receive, while in DP Alternate Mode, the high-speed pins need to be reused and configured as four transmit or four receive. Therefore, the high-speed pin direction switching function of the active cable is an important technology for realizing a full-featured Type-C connector.

[0003] In the optoelectronic transceivers currently used in the industry, the switching between the transmitter and receiver is typically controlled by a switch consisting of a transmission gate. For example, the switch can be a double-pole single-throw switch or a double-pole double-throw switch. By controlling the opening and closing of the switch, the electrical port switches between the transmitter and receiver.

[0004] However, these switches typically have large parasitic capacitance and a certain amount of series impedance, which often affects signal transmission quality when using switches to switch between transmitters and receivers. As signal rates increase from 10Gbps per channel in USB 3.2 to 20Gbps in USB4, high-speed performance faces greater challenges. Summary of the Invention

[0005] In response to the shortcomings of the existing technology, the present application provides an optoelectronic transceiver device and an optoelectronic transceiver method. The amplification module is connected to the electrical port through a first type of driving module, and the laser driving module is connected to the electrical port through a second type of driving module. Compared with the switch connection method, while achieving full-duplex transmission in switchable directions, it can significantly reduce the influence of parasitic capacitance and series impedance, thereby improving the quality of signal transmission.

[0006] In order to solve the above problems, the present invention provides the following technical solutions:

[0007] In a first aspect, an embodiment of the present application provides an optoelectronic transceiver, comprising: a first-type driver module, a second-type driver module, an electrical port, an amplifying module, and a laser driver module; the amplifying module is used to be electrically connected to the optical signal receiving module, the laser driver module is used to be electrically connected to the optical signal transmitting module, and the electrical port is used to be electrically connected to the amplifying module or the laser driver module; the amplifying module is connected to the electrical port through the first-type driver module, and the laser driver module is connected to the electrical port through the second-type driver module; when the first-type driver module is turned on, the electrical port is electrically connected to the amplifying module so that the electrical port sends the electrical signal obtained by the optical signal receiving module converting the optical signal; when the second-type driver module is turned on and the first-type driver module is turned off, the electrical port is electrically connected to the laser driver module so that the electrical signal received through the electrical port drives the optical signal transmitting module to convert the electrical signal into an optical signal.

[0008] In some embodiments, the circuits of the first type of driving module and the second type of driving module are the same as the circuit of the basic driving module. The basic driving module includes a current source, two transistors or field-effect transistors, an electrical signal input terminal, an electrical signal output terminal, a first control voltage input terminal and a second control voltage input terminal. The electrical signal input terminal is used to input an information-encoded electrical signal, and the electrical signal output terminal is used to output an information-encoded electrical signal. The first control voltage input terminal is used to input a first control voltage, and the second control voltage input terminal is used to input a second control voltage. The first control voltage and the second control voltage are used to control the turning on and off of the basic driving module.

[0009] In some embodiments, one of the amplification modules is connected to one of the electrical ports via one of the first-type driving modules; and one of the laser driving modules is connected to one of the electrical ports via one of the second-type driving modules.

[0010] In some embodiments, one of the amplifying modules is connected to the plurality of electrical ports via a plurality of the first-type driving modules; and one of the laser driving modules is connected to the plurality of electrical ports via a plurality of the second-type driving modules.

[0011] In some embodiments, the optoelectronic transceiver device further includes a control module, which is configured to receive a control signal and control the opening and closing of the first-type driver module and the second-type driver module according to the control signal; when the control module receives a first control signal, the control module is configured to determine a target amplification module corresponding to the electrical port, and control a target first-type driver module connected to the target amplification module and the electrical port to be turned on according to the target amplification module, so that the electrical port is electrically connected to the target amplification module, and so that the electrical port sends the electrical signal obtained by converting the optical signal by the optical signal receiving module.

[0012] In some embodiments, when the control module receives the first control signal, the control module is further configured to control all first-type driving modules connected to the target amplification module except the target first-type driving module to be turned off.

[0013] In some embodiments, when the control module receives a second control signal, the control module is used to determine the target laser driving module corresponding to the electrical port, and control a target second-type driving module that is simultaneously connected to the target laser driving module and the electrical port to turn on according to the target laser driving module, so that the electrical port is electrically connected to the target laser driving module, so that the electrical signal received by the electrical port drives the optical signal transmitting module to convert the electrical signal into an optical signal, and controls the first-type driving module connected to the electrical port to turn off.

[0014] In some embodiments, two of the electrical ports, two of the first type of driver modules, two of the second type of driver modules, one of the amplification modules, and one of the laser driver modules constitute a signal transceiver unit;

[0015] In the signal transceiver unit, the amplifying module is connected to one of the electrical ports through a first-type driving module, the amplifying module is connected to another of the electrical ports through a first-type driving module, the laser driving module is connected to one of the electrical ports through a second-type driving module, and the laser driving module is connected to another of the electrical ports through a second-type driving module.

[0016] In some embodiments, in the signal transceiver unit, when a first type driver module connected to one electrical port is turned on, a second type driver module connected to another electrical port is turned on.

[0017] In a second aspect, an embodiment of the present application provides a photoelectric transceiver method, which is applied to the photoelectric transceiver device as described in the first aspect. The photoelectric transceiver method includes:

[0018] When receiving a first control signal, the first type driving module is controlled to be turned on, so that the electrical port is electrically connected to the amplifying module, and the electrical port transmits the electrical signal obtained by the optical signal receiving module converting the optical signal;

[0019] When a second control signal is received, the second type driving module is controlled to be turned on and the first type driving module is controlled to be turned off, so that the electrical signal received through the electrical port drives the optical signal transmitting module to convert the electrical signal into an optical signal.

[0020] The present application provides an optoelectronic transceiver device and an optoelectronic transceiver method. The present application connects an amplifying module to an electrical port through a first type of driving module, and a laser driving module to the electrical port through a second type of driving module. Compared with the switch connection method, while achieving full-duplex transmission in a switchable direction, it can significantly reduce the influence of parasitic capacitance and series impedance, thereby improving the quality of signal transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a structural diagram of the optoelectronic transceiver provided in an embodiment of the present application.

[0022] Figure 2 This is a schematic diagram of the port circuit structure of the first embodiment of the optoelectronic transceiver provided in an embodiment of the present application.

[0023] Figure 3 Schematic diagram of the circuit structure of the basic driving module provided in the embodiment of the present application.

[0024] Figure 4 This is a schematic diagram of the port circuit structure of the second embodiment of the optoelectronic transceiver provided in an embodiment of the present application.

[0025] Figure 5 This is a schematic diagram of the circuit structure of the optoelectronic transceiver provided in an embodiment of the present application in an application scenario.

[0026] Figure 6 It is a structural diagram of the optoelectronic transceiver system provided in an embodiment of the present application.

[0027] Figure 7 Schematic diagram of the circuit structure of the optoelectronic transceiver system provided in an embodiment of the present application.

[0028] Figure 8 This is a schematic diagram of a partial port circuit structure of the third embodiment of the optoelectronic transceiver provided in an embodiment of the present application.

[0029] Figure 9 It is a flow chart of the optoelectronic transceiver method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0031] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature identified as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.

[0032] The present application provides an optoelectronic transceiver and an optoelectronic transceiver method, wherein the amplifying module is connected to the electrical port through the first type of driving module, and the laser driving module is connected to the electrical port through the second type of driving module. Compared with the method of adopting a switch connection, while achieving full-duplex transmission in a switchable direction, it can significantly reduce the influence of parasitic capacitance and series impedance, thereby improving the quality of signal transmission. In addition, it can also help to optimize impedance matching and avoid the problems of poor impedance matching and reduced swing of the electrical interface caused by the use of a switch connection. Among them, the switchable direction means that the electrical port can be switched to a transmitting end or a receiving end, so that the high-speed pin can be switched to a transmitting end or a receiving end, that is, the high-speed pin can switch the transmitting and receiving direction.

[0033] The optoelectronic transceiver device involved in this application may be an integrated circuit structure. The integrated circuit structure may be provided on a chip or a circuit board. The circuit board may be a PCBA (Printed Circuit Board Assembly), which is a printed circuit board with pre-assembled components.

[0034] The optoelectronic transceiver provided in this application will be described in detail below with reference to the accompanying drawings.

[0035] See also Figure 1 , Figure 1 This is a schematic diagram of the structure of the optoelectronic transceiver provided in the embodiment of the present application. Figure 1 As shown, in some embodiments, the optoelectronic transceiver 1 includes: a first type driving module 11 , a second type driving module 12 , an electrical port 21 , an amplifying module 22 and a laser driving module 23 .

[0036] See also Figure 2 , Figure 2 1 is a schematic diagram of the port circuit structure of the first embodiment of the optoelectronic transceiver provided in the embodiment of the present application. Figure 2 As shown, in some embodiments, the amplification module 22 is used to be electrically connected to the optical signal receiving module 31, the laser driving module 23 is used to be electrically connected to the optical signal transmitting module 32, and the electrical port 21 is used to be electrically connected to the amplification module 22 or the laser driving module 23.

[0037] Optionally, the electrical port 21 is connected to a resistor R1 and a resistor R2. The resistor R1 and the resistor R2 serve as terminating resistors of the electrical port 21, and are used to optimize impedance matching, thereby reducing reflection of electrical signals.

[0038] In some embodiments, the impedance of the termination resistor can be determined according to the corresponding standard of the application to achieve impedance matching. In this way, the reflection of the electrical signal in the electrical channel can be reduced, and the quality of signal transmission can be improved.

[0039] Optionally, the laser driving module 23 is connected to a resistor R3 and a resistor R4 , which serve as an output load of the second type driving module 12 .

[0040] It is understandable that the optoelectronic transceiver device also includes other circuit structures, such as a control module, so that the optoelectronic transceiver device can work normally. Figure 2 Not shown in the figure.

[0041] Optionally, the first type of driving module may be a driver, for example, the first type of driving module may be an output stage driver. The second type of driving module may be a driver, for example, the second type of driving module may be an input stage driver.

[0042] In some embodiments, the circuits of the first and second type driver modules are identical to those of the basic driver module. The basic driver module includes a current source, two transistors or field-effect transistors, an electrical signal input, an electrical signal output, a first control voltage input, and a second control voltage input. The electrical signal input is used to input an information-encoded electrical signal. The electrical signal output is used to output an information-encoded electrical signal. The first control voltage input is used to input a first control voltage. The second control voltage input is used to input a second control voltage. The first and second control voltages are used to control the basic driver module to turn on and off. Both the first and second ends of the first control voltage input are used to input the first control voltage. Both the first and second ends of the second control voltage input are used to input the second control voltage.

[0043] Optionally, the first control voltage input terminal includes two transistors or field effect transistors, and the second control voltage input terminal includes two transistors or field effect transistors.

[0044] See also Figure 3 , Figure 3 Schematic diagram of the circuit structure of the basic driving module provided in the embodiment of the present application. Figure 3As shown, the basic driver module 10 exemplarily includes a first field-effect transistor (FET) M1 and a second field-effect transistor (M2). The drains of the first field-effect transistor (M1) and the second field-effect transistor (M2) are both floating, and their sources are both connected to ground via a current source. The gate of the first field-effect transistor (M1) is connected to or disconnected from the first terminal of the electrical signal input terminal, and the voltage value of the first terminal of the electrical signal input terminal is voltage U1+. The gate of the second field-effect transistor (M2) is connected to or disconnected from the second terminal of the electrical signal input terminal, and the voltage value of the second terminal of the electrical signal input terminal is voltage U1-.

[0045] Optionally, both the first field effect transistor M1 and the second field effect transistor M2 are N-type MOS transistors.

[0046] Optionally, the first end of the first control voltage input terminal controls a transistor or a field effect transistor to connect or disconnect the first end of the electrical signal input terminal and the gate of the first field effect transistor, and the second end of the first control voltage input terminal controls a transistor or a field effect transistor to connect or disconnect the second end of the electrical signal input terminal and the gate of the second field effect transistor.

[0047] Optionally, the first end of the second control voltage input terminal connects or disconnects the power supply and the gate of the first field effect transistor by controlling a transistor or a field effect transistor, and the second end of the second control voltage input terminal connects or disconnects the power supply and the gate of the second field effect transistor by controlling a transistor or a field effect transistor.

[0048] like Figure 3 As shown, illustratively, the first end of the first control voltage input terminal connects or disconnects the first end of the electrical signal input terminal and the gate of the first field effect transistor M1 by controlling the third field effect transistor M3, and the second end of the first control voltage input terminal connects or disconnects the second end of the electrical signal input terminal and the gate of the second field effect transistor M2 by controlling the fourth field effect transistor M4. The first end of the second control voltage input terminal connects or disconnects the power supply and the gate of the first field effect transistor M1 by controlling the fifth field effect transistor M5, and the second end of the second control voltage input terminal connects or disconnects the power supply and the gate of the second field effect transistor M2 by controlling the sixth field effect transistor M6.

[0049] Optionally, the third field effect transistor M3 , the fourth field effect transistor M4 , the fifth field effect transistor M5 and the sixth field effect transistor M6 are all P-type MOS transistors.

[0050] In some embodiments, the polarity of the first control voltage and the second control voltage are opposite. When the first control voltage is a low voltage and the second control voltage is a high voltage, the circuit from the electrical signal input terminal to the electrical signal output terminal is conductive, the basic driving module is turned on, and the electrical signal is input from the electrical signal input terminal and output from the electrical signal output terminal. When the first control voltage is a high voltage and the second control voltage is a low voltage, the circuit from the electrical signal input terminal to the electrical signal output terminal is not conductive, the basic driving module is turned off, and the electrical signal cannot be output from the electrical signal output terminal.

[0051] Specifically, when the first control voltage is a low voltage and the second control voltage is a high voltage, the third field effect transistor M3 and the fourth field effect transistor M4 are turned on, so that the circuit from the electrical signal input terminal to the electrical signal output terminal is conductive, the basic drive module is turned on, and the electrical signal is input from the electrical signal input terminal and output from the electrical signal output terminal. When the first control voltage is a high voltage and the second control voltage is a low voltage, the third field effect transistor M3 and the fourth field effect transistor M4 are turned off, and the circuit from the electrical signal input terminal to the gates of the first field effect transistor M1 and the second field effect transistor M2 has a high resistance, the path for electrical signal input is cut off, the basic drive module is turned off, and the electrical signal cannot be output from the electrical signal output terminal.

[0052] By using the first and second control voltage input terminals to control the conduction and cutoff of two transistors or field-effect transistors, compared to existing voltage-limited circuit configurations using switches, the size of the switch resistance need not be considered. Because switch resistance increases the load voltage drop and compresses the operating voltage range of the field-effect transistor, the present invention's approach does not compress the field-effect transistor's operating voltage range, ensuring that field-effect transistor performance is unaffected. Furthermore, compared to existing impedance-limited circuit configurations using switches, there's no need to reduce the load resistance to address impedance matching issues. Because reducing the load resistance to address impedance matching issues simultaneously reduces output swing (output swing is the output current multiplied by the load resistance), the present invention's approach does not reduce output swing, helping to optimize impedance matching and avoiding the problems of poor impedance matching and reduced swing at the electrical interface caused by switch connections.

[0053] Furthermore, switches composed of transmission gates (e.g., double-pole single-throw switches or double-pole double-throw switches) typically have significant parasitic capacitance and series impedance. However, the basic driver module provided in this application does not include switches composed of transmission gates. While achieving full-duplex transmission with switchable directions, it can significantly reduce the impact of parasitic capacitance and series impedance, thereby improving signal transmission quality. As described above, in some embodiments, the circuitry of the first and second type driver modules is the same as that of the basic driver module, but the connection method with the circuitry of other modules is different.

[0054] Optionally, the electrical signal input terminal of the first type of driving module is connected to the amplification module, and the electrical signal output terminal is connected to the electrical port. The electrical signal input terminal of the second type of driving module is connected to the electrical port, and the electrical signal output terminal is connected to the laser driving module.

[0055] In some embodiments, the amplification module may be an amplifier, for example, the amplification module may be a transimpedance amplifier, which is used to convert a current signal into a voltage signal.

[0056] Optionally, the laser driving module may be a laser driver, and the laser driver is used to drive the optical signal transmitting module.

[0057] Optionally, one electrical port corresponds to one transmission channel.

[0058] In some embodiments, the amplification module is connected to the electrical port via a first type of driver module, and the laser driver module is connected to the electrical port via a second type of driver module.

[0059] Optionally, an amplifier module is connected to at least one electrical port via a first-type driver module, and a laser driver module is connected to at least one electrical port via a second-type driver module. An electrical port is connected to at least one amplifier module via a first-type driver module and to at least one laser driver module via a second-type driver module.

[0060] like Figure 2 As shown, in some embodiments, an amplifier module 22 is connected to an electrical port 21 via a first-type driver module 11, and a laser driver module 23 is connected to an electrical port 21 via a second-type driver module 12. In this way, the electrical port can be switched to a state of connection with the amplifier module or the laser driver module at any time, and the transmission channel corresponding to the electrical port can be switched to a transmission channel or a reception channel at any time, thereby meeting signal transmission requirements.

[0061] In some embodiments, when the first type driving module 11 is turned on, the electrical port 21 is electrically connected to the amplifying module 22 , so that the electrical port 21 sends the electrical signal obtained by converting the optical signal into the electrical signal by the optical signal receiving module 31 .

[0062] In some embodiments, when the second type driving module 12 is turned on and the first type driving module 11 is turned off, the electrical port 21 is electrically connected to the laser driving module 23 to drive the optical signal transmitting module 32 via the electrical signal received by the electrical port 21 to convert the electrical signal into an optical signal.

[0063] In some embodiments, when the first type driving module 11 is turned on, the second type driving module 12 is controlled to be turned off. In this way, the optical signal transmitting module can be prevented from sending an erroneous signal when the first type driving module is turned on.

[0064] like Figure 2 As shown, in some embodiments, an electrical port 21 , an amplifying module 22 , a laser driving module 23 , a first type driving module 11 , and a second type driving module 12 constitute a signal transceiver unit A.

[0065] Optionally, the signal transceiver unit A further includes a resistor R1 , a resistor R2 , a resistor R3 and a resistor R4 .

[0066] Optionally, the optoelectronic transceiver device may include multiple electrical ports, an amplifying module, a laser driving module, a first type driving module and a second type driving module. Figure 2 The composition and circuit structure of the signal transceiver unit shown in the figure are used to set up multiple signal transceiver units.

[0067] See also Figure 4 , Figure 4 Schematic diagram of the port circuit structure of the second embodiment of the optoelectronic transceiver provided in the embodiment of the present application. Figure 4 As shown, in some embodiments, an amplifier module 22 is connected to multiple electrical ports 21 via multiple first-type driver modules 11, and a laser driver module 23 is connected to multiple electrical ports 21 via multiple second-type driver modules 12. In this way, while achieving switchable full-duplex transmission, the number of hardware modules can be reduced, thereby reducing hardware costs.

[0068] It is understandable that the optoelectronic transceiver also includes other circuit structures to enable the optoelectronic transceiver to work properly. Figure 4 Not shown in the figure.

[0069] like Figure 4 As shown, preferably, two electrical ports 21, two first-type driver modules 11, two second-type driver modules 12, an amplifier module 22, and a laser driver module 23 constitute a signal transceiver unit A. In this signal transceiver unit A, the amplifier module 22 is connected to one electrical port 211 via a first-type driver module 111, the amplifier module 22 is connected to another electrical port 212 via a first-type driver module 112, the laser driver module 23 is connected to one electrical port 211 via a second-type driver module 121, and the laser driver module 23 is connected to another electrical port 212 via a second-type driver module 122. In this way, full-duplex transmission with switchable directions can be achieved, and the number of hardware modules can be reduced.

[0070] Optionally, the electrical port 212 is connected to a resistor R5 and a resistor R6 , and the resistor R5 and the resistor R6 serve as terminating resistors of the electrical port 212 .

[0071] Optionally, when the optoelectronic transceiver device includes multiple electrical ports, an amplifying module, a laser driving module, a first type driving module and a second type driving module, Figure 4 The composition and circuit structure of the signal transceiver unit shown in the figure are used to set up multiple signal transceiver units.

[0072] In some embodiments, in a signal transceiver unit, when a first-type driver module connected to one electrical port is turned on, a second-type driver module connected to another electrical port is turned on. That is, when one electrical port transmits an electrical signal converted from an optical signal by an optical signal receiving module, the other electrical port drives the optical signal transmitting module using the received electrical signal to convert the electrical signal into an optical signal. In this way, the amplification module and laser driver module in the signal transceiver unit can operate continuously, thereby enabling the optical signal receiving module and the optical signal transmitting module to operate continuously, thereby fully utilizing all optical signal receiving modules and optical signal transmitting modules for signal transmission and improving signal transmission efficiency.

[0073] like Figure 4 As shown, illustratively, in the signal transceiver unit A, when the first type driver module 111 connected to the electrical port 211 is turned on, the second type driver module 122 connected to the electrical port 212 is also turned on. When the first type driver module 112 connected to the electrical port 212 is turned on, the second type driver module 121 connected to the electrical port 211 is also turned on.

[0074] See also Figure 5 , Figure 5 Schematic diagram of the circuit structure of the optoelectronic transceiver provided in the embodiment of the present application in the application scenario. Figure 5 As shown, in some embodiments, an electrical port of the optoelectronic transceiver 1 is connected to a corresponding electrical port of the connector on the PCBA 70 via a metal lead. For example, electrical port 211 is connected to electrical port 71 of the connector via a metal lead 60, and electrical port 212 is connected to electrical port 72 of the connector via a metal lead 60.

[0075] Optionally, the electrical ports of the optoelectronic transceiver 1 are all on-chip metal pad electrical ports, and the electrical ports of the connector are all PCB metal pad electrical ports. On the connector, each electrical port is connected to a set of metal pins via a transmission line. For example, electrical port 71 is connected to metal pin 73 via a transmission line, and electrical port 72 is connected to metal pin 74 via a transmission line.

[0076] In some embodiments, PCBA 70 is configured to be inserted into electronic device 80. Electronic device 80 includes a connector for inserting PCBA 70. The connector of electronic device 80 is provided with metal pins configured to electrically connect to corresponding metal pins on PCBA 70. For example, metal pin 81 is configured to electrically connect to metal pin 73, and metal pin 82 is configured to electrically connect to metal pin 74.

[0077] Optionally, the electronic device includes a computer, a mobile phone, etc.

[0078] Optionally, metal pin 81 is a metal pin for a receiving electrical port, and metal pin 82 is a metal pin for a transmitting electrical port. When electrical port 211 transmits an electrical signal obtained by converting an optical signal into an electrical signal by the optical signal receiving module, the electrical signal is sequentially transmitted through electrical port 71, metal pin 73, and metal pin 81 to electronic device 80, allowing electronic device 80 to receive the information carried by the electrical signal. When electronic device 80 transmits an electrical signal, the electrical signal is sequentially transmitted through metal pin 82, metal pin 74, and electrical port 72 to electrical port 212. The electrical signal received by electrical port 212 drives optical signal transmitting module 32 to convert the electrical signal into an optical signal, allowing electronic device 80 to transmit the information carried by the electrical signal.

[0079] See also Figure 6 , Figure 6 Schematic diagram of the structure of the optoelectronic transceiver system provided in the embodiment of the present application. Figure 6 As shown, the present application also provides an optoelectronic transceiver system 2, which includes a first optoelectronic transceiver 1A, an optical cable B, and a second optoelectronic transceiver 1B. The first optoelectronic transceiver 1A is connected to the second optoelectronic transceiver 1B via the optical cable B.

[0080] In some embodiments, an interface of the optoelectronic transceiver device integrates a signal transceiver unit.

[0081] In some embodiments, each connector of the optical cable is integrated with an optical signal receiving module and an optical signal transmitting module, so that the optical cable can achieve full-duplex signal transmission with switchable direction.

[0082] In some embodiments, when the first connector of the optical cable is connected to the first interface of the first optoelectronic transceiver device and the second connector of the optical cable is connected to the second interface of the second optoelectronic transceiver device, the optical signal is transmitted through the optical cable.

[0083] Specifically, when an optical signal is transmitted from the first optoelectronic transceiver to the second optoelectronic transceiver, the second-type driver module in the first interface is turned on and the first-type driver module is turned off. The electrical signal received through the electrical port drives the optical signal transmitting module to convert the electrical signal into an optical signal. Furthermore, the first-type driver module in the second interface is turned on, causing the electrical port to transmit the electrical signal converted from the optical signal by the optical signal receiving module, thereby enabling optical signal transmission via the optical cable. In this case, a single signal transceiver unit, connected to a single optical cable, achieves full-duplex signal transmission with switchable directions.

[0084] See also Figure 7 , Figure 7 Schematic diagram of the circuit structure of the optoelectronic transceiver system provided in an embodiment of the present application. Figure 7 A group of signal transceiver units is taken as an example. Figure 7 As shown, in some embodiments, the signal transceiver unit A1 of the first optoelectronic transceiver device is connected to and communicates with the signal transceiver unit A2 of the second optoelectronic transceiver device via the first optical fiber C1 and the second optical fiber C2. Specifically, the optical signal transmitting module 32B is connected to the optical signal receiving module 31A via the first optical fiber C1, and the optical signal transmitting module 31B is connected to the optical signal receiving module 32A via the second optical fiber C2.

[0085] Optionally, the first optical fiber C1 and the second optical fiber C2 are located in the same optical cable.

[0086] Optionally, the first optical fiber C1 and the second optical fiber C2 are located in different optical cables.

[0087] like Figure 4 and Figure 5 As shown, in some embodiments, the optoelectronic transceiver device further includes a control module 51, which is used to receive a control signal and control the opening and closing of the first type driving module and the second type driving module according to the control signal.

[0088] In some embodiments, the electronic device is used to determine whether the electrical port needs to send an electrical signal obtained by converting an optical signal by an optical signal receiving module, or whether the electrical signal received by the electrical port needs to drive the optical signal transmitting module to convert the electrical signal into an optical signal. The control module is used to receive a control signal sent by the electronic device. When the electronic device determines that the electrical port needs to send an electrical signal obtained by converting an optical signal by the optical signal receiving module, the electronic device sends a first control signal to the control module, and the control module receives the first control signal. When the electronic device determines that the electrical port needs to drive the optical signal transmitting module to convert the electrical signal into an optical signal by the electrical signal received by the electrical port, the electronic device sends a second control signal to the control module, and the control module receives the second control signal.

[0089] Optionally, one first control signal corresponds to one electrical port, and one first control signal is used to enable the control module to control the opening or closing of the first type driving module and the second type driving module connected to the corresponding electrical port.

[0090] Optionally, one second control signal corresponds to one electrical port, and one second control signal is used to enable the control module to control the opening or closing of the first type driving module and the second type driving module connected to the corresponding electrical port.

[0091] In some embodiments, the control module is electrically connected to all first-type driver modules and second-type driver modules.

[0092] In some embodiments, the control module is electrically connected to the first control voltage input terminal and the second control voltage input terminal of the first type of driver module and the second type of driver module. The control module is used to control the opening and closing of the first type of driver module by outputting the first control voltage and the second control voltage to the first type of driver module, and outputting the first control voltage and the second control voltage to the second type of driver module to control the opening and closing of the first type of driver module.

[0093] like Figure 4 and Figure 5 As shown, in some embodiments, the control module 51 includes multiple pins, with the number of pins being twice the total number of first-type driver modules and second-type driver modules. One pin of the control module 51 is used to output a first control voltage or a second control voltage to a pin of a first-type driver module or a second-type driver module. For example, in signal transceiver unit A, the control module 51 includes pins 511, 512, 513, 514, 515, 516, 517, and 518. Each first-type driver module or second-type driver module includes two pins for connecting to the control module 51.

[0094] For example, pin 511 is connected to pin 111A, and pin 512 is connected to pin 111B. Pin 511 is used to output a first control voltage for controlling the first type driver module 111, and pin 512 is used to output a second control voltage for controlling the first type driver module 111. Pin 513 is connected to pin 112A, and pin 514 is connected to pin 112B. Pin 513 is used to output the first control voltage for controlling the first type driver module 112, and pin 514 is used to output the second control voltage for controlling the first type driver module 112. Pin 515 is connected to pin 121A, and pin 516 is connected to pin 121B. Pin 515 is used to output a first control voltage for controlling the second type driver module 121, and pin 516 is used to output a second control voltage for controlling the second type driver module 121. Pin 517 is connected to pin 122A, and pin 518 is connected to pin 122B. Pin 517 is used to output a first control voltage for controlling the second type driver module 122, and pin 518 is used to output a second control voltage for controlling the second type driver module 122. It can be understood that Figure 7 The circuits connecting the control module and the first type of driving modules and the second type of driving modules are not shown, but this should not be regarded as a limitation of the present application.

[0095] Optionally, when the control module receives the first control signal, the control module outputs a first control voltage of a low potential to the first type of driver module, and a second control voltage of a high potential to the first type of driver module, to control the first type of driver module to be turned on. When the control module receives the second control signal, the control module outputs a first control voltage of a high potential to the first type of driver module, and a second control voltage of a low potential to the first type of driver module, to control the first type of driver module to be turned off.

[0096] Optionally, when the control module receives the second control signal, the first control voltage output by the control module to the second type driver module is a low voltage, and the second control voltage is a high voltage, so as to control the second type driver module to turn on. When the control module receives the first control signal, the first control voltage output by the control module to the second type driver module is a high voltage, and the second control voltage is a low voltage, so as to control the second type driver module to turn off.

[0097] In some embodiments, when the control module receives a first control signal, the control module is configured to determine a target amplification module corresponding to the electrical port, and control a target first-type driver module connected to both the target amplification module and the electrical port to be turned on according to the target amplification module, so that the electrical port is electrically connected to the target amplification module, thereby enabling the electrical port to transmit an electrical signal obtained by converting an optical signal into an electrical signal by the optical signal receiving module.

[0098] Optionally, when an electrical port is connected to only one amplifying module, the target amplifying module corresponding to the electrical port is the amplifying module connected to the electrical port.

[0099] Optionally, when an electrical port is connected to multiple amplifying modules, the control module is configured to determine a target amplifying module corresponding to the electrical port from the multiple amplifying modules. For a specific determination method, see step S120 of the optoelectronic transceiver method.

[0100] like Figure 4 As shown, illustratively, when the control module 51 receives a first control signal corresponding to the electrical port 211, the control module 51 is used to control the first type driver module 111 (i.e., the target first type driver module) connected to the electrical port 211 to be turned on, so that the electrical port 211 is electrically connected to the amplification module 22 (i.e., the target amplification module), thereby causing the electrical port 211 to send the electrical signal obtained by converting the optical signal into the electrical signal by the optical signal receiving module 31.

[0101] In some embodiments, when the control module receives a first control signal corresponding to an electrical port, the control module is further configured to control all first-type driver modules connected to the target amplification module to shut down, except for the target first-type driver module. In this manner, erroneous transmission of electrical signals through other electrical ports connected to the target amplification module by the first-type driver modules can be avoided, thereby improving signal transmission accuracy.

[0102] like Figure 4 As shown, illustratively, when the control module 51 receives the first control signal corresponding to the electrical port 211, the control module 51 is further configured to control the first type driver modules 112 connected to the amplification module 22 (i.e., all first type driver modules other than the target first type driver module connected to the target amplification module) to be turned off.

[0103] In some embodiments, when the control module receives a second control signal corresponding to the electrical port, the control module is used to determine the target laser driving module corresponding to the electrical port, and control a target second-type driving module that is simultaneously connected to the target laser driving module and the electrical port to turn on according to the target laser driving module, so that the electrical port is electrically connected to the target laser driving module, thereby driving the optical signal transmitting module through the electrical signal received by the electrical port to convert the electrical signal into an optical signal, and controlling the first-type driving module connected to the electrical port to turn off.

[0104] Optionally, when an electrical port is connected to only one laser driving module, the target laser driving module corresponding to the electrical port is the laser driving module connected to the electrical port.

[0105] Optionally, when one electrical port is connected to multiple laser driving modules, the control module is configured to determine a target laser driving module corresponding to the electrical port from the multiple laser driving modules. For a specific determination method, see step S220 of the optoelectronic transceiver method.

[0106] like Figure 4 As shown, exemplarily, when the control module 51 receives the second control signal corresponding to the electrical port 211, the control module 51 is used to control the second type driving module 121 (i.e., the target second type driving module) connected to the electrical port 211 to turn on, so that the electrical port 211 is electrically connected to the laser driving module 23 (i.e., the target laser driving module), thereby driving the optical signal transmitting module 32 through the electrical signal received by the electrical port 211 to convert the electrical signal into an optical signal, and controlling the first type driving module 111 connected to the electrical port 211 to turn off.

[0107] In some embodiments, when the control module receives a second control signal corresponding to an electrical port, the control module is further configured to control all second-type driver modules connected to the target laser driver module to shut down, except for the target second-type driver module. In this manner, the target laser driver module is prevented from receiving electrical signals erroneously transmitted through other electrical ports connected to the target laser driver module by the second-type driver modules, thereby improving the accuracy of signal transmission.

[0108] like Figure 4 As shown, exemplarily, when the control module 51 receives the second control signal corresponding to the electrical port 211, the control module 51 is also used to control the second type driving module 122 connected to the laser driving module 23 (that is, all second type driving modules except the target second type driving module connected to the target laser driving module) to be turned off.

[0109] In some embodiments, in a signal transceiver unit, the control module is further configured to control a second type of driver module connected to another electrical port to be turned on when a first type of driver module connected to one electrical port is controlled to be turned on.

[0110] like Figure 4 As shown, exemplarily, in the signal transceiver unit A, the control module is further used to control the second type of driver module 122 connected to the electrical port 212 to be turned on when the first type of driver module 111 connected to the electrical port 211 is turned on; when the first type of driver module 112 connected to the electrical port 212 is turned on, the second type of driver module 121 connected to the electrical port 211 is controlled to be turned on.

[0111] In some embodiments, the optoelectronic transceiver device further includes a third-type driver module, a fourth-type driver module, an encoding module, and a decoding module. The encoding module is configured to connect to the electrical port via the third-type driver module, and the decoding module is configured to connect to the electrical port via the fourth-type driver module. The control module is further configured to control the activation and deactivation of the third-type driver module and the fourth-type driver module.

[0112] Optionally, the control module is electrically connected to all the third-type driving modules and the fourth-type driving modules.

[0113] In some embodiments, the fourth type of driver module has the same circuit as the first type of driver module, and the third type of driver module has the same circuit as the second type of driver module.

[0114] In some embodiments, the control module is electrically connected to the first control voltage input terminal and the second control voltage input terminal of the third type of driver module and the fourth type of driver module. The control module is configured to control the turning on and off of the third type of driver module by outputting the first control voltage and the second control voltage to the third type of driver module, and to output the first control voltage and the second control voltage to the fourth type of driver module to control the turning on and off of the fourth type of driver module.

[0115] Optionally, when the first control voltage output by the control module to the third type driver module is a low voltage and the second control voltage is a high voltage, the third type driver module is controlled to be turned on. When the first control voltage output by the control module to the third type driver module is a high voltage and the second control voltage is a low voltage, the third type driver module is controlled to be turned off.

[0116] Optionally, when the first control voltage output by the control module to the fourth type driver module is a low voltage and the second control voltage is a high voltage, the fourth type driver module is controlled to be turned on. When the first control voltage output by the control module to the fourth type driver module is a high voltage and the second control voltage is a low voltage, the fourth type driver module is controlled to be turned off.

[0117] Optionally, the electrical signal input end of the third type driving module is connected to the electrical port, and the electrical signal output end is connected to the decoding module.

[0118] Optionally, the electrical signal input end of the fourth type of driving module is connected to the encoding module, and the electrical signal output end is connected to the electrical port.

[0119] In some embodiments, when the third type driving module is turned on, the electrical port is electrically connected to the encoding module to receive the electrical signal encoded by the encoding module.

[0120] In some embodiments, when the fourth type of driving module is turned on, the electrical port is electrically connected to the decoding module to send the electrical signal to the decoding module for decoding to obtain data information.

[0121] In some implementations, one encoding module is used to implement one encoding method, and one decoding module is used to implement one decoding method.

[0122] Optionally, the encoding methods corresponding to multiple encoding modules are the same.

[0123] Optionally, at least two encoding modules correspond to different encoding modes. In this way, the transmission channel can switch encoding modes, thereby improving the flexibility of encoding and thus improving the security of signal transmission.

[0124] Optionally, the decoding methods corresponding to the multiple decoding modules are the same.

[0125] Optionally, at least two decoding modules correspond to different decoding modes. In this way, the transmission channel can switch decoding modes, thereby improving decoding flexibility and thus improving signal transmission security.

[0126] In some embodiments, an encoding module is connected to at least one electrical port via a third-type driver module, and a decoding module is connected to at least one electrical port via a fourth-type driver module. An electrical port is connected to at least one encoding module via a third-type driver module and to at least one decoding module via a fourth-type driver module.

[0127] In some embodiments, an encoding module is connected to an electrical port via a third type driver module, and a decoding module is connected to an electrical port via a fourth type driver module. Figure 2 In this way, the electrical port can switch the connected encoding module or decoding module at any time, and the transmission channel corresponding to the electrical port can perform signal encoding or signal decoding at any time. It can cooperate with the above-mentioned channel switching method to send or receive signals, thereby meeting the needs of signal transmission and improving the speed and security of signal transmission.

[0128] See also Figure 8 , Figure 8 FIG. 1 is a schematic diagram of a partial port circuit structure of the third embodiment of the optoelectronic transceiver provided in the embodiment of the present application. Figure 8 As shown, in some embodiments, a decoding module 41 is connected to multiple electrical ports 21 through multiple fourth-type driving modules 13. Figure 8 In some embodiments, a coding module is connected to multiple electrical ports through multiple third-type driving modules.

[0129] Optionally, a decoding module is further connected to an electrical port, which is used to connect to a corresponding electrical port on the PCBA. Figure 8As shown, for example, the decoding module 41 is connected to the electrical port 213, and the electrical port 213 is used to communicate with Figure 5 The decoding module 42 is connected to the electrical port 214, which is used to communicate with the Figure 5 The electrical port 72 is connected.

[0130] It is understandable that although Figure 8 For the sake of simplicity, only the circuit configuration of the decoding module is shown. However, an encoding module can also be connected to multiple electrical ports through multiple third-type driver modules. Figure 8 In addition, an encoding module is also connected to an electrical port, which is used to connect to a corresponding electrical port on the PCBA.

[0131] In some embodiments, an electrical port is connected to multiple encoding modules via a third-type driver module and to multiple decoding modules via a fourth-type driver module. In this way, the electrical port can switch between connected encoding modules or decoding modules. If at least two encoding modules correspond to different encoding modes, and at least two decoding modules correspond to different decoding modes, the transmission channel corresponding to the electrical port can switch between encoding and decoding modes, and transmit or receive signals in conjunction with the aforementioned channel switching method, thereby meeting signal transmission requirements and improving signal transmission security.

[0132] In some embodiments, two electrical ports, four third-category driver modules, four fourth-category driver modules, two decoding modules, and two encoding modules constitute a signal encoding and decoding unit. In this signal encoding and decoding unit, the first encoding module is connected to one electrical port via a third-category driver module, the first encoding module is connected to another electrical port via a third-category driver module, the second encoding module is connected to one electrical port via a third-category driver module, and the second encoding module is connected to another electrical port via a third-category driver module. The first decoding module is connected to one electrical port via a fourth-category driver module, the first decoding module is connected to another electrical port via a fourth-category driver module, the second decoding module is connected to one electrical port via a fourth-category driver module, and the second decoding module is connected to another electrical port via a fourth-category driver module. In this way, while achieving switchable full-duplex transmission, the number of hardware modules can be reduced, and the transmission channel can switch between encoding and decoding modes.

[0133] like Figure 8As shown, taking two decoding modules as an example, decoding module 41 is connected to electrical port 211 via a fourth-type driver module 131, decoding module 41 is connected to electrical port 212 via a fourth-type driver module 133, decoding module 42 is connected to electrical port 211 via a fourth-type driver module 132, and decoding module 42 is connected to electrical port 212 via a fourth-type driver module 134. The circuit configuration of the two encoding modules refers to the circuit configuration of the two decoding modules.

[0134] In some embodiments, when the control module receives a second control signal, the control module is used to determine the target encoding module corresponding to the electrical port, and control a target third-type driving module that is simultaneously connected to the target encoding module and the electrical port to turn on according to the target encoding module, so that the electrical port can output the electrical signal encoded by the encoding module, thereby driving the optical signal transmitting module through the electrical signal received by the electrical port to convert the electrical signal into an optical signal.

[0135] In some embodiments, the control module is further configured to determine a target coding mode of the electrical port, and then determine a target coding module corresponding to the electrical port according to the target coding mode. For specific determination methods, see step S140 of the optoelectronic transceiver method.

[0136] Optionally, when an electrical port is connected to only one encoding module, the target encoding module corresponding to the electrical port is the encoding module connected to the electrical port.

[0137] Optionally, when one electrical port is connected to multiple encoding modules, the control module is configured to determine a target encoding module corresponding to the electrical port from the multiple encoding modules. For a specific determination method, see step S140 of the optoelectronic transceiver method.

[0138] In some embodiments, when the second-type driver module connected to the electrical port is turned on, the control module is further configured to control all third-type driver modules connected to the target encoding module to turn off, except for the target third-type driver module. In this manner, erroneous electrical signals can be prevented from being transmitted through other electrical ports connected to the target encoding module by the third-type driver modules, thereby improving signal transmission accuracy.

[0139] In some embodiments, when the control module receives a first control signal, the control module is used to determine a target decoding module corresponding to the electrical port, and control a target fourth-category driver module connected to the target decoding module and the electrical port to turn on according to the target decoding module, thereby decoding the electrical signal obtained by converting the optical signal into the electrical signal by the optical signal receiving module, so that the electrical port can send the decoded electrical signal.

[0140] In some embodiments, the control module is further configured to determine a target decoding mode of the electrical port and determine a target decoding module corresponding to the electrical port according to the target decoding mode. For specific determination methods, see step S240 of the optoelectronic transceiver method.

[0141] Optionally, when an electrical port is connected to only one decoding module, the target encoding module corresponding to the electrical port is the decoding module connected to the electrical port.

[0142] Optionally, when an electrical port is connected to multiple decoding modules, the control module is configured to determine a target decoding module corresponding to the electrical port from the multiple decoding modules. For a specific determination method, see step S240 of the optoelectronic transceiver method.

[0143] In some embodiments, when the control module receives the first control signal, the control module is further configured to control all fourth-category driver modules connected to the target decoding module to shut down, except for the target fourth-category driver module. In this manner, the target decoding module is prevented from receiving electrical signals erroneously sent to the target decoding module via other electrical ports connected to the target decoding module by the fourth-category driver module, thereby improving signal transmission accuracy.

[0144] The present application also provides a photoelectric transceiver method, which is applied to the photoelectric transceiver device described above.

[0145] In some implementations, a control module of the optoelectronic transceiver is used to implement the optoelectronic transceiver method.

[0146] See also Figure 9 , Figure 9 Schematic diagram of the process of the photoelectric transceiver method provided in the embodiment of the present application. Figure 9 As shown, the optoelectronic transceiver method includes: steps S100 to S200.

[0147] Step S100: When a first control signal is received, the first type driving module is controlled to start, so that the electrical port is electrically connected to the amplifying module, and the electrical port sends the electrical signal obtained by converting the optical signal into the electrical signal by the optical signal receiving module.

[0148] Step S200: When a second control signal is received, the second type driving module is controlled to be turned on and the first type driving module is controlled to be turned off, so as to drive the optical signal transmitting module via the electrical signal received by the electrical port to convert the electrical signal into an optical signal.

[0149] In some implementations, the control module is configured to execute step S100 and step S200.

[0150] In some embodiments, when the control module of the first optoelectronic transceiver device wants to control the first type of driver module or the second type of driver module to be turned on or off, it first sends an on notification message or a off notification message to the second optoelectronic transceiver device connected to the first optoelectronic transceiver device through an optical cable, so that when the first type of driver module corresponding to a channel of the first optoelectronic transceiver device is turned on, the control module of the second optoelectronic transceiver device controls the second type of driver module corresponding to the channel to be turned on; when the second type of driver module corresponding to a channel of the first optoelectronic transceiver device is turned on, the control module of the second optoelectronic transceiver device controls the first type of driver module corresponding to the channel to be turned on.

[0151] In some embodiments, when the control module of the second optoelectronic transceiver receives activation notification information of a first-type driver module corresponding to a channel of the first optoelectronic transceiver, the control module controls the second-type driver module corresponding to the channel to be activated. When the control module of the second optoelectronic transceiver receives activation notification information of a second-type driver module corresponding to a channel of the first optoelectronic transceiver, the control module controls the first-type driver module corresponding to the channel to be activated.

[0152] In some embodiments, when the control module of the second optoelectronic transceiver receives shutdown notification information from a first-type driver module corresponding to a channel of the first optoelectronic transceiver, the control module controls the second-type driver module corresponding to the channel to shut down. When the control module of the second optoelectronic transceiver receives shutdown notification information from a second-type driver module corresponding to a channel of the first optoelectronic transceiver, the control module controls the first-type driver module corresponding to the channel to shut down.

[0153] In some embodiments, when the control module of the first optoelectronic transceiver device wants to control the third type of driver module or the fourth type of driver module to be turned on or off, it first sends an opening notification message or a closing notification message to the second optoelectronic transceiver device connected to the first optoelectronic transceiver device through an optical cable, so that when the third type of driver module corresponding to a channel of the first optoelectronic transceiver device is turned on, the control module of the second optoelectronic transceiver device controls the fourth type of driver module corresponding to the channel to be turned on; when the fourth type of driver module corresponding to a channel of the first optoelectronic transceiver device is turned on, the control module of the second optoelectronic transceiver device controls the third type of driver module corresponding to the channel to be turned on.

[0154] In some embodiments, when the control module of the second optoelectronic transceiver receives activation notification information of a third-type driver module corresponding to a channel of the first optoelectronic transceiver, the control module controls the activation of the fourth-type driver module corresponding to the channel. When the control module of the second optoelectronic transceiver receives activation notification information of a fourth-type driver module corresponding to a channel of the first optoelectronic transceiver, the control module controls the activation of the third-type driver module corresponding to the channel.

[0155] In some embodiments, when the control module of the second optoelectronic transceiver receives shutdown notification information from a third-type driver module corresponding to a channel of the first optoelectronic transceiver, the control module controls the fourth-type driver module corresponding to the channel to shut down. When the control module of the second optoelectronic transceiver receives shutdown notification information from a fourth-type driver module corresponding to a channel of the first optoelectronic transceiver, the control module controls the third-type driver module corresponding to the channel to shut down.

[0156] In some embodiments, the control module is configured to determine whether the electrical port needs to transmit an electrical signal obtained by converting an optical signal into an electrical signal by the optical signal receiving module, or whether the electrical signal received by the electrical port needs to drive the optical signal transmitting module to convert the electrical signal into an optical signal. In this case, the method further includes: Steps S101 and S102.

[0157] Step S101: Acquire data type information of a transmission channel corresponding to each electrical port.

[0158] In some implementations, the data type information may include an upload data type, a download data type, and an interaction data type.

[0159] Optionally, the download data type includes sub-download data types such as the live broadcast data type and the file download data type, the upload data type includes sub-upload data types such as the file upload data type, and the interaction data type further includes sub-interaction data types such as the video data type and the voice data type.

[0160] In some embodiments, when the type of data to be sent or received by the electrical port changes, the data type information of the transmission channel corresponding to the electrical port will also change accordingly. Therefore, step S101 is performed once every first preset time interval, and then the subsequent steps are performed again.

[0161] Step S102: Determine, based on the data type information corresponding to the electrical port, whether the electrical port needs to send an electrical signal obtained by converting an optical signal into an electrical signal by the optical signal receiving module, or whether the electrical signal received by the electrical port needs to drive the optical signal transmitting module to convert the electrical signal into an optical signal.

[0162] In some embodiments, when the data type information corresponding to the electrical port is an upload data type, it is determined that the electrical port needs to drive the optical signal transmitting module to convert the electrical signal into an optical signal using the electrical signal received by the electrical port. When the data type information corresponding to the electrical port is a download data type, it is determined that the electrical port needs to transmit the electrical signal obtained by converting the optical signal into an optical signal using the optical signal receiving module.

[0163] Optionally, when the data type information corresponding to the electrical port is an interactive data type, it is judged that the electrical port needs to switch direction within a time period, that is, it is necessary to send the electrical signal obtained by converting the optical signal by the optical signal receiving module, and it is also necessary to drive the optical signal transmitting module to convert the electrical signal into an optical signal through the electrical signal received by the electrical port. At this time, it is first judged that the electrical port needs to send the electrical signal obtained by converting the optical signal by the optical signal receiving module, and subsequently, it is judged whether the electrical port needs to switch direction at any time according to the received transmission request information.

[0164] Optionally, the transmission request information includes transmission request information and reception request information. When the transmission request information is received via the electrical port, it is determined that the electrical port needs to transmit an electrical signal obtained by converting an optical signal into an electrical signal by the optical signal receiving module. When the reception request information is received via the electrical port, it is determined that the electrical signal received via the electrical port drives the optical signal transmitting module to convert the electrical signal into an optical signal.

[0165] An amplifier module or a laser driver module can only be used by one electrical port. When an amplifier module is connected to multiple electrical ports, and / or a laser driver module is connected to multiple electrical ports, the signal transmission requirements of some electrical ports may not be met. Figure 4 For example, when electrical port 211 receives an electrical signal to drive laser driver module 23, which in turn drives optical signal transmitter module 32 to convert the electrical signal into an optical signal and transmit the electrical signal, electrical port 212 cannot receive the electrical signal to drive laser driver module 23, and the transmission channel corresponding to electrical port 212 cannot transmit information. Therefore, to improve signal transmission efficiency, it is necessary to schedule the use rights of the amplification module and / or laser driver module.

[0166] In some embodiments, step S100 includes steps S110 to S130.

[0167] Step S110: Acquire first connection relationship information between each electrical port and the amplification module.

[0168] Here, defining that the electrical port is connected to the amplification module through the first type of driving module is equivalent to connecting the electrical port to the amplification module.

[0169] Step S120: When the control module receives the first control signal or determines that the electrical port needs to send the electrical signal obtained by converting the optical signal into the electrical signal by the optical signal receiving module, the target amplification module corresponding to the electrical port is determined according to the first connection relationship information.

[0170] In some embodiments, when it is determined according to the first connection relationship information that the electrical port is connected to only one amplification module through the first type of driver module, the amplification module is determined as the target amplification module.

[0171] In some embodiments, when it is determined based on the first connection relationship information that the electrical port is connected to multiple amplification modules, amplification module usage status information is obtained, and a target amplification module corresponding to the electrical port is determined from the multiple amplification modules based on the first connection relationship information and the amplification module usage status information. Specifically, multiple amplification modules connectable to the electrical port are determined based on the first connection relationship information, and one amplification module is selected from the multiple amplification modules based on the amplification module usage status information as the target amplification module corresponding to the electrical port.

[0172] Optionally, when it is determined according to the amplifying module usage status information that there is at least one idle amplifying module among the multiple amplifying modules, an idle amplifying module is selected as a target amplifying module corresponding to the electrical port.

[0173] In some implementations, the target amplification module is determined according to data type information of the transmission channel corresponding to each electrical port.

[0174] In some embodiments, the weight corresponding to each electrical port is calculated based on the data type information of the transmission channel corresponding to each electrical port, and based on the weight corresponding to the electrical port electrically connected to each amplification module, an amplification module electrically connected to an electrical port with a smaller weight than the current electrical port is selected from multiple amplification modules as the target amplification module corresponding to the current electrical port.

[0175] In some embodiments, when there is no amplification module electrically connected to an electrical port with a smaller weight than the current electrical port among multiple amplification modules, the sending demand of the current electrical port is added to the first demand queuing list, and the amplification module electrically connected to the electrical port with a smaller weight than the current electrical port or the idle amplification module is searched once every period of time based on the first connection relationship information and the amplification module usage status information. When the search is successful, the currently found amplification module is used as the target amplification module corresponding to the current electrical port, and the sending demand of the current electrical port is deleted from the first demand queuing list, otherwise the search continues.

[0176] In some embodiments, an initial weight corresponding to each electrical port is calculated based on the data type information of the transmission channel corresponding to each electrical port. Each data type information corresponds to a preset first parameter value. For example, the upload data type, the download data type, and the interaction data type each correspond to a different first parameter value.

[0177] Optionally, the first parameter value of the interactive data type is greater than the first parameter value of the download data type, because the interactive data type often contains more information.

[0178] Optionally, the first parameter value of the download data type is greater than the first parameter value of the upload data type, because the information of the download data type often contains more information.

[0179] In some implementations, each sub-download data type corresponds to a preset second parameter value. For example, for the interactive data type, the video data type and the voice data type correspond to different second parameter values.

[0180] Optionally, the second parameter value of the video data type is greater than the second parameter value of the voice data type, because the video data type often contains more information.

[0181] Optionally, the initial calculation formula for the weight corresponding to the electrical port is:

[0182] Initial weight value = a×b+c.

[0183] Wherein, a represents the first parameter value corresponding to the data type information of the electrical port, b represents the second parameter value corresponding to the data type information of the electrical port, and c represents the static factor corresponding to the electrical port, which is a preset value.

[0184] In some embodiments, a static factor is pre-set for each electrical port based on its purpose in the circuit. For example, if the electrical port is connected to a sensor and the signal transmission requirement is to transmit collected data at regular intervals, the data volume is relatively small, so a smaller static factor is set accordingly. If the electrical port is connected to a data processing unit and needs to transmit a large amount of processed data to the electronic device at irregular intervals, a larger static factor is set accordingly.

[0185] In some embodiments, the weight corresponding to each electrical port is updated and calculated based on the amount of information sent or received by each electrical port in real time. In this way, the weight corresponding to the electrical port can reflect the actual usage of the electrical port.

[0186] Optionally, each data type information corresponds to a reference information amount.

[0187] Optionally, the calculation formula for updating the weight corresponding to the electrical port is:

[0188] Updated weight value = initial weight value + d × (real-time information volume of the electrical port / reference information volume corresponding to the data type information of the electrical port).

[0189] The real-time information volume of the electrical port is the amount of information sent or received by the electrical port in real time. d represents an adjustment factor, which is a preset value.

[0190] In some implementations, the target amplification module is re-determined for each electrical port every second preset time interval.

[0191] Optionally, when re-determining the target amplification module, the weight corresponding to the electrical port is recalculated using an update calculation formula for the weight corresponding to the electrical port, and then the target amplification module is re-determined for each electrical port according to the method described above.

[0192] In some implementations, the weights corresponding to the electrical ports may not be updated, thereby reducing the amount of calculation.

[0193] In some embodiments, when a signal transceiver unit includes multiple electrical ports, the multiple electrical ports within the signal transceiver unit can alternately use an amplification module, with each amplification module usage duration being a second preset time interval. In this case, the target amplification module corresponding to the current electrical port is determined based on the order in which the electrical ports alternately use the amplification modules.

[0194] Step S130: a target first-type driving module connected to the target amplifying module and the electrical port is turned on according to the control of the target amplifying module, so that the electrical port is electrically connected to the target amplifying module, and the electrical port sends the electrical signal obtained by the optical signal receiving module converting the optical signal.

[0195] In some embodiments, the usage duration of each amplification module can be predicted based on the data type information, historical transmission information volume, real-time information volume, and historical transmission duration of each electrical port. During this usage duration, the target first-type driver module corresponding to the electrical port can be controlled to remain enabled. That is, during this usage duration, the electrical port can continue to use the corresponding target amplification module without switching the target amplification module.

[0196] Optionally, multiple model characteristic parameters are calculated based on data type information, historical transmission information volume, real-time information volume and historical transmission duration, and a prediction equation is constructed based on the multiple model characteristic parameters, and then the prediction equation is used to predict the usage time of the amplification module.

[0197] In some embodiments, the multiple model characteristic parameters include average transmission time, standard deviation of transmission volume, weight corresponding to data type information, and real-time information volume. The average transmission time is the average of multiple historical transmission times. The standard deviation of transmission volume is the standard deviation of historical transmission information volume.

[0198] In some embodiments, a linear regression method is used to construct a prediction equation.

[0199] Alternatively, the prediction equation is:

[0200] Usage time = β0 + β1 × average transmission time + β2 × standard deviation of transmission volume + β3 × weight corresponding to data type information + β4 × real-time information volume + ... + ε.

[0201] Among them, β0 represents the intercept, β1, β2, β3 and β4 represent the coefficients of each model characteristic parameter, and ε represents the error term.

[0202] Optionally, an artificial intelligence model is used to predict the usage time of the electrical port based on data type information, real-time information volume, historical transmission time points, and historical transmission duration.

[0203] In some embodiments, step S100 further includes: monitoring the usage status of the amplification module electrically connected to each electrical port; when it is determined that the target amplification module is damaged based on the usage status of the target amplification module electrically connected to the electrical port, selecting an amplification module from the multiple amplification modules connected to the electrical port as the target amplification module, and executing step S130.

[0204] In some embodiments, after step S130, in the signal transceiver unit, when one electrical port is controlled to be switched to be electrically connected to the amplification module first, it is determined that the other electrical port needs to drive the optical signal transmission module to convert the electrical signal into an optical signal through the received electrical signal.

[0205] Optionally, when another electrical port also needs to send the electrical signal obtained by converting the optical signal into the electrical signal by the optical signal receiving module, and the weight corresponding to the other electrical port is greater than the weight corresponding to the current electrical port, it is determined that an electrical port needs to continue to be electrically connected to the corresponding target amplification module, and the sending demand of the current electrical port is added to the first demand queue list, and then at regular intervals, according to the first connection relationship information and the amplification module usage status information, a search is made for an amplification module electrically connected to an electrical port with a smaller weight than the current electrical port or an idle amplification module. When the search is successful, the currently found amplification module is used as the target amplification module corresponding to the current electrical port, and the sending demand of the current electrical port is deleted from the first demand queue list, otherwise the search is continued.

[0206] In some embodiments, step S200 includes steps S210 to S230.

[0207] Step S210: obtaining second connection relationship information between each electrical port and the laser driving module.

[0208] Here, defining that the electrical port is connected to the laser driving module through the second type of driving module is equivalent to connecting the electrical port to the laser driving module.

[0209] In some implementations, step S110 and step S210 may be performed simultaneously.

[0210] Step S220: When the control module receives the second control signal or determines that the electrical signal received through the electrical port needs to drive the optical signal transmitting module to convert the electrical signal into an optical signal, the target laser driving module corresponding to the electrical port is determined according to the second connection relationship information.

[0211] In some embodiments, when it is determined according to the second connection relationship information that the electrical port is connected to only one laser driving module through the second type driving module, the laser driving module is determined as the target laser driving module.

[0212] In some embodiments, when it is determined based on the second connection relationship information that the electrical port is connected to multiple laser driver modules, laser driver module usage status information is obtained, and a target laser driver module corresponding to the electrical port is determined from the multiple laser driver modules based on the second connection relationship information and the laser driver module usage status information. Specifically, multiple laser driver modules connectable to the electrical port are determined based on the second connection relationship information, and a laser driver module is selected from the multiple laser driver modules based on the laser driver module usage status information as the target laser driver module corresponding to the electrical port.

[0213] The method for determining the target laser driving module refers to the method for determining the target amplifying module in step S120 .

[0214] Optionally, when it is determined according to the laser driving module usage status information that there is at least one idle laser driving module among the multiple laser driving modules, an idle laser driving module is selected as a target laser driving module corresponding to the electrical port.

[0215] In some implementations, the target laser driving module is determined based on data type information of a transmission channel corresponding to each electrical port.

[0216] In some embodiments, a weight corresponding to each electrical port is calculated based on data type information of a transmission channel corresponding to each electrical port, and a laser driving module electrically connected to an electrical port having a smaller weight than the current electrical port is selected from multiple laser driving modules based on the weight corresponding to the electrical port electrically connected to each laser driving module as a target laser driving module corresponding to the current electrical port.

[0217] Optionally, when there is no laser driving module electrically connected to an electrical port with a smaller weight than the current electrical port among multiple laser driving modules, the driving demand of the current electrical port is added to the second demand queuing list, and a laser driving module electrically connected to an electrical port with a smaller weight than the current electrical port or an idle laser driving module is searched once every period of time based on the second connection relationship information and the laser driving module usage status information. When the search is successful, the currently found laser driving module is used as the target laser driving module corresponding to the current electrical port, and the driving demand of the current electrical port is deleted from the second demand queuing list, otherwise the search is continued.

[0218] In some embodiments, the initial weight corresponding to each electrical port is calculated based on the data type information of the transmission channel corresponding to each electrical port. The calculation method is similar to that in step S120.

[0219] In some embodiments, the weight corresponding to each electrical port is updated and calculated based on the amount of information sent or received by each electrical port in real time. The calculation method is similar to that in step S120.

[0220] In some embodiments, when a signal transceiver unit includes multiple electrical ports, the multiple electrical ports within the signal transceiver unit can be configured to use the laser driver module in turn, with each use of the laser driver module lasting for a second preset time interval. In this case, the target laser driver module corresponding to the current electrical port is determined based on the order in which the electrical ports use the laser driver module in turn.

[0221] Step S230: According to the target laser driving module, a target second-type driving module connected to the target laser driving module and the electrical port is turned on to electrically connect the electrical port to the target laser driving module, thereby driving the optical signal transmitting module with the electrical signal received by the electrical port to convert the electrical signal into an optical signal.

[0222] In some embodiments, the usage time of each laser driver module can be predicted based on the data type information, historical transmission information volume, real-time information volume, and historical transmission duration of each electrical port, and the target second-type driver module corresponding to the electrical port can be controlled to be turned on during the usage time. In other words, the electrical port can always use the corresponding target laser driver module during the usage time without re-determining the target laser driver module.

[0223] Optionally, multiple model characteristic parameters are calculated based on the data type information, the amount of real-time information, the historical transmission time points, and the historical transmission duration. A prediction equation is constructed based on the multiple model characteristic parameters, and then the prediction equation is used to predict the usage time of the laser driver module. For specific methods, refer to the content of step S130.

[0224] In some embodiments, step S200 further includes: monitoring the usage status of the laser driving module electrically connected to each electrical port; when it is determined that the target laser driving module is damaged based on the usage status of the target laser driving module electrically connected to the electrical port, selecting a laser driving module from the multiple laser driving modules connected to the electrical port as the target laser driving module, and executing step S230.

[0225] In some embodiments, after step S230, in the signal transceiver unit, when one electrical port is controlled to be switched to be electrically connected to the laser driving module first, it is determined that the other electrical port needs to send the electrical signal obtained by converting the optical signal into the electrical signal by the optical signal receiving module.

[0226] Optionally, when another electrical port also needs to drive the optical signal transmitting module to convert the electrical signal into an optical signal through the electrical signal received by the electrical port, and the weight corresponding to the other electrical port is greater than the weight corresponding to the current electrical port, it is determined that an electrical port needs to continue to be electrically connected to the corresponding target laser driving module, and the driving demand of the current electrical port is added to the second demand queue list, and then, at regular intervals, a laser driving module electrically connected to an electrical port with a smaller weight than the current electrical port or an idle laser driving module is searched for based on the second connection relationship information and the laser driving module usage status information. When the search is successful, the currently found laser driving module is used as the target laser driving module corresponding to the current electrical port, and the driving demand of the current electrical port is deleted from the second demand queue list, otherwise the search continues.

[0227] In some embodiments, when the optoelectronic transceiver device further includes a third type driving module, a fourth type driving module, an encoding module, and a decoding module, after step S120, step S100 further includes steps S140 to S150.

[0228] Step S140: Determine the target encoding module corresponding to the electrical port.

[0229] In some implementations, a target coding mode of the electrical port is determined, and then a target coding module corresponding to the electrical port is determined according to the target coding mode.

[0230] In some embodiments, determining the target encoding method of the electrical port includes: obtaining first correspondence information between data type information and a preset encoding method, determining the target encoding method of the electrical port based on the data type information corresponding to the electrical port and the first correspondence information, and then determining the target encoding module corresponding to the electrical port based on the target encoding method.

[0231] Optionally, one type of data type information corresponds to one preset encoding method.

[0232] Optionally, the preset encoding method includes a simple encoding method and a complex encoding method. Simple encoding methods include non-return-to-zero encoding, Manchester encoding, differential Manchester encoding, and bi-phase encoding. Complex encoding methods include low-density parity check, turbo encoding, and convolutional encoding. Complex encoding methods require more computation than simple encoding methods, but can perform error correction, thereby improving transmission reliability.

[0233] Optionally, a corresponding preset encoding method is determined in advance based on the data type information, and first correspondence information between the data type information and the preset encoding method is obtained. For example, the upload data type corresponds to a simple encoding method, and the download data type and the interactive data type both correspond to complex encoding methods. Exemplarily, the live broadcast data type corresponds to Manchester encoding, and the video data type corresponds to Turbo encoding.

[0234] In some embodiments, one coding module corresponds to one coding mode, and the target coding module corresponding to the electrical port is determined based on the target coding mode and the coding mode corresponding to each coding module in the plurality of coding modules, wherein the target coding module is used to implement the target coding mode.

[0235] In some embodiments, when an electrical port is connected to only one encoding module, the encoding mode corresponding to the encoding module is the target encoding mode of the electrical port, and the target encoding module corresponding to the electrical port is the encoding module connected to the electrical port.

[0236] Step S150: a target third-type driving module connected to the target coding module and the electrical port is turned on according to the control of the target coding module, so that the electrical signal received by the electrical port drives the optical signal transmitting module to convert the electrical signal into an optical signal.

[0237] In some implementations, step S130 is performed after step S150.

[0238] In some embodiments, when the optoelectronic transceiver device further includes a third-type driving module, a fourth-type driving module, an encoding module, and a decoding module, after step S220, step S200 further includes steps S240 to S250.

[0239] Step S240: Determine the target decoding module corresponding to the electrical port.

[0240] In some implementations, a target decoding mode of the electrical port is determined, and a target decoding module corresponding to the electrical port is determined according to the target decoding mode.

[0241] In some embodiments, determining a target decoding method of an electrical port includes: obtaining second correspondence information between data type information and a preset decoding method, determining a target decoding method of the electrical port based on the data type information corresponding to the electrical port and the second correspondence information, and then determining a target decoding module corresponding to the electrical port based on the target decoding method.

[0242] As mentioned above, one type of data information corresponds to one preset encoding method.

[0243] Optionally, second correspondence information between the data type information and the preset encoding method is determined in advance based on the first correspondence information. For example, the upload data type corresponds to a simple encoding method and also corresponds to a decoding method of the simple encoding method. The download data type and the interactive data type both correspond to decoding methods of complex encoding methods. For example, based on the live broadcast data type corresponding to Manchester encoding, it is determined that the live broadcast data type corresponds to Manchester decoding. Based on the video data type corresponding to Turbo encoding, it is determined that the video data type corresponds to Turbo decoding. In this way, the electrical signal can be correctly decoded.

[0244] In some implementations, one decoding module corresponds to one decoding mode, and the target decoding module corresponding to the electrical port is determined based on the target decoding mode and the decoding mode corresponding to each decoding module in the plurality of decoding modules, wherein the target decoding module is used to implement the target decoding mode.

[0245] In some embodiments, when an electrical port is connected to only one decoding module, the decoding mode corresponding to the decoding module is the target decoding mode of the electrical port, and the target decoding module corresponding to the electrical port is the decoding module connected to the electrical port.

[0246] Step S250: a target fourth-category driving module connected to the target decoding module and the electrical port is turned on according to the control of the target decoding module, so that the electrical port sends the electrical signal obtained by converting the decoded optical signal into the electrical signal by the optical signal receiving module.

[0247] In some implementations, step S230 is performed after step S250.

[0248] In some implementations, the embodiments of the present application further provide a computer program product, including a computer program, which implements the above-mentioned optoelectronic transceiver method when executed by a processor.

[0249] In summary, the optoelectronic transceiver provided in the embodiments of the present application has the following advantages:

[0250] 1. The amplifier module is connected to the electrical port via a first-type driver module, and the laser driver module is connected to the electrical port via a second-type driver module. Compared to a switch connection, this method significantly reduces the effects of parasitic capacitance and series impedance while achieving full-duplex transmission with switchable directions, thereby improving signal transmission quality. Furthermore, it helps optimize impedance matching, avoiding the problems of poor impedance matching and reduced swing at the electrical interface caused by switch connections.

[0251] 2. By controlling the second type of driver module to be turned off when the first type of driver module is turned on, the optical signal transmitting module can be prevented from sending an erroneous signal when the first type of driver module is turned on.

[0252] 3. By forming a signal transceiver unit with two electrical ports, two first-type driver modules, two second-type driver modules, an amplifier module and a laser driver module, while achieving switchable full-duplex transmission, the number of hardware modules can be reduced, thereby reducing hardware costs.

[0253] 4. By controlling the second type of driver module connected to another electrical port to turn on when the first type of driver module connected to one electrical port is turned on, the amplification module and the laser driver module in the signal transceiver unit can continue to work, and then the optical signal receiving module and the optical signal transmitting module can continue to work, thereby fully utilizing all the optical signal receiving modules and the optical signal transmitting modules for signal transmission and improving the efficiency of signal transmission.

[0254] 6. By connecting a port module to multiple encoding modules through a third-type driver module and to multiple decoding modules through a fourth-type driver module, the port module can switch the connected encoding module or decoding module. When the encoding methods corresponding to at least two encoding modules are different, and the decoding methods corresponding to at least two decoding modules are different, the transmission channel corresponding to the port module can switch the encoding method and the decoding method, and cooperate with the above-mentioned channel switching method to send or receive signals, thereby meeting the needs of signal transmission and improving the security of signal transmission.

[0255] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processors (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.

[0256] In summary, the present application provides an optoelectronic transceiver and an optoelectronic transceiver method, the optoelectronic transceiver comprising: a first type of driver module, a second type of driver module, an electrical port, an amplifier module, and a laser driver module; the amplifier module is used to be electrically connected to the optical signal receiving module, the laser driver module is used to be electrically connected to the optical signal transmitting module, and the electrical port is used to be electrically connected to the amplifier module or the laser driver module; the amplifier module is connected to the electrical port through the first type of driver module, and the laser driver module is connected to the electrical port through the second type of driver module; when the first type of driver module is turned on, the electrical port is electrically connected to the amplifier module so that the electrical port sends the electrical signal obtained by converting the optical signal into an electrical signal by the optical signal receiving module; when the second type of driver module is turned on and the first type of driver module is turned off, the electrical port is electrically connected to the laser driver module so that the electrical signal received by the electrical port drives the optical signal transmitting module to convert the electrical signal into an optical signal. In the present application, the amplifier module is connected to the electrical port through the first type of driver module, and the laser driver module is connected to the electrical port through the second type of driver module. Compared with the switch connection method, while achieving full-duplex transmission in a switchable direction, it can significantly reduce the influence of parasitic capacitance and series impedance, thereby improving the quality of signal transmission. In addition, it can also help optimize impedance matching and avoid the problems of poor electrical interface impedance matching and reduced swing caused by using switch connections.

[0257] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A photoelectric transceiver, characterized in that: include: A first type driving module, a second type driving module, an electrical port, an amplification module and a laser driving module; The amplifying module is used to be electrically connected to the optical signal receiving module, the laser driving module is used to be electrically connected to the optical signal transmitting module, and the electrical port is used to be electrically connected to the amplifying module or the laser driving module; The amplification module is connected to the electrical port via the first type of driving module, and the laser driving module is connected to the electrical port via the second type of driving module; When the first type driving module is turned on, the electrical port is electrically connected to the amplifying module, so that the electrical port transmits the electrical signal obtained by the optical signal receiving module converting the optical signal; When the second type of driving module is turned on and the first type of driving module is turned off, the electrical port is electrically connected to the laser driving module, so that the electrical signal received through the electrical port drives the optical signal transmitting module to convert the electrical signal into an optical signal; The two electrical ports, four third-type driver modules, four fourth-type driver modules, two decoding modules and two encoding modules constitute a signal encoding and decoding unit; The circuits of the first type of driving module to the fourth type of driving module are the same as the circuits of the basic driving module. The basic driving module includes a current source, two triodes or field effect transistors, an electrical signal input terminal, an electrical signal output terminal, a first control voltage input terminal and a second control voltage input terminal. The electrical signal input terminal is used to input an electrical signal encoded with information, and the electrical signal output terminal is used to output an electrical signal encoded with information. The first control voltage input terminal is used to input a first control voltage, and the second control voltage input terminal is used to input a second control voltage. The first control voltage and the second control voltage are used to control the opening and closing of the basic driving module. The drains of the first field effect transistor and the second field effect transistor are both floating, and the sources are both connected to the ground through the current source. The gate of the first field effect transistor is connected to the The first end of the electrical signal input terminal is connected or disconnected, the gate of the second field effect transistor is connected or disconnected to the second end of the electrical signal input terminal, the first end of the first control voltage input terminal controls the third field effect transistor to connect or disconnect the first end of the electrical signal input terminal and the gate of the first field effect transistor, the second end of the first control voltage input terminal controls the fourth field effect transistor to connect or disconnect the second end of the electrical signal input terminal and the gate of the second field effect transistor, the first end of the second control voltage input terminal controls the fifth field effect transistor to connect or disconnect the power supply and the gate of the first field effect transistor, the second end of the second control voltage input terminal controls the sixth field effect transistor to connect or disconnect the power supply and the gate of the second field effect transistor, and the polarities of the first control voltage and the second control voltage are opposite; Two of the electrical ports, two of the first type driving modules, two of the second type driving modules, one of the amplifying modules and one of the laser driving modules constitute a signal transceiver unit; In the signal transceiver unit, the amplifying module is connected to one of the electrical ports through a first-type driving module, the amplifying module is connected to another of the electrical ports through a first-type driving module, the laser driving module is connected to one of the electrical ports through a second-type driving module, and the laser driving module is connected to another of the electrical ports through a second-type driving module.

2. The optoelectronic transceiver according to claim 1, wherein: One of the amplifying modules is connected to a plurality of the electrical ports via a plurality of the first-type driving modules; One laser driving module is connected to a plurality of the electrical ports through a plurality of the second-type driving modules.

3. The optoelectronic transceiver according to claim 2, wherein: The optoelectronic transceiver device further includes a control module, the control module being configured to receive a control signal and control the opening and closing of the first type driving module and the second type driving module according to the control signal; When the control module receives a first control signal, the control module is configured to determine a target amplification module corresponding to the electrical port, and control a target first-type driver module connected to both the target amplification module and the electrical port to be turned on according to the target amplification module, so that the electrical port is electrically connected to the target amplification module, and the electrical port transmits the electrical signal obtained by converting the optical signal by the optical signal receiving module.

4. The optoelectronic transceiver according to claim 3, wherein: When the control module receives the first control signal, the control module is further configured to control all first-type driving modules connected to the target amplification module except the target first-type driving module to be turned off.

5. The optoelectronic transceiver according to claim 3, wherein: When the control module receives a second control signal, the control module is used to determine the target laser driving module corresponding to the electrical port, and control a target second-type driving module connected to the target laser driving module and the electrical port to turn on according to the target laser driving module, so that the electrical port is electrically connected to the target laser driving module, so that the optical signal transmitting module is driven by the electrical signal received by the electrical port to convert the electrical signal into an optical signal, and the first-type driving module connected to the electrical port is controlled to turn off.

6. The optoelectronic transceiver according to claim 1, wherein: In the signal transceiver unit, when a first type driving module connected to one electrical port is turned on, a second type driving module connected to another electrical port is turned on.

7. A photoelectric transceiver method, characterized in that: Applied to the optoelectronic transceiver according to any one of claims 1 to 6, the optoelectronic transceiver method comprises: When receiving a first control signal, the first type driving module is controlled to be turned on, so that the electrical port is electrically connected to the amplifying module, and the electrical port transmits the electrical signal obtained by the optical signal receiving module converting the optical signal; When a second control signal is received, the second type driving module is controlled to be turned on and the first type driving module is controlled to be turned off, so that the electrical signal received through the electrical port drives the optical signal transmitting module to convert the electrical signal into an optical signal.

Citation Information

Patent Citations

  • Optical module, control method thereof, terminal and storage medium

    CN116208249A