Data forwarding methods, systems, devices, and dual-mode base station equipment
By configuring logical interfaces and bridging channels in the user-space data processing environment, the high latency and resource consumption caused by kernel processing in dual-mode base station equipment are solved, achieving efficient data forwarding and flexible routing of management plane data, thereby improving the transmission performance and reliability of the system.
Patent Information
- Application Number
- CN202611591935.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-14
- Publication Date
- 2026-11-17
AI Technical Summary
In existing dual-mode base station equipment, the processing flow of the kernel network protocol stack leads to high latency and excessive CPU resource consumption, making it difficult to meet the transmission requirements of high-throughput 5G service data. At the same time, the lack of effective isolation between management plane data and service data affects transmission stability and reliability.
In dual-mode base station equipment, by configuring the network card as a logical interface and establishing a bridging logical channel in the user-mode data processing environment, the core network data flow can be split and forwarded, and the management plane data can be flexibly routed, avoiding the overhead caused by kernel processing.
It significantly reduced data forwarding latency, improved throughput, ensured an independent processing path for business data, and achieved logical separation between management plane data and business plane data, thus guaranteeing the reliability and flexibility of the system.
Smart Images

Figure CN123123831A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to a data forwarding method, system, apparatus and dual-mode base station equipment. Background Technology
[0002] With the iterative development of mobile communication technology, upgrading and deploying 5G networks based on existing 4G site infrastructure has become the mainstream solution in the industry. In the current dual-mode base station backhaul network architecture, when a single backhaul link carries multi-standard mixed data transmission, it generally relies on the operating system kernel protocol stack to implement data forwarding functions. This mechanism performs IP packet parsing and processing through the kernel network protocol stack, including routing decisions, data encapsulation, decapsulation, and cross-network interface forwarding. However, this kernel-based forwarding mechanism has the following significant limitations: First, the kernel network protocol stack's processing flow involves frequent memory copy operations and context switching. When dealing with high-throughput 5G mobile communication data, this approach not only introduces significant data processing latency but also excessively consumes CPU computing resources, making it difficult to simultaneously meet the stringent requirements of 5G applications for high transmission bandwidth and low latency performance. Second, in dual-mode base station systems, service plane data and management plane data typically share the same transmission channel and are processed uniformly by the kernel, lacking effective differentiated traffic classification and isolation mechanisms. When management plane operations and service data forwarding compete for processing resources at the kernel level, management plane processes may cause unpredictable interference to service data transmission, thereby affecting the stability of service transmission and service reliability. Therefore, the existing pure kernel-mode forwarding architecture can no longer simultaneously meet the collaborative requirements of high-performance service data forwarding and intelligent routing of multi-standard management data. Summary of the Invention
[0003] In view of this, embodiments of this application provide a data forwarding method, system, apparatus, and dual-mode base station equipment, which can effectively solve the problem in the prior art of how to achieve low-latency forwarding of high-throughput service data in dual-mode base station equipment without relying on dedicated hardware acceleration, while ensuring flexible and isolated routing of management plane data between different communication standard processing modules.
[0004] In a first aspect, embodiments of this application provide a data forwarding method applied to a first communication standard processing module in a dual-mode base station device. The first communication standard processing module includes a first network interface card (NIC) for carrying a backhaul link between the dual-mode base station device and the core network, a second NIC for connecting a second communication standard processing module of the dual-mode base station device, and a local management interface. The method includes: Initialize the user-mode data processing environment, configure the first network card and the second network card as the first logical interface and the second logical interface of the user-mode data processing environment, respectively, and establish a bridging logical channel between the local management interface and the second logical interface; The core network data stream transmitted by the core network via the backhaul link is received through the first logical interface. The core network data stream includes first communication standard data and second communication standard data. The first communication standard data is forwarded within the user-mode data processing environment, and the second communication standard data is forwarded to the second communication standard processing module through the second logical interface and the second network card; The management plane data accessed through the local management interface is routed to the management function unit of the corresponding communication standard processing module through the bridging logical channel according to the destination address of the management plane data.
[0005] In some embodiments, the second logical interface and the second communication standard processing module are respectively configured with virtual local area network sub-interfaces having the same virtual local area network identifier. The bridging logic channel is established through a network bridge, and the bridge interface address of the network bridge is in the same network segment as the virtual local area network sub-interface address of the second communication standard processing module.
[0006] In some embodiments, the data forwarding method further includes: identifying the first communication standard data and the second communication standard data in the core network data stream based on the destination service port address of each data packet in the core network data stream.
[0007] In some embodiments, forwarding the second communication standard data to the second communication standard processing module through the second logical interface and the second network card includes: The second communication standard data is sent to the data receiving port of the second communication standard processing module through the second network card, so that the second communication standard processing module performs protocol stack processing on the second communication standard data through the second kernel protocol stack of the second communication standard processing module and sends it down to the baseband service processing unit of the second communication standard processing module. The forwarding rate of the second communication standard data does not exceed the preset rate threshold.
[0008] In some embodiments, the management address of the first communication standard processing module is the bridge interface address, and the management address of the second communication standard processing module is the virtual local area network sub-interface address of the second communication standard processing module. The process of routing the management plane data accessed through the local management interface to the management function unit of the corresponding communication standard processing module through the bridging logical channel according to the destination address of the management plane data includes: Management plane data with the bridge interface address as the destination address is routed to the first management function unit of the first communication standard processing module through the bridging logical channel; Management plane data with the virtual LAN sub-interface address of the second communication standard processing module as the destination address enters the first kernel protocol stack of the first communication standard processing module through the bridging logical channel, and is forwarded to the virtual LAN sub-interface of the second communication standard processing module through the second logical interface and the second network card, so that the second communication standard processing module forwards it to the second management function unit of the second communication standard processing module.
[0009] In some embodiments, the user-space data processing environment is the runtime environment of the data plane development kit; Both the first logical interface and the second logical interface are kernel network interfaces of the data plane development kit; The first communication standard processing module is a fifth-generation mobile communication system baseband processing module; the second communication standard processing module is a fourth-generation mobile communication system baseband processing module. The first network card is a fifth-generation mobile communication system backhaul network card, and the second network card is an interconnection network card connected to the baseband processing module of the fourth-generation mobile communication system.
[0010] In some embodiments, the core network data stream is received concurrently via the first logical interface in a multi-queue manner.
[0011] Secondly, embodiments of this application provide a data forwarding system applied to a first communication standard processing module in a dual-mode base station device. The first communication standard processing module includes a first network interface card (NIC) for carrying a backhaul link between the dual-mode base station device and the core network, a second NIC for connecting a second communication standard processing module of the dual-mode base station device, and a local management interface. The system includes: The environment setup module is used to initialize the user-mode data processing environment, configure the first network card and the second network card as the first logical interface and the second logical interface of the user-mode data processing environment, respectively, and establish a bridging logical channel between the local management interface and the second logical interface. The data receiving module is used to receive the core network data stream transmitted by the core network through the backhaul link via the first logical interface. The core network data stream includes first communication standard data and second communication standard data. The traffic splitting and forwarding module is used to forward the first communication standard data within the user-mode data processing environment, and to forward the second communication standard data to the second communication standard processing module through the second logical interface and the second network card; The management routing module is used to route management plane data accessed through the local management interface to the management function unit of the corresponding communication standard processing module through the bridging logical channel according to the destination address of the management plane data.
[0012] Thirdly, embodiments of this application provide a data forwarding apparatus, the data forwarding apparatus comprising: a processor and a memory, the memory storing a computer program, and the processor executing the computer program to implement the data forwarding method described in the first aspect above.
[0013] Fourthly, embodiments of this application provide a dual-mode base station device, the dual-mode base station device comprising a first communication standard processing module and a second communication standard processing module: The first communication standard processing module includes a first network interface card (NIC) for carrying the backhaul link between the dual-mode base station device and the core network, a second NIC for connecting the second communication standard processing module of the dual-mode base station device, a local management interface, a first kernel protocol stack, and a first management function unit. The second communication standard processing module includes a data receiving port connected to the second network card, a virtual local area network sub-interface, a baseband service processing unit, a second kernel protocol stack, and a second management function unit; The first communication standard processing module is used to initialize the user-mode data processing environment, configure the first network card and the second network card as the first logical interface and the second logical interface of the user-mode data processing environment, respectively, and establish a bridging logical channel between the local management interface and the second logical interface. It receives the core network data stream transmitted by the core network through the backhaul link through the first logical interface. The core network data stream includes first communication standard data and second communication standard data. It forwards the first communication standard data of the core network data stream in the user-mode data processing environment, and forwards the second communication standard data to the data receiving port through the second logical interface and the second network card. The second communication standard processing module is used to receive the second communication standard data through the data receiving port, process the second communication standard data through the second kernel protocol stack, and then send it to the baseband service processing unit. The first communication standard processing module is further configured to route management plane data accessed through the local management interface via the bridging logical channel according to the destination address of the management plane data. Specifically, management plane data with the management address of the first communication standard processing module as the destination address is routed to the first management function unit via the bridging logical channel; and management plane data with the virtual LAN sub-interface address of the second communication standard processing module as the destination address enters the first kernel protocol stack via the bridging logical channel and is then forwarded to the virtual LAN sub-interface via the second logical interface and the second network card. The second communication standard processing module is also used to receive the management plane data through the virtual local area network sub-interface and forward it to the second management function unit.
[0014] The embodiments of this application have the following beneficial effects: This embodiment establishes a user-space data processing environment, configuring the first and second network interface cards (NICs) as corresponding logical interfaces. This allows core network data streams to be received and forwarded directly within the user-space environment, effectively bypassing the operating system kernel protocol stack. This avoids the overhead of multiple memory copies and context switching caused by kernel processing, significantly reducing data forwarding latency and improving throughput, thus meeting the transmission requirements of high-bandwidth service data on general-purpose processors.
[0015] Furthermore, by distinguishing between first-communication-mode data and second-communication-mode data in the core network data stream received from the first logical interface, and classifying and forwarding them in user-space environment, an independent and efficient processing path for service data is ensured. Simultaneously, a bridging logical channel is established between the local management interface and the second logical interface, allowing management plane data to be routed to the management function unit of the corresponding communication-mode processing module based on the destination address via this bridging channel. This mechanism achieves logical separation of management plane data and service plane data, avoiding the impact of management plane traffic on service data forwarding performance, while ensuring the accessibility and flexibility of management functions. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A schematic diagram of the structure of the first communication standard processing module according to an embodiment of this application is shown; Figure 2A schematic diagram of a data forwarding system according to an embodiment of this application is shown; Figure 3 A first flowchart of a data forwarding method according to an embodiment of this application is shown; Figure 4 A schematic diagram of the structure of a dual-mode base station device according to an embodiment of this application is shown; Figure 5 A second flowchart of the data forwarding method according to an embodiment of this application is shown; Figure 6 A third flowchart of the data forwarding method according to an embodiment of this application is shown.
[0018] Explanation of key component symbols: 10: First communication standard processing module; 11: Second network card; 12: First network card; 13: Local management interface; 20: Second communication standard processing module; 30: Core network; 100: Data forwarding system; 110: Environment establishment module; 120: Data receiving module; 130: Traffic splitting and forwarding module; 140: Management routing module. Detailed Implementation
[0019] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0020] The components of the embodiments of this application described and illustrated in the accompanying drawings can be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of this application provided in the drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0021] In the following text, the terms "comprising," "having," and their cognates, which may be used in various embodiments of this application, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as primarily excluding the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more combinations thereof. Furthermore, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance.
[0022] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of this application pertain. Terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be construed as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of this application.
[0023] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0024] (1) Dual-mode base station equipment: refers to base station equipment that simultaneously supports network access and service processing of two communication standards. Its baseband processing part usually includes a main control board and a baseband board, which are responsible for different standard service processing and overall configuration management, respectively. In this application, the dual-mode base station equipment is the execution carrier of the data forwarding scheme. Its internal first communication standard processing module and second communication standard processing module share an external backhaul link to access the core network, thereby eliminating the overhead of laying backhaul optical fiber separately for each standard.
[0025] (2) Core network: refers to the operator network portion that provides service aggregation and exchange for the base station side. It is the final destination of uplink data and the final source of downlink data for the base station equipment. In this application, downlink data sent from the core network to the dual-mode base station equipment is delivered via the backhaul link in the form of a unified data stream, and the identification and splitting according to the standard are completed internally by the base station equipment.
[0026] (3) Baseband Processing Unit (BBU): The core processing equipment of the base station system, responsible for baseband signal processing, overall site configuration management, and data interaction with the core network. Functionally, it generally includes a main control board and a baseband board. The main control board is responsible for data interaction with the core network and base station function configuration, while the baseband board is responsible for base station-related service processing. In the embodiments of this application, the first communication standard processing module runs in the computing environment of the 5G side BBU / main control board and is the main body for executing user-mode forwarding and management routing.
[0027] (4) Network Interface Card (NIC): A hardware interface device for network devices to transmit and receive data at the physical layer and data link layer with the outside world. This application involves two types of NICs: backhaul NICs for the core network and interconnection NICs for cross-module interconnection within the device. After being taken over by user mode, the two NICs respectively constitute the first logical interface and the second logical interface.
[0028] (5) Local management interface: refers to the local access interface used for device operation and maintenance configuration on the side of the first communication standard processing module. In one embodiment of this application, the local management interface is eth0. In this application, the local management interface is the unified entry point for management plane data: the management of the first standard and the second standard are both accessed through this interface, and then distributed in a directional manner through the bridging logic channel, thereby eliminating the need to set up a separate management port link for the second standard.
[0029] (6) User-space data processing environment: This refers to the software runtime environment that runs in user space and bypasses the kernel protocol stack to directly process and forward data sent and received by the network card at high speed. Its typical implementation is the DPDK runtime environment, but it can also be replaced by other user-space data plane frameworks such as VPP and NFF-GO or their equivalent evolutions. Its function is to enable the packets carried by the first logical interface and the second logical interface to be identified and forwarded without entering the kernel protocol stack.
[0030] (7) Data Plane Development Kit (DPDK): A set of high-performance data plane development libraries and drivers running in user space, which eliminates interrupts and kernel protocol stack overhead through mechanisms such as polling packet reception, large page memory, zero copy, and CPU core binding. In the embodiments of this application, DPDK is used to take over the first network card and the second network card, and provides KNI mechanism and multi-queue concurrent packet reception capability, which is a specific implementation of user-space data processing environment.
[0031] (8) Virtual Local Area Network (VLAN): A technology for dividing broadcast domains into logical groups on a Layer 2 switching network, allowing ports within the same VLAN to communicate with each other while isolating different VLANs. In this application, VLAN is used to construct a dedicated virtual local area network sub-interface for the data port of the second communication standard processing module without adding physical links, thereby achieving logical isolation of the second standard management channel on the shared link.
[0032] (9) Bridge: A network device that bridges two or more interfaces at Layer 2, allowing them to communicate and forward data according to destination address and bridge table. In the operating system, it is represented as a bridge interface object. In this embodiment, bridge br1 is formed by bridging the 5G management port eth3 with the VLAN interface of dpdk2.kni.
[0033] (10) Management plane data: Data accessed through the local management interface and used for configuration, monitoring, and maintenance of the dual-mode base station equipment on each standard side, which is different from data for user services. In this application, the standard to which the management plane data belongs is distinguished according to the destination management address, and is referred to as first management plane data and second management plane data respectively.
[0034] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0035] With the rapid development of wireless communication technology, 4G and 5G networks will coexist stably for a considerable period. To meet the requirement of multi-mode base stations simultaneously supporting both 4G and 5G networks, the baseband processing unit, as the core of the base station system, needs to simultaneously support service processing and overall site configuration management for both 4G and 5G networks. In the backhaul link system architecture of the baseband processing unit in a 4G / 5G multi-mode base station, the baseband processing unit's functions mainly include the main control board and the baseband board.
[0036] However, existing multi-mode base station construction models and backhaul link network connection methods suffer from backhaul link redundancy. The backhaul interface between the baseband processing unit and the core network is typically connected via two optical fibers, increasing equipment costs and engineering construction difficulty, while also raising the network error rate. Furthermore, 5G networks place high demands on server performance, especially in the case of four cells, where backhaul throughput needs to reach 3G levels, and the fronthaul speed of each cell should also reach at least 3G, placing higher demands on the data forwarding efficiency of base station equipment. In addition, in virtualized environments, traditional pure software forwarding methods consume CPU resources, impacting system performance. Although user-space packet forwarding frameworks such as VPP and NFF-GO can improve data forwarding performance, configuring various application services within resource-constrained industrial control computers remains a challenge.
[0037] To address the issue of data forwarding efficiency in 4G and 5G dual-mode base station equipment, some attempts have been made in existing technologies. For example, Chinese invention patent CN114143815A discloses a single-fiber backhaul method and system based on a multi-mode base station. By adding a data processing module and a switching module to the baseband processing unit of the base station, it processes the core network data of the combined transmission and separates the data of the corresponding standard and transmits it to the corresponding standard main control module for processing. This can save backhaul resources without changing the overall structure of the original base station and avoid the system redundancy problem caused by independent channels. However, it relies on hardware modules to parse and reconstruct data frames, and there are still shortcomings in optimizing the data processing flow, making it difficult to meet the backhaul needs of more standards and more complex service processing requirements.
[0038] For example, Chinese invention patent CN115442183A discloses a data forwarding method and apparatus. It obtains first data from a first virtual private network device through a first receiving queue, determines a first identifier based on the address information of the first data, processes the first data through a first kernel to obtain second data, and then sends the second data through a first sending queue. This method can leverage the multi-core capabilities of the processor to improve data transmission performance between the server and the external network. However, the data is still processed through the kernel protocol stack, and the flexibility of the forwarding path needs improvement, making it difficult to adapt to dynamic adjustments for different scenarios and needs. In summary, the shortcomings of existing technologies are concentrated in three aspects: first, the cost and construction difficulty caused by redundant backhaul links; second, the performance bottleneck caused by pure software forwarding; and third, the mixing of business traffic and management traffic, lacking an effective isolation mechanism, resulting in a lack of flexibility and efficiency in handling multi-standard backhaul requirements, affecting system security and maintenance efficiency.
[0039] In view of this, this application provides a data forwarding method, system, apparatus, and dual-mode base station equipment to balance high-throughput service forwarding with unified operation and maintenance that isolates service management while carrying dual-mode data on a single backhaul link. The data forwarding system 100 provided in this application embodiment is applied to the first communication standard processing module 10 in a dual-mode base station equipment. For example... Figure 1 As shown, the first communication standard processing module 10 includes a first network interface card (NIC) 12 for carrying the backhaul link between the dual-mode base station equipment and the core network 30, a second NIC 11 for connecting the second communication standard processing module 20 of the dual-mode base station equipment, and a local management interface 13. In one embodiment, the first communication standard processing module 10 is a fifth-generation mobile communication system baseband processing module, i.e., a 5G baseband processing module; the second communication standard processing module 20 is a fourth-generation mobile communication system baseband processing module, i.e., a 4G baseband processing module; the first NIC 12 is a fifth-generation mobile communication system backhaul NIC eth1, i.e., a 5G backhaul NIC eth1; and the second NIC 11 is an interconnecting NIC eth2 connecting the fourth-generation mobile communication system baseband processing module.
[0040] like Figure 2As shown, the data forwarding system 100 includes: an environment establishment module 110, a data receiving module 120, a traffic splitting and forwarding module 130, and a management routing module 140. The environment establishment module 110 is used to initialize the user-mode data processing environment, configure the first network card 12 and the second network card 11 as the first logical interface and the second logical interface of the user-mode data processing environment, respectively, and establish a bridging logical channel between the local management interface 13 and the second logical interface. The data receiving module 120 is used to receive the core network 30 data stream transmitted by the core network 30 via the backhaul link through the first logical interface. The core network 30 data stream includes first communication standard data and second communication standard data. The traffic splitting and forwarding module 130 is used to forward the first communication standard data in the user-mode data processing environment and forward the second communication standard data to the second communication standard processing module 20 through the second logical interface and the second network card 11. The management routing module 140 is used to route the management plane data accessed through the local management interface 13 to the management function unit of the corresponding communication standard processing module through the bridging logical channel according to the destination address of the management plane data.
[0041] Compared to existing technologies, the data forwarding scheme provided in this application has the following advantages. First, the 5G backhaul network card eth1 is taken over by the data plane development kit as the first logical interface dpdk1.kni, and the interconnecting network card eth2 connecting 5G and 4G is taken over as the second logical interface dpdk2.kni. This software takeover replaces dedicated data processing and switching hardware, reducing the number of backhaul interfaces between the baseband processing unit and the core network 30, lowering equipment costs and implementation complexity, and achieving overall management of 4G and 5G networks. Second, the first communication standard data of the 5G backhaul is directly processed by the data plane development kit in the user-space data processing environment, without going through the kernel, significantly improving data forwarding efficiency and meeting the 3G-level backhaul throughput and fronthaul speed requirements of the 5G network in four-cell scenarios.
[0042] Third, the combination of the second logical interface dpdk2.kni and bridge br1 enables dynamic switching between the 5G and 4G management ports, enhancing system reliability and maintainability and resolving the isolation issue between service and management functions. Fourth, the use of virtual LAN identifiers and virtual LAN addresses separates service and management functions, ensuring the isolation of the two networks while ensuring that both the device's WAN and LAN ports can access the 4G network, thus improving system security and usability. Fifth, the collaborative operation of the second logical interface dpdk2.kni and the kernel protocol stack enables flexible support for diverse backhaul requirements, laying the foundation for more complex service processing and improving system adaptability and scalability.
[0043] It should be noted that the architecture of the data forwarding system 100 disclosed in this embodiment corresponds one-to-one with the following method embodiment. The various technical features and optional implementation methods described in the method embodiment are applicable to this system embodiment, and can achieve the same technical functions and consistent technical effects. The implementation process and operation logic of the data forwarding method are further explained below in conjunction with specific embodiments.
[0044] Figure 3 A schematic flowchart of a data forwarding method according to an embodiment of this application is shown. Exemplarily, the data forwarding method of this embodiment is applied to the first communication standard processing module 10 in the aforementioned dual-mode base station equipment. The data forwarding method includes steps S101-S104: S101, initialize the user-mode data processing environment, configure the first network card 12 and the second network card 11 as the first logical interface and the second logical interface of the user-mode data processing environment, respectively, and establish a bridging logical channel between the local management interface 13 and the second logical interface.
[0045] This step establishes the software foundation for the entire data forwarding process. Specifically, the user-space data processing environment is the runtime environment of the data plane development kit. The data plane development kit driver is started and its operating mode is set to packet processing mode, meaning that packets are sent and received in user space using a polling method, freeing data plane processing from the overhead of kernel interrupts and protocol stack layer-by-layer handover. Subsequently, network interface card (NIC) takeover is executed. The first NIC 12 is the 5G backhaul NIC eth1, and the interconnecting NIC eth2 connecting the 5G and 4G mobile communication systems is the second NIC 11, i.e., the 5G and 4G interconnecting NIC eth2. Figure 4 As shown, the 5G backhaul network card eth1 is taken over as the first logical interface dpdk1.kni, and the 5G and 4G interconnection network card eth2 is taken over as the second logical interface dpdk2.kni. The distinction between logical interfaces and physical network cards is that logical interfaces are schedulable data entry and exit points within the user-space framework, while the same physical network card, after being taken over, simultaneously corresponds to visibility on both the kernel side and the user side. This is the premise for the bridging management channel in this solution to be established on the taken-over network card.
[0046] After takeover, virtual LAN (VLAN) configuration is performed: the VLAN identifier can be set by the deployer. The second logical interface and the second communication standard processing module 20 are each configured with a VLAN sub-interface with the same VLAN identifier. The identical identifier is a prerequisite for cross-device Layer 2 connectivity between the sub-interfaces on both sides and for the targeted delivery of management plane data. A VLAN sub-interface with the identifier 10 and the interface name eth3 is configured for the data receiving port of the second communication standard processing module 20 (i.e., the fourth-generation mobile communication system). A VLAN sub-interface with the identifier 10 and the interface name dpdk2_v10.kni is configured for the fifth-generation mobile communication system corresponding to the second logical interface. Afterwards, basic parameters such as the IP address, subnet mask, and default gateway of each interface are configured.
[0047] The bridging logical channel is established through a bridge. Specifically, the virtual LAN sub-interface of the local management interface eth0 (which serves as the fifth-generation mobile communication system) and the second logical interface dpdk2.kni are bridged to form a bridging logical channel. This bridging logical channel is manifested as the bridging relationship formed by the bridge br1 and its member ports. The management address of the first communication standard processing module 10 is the bridge interface address, which is the Layer 3 address configured in the operating system for the bridge object, with the bridge itself serving as the Layer 3 landing point for the first standard management plane data.
[0048] The management address of the second communication standard processing module 20 is the virtual local area network (VLAN) sub-interface address of the second communication standard processing module 20. The bridge interface address of the bridging logical channel bridge is in the same network segment as the VLAN sub-interface address of the second communication standard processing module 20. For example, the bridge interface address of bridge br1 is configured as 192.168.200.200, and the address of the VLAN sub-interface eth3.10 of the fourth-generation mobile communication system is configured as 192.168.200.100. Since they are in the same network segment, the management addresses on both sides are directly reachable within the bridging domain, requiring no additional Layer 3 routing configuration. The above address and network segment division can be adjusted according to network requirements.
[0049] S102, receive the core network 30 data stream transmitted by the core network 30 via the backhaul link through the first logical interface. The core network 30 data stream includes first communication standard data and second communication standard data.
[0050] Specifically, downlink data from core network 30 to dual-mode base station equipment arrives at the first logical interface dpdk1.kni via the backhaul link. Data reception and subsequent processing are both completed within the user-space data processing environment. Exemplarily, both the first and second logical interfaces are kernel network interfaces of the data plane development kit, achieving a dual-attribute structure where the same logical interface both handles user-space service forwarding and acts as a kernel-side bridging member. This ensures that the managed network interface card remains visible in both user space and the kernel side. This dual attribute is the basis for the subsequent convergence of the service forwarding channel and the management bridging channel on the same second logical interface. Furthermore, core network 30 receives data streams through the first logical interface in a multi-queue concurrent manner. The number of receiving queues is set according to the number of processor cores in the first communication standard processing module 10; an example of 8 queues is used. Multiple queues are bound to multiple processing cores for parallel data retrieval, expanding packet reception capacity and preventing a single core from becoming a throughput bottleneck.
[0051] After receiving the core network 30 data stream, the method further includes identification and distribution steps. In one embodiment, based on the destination service port address of each data packet in the core network 30 data stream, the first communication standard data and the second communication standard data in the core network 30 data stream are identified: the address of the service port on the fourth-generation mobile communication system side is pre-configured in the first communication standard processing module 10; if the destination address field of the data packet matches the service port address, it is determined to be second communication standard data; otherwise, it is processed as first communication standard data. In another embodiment, plane attribution identification is performed based on the virtual LAN tag carried by the data packet: for data packets received via the second logical interface, those carrying a virtual LAN tag are determined to belong to the management plane data and do not enter the user-mode forwarding process, but are transferred to the kernel forwarding process, that is, processed and forwarded via the bridging logical channel and the first kernel protocol stack; those not carrying a virtual LAN tag are processed as service data and handed over to the user-mode forwarding process. The two criteria mentioned above can be used individually or in combination: the destination service port address is used to distinguish the communication standard to which the service data belongs, and the virtual LAN tag is used to distinguish between the service plane and the management plane. Together, they ensure that service data and management plane data carried on the same second logical interface are routed correctly. The identification process only reads and compares the packet header fields, without rewriting the source address, destination address, or port information of the data frame. Compared with methods that rely on joint parsing and reconstruction of multiple fields of the frame header, this method has lower overhead and eliminates the risk of packet errors introduced by rewriting. In other implementations, identification can also be based on at least one of the protocol identifier, tag information, or address information of the data packet, or multiple criteria can be combined to adapt to different encapsulation and deployment configurations.
[0052] S103, forwards the first communication standard data in the user-mode data processing environment, and forwards the second communication standard data to the second communication standard processing module 20 through the second logical interface and the second network card 11.
[0053] This step enables the service plane to be routed by standard. The first communication standard data, i.e., 5G service data, enters through the first logical interface and is forwarded entirely within the user-space data processing environment. The data does not enter the kernel protocol stack, thus meeting the forwarding performance requirements of 5G networks in co-located scenarios of fourth-generation and fifth-generation mobile communications, where the backhaul throughput reaches 3G levels and the fronthaul speed in each cell reaches 3G or higher.
[0054] For example, in one implementation, such as Figure 5 As shown, S103 forwards second communication standard data to the second communication standard processing module 20 through the second logical interface and the second network card 11, including the following sub-steps: S201, the second communication standard data is sent to the data receiving port of the second communication standard processing module 20 through the second network card 11, so that the second communication standard processing module 20 performs protocol stack processing on the second communication standard data through the second kernel protocol stack of the second communication standard processing module 20 and sends it down to the baseband service processing unit of the second communication standard processing module 20.
[0055] Specifically, the second communication standard data identified as 4G service is directly transferred to the second logical interface represented by dpdk2.kni, and then reaches the data receiving port eth3 on the 4G board side via eth2, which serves as the interconnecting network card between 5G and 4G, i.e., the data receiving port of the second communication standard processing module 20. After receiving the data, the 4G board performs protocol processing through its own second kernel protocol stack. The processing queue length is configured to 1024 in the example. The processing result is then sent to the 4G baseband unit, i.e., the baseband service processing unit, and enters the original 4G service process. Thus, although 4G data reuses the 5G backhaul link for access, its subsequent processing architecture is completely consistent with that of independent backhaul, without requiring any changes to the existing system of the 4G board. In one embodiment, the forwarding rate of the second communication standard data is set to not exceed a preset rate threshold. For example, the threshold is recommended to be no more than 10Gbps. Its purpose is to prevent 4G data from occupying too much user-space forwarding resources and affecting the performance of 5G services. When the device's own processing capability is stronger than the service load, the upper limit of the rate can also be relaxed or ignored. The specific value of the threshold is determined according to the device capability and network requirements.
[0056] S104, the management plane data accessed through the local management interface 13 is routed to the management function unit of the corresponding communication standard processing module through the bridging logical channel according to the destination address of the management plane data.
[0057] For example, the management address of the first communication standard processing module 10 is the bridge interface address of bridge br1, which is 192.168.200.200, and the management address of the second communication standard processing module 20 is the interface address of its virtual LAN sub-interface eth3, which is 192.168.200.100. The two are on the same network segment, and the management plane data completes the attribution determination by matching the destination address with the corresponding management address.
[0058] For example, in one implementation, such as Figure 6 As shown, S104 includes the following sub-steps: S301, management plane data with the bridge interface address as the destination address is routed to the first management function unit of the first communication standard processing module 10 through the bridging logical channel.
[0059] As an example, the 5G management message sent by the core network 30 to the fifth-generation mobile communication system eth0 is directly delivered to the first management function unit on the 5G side via the bridge br1. This branch does not enter the kernel protocol stack forwarding process. The management message terminates on this side within the bridging domain, resulting in the shortest management path and the lowest latency for the 5G module.
[0060] S302, management plane data with the virtual LAN sub-interface address of the second communication standard processing module 20 as the destination address enters the first kernel protocol stack of the first communication standard processing module 10 through the bridging logical channel, and is forwarded to the virtual LAN sub-interface of the second communication standard processing module 20 through the second logical interface and the second network card 11, so that the second communication standard processing module 20 forwards it to the second management function unit of the second communication standard processing module 20.
[0061] 4G management messages received through local management interface 13, with a destination address of 192.168.200.100, are transferred via bridge br1 to the local kernel (the first kernel protocol stack). Subsequently, they are delivered to the eth3.10 of the 4G board via the virtual LAN sub-interface dpdk2_v10.kni of dpdk2.kni and the second network card 11. Finally, the second management function unit receives and manages the 4G module. Thus, both the device's WAN and LAN ports can access the 4G network through this management channel. Maintenance personnel only need to access the fifth-generation mobile communication system management port to manage and dynamically switch between 4G and 5G standards. Service traffic and management traffic are isolated from each other using virtual LAN identifiers and bridging logical channels, balancing system security and maintenance efficiency.
[0062] This application also provides a data forwarding device, exemplary of which includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program to enable the device to perform the functions of the data forwarding method described above or the various modules in the data forwarding system 100 described above.
[0063] The processor can be an integrated circuit chip with signal processing capabilities. The processor can be a general-purpose processor, including at least one of a Central Processing Unit (CPU), Graphics Processing Unit (GPU), Network Processor (NP), Digital Signal Processor (DSP), Application-Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor or any conventional processor, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application.
[0064] Memory can be, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), and Electrically Erasable Programmable Read-Only Memory (EEPROM). Memory is used to store computer programs, and the processor can execute these programs upon receiving execution instructions.
[0065] This application also provides a computer-readable storage medium for storing computer programs used in the aforementioned data forwarding device. For example, the computer-readable storage medium may include, but is not limited to, various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0066] This application also provides a dual-mode base station device, which includes a first communication standard processing module 10 and a second communication standard processing module 20. It is the complete hardware and software carrier for the above-mentioned data forwarding method to run. It integrates the user-mode high-speed forwarding of the service plane and the bridged unified operation and maintenance of the management plane into the same device. Its components and their configuration relationships are as follows.
[0067] The first communication standard processing module 10 includes a first network interface card (NIC) 12, a second NIC 11, a local management interface 13, a first kernel protocol stack, and a first management function unit. The first NIC 12 carries the backhaul link between the dual-mode base station equipment and the core network 30, and is the only data input / output port of the equipment facing the core network 30. Exemplarily, it is the 5G backhaul NIC eth1. The second NIC 11 connects to the second communication standard processing module 20 of the dual-mode base station equipment. Exemplarily, it is the interconnecting NIC eth2 connecting the 5G side and the 4G side. The local management interface is the access port for operation and maintenance configuration; in one embodiment, it is the 5G eth0. The first kernel protocol stack undertakes the data processing and forwarding functions of the local kernel layer. The first management function unit receives management plane data with the management address of the first communication standard processing module 10 as the destination address and performs configuration management on the 5G side.
[0068] The second communication standard processing module 20 includes a data receiving port, a virtual LAN sub-interface, a baseband service processing unit, a second kernel protocol stack, and a second management function unit. The data receiving port is connected to the second network interface card 11, and the two form an inter-board physical channel within the device. Exemplarily, the data receiving port is the backhaul port eth3 of the 4G board, used to receive second communication standard data relayed from the first communication standard processing module 10. The virtual LAN sub-interface and the virtual LAN sub-interface on the second logical interface have the same virtual LAN identifier, and its virtual LAN sub-interface address is the management address of the second communication standard processing module 20. The second kernel protocol stack performs local protocol processing on the packets received through the data receiving port and then hands them over to the baseband service processing unit for entry into the original 4G service process. The second management function unit receives the management plane data routed to its local side via the virtual LAN sub-interface and performs configuration management of the 4G module.
[0069] On the service plane, the first communication standard processing module 10 initializes the user-mode data processing environment, configures the first network interface card 12 and the second network interface card 11 as the first and second logical interfaces of the user-mode data processing environment, respectively, and establishes a bridging logical channel between the local management interface 13 and the second logical interface. It receives the core network 30 data stream transmitted via the backhaul link through the first logical interface. The core network 30 data stream includes first communication standard data and second communication standard data. Within the user-mode data processing environment, it forwards the first communication standard data of the core network 30 data stream and forwards the second communication standard data to the data receiving port through the second logical interface and the second network interface card 11. Correspondingly, the second communication standard processing module 20 receives the second communication standard data through the data receiving port, processes the second communication standard data through the second kernel protocol stack, and then sends it to the baseband service processing unit. Thus, the two backhaul optical fibers converge into one backhaul link. 4G service data multiplexes the 5G backhaul entry point into the device and completes cross-module switching within the device. After entering from the first logical interface, the 5G service data does not pass through the kernel protocol stack at all, meeting the forwarding requirements of 3G-level backhaul throughput and fronthaul rate in four cell scenarios, while the existing processing architecture of the 4G board does not need any modification.
[0070] On the management plane, the first communication standard processing module 10 is also used to route management plane data accessed through the local management interface 13 via a bridging logical channel according to the destination address of the management plane data. Specifically, management plane data with the management address of the first communication standard processing module 10 as the destination address is routed to the first management function unit via the bridging logical channel. Management plane data with the virtual LAN sub-interface address of the second communication standard processing module 20 as the destination address enters the first kernel protocol stack through the bridging logical channel and is then forwarded to the virtual LAN sub-interface via the second logical interface and the second network card 11. The second communication standard processing module 20 is also used to receive management plane data through the virtual LAN sub-interface and forward it to the second management function unit.
[0071] As an example, bridge br1 forms a bridging logical channel, with its bridge interface address 192.168.200.200 and the interface address 192.168.200.100 of eth3.10 located in the same network segment. This allows the operations and maintenance side to manage and dynamically switch between the 4G and 5G standards separately by connecting only one local management interface 13. Management traffic and service traffic are isolated from each other through sub-interfaces with the same virtual LAN identifier and the bridging logical channel. Both the device's WAN and LAN ports can access the 4G network, simultaneously improving system security and maintenance efficiency.
[0072] It should be noted that the connection relationship, configuration behavior and data flow details of each module in the dual-mode base station device of this embodiment correspond one-to-one with the aforementioned method embodiment and data forwarding system 100 embodiment. The various technical features and optional implementation methods recorded in the method embodiment, such as the system identification based on the destination service port address, multi-queue concurrent reception, and the second communication system data forwarding rate not exceeding the preset rate threshold, are all applicable to this device embodiment and produce the same technical effect.
[0073] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that, in alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0074] In addition, the functional modules or units in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0075] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0076] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A data forwarding method, characterized in that, A first communication standard processing module applied in a dual-mode base station device, the first communication standard processing module including a first network interface card (NIC) for carrying the backhaul link between the dual-mode base station device and the core network, a second NIC for connecting a second communication standard processing module of the dual-mode base station device, and a local management interface, the method including: Initialize the user-mode data processing environment, configure the first network card and the second network card as the first logical interface and the second logical interface of the user-mode data processing environment, respectively, and establish a bridging logical channel between the local management interface and the second logical interface; The core network data stream transmitted by the core network via the backhaul link is received through the first logical interface. The core network data stream includes first communication standard data and second communication standard data. The first communication standard data is forwarded within the user-mode data processing environment, and the second communication standard data is forwarded to the second communication standard processing module through the second logical interface and the second network card; The management plane data accessed through the local management interface is routed to the management function unit of the corresponding communication standard processing module through the bridging logical channel according to the destination address of the management plane data.
2. The data forwarding method according to claim 1, characterized in that, The second logical interface and the second communication standard processing module are each configured with a virtual local area network (VLAN) sub-interface with the same VLAN identifier. The bridging logic channel is established through a network bridge, and the bridge interface address of the network bridge is in the same network segment as the virtual local area network sub-interface address of the second communication standard processing module.
3. The data forwarding method according to claim 1, characterized in that, The data forwarding method further includes: identifying the first communication standard data and the second communication standard data in the core network data stream based on the destination service port address of each data packet in the core network data stream.
4. The data forwarding method according to claim 1, characterized in that, The forwarding of the second communication standard data to the second communication standard processing module through the second logical interface and the second network card includes: The second communication standard data is sent to the data receiving port of the second communication standard processing module through the second network card, so that the second communication standard processing module performs protocol stack processing on the second communication standard data through the second kernel protocol stack of the second communication standard processing module and sends it down to the baseband service processing unit of the second communication standard processing module. The forwarding rate of the second communication standard data does not exceed the preset rate threshold.
5. The data forwarding method according to claim 2, characterized in that, The management address of the first communication standard processing module is the bridge interface address, and the management address of the second communication standard processing module is the virtual LAN sub-interface address of the second communication standard processing module. The process of routing the management plane data accessed through the local management interface to the management function unit of the corresponding communication standard processing module through the bridging logical channel according to the destination address of the management plane data includes: Management plane data with the bridge interface address as the destination address is routed to the first management function unit of the first communication standard processing module through the bridging logical channel; Management plane data with the virtual LAN sub-interface address of the second communication standard processing module as the destination address enters the first kernel protocol stack of the first communication standard processing module through the bridging logical channel, and is forwarded to the virtual LAN sub-interface of the second communication standard processing module through the second logical interface and the second network card, so that the second communication standard processing module forwards it to the second management function unit of the second communication standard processing module.
6. The data forwarding method according to claim 1, characterized in that, The user-mode data processing environment is the runtime environment for the data plane development kit; Both the first logical interface and the second logical interface are kernel network interfaces of the data plane development kit; The first communication standard processing module is a fifth-generation mobile communication system baseband processing module; the second communication standard processing module is a fourth-generation mobile communication system baseband processing module. The first network card is a fifth-generation mobile communication system backhaul network card, and the second network card is an interconnection network card connected to the baseband processing module of the fourth-generation mobile communication system.
7. The data forwarding method according to claim 1, characterized in that, The core network data stream is received concurrently through the first logical interface in a multi-queue manner.
8. A data forwarding system, characterized in that, A first communication standard processing module applied in a dual-mode base station device, the first communication standard processing module including a first network interface card (NIC) for carrying the backhaul link between the dual-mode base station device and the core network, a second NIC for connecting a second communication standard processing module of the dual-mode base station device, and a local management interface, the system comprising: The environment setup module is used to initialize the user-mode data processing environment, configure the first network card and the second network card as the first logical interface and the second logical interface of the user-mode data processing environment, respectively, and establish a bridging logical channel between the local management interface and the second logical interface. The data receiving module is used to receive the core network data stream transmitted by the core network through the backhaul link via the first logical interface. The core network data stream includes first communication standard data and second communication standard data. The traffic splitting and forwarding module is used to forward the first communication standard data within the user-mode data processing environment, and to forward the second communication standard data to the second communication standard processing module through the second logical interface and the second network card; The management routing module is used to route management plane data accessed through the local management interface to the management function unit of the corresponding communication standard processing module through the bridging logical channel according to the destination address of the management plane data.
9. A data forwarding device, characterized in that, The data forwarding device includes a processor and a memory, the memory storing a computer program, and the processor executing the computer program to implement the data forwarding method according to any one of claims 1-7.
10. A dual-mode base station device, characterized in that, The dual-mode base station equipment includes a first communication standard processing module and a second communication standard processing module: The first communication standard processing module includes a first network interface card (NIC) for carrying the backhaul link between the dual-mode base station device and the core network, a second NIC for connecting the second communication standard processing module of the dual-mode base station device, a local management interface, a first kernel protocol stack, and a first management function unit. The second communication standard processing module includes a data receiving port connected to the second network card, a virtual local area network sub-interface, a baseband service processing unit, a second kernel protocol stack, and a second management function unit; The first communication standard processing module is used to initialize the user-mode data processing environment, configure the first network card and the second network card as the first logical interface and the second logical interface of the user-mode data processing environment, respectively, and establish a bridging logical channel between the local management interface and the second logical interface. It receives the core network data stream transmitted by the core network through the backhaul link through the first logical interface. The core network data stream includes first communication standard data and second communication standard data. It forwards the first communication standard data of the core network data stream in the user-mode data processing environment, and forwards the second communication standard data to the data receiving port through the second logical interface and the second network card. The second communication standard processing module is used to receive the second communication standard data through the data receiving port, process the second communication standard data through the second kernel protocol stack, and then send it to the baseband service processing unit. The first communication standard processing module is further configured to route management plane data accessed through the local management interface via the bridging logical channel according to the destination address of the management plane data. Specifically, management plane data with the management address of the first communication standard processing module as the destination address is routed to the first management function unit via the bridging logical channel; and management plane data with the virtual LAN sub-interface address of the second communication standard processing module as the destination address enters the first kernel protocol stack via the bridging logical channel and is then forwarded to the virtual LAN sub-interface via the second logical interface and the second network card. The second communication standard processing module is also used to receive the management plane data through the virtual local area network sub-interface and forward it to the second management function unit.
Citation Information
Patent Citations
Single-fiber return method and system based on multimode base station
CN114143815A
Data forwarding method and device
CN115442183A
