Patent ID: 11563521

Abstract:
A method of data processing is applied to a communications device including a first sublayer. A physical sublayer is added above a physical coding sublayer (PCS) of a physical layer, and the physical sublayer is connected to media independent interfaces (xMIIs) with different Ethernet rates. Data signals from different media access control clients (MAC) are interleaved using the physical sublayer. Then, a tx_cmd command is used to instruct the PCS to correspondingly encode an xMII signal. Finally, an encoded xMII signal is sent through a port. According to this method, an encoding function of the PCS may continue to be used, to decouple interleaving from encoding and perform the interleaving through an xMII interface. In this case, port channelization can be implemented for ports with multiple rates, and transmission of a high-priority service is ensured when there is an excessively large quantity of service flows in a transmission process.