Signal sending method and apparatus, nonvolatile readable storage medium, and electronic device
By using a signal intensity sequence to adjust the intensity of the optical signal in the PCIe fiber link to transmit auxiliary information, the problem of poor transmission of auxiliary information in the prior art is solved, and a higher signal-to-noise ratio and lower bit error rate are achieved.
Patent Information
- Application Number
- PCT/CN2024/099654
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-17
- Filing Date
- 2024-06-17
- Publication Date
- 2025-05-22
AI Technical Summary
The prior art is difficult to effectively transmit auxiliary information in PCIe fiber links, resulting in a decrease in signal-to-noise ratio, an increase in bit error rate and a decrease in the effective data bandwidth of the equipment.
By acquiring the data signal to be transmitted and the auxiliary signal, a signal intensity sequence corresponding to the auxiliary signal is determined, and the intensity of the optical signal is adjusted according to the sequence to realize the transmission of the auxiliary signal.
No additional optoelectronic components and fiber channel are required, which avoids the problems of poor anti-interference performance and increased bit error rate caused by single-channel top-tuning technology, and improves the reliability and diversity of signal transmission.
Smart Images

Figure CN2024099654_22052025_PF_FP_ABST
Abstract
Description
Signal sending method and device, non-volatile readable storage medium, and electronic device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on November 17, 2023, with application number 2023115390451, and application name “Signal Transmission Method and Device, Storage Medium, Electronic Device”, all contents of which are incorporated by reference into this application. Technical Field
[0003] The embodiments of the present application relate to the field of communication transmission, and in particular, to a signal sending method and device, a non-volatile readable storage medium, and an electronic device. Background Art
[0004] Peripheral Component Interconnect Express (PCIe) is a high-speed serial computer expansion bus standard used to expand computer system bus data throughput and improve device communication speeds. With the development of the PCIe protocol, data transmission rates have gradually increased. However, the loss of electrical interconnect solutions using copper cables has become increasingly prominent, resulting in a decrease in the distance of PCIe external interconnects. Low-loss optical interconnects are currently the optimal solution for long-distance PCIe external interconnects.
[0005] Signal transmission over fiber optic links isn't specified by the PCIe protocol; the data signals transmitted over fiber optic links are generally high-speed data signals. In addition to high-speed data signals, PCIe links also require the transmission of low-speed auxiliary signals, which are related to PCIe link establishment and status changes. Traditional copper cables can directly transmit low-speed auxiliary signals, but to transmit these low-speed auxiliary signals over fiber optic links, they must be able to pass through optical modules. The built-in digital signal processor (DSP) or clock data recovery (CDR) chip in an optical module generally only supports high-speed signals at specific rates and cannot transmit these low-speed auxiliary signals.
[0006] To solve the above problems, the following three transmission methods are currently used:
[0007] (1) The clock signal is converted into a higher-speed Low Voltage Differential Signaling (LVDS) signal through a conversion chip, and then transmitted using an independent optical module and optical fiber link;
[0008] (2) PCIe auxiliary signals are transmitted through top modulation technology. That is, when the transmitter sends the auxiliary signal, the controller controls the laser driver of the optical module in the data link to convert the auxiliary signal into a small-amplitude low-frequency sine or cosine modulated signal, which is superimposed on the corresponding pre-set high-speed data signal. After the optical module at the other end analyzes the modulated signal, it can obtain the corresponding auxiliary signal information;
[0009] (3) The low-speed auxiliary signal is compiled to a higher rate using a Field-Programmable Gate Array (FPGA). The auxiliary signal compiled by the FPGA is then converted electro-optically by the redundant lasers in the optical module and transmitted via optical fiber.
[0010] However, using conversion chips or FPGAs to process the auxiliary signals before transmitting them through independent optical fiber links requires additional electro-optical signal conversion devices and optical fiber channels, which not only increases component cost but also reduces the effective data bandwidth of the device. While modulating the auxiliary signals onto independent data channels using top-modulation technology does eliminate the need for independent components and optical fiber channels, this approach can reduce the signal-to-noise ratio and the sensitivity of the optical module receiver. This can also increase the bit error rate at high data signal rates, impacting data signal transmission.
[0011] Currently, no effective solution has been proposed to the problem that auxiliary information cannot be transmitted well in PCIe optical fiber links in related technologies.
[0012] Therefore, it is necessary to improve the relevant technology to overcome the defects in the relevant technology.
[0013] Summary of the Invention
[0014] The embodiments of the present application provide a signal sending method and device, a non-volatile readable storage medium, and an electronic device to at least solve the problem of being unable to effectively transmit auxiliary information in a PCIe optical fiber link.
[0015] According to a first aspect of an embodiment of the present application, a signal sending method is provided, including: obtaining a first data signal and a first auxiliary signal to be sent to a first peer device, wherein the first data signal is to be sent to the first peer device through N PCIe optical fiber links, where N is a positive integer greater than or equal to 2; determining a first signal strength sequence corresponding to the first auxiliary signal, wherein the first signal strength sequence has M first signal intensities, where M is a positive integer greater than or equal to 2 and less than or equal to N; converting the first data signal into N first optical signals according to the first signal strength sequence, and sending the N first optical signals to the first peer device through N PCIe optical fiber links, wherein the signal strengths of M of the N first optical signals have a one-to-one correspondence with the M first signal intensities.
[0016] Optionally, determining a first signal strength sequence corresponding to a first auxiliary signal includes: obtaining configuration information, wherein the configuration information includes signal strength sequences corresponding to different auxiliary signals, wherein the auxiliary signal includes a first auxiliary signal, and the signal strength sequence includes a first signal strength sequence; and determining the first signal strength sequence corresponding to the first auxiliary signal based on the configuration information.
[0017] Optionally, converting the first data signal into N first optical signals according to the first signal strength sequence includes: determining N driving currents according to the first data signal through a laser driver; adjusting the amplitudes of M driving currents corresponding to the first signal strength sequence among the N driving currents according to the first signal strength sequence, so that the amplitudes of the M driving currents have a one-to-one correspondence with the M first signal intensities; and obtaining N first optical signals according to the N driving currents through a laser array.
[0018] Optionally, obtaining N first optical signals according to N driving currents includes: obtaining an i-th optical signal among the N first optical signals in the following manner to obtain N first optical signals; and modulating light according to data information corresponding to the first data signal carried in the i-th driving current and the amplitude of the i-th driving current to obtain the i-th optical signal.
[0019] Optionally, the method also includes: upon obtaining N second optical signals sent by the first opposite-end device, determining a second signal strength sequence corresponding to the M second optical signals based on M second optical signals preset in the N second optical signals; and determining a second auxiliary signal based on the second signal strength sequence, wherein the second auxiliary signal is the auxiliary signal sent by the first opposite-end device.
[0020] Optionally, determining a second signal strength sequence corresponding to the M second optical signals based on M preset second optical signals among the N second optical signals includes: converting the M second optical signals into M current signals through a photodiode PD array, and converting the M current signals into M voltage signals through a transimpedance amplifier; detecting the signal strengths of the M voltage signals to obtain M second signal strengths; and determining the second signal strength sequence based on the detected M second signal strengths.
[0021] Optionally, determining the second auxiliary signal based on the second signal strength sequence includes: obtaining configuration information, wherein the configuration information includes a signal strength sequence corresponding to different auxiliary signals, wherein the auxiliary signal includes a second auxiliary signal, and the signal strength sequence includes a second signal strength sequence; determining the second auxiliary signal corresponding to the second signal strength sequence based on the configuration information.
[0022] Optionally, converting the first data signal into N first optical signals according to the first signal strength sequence includes: using P optical transceiver modules to convert the first data signal into N first optical signals according to the first signal strength sequence, wherein the sum of the number of PCIe optical fiber links corresponding to the P optical transceiver modules is greater than or equal to N, the sum of the number of P1 PCIe optical fiber links in the P optical transceiver modules is less than N, and P is a positive integer greater than or equal to 1.
[0023] Optionally, P optical transceiver modules are used to convert the first data signal into N first optical signals according to the first signal strength sequence, including: when P is greater than or equal to 2, z optical transceiver modules among the P optical transceiver modules are used to obtain M first optical signals among the N first optical signals according to the first signal strength sequence and the first data signal, wherein the sum of the number of PCIe optical fiber links corresponding to the z optical transceiver modules is greater than or equal to M, z is a positive integer greater than or equal to 1 and less than or equal to Q, and Q is the minimum value of P and M.
[0024] Optionally, the method further includes: when the target optical transceiver module that sends N first optical signals corresponds to X PCIe optical fiber links, and there is a third data signal and a third auxiliary signal to be sent to the second peer device, determining a third signal strength sequence corresponding to the third auxiliary signal, wherein the third data signal is to be sent to the second peer device through Y PCIe optical fiber links, and the third signal strength sequence has K third signal intensities, where Y is a positive integer greater than or equal to 2, X is a positive integer greater than or equal to N+Y, and K is a positive integer greater than or equal to 2 and less than or equal to Y; converting the third data signal into Y third optical signals through the target optical transceiver module, and sending the Y third optical signals to the second peer device through the Y PCIe optical fiber links, wherein the signal intensities of K third optical signals among the Y third optical signals have a one-to-one correspondence with the K third signal intensities.
[0025] Optionally, the method also includes: when the first data signal is transmitted through 4 PCIe optical fiber links and M is 4, the first signal strength sequence corresponding to the first auxiliary signal is [0, 1, 0, 1], where 0 is used to indicate that the signal strength is greater than the preset signal strength, and 1 is used to indicate that the signal strength is less than or equal to the preset signal strength.
[0026] Optionally, the method also includes: N first optical signals carrying a first data signal and a first auxiliary signal, obtaining the first data signal according to the N first optical signals through the first opposite-end device, and determining the first auxiliary signal according to the signal strength of M first optical signals among the N first optical signals.
[0027] Optionally, light is modulated according to data information corresponding to the first data signal carried in the i-th driving current and the amplitude of the i-th driving current, including: frequency modulating, phase modulating, or polarization modulating the light using the data information carried in the i-th driving current, and intensity modulating the light using the amplitude of the i-th driving current.
[0028] Optionally, converting the first data signal into N first optical signals according to the first signal strength sequence includes: converting the first data signal into N first optical signals according to the first signal strength sequence through one or more optical transceiver modules, wherein, when the number of PCIe optical fiber links of a single optical transceiver module is less than N, converting the first data signal into N first optical signals according to the first signal strength sequence through multiple optical transceiver modules; when the number of PCIe optical fiber links of a single optical transceiver module is greater than or equal to N, converting the first data signal into N first optical signals according to the first signal strength sequence through a single optical transceiver module.
[0029] Optionally, the first data signal is converted into N first optical signals according to the first signal strength sequence through one or more optical transceiver modules, including: when 16 PCIe links are used at the signal transmitting end and the receiving end to transmit the first data signal, directly using one optical transceiver module with 16 PCIe links to convert the first data signal into 16 first optical signals according to the first signal strength sequence, or using two optical transceiver modules with 8 PCIe links to convert the first data signal into 16 first optical signals according to the first signal strength sequence, or using four optical transceiver modules with 4 PCIe links to convert the first data signal into 16 first optical signals according to the first signal strength sequence.
[0030] According to another aspect of an embodiment of the present application, an optical transceiver module is further provided, comprising: a laser driver configured to determine N driving currents based on a first data signal, wherein the first data signal is to be sent to a first opposite-end device through N PCIe optical fiber links corresponding to the optical transceiver module, where N is a positive integer greater than or equal to 2; a controller configured to determine a first signal strength sequence corresponding to a first auxiliary signal, and adjust the amplitudes of M driving currents corresponding to the first signal strength sequence among the N driving currents based on the first signal strength sequence, so that the amplitudes of the M driving currents have a one-to-one correspondence with the M first signal intensities, wherein the first signal strength sequence has M first signal intensities, where M is a positive integer greater than or equal to 2 and less than or equal to N, and the first auxiliary signal is to be sent to the first opposite-end device; and a laser array configured to obtain N first optical signals based on the N driving currents, and send the N first optical signals to the first opposite-end device through N PCIe optical fiber links, wherein the signal intensities of the M first optical signals among the N first optical signals have a one-to-one correspondence with the M first signal intensities.
[0031] Optionally, the optical transceiver module also includes: a PD array, which is configured to convert M second optical signals preset in the N second optical signals into M current signals when N second optical signals sent by the first opposite-end device are obtained; a transimpedance amplifier, which is configured to convert the M current signals into M voltage signals; a detector, which is configured to detect the signal strength of the M voltage signals; determining a second signal strength sequence based on the detected M second signal strengths, and determining a second auxiliary signal based on the second signal strength sequence, wherein the second auxiliary signal is the auxiliary signal sent by the first opposite-end device.
[0032] According to a second aspect of an embodiment of the present application, a signal sending device is provided, including: an acquisition module, configured to acquire a first data signal and a first auxiliary signal to be sent to a first opposite-end device, wherein the first data signal is to be sent to the first opposite-end device through N PCIe optical fiber links, and N is a positive integer greater than or equal to 2; a first determination module, configured to determine a first signal strength sequence corresponding to the first auxiliary signal, wherein the first signal strength sequence has M first signal intensities, and M is a positive integer greater than or equal to 2 and less than or equal to N; a first processing module, configured to convert the first data signal into N first optical signals according to the first signal strength sequence, and send the N first optical signals to the first opposite-end device through N PCIe optical fiber links, wherein the signal strengths of M first optical signals among the N first optical signals have a one-to-one correspondence with the M first signal intensities.
[0033] According to a third aspect of the embodiments of the present application, a non-volatile readable storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0034] According to a fourth aspect of the embodiments of the present application, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
[0035] In the present application, the signal strengths of M optical signals among the N optical signals that transmit the first data signal are changed according to a signal strength sequence corresponding to the auxiliary signal, and then the auxiliary signal is transmitted through a signal strength sequence corresponding to the signal strengths of the M optical signals, so that when transmitting auxiliary information in a PCIe optical fiber link, there is no need to use additional optoelectronic components and optical fiber channels. In addition, using the signal strengths of M optical signals to transmit auxiliary signals avoids the shortcomings of poor anti-interference performance and increased bit error rate brought about by a single-channel top adjustment technology, and the combination diversity of the signal strengths of the M optical signals can support the transmission of more diverse auxiliary signals, thereby solving the problem of not being able to better transmit auxiliary information in a PCIe optical fiber link. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are used to provide an understanding of the present application and constitute a part of the present application. The exemplary embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0037] FIG1 is a hardware structure block diagram of a mobile terminal according to a signal transmission method according to an embodiment of the present application;
[0038] FIG2 is a flow chart of a signal sending method according to an embodiment of the present application;
[0039] FIG3 is a schematic structural diagram of an optical transceiver module according to an embodiment of the present application (I);
[0040] FIG4 is a schematic diagram of a PCIe optical interconnect link auxiliary signal transmission working principle according to an embodiment of the present application;
[0041] FIG5 is a schematic diagram of a PCIe optical interconnect link auxiliary signal transmission system solution according to an embodiment of the present application;
[0042] FIG6 is a structural block diagram of a signal sending device according to an embodiment of the present application;
[0043] FIG7 is a structural diagram (II) of an optical transceiver module according to an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0045] It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0046] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking operation on a server device as an example, FIG1 is a hardware structure block diagram of a server device of a signal sending method in an embodiment of the present application. As shown in FIG1 , the server device may include one or more (only one is shown in FIG1 ) processors 1102 (the processor 1102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 1104 configured to store data, wherein the above-mentioned server device may also include a transmission device 1106 configured to have a communication function and an input and output device 1108. It will be understood by those skilled in the art that the structure shown in FIG1 is only illustrative and does not limit the structure of the above-mentioned server device. For example, the server device may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .
[0047] The memory 1104 is configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the signal transmission method in the embodiment of the present application. The processor 1102 executes various functional applications and data processing by running the computer program stored in the memory 1104, that is, implementing the above-mentioned method. The memory 1104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1104 includes a memory remotely arranged relative to the processor 1102, and these remote memories can be connected to the server device via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0048] The transmission device 1106 is configured to receive or transmit data via a network. Examples of such a network may include a wireless network provided by a communication provider of the server device. In one embodiment, the transmission device 1106 includes a network interface controller (NIC) that can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 1106 may be a radio frequency (RF) module that is configured to communicate with the Internet wirelessly.
[0049] To solve the above problem, a signal transmission method is provided in this embodiment. FIG2 is a flow chart of a signal transmission method according to an embodiment of the present application. As shown in FIG2 , the flow chart includes the following steps S202-S206:
[0050] Step S202: Acquire a first data signal and a first auxiliary signal to be sent to a first peer device, wherein the first data signal is to be sent to the first peer device via N PCIe optical fiber links;
[0051] It should be noted that the first data signal is an electrical signal carrying data information, the transmission rate of the first data signal in the PCIe link is greater than a preset threshold, the first auxiliary signal is an auxiliary signal to be sent to the first peer device, and the auxiliary signal is used to establish a PCIe optical fiber link and change the link state, and N is a positive integer greater than or equal to 2;
[0052] It should be noted that a signal with a transmission rate greater than a preset threshold is a high-speed signal, a signal with a transmission rate less than or equal to a preset threshold is a low-speed signal, and the first data signal is a high-speed data signal. PCIe is a high-speed serial computer expansion bus standard, mainly used to expand the data throughput of the computer system bus and improve the communication speed of the device. Compared with traditional wire connections, optical fiber as the transmission medium has higher transmission speed, longer transmission distance and lower loss. PCIE optical fiber links can be used to connect various components in a computer system, such as graphics cards, storage devices, network adapters, etc., to achieve high-speed data transmission and communication. However, the signal transmission of optical fiber links is not formulated by the PCIe protocol. Generally, the data signals transmitted in optical fiber links are high-speed data signals. In addition to high-speed data signals, low-speed auxiliary signals need to be transmitted in the PCIe link to establish the PCIe link and perform status changes. Among them, the above-mentioned auxiliary signals are low-speed auxiliary signals to be transmitted in the PCIe link.
[0053] Step S204: determining a first signal strength sequence corresponding to the first auxiliary signal, wherein the first signal strength sequence has M first signal strengths, where M is a positive integer greater than or equal to 2 and less than or equal to N;
[0054] It should be noted that there is a one-to-one correspondence between the first auxiliary signal and the first signal strength sequence.
[0055] As an optional example, assuming that the first data signal is transmitted through 4 PCIe optical fiber links, and assuming that M is 4, the first signal strength sequence corresponding to the first auxiliary signal can be [0, 1, 0, 1], where 0 is used to indicate that the signal strength is greater than the preset signal strength, and 1 is used to indicate that the signal strength is less than or equal to the preset signal strength.
[0056] Step S206: Convert the first data signal into N first optical signals according to the first signal strength sequence, and send the N first optical signals to the first peer device through N PCIe optical fiber links, wherein the signal strengths of M first optical signals among the N first optical signals have a one-to-one correspondence with the M first signal strengths.
[0057] It should be noted that the N first optical signals carry the first data signal and the first auxiliary signal. The first opposite-end device can obtain the first data signal based on the N first optical signals, or determine the first auxiliary signal based on the signal strength of M first optical signals among the N first optical signals.
[0058] It should be noted that, when the first auxiliary signal does not need to be transmitted, the first data signal needs to be converted into N optical signals for transmission. When the first auxiliary signal needs to be transmitted, the signal strengths of the corresponding M optical signals among the N optical signals need to be changed according to the first signal strength sequence, so that the signal strengths of the obtained M first optical signals have a one-to-one correspondence with the M first signal strengths, thereby allowing the first peer device to determine the first auxiliary signal based on the signal strengths of the M first optical signals.
[0059] It should be noted that the execution subject of the above steps S202-S206 includes but is not limited to an optical transceiver module. The optical transceiver module is a photoelectric conversion device used in an optical fiber communication system, and is limited to an optical transceiver module including a light emitting part and a light receiving part.
[0060] Through the above steps S202-S206, the signal strengths of M optical signals among the N optical signals that transmit the first data signal are changed according to the signal strength sequence corresponding to the auxiliary signal, and then the auxiliary signal is transmitted using the signal strength sequence corresponding to the signal strengths of the M optical signals. This eliminates the need to use additional optoelectronic components and optical fiber channels when transmitting auxiliary information in the PCIe optical fiber link. In addition, using the signal strengths of the M optical signals to transmit the auxiliary signal avoids the shortcomings of poor anti-interference performance and increased bit error rate brought about by single-channel top adjustment technology, and the combination diversity of the signal strengths of the M optical signals can support the transmission of a more diverse auxiliary signal, thereby solving the problem of being unable to effectively transmit auxiliary information in the PCIe optical fiber link.
[0061] In an exemplary embodiment, the first signal strength sequence corresponding to the first auxiliary signal may also be determined through the following steps S11-S12:
[0062] Step S11: Acquire configuration information, wherein the configuration information includes signal strength sequences corresponding to different auxiliary signals, wherein the auxiliary signal includes a first auxiliary signal, and the signal strength sequence includes a first signal strength sequence;
[0063] Step S12: Determine a first signal strength sequence corresponding to the first auxiliary signal based on the configuration information.
[0064] As an optional example, the above configuration information is configuration information determined by negotiation between the signal sending end and the receiving end.
[0065] As an optional example, the above configuration information can be obtained through configuration by a target object (i.e., an operation and maintenance personnel), and the target object can then configure the configuration information in the signal transmitting end and the receiving end. The transmitting end can then determine the first signal strength sequence corresponding to the first auxiliary signal based on the configuration information, and the receiving end can determine the corresponding first auxiliary signal based on the first signal strength sequence.
[0066] In an exemplary embodiment, converting the first data signal into N first optical signals according to the first signal strength sequence may also be achieved by the following steps S21-S23:
[0067] Step S21: Determine N driving currents according to the first data signal via the laser driver;
[0068] It should be noted that the N driving currents are used to control the laser array to generate N optical signals corresponding to the first data signal;
[0069] Step S22: adjusting the amplitudes of the M driving currents corresponding to the first signal strength sequence among the N driving currents according to the first signal strength sequence, so that the amplitudes of the M driving currents have a one-to-one correspondence with the M first signal strengths;
[0070] Step S23: Obtain N first optical signals according to the N driving currents through the laser array.
[0071] For a better understanding, as an optional example, Figure 3 illustrates a structural diagram of an optical transceiver module. As shown in Figure 3, the laser driver 101 in the optical transceiver module 1 in Figure 3 is configured to receive a first data signal and determine N driving currents corresponding to the first data signal. The controller 105 can control the amplitudes of M driving currents corresponding to the first signal strength sequence among the N driving currents output by the laser driver 101 according to the first signal strength sequence corresponding to the first auxiliary signal. After receiving the N driving currents sent by the laser driver, the laser array will obtain N first optical signals according to the N driving currents.
[0072] It should be noted that the controller 105 adjusts the amplitude of the output current of the laser driver 101 to be within the normal operating range of the laser array 102. It will not be too high to cause saturation of the photodiodes in the laser and the photodiode (PD) array 104 at the receiving end, nor will it be too low to cause the photodiodes in the laser and the PD array 104 at the receiving end to malfunction.
[0073] It should be noted that the drive current is the current that controls and drives electronic devices. The magnitude of the drive current depends on the requirements and operating conditions of the driven devices. As shown in Figure 3, the drive current controls the output of optical signals by each laser in the laser array 102 in the optical transceiver module 1. An optical signal refers to information transmitted via optical transmission. It is transmitted in the form of light pulses using an optical transmission medium (such as optical fiber). Optical signals can be digital or analog signals and have the advantages of high-speed transmission, large bandwidth, low transmission loss, and resistance to electromagnetic interference.
[0074] In an exemplary embodiment, obtaining N first optical signals according to N driving currents may also be achieved by the following steps S31:
[0075] Step S31: Obtain an i-th optical signal among N first optical signals in the following manner to obtain N first optical signals: modulate light according to data information corresponding to the first data signal carried in the i-th driving current and the amplitude of the i-th driving current to obtain the i-th optical signal.
[0076] It should be noted that optical modulation refers to changing certain properties of light waves, such as intensity, frequency, phase, or polarization, to transmit information or achieve specific functions. Optical modulation includes intensity modulation, frequency modulation, phase modulation, and polarization modulation.
[0077] As an optional example, the data information carried in the i-th driving current may be used to perform frequency modulation, phase modulation, or polarization modulation on the light, and the amplitude of the i-th driving current may be used to perform intensity modulation on the light.
[0078] In an exemplary embodiment, the method further includes the following steps S41-S42:
[0079] Step S41: when N second optical signals sent by the first peer device are acquired, determining a second signal strength sequence corresponding to the M second optical signals according to M second optical signals preset in the N second optical signals;
[0080] It should be noted that the N second optical signals carry the second data signal sent by the first peer device;
[0081] It should be noted that the transmitter and receiver of the optical signal need to predetermine which optical signals are used to transmit the auxiliary information. For example, assuming that the transmitter and receiver transmit the second data signal through four PCIe optical fiber links, the receiver will receive four optical signals sent by the transmitter, and it is predetermined that the auxiliary information is carried by the first optical signal, the second optical signal, and the fourth optical signal. Then, the receiver will obtain a signal strength sequence based on the first optical signal, the second optical signal, and the fourth optical signal of the four received optical signals, and then obtain the auxiliary information based on the signal strength sequence.
[0082] Step S42: determining a second auxiliary signal according to the second signal strength sequence, wherein the second auxiliary signal is an auxiliary signal sent by the first opposite-end device.
[0083] It should be noted that the second signal strength sequence and the second auxiliary signal have a one-to-one correspondence.
[0084] In an exemplary embodiment, determining the second signal strength sequence corresponding to the M second optical signals preset in the N second optical signals may also be implemented by the following steps S51-S53:
[0085] Step S51: converting the M second optical signals into M current signals through a photodiode PD array, and converting the M current signals into M voltage signals through a transimpedance amplifier;
[0086] It should be noted that a photodiode array is a two-dimensional array composed of multiple photodiodes. A photodiode is a device that can convert light signals into electrical signals, and is usually composed of a positive-negative junction (PN junction, abbreviated as PN junction). When light shines on a photodiode, the energy of the photon excites the carriers in the PN junction, thereby forming a current. By arranging multiple photodiodes on a two-dimensional plane, a photodiode array can simultaneously detect multiple light signals and convert them into electrical signals. A transimpedance amplifier is a circuit that is configured to convert a signal from one resistance value to another resistance value. It usually consists of a differential amplifier and a conversion resistor. The differential amplifier is configured to amplify the input signal and convert it into a differential output signal. The conversion resistor is configured to convert the differential output signal into a single-ended output signal and change the resistance value. It is mainly configured to convert a voltage signal into a current signal or convert a current signal into a voltage signal.
[0087] Step S52: detecting the signal strengths of M voltage signals to obtain M second signal strengths;
[0088] Step S53: Determine a second signal strength sequence according to the detected M second signal strengths.
[0089] As an optional example, as shown in FIG3 , the photodiode PD array converts N second optical signals into N current signals and sends them to a transimpedance amplifier. The transimpedance amplifier then converts the N current signals into N voltage signals. It should be noted that these N voltage signals are the second data signals sent by the first peer device. Detector 106 detects the amplitudes of M of the N voltage signals output by transimpedance amplifier 103 to obtain M second signal intensities to determine a second signal strength sequence.
[0090] It should be noted that the PCIe signal (ie the voltage signal) output by the transimpedance amplifier 103 complies with the PCIe protocol specification and can be normally recognized by the receiving device.
[0091] It should be noted that the controller 105 and the detector 106 may be the same device, whose function is to control the amplitude of the output signal of the laser driver 101 and detect the amplitude of the independent output signal of the transimpedance amplifier 104 .
[0092] In an exemplary embodiment, determining the second auxiliary signal according to the second signal strength sequence may also be achieved by the following steps S61-S62:
[0093] Step S61: Acquire configuration information, wherein the configuration information includes signal strength sequences corresponding to different auxiliary signals, wherein the auxiliary signal includes a second auxiliary signal, and the signal strength sequence includes a second signal strength sequence;
[0094] Step S62: Determine a second auxiliary signal corresponding to the second signal strength sequence based on the configuration information.
[0095] It should be noted that, since the configuration information contains signal strength sequences corresponding to different auxiliary signals, the second auxiliary signal corresponding to the second signal strength sequence can be searched from the configuration information.
[0096] In an exemplary embodiment, converting the first data signal into N first optical signals according to the first signal strength sequence includes step S71:
[0097] Step S71: Use P optical transceiver modules to convert the first data signal into N first optical signals according to the first signal strength sequence, wherein the sum of the number of PCIe optical fiber links corresponding to the P optical transceiver modules is greater than or equal to N, the sum of the number of P1 PCIe optical fiber links in the P optical transceiver modules is less than N, and P is a positive integer greater than or equal to 1.
[0098] It should be noted that the first data signal can be transmitted through one or more optical transceiver modules. Since each optical transceiver module contains multiple PCIe optical fiber links, when the PCIe optical fiber link of a single optical transceiver module does not meet the transmission requirements of the first data signal, multiple optical transceiver modules can be used to jointly transmit the first data signal.
[0099] In an exemplary embodiment, if the signal transmitting end and receiving end need to use 16 PCIe links to transmit the first data signal, then at this time, one optical transceiver module with 16 PCIe links can be directly used to transmit the first data signal, or two optical transceiver modules with 8 PCIe links can be used to jointly transmit the first data signal, or four optical transceiver modules with 4 PCIe links can be used to jointly transmit the first data signal.
[0100] In an exemplary embodiment, using P optical transceiver modules to convert the first data signal into N first optical signals according to the first signal strength sequence can also be achieved by the following steps S81:
[0101] Step S81: When P is greater than or equal to 2, use z optical transceiver modules among the P optical transceiver modules to obtain M first optical signals among the N first optical signals according to the first signal strength sequence and the first data signal, wherein the sum of the number of PCIe optical fiber links corresponding to the z optical transceiver modules is greater than or equal to M, z is a positive integer greater than or equal to 1 and less than or equal to Q, and Q is the minimum value of P and M.
[0102] That is, one optical transceiver module among the P optical transceiver modules may be used to transmit the auxiliary signal, and multiple optical transceiver modules among the P optical transceiver modules may be used to transmit the auxiliary signal together.
[0103] In an exemplary embodiment, the above method further includes the following steps S91-S92:
[0104] Step S91: When a target optical transceiver module that sends N first optical signals corresponds to X PCIe optical fiber links and there is a third data signal and a third auxiliary signal to be sent to a second peer device, determining a third signal strength sequence corresponding to the third auxiliary signal, wherein the third data signal is to be sent to the second peer device via Y PCIe optical fiber links, the third signal strength sequence has K third signal strengths, where Y is a positive integer greater than or equal to 2, X is a positive integer greater than or equal to N+Y, and K is a positive integer greater than or equal to 2 and less than or equal to Y.
[0105] It should be noted that the third data signal is an electrical signal carrying data information, the transmission rate of the third data signal in the PCIe link is greater than a preset threshold, and the third auxiliary signal is an auxiliary signal to be sent to the second peer device;
[0106] Step S92: Convert the third data signal into Y third optical signals through the target optical transceiver module, and send the Y third optical signals to the second peer device through Y PCIe optical fiber links, wherein the signal strengths of K third optical signals among the Y third optical signals have a one-to-one correspondence with the K third signal strengths.
[0107] That is, when the number of PCIe optical fiber links of an optical transceiver module is sufficient to transmit multiple sets of PCIe signals, an optical transceiver module can be connected to multiple PCIe devices at the same time to transmit multiple sets of PCIe data signals.
[0108] Obviously, the embodiments described above are only part of the embodiments of the present application, not all of the embodiments. In order to better understand the above method, the above process is described below in conjunction with the embodiments, but it is not intended to limit the technical solutions of the embodiments of the present application. Optionally:
[0109] The present application proposes a method for transmitting auxiliary signals in a PCIe optical interconnect link. By converting low-speed PCIe protocol auxiliary signals (including the above-mentioned first auxiliary signal, second auxiliary signal, and third auxiliary signal) into a specific sequence combination of the amplitudes of multiple high-speed data signals on the port, the receiving end detects the amplitudes of the multiple high-speed data signals, extracts the specific combination of amplitudes (i.e., the above-mentioned signal strength sequence), and outputs the corresponding low-speed auxiliary signal. This method can realize the transmission of auxiliary signals in a PCIe link established via optical fiber between a host such as a server and an external device, and realize the establishment of a PCIe optical fiber link and the change of link status.
[0110] Figure 3 illustrates an optical transceiver module. As shown in Figure 3 , 1 is the optical transceiver module, 101 is the laser driver, 102 is the laser array, 103 is the transimpedance amplifier, 104 is the PD array, 105 is the controller, and 106 is the detector. 201 is the electrical path connecting to the optical transceiver module, and 301 is the optical fiber connected to the optical transceiver module.
[0111] When the transmitting end to which the device is connected sends a signal, the optical transceiver module 1 receives the data signal and auxiliary signal of the upstream device through the electrical path 201, wherein the data signal is directly transmitted to the laser driver 101, and the auxiliary signal is transmitted to the controller 105. After the controller 105 recognizes the auxiliary signal, it controls the driving current amplitude output by the laser driver 101 according to a preset combination sequence, and further controls the optical signal amplitude output by each laser in the laser array 102, forming a preset optical signal combination sequence containing auxiliary signal information, and finally sends it to the optical transceiver module 1 at the opposite end via the optical fiber 310.
[0112] When the device receives a signal through optical fiber 301, the received optical signal is converted by PD array 104 and output as a current signal to transimpedance amplifier 103. Transimpedance amplifier 103 then outputs a voltage signal. These voltage signals represent the data signals transmitted by the peer device and are then transmitted to the receiving device via electrical path 201. Simultaneously, detector 106 detects the voltage amplitude of the data signal output by transimpedance amplifier 103, obtains a combined sequence of the data signal voltage amplitudes, and interprets them according to preset rules to obtain the auxiliary signal transmitted by the peer device.
[0113] During the above process, the combined sequence controller 105 represented by the auxiliary signal can be adjusted according to the number of lasers included in the laser array 102 to adapt to optical transceiver modules 1 with different channel numbers. At the same time, the controller 105 adjusts the amplitude of the output current of the laser driver 101 to be within the normal operating range of the laser array 102. It is not too high to cause saturation of the laser and the photodiodes in the receiving-end PD array 104, nor is it too low to cause the laser and the photodiodes in the receiving-end PD array 104 to malfunction. Optionally, the PCIe signal output by the transimpedance amplifier 103 complies with the PCIe protocol specification and can be properly recognized by the receiving-end device.
[0114] Optionally, multiple optical transceiver modules 1 can be connected to a PCIe device to jointly transmit a set of PCIe data signals. In this case, only one optical transceiver module 1 can be used to transmit auxiliary signals, or multiple optical transceiver modules 1 can be used to jointly transmit PCIe auxiliary signals. Alternatively, a single optical transceiver module 1 can be connected to multiple PCIe devices simultaneously to transmit multiple sets of PCIe data signals. In this case, the optical transceiver module 1 can transmit multiple sets of PCIe auxiliary signals if the number of channels is sufficient.
[0115] In addition, the controller 105 and the detector 106 may be the same device, whose function is to control the amplitude of the output signal of the laser driver 101 and detect the amplitude of the independent output signal of the transimpedance amplifier 104 .
[0116] Based on the above process, FIG4 is a schematic diagram of the working principle of auxiliary signal transmission of a PCIe optical interconnect link according to an embodiment of the present application, as shown in the figure, including the following steps:
[0117] Step 1: The laser driver receives the PCIe high-speed data signal transmitted by the upstream transmitter, and the controller receives the PCIe low-speed auxiliary signal sent by the upstream transmitter;
[0118] Step 2: Based on the pre-set combination sequence of the low-speed PCIe auxiliary signal, the laser driver is adjusted to control the intensity of the optical signal output by each laser in the laser array. This means that the intensity of the optical signal after the high-speed data signal is converted from electrical to optical is regulated to achieve a specific light intensity combination sequence, which is then transmitted via the optical fiber.
[0119] Step 3: After receiving optical signals of different amplitudes from the transmitter, the PD array generates photocurrents of different amplitudes. After that, the PD array outputs PCIe high-speed data signals of different voltage amplitudes through a transimpedance amplifier. The PCIe high-speed data signals are then transmitted to the receiver.
[0120] Step 4: The detector samples the amplitude of each PCIe high-speed data signal to obtain a combination sequence of data signal voltage amplitudes, determines and parses the low-speed PCIe auxiliary signal according to preset rules, and transmits it to the receiving end.
[0121] In addition to the above scheme, the present application also proposes a system for auxiliary signal transmission of a PCIe optical interconnect link. Figure 5 is a schematic diagram of a PCIe optical interconnect link auxiliary signal transmission system scheme of an embodiment of the present application. Among them, the chip in the upstream device Host end 2 directly connected to the optical transceiver module 1 can be a central processing unit (CPU), a peripheral component interconnect express switch (PCIe Switch), a PCIe re-controller, an FPGA, etc. 3 is a terminal device, and the chip or device directly connected to the optical transceiver module 1 can be a GPU, a PCIe Switch, a PCIe clock signal reconstructor, an FPGA, etc.
[0122] The present application realizes the transmission of PCIe protocol auxiliary signals in optical fiber links by converting low-speed PCIe protocol auxiliary signals into specific sequence combinations of the amplitudes of multiple high-speed data signals on the port. The receiving end detects the amplitudes of multiple high-speed data signals, extracts the specific combination of amplitudes and outputs the corresponding low-speed auxiliary signals. Optionally, auxiliary signals are transmitted by combining multiple high-speed data signal channels to avoid the use of additional optoelectronic components and optical fiber channels. At the same time, the use of a combination of multiple high-speed signals to transmit auxiliary signals avoids the shortcomings of poor anti-interference performance and increased bit error rate brought about by single-channel topping technology, and can support more auxiliary signals by utilizing combination diversity with the same number of data channels. In addition, the technical solution in the present application can also be used to establish optical interconnection links based on the PCIe 5.0 protocol.
[0123] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a non-volatile readable storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0124] In this embodiment, a signal transmission device is also provided, which is configured to implement the above-mentioned embodiments and optional implementation methods. The details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0125] FIG6 is a structural block diagram of a signal sending device according to an embodiment of the present application. As shown in FIG6 , the device includes:
[0126] an acquisition module 62 configured to acquire a first data signal and a first auxiliary signal to be sent to a first peer device, wherein the first data signal is to be sent to the first peer device via N PCIe optical fiber links, where N is a positive integer greater than or equal to 2;
[0127] A first determining module 64 is configured to determine a first signal strength sequence corresponding to the first auxiliary signal, wherein the first signal strength sequence has M first signal strengths, where M is a positive integer greater than or equal to 2 and less than or equal to N;
[0128] The first processing module 66 is configured to convert the first data signal into N first optical signals according to the first signal strength sequence, and send the N first optical signals to the first peer device through N PCIe optical fiber links, wherein the signal strengths of M first optical signals among the N first optical signals have a one-to-one correspondence with the M first signal strengths.
[0129] Through the above-mentioned device, the signal strengths of M optical signals among the N optical signals that transmit the first data signal are changed according to the signal strength sequence corresponding to the auxiliary signal, and then the auxiliary signal is transmitted using the signal strength sequence corresponding to the signal strengths of the M optical signals. This eliminates the need to use additional optoelectronic components and optical fiber channels when transmitting auxiliary information in a PCIe optical fiber link. In addition, using the signal strengths of the M optical signals to transmit the auxiliary signal avoids the shortcomings of poor anti-interference performance and increased bit error rate brought about by single-channel top adjustment technology, and the combination diversity of the signal strengths of the M optical signals can support the transmission of a more diverse auxiliary signal, thereby solving the problem of being unable to effectively transmit auxiliary information in a PCIe optical fiber link.
[0130] In an exemplary embodiment, the first determination module 64 is further configured to obtain configuration information, wherein the configuration information includes signal strength sequences corresponding to different auxiliary signals, wherein the auxiliary signal includes a first auxiliary signal, and the signal strength sequence includes a first signal strength sequence; and determine the first signal strength sequence corresponding to the first auxiliary signal based on the configuration information.
[0131] In an exemplary embodiment, the first processing module 66 is further configured to determine N driving currents according to the first data signal through a laser driver; adjust the amplitudes of M driving currents corresponding to the first signal intensity sequence among the N driving currents according to the first signal intensity sequence, so that the amplitudes of the M driving currents have a one-to-one correspondence with the M first signal intensities; and obtain N first optical signals according to the N driving currents through the laser array.
[0132] In an exemplary embodiment, the first processing module 66 is further configured to obtain the i-th optical signal among the N first optical signals in the following manner to obtain N first optical signals: modulating light according to data information corresponding to the first data signal carried in the i-th driving current and the amplitude of the i-th driving current to obtain the i-th optical signal.
[0133] In an exemplary embodiment, the apparatus further includes a second determination module configured to, upon obtaining N second optical signals sent by the first peer device, determine a second signal strength sequence corresponding to the M second optical signals based on M second optical signals preset in the N second optical signals; and determine a second auxiliary signal based on the second signal strength sequence, wherein the second auxiliary signal is the auxiliary signal sent by the first peer device.
[0134] In an exemplary embodiment, the second determination module is further configured to convert M second optical signals into M current signals through a photodiode PD array, and convert the M current signals into M voltage signals through a transimpedance amplifier; detect the signal strength of the M voltage signals to obtain M second signal strengths; and determine a second signal strength sequence based on the detected M second signal strengths.
[0135] In an exemplary embodiment, the second determination module is further configured to obtain configuration information, wherein the configuration information includes a signal strength sequence corresponding to different auxiliary signals, wherein the auxiliary signal includes a second auxiliary signal, and the signal strength sequence includes a second signal strength sequence; and determine the second auxiliary signal corresponding to the second signal strength sequence based on the configuration information.
[0136] In an exemplary embodiment, the first processing module 66 is further configured to use P optical transceiver modules to convert the first data signal into N first optical signals according to the first signal strength sequence, wherein the sum of the number of PCIe optical fiber links corresponding to the P optical transceiver modules is greater than or equal to N, the sum of the number of P1 PCIe optical fiber links in the P optical transceiver modules is less than N, and P is a positive integer greater than or equal to 1.
[0137] In an exemplary embodiment, the first processing module 66 is further configured to use z optical transceiver modules out of P optical transceiver modules to obtain M first optical signals out of N first optical signals based on the first signal strength sequence and the first data signal when P is greater than or equal to 2, wherein the sum of the number of PCIe optical fiber links corresponding to the z optical transceiver modules is greater than or equal to M, z is a positive integer greater than or equal to 1 and less than or equal to Q, and Q is the minimum value of P and M.
[0138] In an exemplary embodiment, the apparatus further includes a second processing module configured to, when a target optical transceiver module that sends N first optical signals corresponds to X PCIe optical fiber links and there is a third data signal and a third auxiliary signal to be sent to a second peer device, determine a third signal strength sequence corresponding to the third auxiliary signal, wherein the third data signal is to be sent to the second peer device through Y PCIe optical fiber links, and the third signal strength sequence has K third signal intensities, where Y is a positive integer greater than or equal to 2, X is a positive integer greater than or equal to N+Y, and K is a positive integer greater than or equal to 2 and less than or equal to Y; convert the third data signal into Y third optical signals through the target optical transceiver module, and send the Y third optical signals to the second peer device through the Y PCIe optical fiber links, wherein the signal intensities of K third optical signals among the Y third optical signals have a one-to-one correspondence with the K third signal intensities.
[0139] It should be noted that an optical transceiver module is also provided in this embodiment. FIG7 is a structural schematic diagram (II) of an optical transceiver module in an embodiment of the present application. The optical transceiver module includes:
[0140] The laser driver 101 is configured to determine N driving currents based on a first data signal, wherein the first data signal is to be transmitted to a first peer device via N PCIe optical fiber links corresponding to the optical transceiver module, where N is a positive integer greater than or equal to 2;
[0141] The controller 105 is configured to determine a first signal strength sequence corresponding to the first auxiliary signal, and adjust the amplitudes of M driving currents corresponding to the first signal strength sequence among the N driving currents according to the first signal strength sequence, so that the amplitudes of the M driving currents have a one-to-one correspondence with the M first signal strengths, wherein the first signal strength sequence has M first signal strengths, M is a positive integer greater than or equal to 2 and less than or equal to N, and the first auxiliary signal is to be sent to the first peer device;
[0142] The laser array 102 is configured to obtain N first optical signals based on N driving currents, and send the N first optical signals to a first peer device through N PCIe optical fiber links, wherein the signal strengths of M first optical signals among the N first optical signals have a one-to-one correspondence with the M first signal strengths.
[0143] Through the above-mentioned optical transceiver module, the signal strengths of M optical signals among the N optical signals transmitting the first data signal are changed according to the signal strength sequence corresponding to the auxiliary signal, and then the auxiliary signal is transmitted through the signal strength sequence corresponding to the signal strengths of the M optical signals, so that when transmitting auxiliary information in the PCIe optical fiber link, there is no need to use additional optoelectronic components and optical fiber channels. In addition, using the signal strengths of M optical signals to transmit the auxiliary signal avoids the shortcomings of poor anti-interference performance and increased bit error rate brought about by the single-channel top adjustment technology, and the combination diversity of the signal strengths of the M optical signals can support the transmission of more diverse auxiliary signals, thereby solving the problem of not being able to better transmit auxiliary information in the PCIe optical fiber link.
[0144] In an exemplary embodiment, Figure 3 is a structural schematic diagram (I) of an optical transceiver module of an embodiment of the present application. As shown in Figure 3, the optical transceiver module also includes: a PD array 104, which is configured to convert M second optical signals preset in the N second optical signals into M current signals when N second optical signals sent by the first opposite device are obtained; a transimpedance amplifier 103, which is configured to convert the M current signals into M voltage signals; a detector 106, which is configured to detect the signal strength of the M voltage signals; determine a second signal strength sequence based on the detected M second signal strengths, and determine a second auxiliary signal based on the second signal strength sequence, wherein the second auxiliary signal is the auxiliary signal sent by the first opposite device.
[0145] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0146] An embodiment of the present application further provides a non-volatile readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any of the above method embodiments when running.
[0147] In an exemplary embodiment, the non-volatile readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0148] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0149] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0150] The examples in this embodiment can refer to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.
[0151] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0152] The above are merely optional embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may be subject to various modifications and variations. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A signal sending method, characterized in that: include: Acquire a first data signal and a first auxiliary signal to be sent to a first peer device, wherein the first data signal is to be sent to the first peer device through N PCIe optical fiber links, where N is a positive integer greater than or equal to 2; Determine a first signal strength sequence corresponding to the first auxiliary signal, wherein the first signal strength sequence has M first signal strengths, and M is a positive integer greater than or equal to 2 and less than or equal to N; The first data signal is converted into N first optical signals according to the first signal strength sequence, and the N first optical signals are sent to the first peer device through the N PCIe optical fiber links, wherein the signal strengths of the M first optical signals among the N first optical signals have a one-to-one correspondence with the M first signal strengths.
2. The method according to claim 1, characterized in that The determining a first signal strength sequence corresponding to the first auxiliary signal comprises: Acquire configuration information, wherein the configuration information includes signal strength sequences corresponding to different auxiliary signals, wherein the auxiliary signal includes the first auxiliary signal, and the signal strength sequence includes the first signal strength sequence; A first signal strength sequence corresponding to the first auxiliary signal is determined based on the configuration information.
3. The method according to claim 1, characterized in that The converting the first data signal into N first optical signals according to the first signal strength sequence includes: Determining, by a laser driver, N driving currents according to the first data signal; adjusting the amplitudes of M driving currents corresponding to the first signal strength sequence among the N driving currents according to the first signal strength sequence, so that the amplitudes of the M driving currents have a one-to-one correspondence with the M first signal strengths; The N first optical signals are obtained according to the N driving currents through a laser array.
4. The method according to claim 3, characterized in that The obtaining the N first optical signals according to the N driving currents includes: Obtaining an i-th optical signal among the N first optical signals in the following manner to obtain the N first optical signals; The light is modulated according to the data information corresponding to the first data signal carried in the i-th driving current and the amplitude of the i-th driving current to obtain the i-th optical signal.
5. The method according to claim 1, characterized in that The method further comprises: In a case where N second optical signals sent by the first peer device are acquired, determining, according to M second optical signals preset among the N second optical signals, a second signal strength sequence corresponding to the M second optical signals; Determine a second auxiliary signal according to the second signal strength sequence, wherein the second auxiliary signal is an auxiliary signal sent by the first peer device. Signal.
6. The method according to claim 5, characterized in that The determining, according to M second optical signals preset among the N second optical signals, second signal strength sequences corresponding to the M second optical signals includes: Convert the M second optical signals into M current signals through a photodiode PD array, and convert the M current signals into M voltage signals through a transimpedance amplifier; Detecting signal strengths of M voltage signals to obtain M second signal strengths; The second signal strength sequence is determined according to the detected M second signal strengths.
7. The method according to claim 5, characterized in that The determining the second auxiliary signal according to the second signal strength sequence comprises: Acquire configuration information, wherein the configuration information includes signal strength sequences corresponding to different auxiliary signals, wherein the auxiliary signal includes the second auxiliary signal, and the signal strength sequence includes the second signal strength sequence; A second auxiliary signal corresponding to the second signal strength sequence is determined based on the configuration information.
8. The method according to any one of claims 1 to 4, characterized in that The converting the first data signal into N first optical signals according to the first signal strength sequence includes: Use P optical transceiver modules to convert the first data signal into N first optical signals according to the first signal strength sequence, wherein the sum of the number of PCIe optical fiber links corresponding to the P optical transceiver modules is greater than or equal to N, the sum of the number of P1 PCIe optical fiber links in the P optical transceiver modules is less than N, and P is a positive integer greater than or equal to 1.
9. The method according to claim 8, characterized in that The using P optical transceiver modules to convert the first data signal into N first optical signals according to the first signal strength sequence includes: When P is greater than or equal to 2, z optical transceiver modules among the P optical transceiver modules are used to obtain the M first optical signals among the N first optical signals according to the first signal strength sequence and the first data signal, wherein the sum of the number of PCIe optical fiber links corresponding to the z optical transceiver modules is greater than or equal to M, z is a positive integer greater than or equal to 1 and less than or equal to Q, and Q is the minimum value of P and M.
10. The method according to claim 1, characterized in that The method further comprises: In a case where the target optical transceiver module that sends the N first optical signals corresponds to X PCIe optical fiber links, and there are a third data signal and a third auxiliary signal to be sent to the second peer device, determining a third signal strength sequence corresponding to the third auxiliary signal, wherein the third data signal is to be sent to the second peer device through Y PCIe optical fiber links, and the third signal strength sequence has K third signal strengths, where Y is a positive integer greater than or equal to 2, X is a positive integer greater than or equal to N+Y, and K is a positive integer greater than or equal to 2 and less than or equal to Y; The third data signal is converted into Y third optical signals through the target optical transceiver module, and the Y third optical signals are sent to the second peer device through the Y PCIe optical fiber links, wherein the signal strength of the K third optical signals among the Y third optical signals is The K third signal strengths have a one-to-one correspondence.
11. The method according to claim 1, characterized in that: The method further comprises: When the first data signal is transmitted through 4 PCIe optical fiber links and M is 4, the first signal strength sequence corresponding to the first auxiliary signal is [0, 1, 0, 1], where 0 is used to indicate that the signal strength is greater than a preset signal strength, and 1 is used to indicate that the signal strength is less than or equal to the preset signal strength.
12. The method according to claim 1, characterized in that The method further comprises: The N first optical signals carry the first data signal and the first auxiliary signal. The first data signal is obtained according to the N first optical signals by the first opposite-end device, and the first auxiliary signal is determined according to signal strengths of the M first optical signals among the N first optical signals.
13. The method according to claim 4, characterized in that The step of modulating light according to data information corresponding to the first data signal carried in the i-th driving current and the amplitude of the i-th driving current includes: The data information carried in the i-th driving current is used to perform frequency modulation, phase modulation or polarization modulation on the light, and the amplitude of the i-th driving current is used to perform intensity modulation on the light.
14. The method according to claim 1, characterized in that The converting the first data signal into N first optical signals according to the first signal strength sequence includes: The first data signal is converted into N first optical signals according to the first signal strength sequence through one or more optical transceiver modules, wherein when the number of PCIe optical fiber links of a single optical transceiver module is less than N, the first data signal is converted into N first optical signals according to the first signal strength sequence through multiple optical transceiver modules; when the number of PCIe optical fiber links of a single optical transceiver module is greater than or equal to N, the first data signal is converted into N first optical signals according to the first signal strength sequence through a single optical transceiver module.
15. The method according to claim 14, characterized in that The converting the first data signal into N first optical signals according to the first signal strength sequence by one or more optical transceiver modules includes: In the case where the signal transmitting end and the receiving end use 16 PCIe links to transmit the first data signal, the first data signal is directly converted into 16 first optical signals according to the first signal strength sequence using one optical transceiver module with 16 PCIe links, or two optical transceiver modules with 8 PCIe links are used to convert the first data signal into 16 first optical signals according to the first signal strength sequence, or four optical transceiver modules with 4 PCIe links are used to convert the first data signal into 16 first optical signals according to the first signal strength sequence.
16. An optical transceiver module, characterized in that: include: A laser driver, configured to determine N driving currents according to a first data signal, wherein the first data signal is to be sent to a first peer device through N PCIe optical fiber links corresponding to the optical transceiver module, and N is a positive integer greater than or equal to 2; A controller, configured to determine a first signal strength sequence corresponding to a first auxiliary signal, and adjust the amplitudes of M driving currents corresponding to the first signal strength sequence among the N driving currents according to the first signal strength sequence, so that the amplitudes of the M driving currents have a one-to-one correspondence with the M first signal strengths, wherein the first signal strength sequence has the M first signal strengths, M is a positive integer greater than or equal to 2 and less than or equal to N, and the first auxiliary signal is to be sent to the first opposite-end device; A laser array is configured to obtain N first optical signals according to the N driving currents, and send the N first optical signals to the first opposite-end device through the N PCIe optical fiber links, wherein the signal strengths of M first optical signals among the N first optical signals have a one-to-one correspondence with the M first signal strengths.
17. The optical transceiver module according to claim 16, characterized in that: The optical transceiver module also includes: The PD array is configured to convert M preset second optical signals among the N second optical signals into M current signals when the N second optical signals sent by the first peer device are acquired; a transimpedance amplifier configured to convert the M current signals into M voltage signals; The detector is configured to detect signal strengths of M voltage signals; determine a second signal strength sequence based on the detected M second signal strengths, and determine a second auxiliary signal based on the second signal strength sequence, wherein the second auxiliary signal is an auxiliary signal sent by the first opposite device.
18. A signal sending device, characterized in that: include: An acquisition module is configured to acquire a first data signal and a first auxiliary signal to be sent to a first peer device, wherein the first data signal is to be sent to the first peer device through N PCIe optical fiber links, where N is a positive integer greater than or equal to 2; A first determination module is configured to determine a first signal strength sequence corresponding to the first auxiliary signal, wherein the first signal strength sequence has M first signal strengths, and M is a positive integer greater than or equal to 2 and less than or equal to N; The first processing module is configured to convert the first data signal into N first optical signals according to the first signal strength sequence, and send the N first optical signals to the first peer device through the N PCIe optical fiber links, wherein the signal strengths of the M first optical signals among the N first optical signals have a one-to-one correspondence with the M first signal strengths.
19. A non-volatile readable storage medium, characterized in that: The non-volatile readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 15 when executed by a processor.
20. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 15 are implemented.
Citation Information
Patent Citations
A method for connecting an electronic device to an external device and an electronic device
CN108959131A
Sideband signal transmission through existing auxiliary pins of interface
CN113672539A
Interface assembly and data transmission method
CN114301485A
Signal sending method and device, storage medium and electronic equipment
CN117254860A
Transporting data and auxiliary signals over an optical link
US20130129359A1