Signal processing method and electronic equipment
By dynamically determining the equalization parameters, the problem of low link training efficiency in the prior art is solved, and more efficient communication link training is achieved.
Patent Information
- Application Number
- CN202510900877.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-09-19
AI Technical Summary
In the prior art, electronic devices use fixed initial equalization parameters during link training, which results in low efficiency and may fail to obtain equalization parameters suitable for the current communication link.
The first controller obtains processing information from the second controller, dynamically determines the first equalization parameter, and trains the communication link based on the parameter. In combination with component requests and actual conditions, appropriate equalization parameters are selected for training.
The efficiency of link training is improved, and communication link training can be completed faster to meet component requirements.
Smart Images

Figure CN120675843A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of signal processing, and in particular to a signal processing method and electronic equipment. Background Art
[0002] An electronic device includes multiple components connected via a communication link. When the device is started, these components will perform link training on the connected communication link to determine equalization parameters suitable for the current communication link, and then communicate according to the determined equalization parameters.
[0003] In the related art, the components involved in link training have initial equalization parameters pre-written and fixed in the components. Each time link training starts, the components send a test signal to the opposite-end components based on the initial equalization parameters, and continuously adjust the initial equalization parameters based on the feedback from the opposite-end components until the training is completed. This method is inefficient and may cause the problem of repeatedly adjusting the initial equalization parameters based on the initial equalization parameters still not being able to obtain the equalization parameters suitable for the current communication link. Summary of the Invention
[0004] To this end, this application discloses the following technical solutions:
[0005] A first aspect of the present application provides a signal processing method, applied to a first controller, comprising:
[0006] obtaining first processing information from a second controller; wherein the first processing information includes at least one equalization parameter, wherein the at least one equalization parameter is used to train a communication link between the first component and the second component;
[0007] determining a first equalization parameter from the first processed information;
[0008] A target signal is processed based on the first equalization parameter and sent to the second component to train the communication link; the target signal is sent by the first component.
[0009] Optionally, processing the target signal based on the first equalization parameter and sending the target signal to the second component to train the communication link includes:
[0010] When the second equalization parameter satisfies the first condition, processing the target signal based on the first equalization parameter and sending the target signal to the second component to train the communication link;
[0011] The second equalization parameter is an equalization parameter indicated by a parameter request, and the parameter request is sent by the first component or the second component.
[0012] Optionally, the second equalization parameter satisfies the first condition, including at least one of the following:
[0013] The number of abnormal recovery times corresponding to the second balancing parameter is greater than a threshold;
[0014] In the eye diagram corresponding to the second equalization parameter, the eye height is less than a threshold;
[0015] a difference between the second equalization parameter and the equalization parameter carried by the first processing information is greater than a threshold;
[0016] A difference between the second equalization parameter and a historical equalization parameter is greater than a threshold, and the historical equalization parameter refers to an equalization parameter used by the first controller to process a target signal last time.
[0017] Optionally, determining a first equalization parameter from the first processing information includes:
[0018] determining an equalization parameter carried by the first processing information as a first equalization parameter;
[0019] The method further comprises:
[0020] In the case that training the communication link based on the first equalization parameter fails, another equalization parameter is obtained from the second controller to train the communication link based on the another equalization parameter.
[0021] Optionally, determining a first equalization parameter from the first processing information includes:
[0022] Determining, among a plurality of equalization parameters included in the first processing information, an equalization parameter having a largest corresponding weight value as a first equalization parameter, wherein the weight value corresponding to each equalization parameter is related to a number of successful training times of the communication link according to the equalization parameter;
[0023] The method further comprises:
[0024] In a case where training the communication link based on the first equalization parameter fails, another equalization parameter other than the first equalization parameter is selected from the first processing information according to the weight value, so as to train the communication link based on the another equalization parameter.
[0025] A second aspect of the present application provides a signal processing method, applied to a second controller, comprising:
[0026] Obtaining communication information from the first controller; the communication information is used to reflect the communication status of the communication link between the first component and the second component;
[0027] At least one equalization parameter is determined based on the communication information, so that the first controller trains the communication link based on the at least one equalization parameter.
[0028] Optionally, determining at least one equalization parameter based on the communication information includes:
[0029] determining at least one equalization parameter and a weight value corresponding to the at least one equalization parameter based on the communication information;
[0030] wherein the at least one balancing parameter comprises a balancing parameter currently applied by the first controller;
[0031] When the communication information satisfies the second condition, the weight value corresponding to the balancing parameter currently applied by the first controller is the maximum value among the weight values corresponding to the at least one balancing parameter;
[0032] When the communication information does not satisfy the second condition, the weight value corresponding to the balancing parameter currently applied by the first controller is smaller than the weight values of other balancing parameters in the at least one balancing parameter.
[0033] Optionally, also include:
[0034] If the first controller successfully trains the communication link according to the first balancing parameter, increase the weight value of the first balancing parameter so that the weight value of the first balancing parameter is the maximum value of the weight values corresponding to the at least one balancing parameter;
[0035] When the first controller fails to train the communication link according to the first balancing parameter, lowering the weight value of the first balancing parameter so that the weight value of the first balancing parameter is smaller than the weight values corresponding to other balancing parameters in the at least one balancing parameter;
[0036] The first equalization parameter is one of the at least one equalization parameter.
[0037] Optionally, the increasing the weight value of the first balancing parameter includes:
[0038] increasing the weight value of the first balancing parameter;
[0039] According to the magnitude of the increase in the weight value of the first equalizing parameter, the weight values of other equalizing parameters except the first equalizing parameter are decreased, so that the sum of the weight values corresponding to the at least one equalizing parameter remains unchanged.
[0040] A third aspect of the present application provides an electronic device, comprising a first component and a second component forming a communication link, a first controller located between the first component and the second component, and a second controller connected to the first controller;
[0041] The second controller is configured to provide first processing information to the first controller, wherein the first processing information includes at least one equalization parameter, and the at least one equalization parameter is used to train the communication link;
[0042] The first controller is used for:
[0043] determining a first equalization parameter from the first processed information;
[0044] A target signal is processed based on the first equalization parameter and sent to the second component to train the communication link; the target signal is sent by the first component. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.
[0046] Figure 1 is a flow chart of a signal processing method provided by an embodiment of the present application;
[0047] Figure 2 is a flowchart of another signal processing method provided by an embodiment of the present application;
[0048] Figure 3 This is a flowchart of another signal processing method provided by an embodiment of the present application;
[0049] Figure 4 is a flowchart of another signal processing method provided in an embodiment of the present application;
[0050] Figure 5 is a schematic diagram of an eye diagram corresponding to a second equalization parameter provided in an embodiment of the present application;
[0051] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0053] This embodiment provides a signal processing method, which is applied to the first controller. Figure 1 , is a flow chart of the method, which may include the following steps.
[0054] S101 , obtaining first processing information from a second controller; the first processing information includes at least one equalization parameter, and the at least one equalization parameter is used to train a communication link between a first component and a second component.
[0055] The method of this embodiment can be executed by the first controller, such as Figure 6 As shown, the first controller is located between the first component and the second component, and the first component and the second component are connected to each other through the first controller, so that the first component and the second component can transmit signals to each other through the first controller.
[0056] The first component and the second component may communicate with each other via a high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, PCIe) or other communication standards.
[0057] The first component may be a host component in the electronic device, such as a central processing unit (CPU). In this case, the second component may be an end device component in the electronic device, such as a solid state drive.
[0058] Alternatively, the first component may be a terminal-type component, and the second component may be a host-type component.
[0059] The communication link between the first component and the second component is equivalent to various signal transmission lines connecting two components in an electronic device.
[0060] The first controller is located between the two components and is used to process the signal sent by any component, thereby compensating for the loss of the signal when it is transmitted on the communication link, so that the signal received by the component at the other end meets certain quality requirements, avoiding the inability to correctly identify the signal due to poor signal quality.
[0061] The first controller can be of any type. In some embodiments, it can be a retimer chip, an integrated circuit chip used to recover and retime high-speed signals. A retimer receives high-speed signals from the transmitter (i.e., the first component). These signals may be subject to attenuation, distortion, or timing deviations due to long-distance transmission or high-speed data transmission. The retimer then performs processing operations such as equalization, amplification, and filtering on the received signals to restore signal strength and clarity, and then transmits the processed signals to the receiver (i.e., the second component).
[0062] like Figure 6 As shown, the first controller and the second controller are communicatively connected. Based on the communication connection, the first controller can receive first processing information provided by the second controller.
[0063] The first processing information may include one equalization parameter, may include multiple equalization parameters, or may include other information related to the equalization parameters.
[0064] The first controller may send a request for obtaining the first processing information to the second controller when determining to start the link training, so as to obtain the first processing information from the second controller.
[0065] Alternatively, the first controller may send a request for obtaining the first processing information to the second controller when determining that the previous link training has failed, so as to obtain the first processing information from the second controller.
[0066] The first controller may determine to start link training each time it is powered on, or determine to start link training each time a request to start link training is received from the first component or the second component, or determine to start link training each time it is detected that the first component or the second component is connected to the first controller, or determine to start link training each time it is determined that the communication information of the communication link does not meet the second condition.
[0067] Each time the first controller and the second controller are powered on and started, the second controller may also actively send the first processing information to the first controller.
[0068] The first controller and the second controller may communicate with each other via a two-wire serial bus (Inter-Integrated Circuit, I2C) interface, or may communicate via a microcontroller communication management protocol (System Management Bus, SMBUS), or may communicate via other interfaces or protocols.
[0069] The second controller may be any type of controller, such as an embedded controller (EC) or a microcontroller unit (MCU).
[0070] S102: Determine a first equalization parameter from the first processing information.
[0071] If the first processing information includes only one equalization parameter, the first controller may determine the equalization parameter as the first equalization parameter. If the first processing information includes multiple equalization parameters, the first controller may select one from the multiple equalization parameters as the first equalization parameter according to a certain selection strategy.
[0072] Each equalization parameter can contain one or more sub-parameters. Any two different equalization parameters may not have exactly the same sub-parameter values. For example, an equalization parameter may contain two sub-parameters: pre-overshoot and de-emphasis. Any two different equalization parameters may have different pre-overshoot and / or de-emphasis values.
[0073] S103: Process the target signal based on the first equalization parameter and send it to the second component to train the communication link; the target signal is sent by the first component.
[0074] In S103, the communication link may be trained based on the first equalization parameter in the following manner:
[0075] The first controller can perform any one or more signal processing operations on the target signal based on the first equalization parameter, including but not limited to equalization, amplification, filtering, etc., and then send the processed target signal to the second component. The specific methods of these signal processing operations can be found in the relevant art and are not described in detail here.
[0076] The first controller may also receive a feedback signal fed back by the second component in response to the target signal, process the feedback signal according to the first equalization parameter, and send the processed feedback signal to the first component;
[0077] When the first component and the second component communicate with each other, the first controller may obtain the signal quality of the signal received by the second component and the signal quality of the signal received by the first component, and determine whether the signal quality of the signals received by both parties meets the signal quality condition;
[0078] If the signal quality condition is met, the first controller may determine that training the communication link based on the first equalization parameter is successful;
[0079] If the signal quality condition is not met, the first controller may adjust various parameters related to the communication link according to the obtained signal quality, including but not limited to adjusting equalization parameters and other parameters other than the equalization parameters;
[0080] Then the first controller continues to process the signals sent by the first component and the second component in the aforementioned manner, and determines whether the signal quality meets the quality condition, and continues to adjust the first equalization parameter if it does not meet the quality condition;
[0081] After starting communication training based on the first equalization parameter, if the first controller still cannot successfully train the communication link after a preset time threshold, it can be determined that the communication link training based on the first equalization parameter has failed.
[0082] Signal quality can be evaluated through a variety of indicators, including but not limited to bit error rate, signal strength, signal-to-noise ratio, etc. The signal quality condition can be that the value of the corresponding indicator is greater than or equal to a specific threshold, or less than or equal to a specific threshold. The method of obtaining signal quality and determining whether the signal quality meets the quality condition can be referred to the relevant technology and will not be repeated here.
[0083] The beneficial effect of this embodiment is that the first controller can determine the first equalization parameters for training based on the first processing information provided by the second controller between training communication links. Therefore, this embodiment can dynamically determine different first equalization parameters before each communication link training by changing the first processing information provided by the second controller. Compared to the related art method of using fixed initial equalization parameters for training communication links, the dynamically determined first equalization parameters in this embodiment may be more suitable for the current communication link, thereby improving the efficiency of training the communication link and completing training more quickly.
[0084] In some embodiments, the first controller may train the communication link based on the first equalization parameters only under specific circumstances. In other words, processing the target signal based on the first equalization parameters and sending the target signal to the second component to train the communication link may include:
[0085] When the second equalization parameter satisfies the first condition, processing the target signal based on the first equalization parameter and sending the target signal to the second component to train the communication link;
[0086] The second equalization parameter is an equalization parameter indicated by a parameter request, and the parameter request is sent by the first component or the second component.
[0087] The first component or the second component may send a parameter request to the first controller each time it is powered on, to request the first controller to apply the second equalization parameter for training.
[0088] The parameter request may carry a balancing parameter. After receiving the parameter request, the first controller may read the balancing parameter carried in the parameter request as the second balancing parameter.
[0089] The parameter request may also carry identification information of the balancing parameter. After receiving the parameter request, the first controller may read the identification information of the balancing parameter carried therein, send the identification information to the second controller, receive the balancing parameter corresponding to the identification information fed back by the second controller, and determine the balancing parameter as the second balancing parameter.
[0090] If the second equalization parameter does not meet the first condition, the first controller can train the communication link based on the second equalization parameter instead of the first equalization parameter. The method for training based on the second equalization parameter is the same as the method for training based on the first equalization parameter and is not described in detail.
[0091] The first condition can indicate whether the communication link can be successfully trained based on the second equalization parameters. If the second equalization parameters meet the first condition, it means that the probability of successfully training the communication link based on the second equalization parameters is low, so the first equalization parameters can be used for training. If the second equalization parameters do not meet the first condition, it means that the probability of successfully training the communication link based on the second equalization parameters is high, so the second equalization parameters can be used for training.
[0092] In some embodiments, the first condition may be related to the strength of the signal after processing based on the second equalization parameter. If the signal strength of the signal after processing based on the second equalization parameter is greater than a certain signal strength threshold, it may cause the component receiving the signal to be unable to correctly identify the signal, resulting in training failure. In this case, it can be considered that the second equalization parameter meets the first condition. If the signal strength of the signal after processing based on the second equalization parameter is moderate and less than the above-mentioned signal strength threshold, in this case, it can be considered that the second equalization parameter does not meet the first condition.
[0093] Optionally, the first controller may receive the parameter request before obtaining the first processing information. In this case, if it is determined that the second balancing parameter meets the first condition, the first controller may Figure 1 If it is determined that the second equalization parameter does not meet the first condition, the first controller can be trained according to the second equalization parameter and no longer execute Figure 1 The corresponding method.
[0094] Optionally, the first controller may receive the parameter request after obtaining the first processing information and before determining the first balancing parameter. In this case, if it is determined that the second balancing parameter meets the first condition, the first controller may Figure 1 If the second equalization parameter does not meet the first condition, the first controller can be trained according to the second equalization parameter and no longer execute Figure 1 Next steps in the process.
[0095] In this embodiment, the first controller can take into account the requests of the components at both ends of the communication link and the actual situation of the communication link, and determine whether to perform training based on the first equalization parameter or the second equalization parameter, which can not only improve the efficiency of training the communication link, but also meet the needs of the components as much as possible.
[0096] Optionally, the first controller may determine that the second balancing parameter satisfies the first condition by at least one of the following determination methods:
[0097] Determination method 1: the number of abnormal recovery times corresponding to the second balancing parameter is greater than a threshold;
[0098] Determination method 2: In the eye diagram corresponding to the second equalization parameter, the eye height is less than the threshold;
[0099] Determination method three: the difference between the second equalization parameter and the equalization parameter carried by the first processing information is greater than a threshold;
[0100] Determination method four: the difference between the second equalization parameter and the historical equalization parameter is greater than a threshold value, and the historical equalization parameter refers to the equalization parameter used by the first controller to process the target signal last time.
[0101] In determination method 1, the number of abnormal recovery times (also recorded as the Recovery value) can reflect the number of times the communication link has been recovered during the training process. During the training of the communication link, if either party determines that the received signal quality does not meet the corresponding quality conditions, it can request the other party to recover the link. Generally, during the training based on an equalization parameter, the value of the abnormal recovery times should be within a certain range, that is, less than or equal to a preset number threshold.
[0102] In contrast, if the number of abnormal recovery times corresponding to the second equalization parameter is greater than the number threshold, it can be considered that the signal quality after adjustment based on the second equalization parameter is poor, and the probability of successful training based on the second equalization parameter is low.
[0103] In this determination method, the first controller may first perform training based on the second equalization parameter to obtain a corresponding number of abnormal recovery times, and then determine whether the number of abnormal recovery times is greater than the corresponding number threshold. Alternatively, if the first controller has already trained the communication link based on the second equalization parameter before this training, the first controller may record the number of abnormal recovery times determined during training in itself or in the second controller, and then directly read the previously recorded number of abnormal recovery times after obtaining the second equalization parameter, and then determine whether the number of abnormal recovery times is greater than the number threshold.
[0104] In determination method 2, the first controller can model the signal processed according to the second equalization parameter using internal circuitry to obtain an eye diagram of the processed signal as the eye diagram corresponding to the second equalization parameter. The eye diagram can characterize the timing and electrical characteristics of the signal processed based on the equalization parameter. The method for simulating the eye diagram of the equalization parameter can be found in related art and is not further described here.
[0105] After obtaining the eye diagram, the first controller can determine the eye height corresponding to the eye diagram and determine whether the eye height is less than a preset eye height threshold. If it is less than the eye height threshold, it is determined that the second equalization parameter meets the first condition; if it is greater than or equal to the eye height threshold, it is determined that the second equalization parameter does not meet the first condition.
[0106] For some examples, see Figure 5 , Figure 5 (1) is the eye diagram corresponding to the signal with moderate signal strength, Figure 5(2) is the eye diagram corresponding to the signal with too strong signal strength. The maximum distance between the upper and lower edges of the blank area in the center of the eye diagram is the eye height of the eye diagram. It can be seen that when the signal strength is too strong, the corresponding eye height is small, and when the signal strength is moderate, the corresponding eye height is large. Therefore, if the eye height in the eye diagram simulated based on the second equalization parameter is less than or equal to the eye height threshold, it can be determined that the strength of the signal processed based on the second equalization parameter is too strong, and then it can be determined that the second equalization parameter meets the first condition. If the eye height in the eye diagram simulated based on the second equalization parameter is greater than the eye height threshold, it can be determined that the second equalization parameter does not meet the first condition.
[0107] In determination method three, the first controller can determine the first equalization parameter from the first processing information, and then determine the difference between the first equalization parameter and the second equalization parameter, and compare the absolute value of the difference with a preset first difference threshold. If the absolute value of the difference is greater than the first difference threshold, it can be determined that the second equalization parameter meets the first condition; if the absolute value of the difference is less than or equal to the first difference threshold, it can be determined that the second equalization parameter does not meet the first condition.
[0108] In determination method four, if communication link training is successful, the first controller may record the equalization parameters used in the training as historical equalization parameters in the first controller or the second controller. After determining the second equalization parameter, the first controller may obtain the historical equalization parameter and determine the difference between the second equalization parameter and the historical equalization parameter. If the absolute value of the difference is greater than a second difference threshold, the second equalization parameter may be determined to meet the first condition. If the absolute value of the difference is less than or equal to the second difference threshold, the second equalization parameter may be determined to not meet the first condition.
[0109] In the above embodiments, specific values of the first difference threshold and the second difference threshold can be set as needed and are not limited.
[0110] The difference between the two equalization parameters may include the difference between each sub-parameter contained in the equalization parameters. The above-mentioned difference threshold may also include a difference threshold corresponding to each sub-parameter. In determination methods three and four, if the absolute value of the difference between each sub-parameter is less than or equal to the corresponding difference threshold, the second equalization parameter does not meet the first condition. If the absolute value of the difference between at least one sub-parameter is greater than the corresponding difference threshold, the second equalization parameter meets the first condition.
[0111] Through the above method, after obtaining the second equalization parameter, the first controller can determine whether the signal processed based on the second equalization parameter has excessive signal strength or other problems, thereby determining whether the second equalization parameter meets the first condition. If the first condition is met, the first equalization parameter is selected to train the communication link, which is conducive to improving the efficiency of training the communication link.
[0112] In some optional embodiments, the first processing information may include only one equalization parameter. Accordingly, determining the first equalization parameter from the first processing information may include:
[0113] An equalization parameter carried by the first processing information is determined as a first equalization parameter.
[0114] That is, the first controller may directly read out the only equalization parameter carried in the first processing information, and determine the equalization parameter as the first equalization parameter.
[0115] In the above case, the method of this embodiment may further include the following steps after step S103:
[0116] In case that training the communication link based on the first equalization parameter fails, another equalization parameter is obtained from the second controller to train the communication link based on the another equalization parameter.
[0117] In this embodiment, after the first controller fails to train based on the first equalization parameter, it can send a notification of training failure to the second controller. In response to receiving the notification, the second controller determines another equalization parameter that is different from the first equalization parameter, and sends the other equalization parameter to the first controller in the form of processing information, so that the first controller can train again based on the other equalization parameter.
[0118] Optionally, the above process may be repeated several times. Each time a notification of training failure is received, the second controller may determine a new equalization parameter that is different from any previously sent equalization parameter and send it to the first controller.
[0119] The advantage of the first processing information carrying only one equalization parameter is that the data volume of the first processing information can be reduced, so that the first controller receives the first processing information faster, thereby starting to train the communication link faster, and improving training efficiency.
[0120] The second controller may store a plurality of equalization parameters. When the first processing information includes only one equalization parameter, the second controller may select the equalization parameter to be sent to the first controller each time in any of the following ways.
[0121] One option is to assign a weight value to each balancing parameter, where the weight value is related to the number of successful communication link trainings based on the balancing parameter, with the greater the number of successful trainings, the greater the corresponding weight value. The first processing information initially sent by the second controller may carry the balancing parameter with the highest corresponding weight value. Thereafter, each time the second controller receives a notification of a training failure and sends new balancing parameters, the balancing parameters may be sent sequentially in descending order of weight value. For example, upon receiving the first notification, the balancing parameter with the second highest weight value is sent, upon receiving the second notification, the balancing parameter with the third highest weight value is sent, and so on.
[0122] Another option is that each balancing parameter of the second controller can correspond to a number. For example, the second controller can have 10 balancing parameters, numbered P0 to P9 in sequence. The first processing information sent by the second controller for the first time can carry the balancing parameters corresponding to the default numbers, or can carry the balancing parameters when the previous training was successful. Thereafter, each time a notification of training failure is received, the second controller sends the balancing parameters to the first controller in sequence according to the numbers.
[0123] As an example, the default number is P6, or the balancing parameter used by the first controller when the previous training was successful is P6, then the first processing information sent for the first time can carry the balancing parameter P6, thereafter, if a notification of training failure is received, the second controller can send P7, P8 and P9 in sequence, if the balancing parameter P9 still fails to train, the second controller sends the balancing parameter P0 to the first controller, and sends P1 to P5 in sequence after the failure.
[0124] Optionally, the first processing information may include multiple equalization parameters and a weight value corresponding to each equalization parameter. In this case, see Figure 2 , is a flowchart of another signal processing method provided in this embodiment, which may include the following steps.
[0125] S201 , obtaining first processing information from a second controller; the first processing information includes at least one equalization parameter, and the at least one equalization parameter is used to train a communication link between a first component and a second component.
[0126] S202 , determining an equalization parameter having the largest corresponding weight value among multiple equalization parameters included in the first processing information as a first equalization parameter, wherein the weight value corresponding to each equalization parameter is related to the number of successful communication link trainings according to the equalization parameter.
[0127] Among them, step S202 is equivalent to an implementation method of step S102 in the above embodiment.
[0128] Before sending the first processing information to the first controller, the second controller may determine the weight value of each balancing parameter carried in the sent first processing information, and then send the balancing parameters and corresponding weight values as the first processing information to the first controller.
[0129] The weight value corresponding to the balancing parameter may be positively correlated with the number of successful times the communication link is trained according to the balancing parameter. The more successful times the communication link is trained according to an balancing parameter, the greater the weight value corresponding to the balancing parameter. The fewer successful times the communication link is trained according to an balancing parameter, the smaller the weight value corresponding to the balancing parameter.
[0130] S203: Process the target signal based on the first equalization parameter and send it to the second component to train the communication link; the target signal is sent by the first component.
[0131] The implementation of S201 and S203 refers to the above embodiment and will not be described in detail.
[0132] S204 : When training the communication link based on the first equalization parameter fails, select another equalization parameter other than the first equalization parameter from the first processing information according to the weight value, so as to train the communication link based on the another equalization parameter.
[0133] In step S204, after training based on the first equalization parameters fails, the first controller may select equalization parameters from the first processing information in descending order of weight values, and train the communication link in sequence based on the equalization parameters selected each time. That is, after training based on the first equalization parameters fails, the equalization parameter ranked second in descending order of weight value in the first processing information may be selected for training the communication link. If training fails again, the equalization parameter ranked third in descending order of weight value in the first processing information may be selected for training the communication link. If training fails again, the equalization parameter ranked fourth in descending order of weight value in the first processing information may be selected for training the communication link, and so on.
[0134] The beneficial effect of the above embodiment is that the more times an equalization parameter has been successfully trained in the past, the higher the probability that it is suitable for the current communication link. Therefore, the equalization parameter with the largest weight value in the first processing information is selected as the first equalization parameter, and after the training of the first equalization parameter fails, the equalization parameter with a higher weight value is preferentially selected for training in descending order of weight value. This can more quickly determine the equalization parameter that can be successfully trained in the first processing information, thereby completing the training of the communication link more quickly.
[0135] Optionally, the first processing information may include multiple equalization parameters and does not include a weight value corresponding to each equalization parameter. In this case, the first controller may determine the equalization parameter corresponding to the default number in the first processing information, or the equalization parameter used in the previous successful training in the first processing information, as the first equalization parameter. In the event that training based on the first equalization parameter fails, the first controller may select the equalization parameter from the first processing information in sequence by number for training the communication link. The selection method can be referred to the method in which the second controller sends the equalization parameters to the first controller in sequence by number in the aforementioned embodiment, and will not be repeated here.
[0136] This embodiment also provides a signal processing method, see Figure 3 , applied to the second controller, the method may include the following steps.
[0137] S301, obtaining communication information from a first controller; the communication information is used to reflect the communication status of the communication link between the first component and the second component.
[0138] The communication information may include any one or more indicators that can reflect the communication status of the communication link. This embodiment does not limit the number and type of indicators included in the communication information.
[0139] In some embodiments, the communication information may include any one or more of the following indicators:
[0140] Link transmission rate: When the first component and the second component communicate based on the PCIe protocol, the link transmission rate may be a PCIe rate.
[0141] The number of abnormal recovery times, that is, the cumulative number of times the communication link between the first component and the second component enters abnormal recovery.
[0142] The eye height of the eye diagram, where the eye diagram may be an eye diagram of a signal transmitted on a communication link, the first controller may obtain the eye diagram of the signal through internal circuit simulation, and further determine the eye height of the eye diagram.
[0143] During operation of the first controller, the communication information of the communication link between the first component and the second component can be detected in real time to send the communication information to the second controller.
[0144] S302: Determine at least one equalization parameter based on communication information, so that the first controller trains the communication link based on the at least one equalization parameter.
[0145] In S302 , the at least one balancing parameter determined by the second controller based on the communication information may be recorded in a balancing parameter list of the second controller.
[0146] When the first controller needs to obtain the first processing information, the second controller can select one from the equalization parameter list and send the selected equalization parameter as the first processing information to the first controller. The first controller then determines the first equalization parameter based on the first processing information and performs link training based on the first equalization parameter. The method for selecting an equalization parameter can be found in the aforementioned embodiment, where the second controller selects the equalization parameter to be sent to the first controller each time.
[0147] Alternatively, when the first controller needs to obtain the first processing information, the second controller can select multiple equalization parameters from the equalization parameter list and send the selected multiple equalization parameters as the first processing information to the first controller, so that the first controller determines the first equalization parameters based on the first processing information and performs link training according to the first equalization parameters.
[0148] When multiple equalization parameters in the selection list are selected, the first processing information may include all the equalization parameters in the equalization parameter list, or may include only a part of the equalization parameters in the equalization parameter list.
[0149] When the first processing information only includes a part of the balancing parameters in the balancing parameter list, the second controller may select a number of balancing parameters in the balancing parameter list in descending order of corresponding weight values as the first processing information.
[0150] The beneficial effect of this embodiment is that determining the equalization parameters used for training the communication link based on the communication information is conducive to improving the probability of successful training of the first controller based on the equalization parameters, thereby completing the training of the communication link more quickly.
[0151] An optional manner of determining at least one equalization parameter based on the communication information may be:
[0152] determining at least one equalization parameter and a weight value corresponding to the at least one equalization parameter based on the communication information;
[0153] wherein the at least one balancing parameter comprises a balancing parameter currently applied by the first controller;
[0154] When the communication information satisfies the second condition, the weight value corresponding to the balancing parameter currently applied by the first controller is the maximum value of the weight values corresponding to at least one balancing parameter;
[0155] When the communication information does not satisfy the second condition, the weight value corresponding to the balancing parameter currently applied by the first controller is smaller than the weight values of other balancing parameters in the at least one balancing parameter.
[0156] In this embodiment, before the electronic device leaves the factory, a balancing parameter list can be preset in its second controller. The list contains several pre-set balancing parameters, and each balancing parameter corresponds to an initial weight value. These initial weight values can be determined during the development and testing of the electronic device based on the characteristics of each hardware in the electronic device.
[0157] As an example, the balancing parameter list of the second controller can contain 11 different balancing parameters, recorded as [P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10], and each balancing parameter corresponds to an initial weight value, which is [1, 1, 1, 1, 1, 6, 5, 4, 2, 1, 1] in sequence.
[0158] In the above determination method, during the communication between the first component and the second component, if the communication information satisfies the second condition, the second controller may determine whether the weight value corresponding to the balancing parameter currently used by the first controller is the maximum value in the list, and if so, maintain the current weight value unchanged; if not, increase the weight value of the balancing parameter currently used by the first controller so that the balancing parameter becomes the balancing parameter with the largest weight value in the balancing parameter list;
[0159] If the communication information does not meet the second condition, the second controller can determine whether the weight value corresponding to the balancing parameter currently used by the first controller is the maximum value in the list. If it is not the maximum value, the current weight value remains unchanged. If it is the maximum value, the weight value of the balancing parameter currently used by the first controller is lowered so that the weight value of the balancing parameter is smaller than the weight values of other balancing parameters in the balancing parameter list. For example, the weight value of the balancing parameter is made the minimum value among all weight values, or the second weight value from large to small.
[0160] If each indicator in the communication information satisfies the corresponding second indicator condition, it can be determined that the communication information meets the second condition; if at least one indicator does not meet the corresponding second indicator condition, it can be determined that the communication information does not meet the second condition.
[0161] The second indicator condition corresponding to the link transmission rate may be that the link transmission rate is the same as the expected link transmission rate, or may be that the absolute value of the difference between the link transmission rate and the expected link transmission rate is less than or equal to a preset threshold.
[0162] The second indicator condition corresponding to the number of abnormal recovery times may be that the number of abnormal recovery times is less than or equal to a preset threshold.
[0163] The second indicator condition corresponding to the eye height may be that the eye height is greater than or equal to a preset threshold.
[0164] If the communication information meets the second condition, after determining at least one equalization parameter and the corresponding weight value, the second controller can record the determined equalization parameter and weight value in the equalization parameter list, and send the first processing information to the first controller based on the equalization parameter list the next time the first controller determines to start link training.
[0165] If the communication information does not meet the second condition, after determining at least one balancing parameter and a corresponding weight value, the second controller can immediately determine new first processing information according to the determined balancing parameter and weight value, and send the new first processing information to the first controller, so that the first controller executes the new first processing information based on the new first processing information. Figure 1 The method shown.
[0166] If the communication information does not meet the second condition, after determining at least one equalization parameter and the corresponding weight value, the second controller can record the determined equalization parameter and weight value in the equalization parameter list, and not send new first processing information to the first controller. The next time the first controller determines to start link training, it will send the first processing information to the first controller based on the equalization parameter list.
[0167] Optionally, after the first controller successfully trains the communication link according to any equalization parameter, the first component and the second component can communicate based on the communication link, and the second controller can obtain the current communication information from the first controller in real time and determine whether the current communication information meets the second condition. If it is determined that the current communication information does not meet the second condition, the second controller can adjust the weight value of the equalization parameter according to the above method, and then send the first processing information to the first controller again based on the adjusted weight value, so that the first controller can again perform the equalization process according to the second condition. Figure 1 The communication link is trained using the method.
[0168] Optionally, the method of this embodiment may further include the following steps:
[0169] When the first controller successfully trains the communication link according to the first balancing parameter, increase the weight value of the first balancing parameter so that the weight value of the first balancing parameter is the maximum value among the weight values corresponding to the at least one balancing parameter;
[0170] When the first controller fails to train the communication link according to the first balancing parameter, lowering the weight value of the first balancing parameter so that the weight value of the first balancing parameter is less than the weight values corresponding to other balancing parameters in the at least one balancing parameter;
[0171] The first equalization parameter is one of the at least one equalization parameter.
[0172] Among them, if the first controller successfully trains the communication link according to the first balancing parameter, if the weight value of the first balancing parameter is already the maximum value among the weight values of all balancing parameters, the weight value of the first balancing parameter may not be adjusted; if the first controller fails to train the communication link according to the first balancing parameter, if the weight value of the first balancing parameter is not the maximum value among the weight values of all balancing parameters, the weight value of the first balancing parameter may not be adjusted down.
[0173] If the training of the communication link is successful, after determining at least one equalization parameter and the corresponding weight value, the second controller can record the determined equalization parameter and weight value in the equalization parameter list, and send the first processing information to the first controller based on the equalization parameter list the next time the first controller determines to start link training.
[0174] If the training communication link fails, after determining at least one equalization parameter and a corresponding weight value, the second controller can immediately determine new first processing information according to the determined equalization parameter and weight value, and send the new first processing information to the first controller, so that the first controller executes the new first processing information based on the new first processing information. Figure 1 The method shown.
[0175] If the training of the communication link fails, after determining at least one equalization parameter and the corresponding weight value, the second controller may not send new first processing information to the first controller, and may send the first processing information to the first controller based on the equalization parameter list the next time the first controller determines to start link training.
[0176] Optionally, when the communication link training is successful, the second controller may not temporarily adjust the weight value of the first balancing parameter, and then adjust the weight value of the first balancing parameter when it is subsequently determined that the communication information meets the second condition.
[0177] Optionally, the method for increasing the weight value of the first balancing parameter may be:
[0178] Increase the weight value of the first balancing parameter;
[0179] According to the magnitude of the increase in the weight value of the first equalizing parameter, the weight values of other equalizing parameters except the first equalizing parameter are decreased, so that the sum of the weight values corresponding to at least one equalizing parameter remains unchanged.
[0180] In an optional upward adjustment method, the weight values of all the balancing parameters in the balancing parameter list may be normalized to obtain normalized weight values.
[0181] The normalization method may be to calculate the sum of squares of all weight values, square the sum to obtain a normalized denominator, and then divide each weight value by the normalized denominator to obtain the result as the normalized weight value.
[0182] In the above example, after the normalization process of the 11 equalization parameter weight values [1, 1, 1, 1, 1, 6, 5, 4, 3, 2, 1], the following normalized weight values can be obtained:
[0183] [0.102, 0.102, 0.102, 0.102, 0.102, 0.612, 0.510, 0.408, 0.306, 0.204, 0.102].
[0184] Then, if the normalized weight value of the first equalization parameter is already the maximum value among all normalized weight values, the adjustment may be stopped, and the normalized weight values at this time are output as adjusted weight values.
[0185] If the normalized weight value of the first equalizing parameter is not the maximum value among all normalized weight values, the difference between the normalized weight value of the first equalizing parameter and the maximum value can be determined, and the difference can be added to the normalized weight value of the first equalizing parameter. Then, based on the increase in the first equalizing parameter, the normalized weight values of one or more other equalizing parameters other than the first equalizing parameter can be reduced. The total reduction in the range can be consistent with the increase in the range of the first equalizing parameter. Finally, all weight values are normalized, and the obtained normalized weight value is output as the adjusted weight value.
[0186] Among them, when lowering the normalized weight values of other equalization parameters, the normalized weight values of each other equalization parameter except the first equalization parameter can be lowered, or only the normalized weight values that are larger than the original normalized weight value of the first equalization parameter can be lowered, and the normalized weight values that are smaller than the original normalized weight value of the first equalization parameter cannot be lowered.
[0187] Optionally, the weight value of the first balancing parameter may be increased and the weight values of other balancing parameters may be decreased by other methods, which are not limited to the above methods.
[0188] As an example, assuming that among the 11 equalization parameters P0 to P10, when the training communication link is successful and the communication information meets the second condition, the equalization parameter used by the first controller is P7, then the weight value of P7 can be increased, and the weight values of several other equalization parameters can be decreased. The adjusted weight values can be [0.1196, 0.1196, 0.1196, 0.1196, 0.4350, 0.4250, 0.4785, 0.4015, 0.3915, 0.1196].
[0189] If the training is successful and the communication information satisfies the second condition of the equalization parameter P9 after the electronic device is powered on next time, the weight value of P9 can be increased and the weight values of several other equalization parameters can be decreased. The adjusted weight values can be [0.0878, 0.0878, 0.0878, 0.0878, 0.4793, 0.4314, 0.3834, 0.3355, 0.5273, 0.0878].
[0190] In an optional upward adjustment method, the weight value of the first balancing parameter can also be directly increased to the maximum value of all current weight values, and then the weight values of other balancing parameters can be lowered according to the increase. For example, for the weight values of 11 balancing parameters [1, 1, 1, 1, 6, 5, 4, 3, 2, 1], if the training of the communication link is successful and the communication information meets the second condition, the balancing parameter used by the first controller is P7, and the weight value 4 corresponding to P7 can be increased to the current maximum value 6, and then the weight values of other balancing parameters can be lowered.
[0191] In an optional upward adjustment method, the first balancing parameter can be directly increased one or more times according to a specific upward adjustment step size until the weight value of the first balancing parameter reaches the maximum value among all weight values, which refer to the weight values of all balancing parameters in the balancing parameter list of the second controller. Then, based on the increase in the first balancing parameter, the weight values of the other balancing parameters except the first balancing parameter are adjusted downward. The upward adjustment step size can be 1 or other values.
[0192] Among them, when lowering the weight values of other balancing parameters, the weight values of each other balancing parameter except the first balancing parameter can be lowered, or only the weight values that are larger than the original weight value of the first balancing parameter can be lowered, while the weight values that are smaller than the original weight value of the first balancing parameter will not be lowered.
[0193] The method of increasing the first balancing parameter and correspondingly decreasing the weight values of other balancing parameters is not limited to the above method, as long as the weight value of the first balancing parameter after the increase is the maximum value among all weight values, the sum of all weight values before and after the adjustment remains unchanged, and the adjusted weight values are all greater than 0.
[0194] In the above method of increasing the weight value of the first balancing parameter, the first balancing parameter may also be replaced by any balancing parameter used by the first controller when the training of the communication link is successful and the communication information meets the second condition, and is not limited to the above first balancing parameter.
[0195] Optionally, the method for lowering the weight value of the first balancing parameter may be:
[0196] Lowering the weight value of the first balancing parameter;
[0197] According to the extent of the downward adjustment of the weight value of the first equalization parameter, the weight values of other equalization parameters except the first equalization parameter are increased, so that the sum of the weight values corresponding to at least one equalization parameter remains unchanged.
[0198] If the weight value of the first balancing parameter is not the maximum value among the weight values of all balancing parameters of the second controller, it is not necessary to perform downward adjustment.
[0199] When adjusting downward, the first balancing parameter can be adjusted downward one or more times according to a specific downward adjustment step size, provided that the weight value of the first balancing parameter is greater than 0, until the weight value of the first balancing parameter is not the maximum value among all weight values, all weight values referring to the weight values of all balancing parameters in the balancing parameter list of the second controller. Then, based on the magnitude of the downward adjustment of the first balancing parameter, the weight values of the other balancing parameters except the first balancing parameter are adjusted upward. The downward adjustment step size can be 1 or other values.
[0200] The method of lowering the first balancing parameter and correspondingly raising the weight values of other balancing parameters is not limited to the above method, as long as the weight value of the first balancing parameter after the reduction is not the maximum value among all weight values, the sum of all weight values before and after the adjustment remains unchanged, and the adjusted weight values are all greater than 0.
[0201] In the above method of adjusting the weight value of the first balancing parameter, the first balancing parameter can also be replaced by the balancing parameter used by the first controller when the training communication link fails, and any balancing parameter used by the first controller when the communication information does not meet the second condition, not limited to the above first balancing parameter.
[0202] In the above embodiment, whether the training of the communication link succeeds or fails and the communication information meets or does not meet the second condition, the second controller can communicate with the first controller to read the equalization parameters currently applied by the first controller.
[0203] In order to facilitate understanding of the signal processing method of this embodiment, Figure 4 An optional implementation process of the method of this embodiment is described.
[0204] S401: The first controller determines to start link training.
[0205] S402: The first controller obtains first processing information from the second controller, and determines a first equalization parameter based on the first processing information.
[0206] S403: The first controller trains the communication link based on the first equalization parameter.
[0207] S404: Determine whether the training is successful.
[0208] If the training fails, execute step S405; if the training succeeds, execute step S407.
[0209] S405: The second controller reads the equalization parameters that failed training.
[0210] The equalization parameters that failed to be trained are the equalization parameters currently used by the first controller for training.
[0211] S406: The second controller lowers the weight value of the balancing parameter applied by the first controller and adjusts the weight values of other balancing parameters.
[0212] After the adjustment is completed according to the method of S406, the second controller can continue to provide the first processing information to the first controller based on the adjusted weight value, so that the first controller executes S402 again.
[0213] S407: The second controller reads the successfully trained equalization parameters.
[0214] The successfully trained equalization parameters are the equalization parameters currently used by the first controller for training.
[0215] S408: The second controller determines whether the communication information meets a second condition.
[0216] If the second condition is met, execute step S409; if the second condition is not met, execute step S406.
[0217] S409: The second controller increases the weight value of the balancing parameter applied by the first controller and adjusts the weight values of other balancing parameters.
[0218] After the adjustment is completed, when the first controller determines to start link training again, the second controller may continue to provide the first processing information to the first controller based on the adjusted weight value, so that the first controller executes S402.
[0219] The implementation methods of the above steps can refer to the corresponding steps in the above embodiments and will not be repeated here.
[0220] This embodiment provides an electronic device. Figure 6 , including a first component 601 and a second component 602 forming a communication link, a first controller 603 located between the first component 601 and the second component 602, and a second controller 604 connected to the first controller 603;
[0221] The second controller 604 is configured to provide first processing information to the first controller 603, where the first processing information includes at least one equalization parameter, and the at least one equalization parameter is used to train the communication link;
[0222] The first controller 603 is used to:
[0223] determining a first equalization parameter from the first processed information;
[0224] The target signal is processed based on the first equalization parameter and sent to the second component 602 to train the communication link; the target signal is sent by the first component 601.
[0225] Optionally, the first controller 603 processes the target signal based on the first equalization parameter and sends the target signal to the second component 602 to train the communication link, including:
[0226] If the second equalization parameter satisfies the first condition, processing the target signal based on the first equalization parameter and sending the target signal to the second component 602 to train the communication link;
[0227] The second equalization parameter is an equalization parameter indicated by a parameter request, and the parameter request is sent by the first component 601 or the second component 602.
[0228] Optionally, the second equalization parameter satisfies the first condition, including at least one of the following:
[0229] The number of abnormal recovery times corresponding to the second balancing parameter is greater than the threshold;
[0230] In the eye diagram corresponding to the second equalization parameter, the eye height is less than the threshold;
[0231] A difference between the second equalization parameter and the equalization parameter carried by the first processing information is greater than a threshold;
[0232] A difference between the second equalization parameter and the historical equalization parameter is greater than a threshold value, where the historical equalization parameter refers to an equalization parameter used by the first controller 603 to process the target signal last time.
[0233] Optionally, the first controller 603 determines the first equalization parameter from the first processed information, including:
[0234] determining an equalization parameter carried by the first processing information as a first equalization parameter;
[0235] The first controller 603 is further configured to:
[0236] In case that training the communication link based on the first equalization parameter fails, another equalization parameter is obtained from the second controller 604 to train the communication link based on the another equalization parameter.
[0237] Optionally, the first controller 603 determines the first equalization parameter from the first processed information, including:
[0238] Determine, among the multiple equalization parameters included in the first processing information, the equalization parameter with the largest corresponding weight value as the first equalization parameter, wherein the weight value corresponding to each equalization parameter is related to the number of successful communication link trainings according to the equalization parameter;
[0239] The first controller 603 is further configured to:
[0240] In the case that training of the communication link based on the first equalization parameter fails, another equalization parameter other than the first equalization parameter is selected from the first processing information according to the weight value to train the communication link based on the another equalization parameter.
[0241] The second controller 604 may be used to:
[0242] Obtaining communication information from the first controller 603; the communication information is used to reflect the communication status of the communication link between the first component 601 and the second component 602;
[0243] At least one equalization parameter is determined based on the communication information, so that the first controller 603 trains the communication link based on the at least one equalization parameter.
[0244] Optionally, the second controller 604 determines at least one equalization parameter based on the communication information, including:
[0245] determining at least one equalization parameter and a weight value corresponding to the at least one equalization parameter based on the communication information;
[0246] The at least one balancing parameter includes a balancing parameter currently applied by the first controller 603;
[0247] When the communication information satisfies the second condition, the weight value corresponding to the balancing parameter currently applied by the first controller 603 is the maximum value of the weight values corresponding to at least one balancing parameter;
[0248] When the communication information does not satisfy the second condition, the weight value corresponding to the balancing parameter currently applied by the first controller 603 is smaller than the weight values of other balancing parameters in the at least one balancing parameter.
[0249] Optionally, the second controller 604 is further configured to:
[0250] When the first controller 603 successfully trains the communication link according to the first balancing parameter, the weight value of the first balancing parameter is increased so that the weight value of the first balancing parameter is the maximum value among the weight values corresponding to the at least one balancing parameter;
[0251] When the first controller 603 fails to train the communication link according to the first balancing parameter, lower the weight value of the first balancing parameter so that the weight value of the first balancing parameter is smaller than the weight values corresponding to other balancing parameters in the at least one balancing parameter;
[0252] The first equalization parameter is one of the at least one equalization parameter.
[0253] Optionally, the second controller 604 increases the weight value of the first balancing parameter, including:
[0254] Increase the weight value of the first balancing parameter;
[0255] According to the magnitude of the increase in the weight value of the first equalizing parameter, the weight values of other equalizing parameters except the first equalizing parameter are decreased, so that the sum of the weight values corresponding to at least one equalizing parameter remains unchanged.
[0256] The working principle of the above electronic device can be found in the relevant steps of the signal processing method in the aforementioned embodiment, which will not be described in detail.
[0257] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referenced to each other.
[0258] For the convenience of description, the above systems or devices are described as being divided into various modules or units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0259] Through the description of the above embodiments, it can be seen that those skilled in the art can clearly understand that the present application can be implemented by means of software plus the necessary general hardware platform. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present application or certain parts of the embodiments.
[0260] Finally, it should be noted that, in this document, relational terms such as first, second, third, and fourth are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
[0261] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A signal processing method, applied to a first controller, comprising: obtaining first processing information from a second controller; The first processing information includes at least one equalization parameter, the at least one equalization parameter being used to train a communication link between the first component and the second component; determining a first equalization parameter from the first processed information; processing a target signal based on the first equalization parameter and sending the target signal to the second component to train the communication link; The target signal is sent by the first component.
2. The method according to claim 1, wherein processing the target signal based on the first equalization parameter and sending the target signal to the second component to train the communication link comprises: When the second equalization parameter satisfies the first condition, processing the target signal based on the first equalization parameter and sending the target signal to the second component to train the communication link; The second equalization parameter is an equalization parameter indicated by a parameter request, and the parameter request is sent by the first component or the second component.
3. The method according to claim 2, wherein the second equalization parameter satisfies the first condition, including at least one of the following: The number of abnormal recovery times corresponding to the second balancing parameter is greater than a threshold; In the eye diagram corresponding to the second equalization parameter, the eye height is less than a threshold; a difference between the second equalization parameter and the equalization parameter carried by the first processing information is greater than a threshold; A difference between the second equalization parameter and a historical equalization parameter is greater than a threshold, and the historical equalization parameter refers to an equalization parameter used by the first controller to process a target signal last time.
4. The method according to claim 1, wherein determining a first equalization parameter from the first processing information comprises: determining an equalization parameter carried by the first processing information as a first equalization parameter; The method further comprises: In the case that training the communication link based on the first equalization parameter fails, another equalization parameter is obtained from the second controller to train the communication link based on the another equalization parameter.
5. The method according to claim 1 , wherein determining a first equalization parameter from the first processing information comprises: Determining, among a plurality of equalization parameters included in the first processing information, an equalization parameter having a largest corresponding weight value as a first equalization parameter, wherein the weight value corresponding to each equalization parameter is related to a number of successful training times of the communication link according to the equalization parameter; The method further comprises: In a case where training the communication link based on the first equalization parameter fails, another equalization parameter other than the first equalization parameter is selected from the first processing information according to the weight value, so as to train the communication link based on the another equalization parameter.
6. A signal processing method, applied to a second controller, comprising: obtaining communication information from the first controller; The communication information is used to reflect the communication status of the communication link between the first component and the second component; At least one equalization parameter is determined based on the communication information, so that the first controller trains the communication link based on the at least one equalization parameter.
7. The method according to claim 6, wherein determining at least one equalization parameter based on the communication information comprises: determining at least one equalization parameter and a weight value corresponding to the at least one equalization parameter based on the communication information; wherein the at least one balancing parameter comprises a balancing parameter currently applied by the first controller; When the communication information satisfies the second condition, the weight value corresponding to the balancing parameter currently applied by the first controller is the maximum value among the weight values corresponding to the at least one balancing parameter; When the communication information does not satisfy the second condition, the weight value corresponding to the balancing parameter currently applied by the first controller is smaller than the weight values of other balancing parameters in the at least one balancing parameter.
8. The method according to claim 7, further comprising: If the first controller successfully trains the communication link according to the first balancing parameter, increase the weight value of the first balancing parameter so that the weight value of the first balancing parameter is the maximum value of the weight values corresponding to the at least one balancing parameter; When the first controller fails to train the communication link according to the first balancing parameter, lowering the weight value of the first balancing parameter so that the weight value of the first balancing parameter is smaller than the weight values corresponding to other balancing parameters in the at least one balancing parameter; The first equalization parameter is one of the at least one equalization parameter.
9. The method according to claim 8, wherein increasing the weight value of the first equalization parameter comprises: increasing the weight value of the first balancing parameter; According to the magnitude of the increase in the weight value of the first equalizing parameter, the weight values of other equalizing parameters except the first equalizing parameter are decreased, so that the sum of the weight values corresponding to the at least one equalizing parameter remains unchanged.
10. An electronic device comprising a first component and a second component forming a communication link, a first controller located between the first component and the second component, and a second controller connected to the first controller; The second controller is configured to provide first processing information to the first controller, wherein the first processing information includes at least one equalization parameter, and the at least one equalization parameter is used to train the communication link; The first controller is used for: determining a first equalization parameter from the first processed information; A target signal is processed based on the first equalization parameter and sent to the second component to train the communication link; the target signal is sent by the first component.
Citation Information
Patent Citations
Equipment testing method based on link training and target simulation equipment
CN114900685A
Signal sending method and device, electronic equipment and storage medium
CN115396032A
United resource allocation and multi-task unloading method based on server cooperation
CN115529604A
Communication system, link training method and related equipment
CN116635830A
Method, device and equipment for automatically adjusting equalization parameter of sending end and storage medium
CN117240859A