CN109412948B - Baseband unit, base station and data forwarding processing method - Google Patents

Baseband unit, base station and data forwarding processing method Download PDF

Info

Publication number
CN109412948B
CN109412948B CN201710713713.6A CN201710713713A CN109412948B CN 109412948 B CN109412948 B CN 109412948B CN 201710713713 A CN201710713713 A CN 201710713713A CN 109412948 B CN109412948 B CN 109412948B
Authority
CN
China
Prior art keywords
data
module
forwarding
forwarded
transmission interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710713713.6A
Other languages
Chinese (zh)
Other versions
CN109412948A (en
Inventor
杨智奇
吴学德
高石林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710713713.6A priority Critical patent/CN109412948B/en
Publication of CN109412948A publication Critical patent/CN109412948A/en
Application granted granted Critical
Publication of CN109412948B publication Critical patent/CN109412948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/121Shortest path evaluation by minimising delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Abstract

The embodiment of the invention provides a baseband unit, a base station and a data forwarding processing method.A front-end switching module receives data to be forwarded, a forwarding control module performs forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwards the data to a data switching submodule in a transmission interface module when the data to be forwarded to the transmission interface module is determined to exist according to a matching result; the forwarding path matching process is advanced, so when certain data is not sent to the transmission interface module, the data does not need to pass through the data exchange submodule but can be directly sent by the forwarding control module through the front-end exchange module, and the data return process between the data exchange submodule and the forwarding control module is avoided, so that the time delay is reduced, the data transmission quantity in unit time is improved, the bandwidth is further improved, and a user can obtain better experience.

Description

Baseband unit, base station and data forwarding processing method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a baseband unit, a base station, and a data forwarding processing method.
Background
In a wireless base station device, a plurality of physical boards cooperate with each other to complete the function of a base station, based on considerations of security and IP (Internet Protocol) resource saving, communication between the base station and a core network is implemented through a transmission interface module in a baseband unit, an external IP of the base station is configured on the transmission interface module, and the transmission interface module may be a specific physical board or a virtual device (such as a virtual machine or a Docker container). Thus, the transmission interface module is equivalent to a NAT (Network Address Translation) device capable of deeply analyzing a packet.
The existing baseband unit often includes a transmission interface module, a conventional switch module and a baseband processing module, where the transmission interface module includes a network card and a forwarding module, when some data is to be forwarded in the existing baseband unit, the data must be sent to the network card of the transmission interface module by the conventional switch module and transmitted to the forwarding module through the network card of the transmission interface module, so that a forwarding path can be determined, and for the data to be transmitted to the core network or the baseband processing module, after the forwarding path of the data is determined by the forwarding module, the data is transmitted to the network card of the transmission interface module by the forwarding module, that is, a data returning process exists between the forwarding module and the network card, and this returning process increases the time delay of data communication between the core network and the base station, because the time delay increases, the data transferred per unit time is reduced and thus the bandwidth is reduced. With the evolution of mobile services from 4G to 5G, more and more service scenes are required to be supported, and the requirement on the processing performance of the base station is higher and higher. Therefore, how to reduce the time delay in the data transmission process between the base station and the core network and further increase the data amount transmitted in unit time becomes a technical problem to be solved urgently.
Disclosure of Invention
The baseband unit, the base station and the data forwarding processing method provided by the embodiment of the invention mainly solve the technical problems that in the process of data interaction between the existing baseband unit and a core network, only after a transmission interface module receives and transmits data to a forwarding module in the transmission interface module through a network card, the forwarding path matching can be carried out on the data, so that the data which is not required to be transmitted to the transmission interface module also needs to pass through the network card, a data return process exists between the network card of the forwarding module and the network card of the transmission interface module, and the time delay is large, so that the bandwidth is low.
To solve the above technical problem, an embodiment of the present invention provides a baseband unit, including: the system comprises a front-end exchange module, a forwarding control module and a transmission interface module, wherein the transmission interface module comprises a data exchange submodule;
the front-end exchange module is used for receiving data to be forwarded;
the forwarding control module is used for performing forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwarding the data to a data switching submodule of the transmission interface module when the data to be forwarded to the transmission interface module is determined to exist according to a matching result; the forwarding flow table comprises a strategy for determining a forwarding path corresponding to the data.
An embodiment of the present invention further provides a base station, including: a radio frequency unit and a baseband unit as described above.
The embodiment of the invention also provides a data forwarding processing method, which comprises the following steps:
the front-end exchange module receives data to be forwarded;
the forwarding control module performs forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwards the data to a data switching submodule in the transmission interface module when determining that the data to be forwarded to the transmission interface module exists according to a matching result; the forwarding flow table comprises a strategy for determining a forwarding path corresponding to the data.
Embodiments of the present invention further provide a computer storage medium, where one or more programs are stored in the computer storage medium, and the one or more programs may be executed by one or more processors to implement the steps of the data forwarding processing method.
The invention has the beneficial effects that:
according to the baseband unit, the base station, the data forwarding processing method and the computer storage medium provided by the embodiment of the invention, the data to be forwarded is received by the front-end switching module, then the forwarding control module performs forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwards the data to a data switching sub-module in the transmission interface module when the data to be forwarded to the transmission interface module is determined to exist according to a matching result, wherein the forwarding flow table comprises a strategy for determining a forwarding path corresponding to the data; therefore, before a data exchange submodule in the transmission interface module receives certain data, the data is matched through a forwarding path, and due to the fact that the matching process of the forwarding path is advanced, when the certain data is not sent to the transmission interface module, the data does not need to pass through the data exchange submodule but can be directly sent by the forwarding control module through the front-end exchange module, compared with the scheme that the data which does not need to be transmitted to the transmission interface module in the existing scheme is also sent to the forwarding module in the transmission interface module through the data exchange submodule (network card) to carry out path matching, the scheme provided by the embodiment of the invention can avoid the data return process between the data exchange submodule and the forwarding control module, thereby reducing the time delay of data forwarding in the baseband unit and further improving the data transmission amount in unit time, the bandwidth can be further improved, so that the user can obtain better experience.
Drawings
Fig. 1 is a schematic structural diagram of a conventional baseband unit;
fig. 2 is a schematic diagram of a first basic structure of a baseband unit according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of a forwarding control module located in a transmission interface module according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a forwarding control module located in a front-end switching module according to an embodiment of the present invention;
FIG. 5 is a second basic structure diagram of a baseband unit according to a first embodiment of the present invention;
fig. 6 is a schematic structural diagram of a base station according to a first embodiment of the present invention;
fig. 7 is a schematic basic flow chart of a data forwarding processing method in the second embodiment of the present invention;
fig. 8 is a first flowchart of a data forwarding processing method corresponding to fig. 3 according to a second embodiment of the present invention;
fig. 9 is a second flowchart of the data forwarding processing method corresponding to fig. 3 in the second embodiment of the present invention;
fig. 10 is a first flowchart of a data forwarding processing method corresponding to fig. 4 according to a second embodiment of the present invention;
fig. 11 is a second flowchart of the data forwarding processing method corresponding to fig. 4 in the second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The first embodiment is as follows:
when a base station communicates with a core network, the base station usually implements data interaction with the core network through a baseband unit thereof, please refer to fig. 1, where fig. 1 is a schematic structural diagram of an existing baseband unit, the existing baseband unit usually includes a transmission interface module 11, a conventional switching module 12, and a baseband processing module 13, and the forwarding path matching of the data can be performed only after the transmission interface module 11 receives the data through a network card 111 thereof, for example, when the conventional switching module 12 receives the data sent by the core network, the data is sent to the network card 111 of the transmission interface module 11, and then the data is sent to a forwarding module 112 in the transmission interface module 11 through the network card 111 of the transmission interface module 11, and the forwarding module 112 performs the forwarding path matching of the data, and when it is determined that there is data to be sent to the baseband processing module 13, the data is sent to the network card 111 of the transmission interface module 11, then sent to the conventional switching module 12 by the network card 111 of the transmission interface module 11, and finally sent to the baseband processing module 13 by the conventional switching module 12, so that there is a problem that the data sent to the baseband processing module 13 has a backhaul process in the transmission interface module 11, the data needs to be sent to the forwarding module 112 by the network card 111 of the transmission interface module 11, and sent to the network card 111 of the transmission interface module 11 by the forwarding module 112, and this backhaul process increases the time delay for data communication between the core network and the base station, and since the time delay increases, the data transmitted in unit time decreases, and thus the bandwidth is relatively low. Similarly, when the conventional switch module 12 receives the data sent by the baseband processing module 13, the data is sent to the network card 111 of the transmission interface module 11, then the network card 111 of the transmission interface module 11 is sent to the forwarding module 112 in the transmission interface module 11, the forwarding module 112 performs forwarding path matching on the data, and when it is determined that there is data to be sent to the core network, the data is sent to the network card 111 of the transmission interface module 11, then the network card 111 of the transmission interface module 11 is sent to the conventional switch network card 111, and finally the data is sent to the core network by the conventional switch module 12, so that data interaction between the baseband unit and the core network is realized, at this time, there is also a backhaul process for the data to be sent to the core network.
Therefore, in order to solve the problem that in the process of data interaction between the existing baseband unit and the core network, only after the transmission interface module receives and sends data to the forwarding module in the transmission interface module through the network card, the forwarding path matching can be performed on the data, so that the data which is not required to be transmitted to the transmission interface module must also pass through the network card, and a data return process exists between the forwarding module and the network card of the transmission interface module, which results in a large delay and a low bandwidth, the present embodiment provides a baseband unit, please refer to fig. 2, the baseband unit 20 provided in the present embodiment includes a front end switching module 21, a forwarding control module 22, and a transmission interface module 23, wherein the transmission interface module 23 includes a data exchange sub-module 231, and the transmission interface module 23 performs data interaction with the outside through the data exchange sub-module 231, for example, the data transmitted by the front-end switching module 21 may be received by the data switching submodule 231.
The front-end switching module 21 in this embodiment is configured to receive data to be forwarded, and the forwarding control module 22 is configured to perform forwarding path matching on the data received by the front-end switching module 21 according to a preset forwarding flow table, and forward the data to the data switching sub-module 231 of the transmission interface module 23 when it is determined that the data to be forwarded to the transmission interface module 23 exists according to a matching result, where the forwarding flow table includes a policy for determining a forwarding path corresponding to the data.
It should be noted that the data to be forwarded received by the front-end switching module 21 and the data to be forwarded to the transmission interface module 23 determined to exist according to the matching result may not be the same data, and may of course be the same data, where a case of not being the same data is described here, and the forwarding flow table at this time may include a policy for determining a forwarding path corresponding to the data, and may also include a policy for determining the forwarding data corresponding to the forwarding path. When the front-end switching module 21 receives the first data to be forwarded, the process that the forwarding control module 22 performs forwarding path matching on the first data according to a preset forwarding flow table, and determines that there is second data to be forwarded to the transmission interface module 23 according to a matching result may include:
the forwarding control module 22 performs forwarding processing on the first data according to a preset forwarding flow table to obtain second data, determines the second data as current forwarding data, and determines a forwarding path corresponding to the forwarding data (second data) according to the preset forwarding flow table;
or the like, or, alternatively,
after determining a forwarding path corresponding to the first data according to a preset forwarding flow table, the forwarding control module 22 performs forwarding processing on the first data to obtain second data, and determines the second data as current forwarding data.
It should be understood that the forwarding processing in this embodiment includes, but is not limited to, parsing, modifying, discarding, and the like, the first data is generally some packets, that is, the first data may be encrypted and decrypted, a header of the packet may be modified, a timestamp may be added to the packet, second data may be obtained after parsing or modifying the first data, the forwarding control module 22 may forward the second data, and certainly, some first data that does not meet a preset rule may also be directly discarded, matching of the forwarding paths is involved in the process of determining the forwarding paths, for example, the forwarding flow table may include a corresponding relationship between data and the forwarding paths, for example, data of a control plane may be transmitted to an upper layer, data of a data plane may be transmitted to a lower layer, and after a certain data is successfully matched to the forwarding path, the source IP address of the data may be replaced with a destination IP address according to the forwarding path, and the source MAC (Media Access Control) address is replaced with a destination MAC address, and then the forwarding Control module 22 may forward the data according to the destination IP address and the destination MAC address; the process of matching data with a forwarding path may follow a multi-stage matching rule, each stage of search hit (hit) may perform corresponding processing on the data, and all data failed to be searched may be directly discarded, or directly forwarded to the front-end switching module 21, for example, a MAC address corresponding to a certain data may be matched with a table of correspondence between pre-stored MAC addresses and forwarding paths, and if the search hit occurs, the forwarding path corresponding to the data may be determined.
It should be further noted that the forwarding control module 22 in this embodiment may be a module independent from the front-end switching module 21 and the transmission interface module 23 in this embodiment, and the forwarding control module 22 shown in fig. 2 is independent from the front-end switching module 21 and the transmission interface module 23.
Of course, the forwarding control module 22 in this embodiment may also be located in the transmission interface module 23, or may also be located in the front-end switching module 21.
Here, a case where the forwarding control module 22 is located in the transmission interface module 23 will be first described.
Referring to fig. 3, the forwarding control module 22 is located in the transmission interface module 23, and the baseband unit 20 shown in fig. 3 further includes a baseband processing module 24, where data to be forwarded received by the front-end switching module 21 may come from a core network or from the baseband processing module 24, and specifically includes:
the front-end switching module 21 is configured to receive data to be forwarded, which is sent by the baseband processing module 24, and send the data to the forwarding control module 22; the forwarding control module 22 is configured to receive data sent by the front-end switching module 21, perform forwarding path matching on the data according to a preset forwarding flow table, and forward the data to the front-end switching module 21 when determining that there is data to be forwarded to the core network according to a matching result; the front-end switching module 21 is further configured to receive data sent by the forwarding control module 22, and send the data to the core network;
and/or the presence of a gas in the gas,
the front-end switching module 21 is configured to receive data to be forwarded, which is sent by a core network, and send the data to the forwarding control module 22; the forwarding control module 22 is configured to receive data sent by the front-end switching module 21, perform forwarding path matching on the data according to a preset forwarding flow table, and forward the data to the front-end switching module 21 when determining that there is data to be forwarded to the baseband processing module 24 according to a matching result; the front-end switching module 21 is further configured to receive data sent by the forwarding control module 22, and send the data to the baseband processing module 24; the baseband processing module 24 is configured to receive the data sent by the front-end switching module 21 and analyze and process the data.
The dashed line in fig. 3 represents the flow of the data forwarding process within the baseband unit 20, and the double-headed arrow indicates that this is a reversible process. It should be understood that the initial source of the data to be forwarded, which is received by the front-end switching module 21 and sent by the baseband processing module 24, may be a user terminal, for example, the user terminal may send a service request to the base station, and the baseband processing module 24 of the baseband unit 20 in the base station may pre-process the service request and send the service request to the front-end switching module 21, it should be understood that, after the front-end switching module 21 receives the data sent by the forwarding control module 22 and sends the data to the core network, the front-end switching module 21 may also be configured to receive data sent by the core network, where the data sent by the core network to the front-end switching module 21 may be obtained according to the data received from the front-end switching module 21, in this case, the baseband processing module 24 may also analyze and process the data sent by the front-end switching module 21 in response to the request of the user terminal. Of course, in some embodiments, the core network may also actively push data to the front-end switching module 21.
Similarly, the data to be forwarded received by the front-end switching module 21 and the data to be forwarded to the baseband processing module 24 or the core network determined to exist according to the matching result may not be the same data. It should be understood that the transmission interface module 23 may further include a service module, where the service module is located at an upper layer of the data exchange sub-module 231, and the service module may respond to various service data, therefore, when the forwarding control module 22 is located in the transmission interface module 23, only when the forwarding control module 22 determines that there is data to be forwarded to the transmission interface module 23, the data is forwarded to the data exchange sub-module 231, specifically, when the forwarding control module 22 determines that there is data to be forwarded to the service module in the transmission interface module 23, the data exchange sub-module 231 may forward the data to the service module through the transmission module in the transmission interface module 23, so that the service module performs service-level processing on the data.
It should be noted that the forwarding control module 22 and the data exchange sub-module 231 in fig. 3 may be disposed on the same data plane programmable exchange chip, and compared to the existing transmission interface module 23 that only implements data receiving and sending through a traditional network card, the data plane programmable exchange chip improves the performance of data exchange, and the exchanged data may reach the Tbps level. Of course, in some embodiments, the forwarding control module 22 and the data exchange sub-module 231 in fig. 3 may be integrated on different data plane programmable switching chips, and in this case, the front-end switching module 21 may also be disposed on the data plane programmable switching chip.
The case where the forwarding control module 22 is located in the transmission interface module 23 has been described above, and the case where the forwarding control module 22 is located in the front-end switching module 21 is described below.
Referring to fig. 4, the forwarding control module 22 is located in the front-end switching module 21, and the baseband unit 20 shown in fig. 4 further includes a baseband processing module 24, and similarly, the data to be forwarded received by the front-end switching module 21 may come from the core network or the baseband processing module 24, which may specifically include:
the front-end switching module 21 is configured to receive data sent by the baseband processing module 24, and since the forwarding control module 22 is located in the front-end switching module 21, the forwarding control module 22 may perform forwarding path matching on the data received by the front-end switching module 21 according to a preset forwarding flow table, and forward the data to the core network when determining that there is data to be forwarded to the core network according to a matching result;
and/or the presence of a gas in the gas,
the front-end switching module 21 is configured to receive data to be forwarded, which is sent by a core network, and the forwarding control module 22 is configured to perform forwarding path matching on the data received by the front-end switching module 21 according to a preset forwarding flow table, and forward the data to the baseband processing module 24 when determining that the data to be forwarded to the baseband processing module 24 exists according to a matching result; the baseband processing module 24 is configured to receive the data sent by the front-end switching module 21 and analyze and process the data.
It should be noted that the dashed line in fig. 4 represents the flow of the data forwarding process in the baseband unit 20, and the double-headed arrow indicates that this is a reversible process. It should be understood that the initial source of the data to be forwarded, which is received by the front-end switching module 21 and sent by the baseband processing module 24, may be a user terminal, for example, the user terminal may send a service request to the base station, and the baseband processing module 24 of the baseband unit 20 in the base station may pre-process the service request and send the service request to the front-end switching module 21, it should be understood that, after the front-end switching module 21 receives the data sent by the forwarding control module 22 and sends the data to the core network, the front-end switching module 21 may also be configured to receive data sent by the core network, where the data sent by the core network to the front-end switching module 21 may be obtained according to the data received from the front-end switching module 21, in this case, the baseband processing module 24 may also analyze and process the data sent by the front-end switching module 21 in response to the request of the user terminal. Of course, in some embodiments, the core network may also actively push data to the front-end switching module 21.
Similarly, the data to be forwarded received by the front-end switching module 21 and the data to be forwarded to the baseband processing module 24 or the core network determined to exist according to the matching result may not be the same data. It should be understood that the transmission interface module 23 may further include a service module, where the service module is located at an upper layer of the data exchange sub-module 231, and the service module may respond to various service data, therefore, when the forwarding control module 22 is located in the front end exchange module 21, only when the forwarding control module 22 determines that there is data to be forwarded to the transmission interface module 23, the data is forwarded to the data exchange sub-module 231, and when the forwarding control module 22 determines that a certain data needs to be transmitted to the baseband processing module 24 or the core network, only the data needs to be transmitted through the front end exchange module 21, and the data does not need to be transmitted to the transmission interface module 23, which greatly reduces the time delay in the data forwarding process. Specifically, the forwarding control module 22 may forward the data to the data exchange sub-module 231 when determining that the data to be forwarded to the service module in the transmission interface module 23 exists, and the data exchange sub-module 231 may transmit the data to the service module through the transmission module in the transmission interface module 23, so that the service module performs service-level processing on the data.
It should be noted that the front-end switching module 21 in fig. 4 may be a data plane programmable switching chip, and since the forwarding control module 22 in fig. 4 is located in the front-end switching module 21, the forwarding control module 22 should also be integrated on the data plane programmable switching chip at this time, it should be noted that the programmable chip at this time can at least implement two functions, which respectively correspond to the forwarding path matching function of the forwarding control module 22 and the data receiving and sending functions of the front-end switching module 21, and therefore, for the two functions, the corresponding codes are stored on the programmable chip in essence, so it can also be understood that: the front-end switching module 21 substantially includes a forwarding control module 22 and a front-end switching sub-module, which belong to two parallel modules, where the forwarding control module 22 is used to implement matching of forwarding paths corresponding to data, and the front-end switching sub-module is used to receive data from the outside and send the data to the forwarding control module 22, or receive data sent by the forwarding control module 22 and forward the data to the outside.
The front-end switching module 21 is integrated on the data plane programmable switching chip, so that the performance of data exchange can be improved compared with the existing method of realizing data receiving and sending only through the traditional switching equipment. Of course, the data exchange submodule 231 in fig. 4 may also be integrated on the data plane programmable exchange chip. The data plane programmable switching chip in this embodiment may be programmed by using a P4(Programming Protocol-Independent Packet Processors, Protocol-Independent Packet processing Programming language), so as to implement the functions of the forwarding control module 22, the data switching sub-module 231, and the front-end switching module 21. Of course, the functions of the transmission interface module 23 and the baseband processing module 24 in this embodiment may also be implemented by corresponding software codes, and the codes for implementing the functions of the transmission interface module 23 and the baseband processing module 24 may be integrated on respective corresponding chips.
It should be understood that the forwarding flow table in this embodiment may be fixedly stored in the forwarding control module 22 in advance, or may also be stored in the forwarding flow table management module, and the forwarding flow table management module sends the forwarding flow table to the forwarding control module 22, specifically as shown in fig. 5, it should be noted that the forwarding flow table management module 25 in this embodiment may be located in the transmission interface module 23, or located in the front-end switching module 21, or located in the baseband processing module 24, or may also be independent of the above modules. Of course, in this embodiment, the forwarding flow table in the forwarding flow table management module 25 may be updated after a preset time interval, specifically, the forwarding flow table may be updated according to the requirement of the upper layer application, for example, some contents in the forwarding flow table may be modified or deleted, or some contents may be added.
In the embodiment of the present invention, a base station is further provided on the basis of the baseband unit 20, please refer to fig. 6, and the base station provided in the embodiment includes a radio frequency unit 26 and any one of the baseband units 20.
The baseband unit and the base station provided in the embodiment of the present invention receive data to be forwarded through the front-end switching module, and then the forwarding control module performs forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwards the data to a data switching sub-module in the transmission interface module when determining that the data to be forwarded to the transmission interface module exists according to a matching result, where the forwarding flow table includes a policy for determining a forwarding path corresponding to the data; therefore, before a data exchange submodule in the transmission interface module receives certain data, the data is matched through a forwarding path, and the matching process of the forwarding path is advanced, so when the certain data is not sent to the transmission interface module, the data does not need to pass through the data exchange submodule but can be directly sent through the front-end exchange module by the forwarding control module, the data return process between the data exchange submodule and the forwarding control module can be avoided, the time delay of data forwarding in a baseband unit can be reduced, the data transmission quantity in unit time can be increased, the bandwidth can be further increased, and a user can obtain better experience.
Example two:
referring to fig. 7, the data forwarding processing method provided in this embodiment may be applied in a baseband unit, and includes:
s701: the front-end exchange module receives data to be forwarded;
s702: and the forwarding control module performs forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwards the data to a data switching submodule in the transmission interface module when determining that the data to be forwarded to the transmission interface module exists according to a matching result.
The forwarding flow table in this embodiment includes a policy for determining a forwarding path corresponding to data.
It should be noted that, the data to be forwarded received by the front-end switching module in step S701 and the data to be forwarded to the transmission interface module determined to exist according to the matching result in step S702 may not be the same data, and certainly may also be the same data, where a case of not being the same data is described here, and the forwarding flow table at this time may include a policy for determining a forwarding path corresponding to the data, in addition to a policy for determining a forwarding path corresponding to the data. When the front-end switching module receives first data to be forwarded, the forwarding control module performs forwarding path matching on the first data according to a preset forwarding flow table, and determines that second data to be forwarded to the transmission interface module exists according to a matching result, where the process may include:
the forwarding control module forwards the first data according to a preset forwarding flow table to obtain second data, determines the second data as current forwarding data, and determines a forwarding path corresponding to the forwarding data (the second data) according to the preset forwarding flow table;
or the like, or, alternatively,
after the forwarding control module determines a forwarding path corresponding to the first data according to a preset forwarding flow table, the forwarding control module performs forwarding processing on the first data to obtain second data, and determines the second data as current forwarding data.
It should be understood that the forwarding processing in this embodiment includes, but is not limited to, parsing, modifying, discarding, and the like, the first data is generally some packets, that is, the packet may be encrypted and decrypted, a header of the packet is modified, a timestamp is added to the packet, second data may be obtained after parsing or modifying the first data, the forwarding control module may forward the second data, and certainly, some first data that does not meet a preset rule may also be discarded directly, a matching of the forwarding path is involved in the process of determining the forwarding path, for example, a corresponding relationship between data and the forwarding path may be included in the forwarding flow table, and after a certain data is successfully matched to the forwarding path, a source IP address of the data may be replaced with a destination IP address according to the forwarding path, a source MAC (Media Access Control) address is replaced with a destination MAC address, and then a forwarding Control module may forward the data according to the destination IP address and the destination MAC address; the process of matching the data with the forwarding path may follow a multi-stage matching rule, each stage of search hit (hit) may perform corresponding processing on the data, and all data failed to be searched may be directly discarded or directly forwarded to the front-end switching module, for example, an MAC address corresponding to a certain data may be matched with a table of correspondence between pre-stored MAC addresses and forwarding paths, and if the search hit occurs, the forwarding path corresponding to the data may be determined.
As for the baseband unit shown in fig. 3 in the first embodiment, the corresponding data forwarding processing methods may be respectively shown in fig. 8 and fig. 9, and if the data to be forwarded received by the front-end switching module comes from the baseband processing module, the method includes:
s801: the front-end exchange module receives the data to be forwarded sent by the baseband processing module and sends the data to the forwarding control module.
S802: the forwarding control module receives the data sent by the front-end switching module, performs forwarding path matching on the data according to a preset forwarding flow table, and forwards the data to the front-end switching module when determining that the data to be forwarded to the core network exists according to a matching result.
S803: the front-end exchange module receives the data sent by the forwarding control module and sends the data to the core network.
If the data to be forwarded received by the front-end switching module comes from the core network, the method includes:
s901: the front-end exchange module receives the data to be forwarded sent by the core network and sends the data to the forwarding control module.
S902: the forwarding control module is used for receiving the data sent by the front-end switching module, performing forwarding path matching on the data according to a preset forwarding flow table, and forwarding the data to the front-end switching module when determining that the data to be forwarded to the baseband processing module exists according to a matching result.
S903: the front-end exchange module receives the data sent by the forwarding control module and sends the data to the baseband processing module.
S904: the baseband processing module receives the data sent by the front-end switching module and analyzes and processes the data.
It should be understood that the initial source of the data to be forwarded, which is received by the front-end switching module and sent by the baseband processing module, may be a user terminal, for example, the user terminal may send a service request to the base station, and the baseband processing module of the baseband unit in the base station may pre-process the service request and send the service request to the front-end switching module, and it should be understood that, after the front-end switching module receives the data sent by the forwarding control module and sends the data to the core network, the front-end switching module may also receive data sent by the core network, where the data sent by the core network to the front-end switching module may be obtained from the data received from the front-end switching module, in this case, the baseband processing module may further analyze and process the data sent by the front-end switching module after receiving the data to respond to the request of the user terminal. Of course, in some embodiments, the core network may also actively push data to the front-end switching module.
Similarly, the data to be forwarded received by the front-end switching module and the data to be forwarded to the baseband processing module or the core network, which is determined to exist according to the matching result, may not be the same data. It should be understood that the transmission interface module may further include a service module, where the service module is located at an upper layer of the data exchange sub-module, and the service module may respond to various service data, and therefore, when the forwarding control module is located in the transmission interface module, the data is forwarded to the data exchange sub-module only when the forwarding control module determines that data to be forwarded to the transmission interface module exists, specifically, when the forwarding control module determines that data to be forwarded to the service module in the transmission interface module exists, the data is forwarded to the data exchange sub-module, and the data exchange sub-module may transmit the data to the service module through the transmission module in the transmission interface module, so that the service module performs service-level processing on the data.
As for the baseband unit shown in fig. 4 in the first embodiment, the corresponding data forwarding processing methods may be respectively shown in fig. 10 and fig. 11, and if the data to be forwarded received by the front-end switching module comes from the baseband processing module, the method includes:
s1001: the front-end switching module receives the data sent by the baseband processing module.
S1002: and the forwarding control module performs forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwards the data to the core network when determining that the data to be forwarded to the core network exists according to a matching result.
If the data to be forwarded received by the front-end switching module comes from the core network, the method includes:
s1101: the front-end exchange module receives data to be forwarded, which is sent by a core network.
S1102: and the forwarding control module performs forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwards the data to the baseband processing module when determining that the data to be forwarded to the baseband processing module exists according to a matching result.
S1103: the baseband processing module receives the data sent by the front-end switching module and analyzes and processes the data.
It should be understood that the initial source of the data to be forwarded, which is received by the front-end switching module and sent by the baseband processing module, may be a user terminal, for example, the user terminal may send a service request to the base station, and the baseband processing module of the baseband unit in the base station may pre-process the service request and send the service request to the front-end switching module, and it should be understood that, after the front-end switching module receives the data sent by the forwarding control module and sends the data to the core network, the front-end switching module may also receive data sent by the core network, where the data sent by the core network to the front-end switching module may be obtained from the data received from the front-end switching module, in this case, the baseband processing module may further analyze and process the data sent by the front-end switching module after receiving the data to respond to the request of the user terminal. Of course, in some embodiments, the core network may also actively push data to the front-end switching module.
Similarly, the data to be forwarded received by the front-end switching module and the data to be forwarded to the baseband processing module or the core network, which is determined to exist according to the matching result, may not be the same data. It should be understood that the transmission interface module may further include a service module, wherein the service module is located at an upper layer of the data exchange sub-module, and the service module may respond to various service data, so that when the forwarding control module is located in the front-end exchange module, only when the forwarding control module determines that there is data to be forwarded to the transmission interface module, the data is forwarded to the data exchange sub-module, and when the forwarding control module determines that a certain data needs to be transmitted to the baseband processing module or the core network, only the data needs to be transmitted through the front-end exchange module, and the data does not need to be transmitted to the transmission interface module, thereby greatly reducing the time delay in the data forwarding process. Specifically, the forwarding control module may forward the data to the data exchange sub-module when determining that the data to be forwarded to the service module in the transmission interface module exists, and the data exchange sub-module may transmit the data to the service module through the transmission module in the transmission interface module, so that the service module performs service level processing on the data.
The forwarding flow table in this embodiment may be stored in the forwarding control module in advance, or may be stored in the forwarding flow table management module, and the forwarding flow table management module sends the forwarding flow table to the forwarding control module. Of course, the forwarding flow table in the forwarding flow table management module in this embodiment may be updated after a preset time interval, specifically, the forwarding flow table may be updated according to the requirement of the upper layer application, for example, some contents in the forwarding flow table may be modified or deleted, or some contents may be added.
In the data forwarding processing method provided by the embodiment of the present invention, a front-end switching module receives data to be forwarded, and then a forwarding control module performs forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwards the data to a data switching sub-module in a transmission interface module when it is determined that the data to be forwarded to the transmission interface module exists according to a matching result; the forwarding path matching process is advanced, so when certain data is not sent to the transmission interface module, the data does not need to pass through the data exchange submodule but can be directly sent by the forwarding control module through the front-end exchange module, and the data return process between the data exchange submodule and the forwarding control module is avoided, so that the time delay is reduced, the data transmission quantity in unit time is improved, the bandwidth is further improved, and a user can obtain better experience.
It will be apparent to those skilled in the art that the modules or steps of the embodiments of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented in program code executable by a computing device, such that they may be stored on a computer storage medium (ROM/RAM, magnetic disk, optical disk) and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A baseband unit comprises a front-end exchange module, a forwarding control module and a transmission interface module, wherein the transmission interface module comprises a data exchange submodule;
the front-end exchange module is used for receiving data to be forwarded;
the forwarding control module is used for performing forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwarding the data to a data switching submodule of the transmission interface module when the data to be forwarded to the transmission interface module is determined to exist according to a matching result; when the data to be forwarded to the transmission interface module does not exist, the data does not need to be forwarded to a data exchange submodule of the transmission interface module; the forwarding flow table comprises a strategy for determining a forwarding path corresponding to the data.
2. The baseband unit according to claim 1, wherein said forwarding control module is located within said transport interface module, said baseband unit further comprising a baseband processing module;
the front-end switching module is used for receiving data to be forwarded sent by a core network and sending the data to the forwarding control module;
the forwarding control module is used for receiving the data sent by the front-end switching module, performing forwarding path matching on the data according to a preset forwarding flow table, and forwarding the data to the front-end switching module when determining that the data to be forwarded to the baseband processing module exists according to a matching result;
the front-end exchange module is also used for receiving the data sent by the forwarding control module and sending the data to the baseband processing module.
3. The baseband unit according to claim 1, wherein said forwarding control module is located within said transport interface module, said baseband unit further comprising a baseband processing module;
the front-end exchange module is used for receiving the data to be forwarded sent by the baseband processing module and sending the data to the forwarding control module;
the forwarding control module is used for receiving the data sent by the front-end switching module, performing forwarding path matching on the data according to a preset forwarding flow table, and forwarding the data to the front-end switching module when determining that the data to be forwarded to the core network exists according to a matching result;
the front-end exchange module is also used for receiving the data sent by the forwarding control module and sending the data to the core network.
4. The baseband unit of claim 1, wherein said forwarding control module is located within said front-end switching module, said baseband unit further comprising a baseband processing module;
the front-end exchange module is used for receiving data to be forwarded, which is sent by a core network;
the forwarding control module is used for performing forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwarding the data to the baseband processing module when determining that the data to be forwarded to the baseband processing module exists according to a matching result.
5. The baseband unit of claim 1, wherein said forwarding control module is located within said front-end switching module, said baseband unit further comprising a baseband processing module;
the front-end exchange module is used for receiving the data sent by the baseband processing module;
the forwarding control module is used for matching forwarding paths of the data received by the front-end switching module according to a preset forwarding flow table, and forwarding the data to the core network when determining that the data to be forwarded to the core network exists according to a matching result.
6. The baseband unit according to claim 2 or 3, wherein said forwarding control module and said data switching sub-module are disposed on the same data plane programmable switching chip.
7. The baseband unit according to claim 4 or 5, wherein the front-end switching module is a data plane programmable switching chip.
8. The baseband unit according to any one of claims 1-5, further comprising a forwarding flow table management module for sending forwarding flow tables to said forwarding control module.
9. A base station comprising a radio unit and a baseband unit according to any of claims 1-8, the radio unit being communicatively coupled to the baseband unit.
10. A data forwarding processing method is applied to a baseband unit and comprises the following steps:
the front-end exchange module receives data to be forwarded;
the forwarding control module performs forwarding path matching on the data received by the front-end switching module according to a preset forwarding flow table, and forwards the data to a data switching submodule in the transmission interface module when determining that the data to be forwarded to the transmission interface module exists according to a matching result; when the data to be forwarded to the transmission interface module does not exist, the data does not need to be forwarded to a data exchange submodule of the transmission interface module; the forwarding flow table comprises a strategy for determining a forwarding path corresponding to the data.
CN201710713713.6A 2017-08-18 2017-08-18 Baseband unit, base station and data forwarding processing method Active CN109412948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710713713.6A CN109412948B (en) 2017-08-18 2017-08-18 Baseband unit, base station and data forwarding processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710713713.6A CN109412948B (en) 2017-08-18 2017-08-18 Baseband unit, base station and data forwarding processing method

Publications (2)

Publication Number Publication Date
CN109412948A CN109412948A (en) 2019-03-01
CN109412948B true CN109412948B (en) 2022-03-22

Family

ID=65463223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710713713.6A Active CN109412948B (en) 2017-08-18 2017-08-18 Baseband unit, base station and data forwarding processing method

Country Status (1)

Country Link
CN (1) CN109412948B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102067526A (en) * 2008-07-03 2011-05-18 中兴通讯股份有限公司 Synchronization, scheduling, network management and frequency assignment method of a layered wireless access system
CN102957600A (en) * 2011-08-19 2013-03-06 中兴通讯股份有限公司 Method and device for data message forwarding
CN103686814A (en) * 2013-12-25 2014-03-26 北京北方烽火科技有限公司 Base band unit, base station and base station system
CN106656294A (en) * 2016-12-26 2017-05-10 京信通信技术(广州)有限公司 Signal processing method and large-scale array antenna system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE470270T1 (en) * 2008-03-26 2010-06-15 Ericsson Telefon Ab L M METHOD FOR PROCESSING A BASEBAND SIGNAL
JP2010154160A (en) * 2008-12-25 2010-07-08 Fujitsu Ltd Synchronization detecting circuit, synchronization detection method, and interface circuit
US9043634B2 (en) * 2011-04-29 2015-05-26 Qualcomm Incorporated Methods, systems, apparatuses, and computer-readable media for waking a SLIMbus without toggle signal
CN103517332B (en) * 2012-06-18 2016-08-24 中国联合网络通信集团有限公司 A kind of base station, data processing method and communication system
CN104579727B (en) * 2013-10-17 2018-02-06 国际商业机器公司 A kind of method and apparatus for the network connection for managing network node
CN105451272A (en) * 2014-09-17 2016-03-30 中兴通讯股份有限公司 Data interaction method, building baseband unit, radio remote unit and R-Hub

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102067526A (en) * 2008-07-03 2011-05-18 中兴通讯股份有限公司 Synchronization, scheduling, network management and frequency assignment method of a layered wireless access system
CN102957600A (en) * 2011-08-19 2013-03-06 中兴通讯股份有限公司 Method and device for data message forwarding
CN103686814A (en) * 2013-12-25 2014-03-26 北京北方烽火科技有限公司 Base band unit, base station and base station system
CN106656294A (en) * 2016-12-26 2017-05-10 京信通信技术(广州)有限公司 Signal processing method and large-scale array antenna system

Also Published As

Publication number Publication date
CN109412948A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
EP4024922A1 (en) Method for achieving service continuity and related devices
US10103978B2 (en) Service processing method, device, and system
EP3016329B1 (en) Service path allocation method, router and service execution entity
US8032639B2 (en) Apparatus and method for providing data session source device information
EP3125476B1 (en) Service function chaining processing method and device
US10531274B2 (en) Data processing method and device
CN106685827B (en) Downlink message forwarding method and AP (access point) equipment
US20140301397A1 (en) Flow identification method, device, and system
US10368254B2 (en) Data forwarding method and controller
CN111225016B (en) Network service system and network service method
CN105531967B (en) Message transmission method, device and communication system
KR102025680B1 (en) SDN based ARP implementation method and device
US9661550B2 (en) Communication apparatus, communication method, and communication system
US10764411B2 (en) Stream control transmission protocol SCTP-based communications method and system, and apparatus
KR20160111668A (en) Method and apparatus for generating packet
US10700981B2 (en) Processing method for service flow packet, and device
EP3917083A1 (en) Network device and method for searching for edge service implemented in network device
US10136375B2 (en) Method for service data management, apparatus, and system
CN107645391B (en) Port configuration method and device of interface expansion equipment
CN102984697B (en) IP communication method, equipment and system based on mobile terminals
CN109412948B (en) Baseband unit, base station and data forwarding processing method
CN110753135A (en) IP address configuration method, configuration equipment and storage medium
KR101740456B1 (en) Fowarding scheme of packet in software defined network based internet of tings
CN103067280A (en) Method and device of message processing
US20220239996A1 (en) Bandwidth Assignment Method and Apparatus, and Bandwidth Check Method and Apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant