Patent ID: 10615911

Abstract:
This application discloses a data processing method and apparatus. The method includes: distributing, by a first distribution circuit, a first bit stream to FEC encoders 1 to N in a round robin fashion, where digital signals 1 to N that are output after being encoded by the FEC encoders 1 to N are in a one-to-one correspondence with a least significant bit to a most significant bit of an input signal of a PAM circuit, a coding gain GX of an FEC encoder X is greater than a coding gain GY of an FEC encoder Y, 1≤X<Y≤N, N≥2, and X, Y, and N are all integers. In the method, different FEC coding gains can be provided for links with different bit error rates, so that a requirement of a high-rate Ethernet for a high gain during long-distance data transmission is met, and physical-layer resources occupied by FEC are reduced.