A data transmission method and system for realizing a logical network interface based on a physical network interface
By decoupling the data transmission process and dividing the physical interface data transmission and reception and logical interface protocol processing modules, a mapping relationship between transmission channel identification and physical interface is established, which solves the problem of low transmission rate of the physical network interface of 5G DU equipment and achieves a higher data transmission rate.
Patent Information
- Application Number
- CN202210071594.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-21
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2042-01-21
AI Technical Summary
In the prior art, the physical network interface transmission rate of 5G DU devices based on general servers or personal computers is low, which has become a performance bottleneck and is difficult to meet the needs of the theoretical peak rate of 5G air interfaces.
By decoupling the analysis process during data transmission, two independent modules are divided into physical interface data transmission and reception and logical interface protocol processing, and a mapping relationship between transmission channel identification and physical interface is established when network element is initialized, so as to realize the data under multiple low-speed physical interfaces at the same time.
The data transmission rate is improved, the transmission rate limit of a single physical interface is broken, and the higher transmission rate of a logical network interface is achieved.
Smart Images

Figure CN114501675B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a data transmission method and system for realizing a logical network interface based on a physical network interface, and in particular to the field of communication technology. Background Art
[0002] With the development of computer technology, taking 5G DU devices based on general servers or personal computers as an example, the transmission rate of a single physical interface of this type of platform is basically 1Gbps, but this type of platform itself has or can easily expand multiple similar network interfaces, and the theoretical peak rate of the 5G air interface exceeds 10Gbps, far exceeding the transmission rate of the physical interface of this type of platform, so its physical network interface has become a performance bottleneck. Summary of the invention
[0003] Purpose of the invention: A data transmission method and system for realizing a logical network interface based on a physical network interface is proposed to solve the above problems existing in the prior art. A low-rate physical network interface is realized through a decoupling analysis process to realize a high-rate logical network interface, thereby improving the data transmission rate.
[0004] Technical solution: In the first aspect, a data transmission method for realizing a logical network interface based on a physical network interface is proposed, which is characterized in that it specifically includes the following steps:
[0005] Step 1: Decouple the analysis process during data transmission;
[0006] Step 2: Divide the data processing process into two processes: physical interface data transmission and reception and logic protocol processing according to the decoupling result;
[0007] Step 3: Based on the divided data processing process, the network element initializes the required physical interface and the corresponding socket;
[0008] Step 4: When allocating a transmission channel for a terminal bearer, the network element establishes a mapping relationship between a transmission channel identifier and a physical interface;
[0009] Step 5: The network element simultaneously sends and receives data of the transmission channel under the logical interface on at least two physical interfaces according to the established mapping relationship.
[0010] In some possible implementations of the first aspect, the basis for dividing the data processing process in step 2 is: dividing the physical interface data receiving and sending data processing process according to the data processing flow of transmitting the logical interface protocol on the physical interface; dividing the logical interface protocol data processing process according to calling the corresponding protocol of the logical interface, parsing or generating the data processing flow of the logical interface protocol.
[0011] In some implementations of the first aspect, the two data processing processes divided in step 2 are relatively independent when performing data processing; when it comes to data interaction between the two, the interaction is performed through a memory mechanism.
[0012] In some implementation methods of the first aspect, when establishing a mapping relationship between a transmission channel identifier and a physical interface in step 4, the mapping relationship is: at least two different transmission channel identifiers are mapped to the same physical interface; further, when at least two different transmission channel identifiers are mapped to the same physical interface, one physical interface can send and receive at least two transmission channel data.
[0013] When establishing the mapping relationship between the transmission channel identifier and the physical interface in step 4, the mapping relationship can also be: one transmission channel identifier can be mapped to one physical interface; further, when the data under the preset transmission channel identifier can meet the transmission requirements by being transmitted only on a single physical interface, then one transmission channel identifier is mapped to the same physical interface.
[0014] When establishing a mapping relationship between a transmission channel identifier and a physical interface in step 4, the mapping relationship may also be: one transmission channel identifier may be mapped to at least two physical interfaces; further, when data under a preset transmission channel identifier needs to be transmitted on at least two physical interfaces to meet the transmission requirements, one transmission channel identifier is mapped to at least two physical interfaces.
[0015] In some implementation methods of the first aspect, in step 5, during data transmission, when the network element acts as a receiver, at least two physical interfaces simultaneously receive the transmitted data and write the received data into the memory, and then perform logical protocol processing on the data, and trigger a higher-level protocol to complete data processing and transmission according to the protocol.
[0016] In the process of data transmission in step 5, when the network element acts as the sender, the logical protocol processing generates the corresponding transmission protocol, finds the corresponding physical interface information through the transmission channel identifier, and sends the corresponding transmission protocol.
[0017] In a second aspect, a data transmission system for implementing a logical network interface based on a physical network interface is proposed, and the system specifically includes:
[0018] Decoupling modules for partitioning the analysis process;
[0019] A process partitioning module for partitioning the data processing process according to the structure of the decoupled modules;
[0020] An initialization module used to initialize the parameters required during the transmission process;
[0021] A building block for establishing a mapping relationship between a transmission channel identifier and a physical interface;
[0022] In some implementable methods of the second aspect, when data is transmitted, the decoupling module decouples the analysis process in the data transmission process according to the analysis requirements, and according to the decoupling results, the process division module divides the physical interface data transceiver module and the logical interface protocol processing module for data processing; based on the data processing process divided by the process division module, the network element uses the initialization module to initialize the required physical interface and the corresponding socket; when allocating a transmission channel for the terminal bearer, the network element uses the construction module to establish a mapping relationship between the transmission channel identifier and the physical interface, and based on the constructed mapping relationship, the network element uses the physical interface data transceiver module to simultaneously send and receive data of the transmission channel under the logical interface on at least two physical interfaces.
[0023] Among them, the physical interface data transceiver module is used to send and receive the logical interface protocol transmitted on the physical interface; the logical interface protocol processing module is used to call the corresponding protocol of the logical interface, parse or generate the logical interface protocol, that is, the data to be sent and received by the physical interface data transceiver module.
[0024] Beneficial effects: The present invention proposes a data transmission method and system for realizing a logical network interface based on a physical network interface. On the one hand, the overall data transmission task of the network element is decoupled into two modules: physical interface data transmission and reception and logical interface protocol processing. Among them, the specific task of the physical interface data transmission and reception module is to transmit and receive the logical interface protocol PDU data transmitted on the physical interface; the specific task of the logical interface protocol processing module is to call the logical interface related protocol API, parse or generate the logical interface protocol PDU, that is, the data to be transmitted and received by the physical interface data transmission and reception module. The two modules are independently designed, implemented and run; the two modules interact through memory, such as a queue mechanism.
[0025] On the other hand, after decoupling, the physical interface data transceiver module can use multiple low-speed physical interfaces to simultaneously transmit and receive data on a transmission channel under a logical interface, or transmit and receive data on a specific transmission channel under the logical interface, based on the mapping relationship between the transmission channel identifier of the logical interface and the physical interface, so as to obtain a higher logical interface transmission rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a data processing flow chart of the present invention.
[0027] Figure 2 FIG. 4 is a schematic diagram of mapping a GTP-U TEID to a physical interface according to the present invention.
[0028] Figure 3 It is a schematic diagram of mapping the GTP-U TEID to multiple physical interfaces according to the present invention.
[0029] Figure 4 This is a flow chart of network data reception and protocol processing of the present invention.
[0030] Figure 5 This is a flow chart of network element protocol data processing and sending according to the present invention. DETAILED DESCRIPTION
[0031] In the following description, a large number of specific details are provided to provide a more thorough understanding of the present invention. However, it is apparent to those skilled in the art that the present invention can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present invention, some technical features well known in the art are not described.
[0032] The applicant believes that in the existing 5G DU devices implemented by general-purpose servers or personal computers, the transmission rate of the physical interfaces involved is generally low, which makes the physical network interface reach a performance bottleneck. However, such platforms themselves have at least one network interface and can also be expanded to multiple network interfaces. In order to solve the problem of reaching a performance bottleneck due to the low transmission rate of a single physical interface, this application proposes a data transmission method and system for implementing a logical network interface based on a physical network interface, which improves the data transmission efficiency through multiple physical network interfaces with low transmission rates and combined with the data processing method of the logical interface protocol.
[0033] Embodiment 1
[0034] In one embodiment, a data transmission method for implementing a logical network interface based on a physical network interface is proposed. During the data communication transmission process, the overall data transmission task of the network element is decoupled into two independent modules: physical interface data transmission and reception and logical interface protocol data processing. The physical interface data transmission and reception module simultaneously transmits and receives data of the logical interface on multiple low-speed physical interfaces, thereby improving the transmission rate.
[0035] Specifically, take the 5G DU device based on a general-purpose server or personal computer as an example: the transmission rate of a single physical interface of this type of platform is mostly 1Gbps, but this type of platform already has or can easily expand multiple similar network interfaces.
[0036] The theoretical peak rate of 5G air interface exceeds 10Gbps, which far exceeds the transmission rate of the physical interface of this type of platform, so its physical network interface becomes a performance bottleneck. For network element devices implemented on this type of hardware platform, a method is needed to increase the transmission rate of the logical interface.
[0037] The user plane GTP-U protocol commonly used in the communication field runs on the logical interface F1-U. This protocol can uniquely identify a transmission channel through the IP address, port, and TEID. TEID is the identifier of the GTP-U transmission channel. For this 5G DU network element, if you want to obtain a high user plane transmission rate, you must increase the transmission rate of the GTP-U protocol under the logical interface F1-U.
[0038] In the process of data communication transmission, a data transmission method for realizing a logical network interface based on a physical network interface is proposed to improve the transmission rate of the protocol. The method specifically includes the following steps:
[0039] Step 1: Decouple the analysis process during data transmission;
[0040] Step 2: Divide the data processing process into two processes: physical interface data transmission and reception and logic protocol processing according to the decoupling result;
[0041] Step 3: Based on the divided data processing process, the network element initializes the required physical interface and the corresponding socket;
[0042] Step 4: When allocating a terminal bearer transmission channel, the network element establishes a mapping relationship between the transmission channel identifier and the physical interface;
[0043] Step 5: The network element simultaneously sends and receives transmission channel data under the logical interface on at least two physical interfaces according to the established mapping relationship.
[0044] This embodiment decouples the analysis process during data transmission, divides data transmission and reception and logical interface protocol processing into two independent modules, and at the same time implements physical interface transmission and reception of logical interface data according to the established mapping relationship, thereby improving the data transmission rate.
[0045] Embodiment 2
[0046] In a further embodiment based on the first embodiment, a 5GDU device implemented based on a general server or a personal computer is taken as an example: the logical interface is F1-U based on GTP-U, so the transmission channel identifier on the logical interface is GTP-UTEID; the physical interface is multiple network cards on such a platform. By multiplexing multiple physical interfaces to simultaneously send and receive data under the same F1-U interface, the transmission rate of the GTP-U protocol PDU can be increased.
[0047] By decoupling the analysis process during data transmission, the physical interface data transceiver module and the logical interface protocol processing module are divided for data processing. Among them, the physical interface data transceiver module is used to send and receive the logical interface protocol PDU data transmitted on the physical interface, and the logical interface protocol processing module is used to call the logical interface related protocol API, parse or generate the logical interface protocol PDU, that is, the data to be sent and received by the physical interface data transceiver module.
[0048] The implementation of data transmission includes the following steps:
[0049] Step 1: The network element initializes the required physical interfaces and corresponding sockets.
[0050] Specifically, when the physical network interface of the network element is started, the required physical interface parameters are configured, such as the required IP address of the physical interface, etc. When the user plane protocol stack of the network element is started, a udp socket is established on the required physical interface for sending and receiving logical interface GTP-U protocol PDU.
[0051] Step 2: When the terminal bears the allocation of transmission channels, the network element establishes a mapping relationship between the transmission channel identifier and the physical interface.
[0052] Specifically, the GTP-U protocol allocates a TEID for the bearer, that is, allocates a GTP-U transmission channel. When the GTP-U protocol allocates a TEID, it is also necessary to establish a mapping relationship between the TEID and the physical interface, and the data under the TEID is only transmitted on the physical interface with the mapping relationship. Therefore, the relevant information of the corresponding physical interface, such as the socket for sending and receiving data, IP address, etc., can also be obtained through the TEID.
[0053] Multiple different TEIDs can be mapped to the same physical interface, that is, one physical interface can send and receive data from multiple transmission channels; one TEID can be mapped to one physical interface or multiple physical interfaces.
[0054] Step 3: The network element sends and receives data on at least two physical interfaces simultaneously according to the established mapping relationship.
[0055] In a further embodiment, when establishing a mapping relationship between a transmission channel identifier and a physical interface, the relationship is established according to different channel receiving conditions.
[0056] Specifically, when the data under a specific TEID transmission channel is transmitted only on a single physical interface to meet the system design requirements, such as Figure 2 As shown in the figure, a TEID can be mapped to only one physical interface. This implementation is consistent with the protocol and can also improve the overall F1-U interface transmission rate, but the transmission rate of a specific TEID is limited to a single physical interface.
[0057] When the data under a specific TEID transmission channel needs to be transmitted on multiple physical interfaces to meet the system design requirements, such as Figure 3 As shown in Figure 1, a TEID can be mapped to multiple physical interfaces. Because the signaling plane protocol only transmits one transport layer IP address between different network elements, the IP addresses corresponding to other physical interfaces other than this IP address are not reflected in the signaling plane, so its data sending and receiving operations can only be privately implemented between the network interfaces of the sender and the receiver.
[0058] In a further embodiment, during the data transmission process, such as Figure 4 As shown, when the network element acts as a receiver, the data receiving module in the physical interface data transceiver module simultaneously receives Linux socket data on multiple physical interfaces and writes it into the memory, and then transmits the data to the logical interface protocol processing module for data processing, wherein the memory may be in the form of a queue, a stack, etc. After receiving the data in the memory, the GTP-U protocol processing module performs the GTP-U protocol processing task and triggers the upper layer protocol to process the GTP-U SDU, thereby increasing the receiving rate of the GTP-U protocol.
[0059] In a further embodiment, during the data transmission process, such as Figure 5 As shown, when the network element acts as the sender, after the logical interface protocol processing module generates the corresponding protocol PDU, the data sending module in the physical interface data transceiver module finds the mapped physical interface according to the established transmission channel identifier and sends the corresponding protocol PDU. Specifically, after the GTP-U protocol processing module generates the GTP-U PDU, the physical interface data sending module finds the mapped physical interface information according to the TEID and then sends the GTP-U PDU, thereby improving the sending rate of the GTP-U protocol.
[0060] Embodiment 3
[0061] In one embodiment, a data transmission system for implementing a logical network interface based on a physical network interface is provided to implement a data transmission method for implementing a logical network interface based on a physical network interface. The system specifically includes:
[0062] Decoupling modules for partitioning the analysis process;
[0063] A process partitioning module for partitioning the data processing process according to the structure of the decoupled modules;
[0064] An initialization module used to initialize the parameters required during the transmission process;
[0065] A building block used to establish the mapping relationship between transmission channel identifiers and physical interfaces.
[0066] In a further embodiment, when data is transmitted, the decoupling module decouples the analysis process in the data transmission process according to the analysis requirements, and according to the decoupling results, the process division module divides the physical interface data transceiver module and the logical interface protocol processing module for data processing. Based on the data processing process divided by the process division module, the network element uses the initialization module to initialize the required physical interface and the corresponding socket. When the terminal bears the allocation of transmission channels, the network element uses the construction module to establish a mapping relationship between the transmission channel identifier and the physical interface, and based on the constructed mapping relationship, uses the physical interface data transceiver module to simultaneously send and receive data on at least two physical interfaces.
[0067] In a further embodiment, the physical interface data transceiver module is used to send and receive logical interface protocol PDU data transmitted on the physical interface; the logical interface protocol processing module is used to call the logical interface related protocol API to parse or generate the logical interface protocol PDU, that is, the data to be sent and received by the physical interface data transceiver module. The two modules are independently designed, implemented and run independently; the two modules interact through memory, such as a queue mechanism. The physical interface data transceiver module can use multiple low-speed physical interfaces to send and receive data under a logical interface at the same time, or send and receive data under a specific transmission channel under the logical interface, according to the mapping relationship between the transmission channel identifier of the logical interface and the physical interface, so as to achieve the purpose of obtaining a higher logical interface transmission rate.
[0068] As described above, although the present invention has been shown and described with reference to specific preferred embodiments, it should not be construed as limiting the present invention itself. Various changes may be made to it in form and detail without departing from the spirit and scope of the present invention as defined in the appended claims.
Claims
1. A data transmission method for realizing a logical network interface based on a physical network interface, characterized in that: The specific steps include: Step 1: Decouple the analysis process during data transmission; Step 2: divide the physical interface data transmission and reception and the logical protocol processing into two independent data processing processes according to the decoupling result, and interact through the memory mechanism when it comes to data interaction between the two; wherein, the physical interface data transmission and reception data processing process is divided according to the data processing flow of transmitting the logical interface protocol on the physical interface; and the logical interface protocol data processing process is divided according to the data processing flow of parsing or generating the logical interface protocol by calling the corresponding protocol of the logical interface; The physical interface data transceiver module is used to send and receive the logical interface protocol PDU data transmitted on the physical interface, and the logical interface protocol processing module is used to call the logical interface related protocol API, parse or generate the logical interface protocol PDU, that is, the data to be sent and received by the physical interface data transceiver module; Step 3: Based on the divided data processing process, the user plane protocol stack of the network element is started, and the required physical interface and the corresponding socket are initialized, and a UDP socket is established on the required physical interface for sending and receiving the logical interface GTP-U protocol PDU; Step 4: When allocating a GTP-U transmission channel for a terminal bearer, the network element establishes a mapping relationship between a transmission channel identifier TEID and a physical interface; the mapping relationship is that at least two different physical interfaces are mapped to the same logical interface; at the same time, when at least two different physical interfaces are mapped to the same logical interface, data of one logical interface can be sent and received on at least two physical interfaces; The mapping relationship also includes: one transmission channel identifier is mapped to one physical interface; when the data under the preset transmission channel identifier can meet the transmission requirement by being transmitted only on a single physical interface, then one transmission channel identifier is mapped to the same physical interface; The mapping relationship further includes: one transmission channel identifier is mapped to at least two physical interfaces; when data under the preset transmission channel identifier needs to be transmitted on at least two physical interfaces to meet the transmission requirement, one transmission channel identifier is mapped to at least two physical interfaces; Step 5: The network element sends and receives data on at least two physical interfaces simultaneously according to the established mapping relationship.
2. A data transmission method based on a physical network interface to realize a logical network interface according to claim 1, characterized in that: In the process of data transmission in step 5, when the network element acts as a receiver, at least two physical interfaces simultaneously receive the transmitted data and write the received data into the memory, and then process the data through the logical interface protocol, and trigger the protocol of the next higher layer, and complete the data processing and transmission according to the protocol.
3. The data transmission method based on a physical network interface to realize a logical network interface according to claim 1, characterized in that: In the process of data transmission in step 5, when the network element acts as the sender, the logical interface protocol generates the corresponding transmission protocol PDU, finds the corresponding physical interface information through the transmission channel identifier, and sends the corresponding transmission protocol PDU.
4. A data transmission system for realizing a logical network interface based on a physical network interface, used to implement any one of the methods of claims 1-3, characterized in that: The system specifically includes: Decoupling modules for partitioning the analysis process; A process partitioning module for partitioning the data processing process according to the structure of the decoupled modules; An initialization module used to initialize the parameters required during the transmission process; A building block for establishing a mapping relationship between a transmission channel identifier and a physical interface; Furthermore, when data is transmitted, the decoupling module decouples the analysis process in the data transmission process according to the analysis requirements, and according to the decoupling results, the process division module divides the physical interface data transceiver module and the logical interface protocol processing module for data processing; based on the data processing process divided by the process division module, the network element uses the initialization module to initialize the required physical interface and the corresponding socket; when the terminal bears the allocation of transmission channels, the network element uses the construction module to establish a mapping relationship between the transmission channel identifier and the physical interface, and based on the constructed mapping relationship, uses the physical interface data transceiver module to simultaneously send and receive data of a logical interface transmission channel on at least two physical interfaces.
5. A data transmission system for realizing a logical network interface based on a physical network interface according to claim 4, characterized in that: The physical interface data transceiver module is used for transceiving the logical interface protocol transmitted on the physical interface; The logic interface protocol processing module is used to call the logic interface corresponding protocol, parse or generate the logic interface protocol PDU, that is, the data to be sent and received by the physical interface data transceiver module.
Citation Information
Patent Citations
Interface layer and method for processing data packet
CN103428301A