Computing device with virtual network layer having a user plane function (UPF) plug-in installed and UPF packet processing method
The integration of a UPF plug-in in the virtual network layer of a computing device addresses latency and resource issues in 5G networks by optimizing packet processing through direct layer interactions, reducing latency and resource occupation.
Patent Information
- Application Number
- JP2023147715
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-12-20
- Filing Date
- 2023-09-12
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-09-12
AI Technical Summary
The existing 5G network architecture with UPF deployed at the application layer results in significant latency and CPU resource occupation due to repeated packet transmissions between the virtual network and application layers, hindering high-speed transmission and service operations.
A computing device with a virtual network layer equipped with a UPF plug-in, utilizing a network virtualization platform that includes a hardware layer with a processing unit, storage unit, and network interface card, and a virtual network layer with the UPF plug-in, which performs rule matching and packet offloading or forwarding without kernel intervention, thereby bypassing the application layer.
This solution reduces packet processing latency and optimizes CPU resource usage by minimizing packet transfers between layers, enhancing flexibility and compatibility across different hardware and software configurations.
Smart Images

Figure 0007554892000003 
Figure 0007554892000006 
Figure 0007554892000002
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for processing user plane function (UPF) packets (hereinafter abbreviated as "UPF packets") and a computing device for implementing the method, and more particularly to a method for processing UPF packets, the method being compatible with a virtual network layer. [Background technology]
[0002] The development of mobile networks is bringing about revolutionary changes to traditional network infrastructure. For example, the fifth generation (5G) technology standard introduces the concept of open networking, which decouples and virtualizes network functions, and combines it with cloud-native technologies to distribute network functions to edge nodes in the form of microservices, realizing edge computing. This approach is more flexible for various applications and use cases, and brings network functions closer to end users, reducing latency and improving the overall user experience.
[0003] Specifically, the decoupling and virtualization of network functions includes splitting the core network into a user plane and a control layer as shown in Figure 1, and deploying user plane functions (UPF) 91 to the application layer 92 of a multi-access edge computing (MEC) server 90 based on the virtualization technology of the cloud native architecture, thereby providing computation and services close to user terminals. For example, on the Blue Arcus introduction webpage, Intel introduces UPF deployed in the application layer. (See the following URL: https: / / networkbuilders.intel.com / commercial-applications / bluearcus-upf )
[0004] In this architecture shown in FIG. 1, when a packet is sent by a user equipment (UE) 81, the packet is sent through a GPRS Tunneling Protocol User Plane (GTP-U) tunnel via a Radio Access Network (RAN) 82 to a MEC server 90, where a virtual network layer 901 of the MEC server 90 further forwards the packet to a UPF 91 of an application layer 92. The UPF 91 decaps the packet, i.e., unpacks the GTP-U header and executes the match rule. If the UPF 91 is a PDU (Protocol Data Unit) session anchor, the packet is returned to the virtual network layer 901, which again offloads the packet to one of the applications (APP) of the application layer 92 for service (data flow shown by arrow A in FIG. 1). If the UPF 91 is not a session anchor, the UPF 91 repackages the GTP-U header and forwards the package via the MEC server 90 to another MEC server 90' (data flow shown by arrow B in FIG. 1). For more information, see ETSI TS 123 502 v16.5.0, entitled “5G; Procedures for the 5G System (5GS) (3GPP TS 23.502 version 16.5.0 release 16)” published by the European Telecommunications Standards Institute (ETSI) in July 2020.
[0005] However, in such a process, the packet will be transmitted between the virtual network layer 901 and the application layer 92 of the MEC server 90 many times, resulting in a significant delay problem. In detail, the virtual network layer 901 is implemented by software such as a bridge and iptable, and cooperates with the APP to provide a specific service. In this architecture, since the packet is transmitted between the virtual network layer 901 and the application layer 92 during processing, processing related to the routing policy is added. Since the calculation processing is performed by the central processing unit (CPU) of the MEC server 90, not only will a significant latency problem occur in the packet processing, but also the normal basic calculation resources of the CPU will be occupied. As a result, the service operation will be delayed, making it difficult to meet the requirements of high-speed transmission and low delay. Summary of the Invention [Problem to be solved by the invention]
[0006] Therefore, an object of the present invention is to provide a computing device having a virtual network layer with a user plane function (UPF) plug-in installed, which can alleviate at least one of the drawbacks of the above-mentioned prior art. [Means for solving the problem]
[0007] Thus, according to the present invention, a computing device receives packets from a user equipment (UE) and communicates with other computing devices, the computing device comprising a processing unit, a storage unit connected to the processing unit, a network interface card (NIC) connected to the processing unit and the storage unit for receiving packets, and a network virtualization platform.
[0008] The network interface card, the processing unit, and the storage unit are collectively defined as a hardware layer. The network virtualization platform operates in the hardware layer and is configured to be executed by the processing unit to accommodate a plurality of virtual network applications. The network virtualization platform includes an application layer in which the virtual network applications are deployed, and a virtual network layer in which a user plane function (UPF) plug-in is installed.
[0009] The UPF plug-in is configured to perform rule matching according to a packet header of the packet and determine whether to perform a step of offloading the packet to one of the virtual network applications in the application layer for the virtual network application to provide a service, or a step of repackaging the packet and forwarding the packet to the other computing device.
[0010] Another object of the present invention is to provide a method for processing a UPF packet, which can alleviate at least one of the drawbacks of the prior art.
[0011] According to the invention, the method is performed by a computing device. The computing device comprises a processing unit, a storage unit, and a network interface card (NIC) connected to each other and collectively defined as a hardware layer. The computing device further comprises a network virtualization platform operating on the hardware layer and configured to be executed by the processing unit to accommodate a plurality of virtual network applications. The network virtualization platform includes an application layer in which the virtual network applications are deployed, and a virtual network layer in which a User Plane Function (UPF) plug-in is installed. The UPF plug-in communicates with other computing devices. The method includes the following steps:
[0012] In one step, the network interface card receives a packet from a user device.
[0013] In another step, the UPF plug-in performs rule matching according to a packet header of the packet and determines whether to perform the following steps: offloading the packet to one of the virtual network applications in the application layer for the virtual network application to provide a service, or repackaging the packet and forwarding the packet to the other computing device. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is a block diagram illustrating a conventional architecture of a UPF deployed in the application layer of an MEC server. [Diagram 2] FIG. 2 is a block diagram illustrating the architecture of a computing device with a virtual network layer having a UPF plug-in according to an embodiment of the present invention. [Diagram 3]1 is a flowchart illustrating a method for processing a UPF packet according to an embodiment of the present invention. [Figure 4] FIG. 2 is a block diagram illustrating another architecture of a computing device with a virtual network layer having a UPF plug-in in accordance with another embodiment of the present invention. [Diagram 5] 11 is a flowchart illustrating a method for processing a UPF packet according to another embodiment of the present invention. [Figure 6] FIG. 2 is a block diagram illustrating another architecture of a computing device with a virtual network layer having a UPF plug-in in accordance with another embodiment of the present invention. [Figure 7] FIG. 2 is a schematic diagram showing the software / hardware by which packets are processed. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Before describing the present invention in more detail, it should be noted that, where considered appropriate, numerals or numeral terminals have been repeated among the drawings to indicate corresponding or similar elements which may have similar characteristics.
[0016] 2, an embodiment of a computing device 100 of the present invention is configured to be deployed as an edge computing node of a 5G network. The computing device 100 has a virtual network layer 12 installed with a user plane function (UPF) plug-in 3. The computing device 100 may be any computer that supports virtual network technology, for example, but not limited to, a multi-access edge computing (MEC) server that complies with 3rd Generation Partnership Project (3GPP) standards and / or standards developed by the European Telecommunications Standards Institute (ETSI).
[0017] In this embodiment, the computing device 100 has multiple physical hardware components connected to each other. The physical hardware components include a processing unit 201, a storage unit 202 for storing program instructions, and a network interface card (NIC), which are collectively defined as a hardware layer 2 of the computing device 100. The hardware layer 2 provides an operating environment for the network virtualization platform 1 of the computing device 100. The processing unit 201 may be a central processing unit (CPU), or may be implemented by firmware or hardware such as a microprocessor or a system-on-chip, and may utilize a single device or distributed devices to perform functions. The storage unit 202 may be one or more computer-readable media, and may be various forms of memory such as random access memory (RAM), read-only memory, flash memory, fixed or removable storage media, and may be used to store code and data in the form of instructions or data structures accessed by the processing unit 201.
[0018] In this embodiment, the NIC is a general network interface card (hereinafter referred to as NIC 21). The NIC 21 is configured to have one or more virtual input / output (I / O) interfaces 210 for exchanging packets. FIG. 2 illustrates two virtual I / O interfaces 210 for receiving packets and transmitting packets. In this embodiment, the NIC 21 receives packets output from a user equipment (UE) 41 and transmitted through a GPRS Tunneling Protocol User Plane (GTP-U) tunnel via a radio access network (e.g., a radio access network (RAN)) 42. Upon processing the packets, the computing device 100 offloads the packets to provide services or forwards the packets to the next node (described in detail below). It should be noted that the type of the NIC 21 is not limited to those mentioned in this description and may be a field-programmable gate array (FPGA) or, in other embodiments as shown in FIG. 4, a smart network interface card (hereinafter referred to as smart NIC).
[0019] The network virtualization platform 1 is configured to accommodate multiple independent virtual network applications 110 executed by the processing unit 201. Examples of the virtual network applications 110 include various microservice applications, Session Management Functions (SMFs), and applications (APPs) that provide functionality similar to hardware devices, such as virtual routers, firewalls, intrusion prevention systems, etc. The SMFs are used to establish new Protocol Data Unit (PDU) sessions or modify established PDU sessions for the UPF via the N4 interface.
[0020] Specifically, the network virtualization platform 1 includes an application layer 11 in which a virtual network application 110 is deployed, and a virtual network layer 12 in which a UPF plug-in 3 is installed. In this embodiment, the virtual network layer 12 refers to a network layer deployed based on the virtualization technology of a cloud native architecture. In this embodiment, the virtual network layer 12 of the network virtualization platform 1 is implemented by VPP (Vector Packet Processing), but is not limited thereto, and may be other SDKs (Software Development Kits) such as 6WINDGate provided by 6WIND.
[0021] The UPF is one of the basic components of the infrastructure architecture in the 3GPP® 5G core network, and is deployed in an edge computing node in a decoupled manner. In this embodiment, the UPF is programmed as a modular plug-in (i.e., the UPF plug-in 3) under the VPP graph architecture, and is installed in the virtual network layer 12 in the form of a plug-in. The UPF plug-in 3 is inserted into the packet processing flow of the original function of the virtual network layer 12 and executed, thereby realizing the expansion of the function and the flexibility of operation without affecting the original function of the virtual network layer 12. For example, the packet processing flow is shown by the dashed arrow in FIG. 2. The original function of the virtual network layer 12 is the function of each layer in the OSI model (Open System Interconnection Model), such as the link layer 121, the internet layer 122, and the transport layer 123. The UPF plug-in 3 has a function of processing packets of 3GPP® interfaces, such as the N3, N4, N6, N9, N11, N19, S5-U, and S2B-U interfaces. The UPF plug-in 3 communicates with other computing devices 100' through the N9 interface of the 5G standard defined by 3GPP. As per the 5G standard defined by 3GPP, the N9 interface is an interface between two UPFs. The aforementioned 3GPP specifications and standards are not features of the present invention and are not described herein. The specific functions of the UPF plug-in 3 are described in detail below.
[0022] The network virtualization platform 1 may be divided into a kernel space 101 and a user space 102 according to the privilege level of the operating system of the computing device 100. Kernel processes related to privileged instructions (such as instructions from the device driver 13) are executed in the kernel space 101. The user space 102 is used for non-privileged processing. Both the application layer 11 and the virtual network layer 12 run in the user space 102. In this embodiment, the device driver 13 uses, but is not limited to, uio_generic_pci, virtio, or igb_uio supported by the Data Plane Development Kit (DPDK).
[0023] Further referring to FIG. 3, a method for processing a UPF packet is performed by the computing device 100 of this embodiment and includes the following steps.
[0024] When the UE 41 transmits a packet, the packet is received by the NIC 21 through the N3 interface of the GTP-U via the RAN 42 (step S1). As per the 5G standard defined by 3GPP, the N3 interface refers to the interface between the RAN 42 and the UPF.
[0025] In step S2, the packet is moved from the NIC 21 to the storage unit 202 by the device driver 13 using a zero-copy technique, so that the virtual network layer 12 can directly read the packet from the storage unit 202. In a specific embodiment, the device driver 13 is supported by a data plane development kit (DPDK) and can directly send the packet to the user space 102 by polling. In another specific embodiment, the device driver 13 is a software development kit (SDK) such as eXpress Data Path (XDP), which enables the transmission of the packet without interrupting the processing unit 201 to duplicate the packet, and the packet is directly transmitted from the NIC 21 to the user space 102 without needing to be exchanged between the user space 102 and the kernel space 101. In this way, a kernel bypass is realized, and the flow of data from the physical network to the virtual network is relatively fast, accelerating the packet processing speed.
[0026] In step S3, the UPF plug-in 3 decaps the packet, analyzes the packet header of the packet, and performs rule matching according to the packet header. With regard to rule matching, the UPF plug-in 3 determines a PDU session anchor according to the request of the UE 41 recorded in the packet to determine whether to perform step S4a or step S4b. Specifically, the packet records a target microservice application or a local area data network (LADN) required by the UE 41, which is the basis for the UPF plug-in 3 to determine the PDU session anchor. If the UPF plug-in 3 determines that it is the PDU session anchor of the packet (step S4a), the method flow proceeds to step S5a, where the UPF plug-in 3 offloads the packet to a specified virtual network application 110 in the application layer 11 via the N6 interface for the virtual network application 110 to provide the service. If the UPF plug-in 3 determines that it is a branch point rather than a PDU session anchor (step S4b), the method flow proceeds to step S5b, where it repackages the packet and forwards it to the other computing device 100' via the N9 interface (the interface between the two UPFs).
[0027] As described above, by installing UPF as a plug-in in the virtual network layer 12 and by using kernel bypass, packet transfer between the application layer 11 and the virtual network layer 12 can be avoided, and packet processing can be accelerated.
[0028] Furthermore, by modularizing the UPF into plug-ins, greater compatibility and flexibility of operation is achieved for various computing devices that use different hardware resources or different virtual network layers. Referring to FIG. 4, in another embodiment of the present invention, the NIC of the computing device 100 is a smart network card 22 that supports hardware offload functions. The smart network card 22 supports part of the packet processing that is originally performed by the virtual network layer 12 and the UPF plug-in 3. The smart network card 22 is configured to provide one or more virtual input / output (I / O) interfaces 220 for exchanging packets.
[0029] Further referring to FIG. 5, in this embodiment, the method for processing a UPF packet is performed by the computing device 100 shown in FIG. 4, and is similar to the method shown in FIG. 3, except for steps S2' and S3'. In step S2', the smart network card 22 directly decaps the received packet, analyzes the packet header, and sends the decapped packet to the UPF plug-in 3 through the virtual network layer 12. In step S3', since the packet has already been decapped and the header has been analyzed, the UPF plug-in 3 directly performs rule matching on the packet. Then, the UPF plug-in 3 proceeds to steps S4a, S5a or steps S4b, S5b according to the matching result. With the support of the smart network card 22, the computing resources of the processing unit 201 and the storage unit 202 of the computing device 100 can be further saved, and the latency of packet processing can be reduced.
[0030] In conclusion, the architecture of the UPF plug-in 3 of the present invention can be adapted to various software and hardware configurations of different computing devices 100. With reference to Figures 6 and 7, when the computing device 100 adopts a universal NIC (i.e., the NIC 21 in Figure 2), the flow of packet processing is shown as arrow (a) in Figure 6, that is, from the NIC 21, through the device driver 13, into the virtual network layer 12 of the user space 102, and then to the UPF plug-in 3. Finally, according to the result of rule matching, the packet can be offloaded to the application layer 11. If the NIC of the computing device 100 is a smart network card 22 (see Figure 4), the flow of packet processing is shown as arrow (b) in Figure 6, from the smart network card 22 through the device driver 13 directly to the UPF plug-in 3, and then according to the result of rule matching, the packet can be offloaded to the application layer 11.
[0031] The network virtualization platform 1 can provide a unified management interface for virtual machine and container application services while supporting infrastructure solutions such as OpenStack NFV (OPNFV) and Kubernetes. The virtual network applications 110 may be containers, virtual machines, so that it is easy to rapidly deploy various virtual network applications 110. More specifically, each virtual network application 110 may be a container managed by the virtual network layer 12 using a tool such as Kubernetes or Docker. Also, each virtual network application 110 may be a virtual machine managed by the virtual network layer 12 using a tool such as VMware vSphere Hypervisor (ESXi), OpenStack, or Hyper-V.
[0032] In addition, the virtual network application 110 shares the storage unit 202 through a shared memory packet interface (memif) 14. The memif 14 serves as an interface between the virtual network application 110 and the virtual network layer 12, and enables packets to be transmitted directly in the virtual network layer 12. In this way, the flow of data between the virtual network layer 12 and the local data network is accelerated without passing through the kernel space 101, which greatly shortens the time of UE registration, PDU session establishment, etc., and achieves the purpose of accelerating packet processing.
[0033] In summary, in contrast to the application layer 11, the UPF deployed in the virtual network layer 12 reduces the frequency of packets being transmitted back and forth. The UPF is deployed in the virtual network layer 12 in a plug-in manner, which does not affect the original architecture of the virtual network layer 12 and makes the deployment more flexible and extensible. Furthermore, the present invention uses acceleration tools such as DPDK and XDP to improve the efficiency of packet processing and bypass the kernel to speed up the data flow between the physical network and the virtual network. Furthermore, the data flow between the virtual network application 110 and the virtual network layer 12 is accelerated by the memif interface. With the above features, the object of the present invention is reliably achieved.
[0034] In the above, many specific details are provided to facilitate a comprehensive understanding of the present invention. However, it will be apparent to one skilled in the art that one or more other embodiments may be implemented without providing specific details. In addition, in the description of "one embodiment" or "one embodiment" in this specification, it should be understood that all descriptions accompanied by ordinal numbers or other indications may be included in the specific implementation of the present invention having specific aspects, structures, and features. Furthermore, in this description, multiple variations are sometimes incorporated into one embodiment, drawing, or description thereof, but this is for the purpose of streamlining the description and for the purpose of understanding the multiple aspects of the present invention, and one or more features or specific embodiments in one embodiment may be implemented together with one or more features or specific embodiments in other embodiments, where appropriate, in the implementation of the present invention.
[0035] Although examples of the embodiments of the present invention have been described above, the present invention is not limited to these, and is intended to encompass all modifications and equivalent configurations as various configurations falling within the spirit and scope of the broadest interpretation.
Claims
1. 1. A computing device for receiving packets from a user equipment and communicating with other computing devices, comprising: A processing unit; a storage unit connected to the processing unit; a network interface card connected to the processing unit and the storage unit, configured to receive packets, and collectively defined as a hardware layer together with the processing unit and the storage unit; a network virtualization platform operating at the hardware layer and configured to be executed by the processing unit to accommodate a plurality of virtual network applications; The network virtualization platform includes: an application layer in which the virtual network application is deployed; a virtual network layer having a User Plane Function (UPF) plug-in installed therein, the UPF plug-in performing rule matching according to a packet header of the packet; and offloading the packets to one of the virtual network applications in the application layer for the virtual network application to provide a service; repackaging the packet and forwarding the packet to the other computing device. Computing device.
2. The UPF plug-in is configured to determine whether to perform the offloading step or the repackaging step based on a Protocol Data Unit (PDU) session anchor, the PDU session anchor being determined according to a request of the user equipment recorded in the packet; If the UPF plug-in determines that it is the PDU session anchor for the packet, the offloading step is performed; If the UPF plug-in determines that it is not the PDU session anchor, the repackaging step is performed. The computing device of claim 1 .
3. The UPF plug-in is configured to decap the packet, parse a packet header of the packet, perform rule matching according to the packet header, and determine the PDU session anchor according to a requirement of the user equipment recorded in the packet. The computing device of claim 2 .
4. The network interface card is a smart network card supporting a hardware offload function, and the smart network card is configured to directly decap the received packet, analyze the packet header, and send the decapped packet to the UPF plugin, and the UPF plugin is configured to perform rule matching on the packet according to the packet header of the packet, and determine the PDU session anchor according to the request of the user equipment recorded in the packet. The computing device of claim 2 .
5. the packets are moved from the network interface card to the storage unit by a device driver using zero-copy techniques; The computing device of claim 1 .
6. The network virtualization platform is divided into a kernel space and a user space according to a privilege level of an operating system of the computing device, the device driver operates in the kernel space, and the application layer and the virtual network layer operate in the user space. The computing device of claim 5 .
7. The device driver is supported by a data plane development kit and can send the packets directly to the user space by polling. The computing device of claim 6.
8. the virtual network applications share the storage unit by a shared memory packet interface; The computing device of claim 1 .
9. The virtual network layer of the network virtualization platform is implemented by vector packet processing, and the UPF plug-in is programmed as a modular plug-in under a vector packet processing graph architecture. The computing device of claim 1 .
10. The UPF plug-in communicates with the other computing devices via an interface of a 5G standard defined by 3GPP. The computing device of claim 1 .
11. 1. A method for processing User Plane Function (UPF) packets executed by a computing device, the computing device comprising a processing unit, a storage unit and a network interface card connected to each other and collectively defined as a hardware layer, the computing device further comprising a network virtualization platform operating in the hardware layer and configured to be executed by the processing unit to accommodate a plurality of virtual network applications, the network virtualization platform including an application layer in which the virtual network applications are deployed and a virtual network layer in which a User Plane Function (UPF) plug-in is installed, the UPF plug-in communicating with other computing devices, the method comprising: receiving, by said network interface card, a packet from a user equipment; The UPF plug-in performs rule matching according to a packet header of the packet; and offloading the packets to one of the virtual network applications in the application layer for the virtual network application to provide a service; repackaging the packet and forwarding the packet to the other computing device.
12. The UPF plug-in determines whether to perform the offloading step or the repackaging step based on a protocol data unit (PDU) session anchor, the PDU session anchor being determined according to a request of the user equipment recorded in the packet; If the UPF plug-in determines that it is the PDU session anchor for the packet, the offloading step is performed; If the UPF plug-in determines that it is not the PDU session anchor, the repackaging step is performed. The method of claim 11.
13. Steps performed by the UPF plug-in after receiving the packet, comprising: decapsating the packet; parsing a packet header of the packet; performing rule matching according to the packet header; determining the PDU session anchor according to a request of the user equipment recorded in the packet; The method of claim 12.
14. The network interface card is a smart network card that supports a hardware offload function, and the method includes, after receiving the packet, decapsulating, by the smart network card, the received packets; analyzing, by the smart network card, the packet header; sending, by the smart network card, the decapped packets to the UPF plug-in via the virtual network layer; performing rule matching on the packet according to the packet header of the packet, by the UPF plug-in, to determine the PDU session anchor according to a request of the user equipment recorded in the packet; The method of claim 12.
15. and after receiving the packet, moving, by a device driver, the packet from the network interface card to the storage unit using zero-copy techniques. The method of claim 11.
Citation Information
Patent Citations
Network and edge acceleration tile (NEXT) architecture
US20210117360A1
Systems and methods for user plane function ("UPF") offload at configurable routing fabric
US20220021605A1
Systems and methods to deploy user plane function (UPF) and edge computing virtualized network functions (VNFS) in network functions virtualization (NFV) environment networks
US20220159501A1
