CN117294323A - Link training method, device, receiving equipment and computer readable storage medium - Google Patents

Link training method, device, receiving equipment and computer readable storage medium Download PDF

Info

Publication number
CN117294323A
CN117294323A CN202311293788.5A CN202311293788A CN117294323A CN 117294323 A CN117294323 A CN 117294323A CN 202311293788 A CN202311293788 A CN 202311293788A CN 117294323 A CN117294323 A CN 117294323A
Authority
CN
China
Prior art keywords
training
round
link training
weighting coefficient
optimal solution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311293788.5A
Other languages
Chinese (zh)
Inventor
许俊
张云天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Centec Communications Co Ltd
Original Assignee
Suzhou Centec Communications Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Centec Communications Co Ltd filed Critical Suzhou Centec Communications Co Ltd
Priority to CN202311293788.5A priority Critical patent/CN117294323A/en
Publication of CN117294323A publication Critical patent/CN117294323A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/16Circuits
    • H04B1/1638Special circuits to enhance selectivity of receivers not otherwise provided for
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/02Transmitters
    • H04B1/04Circuits
    • H04B1/0475Circuits with means for limiting noise, interference or distortion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/06Receivers
    • H04B1/10Means associated with receiver for limiting or suppressing noise or interference
    • H04B1/12Neutralising, balancing, or compensation arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Filters That Use Time-Delay Elements (AREA)

Abstract

The invention provides a link training method, a device, receiving equipment and a computer readable storage medium, wherein the method comprises the steps of firstly carrying out multi-round primary link training on a transmitting equipment based on a preset step length to obtain optimal solution interval information of a plurality of filter coefficients of a transmitting equalizer, and then carrying out multi-round secondary link training on the transmitting equipment based on the optimal solution interval information and a minimum step length to obtain optimal solutions of the plurality of filter coefficients; and finally, setting the plurality of filter coefficients of the transmission equalizer to be optimal solutions by using a setting instruction. Therefore, after the transmission equipment is subjected to multi-round primary link training based on the preset step length to obtain the optimal solution interval information, the transmission equipment is subjected to multi-round secondary link training based on the minimum step length to obtain the optimal solution of the filter coefficients, and the transmission equalizer can be ensured to perform filtering processing on the signal to be transmitted, which is required to be transmitted to the receiving equipment, based on the set filter coefficients, so that intersymbol interference of the signal to be transmitted is better eliminated.

Description

Link training method, device, receiving equipment and computer readable storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a link training method, apparatus, receiving device, and computer readable storage medium.
Background
In ethernet environments (e.g., data center networks, industrial networks) where data transmission real-time requirements are high, the high-speed ethernet interfaces of the network devices typically employ passive equalizers to compensate for attenuation differences caused by frequency differences, and Link Training (LT) may be used to automatically adjust the filter coefficient settings in the transmit equalizer of each device to achieve a minimum bit error rate at a selected transmission speed and communication loss.
The current way to improve signal integrity is to incorporate an equalizer, which is a Feed-forward equalizer (FFE-Forward equalization) as a finite impulse response (Finite impulse response, FIR) filter, at both the transmitting device and the receiving device. The analog signal which is obtained by preprocessing and needs to be sent to the receiving equipment is required to be filtered by a transmitting equalizer of the transmitting equipment, and the channel loss of the analog signal at a certain degree is compensated in advance based on the high-pass characteristic of the FIR filter, so that the purposes of reducing ISI (inter-symbol interference) and cross-talk (channel crosstalk) are achieved, and then the data transmission processing is carried out.
The process of filtering by the transmit equalizer is a process of weighting and summing the analog signal using a series of filter coefficients as weight coefficients. And a series of filter coefficients requires the receiving device to perform link training on the transmitting device.
In the prior art, in the link training process, the filter coefficients are adjusted for multiple times with a small step length (for example, the smallest interval unit) to find a series of filter coefficients with better filtering effect. However, since the maximum training duration is limited to 500ms by the protocol, the method cannot ensure that the filter coefficient with the best filtering effect is found from the limited value range of the filter coefficient in the limited training time, so that the channel loss of the analog signal cannot be better compensated, that is, the inter-symbol interference of the signal cannot be effectively eliminated, and the true integrity of the signal sent to the receiving device cannot be ensured.
Disclosure of Invention
The present invention aims to provide a link training method, a device, a receiving apparatus and a computer readable storage medium, so as to solve the problems of the prior art.
Embodiments of the invention may be implemented as follows:
in a first aspect, the present invention provides a link training method applied to a receiving device, where the receiving device is communicatively connected to a transmitting device, and the transmitting device includes a transmitting equalizer; the transmit equalizer includes a plurality of filter coefficients; the method comprises the following steps:
Performing multi-round primary link training on the sending equipment based on a preset step length to obtain optimal solution interval information of the plurality of filter coefficients;
based on the optimal solution interval information and the minimum step length, performing multi-round secondary link training on the sending equipment to obtain an optimal solution of the plurality of filter coefficients;
transmitting a setting instruction to the transmitting apparatus so that the transmitting apparatus sets each of a plurality of filter coefficients of the transmission equalizer to an optimal solution based on the setting instruction; the transmitting equalizer is used for performing filtering processing on a signal to be transmitted, which needs to be transmitted to the receiving equipment, based on the set multiple filter coefficients so as to eliminate intersymbol interference of the signal to be transmitted.
In an alternative embodiment, the plurality of filter coefficients includes a principal scale weighting coefficient, at least one front scale weighting coefficient, and at least one rear scale weighting coefficient;
the step of performing multi-round primary link training on the sending device based on a preset step length to obtain optimal solution interval information of the plurality of filter coefficients includes:
based on the preset step length, carrying out multi-round primary link training on the sending equipment to obtain a training result of each round of primary link training; the main scale weighting coefficient is sequentially reduced by the preset step length from the maximum value in the process of the multi-round primary link training; the training result represents the filtering performance of the transmitting-end equalizer;
And determining the optimal solution interval information based on the training result of each round of primary link training.
In an alternative embodiment, the plurality of filter coefficients includes a principal scale weighting coefficient, at least one front scale weighting coefficient, and at least one rear scale weighting coefficient; the optimal solution interval information comprises an optimal solution interval of the main scale weighting coefficient;
the step of performing multi-round two-stage link training on the transmitting device based on the optimal solution interval information and the minimum step length to obtain an optimal solution of the plurality of filter coefficients includes:
based on the optimal solution interval of the main scale weighting coefficient and the minimum step length, carrying out multi-round secondary link training on the sending equipment to obtain a training result of each round of secondary link training; the main scale weighting coefficient is sequentially reduced by the minimum step length from the upper limit value of the optimal solution interval in the process of multi-round secondary link training;
and determining an optimal solution of the plurality of filter coefficients based on a training result of each round of the secondary link training.
In an optional embodiment, the step of performing multiple rounds of primary link training on the sending device based on the preset step length to obtain a training result of each round of primary link training includes:
Transmitting a primary reset instruction to the transmitting device, so that the transmitting device sets the primary weighting coefficient to 1 and sets both the front weighting coefficient and the rear weighting coefficient to 0 based on the primary reset instruction;
receiving a training frame sent by the sending equipment after the filter coefficient is adjusted; the training frame carries the size of each filter coefficient of the transmit equalizer; the receiving equipment receives a first-level link training of which the training frame represents that the current round is completed;
judging whether the value of the main mark weighting coefficient modulo the preset step length is 0 or not;
if the value of the primary standard weighting coefficient modulo the preset step length is not 0, determining the values of the filter coefficients in the next round of primary link training based on the training frame, a first primary standard adjustment strategy and a first setting adjustment strategy; the first main scale adjustment strategy is to reduce the preset step length in each round of primary link training of the main scale weighting coefficient, and the first setting adjustment strategy is used for determining the variation of the front scale weighting coefficient and/or the variation of the rear scale weighting coefficient in the next round of primary link training;
Transmitting a first adjustment instruction to the transmitting device based on the values of the plurality of filter coefficients in the next round of primary link training, so that the transmitting device configures the filter coefficients based on the first adjustment instruction;
returning to the step of receiving the training frame sent by the sending device after the filter coefficient is configured, until the value of the primary standard weighting coefficient modulo the preset step length is 0, sending a configuration instruction to the sending device based on the training frame and the first setting adjustment strategy, so that the sending device sets the primary standard weighting coefficient as the minimum step length based on the configuration instruction and adjusts the front standard weighting coefficient and/or the rear standard weighting coefficient;
receiving a training frame sent by the sending equipment after the filter coefficient is configured, and judging that the multi-round primary link training is completed;
and evaluating the signal quality of training data in a training frame corresponding to each round of primary link training to obtain a training result of each round of primary link training.
In an optional embodiment, the optimal solution interval information further includes a magnitude of each of the pre-label weighting coefficients and each of the post-label weighting coefficients corresponding to an upper limit value and a lower limit value of the optimal solution interval;
The step of performing multi-round secondary link training on the transmitting device based on the optimal solution interval of the main scale weighting coefficient and the minimum step length to obtain a training result of each round of secondary link training comprises the following steps:
a second-level reset instruction is sent to the sending equipment, so that the sending equipment sets the main scale weighting coefficient as the upper limit value of the optimal solution interval based on the second-level reset instruction, and adjusts the pre-scale weighting coefficient and the post-scale weighting coefficient to be the numerical value corresponding to the upper limit value;
receiving a training frame sent by the sending equipment after the filter coefficient is configured; the training frame carries the size of each filter coefficient of the transmit equalizer; the receiving equipment receives a second-level link training of which the training frame represents that the current round is completed;
judging whether the main scale weighting coefficient is equal to the lower limit value of the optimal solution interval;
if the main scale weighting coefficient is not equal to the lower limit value of the optimal solution interval, determining the values of the filter coefficients in the next round of secondary link training based on the training frame, a second main scale adjustment strategy and a second setting adjustment strategy; the second main scale adjustment strategy is used for reducing the minimum step length of the main scale weighting coefficient in each round of secondary link training, and the first setting adjustment strategy is used for determining the variation of the front scale weighting coefficient and/or the variation of the rear scale weighting coefficient in the next round of secondary link training;
Transmitting a second adjustment instruction to the transmitting device based on the values of the plurality of filter coefficients in the next round of secondary link training, so that the transmitting device configures the filter coefficients based on the second adjustment instruction; returning to the step of executing the training frame sent by the sending equipment after the filter coefficient is adjusted until the main standard weighting coefficient is equal to the lower limit value of the optimal solution interval, and judging that the multi-round secondary link training is completed;
and evaluating the signal quality of training data in a training frame corresponding to each round of secondary link training to obtain a training result of each round of secondary link training.
In an alternative embodiment, the main scale weighting coefficient is a positive number, and the pre-scale weighting coefficient and the post-scale weighting coefficient are both non-positive numbers; the sum of the absolute values of the main mark weight coefficient, each front mark weight coefficient and each rear mark weight coefficient is 1;
when the number of the pre-target weighting coefficients and the number of the post-target weighting coefficients are equal, the first setting adjustment strategy is to reduce average step sizes of other filter coefficients except the main target weighting coefficients in the training frame; the average step length is the ratio of the variation of the main scale weighting coefficient to the number of other filter coefficients;
Or, the first setting adjustment strategy is to reduce the pre-mark weighting system or the post-mark weighting coefficient in the training frame by the preset step length based on the current round; the pre-cursor weighting system and the post-cursor weighting coefficient are alternately reduced during the multi-round primary link training. In an alternative embodiment, the main scale weighting coefficient is a positive number, and the pre-scale weighting coefficient and the post-scale weighting coefficient are both non-positive numbers; the sum of the absolute values of the main mark weight coefficient, each front mark weight coefficient and each rear mark weight coefficient is 1;
the second setting adjustment strategy is to reduce the pre-label weighting system or the post-label weighting coefficient by the minimum step length; the pre-cursor weighting system and the post-cursor weighting coefficient are alternately reduced during the multiple rounds of secondary link training.
In a second aspect, the present invention provides a link training apparatus, applied to a receiving device, where the receiving device is communicatively connected to a transmitting device, and the transmitting device includes a transmitting equalizer; the transmit equalizer includes a plurality of filter coefficients; the device comprises:
the first-stage training module is used for carrying out multi-round first-stage link training on the sending equipment based on a preset step length to obtain optimal solution interval information of the filter coefficients;
The second-level training module is used for carrying out multi-round second-level link training on the sending equipment based on the optimal solution interval information and the minimum step length to obtain an optimal solution of the plurality of filter coefficients;
a transmission setting module configured to transmit a setting instruction to the transmission apparatus, so that the transmission apparatus sets a plurality of filter coefficients of the transmission equalizer to an optimal solution based on the setting instruction; the transmitting equalizer is used for performing filtering processing on a signal to be transmitted, which needs to be transmitted to the receiving equipment, based on the set multiple filter coefficients so as to eliminate intersymbol interference of the signal to be transmitted.
In a third aspect, the present invention provides a receiving apparatus comprising: a memory storing a software program which when run by the receiving device is executed by the processor to implement the link training method as described in the first aspect.
In a fourth aspect, the present invention provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the link training method of the first aspect.
Compared with the prior art, the embodiment of the invention provides a link training method, a device, receiving equipment and a computer readable storage medium, wherein the receiving equipment firstly carries out multi-round primary link training on the sending equipment based on a preset step length to obtain optimal solution interval information of a plurality of filter coefficients of a transmitting equalizer, and then carries out multi-round secondary link training on the sending equipment based on the optimal solution interval information and a minimum step length to obtain optimal solutions of the plurality of filter coefficients; and finally, setting the plurality of filter coefficients of the transmission equalizer to be optimal solutions by using a setting instruction. In this way, after the receiving device performs multi-round primary link training on the transmitting device based on a preset step length to obtain the optimal solution interval information, and then performs multi-round secondary link training on the transmitting device based on a minimum step length to obtain the optimal solution of a plurality of filter coefficients, so that the transmitting equalizer can be ensured to perform filtering processing on a signal to be transmitted, which is required to be transmitted to the receiving device, based on the set plurality of filter coefficients, so that inter-symbol interference of the signal to be transmitted is better eliminated, and the true integrity of the signal transmitted to the receiving device is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of the structure of a 2-order 3-tap FIR.
Fig. 2 is a prior art link training flow.
Fig. 3 is a schematic diagram of an application scenario according to an embodiment of the present invention.
Fig. 4 is a schematic flow chart of a link training method according to an embodiment of the present invention.
Fig. 5 is a second flowchart of a link training method according to an embodiment of the present invention.
Fig. 6 is a third flowchart of a link training method according to an embodiment of the present invention.
Fig. 7 is an interactive schematic diagram of link training performed by a receiving device on a transmitting device according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of signal quality obtained by multi-round primary link training according to an embodiment of the present invention.
Fig. 9 is a schematic diagram of signal quality obtained by multi-round secondary link training according to an embodiment of the present invention.
Fig. 10 is a schematic structural diagram of a link training device according to an embodiment of the present invention.
Fig. 11 is a schematic structural diagram of a receiving device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
Furthermore, the terms "first," "second," and the like, if any, are used merely for distinguishing between descriptions and not for indicating or implying a relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
Here, first, the keywords or key terms related to the present invention will be described:
1. intersymbol interference: interSymbol Interference, ISI for short. Intersymbol interference is also called intersymbol interference or intersymbol interference, when the channel bandwidth is far greater than the pulse bandwidth, the expansion of the pulses is very small, and when the channel bandwidth is close to the bandwidth of the signal, the expansion will exceed one symbol period, resulting in overlapping of the signal pulses, called intersymbol interference.
2. And (3) link training: link translation, LT for short. When high data rates are transmitted over a cable, the received data stream is severely distorted and needs to be equalized before recovery and correct sampling. Equalization is performed at both the transmitter and receiver ends. Link Training (LT) is a procedure initially defined in IEEE802.3 clause 72 for a cable for 10Gbps ethernet, where two endpoints communicate together to adjust the settings of the respective transmitter equalizer for optimal transmission. The LT procedure is a procedure of setting an equalizer of a transmitter, and the equalizer in each receiver is completely controlled by the receiver, not a part of the LT procedure.
3. BER: bit error rate, i.e. Bit error rate, bit error rate = number of erroneous bits/total number of bits transmitted 100%.
4. FFE: feed Forward Equalization, feedforward equalization.
5. FIR: finite Impulse Response, i.e. finite impulse response or finite impulse filtering.
6. SerDes: is an abbreviation for Serializer/Deserializer, i.e., serializer and Deserializer. The main constitution of SerDes can be divided into three parts: PLL (Phase Locked Loop, phase-locked loop) module, transmitting module Tx, receiving module Rx. The transmitting module Tx may integrally set a transmitting-end equalizer of the transmitting device.
The current way to improve signal integrity is to incorporate an equalizer, which is a Feed-forward equalizer (FFE-Forward equalization) as a finite impulse response (Finite impulse response, FIR) filter, at both the transmitting device and the receiving device. The analog signal which is obtained by preprocessing and needs to be sent to the receiving equipment is required to be filtered by a transmitting equalizer of the transmitting equipment, and the channel loss of the analog signal at a certain degree is compensated in advance based on the high-pass characteristic of the FIR filter, so that the purposes of reducing ISI (inter-symbol interference) and cross-talk (channel crosstalk) are achieved, and then the data transmission processing is carried out.
The process of filtering by the transmit equalizer is a process of weighting and summing the analog signal using a series of filter coefficients as weight coefficients. And a series of filter coefficients requires the receiving device to perform link training on the transmitting device.
In the prior art, in the link training process, the filter coefficients are adjusted for multiple times in the minimum interval unit to find out a series of filter coefficients with better filtering effect. However, since the maximum training duration is limited to 500ms by the protocol, the method cannot ensure that the filter coefficient with the best filtering effect is found from the limited value range of the filter coefficient in the limited training time, so that the channel loss of the analog signal cannot be better compensated, that is, the inter-symbol interference of the signal cannot be effectively eliminated, and the true integrity of the signal sent to the receiving device cannot be ensured.
Taking the 2-order 3-tap FIR as an example, referring to FIG. 1, the FIR filter has 3 taps, and the incoming digital data propagates through a series of delay lines, each delay equaling one symbolTime interval of number units. Therefore, the equalizer has three inputs, namely the current transmitted bit Vin (n), the previous bit Vin (n+1) and the next bit Vin (n-1), based on a certain filter coefficient (c) 0 、c -1 C 1 ) The weighted sum is output as a weight, expressed as:
Vout(n)=c -1 ×Vin(n-1)+c 0 ×Vin(n)+c 1 ×Vin(n+1)
wherein c 0 、c -1 C 1 The Pre-cursor coefficient, cusor coefficient, and Post-cursor coefficient, respectively referred to as the FIR equation, satisfy the following coefficient constraint rules:
|c -1 |+|c 0 |+|c 1 |=1,c -1 ≤0,c 0 >0,c 1 ≤0
the filter structure shown in fig. 1 enables the equalizer to adjust for signal errors caused by intersymbol interference.
In the prior art, the link training is performed by adjusting a small step size each time, referring to fig. 2, the link training process of the receiving device B on the transmitting device a generally includes the following steps:
1. b issues a Reset instruction (Reset), A based on which c 0 Set to maximum value 1, c -1 C 1 All are set to 0, then A sends out Training frames (Training frames) after filtering processing is carried out based on the set three coefficients, and B completes the first round of Training after receiving the Training frames;
2. b then sends an adjustment instruction to A (Coefficient update), which will c 0 Decreasing the minimum spacing step k, correspondingly decreasing c if the coefficient limiting rule is satisfied -1 And c 1 The method comprises the steps of carrying out a first treatment on the surface of the Then A sends out Training frame (Training frame) again after filtering process based on the three coefficients, B completes the second Training after receiving Training frame;
Step 2 is repeated in this way until the training period T is equal to the training limit period 500ms or all possibilities have been traversed (i.e. c 0 When=k), training is stopped. Finally comparing all the rounds to obtain the bit error rate corresponding to the training frame, and finding outAnd the lowest coefficient is the optimal coefficient setting.
But traversing through all may be almost impossible within a very short training limit duration of 500 ms. Typically, when the training duration t=500 ms of the link training is not complete, and the possible complete and half of the complete traversals are not achieved, the coefficient setting determined in this case is only a suboptimal solution, and is not the optimal solution that makes the filtering effect of the equalizer the best, so that the inter-symbol interference of the signal cannot be effectively eliminated by the transmitting device a through filtering with the suboptimal solution.
Based on the findings of the above technical problems, the inventors have made creative efforts to propose the following technical solutions to solve or improve the above problems. It should be noted that the above prior art solutions have all the drawbacks that the inventors have obtained after practice and careful study, and thus the discovery process of the above problems and the solutions to the problems that the embodiments of the present application hereinafter propose should not be construed as what the inventors have made in the invention creation process to the present application, but should not be construed as what is known to those skilled in the art.
In view of this, an embodiment of the present invention provides a link training method, where a receiving device performs link training on a transmitting device successively with a larger preset step size and a minimum step size to obtain an optimal solution of a plurality of filter coefficients, so as to ensure that a transmitting equalizer performs filtering processing on a signal to be transmitted, which needs to be transmitted to the receiving device, based on the set optimal solution of the plurality of filter coefficients, to better eliminate inter-symbol interference of the signal to be transmitted. The following detailed description is made by way of example with reference to the accompanying drawings.
Here, the application scenario of the present invention will be described first:
the link training provided by the embodiment of the invention can be applied to receiving equipment. Referring to fig. 3, the receiving device is connected to the high-speed ethernet interfaces of the transmitting device, and the high-speed ethernet interfaces of the receiving device and the transmitting device both adopt serdes structures. The transmitting device may include a transmit equalizer that may include a plurality of filter coefficients that function as weighting coefficients when the transmit equalizer performs a filtering process.
The receiving device and the transmitting device may be the same type of network device, for example, a switch, a router, etc. in a data center network or an industrial network.
Referring to fig. 4, fig. 4 is a flow chart of a link training method according to an embodiment of the present invention, where an execution body of the method is a receiving device, and the method may include steps S101 to S103 as follows:
s101, carrying out multi-round primary link training on the transmitting equipment based on a preset step length to obtain optimal solution interval information of a plurality of filter coefficients.
In this embodiment, the plurality of filter coefficients may include a main scale weighting coefficient, at least one front scale weighting coefficient, and at least one rear scale weighting coefficient, and the number of filter coefficients is related to the number of taps (tap) of the FIR structure in the transmit equalizer.
The optimal solution interval information of the plurality of filter coefficients may include an upper limit value and a lower limit value of the optimal solution interval of the principal scale weighting coefficient, and a value size corresponding to the remaining filter coefficients when the principal scale weighting coefficient is the upper limit value or the lower limit value.
Optionally, in the process of each primary link training, a preset step length may be used to adjust the magnitude of the primary weighting coefficient.
S102, performing multi-round secondary link training on the transmitting equipment based on the optimal solution interval information and the minimum step length to obtain an optimal solution of a plurality of filter coefficients.
Optionally, in the process of each round of two-level link training, the minimum step length can be used for adjusting the size of the main scale weighting coefficient in the optimal solution interval, so that the optimal solution of the plurality of filter coefficients can be determined based on the optimal solution interval information.
And S103, sending a setting instruction to the sending device so that the sending device sets all the filter coefficients of the transmission equalizer to be optimal solutions based on the setting instruction.
It will be appreciated that the signal to be transmitted, which is required to be transmitted to the receiving device, is subject to some pre-processing procedure, typically belonging to a distorted signal in which intersymbol interference is present.
In this embodiment, the transmitting device uses the setting instruction to make the transmitting device set the plurality of filter coefficients of the transmitting equalizer to be the optimal solution, so that the transmitting equalizer can be used to perform filtering processing on the signal to be transmitted, which needs to be transmitted to the receiving device, based on the set plurality of filter coefficients, so as to eliminate inter-symbol interference of the signal to be transmitted, and make the signal finally transmitted to the receiving device tend to be complete.
According to the link training method provided by the embodiment of the invention, after the receiving equipment performs multi-round primary link training on the transmitting equipment based on the preset step length to obtain the optimal solution interval information, the receiving equipment performs multi-round secondary link training on the transmitting equipment based on the optimal solution interval information and the minimum step length to obtain the optimal solution of the filter coefficients, so that the transmitting equalizer can be ensured to perform filtering processing on the signal to be transmitted to the receiving equipment based on the set optimal solution of the filter coefficients, and the inter-symbol interference of the signal to be transmitted is better eliminated, so that the true integrity of the signal transmitted to the receiving equipment is ensured.
It can be understood that in the standard specification, the main scale weighting coefficient is a positive number, and the front scale weighting coefficient and the rear scale weighting coefficient are both non-positive numbers; the sum of the absolute values of the main scale weighting coefficient, each of the pre-scale weighting coefficients, and each of the post-scale weighting coefficients is 1.
Taking the 3-tap FIR as shown in fig. 1 as an example, the plurality of filter coefficients of the transmit equalizer include: the forensic weighting coefficient (c) -1 ) Principal sign weighting coefficient (c) 0 ) And a post-label weighting coefficient (c) 1 );
Taking a 5-tap FIR similar to that shown in fig. 1 as an example, the multiple filter coefficients of the transmit equalizer may be the following three cases:
1. the forensic weighting coefficient (c) -2 、c -1 ) Principal sign weighting coefficient (c) 0 ) And a post-label weighting coefficient (c) 1 、c 2 );
2. The forensic weighting coefficient (c) -3 、c -2 、c -1 ) Principal sign weighting coefficient (c) 0 ) And a post-label weighting coefficient (c) 1 );
3. The forensic weighting coefficient (c) -1 ) Principal sign weighting coefficient (c) 0 ) And a post-label weighting coefficient (c) 1 、c 2 、c 3 )。
The number of taps in the two structures of the above-mentioned exemplary transmission equalizer is exemplary, and the number of taps of the transmission equalizer in practical application is based on the filtering requirement and is not limited herein.
In an alternative implementation, the substeps of step S101 may include S1011 to S1012.
S1011, carrying out multi-round primary link training on the transmitting equipment based on a preset step length to obtain a training result of each round of primary link training.
In this embodiment, the primary standard weighting coefficient may be sequentially reduced by a preset step length from the maximum value 1 in the process of multi-round primary link training; alternatively, in the process of multi-round one-level link training, the primary standard weighting coefficient may also be sequentially increased by a preset step from the minimum value (the minimum value is the minimum step k). And the training results can characterize the filtering performance of the transmitting-end equalizer.
Taking the example that the main scale weighting coefficient gradually decreases from the maximum value by a preset step length, please refer to fig. 5, the sub-step of the step S1011 may include S10111 to S10117:
s10111, a primary reset instruction is sent to the sending device, so that the sending device sets the primary standard weighting coefficient to 1 and sets both the front standard weighting coefficient and the rear standard weighting coefficient to 0 based on the primary reset instruction.
It will be appreciated that 1 is considered as s, i.e. the minimum step sizeWhen the value of the main scale weighting coefficient is the maximum value of 1, the other filter coefficients are all 0; when the primary weighting coefficient is the minimum value k, the sum of the absolute values of the remaining filter coefficients is +.>
S10112, receiving and transmitting training frames sent by the transmitting equipment after the filter coefficients are configured.
In this embodiment, the training frame may include control information and training data, wherein the control information may carry the magnitude of each filter coefficient of the adjusted transmit equalizer. And the receiving device receives a training frame representing the first-level link training to complete the current round.
S10113, judging whether the value of the modulus of the main mark weighting coefficient to the preset step length is 0.
In this embodiment, if it is determined that the value of the primary standard weighting coefficient modulo the preset step size is not 0 based on the received training frame of the current round, the following steps S10114 and S10115 are executed, and then the above step S10112 is executed again until the value of the primary standard weighting coefficient modulo the preset step size is 0, and the following steps S10116 to S10118 are executed. Based on the received training frame, if it is determined that the value of the modulus of the principal mark weighting coefficient to the preset step length is 0, the following steps S10116 to S10118 are directly executed.
S10114, determining the values of a plurality of filter coefficients in the next round of primary link training based on the training frame, the first main standard adjustment strategy and the first setting adjustment strategy.
In this embodiment, the first principal mark adjustment policy may be: the primary standard weighting coefficient is reduced by a preset step length in each round of primary link training, namely, the primary standard weighting coefficient is reduced by the preset step length round by round in the process of multi-round primary link training. The first set adjustment strategy may be used to determine the amount of change in the pre-label weighting factor and/or the change in the post-label weighting factor in the next round of primary link training.
The receiving device may immediately receive the training frame sent by the sending device, and calculate, based on the first main standard adjustment policy and the first setting adjustment policy, the value of each filter coefficient in the next-round primary link line on the basis of the size of each filter coefficient carried in the training frame in the current round. After determining the variation of the main scale weighting coefficient, the receiving device may calculate the variation of the other filter coefficients by using the first setting adjustment policy based on the variation of the main scale weighting coefficient. Two possible ways are presented below:
In a first alternative implementation, when the number of the pre-label weighting coefficients and the post-label weighting coefficients are equal, the first setting adjustment policy may be: and reducing the filter coefficients except the main standard weighting coefficient in the training frame received in the current round by one average step length to obtain the values of the other filter coefficients in the next round of primary link training. The average step size is the ratio of the amount of change in the primary weighting coefficient to the number of other filter coefficients.
That is, after receiving the training frame of the current round sent by the sending device, the receiving device reduces the main standard weighting coefficient by a preset step length and reduces the average step length of other filter coefficients on the basis of the size of each filter coefficient carried in the training frame, so as to obtain the values of a plurality of filter coefficients of the next round of primary link training. As such, each other filter coefficient is decremented on average during the course of the multiple rounds of primary link training.
For example, consider 1 as 128 copies, i.e., the minimum step sizeIf the preset step length is +.>Taking 3tap and 3tap as examples, the receiving device calculates a plurality of filter coefficients in the next round of primary link training as follows:
1. Under the condition that the transmitting equalizer is 3tap, after receiving a training frame of the current round sent by the transmitting device, the receiving device reduces the main scale weighting coefficient by 16k and reduces the other filter coefficients by 8k on the basis of the size of each filter coefficient carried in the training frame;
2. in the case that the transmission equalizer is 5tap, after receiving the training frame of the current round sent by the sending device, the receiving device reduces the primary standard weighting coefficient by 16k and reduces the other filter coefficients by 4k on the basis of the size of each filter coefficient carried in the training frame.
In a second alternative implementation, the first setting adjustment policy may be: and reducing the pre-mark weighting system or the post-mark weighting coefficient by a preset step length. Namely: the pre-label weighting system and the post-label weighting coefficient are alternately reduced in the process of multi-round one-level link training.
That is, after the n-1 th round of primary link training, the receiving device performs the n-1 th round of primary link training by reducing the preset step length on the basis of the n-1 th round of training frames by the main mark weighting coefficient and a pre-mark weighting system; then, after the nth round of first-stage link training, the receiving device continuously carries out the (n+1) th round of first-stage link training by reducing the preset step length on the basis of the training frame of the nth round of the main standard weighting coefficient and a post standard weighting system.
The two first setting adjustment strategies illustrated above are only examples, and in practical applications, other manners may be adopted, which are not limited by the present invention.
S10115, based on the values of the filter coefficients in the next round of primary link training, sending a first adjustment instruction to the sending device, so that the sending device configures the filter coefficients based on the first adjustment instruction.
In this embodiment, the transmitting device executes the first adjustment instruction, so that the size of each filter coefficient may be configured as the value size of each filter coefficient carried in the first adjustment instruction.
S10116, based on the training frame and the first setting adjustment strategy, sending a configuration instruction to the sending device, so that the sending device sets the main scale weighting coefficient to be the minimum step length and adjusts the front scale weighting coefficient and/or the rear scale weighting coefficient based on the configuration instruction.
S10117, receiving and transmitting the training frame sent by the transmitting equipment after the filter coefficient is adjusted, and judging that the multi-round primary link training is completed.
It will be appreciated that, based on the received training frame, if it is determined that the value of the primary standard weighting coefficient modulo the preset step size is 1, the process of the last round of one-level link training is entered, i.e. steps S10115 and S10116 are executed.
S10118, evaluating the signal quality of training data in a training frame corresponding to each round of primary link training, and obtaining a training result of each round of primary link training.
Alternatively, the signal quality of the training frame corresponding to each round of primary link training may be determined by the bit error rate of the training data in the training frame or the eye width and eye height of the signal eye diagram.
S1012, based on the training result of each round of primary link training, the optimal solution interval information is determined.
In this embodiment, after the signal quality of training data in the training frames corresponding to each round of primary link training is evaluated, a first training frame with the best signal quality and a second training frame with the second signal quality can be determined, and the optimal solution interval information can be determined based on the magnitudes of a plurality of filter coefficients carried by the first training frame and the second training frame.
In an alternative implementation manner, after the optimal solution interval information is determined by performing multiple rounds of primary link training on the sending device, multiple rounds of secondary link training may be performed on the sending device to determine an optimal solution of each filter coefficient. Correspondingly, the substeps of the step S102 may include S1021 to S1022.
S1021, performing multi-round secondary link training on the transmitting equipment based on the optimal solution interval and the minimum step length of the main label weighting coefficient to obtain a training result of each round of secondary link training.
In this embodiment, in the process of multi-round two-level link training, the primary standard weighting coefficient may sequentially decrease the minimum step length from the upper limit value of the optimal solution interval to the lower limit value of the optimal solution interval; or, in the process of multi-round one-level link training, the standard weighting coefficient can also be increased from the lower limit value of the optimal solution interval to the upper limit value of the optimal solution interval in sequence. The training result can also represent the filtering performance of the transmitting-end equalizer.
Taking the example that the main scale weighting coefficient gradually decreases from the upper limit value of the optimal solution interval to the minimum step size as shown in fig. 6, the substeps of the step S1021 may include steps S10211 to S10217:
s10211, sending a secondary reset instruction to the sending device, so that the sending device sets the main scale weighting coefficient as the upper limit value of the optimal solution interval based on the secondary reset instruction, and adjusts the values corresponding to the front scale weighting coefficient and the rear scale weighting coefficient as the upper limit value.
S10212, receiving training frames sent by the sending equipment after the filter coefficients are configured;
In this embodiment, the control information of the training frame also carries the magnitude of each filter coefficient of the adjusted transmit equalizer. And the receiving device receives a training frame representing the completion of the secondary link training for the current round.
S10213, judging whether the main scale weighting coefficient is equal to the lower limit value of the optimal solution interval.
In this embodiment, if it is determined that the principal-weighted coefficient is not equal to the lower limit value of the optimal solution interval based on the received training frame, the following step S10214 is performed, and then the above step S10212 is performed again until the principal-weighted coefficient is equal to the lower limit value of the optimal solution interval, and the following step S10215 is performed. Based on the received training frame, if it is determined that the principal scale weighting coefficient is equal to the lower limit value of the optimal solution interval, the following step S10215 is directly performed.
S10214, determining the values of a plurality of filter coefficients in the next round of secondary link training based on the training frame, the second main standard adjustment strategy and the second setting adjustment strategy.
In this embodiment, the second main label adjustment policy may be: the primary standard weighting coefficient is reduced by the minimum step length in each round of secondary link training, and the first setting adjustment strategy can be used for determining the variation of the front standard weighting coefficient and/or the variation of the rear standard weighting coefficient in the next round of secondary link training.
Optionally, the second setting adjustment policy may be: the pre-label weighting system or the post-label weighting coefficient is reduced by the minimum step, i.e. the pre-label weighting system and the post-label weighting coefficient are alternately reduced in the process of multi-round two-level link training.
Therefore, after the n-1 th round of secondary link training is completed, the receiving equipment performs the n-1 th round of primary link training by reducing the minimum step length of the main mark weighting coefficient and one post mark weighting system on the basis of the n-1 th round of training frame; then, after the second-level link training of the nth round is completed, the receiving device continuously carries out the first-level link training of the (n+1) th round by reducing the minimum step length of the main scale weighting coefficient and a post scale weighting system on the basis of the training frame of the nth round.
S10215, sending a second adjustment instruction to the sending equipment based on the values of the plurality of filter coefficients in the next round of secondary link training, so that the sending equipment configures the filter coefficients based on the second adjustment instruction;
in this embodiment, the sending device executes the second adjustment instruction, so that the size of each filter coefficient may be configured as the value size of each filter coefficient carried in the second adjustment instruction.
S10216, judging that the multi-round secondary link training is completed, and obtaining a training frame corresponding to each round of secondary link training.
S10217, evaluating the signal quality of training data in a training frame corresponding to each round of secondary link training, and obtaining a training result of each round of secondary link training.
Alternatively, the signal quality of the training frame corresponding to each round of secondary link training may be determined by the bit error rate of the training data in the training frame or the eye width and eye height of the signal eye diagram.
S1022, determining the optimal solution of the filter coefficients based on the training result of each round of secondary link training.
In this embodiment, after the signal quality of training data in the training frames corresponding to each round of two-level link training is evaluated, a target training frame with the best signal quality may be determined, where the sizes of multiple filter coefficients carried by the target training frame are the optimal solutions of the filter coefficients.
Taking a 3tap transmit equalizer as an example, consider 1 as 128 parts (minimum step size) If link training is based on minimum step size in the prior art, 127 rounds would be ideally requiredThe link training can traverse all values of the main scale weighting coefficients, but 127 rounds of link training can not be actually performed to find out the optimal solution within the duration limit of 500ms, and only the suboptimal solution can be found out.
By adopting the link training method provided by the invention, the preset step length is set asThen, referring to fig. 7, the following 4 steps are required:
(1) Based on a preset step length 16k, 8 rounds of primary link training are firstly carried out;
(2) The signal quality of training data in training frames corresponding to 8 rounds of primary link training is evaluated as shown in figure 8, and the optimal solution interval of the main scale weighting coefficient can be determined to be [112k,128k ]]Letter, i.e
(3) Based on minimum step sizeOptimal solution interval of main scale weighting coefficient +.>Carrying out 16 rounds of secondary link training on the basis of the step (a);
(4) The signal quality of training data in the training frame corresponding to 16 rounds of secondary link training is evaluated as shown in FIG. 9, and the optimal solution of the principal sign weighting coefficient can be determined to be 126k, namely
As can be seen from fig. 7, the present invention only needs 25 rounds of link training to determine the optimal solution of the main label weighting coefficient, and compared with the training mode that only the suboptimal solution can be found in the prior art, the link training method provided by the present invention can determine the optimal solution of the main label weighting coefficient, can realize a better link training result and effectively save the time of link training, so that the transmitting equalizer can have the best filtering effect to optimize the link stability and effectively reduce the bit error rate.
It should be noted that the foregoing examples are only examples, and the actual sizes of the minimum step and the preset step are based on the actual application, which is not limited in the present invention. The execution sequence of each step in the above method embodiment is not limited by the figure, and the execution sequence of each step is based on the actual application situation.
In order to perform the corresponding steps in the above method embodiments and in each possible implementation manner, an implementation manner of the link training device is given below.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a link training device according to an embodiment of the present invention. The link training device 200 is applied to a receiving device, the receiving device is in communication connection with a transmitting device, and the transmitting device comprises a transmitting equalizer; the transmit equalizer includes a plurality of filter coefficients. The link training apparatus 200 includes: a primary training module 210, a secondary training module 220, and a transmission setup module 230.
The primary training module 210 is configured to perform multiple rounds of primary link training on the transmitting device based on a preset step length, so as to obtain optimal solution interval information of multiple filter coefficients;
the second-level training module 220 is configured to perform multiple rounds of second-level link training on the transmitting device based on the optimal solution interval information and the minimum step length, so as to obtain an optimal solution of multiple filter coefficients;
A transmission setting module 230, configured to transmit a setting instruction to the transmitting device, so that the transmitting device sets the plurality of filter coefficients of the transmission equalizer to be the optimal solution based on the setting instruction; the transmitting equalizer is used for performing filtering processing on a signal to be transmitted, which needs to be transmitted to the receiving equipment, based on the set multiple filter coefficients so as to eliminate intersymbol interference of the signal to be transmitted.
It will be apparent to those skilled in the art that the primary training module 210 may be used to implement the step S101 and its sub-steps, and the secondary training module 220 may be used to implement the step S102 and its sub-steps. For convenience and brevity, the specific working process of the link training device 200 described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a receiving device according to an embodiment of the present invention. The receiving device 300 comprises a processor 310, a memory 320 and a bus 330, the processor 310 being connected to the memory 320 via the bus 330.
Memory 320 may be used to store software programs, for example, corresponding to link training device 200 as provided by embodiments of the present invention. Processor 310 performs various functional applications and data processing by running software programs stored in memory 320 to implement the link training method as provided by embodiments of the present invention.
The Memory 320 may be, but is not limited to, random access Memory (Random Access Memory, RAM), read Only Memory (ROM), flash Memory (Flash), programmable Read Only Memory (Programmable Read-Only Memory, PROM), erasable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable Read Only Memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
The processor 310 may be an integrated circuit chip with signal processing capabilities. The processor 310 may be a general-purpose processor including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
It is to be understood that the structure shown in fig. 11 is merely illustrative, and the receiving apparatus 300 may further include more or less components than those shown in fig. 11, or have a different configuration from that shown in fig. 11. The components shown in fig. 11 may be implemented in hardware, software, or a combination thereof.
The embodiment of the invention also provides a computer readable storage medium, and a computer program is stored on the computer readable storage medium, and when the computer program is run by a processor, the link training method disclosed in the embodiment is realized. The computer readable storage medium may be, but is not limited to: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, RAM, PROM, EPROM, EEPROM, FLASH magnetic disk or an optical disk.
In summary, the embodiments of the present invention provide a link training method, apparatus, receiving device, and computer readable storage medium, where the receiving device performs multiple rounds of first-level link training on a transmitting device based on a preset step length to obtain optimal solution interval information of multiple filter coefficients of a transmitting equalizer, and then performs multiple rounds of second-level link training on the transmitting device based on the optimal solution interval information and a minimum step length to obtain optimal solutions of multiple filter coefficients; and finally, setting the plurality of filter coefficients of the transmission equalizer to be optimal solutions by using a setting instruction. In this way, after the receiving device performs multi-round primary link training on the transmitting device based on a preset step length to obtain the optimal solution interval information, and then performs multi-round secondary link training on the transmitting device based on a minimum step length to obtain the optimal solution of a plurality of filter coefficients, so that the transmitting equalizer can be ensured to perform filtering processing on a signal to be transmitted, which is required to be transmitted to the receiving device, based on the set plurality of filter coefficients, so that inter-symbol interference of the signal to be transmitted is better eliminated, and the true integrity of the signal transmitted to the receiving device is ensured.
The present invention is not limited to the above embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. A link training method, characterized by being applied to a receiving device, the receiving device being communicatively connected to a transmitting device, the transmitting device comprising a transmitting equalizer; the transmit equalizer includes a plurality of filter coefficients; the method comprises the following steps:
performing multi-round primary link training on the sending equipment based on a preset step length to obtain optimal solution interval information of the plurality of filter coefficients;
based on the optimal solution interval information and the minimum step length, performing multi-round secondary link training on the sending equipment to obtain an optimal solution of the plurality of filter coefficients;
transmitting a setting instruction to the transmitting apparatus so that the transmitting apparatus sets each of a plurality of filter coefficients of the transmission equalizer to an optimal solution based on the setting instruction; the transmitting equalizer is used for performing filtering processing on a signal to be transmitted, which needs to be transmitted to the receiving equipment, based on the set multiple filter coefficients so as to eliminate intersymbol interference of the signal to be transmitted.
2. The method of claim 1, wherein the plurality of filter coefficients comprises a principal scale weighting coefficient, at least one front scale weighting coefficient, and at least one rear scale weighting coefficient;
the step of performing multi-round primary link training on the sending device based on a preset step length to obtain optimal solution interval information of the plurality of filter coefficients includes:
based on the preset step length, carrying out multi-round primary link training on the sending equipment to obtain a training result of each round of primary link training; the main scale weighting coefficient is sequentially reduced by the preset step length from the maximum value in the process of the multi-round primary link training; the training result represents the filtering performance of the transmitting-end equalizer;
and determining the optimal solution interval information based on the training result of each round of primary link training.
3. The method of claim 1, wherein the plurality of filter coefficients comprises a principal scale weighting coefficient, at least one front scale weighting coefficient, and at least one rear scale weighting coefficient; the optimal solution interval information comprises an optimal solution interval of the main scale weighting coefficient;
the step of performing multi-round two-stage link training on the transmitting device based on the optimal solution interval information and the minimum step length to obtain an optimal solution of the plurality of filter coefficients includes:
Based on the optimal solution interval of the main scale weighting coefficient and the minimum step length, carrying out multi-round secondary link training on the sending equipment to obtain a training result of each round of secondary link training; the main scale weighting coefficient is sequentially reduced by the minimum step length from the upper limit value of the optimal solution interval in the process of multi-round secondary link training;
and determining an optimal solution of the plurality of filter coefficients based on a training result of each round of the secondary link training.
4. The method according to claim 2, wherein the step of performing multiple rounds of primary link training on the transmitting device based on the preset step length to obtain a training result of each round of primary link training includes:
transmitting a primary reset instruction to the transmitting device, so that the transmitting device sets the primary weighting coefficient to 1 and sets both the front weighting coefficient and the rear weighting coefficient to 0 based on the primary reset instruction;
receiving a training frame sent by the sending equipment after the filter coefficient is configured; the training frame carries the size of each filter coefficient of the transmit equalizer; the receiving equipment receives a first-level link training of which the training frame represents that the current round is completed;
Judging whether the value of the main mark weighting coefficient modulo the preset step length is 0 or not;
if the value of the primary standard weighting coefficient modulo the preset step length is not 0, determining the values of the filter coefficients in the next round of primary link training based on the training frame, a first primary standard adjustment strategy and a first setting adjustment strategy; the first main scale adjustment strategy is to reduce the preset step length in each round of primary link training of the main scale weighting coefficient, and the first setting adjustment strategy is used for determining the variation of the front scale weighting coefficient and/or the variation of the rear scale weighting coefficient in the next round of primary link training;
transmitting a first adjustment instruction to the transmitting device based on the values of the plurality of filter coefficients in the next round of primary link training, so that the transmitting device configures the filter coefficients based on the first adjustment instruction;
returning to the step of receiving the training frame sent by the sending device after the filter coefficient is configured, until the value of the primary standard weighting coefficient modulo the preset step length is 0, sending a configuration instruction to the sending device based on the training frame and the first setting adjustment strategy, so that the sending device sets the primary standard weighting coefficient as the minimum step length based on the configuration instruction and adjusts the front standard weighting coefficient and/or the rear standard weighting coefficient;
Receiving a training frame sent by the sending equipment after the filter coefficient is configured, and judging that the multi-round primary link training is completed;
and evaluating the signal quality of training data in a training frame corresponding to each round of primary link training to obtain a training result of each round of primary link training.
5. The method of claim 3, wherein the optimal solution interval information further includes a magnitude of each of the pre-label weighting coefficients and each of the post-label weighting coefficients corresponding to an upper limit and a lower limit of the optimal solution interval, respectively;
the step of performing multi-round secondary link training on the transmitting device based on the optimal solution interval of the main scale weighting coefficient and the minimum step length to obtain a training result of each round of secondary link training comprises the following steps:
a second-level reset instruction is sent to the sending equipment, so that the sending equipment sets the main scale weighting coefficient as the upper limit value of the optimal solution interval based on the second-level reset instruction, and adjusts the pre-scale weighting coefficient and the post-scale weighting coefficient to be the numerical value corresponding to the upper limit value;
receiving a training frame sent by the sending equipment after the filter coefficient is configured; the training frame carries the size of each filter coefficient of the transmit equalizer; the receiving equipment receives a second-level link training of which the training frame represents that the current round is completed;
Judging whether the main scale weighting coefficient is equal to the lower limit value of the optimal solution interval;
if the main scale weighting coefficient is not equal to the lower limit value of the optimal solution interval, determining the values of the filter coefficients in the next round of secondary link training based on the training frame, a second main scale adjustment strategy and a second setting adjustment strategy; the second main scale adjustment strategy is used for reducing the minimum step length of the main scale weighting coefficient in each round of secondary link training, and the first setting adjustment strategy is used for determining the variation of the front scale weighting coefficient and/or the variation of the rear scale weighting coefficient in the next round of secondary link training;
transmitting a second adjustment instruction to the transmitting device based on the values of the plurality of filter coefficients in the next round of secondary link training, so that the transmitting device configures the filter coefficients based on the second adjustment instruction; returning to the step of executing the training frame sent by the sending equipment after the filter coefficient is configured, and judging that the multi-round secondary link training is completed when the main scale weighting coefficient is equal to the lower limit value of the optimal solution interval, so as to obtain a training frame corresponding to each round of secondary link training;
And evaluating the signal quality of training data in a training frame corresponding to each round of secondary link training to obtain a training result of each round of secondary link training.
6. The method of claim 4, wherein the principal scale weighting factor is a positive number, and the front scale weighting factor and the rear scale weighting factor are both non-positive numbers; the sum of the absolute values of the main mark weight coefficient, each front mark weight coefficient and each rear mark weight coefficient is 1;
when the number of the pre-target weighting coefficients and the number of the post-target weighting coefficients are equal, the first setting adjustment strategy is to reduce average step sizes of other filter coefficients except the main target weighting coefficients in the training frame; the average step length is the ratio of the variation of the main scale weighting coefficient to the number of other filter coefficients;
or, the first setting adjustment strategy is to reduce the pre-mark weighting system or the post-mark weighting coefficient in the training frame by the preset step length; the pre-cursor weighting system and the post-cursor weighting coefficient are alternately reduced during the multi-round primary link training.
7. The method of claim 5, wherein the principal scale weighting factor is a positive number, and the front scale weighting factor and the rear scale weighting factor are both non-positive numbers; the sum of the absolute values of the main mark weight coefficient, each front mark weight coefficient and each rear mark weight coefficient is 1;
The second setting adjustment strategy is to reduce the pre-label weighting system or the post-label weighting coefficient by the minimum step length; the pre-cursor weighting system and the post-cursor weighting coefficient are alternately reduced during the multiple rounds of secondary link training.
8. A link training apparatus, characterized by being applied to a receiving device, said receiving device being communicatively connected to a transmitting device, said transmitting device comprising a transmit equalizer; the transmit equalizer includes a plurality of filter coefficients; the device comprises:
the first-stage training module is used for carrying out multi-round first-stage link training on the sending equipment based on a preset step length to obtain optimal solution interval information of the filter coefficients;
the second-level training module is used for carrying out multi-round second-level link training on the sending equipment based on the optimal solution interval information and the minimum step length to obtain an optimal solution of the plurality of filter coefficients;
a transmission setting module configured to transmit a setting instruction to the transmission apparatus, so that the transmission apparatus sets a plurality of filter coefficients of the transmission equalizer to an optimal solution based on the setting instruction; the transmitting equalizer is used for performing filtering processing on a signal to be transmitted, which needs to be transmitted to the receiving equipment, based on the set multiple filter coefficients so as to eliminate intersymbol interference of the signal to be transmitted.
9. A receiving apparatus, comprising: a memory storing a software program that when executed by the receiving device performs the link training method of any of claims 1-7, and a processor.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the link training method of any of claims 1-7.
CN202311293788.5A 2023-10-08 2023-10-08 Link training method, device, receiving equipment and computer readable storage medium Pending CN117294323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311293788.5A CN117294323A (en) 2023-10-08 2023-10-08 Link training method, device, receiving equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311293788.5A CN117294323A (en) 2023-10-08 2023-10-08 Link training method, device, receiving equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117294323A true CN117294323A (en) 2023-12-26

Family

ID=89256880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311293788.5A Pending CN117294323A (en) 2023-10-08 2023-10-08 Link training method, device, receiving equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117294323A (en)

Similar Documents

Publication Publication Date Title
US11539556B2 (en) Methods and circuits for asymmetric distribution of channel equalization between devices
US9935800B1 (en) Reduced complexity precomputation for decision feedback equalizer
EP1540820B1 (en) Method and apparatus for channel equalization
CN110858824B (en) Pre-compensator based quantization for clock recovery
US20100020860A1 (en) Methods And Apparatus For Joint Adaptation Of Transmitter Transversal Filter In Communication Devices
WO2005071848A1 (en) Fully adaptive equalization for high loss communications channels
US8804794B2 (en) Adjustable latency transceiver processing
US6621862B1 (en) Equalization for multichannel receiving node
US8036305B2 (en) Precoder design for different channel lengths
CN113973033B (en) Equalizer with adaptation based on disturbance effects
WO2009003129A2 (en) Methods and circuits for adaptive equalization and channel characterization using live data
US11005567B2 (en) Efficient multi-mode DFE
CN117294323A (en) Link training method, device, receiving equipment and computer readable storage medium
US8054875B2 (en) Autoregressive moving average modeling for feedforward and feedback Tomlinson-Harashima precoder filters
CN108616466B (en) Channel parallel equalization method and device
KR100839243B1 (en) Method and apparatus to reduce crosstalk in a mimo communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination