Method and device for eliminating influence of length difference of differential line pair and computer equipment

CN115168265BActive Publication Date: 2026-09-22ZHEJIANG DAHUA TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210586890.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-27
Publication Date
2026-09-22
Estimated Expiration
2042-05-27

AI Technical Summary

Technical Problem

[0003]基于此,有必要针对上述技术问题,提供一种差分线对长度差异影响的消除方法、装置、计算机设备和介质,以解决相关技术中存在的由于差分线对长度差异导致显示端出现的显示问题

Benefits of technology

[0032]上述差分线对长度差异影响的消除方法、装置、计算机设备和计算机可读存储介质,通过在两条传输线传输差分信号之前,确定两条传输线的长度差;基于两条传输线的长度差,对两条传输线开始传输差分信号的时间间隔进行调整。本申请在两条传输线传输差分信号之前,基于两条传输线的长度差,来调整两条传输线开始传输差分信号的时间间隔,从而保证条传输线传输的差分信号同时到达显示端,有效解决由于差分线对长度差异导致显示端出现的显示问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115168265B_ABST
    Figure CN115168265B_ABST
Patent Text Reader

Abstract

The application relates to a method and device for eliminating the influence of length difference of a differential line pair, computer equipment and a medium. Before two transmission lines transmit differential signals, the length difference of the two transmission lines is determined; and based on the length difference of the two transmission lines, the time interval at which the two transmission lines start to transmit the differential signals is adjusted. Before the two transmission lines transmit the differential signals, the time interval at which the two transmission lines start to transmit the differential signals is adjusted based on the length difference of the two transmission lines, so that the differential signals transmitted by the two transmission lines reach a display end at the same time, and the display problem caused by the length difference of the differential line pair is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of signal transmission technology, and in particular to a method, apparatus, computer equipment, and medium for eliminating the influence of length differences in differential lines. Background Technology

[0002] With the development of signal transmission requirements, certain scenarios necessitate long-distance transmission of audio and video signals. To meet this need, existing technologies load the signal to be transmitted, along with a signal of equal magnitude but opposite polarity, onto the two transmission lines of a differential pair. This differential pair is used to transmit differential signals, thereby eliminating the impact of noise during long-distance transmission. However, due to manufacturing defects in the differential lines, the two transmission lines in a differential pair may be of unequal length. This can lead to inconsistent arrival times of the differential signals at the display, resulting in signal distortion and compatibility issues such as black screens, no signal, or blue screens. Summary of the Invention

[0003] Therefore, it is necessary to provide a method, apparatus, computer equipment, and medium for eliminating the influence of differential line length differences to address the aforementioned technical problems, thereby resolving display issues at the display end caused by differential line length differences in related technologies.

[0004] In a first aspect, embodiments of this application provide a method for eliminating the influence of length differences in differential line pairs, wherein the differential line pair comprises two transmission lines that respectively transmit differential signals, and the method includes the following steps:

[0005] Before transmitting the differential signal on the two transmission lines, the length difference between the two transmission lines is determined;

[0006] Based on the length difference between the two transmission lines, the time interval at which the two transmission lines begin transmitting the differential signal is adjusted.

[0007] In some embodiments, determining the length difference between the two transmission lines includes the following steps:

[0008] Pulse signals are sent to the two transmission lines respectively. The length difference between the two transmission lines is determined based on the time difference of the pulse signals in the two transmission lines and the transmission speed of the pulse signals in the two transmission lines.

[0009] In some embodiments, if the receiving device is in a high-impedance state, and the two transmission lines are a first transmission line and a second transmission line, determining the length difference of the two transmission lines based on the time difference of the pulse signal's transmission in the two transmission lines and the transmission speed of the pulse signal in the two transmission lines includes the following steps:

[0010] The total time required for the pulse signal to travel in the first transmission line is determined based on the time when the pulse signal is transmitted to the first transmission line and the time when the pulse signal travels in the first transmission line and is reflected back to the transmitting end; and the total time required for the pulse signal to travel in the second transmission line is determined based on the time when the pulse signal is transmitted to the second transmission line and the time when the pulse signal travels in the second transmission line and is reflected back to the transmitting end.

[0011] The time difference between the transmission of the pulse signal in the two transmission lines is determined based on the total time required for the pulse signal to transmit in the first transmission line and the total time required for the pulse signal to transmit in the second transmission line.

[0012] The length difference between the two transmission lines is determined based on the time difference of the pulse signal's transmission in the two transmission lines and the transmission speed of the pulse signal in the two transmission lines.

[0013] In some embodiments, if the receiving device is in a high-impedance state, and the two transmission lines are a first transmission line and a second transmission line, determining the length difference between the two transmission lines includes the following steps:

[0014] Pulse signals are sent to the two transmission lines respectively, and the number of standard pulses included in the superposition of the pulse signal sent to the first transmission line and the pulse signal reflected back along the first transmission line is measured and recorded as the first standard pulse number; and the number of standard pulses included in the superposition of the pulse signal sent to the second transmission line and the pulse signal reflected back along the second transmission line is recorded as the second standard pulse number.

[0015] The length difference between the two transmission lines is determined based on the first standard pulse count, the second standard pulse count, the width of the standard pulse, and the transmission speed of the pulse signal in the two transmission lines.

[0016] In some embodiments, adjusting the time interval for the transmission of the differential signal on the two transmission lines based on the length difference between the two transmission lines includes the following steps:

[0017] Based on the length difference between the two transmission lines and the transmission speed of the differential signal in the two transmission lines, the time difference between the differential signals transmitted in the two transmission lines reaching the display end is determined when the differential signals are transmitted simultaneously in the two transmission lines.

[0018] The time interval between the start of transmission of the differential signal on the two transmission lines is adjusted according to the time difference.

[0019] In some embodiments, the two transmission lines are a first transmission line and a second transmission line, respectively. Adjusting the time interval between the start of transmission of the differential signal on the two transmission lines based on the time difference includes the following steps:

[0020] When the differential signal is transmitted simultaneously on both transmission lines, if the differential signal transmitted on the first transmission line arrives at the display end R seconds earlier than the differential signal transmitted on the second transmission line, then the time when the first transmission line starts transmitting the differential signal is adjusted to be R seconds later than the time when the second transmission line starts transmitting the differential signal, or the time when the second transmission line starts transmitting the differential signal is adjusted to be R seconds earlier than the time when the first transmission line starts transmitting the differential signal; where R is a real number.

[0021] In some embodiments, before adjusting the time interval for the transmission of the differential signal on the two transmission lines based on the length difference between the two transmission lines, the following steps are included:

[0022] The mapping relationship between the different length differences and the time intervals that need to be adjusted is stored.

[0023] In some embodiments, adjusting the time interval for the transmission of the differential signal on the two transmission lines based on the length difference between the two transmission lines includes the following steps:

[0024] Based on the mapping relationship, obtain the time interval that needs to be adjusted corresponding to the current length difference;

[0025] The time interval at which the two transmission lines begin transmitting the differential signal is adjusted as needed.

[0026] In some embodiments, the differential signal includes any one of SAS, SATA, USB, or PCIe.

[0027] Secondly, this application provides an apparatus for eliminating the influence of length differences in differential line pairs, wherein the differential line pair includes two transmission lines that transmit differential signals respectively, and the apparatus includes: a determining module and an adjusting module;

[0028] The determining module is used to determine the length difference between the two transmission lines before the differential signal is transmitted on the two transmission lines.

[0029] The adjustment module is used to adjust the time interval between the start of transmission of the differential signal on the two transmission lines based on the length difference between the two transmission lines.

[0030] Thirdly, this embodiment provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method described in the first aspect above.

[0031] Fourthly, this embodiment provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect above.

[0032] The aforementioned method, apparatus, computer device, and computer-readable storage medium for eliminating the influence of differential line length differences determine the length difference between the two transmission lines before transmitting differential signals; and adjusts the time interval between the start of differential signal transmission on the two transmission lines based on the length difference. This application adjusts the time interval between the start of differential signal transmission on the two transmission lines based on their length difference before transmission, thereby ensuring that the differential signals transmitted by the two transmission lines arrive at the display end simultaneously, effectively solving display problems caused by length differences in differential lines. Attached Figure Description

[0033] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0034] Figure 1 This is an application scenario diagram of the method for eliminating the influence of length differences on differential lines provided in the embodiments of this application;

[0035] Figure 2 This is a flowchart of a method for eliminating the influence of length differences on differential lines according to an embodiment of this application;

[0036] Figure 3 A schematic diagram of the structure of the system for eliminating the influence of length differences on differential lines provided in the embodiments of this application;

[0037] Figure 4 A schematic diagram of the structure of the device for eliminating the influence of length difference of the differential line according to an embodiment of this application;

[0038] Figure 5A schematic diagram of the structure of a computer device provided in the embodiments of this application. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to 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. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.

[0040] Obviously, the accompanying drawings described below are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar scenarios based on these drawings without any inventive effort. Furthermore, it is understood that although the efforts made in this development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, any changes to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of the content of this application.

[0041] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0042] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms “a,” “an,” “an,” “the,” and similar words used in this application do not indicate quantity limitation and may indicate singular or plural. The terms “comprising,” “including,” “having,” and any variations thereof used in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units not listed, or may include other steps or units inherent to these processes, methods, products, or devices. The terms “connected,” “linked,” “coupled,” and similar words used in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Multiple” used in this application refers to two or more. “And / or” describes the relationship between related objects, indicating that three relationships may exist; for example, “A and / or B” can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following objects are in an "or" relationship. The terms "first," "second," and "third" used in this application are merely to distinguish similar objects and do not represent a specific ordering of the objects.

[0043] Figure 1 This diagram illustrates an application scenario of a method for eliminating the influence of length differences on differential lines, as provided in one embodiment of this application. Figure 1 As shown, server 101 and mobile terminal 102 can transmit data via a network. Mobile terminal 102 collects the length difference between two transmission lines and transmits this difference to server 101. After receiving the length difference, server 101 adjusts the time interval for the transmission of differential signals between the two transmission lines based on this length difference before the differential signals are transmitted. Server 101 can be a standalone server or a server cluster consisting of multiple servers, and mobile terminal 102 can be any display screen with input functionality.

[0044] This embodiment provides a method for eliminating the influence of length differences in differential line pairs. A differential line pair includes two transmission lines that transmit differential signals respectively, such as... Figure 2 As shown, the method includes the following steps:

[0045] Step S210: Before transmitting differential signals on the two transmission lines, determine the length difference between the two transmission lines;

[0046] Step S220: Based on the length difference between the two transmission lines, adjust the time interval between the start of differential signal transmission on the two transmission lines.

[0047] Specifically, due to manufacturing process issues of differential lines, the two transmission lines in a differential line pair may have different lengths. Therefore, before transmitting differential signals on the two transmission lines, the length difference between the two transmission lines is determined, and the time interval between the start of differential signal transmission on the two transmission lines is adjusted based on the length difference. This ensures that the differential signals transmitted by the two transmission lines arrive at the display end simultaneously, effectively solving the display problems caused by the length difference of the differential line pair.

[0048] In existing technologies, differential signals are transmitted by loading the signal to be transmitted and a signal of equal magnitude but opposite polarity onto the two transmission lines of a differential pair, thereby eliminating the influence of noise during long-distance transmission. However, due to manufacturing defects in the differential lines, the two transmission lines in a differential pair may be of different lengths. This can lead to inconsistent arrival times of the differential signals at the display, resulting in signal distortion at the display and causing compatibility issues such as black screens, no signal, or blue screens.

[0049] To address the aforementioned problems, this application proposes a method for eliminating the impact of differential line length differences. This method involves determining the length difference between the two transmission lines before they transmit differential signals, and then adjusting the time interval between the start of differential signal transmission based on this length difference. By adjusting the time interval between the start of differential signal transmission on the two transmission lines based on their length difference before transmission, this application ensures that the differential signals transmitted from both transmission lines arrive at the display simultaneously, effectively resolving display problems caused by length differences in differential lines.

[0050] In one implementation, step S210 above, which determines the length difference between the two transmission lines, includes the following steps:

[0051] Step S211: Send pulse signals to the two transmission lines respectively, and determine the length difference between the two transmission lines based on the time difference of the pulse signals in the two transmission lines and the transmission speed of the pulse signals in the two transmission lines.

[0052] Specifically, pulse signals can be sent simultaneously to one end of two transmission lines, or sequentially to one end of two transmission lines. By recording the time of pulse signal transmission and the time of pulse signal reception from the other end of each transmission line, the transmission time of the pulse signal in each transmission line can be determined, thus obtaining the time difference of pulse signal transmission in the two transmission lines. Furthermore, the transmission speed of the pulse signal in the two transmission lines can be obtained based on transmission line theory. After determining the length difference between the two transmission lines, the time interval for the start of differential signal transmission on both transmission lines can be adjusted based on this length difference, thereby ensuring that the differential signals transmitted from both transmission lines arrive at the display end simultaneously, effectively solving display problems caused by the length difference of the differential line pairs.

[0053] In one embodiment, if the receiving device is in a high-impedance state, and the two transmission lines are a first transmission line and a second transmission line, the above step S211 determines the length difference between the two transmission lines based on the time difference of the pulse signal transmission in the two transmission lines and the transmission speed of the pulse signal in the two transmission lines, including the following steps:

[0054] Step S2111: Determine the total time required for the pulse signal to travel in the first transmission line based on the time of transmitting the pulse signal to the first transmission line and the time of reflection of the pulse signal transmitted in the first transmission line to the transmitting end; and determine the total time required for the pulse signal to travel in the second transmission line based on the time of transmitting the pulse signal to the second transmission line and the time of reflection of the pulse signal transmitted in the second transmission line to the transmitting end.

[0055] Specifically, because the pulse signal is transmitted in the cable, when it encounters an impedance discontinuity, the pulse signal will be reflected back to the transmitting end. If the receiving device is in a high-impedance state, an impedance discontinuity will form at the end of the two transmission lines, causing the pulse signal to undergo total reflection upon reaching the end of the transmission line. Assuming the time for transmitting the pulse signal to the first transmission line is T1 and the time for the pulse signal to be reflected back to the transmitting end in the first transmission line is T2, then the total time required for the pulse signal to travel in the first transmission line is (T2-T1) / 2; assuming the time for transmitting the pulse signal to the second transmission line is T3 and the time for the pulse signal to be reflected back to the transmitting end in the second transmission line is T4, then the total time required for the pulse signal to travel in the second transmission line is (T4-T3) / 2.

[0056] Step S2112: Determine the time difference between the pulse signal transmission in the two transmission lines based on the total time required for the pulse signal to transmit in the first transmission line and the total time required for the pulse signal to transmit in the second transmission line.

[0057] Specifically, taking the total time required for the pulse signal to travel in the first transmission line in step S2111 above as (T2-T1) / 2 and the total time required for the pulse signal to travel in the second transmission line as (T4-T3) / 2, then the time difference between the pulse signal and the two transmission lines is (T2-T1) / 2-(T4-T3) / 2.

[0058] Step S2113: Determine the length difference between the two transmission lines based on the time difference of the pulse signal transmission in the two transmission lines and the transmission speed of the pulse signal in the two transmission lines.

[0059] Specifically, the transmission speed of the pulse signal in the two transmission lines can be obtained based on transmission line theory. Assuming the transmission speed of the pulse signal in the two transmission lines is V1 (m / s), then based on the time difference of the pulse signal transmission in the two transmission lines (taking (T2-T1) / 2-(T4-T3) / 2 as an example), and the transmission speed V1 (m / s), the length difference between the two transmission lines can be effectively determined as ((T2-T1) / 2-(T4-T3) / 2)×V1. After determining the length difference between the two transmission lines, the time interval for the transmission of differential signals on the two transmission lines can be adjusted based on this length difference, thereby ensuring that the differential signals transmitted by the two transmission lines arrive at the display end simultaneously, effectively solving the display problems caused by the length difference of the differential line pairs.

[0060] In another embodiment, if the receiving device is in a high-impedance state, and the two transmission lines are the first transmission line and the second transmission line, the above step S210 determines the length difference between the two transmission lines, including the following steps:

[0061] In step S212, pulse signals are sent to the two transmission lines respectively, and the number of standard pulses included in the superposition of the pulse signal sent to the first transmission line and the pulse signal reflected back along the first transmission line is measured and recorded as the first standard pulse number; and the number of standard pulses included in the superposition of the pulse signal sent to the second transmission line and the pulse signal reflected back along the second transmission line is recorded as the second standard pulse number.

[0062] Specifically, as mentioned in the above embodiments, since the pulse signal is transmitted in the cable, when it encounters an impedance discontinuity, the pulse signal will be reflected back to the transmitting end. If the receiving device is in a high-impedance state, an impedance discontinuity will form at the end of the two transmission lines, causing the pulse signal to undergo total reflection at the end of the transmission line. Because the pulse signal undergoes total reflection at the end of the transmission line, the pulse signal transmitted to the first transmission line and the pulse signal reflected back along the first transmission line will overlap. Based on the pulse markers such as the rising or falling edge of the pulse signal, the number of standard pulses included in the superimposed portion can be determined and denoted as the first standard pulse number N1. Similarly, the number of standard pulses included in the superimposed portion of the pulse signal transmitted to the second transmission line and the pulse signal reflected back along the second transmission line can be determined and denoted as the second standard pulse number N2.

[0063] Step S213: Determine the length difference between the two transmission lines based on the first standard pulse number, the second standard pulse number, the width of the standard pulse, and the transmission speed of the pulse signal in the two transmission lines.

[0064] Specifically, assuming the width of the standard pulse is W (s) and the transmission speed of the pulse signal in the two transmission lines is V1 (m / s), then based on the number of first standard pulses N1, the number of second standard pulses N2, the width of the standard pulse W, and the transmission speed V1, the length difference between the two transmission lines can be determined as (N1-N2)×W×V1. After determining the length difference between the two transmission lines, the time interval for the transmission of differential signals on the two transmission lines can be adjusted based on this length difference. This ensures that the differential signals transmitted by the two transmission lines arrive at the display end simultaneously, effectively solving the display problems caused by the length difference of the differential line pairs.

[0065] In one embodiment, step S220 adjusts the time interval between the start of differential signal transmission on the two transmission lines based on the length difference between them, including the following steps:

[0066] Step S221: Based on the length difference between the two transmission lines and the transmission speed of the differential signal in the two transmission lines, determine the time difference between the arrival of the differential signal transmitted in the two transmission lines at the display end when the differential signal is transmitted in the two transmission lines at the same time.

[0067] Specifically, assuming the length difference between the two transmission lines is L (m), and according to transmission line theory, the transmission speed of the differential signal in the two transmission lines is V2 (m / s), then it can be calculated that without adjusting the time interval between the start of differential signal transmission on the two transmission lines, that is, when the two transmission lines transmit differential signals simultaneously, the time difference between the differential signals transmitted on the two transmission lines reaching the display end is L / V2.

[0068] Step S222: Adjust the time interval between the start of differential signal transmission on the two transmission lines according to the time difference.

[0069] When it is determined that the time difference between the differential signals transmitted on the two transmission lines arriving at the display end is L / V² when differential signals are transmitted simultaneously on two transmission lines, the time interval between the start of differential signal transmission on the two transmission lines can be adjusted to ensure that the differential signals transmitted on the two transmission lines arrive at the display end simultaneously, effectively solving the display problem caused by the difference in length of the differential line pairs. As one implementation method, when two transmission lines are transmitting differential signals simultaneously, if the arrival time of the differential signal transmitted on the first transmission line at the display end is R seconds earlier than the arrival time of the differential signal transmitted on the second transmission line, then the start time of differential signal transmission on the first transmission line is adjusted to be R seconds later than the start time of differential signal transmission on the second transmission line, or the start time of differential signal transmission on the second transmission line is adjusted to be R seconds earlier than the start time of differential signal transmission on the first transmission line; where R is a real number.

[0070] Furthermore, in one embodiment, before adjusting the time interval for the two transmission lines to begin transmitting differential signals based on the length difference of the two transmission lines in step S220, the method for eliminating the influence of the length difference on the differential lines further includes:

[0071] Store the mapping relationship between different length differences and the time intervals that need to be adjusted.

[0072] Specifically, since the length difference and the time interval to be adjusted satisfy a certain proportional relationship, and the proportionality coefficient is the transmission speed of the differential signal in the two transmission lines, in this embodiment, the mapping relationship between different length differences and the time interval to be adjusted can be obtained according to actual needs and saved. For example, the mapping relationship between length differences of 0.01m, 0.02m, 0.03m, etc. and the time interval to be adjusted can be obtained.

[0073] As one implementation method, the time interval that needs to be adjusted corresponding to the current length difference can be obtained according to the mapping relationship; the time interval at which the two transmission lines start transmitting differential signals can be adjusted according to the time interval to be adjusted, thereby effectively improving the efficiency of time interval adjustment.

[0074] In one embodiment, the differential signal includes any one of SAS (Serial Attached SCSI), SATA (Serial Advanced Technology Attachment), USB (Universal Serial Bus), or PCIe (peripheral component interconnect express).

[0075] Figure 3 This is a schematic diagram of the structure of the system for eliminating the influence of length differences on the differential lines provided in this application, as shown below. Figure 3 As shown, the control module controls a low-frequency pulse trigger to send pulse signals to the two transmission lines (the first transmission line and the second transmission line) in the differential pair. A counter records the number of standard pulses included in the superposition of the pulse signal transmitted to the first transmission line and the pulse signal reflected back along the first transmission line, as well as the number of standard pulses included in the superposition of the pulse signal transmitted to the second transmission line and the pulse signal reflected back along the second transmission line. The length of the first transmission line is calculated based on the number of standard pulses included in the superposition of the pulse signal transmitted to the first transmission line and the pulse signal reflected back along the first transmission line. Similarly, the length of the second transmission line is calculated based on the number of standard pulses included in the superposition of the pulse signal transmitted to the second transmission line and the pulse signal reflected back along the second transmission line. A comparator outputs the length difference between the first and second transmission lines. The time interval for the two transmission lines to begin transmitting differential signals is determined based on the length difference output by the comparator. The control unit then controls the two transmission lines to delay or advance the transmission of differential signals according to the time interval.

[0076] Figure 4 This is a schematic diagram of a device for eliminating the influence of differential lines on length differences according to an embodiment of the present invention, as shown below. Figure 4 The present invention provides a device 30 for eliminating the influence of length difference of differential line pairs. The differential line pair includes two transmission lines that transmit differential signals respectively. The device 30 for eliminating length difference of differential line pairs includes: a determining module 31 and an adjusting module 32.

[0077] The determining module 31 is used to determine the length difference between the two transmission lines before transmitting differential signals on the two transmission lines;

[0078] The adjustment module 32 is used to adjust the time interval between the start of differential signal transmission on the two transmission lines based on the length difference between the two transmission lines.

[0079] The aforementioned differential line length difference elimination device 30 determines the length difference between the two transmission lines before transmitting differential signals and adjusts the time interval between the start of differential signal transmission on both transmission lines based on this length difference. This application adjusts the time interval between the start of differential signal transmission on the two transmission lines based on their length difference before transmission, thereby ensuring that the differential signals transmitted by both transmission lines arrive at the display end simultaneously, effectively solving display problems caused by length differences in the differential line pairs.

[0080] In one embodiment, the determining module 31 is further configured to send pulse signals to the two transmission lines respectively, and determine the length difference between the two transmission lines based on the time difference of the pulse signals in the two transmission lines and the transmission speed of the pulse signals in the two transmission lines.

[0081] In one embodiment, if the device at the display end is in a high-impedance state, and the two transmission lines are a first transmission line and a second transmission line, the determining module 31 is further configured to: determine the total time required for the pulse signal to travel in the first transmission line based on the time of transmitting the pulse signal to the first transmission line and the time of reflection of the pulse signal transmitted in the first transmission line to the transmitting end; determine the total time required for the pulse signal to travel in the second transmission line based on the time of transmitting the pulse signal to the second transmission line and the time of reflection of the pulse signal transmitted in the second transmission line to the transmitting end; determine the time difference between the pulse signal and the two transmission lines based on the total time required for the pulse signal to travel in the first transmission line and the total time required for the pulse signal to travel in the second transmission line; and determine the length difference between the two transmission lines based on the time difference between the pulse signal and the transmission speed of the pulse signal in the two transmission lines.

[0082] In one embodiment, if the device at the display end is in a high-impedance state, and the two transmission lines are the first transmission line and the second transmission line, the determining module 31 is further configured to send pulse signals to the two transmission lines respectively, and measure the number of standard pulses included in the superposition of the pulse signal transmitted to the first transmission line and the pulse signal reflected back along the first transmission line, which is denoted as the first standard pulse number; and the number of standard pulses included in the superposition of the pulse signal transmitted to the second transmission line and the pulse signal reflected back along the second transmission line, which is denoted as the second standard pulse number; and determine the length difference between the two transmission lines based on the first standard pulse number, the second standard pulse number, the width of the standard pulses, and the transmission speed of the pulse signal in the two transmission lines.

[0083] In one embodiment, the adjustment module 32 is further configured to determine the time difference between the differential signals transmitted in the two transmission lines reaching the display end when the differential signals are transmitted simultaneously in the two transmission lines, based on the length difference between the two transmission lines and the transmission speed of the differential signal in the two transmission lines; and to adjust the time interval between the start of differential signal transmission in the two transmission lines based on the time difference.

[0084] In one embodiment, the two transmission lines are a first transmission line and a second transmission line, respectively. The adjustment module 32 is further configured to, when the two transmission lines transmit differential signals simultaneously, adjust the time at which the differential signal transmitted in the first transmission line arrives at the display end R seconds earlier than the time at which the differential signal transmitted in the second transmission line arrives at the display end, and adjust the time at which the first transmission line starts transmitting differential signals to be R seconds later than the time at which the second transmission line starts transmitting differential signals, or adjust the time at which the second transmission line starts transmitting differential signals to be R seconds earlier than the time at which the first transmission line starts transmitting differential signals; where R is a real number.

[0085] In one embodiment, the device 30 for eliminating the influence of the difference line on the length difference further includes a storage module for storing the mapping relationship between different length differences and the time interval that needs to be adjusted.

[0086] In one embodiment, the adjustment module 32 is further configured to obtain the time interval that needs to be adjusted corresponding to the current length difference according to the mapping relationship; and adjust the time interval at which the two transmission lines start transmitting differential signals according to the time interval to be adjusted.

[0087] In one embodiment, the differential signal includes any one of SAS, SATA, USB, or PCIe.

[0088] It should be noted that the above modules can be functional modules or program modules, and can be implemented in software or hardware. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or they can be 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.

[0089] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 5The computer device includes a processor, memory, network interface, and database connected via a system bus. 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 database. The memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores a set of preset configuration information. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a method for eliminating the influence of differential lines on length differences.

[0090] In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, memory, a network interface, a display screen, and an input device connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with an external terminal via a network connection. When executed by the processor, the computer program implements a method for eliminating the influence of differential lines on length differences. The display screen may be a liquid crystal display (LCD) or an electronic ink display. The input device may be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0091] Those skilled in the art will understand that Figure 5 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.

[0092] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0093] Before transmitting differential signals on two transmission lines, determine the length difference between the two transmission lines;

[0094] The time interval between the start of differential signal transmission on the two transmission lines is adjusted based on the length difference between the two transmission lines.

[0095] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0096] Pulse signals are sent to the two transmission lines respectively. The length difference between the two transmission lines is determined based on the time difference of the pulse signal transmission in the two transmission lines and the transmission speed of the pulse signal in the two transmission lines.

[0097] In one embodiment, if the display device is in a high-impedance state, and the two transmission lines are a first transmission line and a second transmission line respectively, the processor, when executing the computer program, further implements the following steps:

[0098] The total time required for the pulse signal to travel in the first transmission line is determined based on the time of transmitting the pulse signal to the first transmission line and the time of reflection of the pulse signal traveling in the first transmission line back to the transmitting end; and the total time required for the pulse signal to travel in the second transmission line is determined based on the time of transmitting the pulse signal to the second transmission line and the time of reflection of the pulse signal traveling in the second transmission line back to the transmitting end.

[0099] The time difference between the pulse signal and the pulse signal is determined based on the total time required for the pulse signal to travel in the first transmission line and the total time required for the pulse signal to travel in the second transmission line.

[0100] The length difference between the two transmission lines is determined based on the time difference of the pulse signal's transmission in the two transmission lines and the transmission speed of the pulse signal in the two transmission lines.

[0101] In one embodiment, if the display device is in a high-impedance state, and the two transmission lines are a first transmission line and a second transmission line respectively, the processor, when executing the computer program, further implements the following steps:

[0102] Pulse signals are sent to two transmission lines respectively, and the number of standard pulses included in the superposition of the pulse signal sent to the first transmission line and the pulse signal reflected back along the first transmission line is measured and recorded as the first standard pulse number; and the number of standard pulses included in the superposition of the pulse signal sent to the second transmission line and the pulse signal reflected back along the second transmission line is recorded as the second standard pulse number.

[0103] The length difference between the two transmission lines is determined based on the first standard pulse number, the second standard pulse number, the width of the standard pulse, and the transmission speed of the pulse signal in the two transmission lines.

[0104] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0105] Based on the length difference between the two transmission lines and the transmission speed of the differential signal in the two transmission lines, determine the time difference between the arrival of the differential signal transmitted in the two transmission lines to the display end when the differential signal is transmitted in the two transmission lines at the same time.

[0106] The time interval between the start of differential signal transmission on the two transmission lines is adjusted based on the time difference.

[0107] In one embodiment, the two transmission lines are a first transmission line and a second transmission line, and the processor, when executing the computer program, also performs the following steps:

[0108] When two transmission lines transmit differential signals simultaneously, if the differential signal transmitted in the first transmission line arrives at the display end R seconds earlier than the differential signal transmitted in the second transmission line, then the time when the first transmission line starts transmitting differential signals is adjusted to be R seconds later than the time when the second transmission line starts transmitting differential signals, or the time when the second transmission line starts transmitting differential signals is adjusted to be R seconds earlier than the time when the first transmission line starts transmitting differential signals; where R is a real number.

[0109] In one embodiment, before adjusting the time interval for the transmission of differential signals on the two transmission lines based on the length difference between the two transmission lines, the processor, when executing the computer program, also performs the following steps:

[0110] Store the mapping relationship between different length differences and the time intervals that need to be adjusted.

[0111] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0112] Based on the mapping relationship, obtain the time interval that needs to be adjusted corresponding to the current length difference;

[0113] Adjust the time interval at which the two transmission lines begin transmitting differential signals, as needed.

[0114] In one embodiment, the differential signal includes any one of SAS, SATA, USB, or PCIe.

[0115] The aforementioned storage medium determines the length difference between two transmission lines before transmitting differential signals and adjusts the time interval between the start of differential signal transmission based on this length difference. This application adjusts the time interval between the start of differential signal transmission on two transmission lines based on their length difference before transmission, thereby ensuring that the differential signals transmitted by both transmission lines arrive at the display simultaneously, effectively solving display problems caused by length differences in the differential line pairs.

[0116] It should be understood that the specific embodiments described herein are merely illustrative of the application and not intended to limit it. All other embodiments derived by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application.

[0117] Obviously, the accompanying drawings are merely some examples or embodiments of this application. Those skilled in the art can apply this application to other similar situations based on these drawings without any creative effort. Furthermore, it is understood that although the work done in this development process may be complex and lengthy, for those skilled in the art, certain design, manufacturing, or production modifications made based on the technical content disclosed in this application are merely conventional technical means and should not be considered as insufficient disclosure of this application.

[0118] The term "embodiment" in this application refers to a specific feature, structure, or characteristic described in connection with an embodiment that may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily imply the same embodiment, nor does it imply that it is mutually exclusive with or independent of other embodiments. It will be clearly or implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.

[0119] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of patent protection. 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 scope of protection of this application. Therefore, the scope of protection of this application should be determined by the appended claims.

Claims

1. A method for eliminating the influence of length differences in a differential line pair, wherein the differential line pair comprises two transmission lines that respectively transmit differential signals, characterized in that, The method includes the following steps: Before transmitting the differential signal on the two transmission lines, the length difference between the two transmission lines is determined; Determining the length difference between the two transmission lines includes the following steps: Pulse signals are sent to the two transmission lines respectively. The length difference between the two transmission lines is determined based on the time difference of the pulse signals in the two transmission lines and the transmission speed of the pulse signals in the two transmission lines. If the receiving device is in a high-impedance state, and the two transmission lines are the first transmission line and the second transmission line, determining the length difference between the two transmission lines includes the following steps: Pulse signals are sent to the two transmission lines respectively, and the number of standard pulses included in the superposition of the pulse signal sent to the first transmission line and the pulse signal reflected back along the first transmission line is measured and recorded as the first standard pulse number; and the number of standard pulses included in the superposition of the pulse signal sent to the second transmission line and the pulse signal reflected back along the second transmission line is recorded as the second standard pulse number. The length difference between the two transmission lines is determined based on the first standard pulse count, the second standard pulse count, the width of the standard pulse, and the transmission speed of the pulse signal in the two transmission lines. Based on the length difference between the two transmission lines, the time interval between the start of transmission of the differential signal on the two transmission lines is adjusted. Before adjusting the time interval for the transmission of the differential signal on the two transmission lines based on the length difference between the two transmission lines, the following steps are included: Store the mapping relationship between the different length differences and the time intervals that need to be adjusted; Adjusting the time interval for the transmission of the differential signal on the two transmission lines based on the length difference between them includes the following steps: Based on the mapping relationship, obtain the time interval that needs to be adjusted corresponding to the current length difference; The time interval at which the two transmission lines begin transmitting the differential signal is adjusted as needed to ensure that the differential signals transmitted by the two transmission lines arrive at the display end simultaneously.

2. The method for eliminating the influence of difference lines on length differences according to claim 1, characterized in that, The differential signal includes any one of SAS, SATA, USB, or PCIe.

3. A device for eliminating the influence of length differences in differential line pairs, wherein the differential line pair comprises two transmission lines that respectively transmit differential signals, characterized in that, The device includes: a determining module and an adjusting module; The determining module is used to determine the length difference between the two transmission lines before the differential signal is transmitted on the two transmission lines; the determination of the length difference between the two transmission lines includes: sending pulse signals to the two transmission lines respectively, and determining the length difference between the two transmission lines based on the time difference of the pulse signals in the two transmission lines and the transmission speed of the pulse signals in the two transmission lines. If the receiving device is in a high-impedance state, and the two transmission lines are the first transmission line and the second transmission line, determining the length difference between the two transmission lines includes the following steps: Pulse signals are sent to the two transmission lines respectively, and the number of standard pulses included in the superposition of the pulse signal sent to the first transmission line and the pulse signal reflected back along the first transmission line is measured and recorded as the first standard pulse number; and the number of standard pulses included in the superposition of the pulse signal sent to the second transmission line and the pulse signal reflected back along the second transmission line is recorded as the second standard pulse number. The length difference between the two transmission lines is determined based on the first standard pulse count, the second standard pulse count, the width of the standard pulse, and the transmission speed of the pulse signal in the two transmission lines. The adjustment module is used to adjust the time interval between the start of transmission of the differential signal on the two transmission lines based on the length difference between the two transmission lines. The adjustment module is further configured to, before adjusting the time interval at which the two transmission lines begin transmitting the differential signal based on the length difference of the two transmission lines, include: storing the mapping relationship between different length differences and the time interval to be adjusted; The step of adjusting the time interval for the two transmission lines to start transmitting the differential signal based on the length difference of the two transmission lines includes: obtaining the time interval to be adjusted corresponding to the current length difference according to the mapping relationship; and adjusting the time interval for the two transmission lines to start transmitting the differential signal according to the time interval to be adjusted, so as to ensure that the differential signals transmitted by the two transmission lines arrive at the display end simultaneously.

4. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 2.

5. A 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 1 to 2.

Citation Information

Patent Citations

  • Differential signal-delaying apparatus, receiver employing the apparatus, and communication system

    US20020191719A1

  • Time difference adjustment circuit

    US20060251163A1

  • Asymmetric differential via stubs for skew compensation

    US20210274648A1