Data Routing Method and Apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsJun Zhang, Xingguo Wu
Life of this patent
Estimating the term…
Abstract
A data routing method used to implement data routing in a communications system in which a plurality of networks that use different data bearer protocols are integrated is produced. The method includes: a routing apparatus receives data by using an input port, and determines a data bearer protocol attribute of the input port; the routing apparatus determines an attribute of the data based on the data bearer protocol attribute of the input port; the routing apparatus determines based on the attribute of the data, a data bearer protocol attribute of an output port used to output the data; and determines based on the data bearer protocol attribute of the output port, the output port used to output the data, and outputting the data by using the determined output port.
Claims19
A method, comprising:
- receiving, by an apparatus, data using an input port, and determining a data bearer protocol attribute of the input port;
- determining, by the apparatus, an attribute of the data based on the data bearer protocol attribute of the input port, wherein:
- when the data bearer protocol attribute of the input port is a common public radio interface (CPRI) protocol, the attribute of the data is an Internet Protocol (IP) attribute or an in-phase/quadrature (I/Q) attribute;
- or
- when the data bearer protocol attribute of the input port is an Ethernet protocol, the attribute of the data is an IP attribute;
- determining, by the apparatus based on the attribute of the data, a data bearer protocol attribute of an output port to be 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 to be used to output the data is determined to be the CPRI protocol or the Ethernet protocol;
- or
- when the attribute of the data is the I/Q attribute, the data bearer protocol attribute of the output port to be used to output the data is determined to be the CPRI protocol;
- determining, by the apparatus based on the data bearer protocol attribute of the output port to be used to output the data, the output port to be used to output the data;
- and
- outputting the data using the determined output port.
An apparatus, comprising:
- an input port, configured to receive data;
- an output port;
- a processor;
- and
- a non-transitory computer-readable storage medium storing a program to be executed by the processor, the program including instructions for:
- determining a data bearer protocol attribute of the input port;
- and
- determining, 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 a common public radio interface (CPRI) protocol, the attribute of the data is an Internet Protocol (IP) attribute or an in-phase/quadrature (I/Q) attribute;
- or
- when the data bearer protocol attribute of the input port is an Ethernet protocol, the attribute of the data is an IP attribute;
- determine, based on the attribute of the data, a data bearer protocol attribute of the output port to be 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 to be used to output the data is determined to be the CPRI protocol or the Ethernet protocol;
- or
- when the attribute of the data is the I/Q attribute, the data bearer protocol attribute of the output port to be used to output the data is determined to be the CPRI protocol;
- determine, based on the data bearer protocol attribute of the output port to be used to output the data, the output port used to be used to output the data;
- and
- send, to the determined output port, the data received from the input port;
- and
- wherein the output port is configured to output the data.
A computer program product stored in a non-transitory medium, comprising instructions which, when executed by a computer, cause the computer to:
- receive data using an input port;
- determine a data bearer protocol attribute of the input port;
- determine an attribute of the data based on the data bearer protocol attribute of the input port, wherein:
- when the data bearer protocol attribute of the input port is a common public radio interface (CPRI) protocol, the attribute of the data is an Internet Protocol (IP) attribute or an in-phase/quadrature (I/Q) attribute;
- or
- when the data bearer protocol attribute of the input port is an Ethernet protocol, the attribute of the data is an IP attribute;
- determine the data bearer protocol attribute of an output port to be used to output the data based on the attribute of the data, wherein:
- when the attribute of the data is the IP attribute, the data bearer protocol attribute of the output port is determined to be the CPRI protocol or the Ethernet protocol;
- or
- when the attribute of the data is the I/Q attribute, the data bearer protocol attribute of the output port is determined to be the CPRI protocol;
- determine the output port to be used to output the data based on the data bearer protocol attribute of the output port;
- and
- output the data using the determined output port.
Dependencies are inferred from the claim text.