The User Plane Function (UPF) is one of the most important network functions (NFs) in the 5G core network. It is the second network functional unit that the Radio Network (RAN) interacts with during PDU flows in 5G (NR). As a key element in the evolution of Control Plane and User Plane Separation (CUPS), the UPF is responsible for inspecting, routing, and forwarding packets within QoS flows in subscription policies. It uses the SMF to send SDF templates via the N4 interface to enforce uplink (UL) and downlink (DL) traffic rules. When the corresponding service ends, the UPF allocates or terminates QoS flows in the PDU session.
I. User Plane Establishment When initially accessing the 5G system, the terminal (UE) needs to establish a user plane channel with the data center according to the control plane guidance for service data transmission. During this process:
![]()
Figure 1. 5G Terminal User Plane Establishment Process (Messages)
II. First Uplink/Downlink Data Transmission When actual data transmission (i.e., uplink or downlink data) occurs, the AMF sends another SM context request to the SMF, in which:
![]()
Figure 2.5G Terminal User Plane First Data Transmission Flow (Message)