Signal adjustment method for high-speed serial computer bus and related computer system
By dynamically adjusting the signal settings of the high-speed serial computer bus, according to the signal status and environmental changes of the link, the problem of signal transmission quality and stability degradation is solved, and higher signal quality and stability are achieved.
Patent Information
- Application Number
- CN201911111685.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-11-01
- Filing Date
- 2019-11-14
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-04-05
AI Technical Summary
The signal settings of the existing high-speed serial computer bus are fixed and cannot adapt to environmental changes and component aging, resulting in a decline in signal transmission quality and stability, and unable to meet users' demands for signal quality.
By dynamically adjusting the signal settings of the high-speed serial computer bus, based on the signal status of the link, it is decided whether to change the signal settings to generate a suitable PCIe signal, monitor the bit error rate and confidence, and adapt to different environments and component states.
It improves the quality and stability of signal transmission, meets users' requirements for bit error rate and confidence, and adapts to different environments and component states.
Smart Images

Figure CN112783815B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a signal adjustment method for a high-speed serial computer bus and a related computer system, and in particular to a signal adjustment method for dynamically adjusting the signal setting of a high-speed serial computer bus to achieve a better transmission signal and a related computer system. Background Art
[0002] With the increase in data rates of today's high-speed input / output buses, it is more difficult for transmission channels to maintain stable and reliable signal quality. Among them, the high-speed serial computer bus (Peripheral Component Interconnect Express, PCIe) is a transmission interface that complies with the high-speed serial interconnection protocol, which can be used to solve the growing bandwidth requirements and provide higher performance. Generally speaking, when the manufacturer completes the production of PCIe, a fixed signal setting will be selected. However, the serial link used by PCIe will be affected by various physical phenomena, such as mutual interference, jitter, intersymbol interference (ISI), etc., which in turn affects the transmission quality of the PCIe signal, such as the bit error rate (BER). In this case, since each PCIe is used in a different environment, such as temperature and humidity, and the aging speed of its components is also different, therefore, if only a fixed signal setting is used, it will affect the transmission quality or stability of the PCIe signal, and cannot meet the user's demand for signal quality. In other words, the existing technology does need to be improved. Summary of the invention
[0003] Therefore, the present invention provides a signal adjustment method for a high-speed serial computer bus and a related computer system thereof, which dynamically adjusts the signal setting of the high-speed serial computer bus to achieve better signal transmission quality.
[0004] An embodiment of the present invention discloses a signal adjustment method for a high-speed serial computer bus, which includes: storing a first signal setting in the high-speed serial computer bus to generate a first PCIe signal; adjusting a link with the first PCIe signal; and determining whether to store a second signal setting in the high-speed serial computer bus according to a signal state of the link to generate a second PCIe signal to adjust the link; wherein the high-speed serial computer bus connects multiple electronic devices through the link.
[0005] Another embodiment of the present invention discloses a computer system for a high-speed serial computer bus, comprising: a processor; and a PCIe device coupled to the processor, storing a program code for instructing the processor to store a first signal setting in the high-speed serial computer bus to generate a first PCIe signal; to adjust a link with the first PCIe signal; and to determine whether to store a second signal setting in the high-speed serial computer bus to generate a second PCIe signal to adjust the link based on a signal state of the link; wherein the high-speed serial computer bus connects multiple electronic devices through the link. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] Figure 1 FIG. 4 is a schematic diagram of a computer system according to an embodiment of the present invention.
[0007] Figure 2 FIG. 4 is a schematic diagram of an adjustment process according to an embodiment of the present invention.
[0008] Figure 3 FIG. 4 is a schematic diagram of another adjustment process according to an embodiment of the present invention.
[0009] Explanation of symbols
[0010] 10: Computer system;
[0011] 20, 30: Adjust the process;
[0012] 102: processor;
[0013] 104: PCIe device;
[0014] 202, 204, 206, 208, 210, 302, 304, 306, 308, 310, 312, 314, 316, 318, 320: steps;
[0015] C: Maximum number of error bits;
[0016] D: preset time;
[0017] R: Error bit counter;
[0018] T: Timer. DETAILED DESCRIPTION
[0019] The signal setting (Signal Setting) of the existing high-speed serial computer bus (Peripheral Component Interconnect Express, PCIe) is fixed after leaving the factory, that is, the waveform parameters used to generate the PCIe signal are fixed. In other words, after the manufacturer completes the manufacture of the high-speed serial computer bus, the signal setting of the high-speed serial computer bus is the same regardless of the environment. Therefore, when the high-speed serial computer bus changes due to the environment (for example, temperature, humidity) or component aging, the transmission quality of the PCIe signal, for example, the signal bit error rate (Bit Error Rate, BER), or the confidence level (Confidence Level, CL) of the signal, etc., will be affected. In order to improve the shortcomings of the prior art, an embodiment of the present invention provides an adjustment mechanism for a high-speed serial computer bus to dynamically adjust the signal setting of the high-speed serial computer bus, thereby improving the transmission signal of the high-speed serial computer bus.
[0020] Please refer to Figure 1 , Figure 1 Schematic diagram of a computer system 10 according to an embodiment of the present invention. The computer system 10 may be used in a high-speed serial computer bus (not shown in the figure), which is used to connect multiple electronic devices and establish a link between the electronic devices for signal transmission. The computer system 10 includes a processor 102 and a PCIe device 104, wherein the PCIe device 104 may be a storage device, a network card, a general-purpose computing on graphics processing units (GPGPU), an accelerator card, etc. The PCIe device 104 stores a program code for instructing the processor 102 to perform related operations.
[0021] Please refer to Figure 2 , Figure 2 FIG. 2 is a schematic diagram of an adjustment process 20 according to an embodiment of the present invention. The adjustment process 20 can be compiled into program codes and stored in the PCIe device 104 to instruct the processor 102 to perform corresponding operations. The adjustment process 20 includes the following steps:
[0022] Step 202: Start.
[0023] Step 204: Store a first signal setting in the high-speed serial computer bus to generate a first PCIe signal.
[0024] Step 206: Adjust a link using the first PCIe signal.
[0025] Step 208: Determine whether to store a second signal setting in the high-speed serial computer bus according to a signal state of the link to generate a second PCIe signal to adjust the link.
[0026] Step 210: End.
[0027] According to the adjustment process 20, in step 204 and step 206, the computer system 10 can store a first signal setting in the high-speed serial computer bus to generate a first PCIe signal and adjust the link between the electronic devices connected to the high-speed serial computer bus accordingly. Then, in step 208, the computer system determines whether to store a second signal setting different from the first signal setting in the high-speed serial computer bus according to the signal status of the link between the electronic devices connected to the high-speed serial computer bus, such as the bit error rate or the confidence, to generate a second PCIe signal and adjust the link accordingly. In this way, the computer system 10 can dynamically monitor the signal status of the link between the electronic devices connected to the high-speed serial computer bus. When the bit error rate of the link cannot meet the requirements of a user, a signal setting different from the original is stored in the high-speed serial computer bus, thereby meeting the user's requirements for the bit error rate or confidence.
[0028] In one embodiment, the signal state of the link may be a bit error rate within a predetermined time. Taking the high-speed serial computer bus PCIe Gen 3 as an example, when the user requires the bit error rate of its signal state to be 10 -14 When the confidence level is 95%, it means that only 5 erroneous bits can be generated within 131500 seconds. Therefore, in the embodiment of the present invention, 131500 seconds can be used as the preset time to detect whether the high-speed serial computer bus generates more than 5 erroneous bits within the preset time.
[0029] In addition, in order to adapt to different environments (e.g., humidity or temperature) in which the high-speed serial computer bus is used, the computer system 10 can store different signal settings in the high-speed serial computer bus. Therefore, the computer system 10 of the present invention may further include a signal setting table, wherein each signal setting in the signal setting table may correspond to waveform parameters of different PCIe signals. That is to say, in the above embodiment, when the first signal setting cannot meet the needs of the user, the computer system 10 can change to other signal settings in a specific order or randomly from the signal setting table, such as the second signal setting or an Nth signal setting, to instruct the high-speed serial computer bus to adjust the link with different signal settings. It is worth noting that the present invention does not limit the number of groups of the signal setting table, but can formulate different groups of waveform parameters for various environmental humidity and temperature. In this way, the computer system 10 can dynamically adjust the optimal signal settings for different environments in step 208, and then perform signal transmission with the signal setting that best suits the environment.
[0030] In another embodiment, an error bit counter and a timer may be further used to detect the signal state of the computer system 10, that is, the computer system 10 may detect whether the number of error bits in the error bit counter is greater than a tolerable error number within a preset time. Figure 3 , Figure 3 FIG. 3 is a schematic diagram of an adjustment process 30 according to an embodiment of the present invention. The adjustment process 30 may also be compiled into program codes and stored in the PCIe device 104 to instruct the processor 102 to perform corresponding operations. The adjustment process 30 includes the following steps:
[0031] Step 302: Start.
[0032] Step 304: Store the first signal setting into the high-speed serial computer bus to generate a first PCIe signal.
[0033] Step 306: Adjust a link using the first PCIe signal.
[0034] Step 308: Set the timer T to 0.
[0035] Step 310: Set the error bit counter R to 0.
[0036] Step 312: Determine whether an error bit is generated in the link. If yes, execute step 314; if no, continue to execute step 312.
[0037] Step 314: Error bit counter R=R+1.
[0038] Step 316: Determine whether the error bit counter R is greater than a maximum error bit count C. If so, execute step 318; if not, execute step 312.
[0039] Step 318 : Determine whether the timer T is less than or equal to a preset time D. If so, execute step 320 ; if not, execute step 308 .
[0040] Step 320 : Store the second signal setting in the high-speed serial computer bus to generate a second PCIe signal to adjust the link, and return to step 308 .
[0041] According to the adjustment process 30, the embodiment of the present invention uses the timer T and the error bit counter R to detect whether the signal state of the high-speed serial computer bus meets the requirements. In step 304, the preset first signal setting is first stored in the high-speed serial computer bus to generate the first PCIe signal, and then in step 306, the link is adjusted with the first PCIe signal, and the timer T and the error bit counter R are set to 0 in steps 308 and 310 respectively. Then, in step 312, it is confirmed whether an error bit is generated in the link. If an error bit is generated, step 314 is entered to add 1 to the error bit counter (i.e., R=R+1); if no error bit is generated, it is continued to confirm whether an error bit is generated in the link in step 312. Then, in step 316, it is confirmed whether the error bit counter R is greater than the maximum error bit number C. If the error bit counter R is greater than the maximum error bit number C, step 318 is executed, otherwise, it returns to step 312. In this case, the adjustment process 30 confirms whether the link of the first PCIe signal meets the required signal state in step 316 and step 318. When step 318 determines that the time within the timer T is less than or equal to the preset time D (i.e., the number of error bits within the preset time D is greater than the maximum number of error bits C), step 320 is executed to store the second signal setting in the high-speed serial computer bus to generate a second PCIe signal to adjust the link; on the contrary, when step 318 determines that the time within the timer T is greater than the preset time D (i.e., the number of error bits within the preset time D is less than or equal to the maximum number of error bits C), it returns to step 308 to continue signal transmission with the first PCIe signal. By analogy, the computer system 10 can dynamically adjust the signal setting of the high-speed serial computer bus when the signal state does not meet the requirements, and then store the best signal setting in the high-speed serial computer bus to improve the quality and stability of signal transmission.
[0042] It is worth noting that in the above embodiment, when the high-speed serial computer bus is PCIe Gen 3 and the bit error rate requirement is 10 -14 When the confidence requirement is 95%, the maximum number of error bits within the preset time of 131500 seconds is 5 error bits, that is, the maximum number of error bits C is 5, and the preset time D is 131500 seconds.
[0043] In addition, relevant technical personnel in this field can appropriately design computer systems according to different system requirements. For example, the adjustment process of the present invention can be compiled and stored in a PCIe device in a software manner, or it can be implemented in a hardware manner, such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The aforementioned high-speed serial computer bus only uses PCIe Gen 3 as an example, but is not limited to this. Other generations of high-speed serial computer buses are also applicable to the present invention and can be adjusted according to the instructions of the user or manufacturer or the settings of the computer system, all of which fall within the scope of the present invention.
[0044] In summary, the present invention can dynamically adjust the signal setting of the high-speed serial computer bus according to the signal state of the high-speed serial computer bus, thereby meeting the environment and component state to achieve the quality requirements of the user or system for the transmission signal.
[0045] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made within the scope of the claims of the present invention should fall within the scope of the present invention.
Claims
1. A signal adjustment method for a high-speed serial computer bus, characterized in that: include: Storing a first signal setting in the high-speed serial computer bus to generate a first PCIe signal; adjusting a link using the first PCIe signal; as well as Determining whether to store a second signal setting in the high-speed serial computer bus according to a signal state of the link to generate a second PCIe signal to adjust the link; wherein the high-speed serial computer bus connects a plurality of electronic devices via the link; The first signal setting and the second signal setting are waveform parameters corresponding to different PCIe signals, and the first signal setting and the second signal setting are determined for different humidity environments and temperature environments, respectively; The signal state is a bit error rate within a preset time; When the bit error rate is greater than a maximum bit error number within the preset time, the first signal setting is replaced by the second signal setting and stored in the high-speed serial computer bus to adjust the link.
2. The signal adjustment method according to claim 1, characterized in that: The first signal setting and the second signal setting are selected from a signal setting table.
3. A computer system for a high-speed serial computer bus, characterized in that: include: A processor; as well as a PCIe device coupled to the processor, storing a program code for instructing the processor to store a first signal setting in the high-speed serial computer bus to generate a first PCIe signal; to adjust a link with the first PCIe signal; and to determine whether to store a second signal setting in the high-speed serial computer bus to generate a second PCIe signal to adjust the link according to a signal state of the link; wherein the high-speed serial computer bus connects a plurality of electronic devices via the link; The first signal setting and the second signal setting are waveform parameters corresponding to different PCIe signals, respectively, and the first signal setting and the second signal setting are determined for different humidity environments and temperature environments, respectively; The signal state is a bit error rate within a preset time; When the bit error rate is greater than a maximum bit error number within the preset time, the first signal setting is replaced by the second signal setting and stored in the high-speed serial computer bus to adjust the link.
4. The computer system according to claim 3, characterized in that: The first signal setting and the second signal setting are selected from a signal setting table.
Citation Information
Patent Citations
Warm backup method and network equipment
CN101980476A
Pci fast channel device, link energy management method and system
CN102439916A
Adaptive adjustment and optimization method of link quality
CN105930225A
Signal quality optimizing apparatus and signal quality optimizing system
JP2007318227A
Error rate measurement device and error rate measurement method
JP2017098615A
