The present invention relates to the field of high-speed interface technology, and discloses a channel binding method, apparatus, device, medium, and program product. The method is applied to the receiving direction of an
FPGA chip, and includes the following steps: obtaining a
data transmission protocol and confirming the number of channels according to the
data transmission protocol; confirming a
primary channel and a secondary channel based on the number of channels; when the
primary channel receives target data and confirms the target frame header of the target data, controlling the
primary channel to send an alignment
signal; and transmitting the alignment
signal to the secondary channel via the entire Internet; when the secondary channel receives the alignment
signal, adjusting the first-in-first-out
queue read pointer corresponding to the secondary channel so that the secondary channel is aligned with the primary channel; after the first-in-first-out
queue read pointers corresponding to each secondary channel are adjusted, reading data from the first-in-first-out
queue corresponding to the secondary channel and outputting it from the
data port in the receiving direction of the
physical coding sublayer. The method can adapt to the number of bound channels required by different protocols, greatly increasing the flexibility of channel binding.