DATA ROUTING METHOD AND APPARATUS
FIG5 is a schematic structural diagram of a processing unit according to an embodiment of this application
In the foregoing apparatus, the processing unit 402 may be divided into a route unit (Route), a separation unit (DeMUX), and a packet assembly unit (MUX) based on a logical function, which are shown in FIG5.
schematic structural diagram
5
step
400
routing apparatus
4
step
403
output port output ports
402
processing unit
401
input port input ports
['10. A routing apparatus, wherein the apparatus comprises an input port, a processing unit, and an output port; wherein the input port is configured to receive data; the processing unit is configured to: determine a data bearer protocol attribute of the input port; and determine, based on the data bearer protocol attribute of the input port, an attribute of the data received by the input port, wherein when the data bearer protocol attribute of the input port is the common public radio interface CPRI protocol, the attribute of the data is an Internet  Protocol IP attribute or an in-phase/quadrature IQ attribute, or when the data bearer protocol attribute of the input port is the Ethernet protocol, the attribute of the data is an IP attribute; determine, based on the attribute of the data, the data bearer protocol attribute of the output port used to output the data, wherein when the attribute of the data is the IP attribute, the data bearer protocol attribute of the output port is the CPRI protocol or the Ethernet protocol, or when the attribute of the data is the IQ attribute, the data bearer protocol attribute of the output port is the CPRI protocol; determine, based on the data bearer protocol attribute of the output port, the output port used to output the data; and send, to the determined output port, the data received from the input port; and the output port is configured to output the data sent by the processing unit.']