Location detection method and related apparatus
A detection method includes: obtaining a decision feedback equalizer coefficient, where the decision feedback equalizer coefficient includes a tap coefficient; obtaining a decision signal sequence of a decision feedback equalizer; determining a first location of a decision signal of a start of burst error in the decision signal sequence when the tap coefficient is less than or equal to a first preset threshold; and determining a second location of a decision signal of an end of burst error in the decision signal sequence based on the first location.
1 . A location detection method comprising:
obtaining a decision feedback equalizer coefficient comprising a tap coefficient;
obtaining a decision signal sequence of a decision feedback equalizer;
determining a first location of a first decision signal of a start-of-burst error in the decision signal sequence when the tap coefficient is less than or equal to a preset threshold; and
determining a second location of a second decision signal of an end-of-burst error in the decision signal sequence based on the first location.
2 . The location detection method of claim 1 , wherein determining the second location comprises:
determining a first candidate location after the first decision signal and at which the second decision signal appears latest in the decision signal sequence;
determining a first decision region based on the first candidate location and the first location, wherein the first decision region comprises the first candidate location and a third location corresponding to a third decision signal between the first location and the first candidate location; and
determining the second location based on the first decision region.
3 . The location detection method of claim 2 , wherein determining the second location further comprises:
obtaining a first difference corresponding to a fourth decision signal in the first decision region, wherein the first difference is between a sign value of the fourth decision signal and a corresponding equalization value; and
determining, as the second location, a fourth location in the first decision region at which a first positive sign or a first negative sign of a second difference corresponding to a fifth decision signal from the first location to the first candidate location is, for a first time, the same as a second positive sign or a second negative sign of a third difference corresponding to a previously adjacent decision signal.
4 . The location detection method of claim 2 , wherein determining the second location further comprises:
obtaining an error pattern corresponding to a fourth decision signal in the first decision region;
determining an estimated error pattern based on a first difference and the error pattern, wherein the first difference is between a sign value of the fourth decision signal and a corresponding equalization value, and wherein the estimated error pattern is a second difference between the first difference and the error pattern; and
determining a fourth location of a fifth decision signal with a maximum absolute value of the estimated error pattern as the second location.
5 . The location detection method of claim 2 , wherein determining the first candidate location comprises:
obtaining a decision feedback equalizer (DFE) check value corresponding to a fourth decision signal in the decision signal sequence, wherein the DFE check value is based on a sign value of the fourth decision signal and a corresponding estimated error pattern; and
determining a fourth location at which the DFE check value exceeds a preset range as the first candidate location.
6 . The location detection method of claim 2 , further comprising:
determining a fourth location of the second decision signal when the tap coefficient is greater than the preset threshold;
determining a second candidate location before the second decision signal and at which the first decision signal starts to appear in the decision signal sequence; and
determining a fifth location of the first decision signal based on the second candidate location and the third location.
7 . The location detection method of claim 6 , wherein determining the fifth location comprises:
determining a second decision region based on the fourth location and the second candidate location, wherein the second decision region comprises the second candidate location and a sixth location corresponding to a fourth decision signal between the second candidate location and the fourth location;
obtaining a difference corresponding to a fifth decision signal in the second decision region, wherein the difference is between a sign value of the fifth decision signal and a corresponding equalization value; and
determining a seventh location of a sixth decision signal corresponding to a maximum absolute value of the difference as the fourth location.
8 . The location detection method of claim 1 , further comprising correcting a decision signal corresponding to the first location to the second location.
9 . A location detection apparatus comprising:
a non-transitory memory configured to store instructions; and
one or more processors coupled to the non-transitory memory and configured to execute the instructions to cause the location detection apparatus to:
obtain a decision feedback equalizer coefficient comprising a tap coefficient;
obtain a decision signal sequence of a decision feedback equalizer;
determine a first location of a first decision signal of a start-of-burst error in the decision signal sequence when the tap coefficient is less than or equal to a preset threshold; and
determine a second location of a second decision signal of an end-of-burst error in the decision signal sequence based on the first location.
10 . The location detection apparatus of claim 9 , wherein the one or more processors are further configured to execute the instructions to cause the location detection apparatus to determine the second location by:
determining a first candidate location after the first decision signal and at which the second decision signal appears latest in the decision signal sequence;
determining a first decision region based on the first candidate location and the first location, wherein the first decision region comprises the first candidate location and a third location corresponding to a third decision signal between the first location and the first candidate location; and
determining the second location based on the first decision region.
11 . The location detection apparatus of claim 10 , wherein the one or more processors are further configured to execute the instructions to cause the location detection apparatus to further determine the second location by:
obtaining a first difference corresponding to a fourth decision signal in the first decision region, wherein the first difference is between a sign value of the fourth decision signal and a corresponding equalization value; and
determining, as the second location, a fourth location in the first decision region at which a first positive sign or a first negative sign of a second difference corresponding to a fifth decision signal from the first location to the first candidate location is, for a first time, the same as a second positive sign or a second negative sign of a third difference corresponding to a previously adjacent decision signal.
12 . The location detection apparatus of claim 10 , wherein the one or more processors are further configured to execute the instructions to cause the location detection apparatus to further determine the second location by:
obtaining an error pattern corresponding to a fourth decision signal in the first decision region;
determining an estimated error pattern based on a first difference and the error pattern, wherein the first difference is between a sign value of the fourth decision signal and a corresponding equalization value, and wherein the estimated error pattern is a second difference between the first difference and the error pattern; and
determining a fourth location of a fifth decision signal with a maximum absolute value of the estimated error pattern as the second location.
13 . The location detection apparatus of claim 10 , wherein the one or more processors are further configured to execute the instructions to cause the location detection apparatus to determine the first candidate location by:
obtaining a decision feedback equalizer (DFE) check value corresponding to a fourth decision signal in the decision signal sequence, wherein the DFE check value is based on a sign value of the fourth decision signal and a corresponding estimated error pattern; and
determining a fourth location at which the DFE check value exceeds a preset range as the first candidate location.
14 . The location detection apparatus of claim 10 , wherein the one or more processors are further configured to execute the instructions to cause the location detection apparatus to:
determine a fourth location of the second decision signal when the tap coefficient is greater than the preset threshold;
determine a second candidate location before the second decision signal and at which the first decision signal starts to appear in the decision signal sequence; and
determine a fifth location of the first decision signal based on the second candidate location and the third location.
15 . The location detection apparatus of claim 14 , wherein the one or more processors are further configured to execute the instructions to cause the location detection apparatus to:
determine a second decision region based on the fourth location and the second candidate location, wherein the second decision region comprises the second candidate location and a sixth location corresponding to a fourth decision signal between the second candidate location and the fourth location;
obtain a difference corresponding to a fifth decision signal in the second decision region, wherein the difference is between a sign value of the fifth decision signal and a corresponding equalization value; and
determine a seventh location of a sixth decision signal corresponding to a maximum absolute value of the difference.
16 . The location detection apparatus of claim 9 , wherein the one or more processors are further configured to execute the instructions to cause the location detection apparatus to correct a decision signal corresponding to the first location to the second location.
17 . A non-transitory computer-readable storage medium storing a program, that when executed by one or more processors, causes a location detection apparatus to:
obtain a decision feedback equalizer coefficient comprising a tap coefficient;
obtain a decision signal sequence of a decision feedback equalizer;
determine a first location of a first decision signal of a start-of-burst error in the decision signal sequence when the tap coefficient is less than or equal to a preset threshold; and
determine a second location of a second decision signal of an end-of-burst error in the decision signal sequence based on the first location.
18 . The non-transitory computer-readable storage medium of claim 17 , wherein the program, when executed by the one or more processors, further causes the location detection apparatus to:
determine a first candidate location after the first decision signal and at which the second decision signal appears latest in the decision signal sequence;
determine a first decision region based on the first candidate location and the first location, wherein the first decision region comprises the first candidate location and a third location corresponding to a third decision signal between the first location and the first candidate location; and
determine the second location based on the first decision region.
19 . The non-transitory computer-readable storage medium of claim 18 , wherein the program, when executed by the one or more processors, further causes the location detection apparatus to determine the second location by:
obtaining a first difference corresponding to a fourth decision signal in the first decision region, wherein the first difference is between a sign value of the fourth decision signal and a corresponding equalization value; and
determining, as the second location, a fourth location in the first decision region at which a first positive sign or a first negative sign of a second difference corresponding to a fifth decision signal from the first location to the first candidate location is, for a first time, the same as a second positive sign or a second negative sign of a third difference corresponding to a previously adjacent decision signal.
20 . The non-transitory computer-readable storage medium of claim 18 , wherein the program, when executed by the one or more processors, further causes the location detection apparatus to determine the second location by:
obtaining an error pattern corresponding to a fourth decision signal in the first decision region;
determining an estimated error pattern based on a first difference and the error pattern, wherein the first difference is between a sign value of the fourth decision signal and a corresponding equalization value, and wherein the estimated error pattern is a second difference between the first difference and the error pattern; and
determining a fourth location of a fifth decision signal with a maximum absolute value of the estimated error pattern as the second location.