Data processing method and device, equipment and storage medium

By dynamically adjusting the equalization compensation level and sampling point position at the SerDes link receiving end, the problem that the SerDes link in the vehicle is susceptible to electromagnetic interference is solved, the immunity of data transmission is improved, and user experience and security are ensured.

CN118535513APending Publication Date: 2024-08-23ZHEJIANG LEAPMOTOR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410703777.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

SerDes link data transmission used in vehicles is susceptible to electromagnetic interference, resulting in poor user experience and possibly endangering safe driving. Existing technologies are difficult to effectively improve interference immunity.

Method used

At the receiving end of the high-speed serial bus, by obtaining and judging whether the voltage data at the sending end meets the preset voltage conditions, the equalization compensation level and sampling point position are dynamically adjusted to ensure the accuracy of level determination of data transmission, thereby improving immunity. .

Benefits of technology

Under different interference environments, it ensures the correct level determination of serial data and recovery of parallel signals, improves the data transmission immunity of SerDes links, and avoids the disadvantage of increased hardware costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535513A
    Figure CN118535513A
Patent Text Reader

Abstract

The invention discloses a data processing method and device, equipment and a storage medium, and is applied to a receiving end of a high-speed serial bus, and the data processing method comprises the steps: obtaining first voltage data of first serial data at a current balance compensation level and a current sampling point position; wherein the first serial data is sent by the sending end of the high-speed serial bus; judging whether the first voltage data meets a preset voltage condition or not; and in response to the condition that the first voltage data does not meet the preset voltage condition, adjusting at least one of the current balance compensation level and the current sampling point position, so that the new first voltage data meet the preset voltage condition. In this way, the interference immunity of data transmission on the link can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data communication technology, and in particular to a data processing method, device, equipment and storage medium. Background Art

[0002] SerDes is a high-speed serial communication technology with the characteristics of high speed, low latency, and low power consumption. With the development of the vehicle industry, more and more devices (such as display screens, cameras, etc.) use SerDes transmission technology on vehicles.

[0003] However, due to the harsh actual operating conditions of the vehicle, peripherals such as display screens and cameras are extremely susceptible to electromagnetic interference, which affects the user experience and may even endanger the safe driving of the vehicle.

[0004] Therefore, how to improve the anti-interference performance of SerDes link data transmission has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] The main technical problem solved by the present application is to provide a data processing method, device, equipment and computer-readable storage medium, which can improve the anti-interference performance of SerDes link data transmission.

[0006] In order to solve the above technical problems, a technical solution adopted in the present application is: to provide a data processing method, applied to the receiving end of a high-speed serial bus, the method comprising: obtaining first voltage data of first serial data at a current equalization compensation level and a current sampling point position; wherein the first serial data is sent by a transmitting end of the high-speed serial bus; judging whether the first voltage data meets a preset voltage condition; in response to the first voltage data not meeting the preset voltage condition, adjusting at least one of the current equalization compensation level and the current sampling point position so that the new first voltage data meets the preset voltage condition.

[0007] Optionally, the first voltage data includes a first voltage and a second voltage, and determining whether the first voltage data meets a preset voltage condition includes: if the first voltage is greater than or equal to a high level judgment threshold and the second voltage is less than or equal to a low level judgment threshold, then determining that the first voltage data meets the preset voltage condition; if at least one of the first voltage is less than the high level judgment threshold and the second voltage is greater than the low level judgment threshold is satisfied, then determining that the first voltage data does not meet the preset voltage condition.

[0008] Optionally, the high level determination threshold is the sum of a first set voltage and a voltage margin, the low level determination threshold is the difference between a second set voltage and the voltage margin, and the first set voltage is greater than the second set voltage.

[0009] Optionally, before obtaining the first voltage data of the first serial data under the current equalization compensation level and the current sampling point position, the method further includes: determining a plurality of different first parameter combinations based on a plurality of preset equalization compensation levels and a plurality of preset sampling point positions; wherein the first parameter combination includes a preset equalization compensation level and a preset sampling point position; obtaining the second voltage data of the second serial data under each first parameter combination respectively; screening out a plurality of second parameter combinations whose second voltage data meets the preset voltage condition from the plurality of different first parameter combinations; adjusting at least one of the current equalization compensation level and the current sampling point position, including: determining a plurality of candidate parameter combinations based on the plurality of second parameter combinations; wherein the plurality of candidate parameter combinations include at least some of the second parameter combinations in the plurality of second parameter combinations; screening out a target parameter combination from the plurality of candidate parameter combinations; using the preset equalization compensation level of the target parameter combination as the current equalization compensation level, and using the preset sampling point position of the target parameter combination as the current sampling point position.

[0010] Optionally, determining a number of candidate parameter combinations based on the number of second parameter combinations includes: selecting a first number of second parameter combinations from the number of second parameter combinations as the number of candidate parameter combinations; wherein the first number is less than or equal to the total number of the number of second parameter combinations.

[0011] Optionally, the second voltage data includes a first voltage and a second voltage; selecting a first number of second parameter combinations from a number of second parameter combinations as a number of candidate parameter combinations, including: for each second parameter combination, determining a first difference between the first voltage under the second parameter combination and a high level determination threshold, determining a second difference between the low level determination threshold and the second voltage under the second parameter combination, and combining the first difference and the second difference of the second parameter combination to obtain an evaluation value of the second parameter combination; based on the evaluation values ​​of each second parameter combination, selecting at least one second parameter combination whose evaluation value meets preset requirements from a number of second parameter combinations as a number of candidate parameter combinations.

[0012] Optionally, the first difference and the second difference of the second parameter combination are combined to obtain the evaluation value of the second parameter combination, including: taking the average value of the first difference and the second difference of the second parameter combination as the evaluation value of the second parameter combination.

[0013] Optionally, based on the plurality of second parameter combinations, determining the plurality of candidate parameter combinations includes: performing statistics on the first adjustment parameters and the second adjustment parameters in the plurality of second parameter combinations to obtain the number of second adjustment parameters respectively corresponding to each first adjustment parameter; wherein one of the first adjustment parameter and the second adjustment parameter is a preset equalization compensation level, and the other is a preset sampling point position; and determining the first adjustment parameters whose number is greater than the second number as the third adjustment parameter;

[0014] Determine a minimum second adjustment parameter and a maximum second adjustment parameter from the second adjustment parameters respectively corresponding to the third adjustment parameters; add each first adjustment parameter between the minimum third adjustment parameter and the maximum third adjustment parameter to the first parameter set; and add each second adjustment parameter between the minimum second adjustment parameter and the maximum second adjustment parameter to the second parameter set; determine a number of candidate parameter combinations based on the first parameter set and the second parameter set; wherein the candidate parameter combination includes a first adjustment parameter in the first parameter set and a second adjustment parameter in the second parameter set.

[0015] Optionally, a target parameter combination is screened out from several candidate parameter combinations, including: selecting a candidate parameter combination from several candidate parameter combinations; obtaining first voltage data of the first serial data under the currently selected candidate parameter combination; in response to the first voltage data corresponding to the currently selected candidate parameter combination meeting a preset voltage condition, using the currently selected candidate parameter combination as the target parameter combination; in response to the first voltage data corresponding to the currently selected candidate parameter combination not meeting the preset voltage condition, reselecting a candidate parameter combination from several candidate parameter combinations until the first voltage data corresponding to the most recently selected candidate parameter combination meets the preset voltage condition, and using the most recently selected candidate parameter combination as the target parameter combination.

[0016] Optionally, the method further includes: in response to not screening out the target parameter combination from the plurality of candidate parameter groups, performing at least one of the following steps: reducing the voltage margin to obtain a new preset voltage condition; adjusting the plurality of candidate parameter combinations.

[0017] In order to solve the above technical problems, another technical solution adopted by the present application is: to provide a data processing device, which includes: an acquisition module, used to acquire first voltage data of first serial data under a current equalization compensation level and a current sampling point position; wherein the first serial data is sent by a transmitting end of a high-speed serial bus; a judgment module, used to judge whether the first voltage data meets a preset voltage condition; and an adjustment module, used to adjust at least one of a current equalization compensation level and a current sampling point position in response to the first voltage data not meeting the preset voltage condition, so that the new first voltage data meets the preset voltage condition.

[0018] To solve the above technical problems, another technical solution adopted in the present application is: to provide an electronic device, comprising a memory and a processor coupled to each other, the memory storing program instructions; the processor is used to execute the program instructions stored in the memory to implement the above data processing method.

[0019] In order to solve the above technical problems, another technical solution adopted by the present application is: providing a computer-readable storage medium, which is used to store program instructions, and the program instructions can be executed by a processor to implement the above data processing method.

[0020] In the above scheme, the receiving end obtains the first voltage data of the first serial data under the current equalization compensation level and the current sampling point position, and when the first voltage data does not meet the preset voltage condition, adjusts at least one of the current equalization compensation level and the current sampling point position to make the new first voltage data meet the preset voltage condition. Considering that after the serial data is clocked back at the receiving end, the sampling point position of the clock relative to the data and the quality of the serial data determine whether the receiving end can make a correct level judgment on the serial data, thereby determining whether the receiving end can accurately recover the original parallel signal, by judging the quality of the serial data on the communication link, and adjusting at least one of the current equalization compensation level and the current sampling point position when the serial data quality on the communication link is poor due to environmental interference, the receiving end can make a correct level judgment on the serial data in different interference environments, thereby improving the anti-interference degree of data transmission on the link. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flowchart of an embodiment of a data processing method provided by the present application;

[0022] Figure 2 It is a flowchart of another embodiment of the data processing method provided by the present application;

[0023] Figure 3 is a schematic diagram of several first parameter combinations provided by the present application;

[0024] Figure 4 is a schematic diagram of the locations of several preset sampling points provided in this application;

[0025] Figure 5 The eye corresponding to the second serial data provided by this application Figure 1 Schematic diagram;

[0026] Figure 6 is another schematic diagram of an eye diagram corresponding to the second serial data provided by the present application;

[0027] Figure 7 It is a schematic diagram of a framework of an embodiment of a data processing device provided by the present application;

[0028] Figure 8 It is a schematic diagram of the framework of an embodiment of an electronic device provided by the present application;

[0029] Fig. 9 It is a schematic diagram of a framework of an embodiment of a computer-readable storage medium provided by the present application. DETAILED DESCRIPTION

[0030] In order to make the purpose, technical solution and effect of the present application clearer and more specific, the present application is further described in detail below with reference to the accompanying drawings and examples.

[0031] In the following description, for the purpose of explanation rather than limitation, specific details such as specific system structures, interfaces, and technologies are provided to facilitate a thorough understanding of the present application.

[0032] The term "and / or" in this article is merely a term used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The term "several" means at least one. The terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0033] The SerDes link includes a transmitter (corresponding to the serializer side), a transmission medium (such as an optical cable or copper wire), and a receiver (corresponding to the deserializer side). The transmitter is used to convert low-speed parallel data into high-speed serial data, and send the serial data to the receiver through the transmission medium; the receiver is used to restore the serial data to a low-speed parallel signal. The process of processing serial data at the receiver includes: using the CDR (Clock and Data Recovery) circuit to recover the clock signal from the received serial data; using the clock signal recovered from the CDR to synchronously sample the received serial data; compensating the serial data through equalizer compensation to compensate for the influence of noise, attenuation and other factors on the serial data during transmission; after data synchronization, converting the serial data bit by bit into parallel data according to the frequency and phase of the clock signal; if the transmitter uses encoding technology (such as 8B / 10B encoding), the receiver also needs to use the corresponding decoder to decode the parallel data and restore the original data. At the same time, the receiver will also verify the data to ensure the integrity and accuracy of the data; finally, the processed parallel data is output to the subsequent circuit or system.

[0034] However, interference from complex electromagnetic environments can cause data transmission errors in the SerDes link, leading to SerDes unlocking, display screen distortion or screen jitter, camera freezes, etc. In order to meet users' daily car use needs and the requirements of relevant test regulations for cars, it is necessary to improve the anti-interference ability of the SerDes link.

[0035] In the related technology, the anti-interference of the SerDes link can be improved through hardware or software. In terms of hardware, the SerDes link can be shielded, filtered, grounded, etc., but this method requires the addition of corresponding hardware circuits, which increases the hardware cost. In terms of software, the error flag bit can be judged in the software. When it is recognized that the error flag bit has changed or the SerDes is unlocked, the receiving end is reset or powered on and off again. This method is a software recovery after an error occurs, and there will actually be a decline in performance.

[0036] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of an embodiment of a data processing method provided by the present application, which can be executed by a receiving end of a high-speed serial bus. Figure 1 As shown, the method comprises the following steps:

[0037] S11: Acquire first voltage data of first serial data at a current equalization compensation level and a current sampling point position.

[0038] The first serial data is sent by a transmitting end of a high-speed serial bus. For example, the first serial data may be sent from a transmitting end of a high-speed serial bus to a receiving end during the actual driving of the vehicle.

[0039] The receiving end includes an adaptive equalizer with an adaptive equalization (AEQ, Automatic Adaptive Equalization) function, which can compensate for different frequency components of the first serial data based on the link material, channel, temperature and other characteristics of the SerDes link, thereby changing the quality of the first serial data. The adaptive equalizer has several different equalization compensation levels, and different equalization compensation levels have different compensation degrees for the first serial data, and the higher the equalization compensation level, the higher the compensation degree for the first serial data. It should be noted that several equalization compensation levels of the adaptive equalizer are preset before leaving the factory.

[0040] The sampling point position refers to the sampling point position of the clock relative to the serial data after the clock is recovered from the serial data through the CDR. The receiver samples the serial data at the effective edge (rising or falling edge) of the clock during the process of recovering the parallel data.

[0041] The receiving end can obtain the first voltage data of the first serial data at the current equalization compensation level and the current sampling point position. It should be noted that the first voltage data obtained by the receiving end at different equalization compensation levels and different sampling point positions are also different.

[0042] S12: Determine whether the first voltage data meets a preset voltage condition.

[0043] When the first voltage data meets the preset voltage condition, it is determined that the quality of the first serial data is good, and it is considered that the first serial data can be correctly determined at the level, and the parallel data recovered based on the first serial data has high accuracy. When the first voltage data does not meet the preset voltage condition, it is determined that the quality of the first serial data is poor, and an incorrect level determination may be made at the first serial data, and the parallel data recovered based on the first serial data has low accuracy.

[0044] S13: In response to the first voltage data not meeting the preset voltage condition, adjusting at least one of the current equalization compensation level and the current sampling point position to make the new first voltage data meet the preset voltage condition.

[0045] In one implementation, only the current equalization compensation level may be adjusted so that the new first voltage data meets the preset voltage condition.

[0046] In another embodiment, only the current sampling point position may be adjusted so that the new first voltage data meets the preset voltage condition.

[0047] In yet another embodiment, the current equalization compensation level and the current sampling point position may be adjusted simultaneously so that the new first voltage data meets the preset voltage condition.

[0048] Specifically, the receiving end may select a preset equalization compensation level from a number of preset equalization compensation levels as the current equalization compensation level, and select a preset sampling point position from a number of preset sampling point positions as the current sampling point position.

[0049] It should be noted that the number of adjustments in the above-mentioned embodiments may be more than one, and multiple adjustments may be performed until the latest first voltage data meets the preset voltage condition.

[0050] In this embodiment, the receiving end obtains the first voltage data of the first serial data under the current equalization compensation level and the current sampling point position, and when the first voltage data does not meet the preset voltage condition, adjusts at least one of the current equalization compensation level and the current sampling point position, so that the new first voltage data meets the preset voltage condition. Considering that after the serial data is clocked at the receiving end, the sampling point position of the clock relative to the data and the quality of the serial data determine whether the receiving end can make a correct level judgment on the serial data, thereby determining whether the receiving end can accurately recover the original parallel signal, by judging the quality of the serial data on the communication link, and adjusting at least one of the current equalization compensation level and the current sampling point position when the serial data quality on the communication link is poor due to environmental interference, the receiving end can make a correct level judgment on the serial data in different interference environments, thereby improving the anti-interference degree of data transmission on the link.

[0051] In this embodiment, when the first voltage data of the first serial data at the current equalization compensation level and the current sampling point position does not meet the preset voltage condition, several different first parameter combinations can be determined based on several preset equalization compensation levels and several preset sampling point positions; then, each first parameter combination in the several first parameter combinations is polled until a target parameter combination is found that makes the first voltage data of the first serial data meet the preset voltage condition.

[0052] Furthermore, considering that the above polling method is inefficient, first parameter combinations that do not meet the preset voltage condition can be eliminated from the first parameter combinations to obtain the second parameter combinations, and the candidate parameter combinations can be determined based on the second parameter combinations; then, each candidate parameter combination in the candidate parameter combinations is polled until a target parameter combination is found that makes the first voltage data of the first serial data meet the preset voltage condition. Compared with directly polling the first parameter combinations, the method of polling and screening the candidate parameter combinations can shorten the polling time and improve the efficiency of finding the target parameter combination.

[0053] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another embodiment of the data processing method provided by the present application. The method can be executed by the receiving end of the high-speed serial bus. It should be noted that if there is substantially the same result, the method of the present application is not limited to the method of FIG. Figure 2 The process sequence shown is limited. Figure 2 As shown, the method comprises the following steps:

[0054] S21: Determine a plurality of different first parameter combinations based on a plurality of preset equalization compensation levels and a plurality of preset sampling point positions.

[0055] Wherein, a first parameter combination includes a preset equalization compensation level and a preset sampling point position. At least one of the preset equalization compensation levels and preset sampling point positions corresponding to different first parameter combinations is different.

[0056] Exemplarily, the plurality of preset equalization compensation levels include AEQlevel 0, AEQlevel 1, ..., AEQlevel 14, which are 15 levels in total, and the plurality of preset sampling point positions include SP0, SP1, ..., SP14, which are 15 sampling point positions in total.

[0057] See also Figure 3 , Figure 3 is a schematic diagram of several first parameter combinations provided by this application, Figure 3 In the example, several first parameter combinations are displayed in a table. Figure 3As shown, each preset equalization compensation level in AEQlevel 0 to AEQlevel 14 may correspond to 15 sampling point positions SP0 to SP14 respectively, and 15 preset equalization compensation levels and 15 preset sampling point positions may obtain 15*15 first parameter combinations.

[0058] For an intuitive understanding of the locations of sampling points in this application, please refer to Figure 4 , Figure 4 It is a schematic diagram of several preset sampling point locations provided in this application. Figure 4 The eye diagram in the figure is obtained under a preset equalization compensation level. The positions of 15 sampling points, SP0, SP1, ..., SP14, can be shown as follows: Figure 4 shown.

[0059] It should be noted that this embodiment does not specifically limit the number and division of the preset equalization compensation levels and the number and division of the preset sampling point positions.

[0060] S22: Obtain second voltage data of the second serial data under each first parameter combination.

[0061] Specifically, the equalization compensation level and sampling point position of the receiving end can be adjusted to the preset equalization compensation level and preset sampling point position corresponding to each first parameter combination, and the second voltage data of the second serial data is obtained accordingly. The second voltage data includes the first voltage and the second voltage.

[0062] In one implementation, the second serial data may be sent from a transmitting end of a high-speed serial bus to a receiving end in a test environment. The test environment may be an environment without electromagnetic interference, or an environment with electromagnetic interference.

[0063] In another embodiment, the second serial data may be sent from the transmitting end to the receiving end of the high-speed serial bus during the actual driving process of the vehicle.

[0064] S23: Filtering out a plurality of second parameter combinations whose second voltage data meets a preset voltage condition from a plurality of different first parameter combinations.

[0065] For the second voltage data corresponding to each first parameter combination, if the first voltage in the second voltage data is greater than or equal to the high level judgment threshold and the second voltage in the second voltage data is less than or equal to the low level judgment threshold, it is determined that the second voltage data meets the preset voltage condition; if the second voltage data satisfies at least one of the first voltage being less than the high level judgment threshold and the second voltage being greater than the low level judgment threshold, it is determined that the second voltage data does not meet the preset voltage condition.

[0066] In one example, the high level determination threshold is a first set voltage and the low level determination threshold is a second set voltage, and the first set voltage is greater than the second set voltage.

[0067] In another example, to further improve the accuracy of level determination, a voltage margin can be set for the high and low level determination thresholds. Specifically, the high level determination threshold is the sum of the first set voltage and the voltage margin, and the low level determination threshold is the difference between the second set voltage and the voltage margin.

[0068] Exemplarily, the first set voltage is 1.9V, and the second set voltage is 1.1V. The voltage margin is a value greater than 0, for example, it can be set to 0.1V, 0.2V, etc. It should be noted that the specific value of the voltage margin can be set according to different usage scenarios. For example, in a larger interference environment, the voltage margin is set to a larger value; in a smaller interference environment, the voltage margin is set to a smaller value.

[0069] Figure 5 The eye corresponding to the second serial data provided by this application Figure 1 Schematic diagram, Figure 5 The straight lines I, II, I' and II' correspond to the determination line corresponding to the first set voltage, the determination line corresponding to the second set voltage, the determination line corresponding to the high level determination threshold and the determination line corresponding to the low level threshold respectively, and X represents the voltage margin.

[0070] Figure 6 is another schematic diagram of the eye diagram corresponding to the second serial data provided by the present application, Figure 6 The voltage corresponding to point A is the first voltage when the preset equalization compensation level is AEQlevel7 and the preset sampling point position is SP 9, and the voltage corresponding to point B is the second voltage when the preset equalization compensation level is AEQlevel7 and the preset sampling point position is SP 9. In addition, the first voltage at point A is greater than the high level determination threshold, and the first voltage at point B is less than the low level determination threshold, indicating that the second voltage data when the preset equalization compensation level is AEQlevel7 and the preset sampling point position is SP 9 meets the preset voltage condition.

[0071] According to the screening rule in step S23, a plurality of second parameter combinations whose second voltage data meets the preset voltage condition can be screened out from the plurality of first parameter combinations.

[0072] Exemplarily, screening out from among the plurality of first parameter combinations a plurality of second parameter combinations whose second voltage data meets the preset voltage condition may include the following sub-steps:

[0073] Sub-step 1: The first parameter combination SP 0 and AEQlevel 0 is used as the current polling combination.

[0074] Sub-step two: determining whether the second voltage data under the current polling combination meets the preset voltage condition.

[0075] If the second voltage data under the current polling combination meets the preset voltage condition, then execute sub-step 3. If the second voltage data under the current polling combination does not meet the preset voltage condition, then directly execute sub-step 4.

[0076] Sub-step three: using the current polling combination as the second parameter combination.

[0077] Sub-step 4: adding 1 to the preset equalization compensation level in the current polling combination to obtain a new polling combination, and using the new polling combination as the current polling combination.

[0078] Sub-step five: determining whether the preset equalization compensation level in the current polling combination is greater than AEQlevel14.

[0079] If the preset equalization compensation level in the current polling combination is not greater than AEQlevel14, then re-execute sub-step 2. If the preset equalization compensation level in the current polling combination is greater than AEQlevel14, then execute sub-step 6.

[0080] Sub-step six: adding 1 to the preset equalization compensation level in the current polling combination and adding 1 to the preset sampling point position in the current polling combination to obtain a new polling combination, and using the new polling combination as the current polling combination.

[0081] Sub-step seven, determining whether the preset sampling point position in the current polling combination is greater than SP14.

[0082] If the preset sampling point position in the current polling combination is not greater than SP14, re-execute sub-step 2. If the preset sampling point position in the current polling combination is greater than SP14, end the screening process.

[0083] Please refer again Figure 3 After the screening steps of the above-mentioned sub-steps 1 to 7, several second parameter combinations corresponding to the light gray area that meet the preset voltage conditions can be obtained, and several first parameter combinations corresponding to the dark gray area do not meet the preset voltage conditions.

[0084] It should be noted that the aforementioned steps S21 to S23 can be performed in a test environment, and after a plurality of second parameter combinations are obtained by testing in the test environment, the plurality of second parameter combinations can be pre-stored in a storage unit of the receiving end. Alternatively, the aforementioned steps S21 to S23 can also be performed during the actual driving of the vehicle, which is not specifically limited in this embodiment.

[0085] S24: Acquire first voltage data of the first serial data at a current equalization compensation level and a current sampling point position.

[0086] The first voltage data includes a first voltage and a second voltage.

[0087] S25: Determine whether the first voltage data meets a preset voltage condition.

[0088] If the first voltage data meets the preset voltage condition, the current equalization compensation level and the current sampling point position are not adjusted. If the first voltage data does not meet the preset voltage condition, step S26 and subsequent steps are executed to adjust the current equalization compensation level and the current sampling point position.

[0089] For specific contents related to determining whether the first voltage data meets the preset voltage condition, reference may be made to the related steps of determining whether the second voltage data meets the preset voltage condition in the aforementioned step S23, which will not be repeated here.

[0090] S26: In response to the first voltage data not meeting the preset voltage condition, determining a plurality of candidate parameter combinations based on a plurality of second parameter combinations.

[0091] The plurality of candidate parameter combinations at least include some of the second parameter combinations in the plurality of second parameter combinations. That is, the plurality of candidate parameter combinations may include all of the plurality of second parameter combinations, or include some of the plurality of second parameter combinations.

[0092] In one embodiment, determining a plurality of candidate parameter combinations based on a plurality of second parameter combinations includes: selecting a first number of second parameter combinations from the plurality of second parameter combinations as the plurality of candidate parameter combinations, wherein the first number is less than or equal to the total number of the plurality of second parameter combinations.

[0093] In one example, the first quantity can be determined according to the product of a preset ratio and a plurality of second parameter combinations. The specific value of the preset ratio can be set according to actual needs, such as 100%, 90%, 80%, etc. For example, the total number of the plurality of second parameter combinations is 30, and 80% of the second parameter combinations (i.e., 24 second parameter combinations) are selected as the plurality of candidate parameter combinations, or 100% of the second parameter combinations (i.e., all second parameter combinations) are selected as the plurality of candidate parameter combinations.

[0094] In another example, the first quantity is a fixed value, and the fixed value can be set according to actual needs, such as the first quantity is set to 5, 10, etc.

[0095] In another example, in order to further improve the quality of serial data on the SerDes link and further improve the noise immunity of the SerDes link, a first number of optimal second parameter combinations may be further selected from the plurality of second parameter combinations as a plurality of candidate parameter combinations, which may specifically include the following sub-steps:

[0096] Sub-step 1: for each second parameter combination, determine a first difference between the first voltage under the second parameter combination and the high level determination threshold, and determine a second difference between the low level determination threshold and the second voltage under the second parameter combination.

[0097] The first difference and the second difference corresponding to the second parameter combination may be numerically the same or different.

[0098] Sub-step 2: for each second parameter combination, the first difference and the second difference of the second parameter combination are combined to obtain an evaluation value of the second parameter combination.

[0099] Exemplarily, an average value of the first difference and the second difference of the second parameter combination may be used as the evaluation value of the second parameter combination.

[0100] Sub-step three: based on the evaluation values ​​of the second parameter combinations, selecting at least one second parameter combination whose evaluation value meets the preset requirements from the plurality of second parameter combinations as the plurality of candidate parameter combinations.

[0101] For example, at least one second parameter combination having an evaluation value greater than a preset evaluation value threshold may be used as several candidate parameter combinations.

[0102] For another example, at least one second parameter combination whose evaluation value meets the preset ranking can be used as a plurality of candidate parameter combinations. For example, the second parameter combinations are sorted in descending order according to the evaluation value, and the second parameter combinations in the front preset ranking are all used as a plurality of candidate parameter combinations. For example, the top ten second parameter combinations can be used as a plurality of candidate parameter combinations.

[0103] In another embodiment, determining a plurality of candidate parameter combinations based on a plurality of second parameter combinations comprises the following sub-steps:

[0104] Sub-step 1: Count the first adjustment parameters and the second adjustment parameters in a plurality of second parameter combinations to obtain the number of second adjustment parameters corresponding to each first adjustment parameter.

[0105] Among them, one of the first adjustment parameter and the second adjustment parameter is a preset equalization compensation level, and the other is a preset sampling point position.

[0106] When the first adjustment parameter is a preset equalization compensation level and the second adjustment parameter is a preset sampling point position, the number of preset sampling point positions corresponding to each preset equalization compensation level is counted. Figure 3There are 6 sampling points from SP8 to SP13 in AEQ level 4, and 7 sampling points from SP8 to SP14 in AEQ level 7. When the first adjustment parameter is the preset sampling point position and the second adjustment parameter is the preset equalization compensation level, the number of preset equalization compensation levels corresponding to each preset sampling point position is counted.

[0107] Sub-step two: determining the first adjustment parameter whose quantity is greater than the second quantity as the third adjustment parameter.

[0108] Exemplarily, the specific value of the second number can be set according to actual conditions, such as the second number can be set to any value such as 0, 1, 2, 3, 4, 5, etc.

[0109] Sub-step three: determining a minimum second adjustment parameter and a maximum second adjustment parameter from the second adjustment parameters corresponding to the third adjustment parameters.

[0110] Sub-step four: adding each first adjustment parameter between the minimum third adjustment parameter and the maximum third adjustment parameter to the first parameter set; and adding each second adjustment parameter between the minimum second adjustment parameter and the maximum second adjustment parameter to the second parameter set.

[0111] Each first adjustment parameter between the minimum third adjustment parameter and the maximum third adjustment parameter includes the minimum third adjustment parameter and the maximum third adjustment parameter, and each second adjustment parameter between the minimum second adjustment parameter and the maximum second adjustment parameter includes the minimum second adjustment parameter and the maximum second adjustment parameter.

[0112] Sub-step five: determining several candidate parameter combinations based on the first parameter set and the second parameter set.

[0113] The candidate parameter combination includes a first adjustment parameter in the first parameter set and a second adjustment parameter in the second parameter set.

[0114] Combine the following Figure 3Sub-steps 1 to 5 in this embodiment are exemplified as follows: assuming that the second number is 4, it can be determined that the preset equalization compensation levels with a number of preset sampling point positions greater than 4 include 11 levels from AEQ level 4 to AEQ level 14, wherein AEQ level 4 is the minimum preset equalization compensation level, and AEQ level 14 is the maximum preset equalization compensation level; based on a plurality of preset sampling point positions corresponding to AEQ level 4 to AEQ level 14, respectively, it can be determined that SP 8 is the minimum preset sampling point position, and SP14 is the maximum preset sampling point position; further, it can be obtained that the first parameter set includes 11 levels from AEQ level 4 to AEQ level 14, and the second parameter set includes 7 sampling point positions from SP 8 to SP 14.

[0115] It should be noted that the candidate parameter combinations obtained according to this embodiment may include a small number of parameter combinations that do not meet the preset voltage conditions, such as Figure 3 However, compared with the method of directly polling several first parameter combinations to determine the target parameter combination, the polling time can still be shortened and the efficiency of finding the target parameter combination can be improved.

[0116] S27: Filter out a target parameter combination from a number of candidate parameter combinations.

[0117] Specifically, selecting a target parameter combination from a plurality of candidate parameter combinations may include the following sub-steps:

[0118] Sub-step 1: Select a candidate parameter combination from several candidate parameter combinations.

[0119] The currently selected candidate parameter combination may be any candidate parameter combination that has not been selected before.

[0120] Sub-step two: obtaining first voltage data of the first serial data under the currently selected candidate parameter combination.

[0121] Sub-step three: determining whether the first voltage data corresponding to the currently selected candidate parameter combination meets the preset voltage condition.

[0122] If the first voltage data corresponding to the currently selected candidate parameter combination meets the preset voltage condition, then execute sub-step 4. If the first voltage data corresponding to the currently selected candidate parameter combination does not meet the preset voltage condition, then execute sub-step 5.

[0123] Sub-step 4: taking the currently selected candidate parameter combination as the target parameter combination.

[0124] Sub-step five: reselecting a candidate parameter combination from the plurality of candidate parameter combinations until the first voltage data corresponding to the most recently selected candidate parameter combination meets the preset voltage condition, and taking the most recently selected candidate parameter combination as the target parameter combination.

[0125] In sub-steps 1 to 5, when the target parameter combination is polled, the polling process ends, and the candidate parameter combinations that are not selected for determination will no longer execute the step of determining whether the corresponding first voltage data meets the preset voltage condition, thereby further reducing the polling time.

[0126] Optionally, when the vehicle is currently in an environment with greater electromagnetic interference, the target parameter combination may not be screened out from several candidate parameter combinations. In this case, step S27 can be re-executed so that when the vehicle drives into an environment with less electromagnetic interference next time, a suitable target parameter combination can be screened out.

[0127] Optionally, when the target parameter combination is not screened out from several candidate parameter groups, it may be caused by the voltage margin being set too large. In this case, the voltage margin may be reduced to obtain a new preset voltage condition, and step S23 and subsequent steps thereof are re-executed.

[0128] Exemplarily, the voltage margin may be reduced by a preset voltage adjustment value, which may be set according to actual needs, such as 0.1.

[0129] Optionally, when the target parameter combination is not screened out from several candidate parameter combinations, it may be that the currently selected candidate parameter combinations are not suitable, then the several candidate parameter combinations can be adjusted to obtain several new candidate parameter combinations, and the target parameter combination can be screened out again from the new candidate parameter combinations.

[0130] For example, 30 second parameter combinations are screened out from the original first parameter combinations, and 12 second parameter combinations are selected from these 20 second parameter combinations as several candidate parameter combinations. If the target parameter combination is not screened out from the several candidate parameter combinations, the remaining 18 second parameter combinations from the 30 second parameter combinations are used as several new candidate parameter combinations.

[0131] S28: Using the preset equalization compensation level of the target parameter combination as the current equalization compensation level, and using the preset sampling point position of the target parameter combination as the current sampling point position.

[0132] In this embodiment, by dynamically adjusting the current equalization compensation level and the current sampling point position, it is possible to ensure that the first serial data can still be correctly sampled and level determined under certain external interference without changing the hardware, thereby improving the anti-interference of the SerDes link. In addition, by first determining a plurality of candidate parameter combinations from a plurality of first parameter combinations, and screening a target parameter combination that meets the requirements from the plurality of candidate parameter combinations, the adjustment efficiency of the current equalization compensation level and the current sampling point position can be improved.

[0133] See also Figure 7 , Figure 7 Schematic diagram of a data processing device according to an embodiment of the present application. In this embodiment, the data processing device 70 includes: an acquisition module 71 , a determination module 72 and an adjustment module 73 .

[0134] The acquisition module 71 is used to acquire the first voltage data of the first serial data under the current equalization compensation level and the current sampling point position; wherein the first serial data is sent by the sending end of the high-speed serial bus. The judgment module 72 is used to judge whether the first voltage data meets the preset voltage condition. The adjustment module 73 is used to adjust at least one of the current equalization compensation level and the current sampling point position in response to the first voltage data not meeting the preset voltage condition, so that the new first voltage data meets the preset voltage condition.

[0135] Optionally, the first voltage data includes a first voltage and a second voltage, and the judgment module 72 is used to determine that the first voltage data meets the preset voltage condition if it is determined that the first voltage is greater than or equal to a high level judgment threshold and the second voltage is less than or equal to a low level judgment threshold; if it is determined that at least one of the first voltage is less than the high level judgment threshold and the second voltage is greater than the low level judgment threshold is satisfied, it is determined that the first voltage data does not meet the preset voltage condition.

[0136] Optionally, the high level determination threshold is the sum of a first set voltage and a voltage margin, the low level determination threshold is the difference between a second set voltage and the voltage margin, and the first set voltage is greater than the second set voltage.

[0137] Optionally, the data processing device 70 further includes a determination module 74. Before the acquisition module 71 acquires the first voltage data of the first serial data at the current equalization compensation level and the current sampling point position, the determination module 74 is used to determine a number of different first parameter combinations based on a number of preset equalization compensation levels and a number of preset sampling point positions; wherein the first parameter combination includes a preset equalization compensation level and a preset sampling point position; acquire the second voltage data of the second serial data under each first parameter combination; and select a number of second parameter combinations whose second voltage data meets the preset voltage condition from a number of different first parameter combinations. The adjustment module 73 is used to determine a number of candidate parameter combinations based on a number of second parameter combinations; wherein the number of candidate parameter combinations at least includes a part of the second parameter combinations in the number of second parameter combinations; select a target parameter combination from the number of candidate parameter combinations; use the preset equalization compensation level of the target parameter combination as the current equalization compensation level, and use the preset sampling point position of the target parameter combination as the current sampling point position.

[0138] Optionally, the determination module 74 is configured to select a first number of second parameter combinations from the plurality of second parameter combinations as a plurality of candidate parameter combinations; wherein the first number is less than or equal to a total number of the plurality of second parameter combinations.

[0139] Optionally, the second voltage data includes a first voltage and a second voltage; the determination module 74 is used to determine, for each second parameter combination, a first difference between the first voltage under the second parameter combination and a high level determination threshold, determine a second difference between the low level determination threshold and the second voltage under the second parameter combination, and combine the first difference and the second difference of the second parameter combination to obtain an evaluation value of the second parameter combination; based on the evaluation values ​​of each second parameter combination, select at least one second parameter combination whose evaluation value meets preset requirements from a number of second parameter combinations as a number of candidate parameter combinations.

[0140] Optionally, the determination module 74 is configured to use an average of the first difference and the second difference of the second parameter combination as an evaluation value of the second parameter combination.

[0141] Optionally, the determination module 74 is used to count the first adjustment parameters and the second adjustment parameters in several second parameter combinations to obtain the number of second adjustment parameters corresponding to each first adjustment parameter; wherein, one of the first adjustment parameter and the second adjustment parameter is a preset equalization compensation level and the other is a preset sampling point position; the first adjustment parameters whose number is greater than the second number are determined as third adjustment parameters; the minimum second adjustment parameter and the maximum second adjustment parameter are determined from the second adjustment parameters corresponding to the third adjustment parameters; each first adjustment parameter between the minimum third adjustment parameter and the maximum third adjustment parameter is added to the first parameter set; and each second adjustment parameter between the minimum second adjustment parameter and the maximum second adjustment parameter is added to the second parameter set; based on the first parameter set and the second parameter set, several candidate parameter combinations are determined; wherein the candidate parameter combination includes a first adjustment parameter in the first parameter set and a second adjustment parameter in the second parameter set.

[0142] Optionally, the adjustment module 73 is used to select a candidate parameter combination from several candidate parameter combinations; obtain first voltage data of the first serial data under the currently selected candidate parameter combination; in response to the first voltage data corresponding to the currently selected candidate parameter combination meeting the preset voltage condition, use the currently selected candidate parameter combination as the target parameter combination; in response to the first voltage data corresponding to the currently selected candidate parameter combination not meeting the preset voltage condition, reselect a candidate parameter combination from several candidate parameter combinations until the first voltage data corresponding to the latest selected candidate parameter combination meets the preset voltage condition, and use the latest selected candidate parameter combination as the target parameter combination.

[0143] Optionally, the data processing device 70 further includes a correction module 75. In response to the adjustment module 73 failing to screen out a target parameter combination from the candidate parameter groups, the correction module 75 performs at least one of the following steps: reducing the voltage margin to obtain a new preset voltage condition; and adjusting the candidate parameter combinations.

[0144] It should be noted that the device of this embodiment can execute the steps in the above method. For detailed description of the relevant content, please refer to the above method part, which will not be repeated here.

[0145] See also Figure 8 , Figure 8 8 is a schematic diagram of a framework of an electronic device according to an embodiment of the present application. In this embodiment, the electronic device 80 includes a memory 81 and a processor 82 .

[0146] The processor 82 may also be referred to as a CPU (Central Processing Unit). The processor 82 may be an integrated circuit chip having signal processing capabilities. The processor 82 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component. A general-purpose processor may be a microprocessor or the processor 82 may also be any conventional processor 82, etc.

[0147] The memory 81 in the electronic device 80 is used to store program instructions required for the processor 82 to run.

[0148] The processor 82 is used to execute program instructions to implement the data processing method in the present application.

[0149] See also Fig. 9 , Fig. 9 It is a schematic diagram of a framework of an embodiment of a computer-readable storage medium provided by the present application. The computer-readable storage medium 90 of the embodiment of the present application stores a program instruction 91, and the program instruction 91 implements the data processing method provided by the present application when it is executed. Among them, the program instruction 91 can form a program file and be stored in the above-mentioned computer-readable storage medium 90 in the form of a software product, so that a computer device (which can be a personal computer, a server, or a network device, etc.) executes all or part of the steps of each implementation method of the present application. The aforementioned computer-readable storage medium 90 includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, or a terminal device such as a computer, a server, a mobile phone, and a tablet.

[0150] In the above scheme, the receiving end obtains the first voltage data of the first serial data under the current equalization compensation level and the current sampling point position, and when the first voltage data does not meet the preset voltage condition, adjusts at least one of the current equalization compensation level and the current sampling point position to make the new first voltage data meet the preset voltage condition. Considering that after the serial data is clocked back at the receiving end, the sampling point position of the clock relative to the data and the quality of the serial data determine whether the receiving end can make a correct level judgment on the serial data, thereby determining whether the receiving end can accurately recover the original parallel signal, by judging the quality of the serial data on the communication link, and adjusting at least one of the current equalization compensation level and the current sampling point position when the serial data quality on the communication link is poor due to environmental interference, the receiving end can make a correct level judgment on the serial data in different interference environments, thereby improving the anti-interference degree of data transmission on the link.

[0151] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0152] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.

[0153] In the several embodiments provided in the present application, it should be understood that the disclosed methods, devices and systems can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0154] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0155] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0156] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0157] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A data processing method, characterized in that: Applied to a receiving end of a high-speed serial bus, the method comprises: Acquire first voltage data of first serial data at a current equalization compensation level and a current sampling point position; wherein the first serial data is sent by a sending end of the high-speed serial bus; Determining whether the first voltage data meets a preset voltage condition; In response to the first voltage data not meeting the preset voltage condition, at least one of a current equalization compensation level and a current sampling point position is adjusted to make the new first voltage data meet the preset voltage condition.

2. The method according to claim 1, characterized in that The first voltage data includes a first voltage and a second voltage, and the determining whether the first voltage data meets a preset voltage condition includes: If the first voltage is greater than or equal to a high level determination threshold and the second voltage is less than or equal to a low level determination threshold, determining that the first voltage data meets the preset voltage condition; If at least one of the first voltage is less than the high level determination threshold and the second voltage is greater than the low level determination threshold is satisfied, it is determined that the first voltage data does not meet the preset voltage condition.

3. The method according to claim 2, characterized in that The high level determination threshold is the sum of a first set voltage and a voltage margin, the low level determination threshold is the difference between a second set voltage and the voltage margin, and the first set voltage is greater than the second set voltage.

4. The method according to claim 1, characterized in that: Before acquiring the first voltage data of the first serial data at the current equalization compensation level and the current sampling point position, the method further includes: Based on a plurality of preset equalization compensation levels and a plurality of preset sampling point positions, determining a plurality of different first parameter combinations; wherein the first parameter combination includes one of the preset equalization compensation levels and one of the preset sampling point positions; Acquire second voltage data of the second serial data under each of the first parameter combinations; Selecting from the plurality of different first parameter combinations a plurality of second parameter combinations in which the second voltage data meets the preset voltage condition; The adjusting at least one of the current equalization compensation level and the current sampling point position comprises: Based on the plurality of second parameter combinations, determining a plurality of candidate parameter combinations; wherein the plurality of candidate parameter combinations at least include some of the second parameter combinations in the plurality of second parameter combinations; Selecting a target parameter combination from the plurality of candidate parameter combinations; The preset equalization compensation level of the target parameter combination is used as the current equalization compensation level, and the preset sampling point position of the target parameter combination is used as the current sampling point position.

5. The method according to claim 4, characterized in that The determining of a plurality of candidate parameter combinations based on the plurality of second parameter combinations includes: Selecting a first number of the second parameter combinations from the plurality of second parameter combinations as the plurality of candidate parameter combinations; The first number is less than or equal to the total number of the plurality of second parameter combinations.

6. The method according to claim 5, characterized in that The second voltage data includes a first voltage and a second voltage; The selecting a first number of the second parameter combinations from the plurality of second parameter combinations as the plurality of candidate parameter combinations includes: For each of the second parameter combinations, determining a first difference between the first voltage and a high level determination threshold under the second parameter combination, determining a second difference between a low level determination threshold and the second voltage under the second parameter combination, and synthesizing the first difference and the second difference of the second parameter combination to obtain an evaluation value of the second parameter combination; Based on the evaluation values ​​of each of the second parameter combinations, at least one second parameter combination whose evaluation value meets a preset requirement is selected from the plurality of second parameter combinations as the plurality of candidate parameter combinations.

7. The method according to claim 6, characterized in that The step of synthesizing the first difference and the second difference of the second parameter combination to obtain an evaluation value of the second parameter combination includes: An average value of the first difference and the second difference of the second parameter combination is used as the evaluation value of the second parameter combination.

8. The method according to claim 4, characterized in that The determining of a plurality of candidate parameter combinations based on the plurality of second parameter combinations includes: Counting the first adjustment parameters and the second adjustment parameters in the plurality of second parameter combinations to obtain the number of second adjustment parameters corresponding to each of the first adjustment parameters; wherein one of the first adjustment parameter and the second adjustment parameter is the preset equalization compensation level, and the other is the preset sampling point position; determining the first adjustment parameter whose number is greater than the second number as a third adjustment parameter; Determining a minimum second adjustment parameter and a maximum second adjustment parameter from the second adjustment parameters respectively corresponding to the third adjustment parameters; Adding each of the first adjustment parameters between the minimum third adjustment parameter and the maximum third adjustment parameter to the first parameter set; and adding each of the second adjustment parameters between the minimum second adjustment parameter and the maximum second adjustment parameter to the second parameter set; Based on the first parameter set and the second parameter set, the plurality of candidate parameter combinations are determined; wherein the candidate parameter combination includes one of the first adjustment parameters in the first parameter set and one of the second adjustment parameters in the second parameter set.

9. The method according to claim 4, characterized in that The step of selecting a target parameter combination from the plurality of candidate parameter combinations includes: Selecting a candidate parameter combination from the plurality of candidate parameter combinations; Acquire first voltage data of the first serial data under the currently selected candidate parameter combination; In response to the first voltage data corresponding to the currently selected candidate parameter combination meeting the preset voltage condition, taking the currently selected candidate parameter combination as the target parameter combination; In response to the first voltage data corresponding to the currently selected candidate parameter combination not meeting the preset voltage condition, a candidate parameter combination is reselected from the several candidate parameter combinations until the first voltage data corresponding to the most recently selected candidate parameter combination meets the preset voltage condition, and the most recently selected candidate parameter combination is used as the target parameter combination.

10. The method according to claim 4, characterized in that The method further includes: in response to not selecting a target parameter combination from the plurality of candidate parameter groups, performing at least one of the following steps: reducing the voltage margin to obtain the new preset voltage condition; The plurality of candidate parameter combinations are adjusted.

11. A data processing device, characterized in that: The device comprises: An acquisition module, used to acquire first voltage data of the first serial data at a current equalization compensation level and a current sampling point position; wherein the first serial data is sent by a sending end of the high-speed serial bus; A judging module, used for judging whether the first voltage data meets a preset voltage condition; The adjustment module is used for adjusting at least one of a current equalization compensation level and a current sampling point position in response to the first voltage data not meeting the preset voltage condition, so that the new first voltage data meets the preset voltage condition.

12. An electronic device, characterized in that: comprising a memory and a processor coupled to each other, The memory stores program instructions; The processor is used to execute the program instructions stored in the memory to implement the method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program instructions, and the program instructions can be executed by a processor to implement the method according to any one of claims 1 to 10.