| CPC G06F 13/4004 (2013.01) | 11 Claims |

|
1. A data processing method, applied in a system comprising an Ethernet switching chip, an optical module and a Printed Circuit Board (PCB), wherein the optical module comprises multiple Physical Medium Dependence Lane (PMDL) physical link ports, the Ethernet switching chip comprises multiple Physical Coding Sublayer (PCS) channels and multiple Physical Medium Attachment Lanes (PMALs), each PCS channel comprising one or more Physical Coding Sublayer Lane (PCSL) links, each PMAL corresponding to one first data transmission channel, and the multiple PMALs and the multiple PDML physical link ports are connected with each other on the PCB, the data processing method comprising:
receiving first data comprising multiple pieces of second data, wherein each piece of second data carries a channel identifier of the PCS channel that sends the second data, and a link identifier of the PCSL link that sends the second data;
transmitting each piece of second data to a first data transmission channel whose configured channel identifier and link identifier respectively match the channel identifier and the link identifier carried by the piece of second data, wherein the channel identifier and the link identifier of the first data transmission channel are configured according to link cross information that indicates a cross connection relationship between the multiple PMALs and the multiple PDML physical link ports on the PCB, so that the channel identifier and the link identifier of the first data transmission channel are respectively consistent with the channel identifier of the PCS channel and the link identifier of the PCSL link with which the PMDL physical link port connected to the corresponding PMAL is expected to correspond; and
sending the piece of second data of the first data transmission channel to the corresponding PMAL, so that the corresponding PMAL sends the piece of second data to the connected PMDL physical link port.
|