Transmission link switching systems, methods, apparatuses, computer equipment, storage media, and computer program products

By real-time signal quality monitoring and intelligent switching between the copper cable link and the integrated optical waveguide module, the problem of inflexible link switching in the existing technology is solved, and stable transmission and low-latency switching of the high-speed serial bus are realized, reducing system power consumption.

CN123122584APending Publication Date: 2026-11-17MOORE THREADS TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611619660.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-19
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing dual-media or multi-path transmission schemes cannot achieve flexible and real-time switching when the link quality deteriorates, resulting in long transmission delays, performance loss, and a lack of fine-grained control, which cannot meet the continuous and stable transmission requirements of high-speed serial buses.

Method used

A copper cable link and an integrated optical waveguide module are used to form a backup. The bit error rate and differential signal amplitude of the copper cable link are monitored in real time by a signal quality monitoring module. The intelligent control logic module determines whether to switch to the optical transmission link based on a threshold. The intelligent switching circuit achieves seamless switching and avoids long-term service interruption.

Benefits of technology

This enables early switching to optical transmission links before the copper cable link quality deteriorates, reducing latency, ensuring stable transmission of the high-speed serial bus, reducing power consumption, and improving the system's flexibility and anti-interference capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123122584A_ABST
    Figure CN123122584A_ABST
Patent Text Reader

Abstract

This application relates to a transmission link switching system, method, apparatus, computer equipment, storage medium, and computer program product. The system includes: a copper cable link, an integrated optical waveguide module, a signal quality monitoring module, an intelligent control logic module, and an intelligent switching circuit. The integrated optical waveguide module forms an optical transmission link that serves as a backup to the copper cable link. The signal quality monitoring module is used to acquire the signal quality parameters of the copper cable link when data transmission of a high-speed serial bus is carried using the copper cable link. The intelligent control logic module is used to output a first control signal to the intelligent switching circuit when the signal quality parameters of the copper cable link meet the switching conditions. The intelligent switching circuit is used to, based on the first control signal, stop enabling data transmission of the high-speed serial bus via the copper cable link and enable data transmission of the high-speed serial bus via the optical transmission link. This method can meet the requirement of continuous and stable transmission of the high-speed serial bus.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of high-speed serial communication technology, and in particular to a transmission link switching system, method, apparatus, computer equipment, storage medium, and computer program product. Background Technology

[0002] In the field of high-speed data transmission, copper cables and optical fibers (or waveguides) are two main transmission media. Copper cables are low in cost, but have short transmission distances, high power consumption, and are susceptible to electromagnetic interference (EMI) at high speeds. Optical fibers (or waveguides) have long transmission distances and strong anti-interference capabilities, but require photoelectric conversion, which introduces additional delay and cost.

[0003] Currently, there are some dual-media or multi-path transmission schemes. A common scheme is the primary and backup link design, which switches to the backup link (such as optical fiber) when the primary link (such as copper cable) fails completely. However, this switching is disaster recovery-type and requires high latency, which will cause long-term service interruption of the link and make it difficult to meet the requirements of continuous and stable transmission of high-speed serial buses. Summary of the Invention

[0004] Therefore, it is necessary to provide a transmission link switching system, method, apparatus, computer equipment, storage medium, and computer program product that can meet the requirements of continuous and stable transmission of high-speed serial buses, addressing the aforementioned technical problems.

[0005] In a first aspect, this application provides a transmission link switching system, which includes: a copper cable link, an integrated optical waveguide module, a signal quality monitoring module, an intelligent control logic module, and an intelligent switching circuit; wherein, the integrated optical waveguide module forms an optical transmission link that serves as a backup for the copper cable link;

[0006] The signal quality monitoring module is used to obtain the signal quality parameters of the copper cable link when the copper cable link is used to carry data transmission of a high-speed serial bus.

[0007] The intelligent control logic module is used to output a first control signal to the intelligent switching circuit when the signal quality parameters of the copper cable link meet the switching conditions.

[0008] The intelligent switching circuit is used to, based on the first control signal, stop enabling the copper cable link to carry data transmission of the high-speed serial bus, and enable the optical transmission link to carry data transmission of the high-speed serial bus.

[0009] Secondly, this application also provides a transmission link switching method, applied to a system including a copper cable link and an integrated optical waveguide module, wherein the integrated optical waveguide module forms an optical transmission link that serves as a backup for the copper cable link, the method comprising:

[0010] When using the copper cable link to carry data transmission of a high-speed serial bus, obtain the signal quality parameters of the copper cable link;

[0011] When the signal quality parameters of the copper cable link meet the switching conditions, a first control signal is output. The first control signal is used to stop enabling the copper cable link to carry data transmission of the high-speed serial bus and enable the optical transmission link to carry data transmission of the high-speed serial bus.

[0012] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method as described in the second aspect.

[0013] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the second aspect.

[0014] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the method described in the second aspect.

[0015] The aforementioned transmission link switching system, method, apparatus, computer equipment, storage medium, and computer program product include: a copper cable link, an integrated optical waveguide module, a signal quality monitoring module, an intelligent control logic module, and an intelligent switching circuit; wherein, the integrated optical waveguide module forms an optical transmission link that serves as a backup to the copper cable link; the signal quality monitoring module is used to acquire the signal quality parameters of the copper cable link when the copper cable link is used to carry data transmission of a high-speed serial bus; the intelligent control logic module is used to output a first control signal to the intelligent switching circuit when the signal quality parameters of the copper cable link meet the switching conditions; the intelligent switching circuit is used to, based on the first control signal, stop enabling the copper cable link to carry data transmission of the high-speed serial bus and enable the optical transmission link to carry data transmission of the high-speed serial bus. This solution allows for the determination of whether link switching needs to be triggered in advance based on the real-time signal quality parameters of the copper cable link. Furthermore, once it is confirmed that the signal quality parameters of the copper cable link meet the switching conditions, the transmission link of the high-speed serial bus can be switched from the copper cable link to the optical transmission link. This eliminates the need to wait for the copper cable link to completely fail, making the switching timing more flexible and controllable. It does not require high latency and will not cause long-term service interruptions, thus meeting the requirements for continuous and stable transmission of the high-speed serial bus. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0017] Figure 1A This is a schematic diagram of the system architecture of a transmission link switching system in one embodiment;

[0018] Figure 1B This is a timing diagram of the dual-threshold hysteresis mechanism in the embodiments of this application;

[0019] Figure 2 This is a schematic diagram of the system architecture of the transmission link switching system in another embodiment;

[0020] Figure 3 This is a flowchart illustrating a transmission link switching method in one embodiment;

[0021] Figure 4 This is a flowchart illustrating the transmission link switching method in another embodiment;

[0022] Figure 5This is a flowchart illustrating the transmission link switching method in another embodiment;

[0023] Figure 6 This is a structural block diagram of a transmission link switching device in one embodiment;

[0024] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0026] Currently, there are several dual-media or multi-path transmission solutions: one solution uses optical modules to extend the transmission distance, but these modules are external or require system-level configuration, making switching inflexible and unable to respond to real-time link conditions. Another solution is a primary / backup link design, which switches to a backup link (such as fiber optic) when the primary link (e.g., copper cable) is determined to be completely interrupted and failed. However, this switching is disaster recovery-oriented, slow to react, and unable to optimize when link quality deteriorates slightly.

[0027] The disadvantages of these multipath transmission schemes include:

[0028] 1. Unintelligent switching: Most solutions require manual configuration or only switch when the link is completely interrupted, and cannot optimize switching based on real-time, gradual signal quality degradation.

[0029] 2. Performance loss: In the primary and backup link design, the system needs to wait until the primary link communication completely fails before switching, during which time performance degradation or data retransmission will occur, affecting the overall transmission efficiency.

[0030] 3. Lack of fine-grained control: There is no fine-grained dynamic switching mechanism based on specific signal quality parameters (such as bit error rate and differential signal amplitude).

[0031] In this application embodiment, a system and method are provided that can monitor link quality in real time and achieve seamless, automatic, and appropriate switching between copper cables and optical waveguides, so as to optimize system latency, power consumption, and deployment flexibility while ensuring transmission performance.

[0032] In one exemplary embodiment, such as Figure 1A As shown, a transmission link switching system is provided, which includes: a copper cable link 101, an integrated optical waveguide module 102, a signal quality monitoring module 103, an intelligent control logic module 104, and an intelligent switching circuit 105.

[0033] The integrated optical waveguide module 102 forms an optical transmission link that serves as a backup for the copper cable link 101.

[0034] The signal quality monitoring module 103 is used to acquire the signal quality parameters of the copper cable link when data transmission of a high-speed serial bus is carried by a copper cable link.

[0035] The intelligent control logic module 104 is used to output a first control signal to the intelligent switching circuit when the signal quality parameters of the copper cable link meet the switching conditions.

[0036] The intelligent switching circuit 105 is used to, based on a first control signal, stop enabling data transmission of the high-speed serial bus via the copper cable link and enable data transmission of the high-speed serial bus via the optical transmission link.

[0037] In the above system, the copper cable link 101 and the integrated optical waveguide module 102 are connected in parallel to the transceiver device of the high-speed serial bus. The integrated optical waveguide module 102 forms an optical transmission link that serves as a backup for the copper cable link 101. The copper cable link 101 is connected to the signal quality monitoring module 103. The signal quality monitoring module 103 is connected to the intelligent control logic module 104. The intelligent switching circuit 105 connects the intelligent control logic module 104, the copper cable link 101, and the integrated optical waveguide module 102.

[0038] In this system, the copper cable link 101 can be a high-speed differential copper transmission cable, which can be used as the default main transmission path in the above system. The advantages of this copper cable link 101 are that it does not require photoelectric conversion and has low static power consumption.

[0039] For example, the integrated optical waveguide module 102 can be an integrated optical transmission unit that incorporates a built-in micro laser driver, a photodetector (PD), and a silicon-based optical waveguide, and can replace traditional discrete fiber optic modules. The micro laser driver drives the laser, converting electrical signals into corresponding optical modulation drive signals to provide driving capability for optical signal transmission; the photodetector (PD) receives the optical signal and converts the incident optical signal back into an electrical signal, achieving optical signal reception and demodulation; the silicon-based optical waveguide serves as the optical signal transmission channel, constraining and conducting the optical signal, completing the optical signal routing transmission within the chip. These three components work together to complete the electro-optic and photoelectric conversion and optical signal transmission within the integrated optical waveguide module.

[0040] In the above system, the copper cable link and the optical transmission link are parallel dual-channel transmission channels. The input ends of the two channels can receive high-speed serial bus data streams from the same source, and the output ends can connect to remote devices together. The hardware level realizes dual-channel parallelism, and there is no need to re-establish the link handshake when switching.

[0041] Among them, the aforementioned signal quality parameters are physical layer quantitative indicators that characterize the reliability of link transmission.

[0042] For example, signal quality parameters may include, but are not limited to, the bit error rate (BER). The differential signal amplitude can also be used as auxiliary reference data for signal quality parameters.

[0043] In some embodiments, the signal quality parameters include: a bit error rate (BER) parameter; and a switching condition is a first BER threshold. The signal quality parameter satisfying the switching condition means that the BER parameter is greater than or equal to the first BER threshold; the signal quality parameter not satisfying the switching condition means that the BER parameter is less than the first BER threshold.

[0044] For example, the signal quality monitoring module 103 can be connected in parallel to the copper cable link receiver through a high-speed differential sampling circuit. It can capture the transmitted bit stream in real time and calculate the real-time bit error rate. The sampling period can be configured to 1μs~10μs. The data is directly output to the intelligent control logic module 104 without occupying bus bandwidth.

[0045] In some embodiments, the signal quality parameters include a bit error rate (BER) parameter and a differential signal amplitude. The switching conditions include a first BER threshold and a first differential amplitude threshold. The switching conditions are met when the BER parameter is greater than or equal to the first BER threshold, and the differential signal amplitude is less than or equal to the first differential amplitude threshold; the switching conditions are not met when the BER parameter is less than the first BER threshold, and the differential signal amplitude is greater than the first differential amplitude threshold.

[0046] In the above embodiments, the switching condition considers both the bit error rate and the differential signal amplitude. Channel switching is triggered only when the bit error rate deteriorates and the differential signal amplitude falls to or below the first differential amplitude threshold. The differential signal amplitude characterizes the oscillation amplitude of the received signal. A differential signal amplitude less than or equal to the first differential amplitude threshold indicates severe attenuation of the received signal amplitude and a decrease in the signal-to-noise ratio, approaching the recognition threshold of the receiving device. This easily leads to sampling and decision errors. However, a decrease in amplitude alone does not necessarily indicate bit errors, and a simple increase in the bit error rate could be due to transient noise disturbances. Simultaneous degradation of both factors eliminates false triggering caused by transient interference, confirming a substantial and continuous degradation in the transmission performance of the link. This avoids frequent channel switching caused by jitter in a single parameter and improves the reliability of channel decision-making.

[0047] The aforementioned switching conditions can be pre-defined critical quality index thresholds within the logic unit, used to determine whether the copper cable link has deteriorated to the point of not meeting service transmission standards.

[0048] The aforementioned intelligent switching circuit 105 can be a hardware switching circuit with a multiplexer (MUX) as its core. It may also include two driving units: a copper cable driver and an optical waveguide driver.

[0049] For example, the first control signal mentioned above can be a high-level hardware switch instruction, used to drive the multiplexer MUX to switch to the integrated optical waveguide module 102, that is, to stop enabling data transmission of the high-speed serial bus carried by the copper cable link and enable data transmission of the high-speed serial bus carried by the optical transmission link.

[0050] For example, the intelligent control logic module 104 described above can be implemented using a field-programmable gate array (FPGA) or an application-specific integrated circuit (ASIC) hardware logic. It has a built-in register to store the switching threshold and the duration of the continuous detection window. It receives the BER value output by the monitoring module in real time, completes the value judgment through a hardware comparator, and generates a level control signal immediately after the condition is met.

[0051] The system described above can determine whether to trigger link switching in advance based on the real-time signal quality parameters of the copper cable link. Once it is confirmed that the signal quality parameters of the copper cable link meet the switching conditions, it stops enabling the copper cable link to carry data transmission of the high-speed serial bus and enables the optical transmission link to carry data transmission of the high-speed serial bus. This eliminates the need to wait for the copper cable link to completely fail, making the switching timing more flexible and controllable. It does not require high latency and will not cause long-term service interruptions, thus meeting the requirements for continuous and stable transmission of the high-speed serial bus.

[0052] In some embodiments, Figure 1A The intelligent control logic module 104 is also used to output a second control signal when the signal quality parameters do not meet the switching conditions; the intelligent switching circuit 105 is also used to maintain the copper cable link as a transmission link of the high-speed serial bus based on the second control signal, wherein the second control signal is used to maintain the data transmission of the high-speed serial bus carried by the copper cable link.

[0053] The second control signal can be a level command to maintain the copper cable channel conduction, which is the system default normal control signal.

[0054] After the system is powered on and initialized, the intelligent control logic module can output a second control signal, and the multiplexer locks the copper cable link by default. When the link quality is continuously up to standard, the output level is maintained without additional instruction to refresh.

[0055] In the above embodiments, under normal conditions (i.e., when the signal quality parameters do not meet the switching conditions), low-power copper cable transmission is used first, and the optical waveguide module is in a standby low-power state, which reduces the long-term operating power consumption of the server and controls the long-term power consumption of the hardware circuit.

[0056] In this embodiment of the application, after stopping the use of copper cable links to carry high-speed serial bus data transmission and enabling optical transmission links to carry high-speed serial bus data transmission, the use of copper cable links to carry high-speed serial bus data transmission can be periodically reactivated, and the signal quality parameters of the copper cable links can be used to determine whether the copper cable links can be restored.

[0057] In some embodiments, Figure 1A In the process, the intelligent control logic module 104 is further configured to periodically output a sniffing control signal to the intelligent switching circuit 105 after enabling data transmission of the high-speed serial bus via the copper cable link; the intelligent switching circuit 105 is further configured to, based on the sniffing control signal, re-enable data transmission of the high-speed serial bus via the copper cable link 101 within a preset sniffing duration, and stop enabling data transmission of the high-speed serial bus via the optical transmission link; the intelligent control logic module 104 is further configured to, after a preset sniffing duration, output a second control signal to the intelligent switching circuit 105 when the signal quality parameters of the copper cable link 101 meet the recovery conditions, the second control signal being used to maintain the data transmission of the high-speed serial bus via the copper cable link 101.

[0058] The sniffing control signal mentioned above can be a short-term, periodically triggered temporary switching command, used only to briefly connect the copper cable link to complete quality detection.

[0059] The preset sniffing duration can be a pre-configured copper cable link detection window. For example, the preset sniffing duration can be set to 100ns~1μs.

[0060] The aforementioned recovery conditions may refer to the threshold values ​​for restoring the quality of copper cable links to a high-quality transmission standard.

[0061] In some implementations, the signal quality parameters include: a bit error rate parameter; and the recovery condition includes the bit error rate parameter being less than or equal to a second bit error rate threshold.

[0062] In some implementations, the switching condition includes a bit error rate parameter greater than or equal to a first bit error rate threshold, and the recovery condition includes a bit error rate parameter less than or equal to a second bit error rate threshold, wherein the second bit error rate threshold is less than the first bit error rate threshold.

[0063] In the above implementation, a hysteresis interval is formed by setting two levels of bit error rate thresholds (the switching condition is the first bit error rate threshold, and the recovery condition is the second bit error rate threshold). This avoids frequent switching of the medium when the link quality is critically fluctuating, thereby improving transmission stability and reducing hardware power consumption.

[0064] For example, the above Figure 1A The intelligent control logic module 104 can have a built-in periodic timer. After the integrated optical waveguide module 102 is enabled, a sniffing signal is generated at a fixed period (configurable 1s / 5s). After the intelligent switching circuit 105 receives the signal, the copper cable link is temporarily enabled, and the signal quality monitoring module 103 synchronously collects the current BER value.

[0065] In the above embodiments, the detection process does not require long-term occupation of the copper cable channel. The link quality detection is completed using only a very short time slot without interrupting service transmission. It can promptly capture link recovery scenarios, automatically activate low-cost copper cables, and reduce the additional power consumption caused by photoelectric conversion in the long term.

[0066] In some embodiments, Figure 1A The intelligent control logic module 104 is also used to output a first control signal to the intelligent switching circuit after a preset sniffing time when the signal quality parameters of the copper cable link do not meet the recovery conditions.

[0067] Among them, the signal quality parameters collected during the sniffing process can be provided to the above. Figure 1A The intelligent control logic module 104 shown in the figure completes the comparison with the recovery threshold; if the signal quality parameter is worse than the recovery threshold, the first control signal is immediately re-output after the sniffing window ends, and converted into continuous transmission of optical waveguide.

[0068] In some embodiments, the signal quality parameters include: a bit error rate (BER) parameter and a differential signal amplitude. The signal quality parameters satisfying the recovery condition means that the BER parameter is less than or equal to a second BER threshold, and the differential signal amplitude is greater than or equal to a second differential amplitude threshold; the signal quality parameters not satisfying the recovery condition means that the BER parameter is greater than the second BER threshold, or the differential signal amplitude is less than the second differential amplitude threshold.

[0069] In the above embodiments, the link recovery judgment combines both the bit error rate (BER) parameter and the differential signal amplitude, unlike the single-parameter judgment method. The second BER threshold is the upper limit of BER under normal transmission conditions, and the second differential amplitude threshold is the minimum signal swing required for stable transmission. Only when the BER level of the copper cable link decreases to a high-quality standard, and the signal oscillation swing recovers to a stable threshold or above, with both parameters simultaneously returning to an excellent state, is the copper cable link transmission performance considered completely restored and the copper cable transmission mode maintained. This avoids the misjudgment recovery problem caused by instantaneous random noise when relying solely on BER judgment, and also eliminates the transmission anomaly problem caused by continuous transmission errors even when the signal amplitude meets the standard, when relying solely on signal amplitude judgment.

[0070] In some embodiments, the intelligent control logic module is specifically used to output a first control signal to the intelligent switching circuit when the signal quality parameters of the copper cable link continuously meet the switching conditions within a preset detection time.

[0071] The preset detection duration is a time window used for detection; it can be a continuous degradation judgment period. For example, the preset detection duration can be multiple sampling periods, such as 10 sampling periods, used to filter out single BER parameter jumps caused by transient interference.

[0072] For example, a shift register can be built into the intelligent control logic module to continuously cache the BER parameter determination results of N samples. The switching instruction is only triggered when all cached results are determined to be degraded. A single transient disturbance causing the BER parameter to exceed the standard will not trigger the switching. N can be greater than or equal to 2.

[0073] The continuous detection method described in the above embodiments can filter out false triggers caused by instantaneous pulse electromagnetic interference and instantaneous voltage fluctuations in the computer room, avoid meaningless media conversion, and further improve the system's anti-interference capability.

[0074] It should be noted that in the embodiments of this application, when comparing and determining between signal quality parameters and recovery conditions, the above-mentioned continuous detection method can also be used, which can also avoid erroneous triggering of copper cable link recovery, avoid meaningless medium conversion, and further improve the system's anti-interference capability.

[0075] For example, such as Figure 1B The figure shown is a timing diagram of the dual-threshold hysteresis mechanism in an embodiment of this application. Figure 1B The figure illustrates the complete working logic of dual-threshold hysteresis switching and periodic sniffing in the embodiments of this application. The vertical axis represents the bit error rate (BER), and the horizontal axis represents time and detection period. Figure 1BTwo horizontal threshold lines are set: a switching threshold (i.e., the first bit error rate threshold mentioned above) and a recovery threshold (i.e., the second bit error rate threshold mentioned above). The switching threshold is greater than the recovery threshold, and the interval between the two threshold lines is defined as the hysteresis interval.

[0076] Among them, such as Figure 1B As shown, during the normal transmission phase, copper cable links are used by default to carry service transmission, and the bit error rate of the copper cable links is monitored in real time. When the bit error rate gradually increases, the BER begins to exceed the limit and continues to be higher than or equal to the switching threshold within the preset detection time window (i.e. the preset detection duration mentioned above), it is determined that the performance of the copper cable link has been continuously degraded, triggering link switching. At the switching point, the data stream is diverted to the optical waveguide path, and the system enables the optical transmission link to continue carrying high-speed serial bus services.

[0077] like Figure 1B As shown, after enabling the optical transmission link to continue carrying high-speed serial bus services, the intelligent control logic module outputs sniffing signals periodically (for example, once per second) according to a configurable schedule. Within a very short preset sniffing duration, it temporarily switches back to the copper cable link to collect real-time BER (bit error rate) metrics. The sniffing detection does not interrupt service transmission. When the link environment improves and the copper cable link quality recovers, and the BER obtained from a single sniffing is better than the recovery threshold (bit error rate less than or equal to the second bit error rate threshold), i.e., when the sniffing BER meets the recovery conditions, the system determines that the copper cable link's transmission capacity has been restored, enables the copper cable link to carry high-speed serial bus services, and reuses the low-power copper cable link as the main transmission channel.

[0078] The above Figure 1B In the example, by setting two independent thresholds, one high and one low, a hysteresis interval is formed. Even if the link quality fluctuates slightly near the threshold, it will not cause repeated oscillations and switching between the copper cable link and the optical transmission link. The optical link is only switched when the bit error rate deteriorates upward and exceeds the higher switching threshold, and the copper cable is only allowed to be switched back when the bit error rate improves downward and falls back to within the lower recovery threshold. Combined with the short-term periodic sniffing mechanism, it not only ensures the stability of high-speed service transmission, but also automatically falls back to the low-power copper cable transmission mode after the link recovers.

[0079] In one exemplary embodiment, in Figure 1A On this basis, such as Figure 2 As shown, a transmission link switching system is provided, in which an integrated optical waveguide module is integrated inside the connector 10 of a high-speed serial bus; the connector 10 of the high-speed serial bus is used to connect to the transceiver device of the high-speed serial bus.

[0080] The connector for the aforementioned high-speed serial bus can be a physical connector between a graphics processing unit (GPU), a central processing unit (CPU), and a switch. Traditional connectors only integrate copper differential pins.

[0081] For example, a miniature cavity can be reserved inside the housing of the high-speed serial bus connector to encapsulate the optical waveguide, miniature laser driver chip, and photodetector (PD) inside the cavity. The external interface pins of the high-speed serial bus connector are compatible with standard copper cable connectors, and can directly replace existing connectors without modifying the motherboard hardware layout.

[0082] For example, the transmitting device connected to the high-speed serial bus can be hardware such as a GPU or CPU that generates high-speed serial data; the receiving device connected to the high-speed serial bus can be hardware such as a switch or a remote computing card that receives and parses data, and the connector enables the physical connection between the two.

[0083] In the above embodiments, the integrated structure eliminates the installation space of independent optical modules and is compatible with the compact internal structure of high-density computing servers; the connector natively integrates dual channels, simplifying wiring, reducing the electromagnetic interference coupling path of the whole machine, and reducing the number of hardware materials, thereby reducing the cost of batch deployment.

[0084] This application also provides a transmission link switching method, applied to a system including a copper cable link and an integrated optical waveguide module. The integrated optical waveguide module forms an optical transmission link that serves as a backup for the copper cable link. This method can be deployed in multi-GPU training clusters, data center storage servers, and high-speed computing nodes.

[0085] For example, the transmission link switching method provided in this application embodiment can be applied to the above-described... Figure 1A or Figure 2 The transmission link switching system shown. This method can be applied to... Figure 1A or Figure 2 The intelligent control logic module 104 in the middle.

[0086] In one exemplary embodiment, such as Figure 3 As shown, a transmission link switching method is provided, which can be applied to... Figure 1A or Figure 2 The intelligent control logic module 104 in the method includes:

[0087] 301. When using a copper cable link as the transmission link for a high-speed serial bus, obtain the signal quality parameters of the copper cable link.

[0088] During initialization, the copper cable link can be enabled by default. Figure 1A or Figure 2 The intelligent control logic module 104 can acquire the signal quality parameters of the sampled copper cable link.

[0089] 302. When the signal quality parameters of the copper cable link meet the switching conditions, output the first control signal. The first control signal is used to stop enabling the copper cable link to carry data transmission of the high-speed serial bus and enable the optical transmission link to carry data transmission of the high-speed serial bus.

[0090] For example, the switching condition mentioned above is the first bit error rate threshold. By controlling the signal quality parameters of the copper cable link and judging the health status of the copper cable link based on these parameters, a slow degradation trend can be detected in advance. Unlike existing technologies that only detect after the link is completely disconnected, this achieves full-cycle perception of link quality, providing data support for predictive switching.

[0091] In some embodiments, when the signal quality parameters of the copper cable link meet the switching conditions, outputting the first control signal may include, but is not limited to: outputting the first control signal when the signal quality parameters of the copper cable link continuously meet the switching conditions within a preset detection time.

[0092] For example, the above Figure 1A or Figure 2 The intelligent control logic module 104 can cache the BER determination results of multiple consecutive rounds through a hardware shift register. Only when the BER of N consecutive samplings exceeds the preset detection time will the first control level signal be generated and sent to the intelligent switching circuit to trigger channel switching.

[0093] In the above embodiments, transient interference can be filtered out by a continuous degradation window to avoid frequent media switching; control signals are sent out synchronously by hardware, and the switching response speed is in the microsecond range, so that path switching can be completed in the early stage of link degradation, preventing a large number of data packets from being retransmitted.

[0094] In the above embodiments, it can be determined whether the link switching needs to be triggered in advance based on the real-time signal quality parameters of the copper cable link. And when it is confirmed that the signal quality parameters of the copper cable link meet the switching conditions, the copper cable link is stopped from carrying data transmission of the high-speed serial bus, and the optical transmission link is enabled to carry data transmission of the high-speed serial bus. There is no need to wait for the copper cable link to completely fail, the switching timing is more flexible and controllable, no high latency is required, and the link will not cause long-term service interruption, which can meet the requirements of continuous and stable transmission of the high-speed serial bus.

[0095] In one exemplary embodiment, such as Figure 4 As shown, a transmission link switching method is provided, which can be applied to... Figure 1A or Figure 2 The intelligent control logic module 104 in the method includes:

[0096] 401. When using a copper cable link as the transmission link for a high-speed serial bus, obtain the signal quality parameters of the copper cable link.

[0097] The description of step 401 can be found in the explanation of step 301 above, and will not be repeated here.

[0098] 402. Determine whether the signal quality parameters of the copper cable link meet the switching conditions.

[0099] If the signal quality parameters of the copper cable link meet the switching conditions, continue to execute step 403 below; if the signal quality parameters of the copper cable link do not meet the switching conditions, continue to execute step 404 below.

[0100] In the above embodiments, the implementation method can use a hardware parallel comparator to determine whether the signal quality parameters meet the switching conditions. The dual-branch parallel determination architecture has extremely simple logic, low hardware resource overhead, and can be integrated into the built-in circuit of a small connector.

[0101] 403. Output the first control signal. The first control signal is used to stop enabling data transmission of the high-speed serial bus carried by the copper cable link and enable data transmission of the high-speed serial bus carried by the optical transmission link.

[0102] In particular, step 403 can trigger the activation of the optical transmission link to carry high-speed serial bus data transmission, avoiding service loss caused by high bit error rate of copper cable and ensuring the stability of high-speed data transmission.

[0103] 404. Output a second control signal. The second control signal is used to maintain the data transmission of the high-speed serial bus carried by the copper cable link.

[0104] In step 404, the copper cable path can be maintained under normal conditions, giving full play to the advantages of low power consumption and low cost of copper cable, and reducing the long-term energy consumption of the system.

[0105] In the above embodiments, when the signal quality parameters of the copper cable link are confirmed to meet the switching conditions, the copper cable link is stopped from carrying data transmission of the high-speed serial bus, and the optical transmission link is enabled to carry data transmission of the high-speed serial bus. This eliminates the need to wait for the copper cable link to completely fail, making the switching timing more flexible and controllable. It does not require high latency and will not cause prolonged service interruptions, thus meeting the requirements for continuous and stable transmission of the high-speed serial bus. Furthermore, even when the signal quality parameters of the copper cable link do not meet the switching conditions, the copper cable path can be maintained under normal circumstances, fully leveraging the low power consumption and low cost advantages of copper cables and reducing long-term system energy consumption.

[0106] After stopping the use of copper links to carry high-speed serial bus data transmission and enabling optical links to carry high-speed serial bus data transmission, it is possible to periodically switch back to copper links and check the signal quality parameters of copper links to determine whether copper links can be restored.

[0107] In one exemplary embodiment, such as Figure 5 As shown, a transmission link switching method is provided, which can be applied to... Figure 1A or Figure 2 The intelligent control logic module 104 in the method includes:

[0108] 501. Periodically generate sniffing control signals. The sniffing control signals are used to control the re-enabling of data transmission on the high-speed serial bus carried by the copper cable link within a preset sniffing duration, and to stop the enabling of data transmission on the high-speed serial bus carried by the optical transmission link.

[0109] One approach is to set a timer to automatically generate short sniffing pulses at regular intervals. Each sniffing window is extremely short, and the business data stream only briefly switches to the copper cable to complete the sampling, and immediately switches back after the sampling ends.

[0110] 502. Determine whether the signal quality parameters of the copper cable link meet the recovery conditions.

[0111] If the signal quality parameters of the copper cable link meet the recovery conditions, continue to execute step 504 after the preset sniffing time; if the signal quality parameters of the copper cable link do not meet the recovery conditions, continue to execute step 503 after the preset sniffing time.

[0112] The switching condition includes the bit error rate parameter being greater than or equal to a first bit error rate threshold, and the recovery condition includes the bit error rate parameter being less than or equal to a second bit error rate threshold, wherein the second bit error rate threshold is less than the first bit error rate threshold.

[0113] For example, the BER parameters of the copper cable link are collected synchronously within a preset sniffing time, compared with the BER threshold corresponding to the recovery condition, and the judgment result is cached to wait for the end of the sniffing period before executing the switching command.

[0114] 503. Output the first control signal.

[0115] In step 503 above, since the sniffing detection link has not been restored, the first control signal can be used to stop the copper cable link from carrying the data transmission of the high-speed serial bus and enable the optical transmission link to carry the data transmission of the high-speed serial bus, so as to continue to utilize the advantages of optical link in anti-interference and long-distance transmission and avoid service errors.

[0116] 504. Output the second control signal.

[0117] In step 504 above, since the sniffing determines that the copper cable link quality has recovered to the excellent standard, the second control signal can be used to maintain the copper cable link to carry the data transmission of the high-speed serial bus, thereby reducing the power consumption loss caused by the continuous operation of the optoelectronic conversion device and optimizing the overall power consumption.

[0118] In the above embodiments, by periodically sniffing the copper cable link quality during the optical waveguide transmission stage, the recovery status of the copper cable link quality can be identified in a timely manner without interrupting the transmission of upper-layer services. This allows for automatic switching back to the low-power copper cable path, reducing the additional power consumption caused by the long-term operation of the optoelectronic conversion device. At the same time, it avoids data transmission jitter caused by frequent medium switching under critical link conditions, thus balancing transmission stability and overall power consumption optimization.

[0119] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0120] Based on the same inventive concept, this application also provides a transmission link switching device for implementing the transmission link switching method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more transmission link switching device embodiments provided below can be found in the limitations of the transmission link switching method described above, and will not be repeated here.

[0121] In one exemplary embodiment, such as Figure 6 As shown, a transmission link switching device is provided, applied in a system including a copper cable link and an integrated optical waveguide module. In the system, the integrated optical waveguide module forms an optical transmission link that serves as a backup for the copper cable link. The copper cable link and the integrated optical waveguide module are connected in parallel to a transceiver device connected to a high-speed serial bus. The device includes:

[0122] The parameter acquisition module 601 is used to acquire the signal quality parameters of the copper cable link when the copper cable link is used to carry the data transmission of the high-speed serial bus.

[0123] The link switching control module 602 is used to output a first control signal when the signal quality parameters of the copper cable link meet the switching conditions. The first control signal is used to stop enabling the copper cable link to carry data transmission of the high-speed serial bus and enable the optical transmission link to carry data transmission of the high-speed serial bus.

[0124] In some embodiments, the link switching control module 602 is used to output the first control signal when the signal quality parameters of the copper cable link continuously meet the switching conditions within a preset detection time.

[0125] In some embodiments, the apparatus further includes: a sniffing module, configured to periodically generate a sniffing control signal after enabling the copper cable link to carry data transmission of the high-speed serial bus, the sniffing control signal being configured to re-enable the copper cable link to carry data transmission of the high-speed serial bus within a preset sniffing duration, and to stop enabling the optical transmission link to carry data transmission of the high-speed serial bus.

[0126] The link switching control module 602 is further configured to output a second control signal after a preset sniffing time when the signal quality parameters of the copper cable link meet the recovery conditions. The second control signal is used to maintain the data transmission of the high-speed serial bus carried by the copper cable link.

[0127] In some embodiments, the link switching control module 602 is further configured to output the first control signal after a preset sniffing time if the signal quality parameters of the copper cable link do not meet the recovery conditions.

[0128] In some embodiments, the signal quality parameters include the bit error rate parameter;

[0129] The switching condition includes the bit error rate parameter being greater than or equal to a first bit error rate threshold, and the recovery condition includes the bit error rate parameter being less than or equal to a second bit error rate threshold, wherein the second bit error rate threshold is less than the first bit error rate threshold.

[0130] In some embodiments, the link switching control module 602 is further configured to output a second control signal when the signal quality parameters of the copper cable link do not meet the switching conditions. The second control signal is used to maintain the data transmission of the high-speed serial bus carried by the copper cable link.

[0131] In some embodiments, the integrated optical waveguide module in the system is integrated inside the connector of the high-speed serial bus; the connector is used to interface with the transceiver device of the high-speed serial bus.

[0132] Each module in the aforementioned transmission link switching device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0133] In one exemplary embodiment, a computer device is provided, which may be a server, such as a multi-GPU computing server, a storage server, a high-speed computing node, an embedded high-speed computing host, or a Peripheral Component Interconnect Express (PCIe) switch device, etc., and its internal structure diagram may be as follows. Figure 7 As shown, the computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements the method shown in the above embodiment.

[0134] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0135] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement various processes of the methods shown in the above method embodiments.

[0136] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the various processes of the method as shown in the above method embodiments.

[0137] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the various processes of the methods shown in the above method embodiments.

[0138] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, 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 many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0139] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0140] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A transmission link switching system, characterized in that, The system includes: a copper cable link, an integrated optical waveguide module, a signal quality monitoring module, an intelligent control logic module, and an intelligent switching circuit; wherein, the integrated optical waveguide module forms an optical transmission link that serves as a backup for the copper cable link; The signal quality monitoring module is used to obtain the signal quality parameters of the copper cable link when the copper cable link is used to carry data transmission of a high-speed serial bus. The intelligent control logic module is used to output a first control signal to the intelligent switching circuit when the signal quality parameters of the copper cable link meet the switching conditions. The intelligent switching circuit is used to, based on the first control signal, stop enabling the copper cable link to carry data transmission of the high-speed serial bus, and enable the optical transmission link to carry data transmission of the high-speed serial bus.

2. The system according to claim 1, characterized in that, The intelligent control logic module is specifically used to output the first control signal to the intelligent switching circuit when the signal quality parameters of the copper cable link continuously meet the switching conditions within a preset detection time.

3. The system according to claim 1, characterized in that, The intelligent control logic module is also used to periodically output sniffing control signals to the intelligent switching circuit after enabling the copper cable link to carry the data transmission of the high-speed serial bus. The intelligent switching circuit is also used to, based on the sniffing control signal, re-enable the copper cable link to carry the data transmission of the high-speed serial bus within a preset sniffing time, and stop enabling the optical transmission link to carry the data transmission of the high-speed serial bus. The intelligent control logic module is further configured to output a second control signal to the intelligent switching circuit after the preset sniffing time when the signal quality parameters of the copper cable link meet the recovery conditions. The second control signal is used to maintain the data transmission of the high-speed serial bus carried by the copper cable link.

4. The system according to claim 3, characterized in that, The intelligent control logic module is further configured to output the first control signal to the intelligent switching circuit after the preset sniffing time if the signal quality parameters of the copper cable link do not meet the recovery conditions.

5. The system according to claim 3, characterized in that, The signal quality parameters include: bit error rate parameter; The switching condition includes the bit error rate parameter being greater than or equal to a first bit error rate threshold, and the recovery condition includes the bit error rate parameter being less than or equal to a second bit error rate threshold, wherein the second bit error rate threshold is less than the first bit error rate threshold.

6. The system according to claim 1, characterized in that, The intelligent control logic module is also used to output a second control signal when the signal quality parameter does not meet the switching condition; The intelligent switching circuit is also used to maintain the copper cable link carrying the data transmission of the high-speed serial bus based on the second control signal.

7. The system according to any one of claims 1 to 6, characterized in that, The integrated optical waveguide module is integrated inside the connector of the high-speed serial bus; the connector is used to interface with the transceiver device of the high-speed serial bus.

8. A method for switching transmission links, characterized in that, The method, applied to a system including a copper cable link and an integrated optical waveguide module, wherein the integrated optical waveguide module forms an optical transmission link that serves as a backup to the copper cable link, comprises: When using the copper cable link to carry data transmission of a high-speed serial bus, obtain the signal quality parameters of the copper cable link; When the signal quality parameters of the copper cable link meet the switching conditions, a first control signal is output. The first control signal is used to stop enabling the copper cable link to carry data transmission of the high-speed serial bus and enable the optical transmission link to carry data transmission of the high-speed serial bus.

9. The method according to claim 8, characterized in that, When the signal quality parameters of the copper cable link meet the switching conditions, a first control signal is output, including: If the signal quality parameters of the copper cable link continuously meet the switching conditions within a preset detection time, the first control signal is output.

10. The method according to claim 9, characterized in that, The method further includes: After enabling the copper cable link to carry the data transmission of the high-speed serial bus, a sniffing control signal is periodically generated. The sniffing control signal is used to control the re-enabling of the copper cable link to carry the data transmission of the high-speed serial bus within a preset sniffing duration, and to stop enabling the optical transmission link to carry the data transmission of the high-speed serial bus. When the signal quality parameters of the copper cable link meet the recovery conditions, after a preset sniffing time, a second control signal is output. The second control signal is used to maintain the data transmission of the high-speed serial bus carried by the copper cable link.

11. The method according to claim 10, characterized in that, The method further includes: If the signal quality parameters of the copper cable link do not meet the recovery conditions, the first control signal will be output after a preset sniffing time.

12. The method according to claim 10, characterized in that, The signal quality parameters include the bit error rate parameter; The switching condition includes the bit error rate parameter being greater than or equal to a first bit error rate threshold, and the recovery condition includes the bit error rate parameter being less than or equal to a second bit error rate threshold, wherein the second bit error rate threshold is less than the first bit error rate threshold.

13. The method according to claim 8, characterized in that, The method further includes: If the signal quality parameters of the copper cable link do not meet the switching conditions, a second control signal is output. The second control signal is used to maintain the data transmission of the high-speed serial bus carried by the copper cable link.

14. The method according to any one of claims 8 to 13, characterized in that, The integrated optical waveguide module in the system is integrated inside the connector of the high-speed serial bus; the connector is used to interface with the transceiver device of the high-speed serial bus.

15. A transmission link switching device, characterized in that, An apparatus applicable to a system including a copper cable link and an integrated optical waveguide module, wherein the integrated optical waveguide module forms an optical transmission link that serves as a backup for the copper cable link, and the copper cable link and the integrated optical waveguide module are connected in parallel to a high-speed serial bus transceiver device, the apparatus comprising: The parameter acquisition module is used to acquire the signal quality parameters of the copper cable link when the copper cable link is used to carry data transmission of a high-speed serial bus. The link switching control module is used to output a first control signal when the signal quality parameters of the copper cable link meet the switching conditions. The first control signal is used to stop enabling the copper cable link to carry data transmission of the high-speed serial bus and enable the optical transmission link to carry data transmission of the high-speed serial bus.

16. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 8 to 14.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 8 to 14.

18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 8 to 14.