A multi-stream signal transmission method of a thunderbolt dock and a thunderbolt dock

By performing synchronous preprocessing, protocol deframes, and service type parsing on the Thunderbolt dock, combined with global timing synchronization calibration and adaptive optimization, the stability and synchronization issues of high-speed data transmission and high-definition video transmission in existing Thunderbolt dock solutions have been resolved, achieving independent parallel transmission and stable transmission of multi-stream signals.

CN121880243BActive Publication Date: 2026-05-19深圳市海盈智联实业有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
深圳市海盈智联实业有限公司
Filing Date
2026-03-20
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Existing Thunderbolt docking solutions cannot achieve physical isolation and independent parallel transmission of high-speed data transmission and high-definition video transmission streams. Signals are susceptible to channel attenuation and crosstalk, bandwidth contention between multiple service streams, and insufficient multi-channel timing synchronization capabilities, making it difficult to meet the needs of multi-device collaboration and high-speed and stable transmission in professional scenarios.

Method used

By acquiring the total link bandwidth parameters, device capability parameters, and serial differential signals input from the host of the Thunderbolt expansion dock, synchronous preprocessing, protocol deframing, and service type parsing are performed to determine the real-time bandwidth requirements of each service transmission stream. Differential signal encoding and transmission optimization are then performed to achieve global timing synchronization calibration and transmission scheduling. Real-time link status parameters are acquired for adaptive optimization, and link signal processing configuration parameters are adjusted.

Benefits of technology

It enables multi-stream signal transmission in the Thunderbolt dock, improves transmission rate, ensures signal integrity and stability, and meets the needs of multiple scenarios for high-definition video output and high-speed data interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121880243B_ABST
    Figure CN121880243B_ABST
Patent Text Reader

Abstract

The application provides a multi-flow signal transmission method of a thunderbolt expansion dock and the thunderbolt expansion dock, and solves the problems of low bandwidth, insufficient high-speed stability and compatibility of the existing thunderbolt expansion dock. The method comprises the following steps: obtaining a total link bandwidth, device capacity, link signal processing configuration parameters and a host end serial differential signal; obtaining a synchronous baseband digital serial signal through preprocessing; obtaining a plurality of independent service transmission flows and corresponding type identifiers through protocol frame resolution and service analysis; determining real-time bandwidth requirements of each flow in combination with the identifiers, link and device parameters; completing differential signal encoding optimization, global timing synchronization calibration and scheduling, and outputting a plurality of differential signals to corresponding downstream interfaces; synchronously collecting real-time state parameters of the link, generating adaptive optimization parameters, dynamically adjusting the link signal processing configuration parameters, and performing signal transmission according to the parameters and terminal devices. The scheme realizes high-speed transmission of data, and improves the stability and compatibility of the thunderbolt expansion dock.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of lightning extension dock technology, and in particular to a multi-stream signal transmission method for a lightning extension dock and a lightning extension dock itself. Background Technology

[0002] With the upgrading demands of professional scenarios such as high-definition content creation, industrial design, and high-speed data interaction, Thunderbolt docks, as core hardware for expanding host peripherals, have become key devices for improving work efficiency in professional scenarios. Currently, most Thunderbolt docks are developed based on the Thunderbolt 3 and Thunderbolt 4 protocols, with mainstream products supporting up to 40Gbps transmission bandwidth. They can achieve basic USB (Universal Serial Bus) peripheral expansion, video output, and storage expansion. Some solutions adapt to the basic needs of multiple peripheral access through high-speed differential signal transmission optimization and multi-protocol compatibility design. Meanwhile, with the popularization of 8K ultra-high-definition and high refresh rate display technologies, the industry has placed higher demands on the uncompressed video transmission and multi-service stream parallel processing capabilities of Thunderbolt docks, and related technical solutions are gradually developing and applying multi-channel transmission architectures.

[0003] However, existing Thunderbolt docking solutions have many shortcomings that make them difficult to meet the needs of professional scenarios: First, due to limitations in transmission architecture design, existing solutions cannot achieve physical isolation and independent parallel transmission of high-speed data transmission streams, high-definition video transmission streams, and peripheral control streams. Bandwidth contention easily occurs between multiple service streams, making it impossible to stably support high-definition high refresh rate video output. Second, existing solutions cannot achieve full-link closed-loop optimization of high-speed differential signals. During high-speed transmission, signals are easily affected by channel attenuation and crosstalk, resulting in jitter and excessive bit error rate, which in turn causes abnormalities such as color distortion, ghosting, and screen tearing in video images. At the same time, the core chip overheats severely when running under high load and full bandwidth, and the existing structural design cannot guarantee the long-term stable operation of the device. Third, existing solutions lack multi-channel timing synchronization capabilities and multi-protocol compatibility and adaptation capabilities. When multiple peripherals are connected, transmission interruptions and compatibility failures are prone to occur, making it difficult to meet the core requirements of multi-device collaboration and high-speed stable transmission in professional scenarios. Summary of the Invention

[0004] This invention provides a multi-stream signal transmission method for a Thunderbolt expansion dock and a Thunderbolt expansion dock itself, which improves the transmission rate of existing Thunderbolt expansion docks and enables multi-stream transmission with multiple terminal devices.

[0005] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:

[0006] This invention provides a method for multi-stream signal transmission in a Thunderbolt dock, comprising:

[0007] Obtain the total link bandwidth parameters, device capability parameters, link signal processing configuration parameters, and serial differential signal input from the host end communicating with the Thunder expansion dock;

[0008] Based on the total link bandwidth parameters and link signal processing configuration parameters, the serial differential signal is subjected to synchronization preprocessing to obtain the synchronized baseband digital serial signal;

[0009] The synchronized baseband digital serial signal is subjected to protocol deframing and service type parsing to obtain at least two independent service transport streams and the service type identifier of each service transport stream.

[0010] Based on the service type identifier, total link bandwidth parameters, and device capability parameters of each service transmission flow, determine the real-time bandwidth requirement value of each service transmission flow;

[0011] Based on the real-time bandwidth requirement and total link bandwidth parameters, differential signal encoding and transmission optimization are performed on each service transmission stream to obtain encoded multi-channel parallel differential drive signals.

[0012] The multi-channel parallel differential drive signals are subjected to global timing synchronization calibration and transmission scheduling processing to obtain timing-synchronized multi-channel output differential signals.

[0013] The timing-synchronized multi-output differential signals are output to the downlink interface of the corresponding hardware channel, and the real-time link status parameters of each downlink interface are obtained at the same time.

[0014] Based on the real-time status parameters of the link, determine the adaptive optimization parameters of the link;

[0015] Based on the link adaptive optimization parameters, the link signal processing configuration parameters are adjusted to obtain the optimized link signal processing configuration parameters;

[0016] Based on the link signal processing configuration parameters, data signals are transmitted with multiple terminal devices through each downlink interface.

[0017] Optionally, based on the total link bandwidth parameters and link signal processing configuration parameters, the serial differential signal is preprocessed to obtain a synchronized baseband digital serial signal, including:

[0018] Based on the total link bandwidth parameters and link signal processing configuration parameters, determine the equalization configuration parameters for physical layer preprocessing;

[0019] According to the equalization configuration parameters, the serial differential signal is subjected to data recovery processing to obtain the recovered analog differential signal;

[0020] The recovered analog differential signal is subjected to analog-to-digital conversion and symbol synchronization processing to obtain a synchronized baseband digital serial signal.

[0021] Optionally, the synchronized baseband digital serial signal is subjected to protocol deframing and service type parsing processing to obtain at least two independent service transport streams and service type identifiers for each service transport stream, including:

[0022] The synchronized baseband digital serial signal is parsed to obtain the deframed valid data frame;

[0023] The valid data frames are processed for service type identification to obtain the service type identifier corresponding to each data frame. The service type identifier includes fixed bandwidth class, dynamic bandwidth class and control class.

[0024] Based on the service type identifier, the valid data frame is subjected to stream separation processing to obtain at least two independent service transport streams and the service type identifier of each service transport stream.

[0025] Optionally, the synchronized baseband digital serial signal is parsed to obtain a deframed valid data frame, including:

[0026] The synchronized baseband digital serial signal is identified to determine the target communication protocol version;

[0027] The target communication protocol version is matched with rules to obtain the corresponding protocol deframe rules and verification rules;

[0028] The baseband digital serial signal is parsed according to the frame structure rules of the protocol to obtain the initial data frame;

[0029] The initial data frame is validated according to the validation rules to obtain a valid data frame after deframed processing.

[0030] Optionally, based on the service type identifier, total link bandwidth parameters, and device capability parameters of each service transmission flow, the real-time bandwidth requirement value of each service transmission flow is determined, including:

[0031] Based on the service type identifier of each service transport stream, the performance parameters of each service transport stream are determined, including resolution data, refresh rate, and color data;

[0032] When the service type identifier of the service transmission flow is a fixed bandwidth class, according to:

[0033] ;

[0034] Determine the real-time bandwidth requirement value for fixed bandwidth service transmission flows, where, in the formula, This represents the real-time bandwidth requirement for fixed-bandwidth service transmission streams. The horizontal resolution of the video frame; The vertical resolution of the video frame; The refresh rate of the video frame; This represents the color depth value for a single color channel; The number of color channels in the video signal;

[0035] When the service type of the service transmission stream is identified as dynamic bandwidth type, the real-time bandwidth requirement value of the dynamic bandwidth type service transmission stream is determined based on the device capability parameters and the data frame length.

[0036] When the service type of the service transmission stream is identified as control type, the fixed bandwidth occupancy value of the control type service transmission stream is determined according to the preset protocol control bandwidth threshold.

[0037] Optionally, based on the real-time bandwidth requirement and the total link bandwidth parameters, differential signal encoding and transmission optimization processing are performed on each service transport stream to obtain encoded multi-channel parallel differential drive signals, including:

[0038] According to the constraints:

[0039] ;

[0040] Determine the bandwidth requirements for each service transmission stream, where, This refers to the total bandwidth parameter of the link; This represents the real-time bandwidth requirement for fixed-bandwidth service transmission streams. Let be the real-time bandwidth requirement of the i-th dynamic bandwidth class service transmission stream, and n be the total number of dynamic bandwidth class service transmission streams. This refers to the real-time bandwidth requirements of control-type service transmission streams. The bandwidth reserved for link redundancy is set to a value of [value]. 5%~10%;

[0041] Based on the bandwidth requirement value, each service transmission stream is subjected to line encoding processing according to the corresponding protocol to obtain the encoded serial digital signal;

[0042] The encoded serial digital signal is pre-emphasized and de-emphasized to obtain an optimized digital driving signal;

[0043] The optimized digital drive signal is subjected to impedance calibration to obtain the encoded multi-channel parallel differential drive signal.

[0044] Optionally, the multi-channel parallel differential drive signals are subjected to global timing synchronization calibration and transmission scheduling processing to obtain timing-synchronized multi-channel output differential signals, including:

[0045] Get global clock data;

[0046] Based on the global clock data, determine the target transmission delay data of each differential drive signal;

[0047] Based on the target transmission delay data, delay compensation and timing calibration are performed on each differential drive signal to obtain timing-calibrated multi-channel differential signals;

[0048] Based on the bandwidth requirement value, the time-calibrated multi-channel differential signals are scheduled for parallel transmission to obtain time-synchronized multi-channel output differential signals.

[0049] Optionally, based on the real-time link status parameters, the link adaptive optimization parameters are determined, including:

[0050] Based on the real-time bit error rate and signal quality parameters in the real-time status parameters of the link, the optimization parameters for differential signal coding are determined.

[0051] The bandwidth requirement value is updated based on the transmission bandwidth occupancy rate in the real-time link status parameters to obtain the updated bandwidth requirement value.

[0052] The optimized parameters of the differential signal encoding are integrated with the updated bandwidth requirement value to obtain the link adaptive optimization parameters.

[0053] Optionally, the link signal processing configuration parameters are adjusted according to the link adaptive optimization parameters to obtain optimized link signal processing configuration parameters, including:

[0054] The link adaptive optimization parameters are extracted and processed to obtain physical layer preprocessing optimization sub-parameters and differential signal coding optimization sub-parameters;

[0055] Based on the physical layer preprocessing optimization sub-parameters, the equalization configuration parameters in the link signal processing configuration parameters are updated to obtain the updated equalization configuration parameters;

[0056] Based on the differential signal coding optimization sub-parameters, the coding transmission optimization configuration parameters in the link signal processing configuration parameters are updated to obtain the updated coding transmission optimization configuration parameters.

[0057] The updated equalization configuration parameters and the updated encoding transmission optimization configuration parameters are integrated to obtain the optimized link signal processing configuration parameters.

[0058] This invention also provides a Thunderbolt expansion dock, comprising:

[0059] The acquisition module is used to acquire the total link bandwidth parameters, device capability parameters, link signal processing configuration parameters, and serial differential signals input from the host end that communicates with the Thunder expansion dock.

[0060] The processing module is configured to: perform synchronization preprocessing on the serial differential signal according to the total link bandwidth parameter and the link signal processing configuration parameter to obtain a synchronized baseband digital serial signal; perform protocol deframing and service type parsing on the synchronized baseband digital serial signal to obtain at least two independent service transmission streams and service type identifiers for each service transmission stream; determine the real-time bandwidth requirement value for each service transmission stream according to the service type identifiers of each service transmission stream, the total link bandwidth parameter, and the device capability parameter; perform differential signal encoding and transmission optimization processing on each service transmission stream according to the real-time bandwidth requirement value and the total link bandwidth parameter to obtain encoded multi-channel parallel differential drive signals; perform global timing synchronization calibration and transmission scheduling processing on the multi-channel parallel differential drive signals to obtain timing-synchronized multi-channel output differential signals; output the timing-synchronized multi-channel output differential signals to the downlink interface of the corresponding hardware channel, and simultaneously acquire the real-time link status parameters of each downlink interface; determine the link adaptive optimization parameters according to the link real-time status parameters; and adjust the link signal processing configuration parameters according to the link adaptive optimization parameters to obtain optimized link signal processing configuration parameters.

[0061] The communication module is used to transmit data signals with multiple terminal devices through each downlink interface according to the link signal processing configuration parameters.

[0062] The technical solution of the present invention has at least the following effects:

[0063] The above-described solution of the present invention obtains the total link bandwidth parameters, device capability parameters, link signal processing configuration parameters, and serial differential signal input from the host terminal communicating with the Thunderbolt expansion dock; performs synchronization preprocessing on the serial differential signal according to the total link bandwidth parameters and link signal processing configuration parameters to obtain a synchronized baseband digital serial signal; performs protocol deframing and service type parsing processing on the synchronized baseband digital serial signal to obtain at least two independent service transport streams and service type identifiers for each service transport stream; determines the real-time bandwidth requirement value for each service transport stream according to the service type identifiers of each service transport stream, the total link bandwidth parameters, and the device capability parameters; and performs differential signal processing on each service transport stream according to the real-time bandwidth requirement value and the total link bandwidth parameters. Encoding and transmission optimization processes are performed to obtain encoded multi-channel parallel differential drive signals. Global timing synchronization calibration and transmission scheduling are then applied to these multi-channel parallel differential drive signals to obtain timing-synchronized multi-channel output differential signals. These timing-synchronized multi-channel output differential signals are output to the downlink interfaces of the corresponding hardware channels, while simultaneously acquiring the real-time link status parameters of each downlink interface. Based on these real-time link status parameters, adaptive link optimization parameters are determined. Based on these adaptive link optimization parameters, the link signal processing configuration parameters are adjusted to obtain optimized link signal processing configuration parameters. Based on these link signal processing configuration parameters, data signals are transmitted to multiple terminal devices through each downlink interface. This improves the transmission rate of the Thunderbolt dock and enables multi-stream transmission with multiple terminal devices. Attached Figure Description

[0064] Figure 1 This is a flowchart of the multi-stream signal transmission method for the Lightning expansion dock provided in this embodiment of the invention;

[0065] Figure 2 This is a circuit diagram of the lightning extension dock provided in an embodiment of the present invention;

[0066] Figure 3 This is a structural diagram of the lightning expansion dock provided in an embodiment of the present invention. Detailed Implementation

[0067] Exemplary embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this invention will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

[0068] like Figure 1 As shown, an embodiment of the present invention proposes a multi-stream signal transmission method for a Lightning expansion dock, comprising:

[0069] Step 11: Obtain the total link bandwidth parameters, device capability parameters, link signal processing configuration parameters, and serial differential signal input from the host end communicating with the Thunder expansion dock;

[0070] Step 12: Based on the total link bandwidth parameters and link signal processing configuration parameters, perform synchronization preprocessing on the serial differential signal to obtain the synchronized baseband digital serial signal;

[0071] Step 13: Perform protocol deframing and service type parsing processing on the synchronized baseband digital serial signal to obtain at least two independent service transport streams and the service type identifier of each service transport stream.

[0072] Step 14: Determine the real-time bandwidth requirement value of each service transmission flow based on the service type identifier, total link bandwidth parameter, and device capability parameter of each service transmission flow.

[0073] Step 15: Based on the real-time bandwidth requirement value and the total link bandwidth parameter, perform differential signal encoding and transmission optimization processing on each service transmission stream to obtain the encoded multi-channel parallel differential drive signal.

[0074] Step 16: Perform global timing synchronization calibration and transmission scheduling processing on the multi-channel parallel differential drive signals to obtain timing-synchronized multi-channel output differential signals.

[0075] Step 17: Output the timing-synchronized multi-channel differential signals to the downlink interface of the corresponding hardware channel, and at the same time obtain the real-time link status parameters of each downlink interface.

[0076] Step 18: Determine the link adaptive optimization parameters based on the real-time link status parameters;

[0077] Step 19: Adjust the link signal processing configuration parameters according to the link adaptive optimization parameters to obtain the optimized link signal processing configuration parameters;

[0078] Step 20: Based on the link signal processing configuration parameters, data signals are transmitted with multiple terminal devices through each downlink interface.

[0079] In step 11 of this embodiment, the Thunder expansion dock first negotiates with the host connected to the communication via the uplink PD protocol to obtain the total link bandwidth parameter, then completes protocol negotiation with each downlink terminal device to obtain the device capability parameter characterizing the device's transmission capability, and at the same time retrieves its own pre-stored link signal processing configuration parameters, which include the initial configuration information of physical layer preprocessing and differential signal encoding, and finally receives the serial differential signal input by the host through the Thunder interface, which is a high-speed analog signal carrying various types of service data;

[0080] In step 12, the processing benchmark of the serial differential signal is determined based on the total bandwidth parameter of the link. Combined with the equalization configuration parameter in the link signal processing configuration parameter, the serial differential signal is subjected to synchronous preprocessing operations of adaptive equalization, common mode noise suppression, and clock data recovery in sequence to compensate for the attenuation and distortion in signal transmission. After completing analog-to-digital conversion and symbol synchronization, the synchronized baseband digital serial signal is obtained, realizing the conversion and synchronization calibration of analog signal to digital signal.

[0081] In step 13, the synchronized baseband digital serial signal is first processed by protocol deframe, and the valid data frame is parsed out according to the frame structure of the Thunder protocol. Then, the service type is identified in the valid data frame to distinguish between fixed bandwidth, dynamic bandwidth and control services. Finally, the flow separation process is completed according to the identification result to obtain at least two independent service transmission streams. At the same time, the corresponding service type identifier is matched for each service transmission stream to achieve physical isolation of multiple service streams.

[0082] In step 14, based on the service type identifier of each service transmission stream, combined with the total link bandwidth parameters and device capability parameters, the real-time bandwidth requirement values ​​of different types of service transmission streams are determined respectively. Fixed bandwidth services calculate bandwidth requirements based on parameters such as video resolution and refresh rate, dynamic bandwidth services determine bandwidth requirements based on device transmission capacity and data transmission volume, and control services determine fixed bandwidth requirements according to protocol requirements.

[0083] In step 15, based on the real-time bandwidth requirements of each service transmission stream and the total link bandwidth parameters, corresponding coding resources are allocated to each service transmission stream. First, line coding processing for Thunder protocol adaptation is performed, and then transmission optimization processing for differential signal pre-emphasis and deemphasis and impedance calibration is carried out to compensate for the transmission loss of the entire link. Finally, the encoded multi-channel parallel differential drive signal is obtained to ensure the integrity of signal transmission.

[0084] In step 16, the global clock reference of the Thunder protocol is obtained as the synchronization standard. Based on the hardware channel mapping relationship of each service transmission stream, the delay compensation and timing synchronization calibration of the multi-channel parallel differential drive signals are performed to eliminate the delay difference of multi-channel transmission. Then, parallel transmission scheduling is performed according to the bandwidth allocation result to avoid multi-stream bandwidth contention and obtain multi-channel output differential signals after timing synchronization.

[0085] In step 17, the timing-synchronized multi-output differential signals are output to the corresponding TBT5 downlink interface, DP interface, USB interface, etc., according to the hardware channel mapping relationship. At the same time, the signal transmission status of each downlink interface is monitored in real time through the signal acquisition module, and real-time link status parameters including signal error rate, signal quality, device access status, and bandwidth occupancy rate are collected.

[0086] In step 18, data analysis is performed on the real-time status parameters of the link. Combined with the preset transmission performance threshold, the parameter adjustment values ​​of the physical layer preprocessing stage and the differential signal coding stage are calculated respectively. After integrating the various adjustment values, the link adaptive optimization parameters used to optimize signal processing are determined.

[0087] In step 19, the link adaptive optimization parameters are decomposed into physical layer preprocessing optimization sub-parameters and differential signal coding optimization sub-parameters. The equalization configuration parameters, coding configuration parameters and transmission optimization configuration parameters in the link signal processing configuration parameters are updated and adjusted respectively. All updated parameters are integrated to obtain the optimized link signal processing configuration parameters, thereby realizing closed-loop optimization of signal processing parameters.

[0088] In step 20, the optimized link signal processing configuration parameters are used as the reference parameters for the Lightning dock's signal processing. The processed differential signals are transmitted to the corresponding terminal devices through each downlink interface. At the same time, feedback signals from the terminal devices are received, and the feedback signals are processed in real time according to the configuration parameters, thereby realizing stable high-speed bidirectional data signal transmission between the Lightning dock and multiple terminal devices.

[0089] This invention proposes the above-mentioned technical solution, which acquires multi-dimensional link and device parameters and processes host input signals in conjunction with initial configuration parameters. Through synchronous preprocessing, protocol deframing, and multi-service stream separation, signal digitization and independent service stream division are achieved. The bandwidth requirements of each stream are determined based on service type and bandwidth parameters, and differential signal encoding and transmission optimization are performed. Global timing synchronization calibration and scheduling ensure the timing consistency of multi-stream parallel transmission. Link status parameters are simultaneously acquired from the output signal, analyzed to generate adaptive optimization parameters, and the link signal processing configuration parameters are dynamically adjusted. Finally, stable transmission with multiple terminals is achieved based on the optimized parameters. This enables independent parallel transmission of multiple service streams in the Thunderbolt dock, fully releasing link bandwidth capabilities, improving the integrity and stability of high-speed differential signal transmission, and continuously ensuring signal processing effects through closed-loop adaptive optimization. It achieves high-speed, stable, and compatible bidirectional data transmission with multiple terminal devices, meeting the usage requirements of various scenarios such as high-definition video output and high-speed data interaction.

[0090] In an optional embodiment of the present invention, step 12, preprocessing the serial differential signal according to the total link bandwidth parameter and the link signal processing configuration parameter to obtain the synchronized baseband digital serial signal, may include:

[0091] Step 121: Determine the equalization configuration parameters for physical layer preprocessing based on the total link bandwidth parameters and the link signal processing configuration parameters;

[0092] Step 122: According to the equalization configuration parameters, perform data recovery processing on the serial differential signal to obtain the recovered analog differential signal;

[0093] Step 123: Perform analog-to-digital conversion and symbol synchronization processing on the recovered analog differential signal to obtain a synchronized baseband digital serial signal.

[0094] In step 121 of this embodiment, the operating frequency of the high-speed serial differential signal is determined based on the total link bandwidth parameters negotiated through the uplink PD protocol. Combining this with the inherent electrical parameters of the PCB, wires, and connectors in the pre-stored link signal processing configuration parameters, the transmission attenuation of all frequency components of the signal is calculated using the high-speed differential signal full-link transmission loss formula. Based on the attenuation, the equalization configuration parameters for physical layer preprocessing are determined. The high-speed differential signal full-link transmission loss formula is as follows:

[0095] ;

[0096] ;

[0097] in, For the operating frequency is The total transmission loss of the differential signal across the entire link, expressed in dB. Transmission loss of PCB differential traces, in dB. The differential signal loss of the transmission line, measured in dB. The insertion loss of the interface connector is expressed in dB. This refers to the dielectric loss factor of the PCB substrate, expressed in dB / m. The conductor loss factor for PCB differential traces, in units of , The length of the PCB differential trace is in meters (m). The operating frequency of the differential signal, in units of ;

[0098] In step 122, based on the determined equalization configuration parameters, adaptive equalization processing is performed on the serial differential signal input from the host end, targeted gain compensation is performed on the high-frequency components of the signal to offset the channel frequency selective attenuation, then common-mode noise suppression processing is performed on the signal to eliminate common-mode interference in the differential link and improve the signal-to-noise ratio, and finally clock data recovery processing is performed to extract the synchronization clock from the serial differential signal, lock the effective data transition edge, eliminate transmission jitter deviation, and obtain the recovered analog differential signal.

[0099] In step 123, the extracted synchronization clock is used as the sampling reference to perform analog-to-digital conversion on the recovered analog differential signal, converting the continuous analog level signal into a discrete digital signal. Then, based on the TBT5 protocol symbol rules, the digital signal is processed for symbol synchronization, symbol boundary alignment and frame header locking are completed, inter-symbol interference is eliminated, and finally the synchronized baseband digital serial signal is obtained.

[0100] In an optional embodiment of the present invention, step 13, performing protocol deframing and service type parsing processing on the synchronized baseband digital serial signal to obtain at least two independent service transport streams and service type identifiers for each service transport stream, may include:

[0101] Step 131: Identify the synchronized baseband digital serial signal to determine the target communication protocol version;

[0102] Step 132: Perform rule matching on the target communication protocol version to obtain the corresponding protocol deframe rules and verification rules;

[0103] Step 133: Perform frame structure parsing on the baseband digital serial signal according to the protocol deframe rules to obtain the initial data frame;

[0104] Step 134: Perform validity verification on the initial data frame according to the verification rules to obtain a valid data frame after deframed.

[0105] Step 135: Perform service type identification processing on the valid data frames to obtain the service type identifier corresponding to each data frame. The service type identifier includes fixed bandwidth class, dynamic bandwidth class and control class.

[0106] Step 136: Based on the service type identifier, perform stream separation processing on the valid data frame to obtain at least two independent service transport streams and the service type identifier of each service transport stream.

[0107] In step 131 of this embodiment, the protocol version field after the frame start delimiter in the synchronized baseband digital serial signal is extracted, and the field content is parsed and identified according to the bit width of the protocol specification to determine the target communication protocol version corresponding to the serial signal. The target communication protocol versions include TBT5, TBT4, USB4 and TBT3.

[0108] In step 132, the identified target communication protocol version is matched with the protocol rule base stored in the Thunder expansion dock, and the protocol deframe rules and cyclic redundancy check rules that are completely corresponding to the target communication protocol version are retrieved. The protocol rule base contains the frame structure definition, deframe timing and check polynomial of each version of the protocol.

[0109] In step 133, according to the matching protocol deframe rules, the frame synchronization header of the baseband digital serial signal is first located to lock the frame boundary. Then, the frame header, control field, payload and frame tail are parsed in sequence according to the field bit width of the frame structure to extract each complete set of frame data and obtain the initial data frame.

[0110] In step 134, the generator polynomial of the verification operation is determined according to the corresponding cyclic redundancy check rule. The verification operation is performed on the payload part of each initial data frame. The operation result is compared with the verification field at the end of the initial data frame. Invalid data frames that do not match are removed, and valid data that matches are retained to obtain the deframed valid data frame.

[0111] In step 135, the service type identifier bit in the control field of the header of the valid data frame is extracted, and the identifier bit is parsed according to the specification of the target communication protocol to distinguish the fixed bandwidth service carrying high-definition video data, the dynamic bandwidth service carrying high-speed storage data, and the control service carrying peripheral control signaling, and to match the corresponding service type identifier for each valid data frame.

[0112] In step 136, the valid data frames are classified, cached, and aggregated according to the service type identifier corresponding to each valid data frame. Data frames with the same service type identifier are mapped to independent logical transmission channels, and data frames of different service types are isolated from each other, ultimately resulting in at least two independent service transmission streams. The corresponding service type identifier is bound to each service transmission stream synchronously.

[0113] In an optional embodiment of the present invention, step 14, determining the real-time bandwidth requirement value of each service transmission stream based on the service type identifier, total link bandwidth parameter, and device capability parameter of each service transmission stream, may include:

[0114] Step 141: Determine the performance parameters of each service transport stream based on the service type identifier of each service transport stream. The performance parameters include resolution data, refresh rate, and color data.

[0115] Step 142, when the service type identifier of the service transmission flow is fixed bandwidth class, according to:

[0116] ;

[0117] Determine the real-time bandwidth requirement value for fixed bandwidth service transmission flows, where, in the formula, This represents the real-time bandwidth requirement for fixed-bandwidth service transmission streams. The horizontal resolution of the video frame; The vertical resolution of the video frame; The refresh rate of the video frame; This represents the color depth value for a single color channel; The number of color channels in the video signal;

[0118] Step 143: When the service type of the service transmission stream is identified as dynamic bandwidth type, determine the real-time bandwidth requirement value of the dynamic bandwidth type service transmission stream based on the device capability parameters and the data frame length.

[0119] Step 144: When the service type of the service transmission flow is identified as control type, the fixed bandwidth occupancy value of the control type service transmission flow is determined according to the preset protocol control bandwidth threshold.

[0120] In step 141 of this embodiment, the performance parameters of the corresponding service are extracted from the frame header control field of the service transmission stream according to the service type identifier corresponding to each service transmission stream. For fixed bandwidth service transmission streams, the extracted performance parameters include the horizontal resolution, vertical resolution, refresh rate, single color channel color depth value and number of color channels of the video image. For dynamic bandwidth and control service transmission streams, the transmission capability parameters and protocol control parameters of the corresponding device are extracted.

[0121] In step 142, when the service type of the service transmission stream is identified as fixed bandwidth, the real-time bandwidth requirement value of the service is calculated using the uncompressed video transmission bandwidth requirement formula.

[0122] In step 143, when the service type of the service transmission flow is identified as dynamic bandwidth, the maximum transmission rate threshold of the downlink terminal device is first extracted from the device capability parameters. Then, the real-time bandwidth requirement value of the service transmission flow is calculated by combining the data frame length, frame interval and real-time transmission frame rate of the service transmission flow, while ensuring that the calculation result does not exceed the maximum transmission rate threshold of the device.

[0123] In step 144, when the service type of the service transmission stream is identified as control type, the protocol control bandwidth threshold pre-stored in the expansion dock is retrieved according to the target communication protocol version matched by the service, and the threshold is determined as the fixed bandwidth occupancy value of the control type service transmission stream to ensure the stable transmission of peripheral control signaling.

[0124] In an optional embodiment of the present invention, step 15, based on the real-time bandwidth requirement value and the total link bandwidth parameter, performs differential signal encoding and transmission optimization processing on each service transmission stream to obtain encoded multi-channel parallel differential drive signals, which may include:

[0125] Step 151, according to the constraints:

[0126] ;

[0127] Determine the bandwidth requirements for each service transmission stream, where, This refers to the total bandwidth parameter of the link; This represents the real-time bandwidth requirement for fixed-bandwidth service transmission streams. Let be the real-time bandwidth requirement of the i-th dynamic bandwidth class service transmission stream, and n be the total number of dynamic bandwidth class service transmission streams. This refers to the real-time bandwidth requirements of control-type service transmission streams. The bandwidth reserved for link redundancy is set to a value of [value]. 5%~10%;

[0128] Step 152: Based on the bandwidth requirement value, perform line encoding processing on each service transmission stream according to the corresponding protocol to obtain the encoded serial digital signal;

[0129] Step 153: Perform pre-emphasis and de-emphasis processing on the encoded serial digital signal to obtain the optimized digital driving signal;

[0130] Step 154: Perform impedance calibration on the optimized digital drive signal to obtain the encoded multi-channel parallel differential drive signal.

[0131] In step 151 of this embodiment, the preset total bandwidth allocation constraint formula is used as the mandatory constraint condition for bandwidth allocation. Combining the total link bandwidth parameter and the real-time bandwidth requirement value of each service transmission stream, the bandwidth allocation verification is completed under the premise of satisfying the formula constraint, and the final bandwidth requirement value of each service transmission stream is determined.

[0132] In step 152, based on the determined bandwidth requirements of each service transmission stream, corresponding coding resources are allocated to each service transmission stream. According to the matching target communication protocol specification, the service transmission stream is subjected to 128b / 132b line coding processing to complete code conversion and scrambling, reduce the DC component of the signal, and obtain the encoded serial digital signal.

[0133] In step 153, the configuration parameters for pre-emphasis and de-emphasis are determined by combining the calculation results of the full-link transmission loss. The encoded serial digital signal is then pre-emphasized and de-emphasized to compensate for the transmission attenuation of high-frequency components of the signal, reduce signal jitter and inter-symbol interference, and obtain the optimized digital driving signal.

[0134] In step 154, based on the characteristic impedance parameters of the PCB differential traces, the optimized digital drive signal is subjected to differential pair delay matching and impedance calibration to eliminate differential pair delay deviation, ensure signal impedance matching with the transmission link, reduce signal reflection, and obtain the encoded multi-channel parallel differential drive signal.

[0135] In an optional embodiment of the present invention, step 16, performing global timing synchronization calibration and transmission scheduling processing on the multi-channel parallel differential drive signals to obtain timing-synchronized multi-channel output differential signals, may include:

[0136] Step 161: Obtain global clock data;

[0137] Step 162: Determine the target transmission delay data of each differential drive signal based on the global clock data;

[0138] Step 163: Based on the target transmission delay data, perform delay compensation and timing calibration on each differential drive signal to obtain timing-calibrated multi-channel differential signals.

[0139] Step 164: Based on the bandwidth requirement value, perform parallel transmission scheduling on the timing-calibrated multi-channel differential signals to obtain timing-synchronized multi-channel output differential signals.

[0140] In step 161 of this embodiment, global clock data of the TBT protocol that has been synchronized and locked with the host is obtained from the phase-locked loop module of the Thunder expansion dock main control chip, and the global clock data is used as a unified timing synchronization reference for the full-link multi-channel signal transmission.

[0141] In step 162, the clock period of the global clock data is used as the smallest unit of measurement. Combined with the hardware channel mapping relationship, physical trace length and transmission rate parameters of each differential drive signal, the inherent transmission delay deviation of each signal is calculated, the target transmission delay data that each differential drive signal needs to match is determined, and the transmission delay of each signal is aligned with the global clock reference.

[0142] In step 163, based on the determined target transmission delay data, digital delay compensation is performed on each channel of the differential drive signal, the output phase of each signal is adjusted, the inherent transmission delay difference between multiple channels is eliminated, and then, with the global clock data as a reference, symbol boundary alignment and timing calibration are performed on the signal that has completed delay compensation, symbol offset is eliminated, and the timing-calibrated multi-channel differential signal is obtained.

[0143] In step 164, the parallel transmission scheduling of the timing-calibrated multi-channel differential signals is performed according to the bandwidth requirement value corresponding to each service transmission stream. The transmission time slot and bandwidth occupancy priority of each signal are controlled according to the bandwidth allocation result. The stable transmission of fixed bandwidth services is given priority, and bandwidth contention between multiple service streams is avoided. Finally, the timing-synchronized multi-channel output differential signals are obtained.

[0144] In an optional embodiment of the present invention, step 18, determining the link adaptive optimization parameters based on the real-time link status parameters, may include:

[0145] Step 181: Determine the optimization parameters for differential signal coding based on the real-time bit error rate and signal quality parameters in the real-time link status parameters;

[0146] Step 182: Update the bandwidth requirement value according to the transmission bandwidth occupancy rate in the real-time status parameters of the link to obtain the updated bandwidth requirement value.

[0147] Step 183: Integrate the optimized parameters of the differential signal encoding with the updated bandwidth requirement value to obtain the link adaptive optimization parameters.

[0148] In step 181 of this embodiment, the real-time bit error rate, signal eye diagram opening, signal edge slope, and linear signal-to-noise ratio parameters are extracted from the real-time link status parameters. These parameters are then compared one by one with the transmission performance thresholds specified by the target communication protocol to determine whether the signal transmission quality of the current link meets the protocol requirements. When the real-time bit error rate exceeds the bit error rate threshold specified by the protocol, or the signal quality parameters are lower than the minimum threshold required by the protocol, the optimized parameters for the differential signal encoding stage are determined through inverse operation and iterative verification based on the high-speed differential signal signal-to-noise ratio constraint formula. The specific process is as follows:

[0149] (1) Based on the high-speed differential signal signal-to-noise ratio constraint formula, the minimum target signal-to-noise ratio that meets the protocol bit error rate requirement is determined by the inverse operation of the Q function; the high-speed differential signal signal-to-noise ratio constraint formula is:

[0150] ;

[0151] in, This represents the real-time bit error rate of differential signal transmission. The bit error rate threshold specified for the target communication protocol; The Q-function is used to calculate the bit error rate of Gaussian noise, and it is a monotonically decreasing function; SNR is the linear signal-to-noise ratio of the differential signal. This refers to the number of taps used for pre-emphasis and equalization; since the Q function is a monotonically decreasing function, in order to satisfy... The constraint condition requires that the value within the square root in the formula be no less than the threshold corresponding to the inverse operation of the Q function. The minimum target signal-to-noise ratio is obtained by transforming the formula. The calculation formula:

[0152] ;

[0153] Among them, Q -1 The inverse operation of the Q function can be determined using an industry-standard bit error rate function lookup table or a standard fitting formula.

[0154] (2) Compare the current linear signal-to-noise ratio collected in real time with the minimum target signal-to-noise ratio. Perform a comparison and calculate the deviation between the current signal-to-noise ratio and the target threshold; if the current linear signal-to-noise ratio is greater than or equal to... This indicates that the current parameters meet the constraints and no adjustment is needed; if the current linear signal-to-noise ratio is less than... The linear signal-to-noise ratio needs to be improved by adjusting the parameters of the differential signal encoding stage until the constraints are met.

[0155] (3) Establish the correspondence between the pre-emphasis tap coefficient, the deemphasis attenuation amplitude, the equalization gain coefficient and the linear signal-to-noise ratio. The pre-emphasis tap coefficient is used to adjust the gain amplitude of the high-frequency components of the signal to offset the high-frequency loss of the channel and reduce inter-symbol interference. The deemphasis attenuation amplitude is used to adjust the attenuation of the steady-state level of the signal and optimize the signal eye diagram opening to reduce the noise effect. The equalization gain coefficient is used to adjust the compensation amplitude of different frequency components to match the channel transmission characteristics and eliminate inter-symbol interference. The adjustment of the three types of parameters directly changes the linear signal-to-noise ratio of the differential signal.

[0156] (4) Using the minimum adjustment step size specified in the protocol, iteratively adjust the pre-emphasis tap coefficient, deemphasis attenuation amplitude, and equalization gain coefficient. After each parameter adjustment, synchronously collect the updated real-time linear signal-to-noise ratio and real-time bit error rate, substitute them into the high-speed differential signal signal-to-noise ratio constraint formula for verification, until the real-time bit error rate meets the requirement of not exceeding a certain value. The constraints require that the final verified parameter combinations be integrated into optimized parameters for differential signal encoding.

[0157] In step 182, the real-time transmission bandwidth utilization rate of each hardware channel and the remaining available bandwidth parameters of the link are extracted from the real-time status parameters of the link. Combined with the changes in the real-time data frame length, frame interval and data transmission rate of each service transmission stream, it is determined whether the bandwidth allocation of each service transmission stream matches the real-time transmission requirements. Using the preset total bandwidth allocation constraint formula as a mandatory constraint, without exceeding the total bandwidth parameters of the link, the bandwidth requirement value of fixed bandwidth service transmission streams is kept unchanged, the bandwidth requirement value of dynamic bandwidth service transmission streams is dynamically adjusted upward or downward, and the fixed bandwidth utilization value of control service transmission streams is kept unchanged. The full update of the bandwidth requirement value is completed, and the updated bandwidth requirement value of each service transmission stream is obtained.

[0158] In step 183, the optimization parameters of differential signal encoding are mapped and matched according to the corresponding hardware channels, so that the optimization parameters correspond one-to-one with the service transmission flow of each channel. Then, the mapped differential signal encoding optimization parameters are merged with the updated bandwidth requirement value, and transmission scheduling priority parameters and physical layer preprocessing equalization optimization parameters that match the updated bandwidth requirement value are added to form an initial set of optimization parameters. The initial set of optimization parameters is verified for compliance to ensure that all parameters meet the specification requirements of the target communication protocol and the total bandwidth constraint. After the verification is passed, they are integrated to form a complete link adaptive optimization parameter. This parameter can be directly sent to each signal processing module of the Thunderbolt expansion dock for closed-loop optimization and adjustment of the entire link signal processing process.

[0159] In an optional embodiment of the present invention, step 19, adjusting the link signal processing configuration parameters according to the link adaptive optimization parameters to obtain optimized link signal processing configuration parameters, may include:

[0160] Step 191: Extract the link adaptive optimization parameters to obtain physical layer preprocessing optimization sub-parameters and differential signal coding optimization sub-parameters;

[0161] Step 192: Update the equalization configuration parameters in the link signal processing configuration parameters according to the physical layer preprocessing optimization sub-parameters to obtain the updated equalization configuration parameters;

[0162] Step 193: Update the coding transmission optimization configuration parameters in the link signal processing configuration parameters according to the differential signal coding optimization sub-parameters to obtain the updated coding transmission optimization configuration parameters;

[0163] Step 194: Integrate the updated equalization configuration parameters and the updated encoding transmission optimization configuration parameters to obtain the optimized link signal processing configuration parameters.

[0164] In step 191 of this embodiment, the link adaptive optimization parameters are verified for protocol compliance and decomposed. They are classified and extracted according to the segment division of the signal processing flow, and the physical layer preprocessing optimization sub-parameters corresponding to the physical layer signal preprocessing segment and the differential signal coding optimization sub-parameters corresponding to the differential signal coding and transmission optimization segment are separated. The physical layer preprocessing optimization sub-parameters include equalization gain coefficient, number of taps and frequency compensation interval parameters. The differential signal coding optimization sub-parameters include pre-emphasis tap coefficient, deemphasis attenuation amplitude and impedance calibration parameters.

[0165] In step 192, based on the extracted physical layer preprocessing optimization sub-parameters, the equalization configuration parameters stored in the link signal processing configuration parameters are updated item by item. The original equalization gain coefficient, tap number and frequency compensation interval parameters are replaced with the values ​​corresponding to the physical layer preprocessing optimization sub-parameters. After the update is completed, the updated equalization configuration parameters are obtained.

[0166] In step 193, based on the extracted differential signal coding optimization sub-parameters, the coding transmission optimization configuration parameters stored in the link signal processing configuration parameters are updated item by item. The original line coding rules, pre-emphasis configuration, de-emphasis configuration and impedance calibration parameters are replaced with the values ​​corresponding to the differential signal coding optimization sub-parameters. After the update is completed, the updated coding transmission optimization configuration parameters are obtained.

[0167] In step 194, the updated equalization configuration parameters and the updated encoding transmission optimization configuration parameters are integrated with the unadjusted protocol deframing rules and global timing synchronization benchmark parameters in the link signal processing configuration parameters. After integration, protocol compliance verification is performed to ensure that all parameters comply with the transmission specifications of the target communication protocol. After the verification is passed, the optimized link signal processing configuration parameters are obtained, which will serve as the benchmark configuration for the next round of signal processing.

[0168] like Figure 2 As shown, a specific embodiment of the multi-stream signal transmission method for a Lightning expansion dock provided by this invention is as follows:

[0169] This circuit is the core hardware circuit of the Thunderbolt 5 docking station. The core control unit is the Thunderbolt 5 main controller. The connection relationship of each component is as follows:

[0170] The USB-C / F host connects to the PortA UFP port of the Thunderbolt 5 controller via the CIO 80-120Gbps bus, and is also connected to the PMG1-S3 PD TBTA-B module via the CC and PD I2C buses; the FLASH connects to the Thunderbolt 5 controller via the GR SPI bus; the PMG1-S3 PD TBTA-B connects to the Thunderbolt 5 controller via the LC I2C bus, and connects to the CCG8D TBTC-D and TBT5 D device via the EC I2C and CC buses.

[0171] The PortB DFP of the Thunderbolt 5 controller is connected to the TBT5 B device via the CIO 80Gbps bus; the PortD DFP is connected to the TBT5 D device via the CIO 80Gbps and USB 2.0 bus; and the PortC DFP is connected to the DP 8K / 60HZ module via the DP2.1 bus and a 3.3V@500mA power supply link.

[0172] The Thunderbolt 5 controller's USB 2.0 port connects to the USB 2.0 HUB FL5801, which provides multiple USB 2.0 buses that connect to the USB-C / F HOST, TBT5 B device, and TBT5 D device, respectively.

[0173] Step 1: Complete PD protocol negotiation with the host via the uplink USB-C / F HOST interface, and obtain the total bandwidth parameters of the TBT5 link through CC and PD I2C link interaction of the PMG1-S3 PDTBTA-B module. The device negotiates with the TBT5 B device and TBT5 D device connected to PortB and PortD to obtain device capability parameters, retrieves the link signal processing configuration parameters stored in FLASH via the GR SPI bus, and simultaneously receives the high-speed serial differential signal input from the host to the Thunderbolt 5 master control PortA UFP port via the CIO 80-120Gbps bus.

[0174] Step 2, the Thunderbolt 5 master controller determines the total link bandwidth parameters. Match the link signal processing configuration parameters to the full-link transmission loss formula:

[0175] ;

[0176] ;

[0177] The physical layer equalization configuration parameters are determined, and adaptive equalization, noise suppression and clock data recovery are performed on the serial differential signal. After analog-to-digital conversion and symbol synchronization, the synchronized baseband digital serial signal is obtained.

[0178] Step 3: The Thunderbolt 5 main controller identifies the TBT5 protocol version corresponding to the baseband digital serial signal, matches the corresponding frame parsing and verification rules, completes frame parsing and validity verification to obtain valid data frames, identifies the service type identifier of each data frame, and obtains multiple independent service transmission streams corresponding to different downlink ports through stream separation.

[0179] Step 4: The Thunderbolt 5 master controller determines the service type identifier and total link bandwidth parameters. Based on the equipment capability parameters, the uncompressed video bandwidth formula is used for DP2.1 services on the PortC DFP port:

[0180] ;

[0181] Calculate fixed bandwidth requirements The dynamic bandwidth requirements of the TBT5 devices on PortB and PortD are determined by combining the data frame parameters. According to the specifications, determine the fixed bandwidth value for control services of the peripherals corresponding to the USB 2.0 HUB FL5801. .

[0182] Step 5, using the total bandwidth allocation constraint formula:

[0183] ;

[0184] To verify the conditions and confirm that the bandwidth requirements of each service meet the total bandwidth limit of the link, the Thunderbolt 5 main controller performs protocol-adapted line coding on each service transmission stream. After pre-emphasis, deemphasis and impedance calibration, the transmission optimization is completed to obtain the encoded multi-channel parallel differential drive signal.

[0185] Step 6: The Thunderbolt 5 master controller uses the global clock of the TBT5 protocol as the timing reference to determine the target transmission delay data of each signal, completes the channel-by-channel delay compensation and timing calibration, and then performs parallel transmission scheduling according to the bandwidth requirement value to obtain the multi-channel output differential signals corresponding to each downlink port after timing synchronization.

[0186] Step 7: Output the multiple differential signals to the corresponding downstream peripheral interfaces of the Port ports. Simultaneously, collect the real-time link status parameters of each downstream interface via CC and EC I2C links, based on the high-speed differential signal-to-noise ratio constraint formula:

[0187] ;

[0188] Determine the link adaptive optimization parameters, update the link signal processing configuration parameters and store them in FLASH, and complete continuous bidirectional data transmission with multiple terminal devices based on the optimized configuration.

[0189] like Figure 3 As shown, this embodiment of the invention also provides a Thunderbolt expansion dock 30, comprising:

[0190] The acquisition module 31 is used to acquire the total link bandwidth parameters, device capability parameters, link signal processing configuration parameters, and serial differential signal input from the host end that is connected to the Thunder expansion dock.

[0191] Processing module 32 is configured to: perform synchronization preprocessing on the serial differential signal according to the total link bandwidth parameters and link signal processing configuration parameters to obtain a synchronized baseband digital serial signal; perform protocol deframing and service type parsing on the synchronized baseband digital serial signal to obtain at least two independent service transport streams and service type identifiers for each service transport stream; determine the real-time bandwidth requirement value for each service transport stream based on the service type identifiers of each service transport stream, the total link bandwidth parameters, and device capability parameters; and process the data for each service transport stream according to the real-time bandwidth requirement value and the total link bandwidth parameters. Differential signal encoding and transmission optimization are performed to obtain encoded multi-channel parallel differential drive signals. Global timing synchronization calibration and transmission scheduling are then performed on these multi-channel parallel differential drive signals to obtain timing-synchronized multi-channel output differential signals. These timing-synchronized multi-channel output differential signals are output to the downlink interface of the corresponding hardware channel, while simultaneously acquiring the real-time link status parameters of each downlink interface. Based on the real-time link status parameters, adaptive link optimization parameters are determined. Based on the adaptive link optimization parameters, the link signal processing configuration parameters are adjusted to obtain optimized link signal processing configuration parameters.

[0192] The communication module 33 is used to transmit data signals with multiple terminal devices through each downlink interface according to the link signal processing configuration parameters.

[0193] Optionally, processing module 32 is specifically used for:

[0194] Based on the total link bandwidth parameters and link signal processing configuration parameters, determine the equalization configuration parameters for physical layer preprocessing;

[0195] According to the equalization configuration parameters, the serial differential signal is subjected to data recovery processing to obtain the recovered analog differential signal;

[0196] The recovered analog differential signal is subjected to analog-to-digital conversion and symbol synchronization processing to obtain a synchronized baseband digital serial signal.

[0197] Optionally, the processing module 32 is also specifically used for:

[0198] The synchronized baseband digital serial signal is parsed to obtain the deframed valid data frame;

[0199] The valid data frames are processed for service type identification to obtain the service type identifier corresponding to each data frame. The service type identifier includes fixed bandwidth class, dynamic bandwidth class and control class.

[0200] Based on the service type identifier, the valid data frame is subjected to stream separation processing to obtain at least two independent service transport streams and the service type identifier of each service transport stream.

[0201] Optionally, the synchronized baseband digital serial signal is parsed to obtain a deframed valid data frame, including:

[0202] The synchronized baseband digital serial signal is identified to determine the target communication protocol version;

[0203] The target communication protocol version is matched with rules to obtain the corresponding protocol deframe rules and verification rules;

[0204] The baseband digital serial signal is parsed according to the frame structure rules of the protocol to obtain the initial data frame;

[0205] The initial data frame is validated according to the validation rules to obtain a valid data frame after deframed processing.

[0206] Optionally, the processing module 32 is also specifically used for:

[0207] Based on the service type identifier of each service transport stream, the performance parameters of each service transport stream are determined, including resolution data, refresh rate, and color data;

[0208] When the service type identifier of the service transmission flow is a fixed bandwidth class, according to:

[0209] ;

[0210] Determine the real-time bandwidth requirement value for fixed bandwidth service transmission flows, where, in the formula, This represents the real-time bandwidth requirement for fixed-bandwidth service transmission streams. The horizontal resolution of the video frame; The vertical resolution of the video frame; The refresh rate of the video frame; This represents the color depth value for a single color channel; The number of color channels in the video signal;

[0211] When the service type of the service transmission stream is identified as dynamic bandwidth type, the real-time bandwidth requirement value of the dynamic bandwidth type service transmission stream is determined based on the device capability parameters and the data frame length.

[0212] When the service type of the service transmission stream is identified as control type, the fixed bandwidth occupancy value of the control type service transmission stream is determined according to the preset protocol control bandwidth threshold.

[0213] Optionally, the processing module 32 is also specifically used for:

[0214] According to the constraints:

[0215] ;

[0216] Determine the bandwidth requirements for each service transmission stream, where, This refers to the total bandwidth parameter of the link; This represents the real-time bandwidth requirement for fixed-bandwidth service transmission streams. Let be the real-time bandwidth requirement of the i-th dynamic bandwidth class service transmission stream, and n be the total number of dynamic bandwidth class service transmission streams. This refers to the real-time bandwidth requirements of control-type service transmission streams. The bandwidth reserved for link redundancy is set to a value of [value]. 5%~10%;

[0217] Based on the bandwidth requirement value, each service transmission stream is subjected to line encoding processing according to the corresponding protocol to obtain the encoded serial digital signal;

[0218] The encoded serial digital signal is pre-emphasized and de-emphasized to obtain an optimized digital driving signal;

[0219] The optimized digital drive signal is subjected to impedance calibration to obtain the encoded multi-channel parallel differential drive signal.

[0220] Optionally, the processing module 32 is also specifically used for:

[0221] Get global clock data;

[0222] Based on the global clock data, determine the target transmission delay data of each differential drive signal;

[0223] Based on the target transmission delay data, delay compensation and timing calibration are performed on each differential drive signal to obtain timing-calibrated multi-channel differential signals;

[0224] Based on the bandwidth requirement value, the time-calibrated multi-channel differential signals are scheduled for parallel transmission to obtain time-synchronized multi-channel output differential signals.

[0225] Optionally, the processing module 32 is also specifically used for:

[0226] Based on the real-time bit error rate and signal quality parameters in the real-time status parameters of the link, the optimization parameters for differential signal coding are determined.

[0227] The bandwidth requirement value is updated based on the transmission bandwidth occupancy rate in the real-time link status parameters to obtain the updated bandwidth requirement value.

[0228] The optimized parameters of the differential signal encoding are integrated with the updated bandwidth requirement value to obtain the link adaptive optimization parameters.

[0229] Optionally, the processing module 32 is also specifically used for:

[0230] The link adaptive optimization parameters are extracted and processed to obtain physical layer preprocessing optimization sub-parameters and differential signal coding optimization sub-parameters;

[0231] Based on the physical layer preprocessing optimization sub-parameters, the equalization configuration parameters in the link signal processing configuration parameters are updated to obtain the updated equalization configuration parameters;

[0232] Based on the differential signal coding optimization sub-parameters, the coding transmission optimization configuration parameters in the link signal processing configuration parameters are updated to obtain the updated coding transmission optimization configuration parameters.

[0233] The updated equalization configuration parameters and the updated encoding transmission optimization configuration parameters are integrated to obtain the optimized link signal processing configuration parameters.

[0234] It should be noted that this Thunderbolt expansion dock is a Thunderbolt expansion dock corresponding to the above method. All implementation methods in the above method embodiments are applicable to this embodiment and can achieve the same technical effect.

[0235] The above are preferred embodiments of the present invention. It should be noted that, for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for multi-stream signal transmission in a lightning extension dock, characterized in that, include: Obtain the total link bandwidth parameters, device capability parameters, link signal processing configuration parameters, and serial differential signal input from the host end communicating with the Thunder expansion dock; Based on the total link bandwidth parameters and link signal processing configuration parameters, the serial differential signal is subjected to synchronization preprocessing to obtain the synchronized baseband digital serial signal; The synchronized baseband digital serial signal is subjected to protocol deframing and service type parsing to obtain at least two independent service transport streams and the service type identifier of each service transport stream. Based on the service type identifier, total link bandwidth parameters, and device capability parameters of each service transmission flow, determine the real-time bandwidth requirement value of each service transmission flow; Based on the real-time bandwidth requirement and total link bandwidth parameters, differential signal encoding and transmission optimization are performed on each service transmission stream to obtain encoded multi-channel parallel differential drive signals. The multi-channel parallel differential drive signals are subjected to global timing synchronization calibration and transmission scheduling processing to obtain timing-synchronized multi-channel output differential signals. The timing-synchronized multi-output differential signals are output to the downlink interface of the corresponding hardware channel, and the real-time link status parameters of each downlink interface are obtained at the same time. Based on the real-time status parameters of the link, determine the adaptive optimization parameters of the link; Based on the link adaptive optimization parameters, the link signal processing configuration parameters are adjusted to obtain the optimized link signal processing configuration parameters; Based on the link signal processing configuration parameters, data signals are transmitted with multiple terminal devices through each downlink interface.

2. The multi-stream signal transmission method for a lightning extension dock according to claim 1, characterized in that, Based on the total link bandwidth parameters and link signal processing configuration parameters, the serial differential signal is preprocessed to obtain a synchronized baseband digital serial signal, including: Based on the total link bandwidth parameters and link signal processing configuration parameters, determine the equalization configuration parameters for physical layer preprocessing; According to the equalization configuration parameters, the serial differential signal is subjected to data recovery processing to obtain the recovered analog differential signal; The recovered analog differential signal is subjected to analog-to-digital conversion and symbol synchronization processing to obtain a synchronized baseband digital serial signal.

3. The multi-stream signal transmission method for a lightning extension dock according to claim 1, characterized in that, The synchronized baseband digital serial signal is subjected to protocol deframing and service type parsing processing to obtain at least two independent service transport streams and service type identifiers for each service transport stream, including: The synchronized baseband digital serial signal is parsed to obtain the deframed valid data frame; The valid data frames are processed for service type identification to obtain the service type identifier corresponding to each data frame. The service type identifier includes fixed bandwidth class, dynamic bandwidth class and control class. Based on the service type identifier, the valid data frame is subjected to stream separation processing to obtain at least two independent service transport streams and the service type identifier of each service transport stream.

4. The multi-stream signal transmission method for a Lightning expansion dock according to claim 3, characterized in that, The synchronized baseband digital serial signal is parsed to obtain a deframed valid data frame, including: The synchronized baseband digital serial signal is identified to determine the target communication protocol version; The target communication protocol version is matched with rules to obtain the corresponding protocol deframe rules and verification rules; The baseband digital serial signal is parsed according to the frame structure rules of the protocol to obtain the initial data frame; The initial data frame is validated according to the validation rules to obtain a valid data frame after deframed processing.

5. The multi-stream signal transmission method for a lightning extension dock according to claim 1, characterized in that, Based on the service type identifier, total link bandwidth parameters, and device capability parameters of each service transmission flow, the real-time bandwidth requirement value of each service transmission flow is determined, including: Based on the service type identifier of each service transport stream, the performance parameters of each service transport stream are determined, including resolution data, refresh rate, and color data; When the service type identifier of the service transmission flow is a fixed bandwidth class, according to: ; Determine the real-time bandwidth requirement value for fixed bandwidth service transmission flows, where, in the formula, This represents the real-time bandwidth requirement for fixed-bandwidth service transmission streams. The horizontal resolution of the video frame; The vertical resolution of the video frame; The refresh rate of the video frame; This represents the color depth value for a single color channel; The number of color channels in the video signal; When the service type of the service transmission stream is identified as dynamic bandwidth type, the real-time bandwidth requirement value of the dynamic bandwidth type service transmission stream is determined based on the device capability parameters and the data frame length. When the service type of the service transmission stream is identified as control type, the fixed bandwidth occupancy value of the control type service transmission stream is determined according to the preset protocol control bandwidth threshold.

6. The multi-stream signal transmission method for a lightning extension dock according to claim 1, characterized in that, Based on the real-time bandwidth requirement and total link bandwidth parameters, differential signal encoding and transmission optimization are performed on each service transport stream to obtain encoded multi-channel parallel differential drive signals, including: According to the constraints: ; Determine the bandwidth requirements for each service transmission stream, where, This refers to the total bandwidth parameter of the link; This represents the real-time bandwidth requirement for fixed-bandwidth service transmission streams. Let be the real-time bandwidth requirement of the i-th dynamic bandwidth class service transmission stream, and n be the total number of dynamic bandwidth class service transmission streams. This refers to the real-time bandwidth requirements of control-type service transmission streams. The bandwidth reserved for link redundancy is set to a value of [value]. 5%~10%; Based on the bandwidth requirement value, each service transmission stream is subjected to line encoding processing according to the corresponding protocol to obtain the encoded serial digital signal; The encoded serial digital signal is pre-emphasized and de-emphasized to obtain an optimized digital driving signal; The optimized digital drive signal is subjected to impedance calibration to obtain the encoded multi-channel parallel differential drive signal.

7. The multi-stream signal transmission method for a lightning extension dock according to claim 6, characterized in that, The multi-channel parallel differential drive signals are subjected to global timing synchronization calibration and transmission scheduling processing to obtain timing-synchronized multi-channel output differential signals, including: Get global clock data; Based on the global clock data, determine the target transmission delay data of each differential drive signal; Based on the target transmission delay data, delay compensation and timing calibration are performed on each differential drive signal to obtain timing-calibrated multi-channel differential signals; Based on the bandwidth requirement value, the time-calibrated multi-channel differential signals are scheduled for parallel transmission to obtain time-synchronized multi-channel output differential signals.

8. The multi-stream signal transmission method for a lightning extension dock according to claim 7, characterized in that, Based on the real-time status parameters of the link, determine the link adaptive optimization parameters, including: Based on the real-time bit error rate and signal quality parameters in the real-time status parameters of the link, the optimization parameters for differential signal coding are determined. The bandwidth requirement value is updated based on the transmission bandwidth occupancy rate in the real-time link status parameters to obtain the updated bandwidth requirement value. The optimized parameters of the differential signal encoding are integrated with the updated bandwidth requirement value to obtain the link adaptive optimization parameters.

9. The multi-stream signal transmission method for a lightning extension dock according to claim 1, characterized in that, Based on the link adaptive optimization parameters, the link signal processing configuration parameters are adjusted to obtain optimized link signal processing configuration parameters, including: The link adaptive optimization parameters are extracted and processed to obtain physical layer preprocessing optimization sub-parameters and differential signal coding optimization sub-parameters; Based on the physical layer preprocessing optimization sub-parameters, the equalization configuration parameters in the link signal processing configuration parameters are updated to obtain the updated equalization configuration parameters; Based on the differential signal coding optimization sub-parameters, the coding transmission optimization configuration parameters in the link signal processing configuration parameters are updated to obtain the updated coding transmission optimization configuration parameters. The updated equalization configuration parameters and the updated encoding transmission optimization configuration parameters are integrated to obtain the optimized link signal processing configuration parameters.

10. A lightning extension dock, characterized in that, include: The acquisition module is used to acquire the total link bandwidth parameters, device capability parameters, link signal processing configuration parameters, and serial differential signals input from the host end that communicates with the Thunder expansion dock. The processing module is used to perform synchronization preprocessing on the serial differential signal according to the total link bandwidth parameter and the link signal processing configuration parameter to obtain the synchronized baseband digital serial signal; The synchronized baseband digital serial signal is subjected to protocol deframing and service type parsing to obtain at least two independent service transport streams and service type identifiers for each service transport stream; based on the service type identifiers of each service transport stream, the total link bandwidth parameter, and the device capability parameter, the real-time bandwidth requirement value of each service transport stream is determined; based on the real-time bandwidth requirement value and the total link bandwidth parameter, differential signal encoding and transmission optimization processing are performed on each service transport stream to obtain encoded multi-channel parallel differential drive signals; The multi-channel parallel differential drive signals are subjected to global timing synchronization calibration and transmission scheduling processing to obtain timing-synchronized multi-channel output differential signals. The timing-synchronized multi-channel differential output signals are output to the downlink interface of the corresponding hardware channel, and the real-time link status parameters of each downlink interface are obtained. Based on the real-time link status parameters, the link adaptive optimization parameters are determined. Based on the link adaptive optimization parameters, the link signal processing configuration parameters are adjusted to obtain the optimized link signal processing configuration parameters. The communication module is used to transmit data signals with multiple terminal devices through each downlink interface according to the link signal processing configuration parameters.