WO2022033340A1 - Data processing method, user plane function, and device - Google Patents

Data processing method, user plane function, and device Download PDF

Info

Publication number
WO2022033340A1
WO2022033340A1 PCT/CN2021/109883 CN2021109883W WO2022033340A1 WO 2022033340 A1 WO2022033340 A1 WO 2022033340A1 CN 2021109883 W CN2021109883 W CN 2021109883W WO 2022033340 A1 WO2022033340 A1 WO 2022033340A1
Authority
WO
WIPO (PCT)
Prior art keywords
data packet
upf
gtp
data
header information
Prior art date
Application number
PCT/CN2021/109883
Other languages
French (fr)
Chinese (zh)
Inventor
程志密
胡渭琦
Original Assignee
大唐移动通信设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大唐移动通信设备有限公司 filed Critical 大唐移动通信设备有限公司
Publication of WO2022033340A1 publication Critical patent/WO2022033340A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Definitions

  • the present disclosure relates to the field of communication technologies, and in particular, to a data processing method, a user plane function, and a device.
  • SDN software-defined networking
  • the network devices in the SDN network are usually Openflow switches.
  • the network devices may include all forwarding devices whose forwarding rules are controlled by the SDN controller.
  • the control plane and the forwarding plane are separated in the SDN network.
  • the control plane node is the SDN Controller (SDN controller), which is responsible for network topology calculation, network status monitoring, path calculation, and path rule generation.
  • SDN controller SDN Controller
  • the forwarding plane node is called an SDN switch, which is responsible for forwarding data according to the entries in the flow table.
  • SDN switches support the Openflow protocol. The communication between the controller and the switch relies on the Openflow protocol, mainly for reporting unknown packets, reporting network status and traffic statistics, and issuing flow rules.
  • the data forwarding mechanism in the SDN network is very different from the packet forwarding mechanism in the traditional IP network.
  • the SDN switch performs packet forwarding, it first matches the flow table according to the packet header information.
  • the packet header information mainly consists of 11 fields.
  • the SDN switch finds a match for the group, the SDN switch will perform the next action according to the action (action domain) entry in the match, such as drop, output, set queue, etc.
  • the SDN switch simply sends the packet out the corresponding port to complete the forwarding.
  • the SDN switch If the SDN switch does not find a matching table entry for the packet, the SDN switch needs to send the packet, or the packet header information of the packet to the SDN controller through the packet in message, and the SDN controller calculates the forwarding path and corresponding rules according to the packet header information.
  • the SDN controller searches the saved network topology and obtains the shortest path information according to the MAC address, IP address and other information of the parsed packets.
  • the path information mainly includes switch identification, data receiving port and forwarding port. Then the SDN controller calculates the forwarding rule corresponding to each switch according to the path information, and sends it to the SDN switch through the FLOW_MOD message. After the SDN switch receives the flow forwarding rules, it updates the flow table, and then forwards it according to the flow table.
  • SDN switches that support the Openflow protocol can also support multi-flow table forwarding in the future, that is, multi-level flow table matching is required when querying flow tables.
  • the core user plane uses the GTP-U protocol for data forwarding, that is, after the RAN receives the data packet, it adds a GTP-U data packet header to the data packet to become a GTP data packet.
  • the header carries the GTP tunnel identifier TEID allocated by the UPF (if there is an intermediate UPF).
  • the UPF receives the data packet, it re-encapsulates it into a GTP data packet according to the IP address and TEID assigned by the PSA.
  • the PSA strips the GTP data packet header to obtain the IP data packet, and then forwards the IP data packet to the DN through the N6 interface. If the GTP-U protocol is still used in the SDN network, it will bring the following shortcomings:
  • IP data packets need to be extracted from GTP data packets and then processed, which increases processing delay and reduces transmission efficiency.
  • the SMF When the UPF connected to the RAN is replaced, the SMF also needs to update the tunnel information of the core network to the RAN, increasing signaling overhead.
  • Embodiments of the present disclosure provide a data processing method, user plane function, and device. It can be solved that the packets transmitted on the links inside the core network are IP data packets, which reduces the complexity of data processing and transmission.
  • the present disclosure is a data processing method, which is applied to the user plane function UPF, and the method includes:
  • the first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message;
  • the first UPF transmits the IP data packet.
  • the first UPF that communicates with the access network AN receives the GTP data message, it further includes:
  • the first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: at least one of path information, flow forwarding rules, flow detection rules, and request tunnel information allocation;
  • the second UPF is a packet data protocol PDU session anchor PSA;
  • the second UPF After receiving the session establishment request, the second UPF allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the access network;
  • the first UPF After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
  • the first UPF that communicates with the access network AN receives the GTP data message, and processes the GTP message to obtain an IP data message, including:
  • the first UPF receives the GTP data message sent by the access network, and decapsulates the GTP data message to obtain an IP data message;
  • the second UPF forwards the IP data packet according to the IP header information of the IP data packet; the second UPF is the PDU session anchor Click PSA.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data packets, and forward the IP data packets.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
  • the first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  • the second UPF forwards the IP data packet according to the IP header information of the IP data packet, including:
  • the second UPF After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  • the data processing method further includes:
  • the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the access network.
  • the first UPF encapsulates the received IP data packet into a GTP data packet and forwards it to the access network, including:
  • the at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
  • the first UPF After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
  • the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message, including: :
  • the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
  • the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
  • the SDN switch receives the GTP data message to be sent to the data network DN;
  • the SDN switch performs flow table matching according to the received GTP data packet header information, and if a matching item can be found, the action domain of the matching item is to delete the GTP data packet header and transfer to the next-level flow table entry;
  • the SDN switch performs flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header. If a matching item can be found, then the action domain of the matching item is Packet in.
  • the first UPF transmits the IP data packet, including:
  • the SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF.
  • the flow processing rule is determined according to the header information of the IP data packet.
  • Embodiments of the present disclosure also provide a user plane function UPF, including: a transceiver, a processor, and a memory, where a program executable by the processor is stored in the memory; when the processor executes the program, the processor implements:
  • the first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, processes the GTP message, obtains an IP data message, and transmits the IP data message.
  • the user plane function UPF also includes:
  • the first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: at least one of path information, flow forwarding rules, flow detection rules, and request tunnel information allocation; the second UPF is the PDU session anchor PSA;
  • the second UPF After receiving the session establishment request, the second UPF allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the access network;
  • the first UPF After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
  • the first UPF that communicates with the access network AN receives the GTP data message, and processes the GTP message to obtain an IP data message, including:
  • the first UPF receives the GTP data packet sent by the access network, and decapsulates the GTP data packet to obtain an IP data packet; forwards the IP data packet to at least one second UPF, and The IP data packet is forwarded by the second UPF according to the IP header information of the IP data packet; the second UPF is the PDU session anchor PSA.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data packets, and forward the IP data packets.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
  • the first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  • the second UPF forwards the IP data packet according to the IP header information of the IP data packet, including:
  • the second UPF After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  • the user plane function UPF further includes: for downlink data, the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the GTP data packet. Access Network.
  • the first UPF encapsulates the received IP data message into a GTP data message, and forwards it to the access network, including:
  • the at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
  • the first UPF After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
  • the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message, including: :
  • the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
  • the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
  • the SDN switch receives the GTP data message to be sent to the data network DN;
  • the SDN switch performs flow table matching according to the received GTP data packet header information, and if a matching item can be found, the action domain of the matching item is to delete the GTP data packet header and transfer to the next-level flow table entry;
  • the SDN switch performs flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header. If a matching item can be found, then the action domain of the matching item is Packet in.
  • the first UPF transmits the IP data packet, including:
  • the SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF.
  • the flow processing rule is determined according to the header information of the IP data packet.
  • Embodiments of the present disclosure also provide a data transmission processing apparatus, which is applied to the user plane function UPF, and the apparatus includes:
  • Processing module for receiving GPRS tunneling protocol GTP data message, and described GTP message is processed, obtains IP data message;
  • a transceiver module configured to transmit the IP data message.
  • Embodiments of the present disclosure also provide a processor-readable storage medium storing processor-executable instructions for causing the processor to execute the above-mentioned Methods.
  • the first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, processes the GTP message, obtains an IP data message, and transmits the IP data message Arts.
  • the packets transmitted on the links within the core network are IP data packets, which reduces the complexity of data processing and transmission.
  • Figure 1 is a schematic diagram of the architecture of an SDN network
  • Figure 2 is a schematic diagram of the separation of the control plane and the forwarding plane in the SDN network
  • FIG. 3 is a schematic diagram of a user plane protocol stack of a PDU session in a 5G network
  • Fig. 4 is the format diagram of GTP data message
  • FIG. 5 is a schematic diagram of the situation of inserting UL CL on the data path of the PDU session
  • Figure 6 is a schematic diagram of a multi-homed PDU session used to support business continuity
  • Figure 7 is a schematic diagram of local access of a multi-homed PDU session
  • FIG. 8 is a schematic diagram of a control plane protocol stack between a control plane and a user plane node
  • FIG. 9 is a schematic diagram of a user plane protocol stack between a control plane and a user plane node
  • Figure 10 is a schematic diagram of the system architecture of an SDN-based 5G network
  • Figure 11 is a schematic diagram of the system architecture of an SDN-based 5G network
  • FIG. 12 is a schematic flowchart of a data processing method according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic diagram of a scenario of data forwarding according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic diagram of inserting UL CL or data offload on a data path of a PDU session according to an embodiment of the present disclosure
  • 15 is a schematic diagram of uplink transmission in a scenario where the UPF connected to the access network is a ULCL/BP node;
  • 16 is a schematic diagram of an uplink transmission flow in a scenario where the UPF connected to the access network is a ULCL/BP node;
  • FIG. 17 is a schematic diagram of a downlink transmission flow in a scenario where the UPF connected to the access network is a ULCL/BP node;
  • FIG. 18 is a schematic diagram of a transmission flow of a flow detection scenario according to an embodiment of the present disclosure.
  • Figure 19 is a schematic diagram of the architecture of UPF
  • FIG. 20 is a schematic block diagram of the data transmission processing apparatus of the present disclosure.
  • the user plane protocol stack of the PDU session in the 5G network is as follows:
  • UPF is usually implemented using a GTP tunnel.
  • the GTP tunnel is bidirectional and is identified by a GTP quad (source IP address, source GTP TEID, destination IP address, and destination GTP TEID); GTP TEID (GPRS tunneling protocol , tunnel endpoint identifier) are assigned to the network elements at both ends of the tunnel.
  • GTP quad source IP address, source GTP TEID, destination IP address, and destination GTP TEID
  • GTP TEID GPRS tunneling protocol , tunnel endpoint identifier
  • a session consists of multiple GTP tunnels, and each GTP tunnel corresponds to only one session.
  • the forwarding network element is determined according to the GTP packet header in the data packet. If so, the GTP packet header in the data packet is replaced with the GTP packet header of the next tunnel segment. and forward it.
  • Multi-PDU session anchor support for a single PDU session of the 5G network In order to support selective traffic routing or support SSC mode 3, SMF can control the data path of the PDU session to ensure that the PDU session can go to multiple N6 interfaces at the same time.
  • the UPF that terminates these interfaces is called the PDU Session Anchor.
  • PDU session using UL-CL When the PDU session type is IPv4 or IPv6 or IPv4v6 or Ethernet, SMF may decide to insert a "UL CL" (Uplink classifier) in the data path of the PDU session. A UPF that supports the UL CL function will offload some traffic by matching the flow filter provided by the SMF. The insertion and deletion of UL CL is determined by SMF, and SMF is controlled by N4 interface and UPF capability. During or after the establishment of the PDU session, the SMF may decide to insert a UPF that supports the UL CL function on the data path of the PDU session; or delete the UPF that supports the UL CL function on the data path of the PDU session after the establishment of the PDU session.
  • UL CL Uplink classifier
  • the SMF may contain multiple UPFs supporting the UL CL function on the PDU session data path.
  • the UL CL function is inserted into the data path of a PDU session, there are multiple PDU session anchors for the PDU session. These PDU session anchors provide different access to the same DN.
  • the UL CL provides the offloading of upstream traffic to different PDU session anchors and the aggregation of downstream traffic to the UE, that is, the aggregation of traffic sent from different PDU session anchors to the UE.
  • the distribution and aggregation are implemented according to the flow detection and flow forwarding rules provided by SMF.
  • the UL CL uses flow filtering rules (such as checking the destination IP address/prefix of the uplink IP data packets sent by the UE) to decide how to route the data packets.
  • Figure 5 depicts the insertion of UL CL on the data path of a PDU session.
  • the PDU session uses IPv6 multi-homing: a PDU session may be associated with multiple IPv6 prefixes, which is a multi-homed PDU session.
  • a multi-homed PDU session provides access to a DN through multiple PDU session anchors.
  • Different user plane paths to different PDU session anchor points form branches in the "common" UPF, and the common UPF is called the UPF supporting the "Branching Point" function. Branching Point forwards upstream traffic to different PDU session anchors, and aggregates downstream traffic sent to the UE, that is, aggregates flows sent from different PDU session anchors to the UE.
  • SMF implements the splitting of uplink traffic between PDU session anchors based on the UE source prefix by configuring the UPF that supports the Branching Point function (the source prefix may be selected by the UE based on routing information and preferences received from the network).
  • the UE shall decide to use a multi-homed PDU session to support service continuity as shown in Figure 6 below, or to support local access as shown in Figure 7.
  • control plane protocol stack between the control plane and the user plane nodes is shown in Figure 8;
  • the user plane protocol stack between the control plane and the user plane nodes is shown in FIG. 9 .
  • an embodiment of the present disclosure provides a data processing method, applied to the user plane function UPF, the method includes:
  • Step 121 the first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message;
  • Step 122 Transmit the IP data packet.
  • the message transmitted on the link inside the core network where the first UPF is located is an IP data message, which reduces the complexity of data processing and transmission.
  • the message transmitted on the link between the (R)AN (Access Network) and the UPF (User Plane Function) in the core network is a GTP data message (the message
  • the IP address carried in the text is the IP address of AN and PSA (for the ULCL/BP node, it is PSA1), the TEID assigned by AN (downlink) or PSA (uplink), and the UPF on the AN side is responsible for the encapsulation of GTP data packets (downlink) and decapsulation (uplink), the packets transmitted on the links within the core network are IP data packets (that is, IP data packets sent by the UE).
  • the PSA here is the PDU session anchor, which is the PDU session anchor.
  • the first UPF that communicates with the access network AN may further include:
  • the first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: at least one of path information, flow forwarding rules, flow detection rules, and request tunnel information allocation; the second UPF is the PDU session anchor PSA;
  • the second UPF After the second UPF receives the session establishment request, it allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the receiver. access the network;
  • the first UPF After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
  • the SMF after receiving the session establishment request from the UE, the SMF sends an N4 session establishment request to all UPFs.
  • the N4 session establishment request message carries path information, flow forwarding rules and/or flow detection and/or requests for core network tunnel information Allocated (sent to PSA only);
  • PSA UPF connected to DN
  • PSA UPF connected to DN
  • PSA UPF connected to DN
  • PSA After receiving the N4 session establishment request, configure flow forwarding rules and/or flow detection rules, and send an N4 session establishment completion response to the SMF after the configuration is completed.
  • the SMF After the SMF receives the GTP tunnel information allocated by the PSA, it sends it to the RAN.
  • SMF sets flow forwarding rules and/or flow detection rules as follows:
  • the UPF on the AN side first strips the header of the received GTP data packet (that is, decapsulates the GTP data packet) to obtain an IP data packet and forwards it and/or according to the IP data packet header
  • the department processes the data (forwards or reports it to SMF).
  • Other UPFs perform data processing (forwarding or reporting to SMF) based on the IP header information of the data packet.
  • AN-side UPF For downlink data, other UPFs except AN-side UPF (including PSA, etc.) forward data based on the IP header information of the data packet, and the AN-side UPF encapsulates the received IP data packet into GTP Data packets are forwarded to the RAN.
  • AN-side UPF including PSA, etc.
  • the first UPF that communicates with the access network AN receives a GTP data packet, processes the GTP packet, obtains an IP data packet, and transmits the IP data packet text, including:
  • the first UPF receives the GTP data packet sent by the access network, decapsulates the GTP data packet to obtain an IP data packet; forwards the IP data packet to at least one first UPF Two UPFs, and the second UPF forwards the IP data packet according to the IP header information of the IP data packet; the second UPF is the PDU session anchor PSA.
  • the first UPF receives a GTP data packet and decapsulates the GTP data packet , get IP data packets, including:
  • the first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data message, and forward the IP data message;
  • the second UPF performs flow table matching according to the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding.
  • the UPF on the AN side After the UPF on the AN side receives the GTP data packet, it needs to match the flow table according to the received GTP data packet header information (IP address, UDP port number, all or part of the TEID (assigned by PSA)), if If a match is found, the action field of the match is to strip the GTP data packet header and forward it.
  • GTP data packet header information IP address, UDP port number, all or part of the TEID (assigned by PSA)
  • IP5-tuples header information (IP5-tuples) (partial information or all information) of the received IP data packet. If a matching item can be found, the action field of the matching item for forwarding.
  • IP5-tuples header information (IP5-tuples) (partial information or all information) of the received IP data packet. If a matching item can be found, the action field of the matching item for forwarding.
  • the specific flow rules are as follows:
  • the first UPF if the first UPF is an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and deciphers the GTP data packet Encapsulation to obtain IP data packets, including:
  • the first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
  • the first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
  • the second UPF After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  • the UPF on the AN side will, according to the received GTP data packet header information (IP address, UDP port number, TEID (assigned by PSA1)) All items or some items), flow table matching needs to be performed. If a matching item can be found, the action field of the matching item is to strip the GTP data packet header and transfer to the next-level flow table entry. According to the header information (IP 5-tuples) of the data packet obtained after stripping the GTP data packet (part of the information or all information, such as destination IP address or IP prefix or source IP prefix), the flow table is matched, if it can be found If there is a match, the action domain of the match is forwarding.
  • the specific flow rules are as follows:
  • IP 5-tuples IP 5-tuples
  • IP prefix IP prefix
  • source IP prefix IP prefix
  • the data processing method may further include:
  • the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the access network.
  • the UPF on the AN side needs to perform flow table matching according to the header information of the received IP data packet. If a matching item can be found, the action field of the matching item is: It is encapsulated into GTP data packets and forwarded.
  • the specific flow rules are as follows:
  • IP 5-tuples IP 5-tuples
  • IP prefix IP prefix
  • source IP prefix IP prefix
  • IP header information 1 Output to port w IP header information 2 Output to port w
  • the first UPF if the first UPF is a downlink offload or branch ULCL/BP node, the first UPF encapsulates the received IP data packet into a GTP data packet, and forwards it to the access network, including:
  • the at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
  • the first UPF After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
  • the UPF on the AN side After the UPF on the AN side receives the IP data packet, it needs to match the flow table according to the header information of the received IP data packet. If a matching item is found, the action field of the matching item is encapsulated into a GTP data packet and forwarded. .
  • the specific flow rules are as follows:
  • IP packet header information 1 Add GTP data packet header information 1, Output to port w IP header information 2 Add GTP data packet header information 1, Output to port w
  • the first UPF when the first UPF performs flow detection, the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and processes the GTP message to obtain IP datagrams, including:
  • the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
  • the first UPF transmits the IP data packet, including:
  • the SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF.
  • the flow processing rule is determined according to the header information of the IP data packet.
  • the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
  • the SDN switch receives the GTP data packet to be sent to the data network DN, and the SDN switch performs flow table matching according to the header information of the received GTP data packet. If a matching item can be found, the action field of the matching item is: Delete the GTP data packet header and go to the next level flow entry;
  • the SDN switch carries out flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header, and if a matching item can be found, then the action domain of the matching item is Packet in;
  • the SDN controller After the SDN controller receives the Packet in message, it forwards the IP data packet carried by the Packet in message to the SMF, and the SMF performs data processing according to the header information of the IP data packet, and delivers stream processing
  • the rule is sent to the SDN controller, and the SDN controller sends the flow entry to the SDN switch according to the flow processing rule.
  • the SDN switch when the SDN switch receives the data to be sent to the DN, if the received data packet is a GTP data packet, the According to the received GTP data packet header information (IP address, UDP port number, all or part of the items in TEID (assigned by PSA)), flow table matching needs to be performed. If a match can be found, the action of the match The field is to strip the GTP data packet header and go to the next-level flow entry. The flow table matching is performed according to the destination port number in the header information (IP 5-tuples) of the IP data packet obtained by stripping the GTP data packet header. If a matching item is found, the action field of the matching item is Packet in.
  • the specific flow rules are as follows:
  • the controller When the controller receives the Packet in, it forwards the IP data packet carried by the Packet in message to the SMF.
  • the SMF processes the data according to the header information of the IP data packet, and sends the flow processing rules to the controller, and then the controller according to The flow processing rules deliver appropriate flow entries to the switch.
  • the switch configures the flow table entry after receiving it, and performs data processing according to the flow table entry.
  • the controller When the controller receives the Packet in, it forwards the IP data packet carried by the Packet in message to the SMF.
  • the SMF processes the data according to the header information of the IP data packet, and sends the flow processing rules to the controller, and then the controller according to The flow processing rules deliver appropriate flow entries to the switch.
  • the switch configures the flow entry after receiving it, and performs data processing according to the flow entry.
  • the SDN controller itself provides the northbound interface.
  • the switch obtains IP data packets according to the above embodiment, and does not need to process the IP packets, such as re-encapsulating them into GTP data packets.
  • the message includes this IP data packet and so on.
  • the SDN controller After the SDN controller receives the IP data packet, it calls the general northbound interface provided by itself to send the data packet to the SMF. According to this data packet, the SMF delivers the correct flow processing rules to the SDN controller. Then, the SDN controller delivers flow entries to the switch according to the flow processing rules.
  • the switch configures the flow entry and processes the data flow according to the flow entry, including forwarding, discarding, and so on.
  • the above embodiments of the present disclosure do not require all switches to process GTP protocol packets, reducing the processing complexity of the switches; do not require all switches to perform tunnel encapsulation and decapsulation, increase packet headers, improve transmission efficiency and reduce delay.
  • For scenarios that require data processing based on the header information of IP data packets it is not necessary to extract IP data packets from GTP data packets and then process them, which reduces processing delay and improves transmission efficiency.
  • the core network does not need to update the tunnel information of the core network to the RAN, which reduces signaling overhead.
  • the UPF that needs flow detection does not need to process packets, but can directly call the northbound interface provided by the SDN controller to send the packets to the SMF at the application layer. This reduces the processing complexity of the underlying switches and controllers.
  • the SMF does not need to decapsulate and encapsulate the data packet, which reduces the complexity of the SMF.
  • an embodiment of the present disclosure further provides a user plane function UPF 190, including: a transceiver 191, a processor 192, and a memory 193, where a program executable by the processor 192 is stored on the memory 193;
  • the processor 192 executes the program, it realizes that: the first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, processes the GTP message, obtains the IP data message, and transmits the data message. Describe the IP datagram.
  • the first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: path information, flow forwarding rules, flow detection rules, and request tunnel information allocation.
  • the session establishment request carries: path information, flow forwarding rules, flow detection rules, and request tunnel information allocation.
  • the second UPF is a PDU session anchor PSA;
  • the second UPF After receiving the session establishment request, the second UPF allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the access network;
  • the first UPF After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
  • the first UPF that communicates with the access network AN receives the GTP data message, and processes the GTP message to obtain an IP data message, including:
  • the first UPF receives the GTP data packet sent by the access network, and decapsulates the GTP data packet to obtain an IP data packet; forwards the IP data packet to at least one second UPF, and The IP data packet is forwarded by the second UPF according to the IP header information of the IP data packet; the second UPF is the PDU session anchor PSA.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data packets, and forward the IP data packets.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
  • the first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  • the second UPF forwards the IP data packet according to the IP header information of the IP data packet, including:
  • the second UPF After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  • the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the access network.
  • the first UPF encapsulates the received IP data packet into a GTP data packet and forwards it to the access network, including:
  • the at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
  • the first UPF After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
  • the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message, including: :
  • the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
  • the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
  • the SDN switch receives the GTP data message to be sent to the data network DN;
  • the SDN switch carries out flow table matching according to the GTP data message header information received, and if a match can be found, the action domain of the match is to delete the GTP data message header and go to the next-level flow table entry;
  • the SDN switch performs flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header. If a matching item can be found, then the action domain of the matching item is Packet in.
  • the first UPF transmits the IP data packet, including:
  • the SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF.
  • the flow processing rule is determined according to the header information of the IP data packet.
  • the UPF in this embodiment is a UPF corresponding to the method shown in FIG. 12 above, and the implementation manners in the above embodiments are all applicable to the embodiments of the UPF, and the same technical effect can also be achieved.
  • the transceiver 191 and the memory 193, as well as the transceiver 191 and the processor 192 can be communicated and connected through a bus interface, the function of the processor 192 can also be realized by the transceiver 191, and the function of the transceiver 191 can also be realized by the processor 192 realized.
  • an embodiment of the present disclosure further provides a data transmission processing apparatus 200, which is applied to the user plane function UPF.
  • the apparatus 200 includes:
  • the processing module 201 is used for receiving a GPRS tunneling protocol GTP data message, and processing the GTP message to obtain an IP data message;
  • the transceiver module 202 is configured to transmit the IP data packet.
  • the first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: path information, flow forwarding rules, flow detection rules, and request tunnel information allocation.
  • the session establishment request carries: path information, flow forwarding rules, flow detection rules, and request tunnel information allocation.
  • the second UPF is a PDU session anchor PSA;
  • the second UPF After the second UPF receives the session establishment request, it allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the access network;
  • the first UPF After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
  • the first UPF that communicates with the access network AN receives the GTP data message, and processes the GTP message to obtain an IP data message, including:
  • the first UPF receives the GTP data packet sent by the access network, and decapsulates the GTP data packet to obtain an IP data packet; forwards the IP data packet to at least one second UPF, and The IP data packet is forwarded by the second UPF according to the IP header information of the IP data packet; the second UPF is the PDU session anchor PSA.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data packets, and forward the IP data packets.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet.
  • the first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
  • the first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  • the second UPF forwards the IP data packet according to the IP header information of the IP data packet, including:
  • the second UPF After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  • the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the access network.
  • the first UPF encapsulates the received IP data packet into a GTP data packet and forwards it to the access network, including:
  • the at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
  • the first UPF After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
  • the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message, including: :
  • the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
  • the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
  • the SDN switch receives the GTP data message to be sent to the data network DN;
  • the SDN switch performs flow table matching according to the received GTP data packet header information, and if a matching item can be found, the action domain of the matching item is to delete the GTP data packet header and transfer to the next-level flow table entry;
  • the SDN switch performs flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header. If a matching item can be found, then the action domain of the matching item is Packet in.
  • the first UPF transmits the IP data packet, including:
  • the SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF.
  • the flow processing rule is determined according to the header information of the IP data packet.
  • the device in this embodiment is a device corresponding to the method shown in FIG. 12 above, and the implementation manners in the above embodiments are all applicable to the embodiments of the device, and the same technical effect can also be achieved. It should be noted here that the above-mentioned device provided by the embodiment of the present disclosure can realize all the method steps realized by the above-mentioned method embodiment, and can achieve the same technical effect, and the same as the method embodiment in this embodiment is not repeated here. The parts and beneficial effects will be described in detail.
  • Embodiments of the present disclosure also provide a processor-readable storage medium storing processor-executable instructions for causing the processor to execute the above-mentioned Methods. All implementation manners in the foregoing method embodiment are applicable to this embodiment, and the same technical effect can also be achieved.
  • the disclosed apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the computer software product is stored in a storage medium, including several
  • the instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.
  • modules, units, sub-modules, sub-units, etc. can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, for in other electronic units or combinations thereof that perform the functions described herein.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processing
  • DSP Device digital signal processing equipment
  • PLD Programmable Logic Device
  • Field-Programmable Gate Array Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • each component or each step can be decomposed and/or recombined.
  • These disaggregations and/or recombinations should be considered equivalents of the present disclosure.
  • the steps of performing the above-mentioned series of processes can naturally be performed in chronological order in the order described, but need not necessarily be performed in chronological order, and some steps can be performed in parallel or independently of each other.
  • Those of ordinary skill in the art can understand all or any steps or components of the method and device of the present disclosure. , software, or a combination thereof, which can be implemented by those of ordinary skill in the art using their basic programming skills after reading the description of the present disclosure.
  • the objects of the present disclosure can also be achieved by running a program or set of programs on any computing device.
  • the computing device may be a known general purpose device. Therefore, the objects of the present disclosure can also be achieved merely by providing a program product containing program code for implementing the method or apparatus. That is, such a program product also constitutes the present disclosure, and a storage medium storing such a program product also constitutes the present disclosure.
  • the storage medium can be any known storage medium or any storage medium developed in the future.
  • each component or each step can be decomposed and/or recombined. These disaggregations and/or recombinations should be considered equivalents of the present disclosure.
  • the steps of executing the above-described series of processes can naturally be executed in chronological order in the order described, but need not necessarily be executed in chronological order. Certain steps may be performed in parallel or independently of each other.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed are a data processing method, a user plane function, and a device. The data processing method comprises: a first UPF that communicates with an access network (AN) receives a GPRS tunneling protocol (GTP) data message and processes the GTP message, obtaining an IP data message; the first UPF transmits the IP data message.

Description

数据处理方法、用户面功能及装置Data processing method, user plane function and device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2020年8月10日在中国提交的中国专利申请号No.202010794975.1的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202010794975.1 filed in China on Aug. 10, 2020, the entire contents of which are incorporated herein by reference.
技术领域technical field
本公开涉及通信技术领域,尤其涉及一种数据处理方法、用户面功能及装置。The present disclosure relates to the field of communication technologies, and in particular, to a data processing method, a user plane function, and a device.
背景技术Background technique
软件定义网络(SDN)的主要思想是控制平面和转发平面的分离;网络资源集中控制和调度;开放的可编程能力,允许应用对网络资源的编程调度,实现应用和网络资源的无缝结合。The main idea of software-defined networking (SDN) is the separation of control plane and forwarding plane; centralized control and scheduling of network resources; open programmability, allowing applications to program and schedule network resources, realizing seamless integration of applications and network resources.
如图1所示,为SDN网络的架构示意图,SDN网络中的网络设备通常为Openflow交换机,更广义上,网络设备可以包括所有转发规则受SDN控制器控制的转发设备。As shown in Figure 1, which is a schematic diagram of the architecture of an SDN network, the network devices in the SDN network are usually Openflow switches. In a broader sense, the network devices may include all forwarding devices whose forwarding rules are controlled by the SDN controller.
如图2所示,SDN网络中控制平面与转发平面分离。控制平面节点为SDN Controller(SDN控制器),负责网络拓扑计算,网络状态监测,路径计算,路径规则生成等。转发平面节点称为SDN交换机,负责根据流表中的表项进行数据转发,目前的SDN交换机均支持Openflow协议。控制器和交换机之间的通信依赖于Openflow协议,主要进行未知分组的上报,网络状态和流量统计的上报,流规则的下发等。As shown in Figure 2, the control plane and the forwarding plane are separated in the SDN network. The control plane node is the SDN Controller (SDN controller), which is responsible for network topology calculation, network status monitoring, path calculation, and path rule generation. The forwarding plane node is called an SDN switch, which is responsible for forwarding data according to the entries in the flow table. Currently, all SDN switches support the Openflow protocol. The communication between the controller and the switch relies on the Openflow protocol, mainly for reporting unknown packets, reporting network status and traffic statistics, and issuing flow rules.
SDN网络中数据转发机制与传统IP网络中的分组转发机制大不相同,SDN交换机在进行分组转发时,首先根据分组的包头信息进行流表匹配,包头信息主要有11个字段组成。The data forwarding mechanism in the SDN network is very different from the packet forwarding mechanism in the traditional IP network. When the SDN switch performs packet forwarding, it first matches the flow table according to the packet header information. The packet header information mainly consists of 11 fields.
如果SDN交换机找到该分组的匹配项,则SDN交换机会根据匹配项中的action(动作域)表项进行下一步动作,如drop,output,set queue等。当数据分组被转发时,SDN交换机仅仅将该分组从相应的端口发送出去即完成 转发。If the SDN switch finds a match for the group, the SDN switch will perform the next action according to the action (action domain) entry in the match, such as drop, output, set queue, etc. When a data packet is forwarded, the SDN switch simply sends the packet out the corresponding port to complete the forwarding.
如果SDN交换机未找到分组的匹配表项,则SDN交换机需要将该分组,或者该分组的包头信息通过packet in消息发送给SDN控制器,由SDN控制器根据包头信息计算转发路径和相应规则。If the SDN switch does not find a matching table entry for the packet, the SDN switch needs to send the packet, or the packet header information of the packet to the SDN controller through the packet in message, and the SDN controller calculates the forwarding path and corresponding rules according to the packet header information.
SDN控制器根据解析出的分组的MAC地址,IP地址等信息,搜索保存的网络拓扑,获取最短路径信息,路径信息主要包括交换机标识,数据接收端口和转发端口等。然后SDN控制器根据路径信息计算出每个交换机对应的转发规则,并通过FLOW_MOD消息发送给SDN交换机。SDN交换机收到流转发规则后,进行流表更新,随后可以根据流表进行转发。The SDN controller searches the saved network topology and obtains the shortest path information according to the MAC address, IP address and other information of the parsed packets. The path information mainly includes switch identification, data receiving port and forwarding port. Then the SDN controller calculates the forwarding rule corresponding to each switch according to the path information, and sends it to the SDN switch through the FLOW_MOD message. After the SDN switch receives the flow forwarding rules, it updates the flow table, and then forwards it according to the flow table.
支持Openflow协议的SDN交换机后续还能支持多流表转发,即在进行流表查询时需要进行多级流表匹配。SDN switches that support the Openflow protocol can also support multi-flow table forwarding in the future, that is, multi-level flow table matching is required when querying flow tables.
在5G系统中,核心用户面采用GTP-U协议进行数据转发,也就是RAN收到数据报文之后,为数据报文添加GTP-U数据报文头部成为GTP数据报文,GTP数据报文头部携带UPF(若存在中间的UPF)分配的GTP隧道标识TEID。UPF收到数据报文后,根据PSA分配的IP地址和TEID重新封装成GTP数据报文。GTP数据报文到达PSA后,PSA将GTP数据报文头部剥离得到IP数据报文,而后将IP数据报文通过N6接口转发到DN中。如果在SDN网络中仍然采用GTP-U协议,将带来以下不足:In the 5G system, the core user plane uses the GTP-U protocol for data forwarding, that is, after the RAN receives the data packet, it adds a GTP-U data packet header to the data packet to become a GTP data packet. The header carries the GTP tunnel identifier TEID allocated by the UPF (if there is an intermediate UPF). After the UPF receives the data packet, it re-encapsulates it into a GTP data packet according to the IP address and TEID assigned by the PSA. After the GTP data packet arrives at the PSA, the PSA strips the GTP data packet header to obtain the IP data packet, and then forwards the IP data packet to the DN through the N6 interface. If the GTP-U protocol is still used in the SDN network, it will bring the following shortcomings:
1.需要所有的交换机来处理GTP协议报文;1. All switches are required to process GTP protocol packets;
2.进行隧道封装,增加包头,降低传输效率,增加处理时延。2. Perform tunnel encapsulation, increase packet headers, reduce transmission efficiency, and increase processing delay.
3.对于需要基于IP数据报文的头部信息进行数据处理的场景,需要把IP数据报文从GTP数据报文提取出,而后再进行处理,这样增加处理时延,降低传输效率。3. For scenarios that require data processing based on the header information of IP data packets, the IP data packets need to be extracted from GTP data packets and then processed, which increases processing delay and reduces transmission efficiency.
4.当与RAN相连的UPF更换时,SMF还需要向RAN更新核心网的隧道信息,增加信令开销。4. When the UPF connected to the RAN is replaced, the SMF also needs to update the tunnel information of the core network to the RAN, increasing signaling overhead.
5.对于流检测类似场景,先剥离GTP报文获得IP数据报文,而后根据IP报文头不信息判断是否上报。若上报,则重新封装成GTP报文,且SMF也需要对数据报文进行解封装和封装多次处理。这样在基于SDN的5G网络中,增加交换机和控制器的处理复杂度以完成对IP数据报文再次封装,以及 SMF的处理复杂度。5. For scenarios similar to flow detection, first strip GTP packets to obtain IP data packets, and then judge whether to report them according to the lack of information in the IP packet headers. If reported, it will be re-encapsulated into a GTP packet, and the SMF also needs to decapsulate and encapsulate the data packet for multiple times. In this way, in the SDN-based 5G network, the processing complexity of switches and controllers is increased to complete the re-encapsulation of IP data packets, as well as the processing complexity of SMF.
发明内容SUMMARY OF THE INVENTION
本公开实施例提供了一种数据处理方法、用户面功能及装置。可以解决核心网内部的链路上传送的报文是IP数据报文,降低数据处理传输的复杂度。Embodiments of the present disclosure provide a data processing method, user plane function, and device. It can be solved that the packets transmitted on the links inside the core network are IP data packets, which reduces the complexity of data processing and transmission.
本公开一种数据处理方法,应用于用户面功能UPF,所述方法包括:The present disclosure is a data processing method, which is applied to the user plane function UPF, and the method includes:
与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文;The first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message;
所述第一UPF传输所述IP数据报文。The first UPF transmits the IP data packet.
可选的,与接入网AN通信的第一UPF接收GTP数据报文之前还包括:Optionally, before the first UPF that communicates with the access network AN receives the GTP data message, it further includes:
所述第一UPF以及至少一个第二UPF接收会话管理功能SMF发送的会话建立请求,所述会话建立请求携带:路径信息、流转发规则、流检测规则和请求隧道信息分配中的至少一项;所述第二UPF为分组数据协议PDU会话锚点PSA;The first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: at least one of path information, flow forwarding rules, flow detection rules, and request tunnel information allocation; The second UPF is a packet data protocol PDU session anchor PSA;
所述第二UPF接收到会话建立请求后,分配GTP隧道信息和配置流转发规则和/或流检测规则,并通过会话建立响应发送给所述SMF,由所述SMF将所述GTP隧道信息发送给接入网;After receiving the session establishment request, the second UPF allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the access network;
所述第一UPF接收到会话建立请求后,配置流转发规则和/或流检测规则,并通过会话建立响应发送给SMF。After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
可选的,与接入网AN通信的第一UPF接收GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:Optionally, the first UPF that communicates with the access network AN receives the GTP data message, and processes the GTP message to obtain an IP data message, including:
所述第一UPF接收接入网发送的GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文;The first UPF receives the GTP data message sent by the access network, and decapsulates the GTP data message to obtain an IP data message;
将所述IP数据报文转发给至少一个第二UPF,并由所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文;所述第二UPF为PDU会话锚点PSA。Forward the IP data packet to at least one second UPF, and the second UPF forwards the IP data packet according to the IP header information of the IP data packet; the second UPF is the PDU session anchor Click PSA.
可选的,若所述第一UPF不是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文;包括:Optionally, if the first UPF is not an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet. ;include:
所述第一UPF接收GTP数据报,并根据所述GTP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部,得到IP数据报文,并转发所述IP数据报文。The first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data packets, and forward the IP data packets.
可选的,若所述第一UPF是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:Optionally, if the first UPF is an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet. ,include:
所述第一UPF接收GTP数据报文,根据所述GTP数据报文的头部信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
所述第一UPF根据删除所述GTP数据报文后得到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。The first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
可选的,所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文,包括:Optionally, the second UPF forwards the IP data packet according to the IP header information of the IP data packet, including:
所述第二UPF接收到IP数据报文后,根据所述IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
可选的,数据处理方法,还包括:Optionally, the data processing method further includes:
对于下行数据,所述至少一个第二UPF基于IP数据报文的IP头部信息将接收的IP数据报文封装成GTP数据报文,并转发给接入网。For downlink data, the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the access network.
可选的,若所述第一UPF是下行链路分流或者分支ULCL/BP节点,所述第一UPF将接收的IP数据报文封装成GTP数据报文,并转发给接入网,包括:Optionally, if the first UPF is a downlink offload or branch ULCL/BP node, the first UPF encapsulates the received IP data packet into a GTP data packet and forwards it to the access network, including:
所述至少一个第二UPF基于IP数据报文的IP头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发;The at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
所述第一UPF接收到IP数据报文后,根据收到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为封装成GTP数据报文并转发。After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
可选的,所述第一UPF进行流检测时,与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:Optionally, when the first UPF performs flow detection, the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message, including: :
所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文。The SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
可选的,所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文,包括:Optionally, the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
所述SDN交换机接收要发送到数据网络DN的GTP数据报文;The SDN switch receives the GTP data message to be sent to the data network DN;
所述SDN交换机根据收到的GTP数据报文头信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The SDN switch performs flow table matching according to the received GTP data packet header information, and if a matching item can be found, the action domain of the matching item is to delete the GTP data packet header and transfer to the next-level flow table entry;
所述SDN交换机根据删除GTP数据报文头部得到的IP数据报文的头部信息中的目的端口号进行流表匹配,如果能找到匹配项,则匹配项的动作域为Packet in。The SDN switch performs flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header. If a matching item can be found, then the action domain of the matching item is Packet in.
可选的,所述第一UPF传输所述IP数据报文,包括:Optionally, the first UPF transmits the IP data packet, including:
所述SDN交换机通过Packet in消息把所述IP数据报文上报到所述第一UPF的SDN控制器,由所述SDN控制器调用北向接口把所述IP数据报文发送给SMF,再由SMF根据所述IP数据报文的头部信息进行流处理规则的确定。The SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF. The flow processing rule is determined according to the header information of the IP data packet.
本公开的实施例还提供一种用户面功能UPF,包括:收发机,处理器,存储器,所述存储器上存有所述处理器可执行的程序;所述处理器执行所述程序时实现:与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,并传输所述IP数据报文。Embodiments of the present disclosure also provide a user plane function UPF, including: a transceiver, a processor, and a memory, where a program executable by the processor is stored in the memory; when the processor executes the program, the processor implements: The first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, processes the GTP message, obtains an IP data message, and transmits the IP data message.
可选的,用户面功能UPF,还包括:Optionally, the user plane function UPF, also includes:
所述第一UPF以及至少一个第二UPF接收会话管理功能SMF发送的会话建立请求,所述会话建立请求携带:路径信息、流转发规则、流检测规则和请求隧道信息分配中的至少一项;所述第二UPF为PDU会话锚点PSA;The first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: at least one of path information, flow forwarding rules, flow detection rules, and request tunnel information allocation; the second UPF is the PDU session anchor PSA;
所述第二UPF接收到会话建立请求后,分配GTP隧道信息和配置流转发规则和/或流检测规则,并通过会话建立响应发送给所述SMF,由所述SMF将所述GTP隧道信息发送给接入网;After receiving the session establishment request, the second UPF allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the access network;
所述第一UPF接收到会话建立请求后,配置流转发规则和/或流检测规 则,并通过会话建立响应发送给SMF。After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
可选的,与接入网AN通信的第一UPF接收GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:Optionally, the first UPF that communicates with the access network AN receives the GTP data message, and processes the GTP message to obtain an IP data message, including:
所述第一UPF接收接入网发送的GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文;将所述IP数据报文转发给至少一个第二UPF,并由所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文;所述第二UPF为PDU会话锚点PSA。The first UPF receives the GTP data packet sent by the access network, and decapsulates the GTP data packet to obtain an IP data packet; forwards the IP data packet to at least one second UPF, and The IP data packet is forwarded by the second UPF according to the IP header information of the IP data packet; the second UPF is the PDU session anchor PSA.
可选的,若所述第一UPF不是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:Optionally, if the first UPF is not an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet. ,include:
所述第一UPF接收GTP数据报,并根据所述GTP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部,得到IP数据报文,并转发所述IP数据报文。The first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data packets, and forward the IP data packets.
可选的,若所述第一UPF是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:Optionally, if the first UPF is an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet. ,include:
所述第一UPF接收GTP数据报文,根据所述GTP数据报文的头部信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
所述第一UPF根据删除所述GTP数据报文后得到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。The first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
可选的,所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文,包括:Optionally, the second UPF forwards the IP data packet according to the IP header information of the IP data packet, including:
所述第二UPF接收到IP数据报文后,根据所述IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
可选的,用户面功能UPF,还包括:对于下行数据,所述至少一个第二UPF基于IP数据报文的IP头部信息将接收的IP数据报文封装成GTP数据报文,并转发给接入网。Optionally, the user plane function UPF further includes: for downlink data, the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the GTP data packet. Access Network.
可选的,若所述第一UPF是下行链路分流或者分支ULCL/BP节点,所 述第一UPF将接收的IP数据报文封装成GTP数据报文,并转发给接入网,包括:Optionally, if the first UPF is a downlink offload or branch ULCL/BP node, the first UPF encapsulates the received IP data message into a GTP data message, and forwards it to the access network, including:
所述至少一个第二UPF基于IP数据报文的IP头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发;The at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
所述第一UPF接收到IP数据报文后,根据收到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为封装成GTP数据报文并转发。After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
可选的,所述第一UPF进行流检测时,与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:Optionally, when the first UPF performs flow detection, the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message, including: :
所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文。The SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
可选的,所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文,包括:Optionally, the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
所述SDN交换机接收要发送到数据网络DN的GTP数据报文;The SDN switch receives the GTP data message to be sent to the data network DN;
所述SDN交换机根据收到的GTP数据报文头信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The SDN switch performs flow table matching according to the received GTP data packet header information, and if a matching item can be found, the action domain of the matching item is to delete the GTP data packet header and transfer to the next-level flow table entry;
所述SDN交换机根据删除GTP数据报文头部得到的IP数据报文的头部信息中的目的端口号进行流表匹配,如果能找到匹配项,则匹配项的动作域为Packet in。The SDN switch performs flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header. If a matching item can be found, then the action domain of the matching item is Packet in.
可选的,所述第一UPF传输所述IP数据报文,包括:Optionally, the first UPF transmits the IP data packet, including:
所述SDN交换机通过Packet in消息把所述IP数据报文上报到所述第一UPF的SDN控制器,由所述SDN控制器调用北向接口把所述IP数据报文发送给SMF,再由SMF根据所述IP数据报文的头部信息进行流处理规则的确定。The SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF. The flow processing rule is determined according to the header information of the IP data packet.
本公开的实施例还提供一种数据传输处理装置,应用于用户面功能UPF,所述装置包括:Embodiments of the present disclosure also provide a data transmission processing apparatus, which is applied to the user plane function UPF, and the apparatus includes:
处理模块,用于接收GPRS隧道协议GTP数据报文,并对所述GTP报 文进行处理,得到IP数据报文;Processing module, for receiving GPRS tunneling protocol GTP data message, and described GTP message is processed, obtains IP data message;
收发模块,用于传输所述IP数据报文。A transceiver module, configured to transmit the IP data message.
本公开的实施例还提供一种处理器可读存储介质,所述处理器可读存储介质存储有处理器可执行指令,所述处理器可执行指令用于使所述处理器执行如上所述的方法。Embodiments of the present disclosure also provide a processor-readable storage medium storing processor-executable instructions for causing the processor to execute the above-mentioned Methods.
本公开实施例的有益效果是:The beneficial effects of the embodiments of the present disclosure are:
本公开的上述实施例,通过与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,并传输所述IP数据报文。核心网内部的链路上传送的报文是IP数据报文,降低数据处理传输的复杂度。In the above embodiments of the present disclosure, the first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, processes the GTP message, obtains an IP data message, and transmits the IP data message Arts. The packets transmitted on the links within the core network are IP data packets, which reduces the complexity of data processing and transmission.
附图说明Description of drawings
图1为SDN网络的架构示意图;Figure 1 is a schematic diagram of the architecture of an SDN network;
图2为SDN网络中控制平面与转发平面分离示意图;Figure 2 is a schematic diagram of the separation of the control plane and the forwarding plane in the SDN network;
图3为5G网络中PDU会话的用户面协议栈示意图;3 is a schematic diagram of a user plane protocol stack of a PDU session in a 5G network;
图4为GTP数据报文的格式图;Fig. 4 is the format diagram of GTP data message;
图5为PDU会话的数据路径上插入UL CL的情形示意图;FIG. 5 is a schematic diagram of the situation of inserting UL CL on the data path of the PDU session;
图6为multi-homed PDU会话用于支持业务连续性示意图;Figure 6 is a schematic diagram of a multi-homed PDU session used to support business continuity;
图7为multi-homed PDU会话本地接入示意图;Figure 7 is a schematic diagram of local access of a multi-homed PDU session;
图8为控制平面与用户面节点之间的控制面协议栈示意图;8 is a schematic diagram of a control plane protocol stack between a control plane and a user plane node;
图9为控制平面与用户面节点之间的用户面协议栈示意图;9 is a schematic diagram of a user plane protocol stack between a control plane and a user plane node;
图10为基于SDN的5G网络的系统架构示意图;Figure 10 is a schematic diagram of the system architecture of an SDN-based 5G network;
图11为基于SDN的5G网络的系统架构示意图;Figure 11 is a schematic diagram of the system architecture of an SDN-based 5G network;
图12为本公开的实施例数据处理方法的流程示意图;12 is a schematic flowchart of a data processing method according to an embodiment of the present disclosure;
图13为本公开的实施例数据转发的场景示意图;13 is a schematic diagram of a scenario of data forwarding according to an embodiment of the present disclosure;
图14为本公开的实施例PDU会话的数据路径上插入UL CL或者数据分流的示意图;14 is a schematic diagram of inserting UL CL or data offload on a data path of a PDU session according to an embodiment of the present disclosure;
图15为与接入网连接的UPF为ULCL/BP节点的场景的上行传输示意图;15 is a schematic diagram of uplink transmission in a scenario where the UPF connected to the access network is a ULCL/BP node;
图16为与接入网连接的UPF为ULCL/BP节点的场景的上行传输流程示意图;16 is a schematic diagram of an uplink transmission flow in a scenario where the UPF connected to the access network is a ULCL/BP node;
图17为与接入网连接的UPF为ULCL/BP节点的场景的下行传输流程示意图;17 is a schematic diagram of a downlink transmission flow in a scenario where the UPF connected to the access network is a ULCL/BP node;
图18为本公开的实施例流检测的场景的传输流程示意图;FIG. 18 is a schematic diagram of a transmission flow of a flow detection scenario according to an embodiment of the present disclosure;
图19为UPF的架构示意图;Figure 19 is a schematic diagram of the architecture of UPF;
图20为本公开的数据传输处理装置的模块示意图。FIG. 20 is a schematic block diagram of the data transmission processing apparatus of the present disclosure.
具体实施方式detailed description
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.
如图3所示,5G网络中PDU会话的用户面协议栈,具体如下:As shown in Figure 3, the user plane protocol stack of the PDU session in the 5G network is as follows:
在5G系统中,UPF通常使用GTP隧道来实现,GTP隧道是双向的,由GTP四元组(源IP地址,源GTP TEID,目的IP地址,目的GTP TEID)来标识;GTP TEID(GPRS tunneling protocol,tunnel endpoint identifier)分别有隧道两端的网元分配。一个会话由多段GTP隧道组成,每段GTP隧道只与一个会话对应。在数据转发过程中,转发网元是根据数据包中的GTP报文头部来确定的,若是,则将该数据包中的GTP报文头部替换为下一段隧道的GTP报文头部,并转发出去。In the 5G system, UPF is usually implemented using a GTP tunnel. The GTP tunnel is bidirectional and is identified by a GTP quad (source IP address, source GTP TEID, destination IP address, and destination GTP TEID); GTP TEID (GPRS tunneling protocol , tunnel endpoint identifier) are assigned to the network elements at both ends of the tunnel. A session consists of multiple GTP tunnels, and each GTP tunnel corresponds to only one session. In the data forwarding process, the forwarding network element is determined according to the GTP packet header in the data packet. If so, the GTP packet header in the data packet is replaced with the GTP packet header of the next tunnel segment. and forward it.
如图4所示,为GTP数据报文的格式。As shown in Figure 4, it is the format of the GTP data packet.
5G网络的单个PDU会话的多PDU会话锚点支持,为了支持选择性流量路由或者支持SSC mode 3,SMF可控制PDU会话的数据路径以保证PDU会话可同时去往多个N6接口。作为这些接口终结点的UPF被称为PDU会话锚点。Multi-PDU session anchor support for a single PDU session of the 5G network. In order to support selective traffic routing or support SSC mode 3, SMF can control the data path of the PDU session to ensure that the PDU session can go to multiple N6 interfaces at the same time. The UPF that terminates these interfaces is called the PDU Session Anchor.
1)PDU会话使用UL-CL:当PDU会话类型为IPv4或IPv6或或IPv4v6或Ethernet时,SMF可能决定在PDU会话的数据路径中插入一个"UL CL"(Uplink classifier)。支持UL CL功能的UPF通过匹配SMF提供的流过滤 器将某些流量进行分流。UL CL的插入和删除是由SMF决定的,且SMF通过N4接口和UPF能力进行控制。在PDU会话建立过程中或者建立后,SMF可能决定在PDU会话的数据路径上插入一个支持UL CL功能的UPF;或者在PDU会话建立之后删除PDU会话的数据路径上支持UL CL功能的UPF。SMF可能在PDU会话数据路径上包含多个支持UL CL功能的UPF。当UL CL功能被插入到一个PDU会话的数据路径上时,则该PDU会话存在多个PDU会话锚点。这些PDU会话锚点提供到同一个DN的不同接入。1) PDU session using UL-CL: When the PDU session type is IPv4 or IPv6 or IPv4v6 or Ethernet, SMF may decide to insert a "UL CL" (Uplink classifier) in the data path of the PDU session. A UPF that supports the UL CL function will offload some traffic by matching the flow filter provided by the SMF. The insertion and deletion of UL CL is determined by SMF, and SMF is controlled by N4 interface and UPF capability. During or after the establishment of the PDU session, the SMF may decide to insert a UPF that supports the UL CL function on the data path of the PDU session; or delete the UPF that supports the UL CL function on the data path of the PDU session after the establishment of the PDU session. The SMF may contain multiple UPFs supporting the UL CL function on the PDU session data path. When the UL CL function is inserted into the data path of a PDU session, there are multiple PDU session anchors for the PDU session. These PDU session anchors provide different access to the same DN.
UL CL提供到不同的PDU会话锚点的上行流量的分流和到UE的下行流量的聚合,即聚合从不同PDU会话锚点发送到UE的流量。分流和聚合是根据SMF提供的流检测和流转发规则来实现的。The UL CL provides the offloading of upstream traffic to different PDU session anchors and the aggregation of downstream traffic to the UE, that is, the aggregation of traffic sent from different PDU session anchors to the UE. The distribution and aggregation are implemented according to the flow detection and flow forwarding rules provided by SMF.
UL CL采用流过滤规则(例如检查UE发送的上行IP数据包的目的IP地址/前缀)来决定数据包如何路由。The UL CL uses flow filtering rules (such as checking the destination IP address/prefix of the uplink IP data packets sent by the UE) to decide how to route the data packets.
图5描述了PDU会话的数据路径上插入UL CL的情形。Figure 5 depicts the insertion of UL CL on the data path of a PDU session.
2)PDU会话使用IPv6multi-homing:一个PDU会话可能关联多个IPv6前缀,这就是multi-homed PDU会话。multi-homed PDU会话提供通过多个PDU会话锚点到DN的接入。到不同PDU会话锚点的不同的用户面路径在“common”UPF形成分支,公共的UPF被称为支持“Branching Point”功能的UPF。Branching Point转发上行流量到不同PDU会话锚点,并聚合发送到UE的下行流量,即,聚合从不同PDU会话锚点发送到UE的流。2) The PDU session uses IPv6 multi-homing: a PDU session may be associated with multiple IPv6 prefixes, which is a multi-homed PDU session. A multi-homed PDU session provides access to a DN through multiple PDU session anchors. Different user plane paths to different PDU session anchor points form branches in the "common" UPF, and the common UPF is called the UPF supporting the "Branching Point" function. Branching Point forwards upstream traffic to different PDU session anchors, and aggregates downstream traffic sent to the UE, that is, aggregates flows sent from different PDU session anchors to the UE.
SMF通过配置支持Branching Point功能的UPF来实现基于UE源前缀的上行流量在PDU会话锚点之间的分流(源前缀可能由UE基于从网络接收到的路由信息和偏好进行选择)。SMF implements the splitting of uplink traffic between PDU session anchors based on the UE source prefix by configuring the UPF that supports the Branching Point function (the source prefix may be selected by the UE based on routing information and preferences received from the network).
UE应使用决定multi-homed PDU会话用于支持下图6所示的业务连续性,或者用于支持图7中的本地接入。The UE shall decide to use a multi-homed PDU session to support service continuity as shown in Figure 6 below, or to support local access as shown in Figure 7.
控制平面与用户面节点之间的接口Interface between control plane and user plane nodes
1.控制平面与用户面节点之间的控制面协议栈如图8所示;1. The control plane protocol stack between the control plane and the user plane nodes is shown in Figure 8;
2.控制平面与用户面节点之间的用户面协议栈如图9所示。2. The user plane protocol stack between the control plane and the user plane nodes is shown in FIG. 9 .
如图10和图11所示,为基于SDN的5G网络的系统架构。As shown in Figure 10 and Figure 11, it is the system architecture of the SDN-based 5G network.
如图12所示,本公开的实施例提供一种数据处理方法,应用于用户面功 能UPF,所述方法包括:As shown in Figure 12, an embodiment of the present disclosure provides a data processing method, applied to the user plane function UPF, the method includes:
步骤121,与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文;Step 121, the first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message;
步骤122,传输所述IP数据报文。Step 122: Transmit the IP data packet.
本公开的该实施例,第一UPF所在的核心网内部的链路上传送的报文是IP数据报文,降低数据处理传输的复杂度。In this embodiment of the present disclosure, the message transmitted on the link inside the core network where the first UPF is located is an IP data message, which reduces the complexity of data processing and transmission.
具体实施时,如图13、图14所示,(R)AN(接入网)与核心网中的UPF(用户面功能)之间的链路上传送的报文是GTP数据报文(报文里携带的IP地址是AN和PSA(对于ULCL/BP节点,是PSA1)的IP地址,AN分配(下行)或者PSA(上行)的TEID的),AN侧的UPF负责GTP数据报文的封装(下行)和解封装(上行),核心网内部的链路上传送的报文是IP数据报文(也就是UE发出的IP数据报文)。这里的PSA是PDU session anchor,即PDU会话锚点。In specific implementation, as shown in Figure 13 and Figure 14, the message transmitted on the link between the (R)AN (Access Network) and the UPF (User Plane Function) in the core network is a GTP data message (the message The IP address carried in the text is the IP address of AN and PSA (for the ULCL/BP node, it is PSA1), the TEID assigned by AN (downlink) or PSA (uplink), and the UPF on the AN side is responsible for the encapsulation of GTP data packets (downlink) and decapsulation (uplink), the packets transmitted on the links within the core network are IP data packets (that is, IP data packets sent by the UE). The PSA here is the PDU session anchor, which is the PDU session anchor.
如图11所示,基于SDN的5G网络的系统架构,本公开的可选的实施例中,与接入网AN通信的第一UPF接收GTP数据报文之前还可以包括:As shown in FIG. 11 , in the system architecture of the SDN-based 5G network, in an optional embodiment of the present disclosure, before the first UPF that communicates with the access network AN receives the GTP data message, it may further include:
所述第一UPF以及至少一个第二UPF接收会话管理功能SMF发送的会话建立请求,所述会话建立请求携带:路径信息、流转发规则、流检测规则和请求隧道信息分配中的至少一项;所述第二UPF为PDU会话锚点PSA;The first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: at least one of path information, flow forwarding rules, flow detection rules, and request tunnel information allocation; the second UPF is the PDU session anchor PSA;
所述第二UPF接收到会话建立请求后,分配GTP隧道信息和配置流转发规则和/或流检测规则,并通过会话建立响应发送给SMF,由所述SMF将所述GTP隧道信息发送给接入网;After the second UPF receives the session establishment request, it allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the receiver. access the network;
所述第一UPF接收到会话建立请求后,配置流转发规则和/或流检测规则,并通过会话建立响应发送给SMF。After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
具体实施时,SMF接收到UE的会话建立请求后,给所有UPF发送N4会话建立请求,此N4会话建立请求消息里携带路径信息、流转发规则和/或流检测和/或者请求核心网隧道信息分配(只给PSA发送);In specific implementation, after receiving the session establishment request from the UE, the SMF sends an N4 session establishment request to all UPFs. The N4 session establishment request message carries path information, flow forwarding rules and/or flow detection and/or requests for core network tunnel information Allocated (sent to PSA only);
PSA(与DN相连的UPF)接收到N4会话建立请求后,分配GTP隧道信息和配置流转发规则和/或流检测规则,并通过N4会话建立响应把分配的GTP隧道信息发送给SMF;其它UPF接收到N4会话建立请求后配置流转发 规则和/或流检测规则,配置完成后发送N4会话建立完成响应给SMF。After PSA (UPF connected to DN) receives the N4 session establishment request, it allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the allocated GTP tunnel information to SMF through the N4 session establishment response; other UPFs After receiving the N4 session establishment request, configure flow forwarding rules and/or flow detection rules, and send an N4 session establishment completion response to the SMF after the configuration is completed.
SMF接收到PSA分配的GTP隧道信息后,发送给RAN。After the SMF receives the GTP tunnel information allocated by the PSA, it sends it to the RAN.
SMF设置流转发规则和/或流检测规则,具体如下:SMF sets flow forwarding rules and/or flow detection rules as follows:
4.1.对于上行数据,AN侧UPF先把接收到的GTP数据报文的头部剥离(也就是对GTP数据报文进行解封装)得到IP数据报文并转发和/或根据IP数据报文头部对数据进行处理(转发或者上报给SMF)。其它UPF基于数据报文的IP头部信息进行数据处理(转发或者上报给SMF)。4.1. For uplink data, the UPF on the AN side first strips the header of the received GTP data packet (that is, decapsulates the GTP data packet) to obtain an IP data packet and forwards it and/or according to the IP data packet header The department processes the data (forwards or reports it to SMF). Other UPFs perform data processing (forwarding or reporting to SMF) based on the IP header information of the data packet.
4.2.对于下行数据,除AN侧UPF外的其它UPF(包括PSA等在内的UPF)基于数据报文的IP头部信息进行数据转发,AN侧UPF对接收的IP数据报文进行封装成GTP数据报文并转发给RAN。4.2. For downlink data, other UPFs except AN-side UPF (including PSA, etc.) forward data based on the IP header information of the data packet, and the AN-side UPF encapsulates the received IP data packet into GTP Data packets are forwarded to the RAN.
本公开的一可选的实施例中,与接入网AN通信的第一UPF接收GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,并传输所述IP数据报文,包括:In an optional embodiment of the present disclosure, the first UPF that communicates with the access network AN receives a GTP data packet, processes the GTP packet, obtains an IP data packet, and transmits the IP data packet text, including:
对于上行数据,所述第一UPF接收接入网发送的GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文;将所述IP数据报文转发给至少一个第二UPF,并由所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文;所述第二UPF为PDU会话锚点PSA。For uplink data, the first UPF receives the GTP data packet sent by the access network, decapsulates the GTP data packet to obtain an IP data packet; forwards the IP data packet to at least one first UPF Two UPFs, and the second UPF forwards the IP data packet according to the IP header information of the IP data packet; the second UPF is the PDU session anchor PSA.
本公开的可选的实施例中,若所述第一UPF不是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:In an optional embodiment of the present disclosure, if the first UPF is not an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet and decapsulates the GTP data packet , get IP data packets, including:
所述第一UPF接收GTP数据报,并根据所述GTP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部,得到IP数据报文,并转发所述IP数据报文;The first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data message, and forward the IP data message;
所述第二UPF根据IP数据报文的IP头部信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。The second UPF performs flow table matching according to the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding.
具体实施时,对于AN UPF不是ULCL/BP节点的上行数据:In specific implementation, for uplink data of AN UPF that is not a ULCL/BP node:
AN侧UPF接收到GTP数据报文后,根据收到的GTP数据报文头信息(IP地址、UDP端口号、TEID(PSA分配的)的全部项或者部分项),需要进行流表匹配,如果能找到匹配项,则匹配项的动作域为剥离GTP数据报文 头部并转发。具体的流规则如下表:After the UPF on the AN side receives the GTP data packet, it needs to match the flow table according to the received GTP data packet header information (IP address, UDP port number, all or part of the TEID (assigned by PSA)), if If a match is found, the action field of the match is to strip the GTP data packet header and forward it. The specific flow rules are as follows:
匹配(Match)Match 动作(Actions)Actions
GTP数据报文头信息GTP data packet header information 剥离(Delete)GTP头部,Output to port xStrip (Delete) GTP header, Output to port x
其它UPF接收到IP数据报文后,根据收到的IP数据报文头部信息(IP5-tuples)(部分信息或者全部信息)进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。具体的流规则如下表:After receiving the IP data packet, other UPFs perform flow table matching according to the header information (IP5-tuples) (partial information or all information) of the received IP data packet. If a matching item can be found, the action field of the matching item for forwarding. The specific flow rules are as follows:
MatchMatch ActionsActions
IP报文头信息IP packet header information Output to port xOutput to port x
和/或者若存在ULCL/BP节点,则此节点的流表项如下表And/or if there is a ULCL/BP node, the flow entry of this node is as follows
MatchMatch ActionsActions
IP报文头信息1IP packet header information 1 Output to port xOutput to port x
IP报文头信息2IP header information 2 Output to port yOutput to port y
本公开的一可选的实施例中,若所述第一UPF是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:In an optional embodiment of the present disclosure, if the first UPF is an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and deciphers the GTP data packet Encapsulation to obtain IP data packets, including:
所述第一UPF接收GTP数据报文,根据所述GTP数据报文的头部信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
所述第一UPF根据删除所述GTP数据报文后得到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发;The first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
所述第二UPF接收到IP数据报文后,根据所述IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
具体实施时,如图15和图16所示,AN侧UPF接收到GTP数据报文后,根据收到的GTP数据报文头信息(IP地址、UDP端口号、TEID(PSA1分配的)中的全部项或者部分项),需要进行流表匹配,如果能找到匹配项,则匹配项的动作域为剥离GTP数据报文头部并并转到下一级流表项。根据剥离GTP数据报文后得到的数据报文的头部信息(IP 5-tuples)中(部分信息或者全部信息,比如目的IP地址或IP前缀或者源IP前缀)进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。具体的流规则如下表:In specific implementation, as shown in Figure 15 and Figure 16, after receiving the GTP data packet, the UPF on the AN side will, according to the received GTP data packet header information (IP address, UDP port number, TEID (assigned by PSA1)) All items or some items), flow table matching needs to be performed. If a matching item can be found, the action field of the matching item is to strip the GTP data packet header and transfer to the next-level flow table entry. According to the header information (IP 5-tuples) of the data packet obtained after stripping the GTP data packet (part of the information or all information, such as destination IP address or IP prefix or source IP prefix), the flow table is matched, if it can be found If there is a match, the action domain of the match is forwarding. The specific flow rules are as follows:
MatchMatch ActionsActions
GTP数据报文包头信息GTP data packet header information Delete GTP数据报文头部信息,·go to table nDelete GTP data packet header information, go to table n
表(Table)n:Table (Table)n:
MatchMatch ActionsActions
IP报文头信息1IP packet header information 1 Output to port xOutput to port x
IP报文头信息2IP header information 2 Output to port yOutput to port y
其它UPF接收到IP数据报文后,根据收到的数据报文的头部信息(IP 5-tuples)(比如目的IP地址或IP前缀或者源IP前缀)进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。具体的流规则如下表:After other UPFs receive IP data packets, they perform flow table matching according to the header information (IP 5-tuples) of the received data packets (such as destination IP address or IP prefix or source IP prefix), if a match can be found , the action domain of the matching item is forwarding. The specific flow rules are as follows:
MatchMatch ActionsActions
IP报文头信息IP packet header information Output to port xOutput to port x
本公开的一可选的实施例中,数据处理方法,还可以包括:In an optional embodiment of the present disclosure, the data processing method may further include:
对于下行数据,所述至少一个第二UPF基于IP数据报文的IP头部信息将接收的IP数据报文封装成GTP数据报文,并转发给接入网。For downlink data, the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the access network.
具体实施时,对于下行数据:AN侧UPF接收到IP数据报文后,根据收到的IP数据报文头部信息,需要进行流表匹配,如果能找到匹配项,则匹配项的动作域为封装成GTP数据报文并转发。具体的流规则如下表:In specific implementation, for downlink data: after receiving the IP data packet, the UPF on the AN side needs to perform flow table matching according to the header information of the received IP data packet. If a matching item can be found, the action field of the matching item is: It is encapsulated into GTP data packets and forwarded. The specific flow rules are as follows:
MatchMatch ActionsActions
IP数据报文头信息IP datagram header information Add GTP数据报文头部信息,·Output to port mAdd GTP data packet header information, Output to port m
其它UPF接收到IP数据报文后,根据收到的数据报文的头部信息(IP 5-tuples)(比如目的IP地址或IP前缀或者源IP前缀)进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。具体的流规则如下表:After other UPFs receive IP data packets, they perform flow table matching according to the header information (IP 5-tuples) of the received data packets (such as destination IP address or IP prefix or source IP prefix), if a match can be found , the action domain of the matching item is forwarding. The specific flow rules are as follows:
MatchMatch ActionsActions
IP报文头信息IP packet header information Output to port mOutput to port m
和/或者若存在ULCL/BP节点,则此节点的流表项如下表And/or if there is a ULCL/BP node, the flow entry of this node is as follows
MatchMatch ActionsActions
IP报文头信息1IP packet header information 1 Output to port wOutput to port w
IP报文头信息2IP header information 2 Output to port wOutput to port w
本公开的一可选的实施例中,若所述第一UPF是下行链路分流或者分支 ULCL/BP节点,所述第一UPF将接收的IP数据报文封装成GTP数据报文,并转发给接入网,包括:In an optional embodiment of the present disclosure, if the first UPF is a downlink offload or branch ULCL/BP node, the first UPF encapsulates the received IP data packet into a GTP data packet, and forwards it to the access network, including:
所述至少一个第二UPF基于IP数据报文的IP头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发;The at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
所述第一UPF接收到IP数据报文后,根据收到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为封装成GTP数据报文并转发。After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
具体实施时,如图17所示,对于ULCL/BP场景(也就是AN侧UPF为ULCL/BP节点)的下行数据:During specific implementation, as shown in Figure 17, for the downlink data of the ULCL/BP scenario (that is, the UPF on the AN side is the ULCL/BP node):
AN侧UPF接收到IP数据报文后,根据收到的IP数据报文头部信息,需要进行流表匹配,如果能找到匹配项,则匹配项的动作域为封装成GTP数据报文并转发。具体的流规则如下表:After the UPF on the AN side receives the IP data packet, it needs to match the flow table according to the header information of the received IP data packet. If a matching item is found, the action field of the matching item is encapsulated into a GTP data packet and forwarded. . The specific flow rules are as follows:
MatchMatch ActionsActions
IP报文头信息1IP packet header information 1 Add GTP数据报文头部信息1,·Output to port wAdd GTP data packet header information 1, Output to port w
IP报文头信息2IP header information 2 Add GTP数据报文头部信息1,·Output to port wAdd GTP data packet header information 1, Output to port w
其它UPF接收到IP数据报文后,根据收到的IP数据报文的头部信息(IP5-tuples)(比如目的IP地址或IP前缀或者源IP前缀)进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。具体的流规则如下表:After receiving the IP data packet, other UPFs perform flow table matching according to the header information (IP5-tuples) of the received IP data packet (such as destination IP address or IP prefix or source IP prefix), if a match can be found , the action domain of the matching item is forwarding. The specific flow rules are as follows:
MatchMatch ActionsActions
IP报文头信息IP packet header information Output to port mOutput to port m
本公开的可选的实施例中,所述第一UPF进行流检测时,与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:In an optional embodiment of the present disclosure, when the first UPF performs flow detection, the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and processes the GTP message to obtain IP datagrams, including:
所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文。The SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
相应的,所述第一UPF传输所述IP数据报文,包括:Correspondingly, the first UPF transmits the IP data packet, including:
所述SDN交换机通过Packet in消息把所述IP数据报文上报到所述第一UPF的SDN控制器,由所述SDN控制器调用北向接口把所述IP数据报文发送给SMF,再由SMF根据所述IP数据报文的头部信息进行流处理规则的确 定。The SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF. The flow processing rule is determined according to the header information of the IP data packet.
可选的,所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文,包括:Optionally, the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
所述SDN交换机接收要发送到数据网络DN的GTP数据报文,所述SDN交换机根据收到的GTP数据报文头信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The SDN switch receives the GTP data packet to be sent to the data network DN, and the SDN switch performs flow table matching according to the header information of the received GTP data packet. If a matching item can be found, the action field of the matching item is: Delete the GTP data packet header and go to the next level flow entry;
所述SDN交换机根据删除GTP数据报文头部得到的IP数据报文的头部信息中的目的端口号进行流表匹配,如果能找到匹配项,则匹配项的动作域为Packet in;The SDN switch carries out flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header, and if a matching item can be found, then the action domain of the matching item is Packet in;
当所述SDN控制器接收到Packet in消息后,把所述Packet in消息携带的IP数据报文转发给SMF,由所述SMF根据IP数据报文头部信息进行数据处理,并下发流处理规则给所述SDN控制器,由所述SDN控制器根据流处理规则给所述SDN交换机下发的流表项。After the SDN controller receives the Packet in message, it forwards the IP data packet carried by the Packet in message to the SMF, and the SMF performs data processing according to the header information of the IP data packet, and delivers stream processing The rule is sent to the SDN controller, and the SDN controller sends the flow entry to the SDN switch according to the flow processing rule.
具体实施时,如图18所示,对于流检测场景和需要AN侧UPF进行流检测时,当SDN交换机接收到要发送到DN数据时,如果收到的数据报文是GTP数据报文,则根据收到的GTP数据报文头信息(IP地址、UDP端口号、TEID(PSA分配的)中的全部项或者部分项),需要进行流表匹配,如果能找到匹配项,则匹配项的动作域为剥离GTP数据报文头部并转到下一级流表项。根据剥离GTP数据报文头部得到的IP数据报文的头部信息(IP 5-tuples)中的目的端口号进行流表匹配,如果能找到匹配项,则匹配项的动作域为Packet in。具体的流规则如下表:In the specific implementation, as shown in Figure 18, for the flow detection scenario and when the AN side UPF is required to perform flow detection, when the SDN switch receives the data to be sent to the DN, if the received data packet is a GTP data packet, the According to the received GTP data packet header information (IP address, UDP port number, all or part of the items in TEID (assigned by PSA)), flow table matching needs to be performed. If a match can be found, the action of the match The field is to strip the GTP data packet header and go to the next-level flow entry. The flow table matching is performed according to the destination port number in the header information (IP 5-tuples) of the IP data packet obtained by stripping the GTP data packet header. If a matching item is found, the action field of the matching item is Packet in. The specific flow rules are as follows:
MatchMatch ActionsActions
GTP数据报文包头信息GTP data packet header information Delete GTP数据报文头部信息,·go to table nDelete GTP data packet header information, go to table n
Table n:Table n:
MatchMatch ActionsActions
IP数据报文的目的端口号Destination port number of IP datagrams Packet inPacket in
当控制器接收到Packet in后,把Packet in消息携带的IP数据报文转发给SMF,SMF根据IP数据报文头部信息进行数据处理,并下发流处理规则给控制器,而后控制器根据流处理规则给交换机下发合适的流表项。交换机 接收到流表项后进行配置,并根据流表项进行数据处理。When the controller receives the Packet in, it forwards the IP data packet carried by the Packet in message to the SMF. The SMF processes the data according to the header information of the IP data packet, and sends the flow processing rules to the controller, and then the controller according to The flow processing rules deliver appropriate flow entries to the switch. The switch configures the flow table entry after receiving it, and performs data processing according to the flow table entry.
另一具体实施方式,对于流检测场景和需要核心中间UPF进行流检测时,当SDN交换机接收到要发送到DN的数据时,如果收到的数据报文是IP数据报文,则根据收到的IP数据报文的头部信息(IP 5-tuples)中的目的端口号进行流表匹配,如果能找到匹配项,则匹配项的动作域为Packet in。具体的流规则如下表:Another specific implementation manner, for the flow detection scenario and when the core intermediate UPF is required to perform flow detection, when the SDN switch receives the data to be sent to the DN, if the received data packet is an IP data packet, according to the received data The destination port number in the header information (IP 5-tuples) of the IP data packet is matched with the flow table. If a match can be found, the action field of the match is Packet in. The specific flow rules are as follows:
MatchMatch ActionsActions
IP数据报文的目的端口号Destination port number of IP datagrams Packet inPacket in
当控制器接收到Packet in后,把Packet in消息携带的IP数据报文转发给SMF,SMF根据IP数据报文头部信息进行数据处理,并下发流处理规则给控制器,而后控制器根据流处理规则给交换机下发合适的流表项。交换机接收到流表项后进行配置,并根据流表项进行数据处理。When the controller receives the Packet in, it forwards the IP data packet carried by the Packet in message to the SMF. The SMF processes the data according to the header information of the IP data packet, and sends the flow processing rules to the controller, and then the controller according to The flow processing rules deliver appropriate flow entries to the switch. The switch configures the flow entry after receiving it, and performs data processing according to the flow entry.
在5G网络架构中,SDN控制器自身提供北向接口。对于上述的流检测类似场景,交换机根据上述实施例中获得IP数据报文,不需要对IP报文进行处理,比如再次封装成GTP数据报文等,就可以向SDN控制器发送Packet in,携带的消息里包括此IP数据报文等。SDN控制器接收到此IP数据报文后,调用自身提供的通用的北向接口就可以把此数据报文发送给SMF。SMF根据此数据报文,下发正确的流处理规则给SDN控制器。而后SDN控制器根据流处理规则,给交换机下发流表项。交换机配置流表项和对此数据流根据流表项进行处理,包括转发、丢弃等等。In the 5G network architecture, the SDN controller itself provides the northbound interface. For scenarios similar to the above flow detection, the switch obtains IP data packets according to the above embodiment, and does not need to process the IP packets, such as re-encapsulating them into GTP data packets. The message includes this IP data packet and so on. After the SDN controller receives the IP data packet, it calls the general northbound interface provided by itself to send the data packet to the SMF. According to this data packet, the SMF delivers the correct flow processing rules to the SDN controller. Then, the SDN controller delivers flow entries to the switch according to the flow processing rules. The switch configures the flow entry and processes the data flow according to the flow entry, including forwarding, discarding, and so on.
本公开的上述实施例,不需要所有的交换机来处理GTP协议报文,降低交换机的处理复杂度;不需要所有交换机进行隧道封装和解封装,增加包头,提高传输效率和降低时延。对于需要基于IP数据报文的头部信息进行数据处理的场景,不需要把IP数据报文从GTP数据报文提取出再进行处理,这样减少处理时延,提高传输效率。当与RAN相连的UPF更换时,核心网不需要向RAN更新核心网的隧道信息,减少信令开销。对于流检测类似场景,在基于SDN的5G网络中,需要流检测的UPF不需要对报文进行处理,可以直接调用SDN控制器提供的北向接口发送到应用层的SMF。这样降低了底层交换机和控制器的处理复杂度。同时也不需要SMF对数据报文进行解封装和 封装,降低了SMF的复杂度。The above embodiments of the present disclosure do not require all switches to process GTP protocol packets, reducing the processing complexity of the switches; do not require all switches to perform tunnel encapsulation and decapsulation, increase packet headers, improve transmission efficiency and reduce delay. For scenarios that require data processing based on the header information of IP data packets, it is not necessary to extract IP data packets from GTP data packets and then process them, which reduces processing delay and improves transmission efficiency. When the UPF connected to the RAN is replaced, the core network does not need to update the tunnel information of the core network to the RAN, which reduces signaling overhead. For scenarios similar to flow detection, in an SDN-based 5G network, the UPF that needs flow detection does not need to process packets, but can directly call the northbound interface provided by the SDN controller to send the packets to the SMF at the application layer. This reduces the processing complexity of the underlying switches and controllers. At the same time, the SMF does not need to decapsulate and encapsulate the data packet, which reduces the complexity of the SMF.
如图19所示,本公开的实施例还提供一种用户面功能UPF190,包括:收发机191,处理器192,存储器193,所述存储器193上存有所述处理器192可执行的程序;所述处理器192执行所述程序时实现:与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,并传输所述IP数据报文。As shown in FIG. 19 , an embodiment of the present disclosure further provides a user plane function UPF 190, including: a transceiver 191, a processor 192, and a memory 193, where a program executable by the processor 192 is stored on the memory 193; When the processor 192 executes the program, it realizes that: the first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, processes the GTP message, obtains the IP data message, and transmits the data message. Describe the IP datagram.
可选的,所述第一UPF以及至少一个第二UPF接收会话管理功能SMF发送的会话建立请求,所述会话建立请求携带:路径信息、流转发规则、流检测规则和请求隧道信息分配中的至少一项;所述第二UPF为PDU会话锚点PSA;Optionally, the first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: path information, flow forwarding rules, flow detection rules, and request tunnel information allocation. At least one item; the second UPF is a PDU session anchor PSA;
所述第二UPF接收到会话建立请求后,分配GTP隧道信息和配置流转发规则和/或流检测规则,并通过会话建立响应发送给所述SMF,由所述SMF将所述GTP隧道信息发送给接入网;After receiving the session establishment request, the second UPF allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the access network;
所述第一UPF接收到会话建立请求后,配置流转发规则和/或流检测规则,并通过会话建立响应发送给SMF。After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
可选的,与接入网AN通信的第一UPF接收GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:Optionally, the first UPF that communicates with the access network AN receives the GTP data message, and processes the GTP message to obtain an IP data message, including:
所述第一UPF接收接入网发送的GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文;将所述IP数据报文转发给至少一个第二UPF,并由所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文;所述第二UPF为PDU会话锚点PSA。The first UPF receives the GTP data packet sent by the access network, and decapsulates the GTP data packet to obtain an IP data packet; forwards the IP data packet to at least one second UPF, and The IP data packet is forwarded by the second UPF according to the IP header information of the IP data packet; the second UPF is the PDU session anchor PSA.
可选的,若所述第一UPF不是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:Optionally, if the first UPF is not an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet. ,include:
所述第一UPF接收GTP数据报,并根据所述GTP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部,得到IP数据报文,并转发所述IP数据报文。The first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data packets, and forward the IP data packets.
可选的,若所述第一UPF是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到 IP数据报文,包括:Optionally, if the first UPF is an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet. ,include:
所述第一UPF接收GTP数据报文,根据所述GTP数据报文的头部信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
所述第一UPF根据删除所述GTP数据报文后得到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。The first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
可选的,所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文,包括:Optionally, the second UPF forwards the IP data packet according to the IP header information of the IP data packet, including:
所述第二UPF接收到IP数据报文后,根据所述IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
可选的,对于下行数据,所述至少一个第二UPF基于IP数据报文的IP头部信息将接收的IP数据报文封装成GTP数据报文,并转发给接入网。Optionally, for downlink data, the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the access network.
可选的,若所述第一UPF是下行链路分流或者分支ULCL/BP节点,所述第一UPF将接收的IP数据报文封装成GTP数据报文,并转发给接入网,包括:Optionally, if the first UPF is a downlink offload or branch ULCL/BP node, the first UPF encapsulates the received IP data packet into a GTP data packet and forwards it to the access network, including:
所述至少一个第二UPF基于IP数据报文的IP头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发;The at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
所述第一UPF接收到IP数据报文后,根据收到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为封装成GTP数据报文并转发。After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
可选的,所述第一UPF进行流检测时,与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:Optionally, when the first UPF performs flow detection, the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message, including: :
所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文。The SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
可选的,所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文,包括:Optionally, the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
所述SDN交换机接收要发送到数据网络DN的GTP数据报文;The SDN switch receives the GTP data message to be sent to the data network DN;
所述SDN交换机根据收到的GTP数据报文头信息,进行流表匹配,如 果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The SDN switch carries out flow table matching according to the GTP data message header information received, and if a match can be found, the action domain of the match is to delete the GTP data message header and go to the next-level flow table entry;
所述SDN交换机根据删除GTP数据报文头部得到的IP数据报文的头部信息中的目的端口号进行流表匹配,如果能找到匹配项,则匹配项的动作域为Packet in。The SDN switch performs flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header. If a matching item can be found, then the action domain of the matching item is Packet in.
可选的,所述第一UPF传输所述IP数据报文,包括:Optionally, the first UPF transmits the IP data packet, including:
所述SDN交换机通过Packet in消息把所述IP数据报文上报到所述第一UPF的SDN控制器,由所述SDN控制器调用北向接口把所述IP数据报文发送给SMF,再由SMF根据所述IP数据报文的头部信息进行流处理规则的确定。The SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF. The flow processing rule is determined according to the header information of the IP data packet.
需要说明的是,该实施例中的UPF是与上述图12所示的方法对应的UPF,上述各实施例中的实现方式均适用于该UPF的实施例中,也能达到相同的技术效果。该UPF中,收发机191与存储器193,以及收发机191与处理器192均可以通过总线接口通讯连接,处理器192的功能也可以由收发机191实现,收发机191的功能也可以由处理器192实现。在此需要说明的是,本公开实施例提供的上述终端,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted that the UPF in this embodiment is a UPF corresponding to the method shown in FIG. 12 above, and the implementation manners in the above embodiments are all applicable to the embodiments of the UPF, and the same technical effect can also be achieved. In the UPF, the transceiver 191 and the memory 193, as well as the transceiver 191 and the processor 192 can be communicated and connected through a bus interface, the function of the processor 192 can also be realized by the transceiver 191, and the function of the transceiver 191 can also be realized by the processor 192 realized. It should be noted here that the above-mentioned terminal provided by the embodiments of the present disclosure can implement all the method steps implemented by the above-mentioned method embodiments, and can achieve the same technical effect, which is not the same as the method embodiments in this embodiment. The parts and beneficial effects will be described in detail.
如图20所示,本公开的实施例还提供一种数据传输处理装置200,应用于用户面功能UPF,所述装置200包括:As shown in FIG. 20 , an embodiment of the present disclosure further provides a data transmission processing apparatus 200, which is applied to the user plane function UPF. The apparatus 200 includes:
处理模块201,用于接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文;The processing module 201 is used for receiving a GPRS tunneling protocol GTP data message, and processing the GTP message to obtain an IP data message;
收发模块202,用于传输所述IP数据报文。The transceiver module 202 is configured to transmit the IP data packet.
可选的,所述第一UPF以及至少一个第二UPF接收会话管理功能SMF发送的会话建立请求,所述会话建立请求携带:路径信息、流转发规则、流检测规则和请求隧道信息分配中的至少一项;所述第二UPF为PDU会话锚点PSA;Optionally, the first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: path information, flow forwarding rules, flow detection rules, and request tunnel information allocation. At least one item; the second UPF is a PDU session anchor PSA;
所述第二UPF接收到会话建立请求后,分配GTP隧道信息和配置流转发规则和/或流检测规则,并通过会话建立响应发送给所述SMF,由所述SMF 将所述GTP隧道信息发送给接入网;After the second UPF receives the session establishment request, it allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the access network;
所述第一UPF接收到会话建立请求后,配置流转发规则和/或流检测规则,并通过会话建立响应发送给SMF。After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
可选的,与接入网AN通信的第一UPF接收GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:Optionally, the first UPF that communicates with the access network AN receives the GTP data message, and processes the GTP message to obtain an IP data message, including:
所述第一UPF接收接入网发送的GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文;将所述IP数据报文转发给至少一个第二UPF,并由所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文;所述第二UPF为PDU会话锚点PSA。The first UPF receives the GTP data packet sent by the access network, and decapsulates the GTP data packet to obtain an IP data packet; forwards the IP data packet to at least one second UPF, and The IP data packet is forwarded by the second UPF according to the IP header information of the IP data packet; the second UPF is the PDU session anchor PSA.
可选的,若所述第一UPF不是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:Optionally, if the first UPF is not an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet. ,include:
所述第一UPF接收GTP数据报,并根据所述GTP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部,得到IP数据报文,并转发所述IP数据报文。The first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data packets, and forward the IP data packets.
可选的,若所述第一UPF是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:Optionally, if the first UPF is an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and decapsulates the GTP data packet to obtain an IP data packet. ,include:
所述第一UPF接收GTP数据报文,根据所述GTP数据报文的头部信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
所述第一UPF根据删除所述GTP数据报文后得到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。The first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
可选的,所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文,包括:Optionally, the second UPF forwards the IP data packet according to the IP header information of the IP data packet, including:
所述第二UPF接收到IP数据报文后,根据所述IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
可选的,对于下行数据,所述至少一个第二UPF基于IP数据报文的IP头部信息将接收的IP数据报文封装成GTP数据报文,并转发给接入网。Optionally, for downlink data, the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the access network.
可选的,若所述第一UPF是下行链路分流或者分支ULCL/BP节点,所述第一UPF将接收的IP数据报文封装成GTP数据报文,并转发给接入网,包括:Optionally, if the first UPF is a downlink offload or branch ULCL/BP node, the first UPF encapsulates the received IP data packet into a GTP data packet and forwards it to the access network, including:
所述至少一个第二UPF基于IP数据报文的IP头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发;The at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
所述第一UPF接收到IP数据报文后,根据收到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为封装成GTP数据报文并转发。After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
可选的,所述第一UPF进行流检测时,与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:Optionally, when the first UPF performs flow detection, the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message, including: :
所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文。The SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
可选的,所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文,包括:Optionally, the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
所述SDN交换机接收要发送到数据网络DN的GTP数据报文;The SDN switch receives the GTP data message to be sent to the data network DN;
所述SDN交换机根据收到的GTP数据报文头信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The SDN switch performs flow table matching according to the received GTP data packet header information, and if a matching item can be found, the action domain of the matching item is to delete the GTP data packet header and transfer to the next-level flow table entry;
所述SDN交换机根据删除GTP数据报文头部得到的IP数据报文的头部信息中的目的端口号进行流表匹配,如果能找到匹配项,则匹配项的动作域为Packet in。The SDN switch performs flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header. If a matching item can be found, then the action domain of the matching item is Packet in.
可选的,所述第一UPF传输所述IP数据报文,包括:Optionally, the first UPF transmits the IP data packet, including:
所述SDN交换机通过Packet in消息把所述IP数据报文上报到所述第一UPF的SDN控制器,由所述SDN控制器调用北向接口把所述IP数据报文发送给SMF,再由SMF根据所述IP数据报文的头部信息进行流处理规则的确定。The SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF. The flow processing rule is determined according to the header information of the IP data packet.
需要说明的是,该实施例中的装置是与上述图12所示的方法对应的装置,上述各实施例中的实现方式均适用于该装置的实施例中,也能达到相同的技 术效果。在此需要说明的是,本公开实施例提供的上述装置,能够实现上述方法实施例所实现的所有方法步骤,且能够达到相同的技术效果,在此不再对本实施例中与方法实施例相同的部分及有益效果进行具体赘述。It should be noted that the device in this embodiment is a device corresponding to the method shown in FIG. 12 above, and the implementation manners in the above embodiments are all applicable to the embodiments of the device, and the same technical effect can also be achieved. It should be noted here that the above-mentioned device provided by the embodiment of the present disclosure can realize all the method steps realized by the above-mentioned method embodiment, and can achieve the same technical effect, and the same as the method embodiment in this embodiment is not repeated here. The parts and beneficial effects will be described in detail.
本公开的实施例还提供一种处理器可读存储介质,所述处理器可读存储介质存储有处理器可执行指令,所述处理器可执行指令用于使所述处理器执行如上所述的方法。上述方法实施例中的所有实现方式均适用于该实施例中,也能达到相同的技术效果。Embodiments of the present disclosure also provide a processor-readable storage medium storing processor-executable instructions for causing the processor to execute the above-mentioned Methods. All implementation manners in the foregoing method embodiment are applicable to this embodiment, and the same technical effect can also be achieved.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this disclosure.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本公开所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present disclosure can be embodied in the form of software products in essence, or the parts that contribute to related technologies or the parts of the technical solutions. The computer software product is stored in a storage medium, including several The instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage medium includes: a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk and other mediums that can store program codes.
可以理解的是,本公开描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元等可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It will be appreciated that the embodiments described in this disclosure may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, modules, units, sub-modules, sub-units, etc. can be implemented in one or more Application Specific Integrated Circuits (ASIC), Digital Signal Processing (DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, for in other electronic units or combinations thereof that perform the functions described herein.
此外,需要指出的是,在本公开的装置和方法中,显然,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本公开的等效方案。并且,执行上述系列处理的步骤可以自然地按照说明的顺序按时间顺序执行,但是并不需要一定按照时间顺序执行,某些步骤可以并行或彼此独立地执行。对本领域的普通技术人员而言,能够理解本公开的方法和装置的全部或者任何步骤或者部件,可以在任何计算装置(包括处理器、存储介质等)或者计算装置的网络中,以硬件、固件、软件或者它们的组合加以实现,这是本领域普通技术人员在阅读了本公开的说明的情况下运用他们的基本编程技能就能实现的。In addition, it should be pointed out that, in the apparatus and method of the present disclosure, obviously, each component or each step can be decomposed and/or recombined. These disaggregations and/or recombinations should be considered equivalents of the present disclosure. Also, the steps of performing the above-mentioned series of processes can naturally be performed in chronological order in the order described, but need not necessarily be performed in chronological order, and some steps can be performed in parallel or independently of each other. Those of ordinary skill in the art can understand all or any steps or components of the method and device of the present disclosure. , software, or a combination thereof, which can be implemented by those of ordinary skill in the art using their basic programming skills after reading the description of the present disclosure.
因此,本公开的目的还可以通过在任何计算装置上运行一个程序或者一组程序来实现。所述计算装置可以是公知的通用装置。因此,本公开的目的也可以仅仅通过提供包含实现所述方法或者装置的程序代码的程序产品来实现。也就是说,这样的程序产品也构成本公开,并且存储有这样的程序产 品的存储介质也构成本公开。显然,所述存储介质可以是任何公知的存储介质或者将来所开发出来的任何存储介质。还需要指出的是,在本公开的装置和方法中,显然,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本公开的等效方案。并且,执行上述系列处理的步骤可以自然地按照说明的顺序按时间顺序执行,但是并不需要一定按照时间顺序执行。某些步骤可以并行或彼此独立地执行。Accordingly, the objects of the present disclosure can also be achieved by running a program or set of programs on any computing device. The computing device may be a known general purpose device. Therefore, the objects of the present disclosure can also be achieved merely by providing a program product containing program code for implementing the method or apparatus. That is, such a program product also constitutes the present disclosure, and a storage medium storing such a program product also constitutes the present disclosure. Obviously, the storage medium can be any known storage medium or any storage medium developed in the future. It should also be pointed out that, in the apparatus and method of the present disclosure, obviously, each component or each step can be decomposed and/or recombined. These disaggregations and/or recombinations should be considered equivalents of the present disclosure. Also, the steps of executing the above-described series of processes can naturally be executed in chronological order in the order described, but need not necessarily be executed in chronological order. Certain steps may be performed in parallel or independently of each other.
以上所述的是本公开的可选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本公开所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本公开的保护范围内。The above are optional embodiments of the present disclosure, and it should be pointed out that for those skilled in the art, several improvements and modifications can be made without departing from the principles described in the present disclosure, and these improvements and modifications are also within the scope of this disclosure.

Claims (26)

  1. 一种数据处理方法,应用于用户面功能UPF,所述方法包括:A data processing method, applied to a user plane function UPF, the method comprising:
    与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文;The first UPF that communicates with the access network AN receives the GPRS tunneling protocol GTP data message, and processes the GTP message to obtain an IP data message;
    所述第一UPF传输所述IP数据报文。The first UPF transmits the IP data packet.
  2. 根据权利要求1所述的数据处理方法,其中,与接入网AN通信的第一UPF接收GTP数据报文之前还包括:The data processing method according to claim 1, wherein before the first UPF communicating with the access network AN receives the GTP data message, it further comprises:
    所述第一UPF以及至少一个第二UPF接收会话管理功能SMF发送的会话建立请求,所述会话建立请求携带:路径信息、流转发规则、流检测规则和请求隧道信息分配中的至少一项;所述第二UPF为分组数据协议PDU会话锚点PSA;The first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: at least one of path information, flow forwarding rules, flow detection rules, and request tunnel information allocation; The second UPF is a packet data protocol PDU session anchor PSA;
    所述第二UPF接收到会话建立请求后,分配GTP隧道信息和配置流转发规则和/或流检测规则,并通过会话建立响应发送给所述SMF,由所述SMF将所述GTP隧道信息发送给接入网;After receiving the session establishment request, the second UPF allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the access network;
    所述第一UPF接收到会话建立请求后,配置流转发规则和/或流检测规则,并通过会话建立响应发送给SMF。After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
  3. 根据权利要求1所述的数据处理方法,其中,与接入网AN通信的第一UPF接收GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:The data processing method according to claim 1, wherein the first UPF that communicates with the access network AN receives the GTP data message, and processes the GTP message to obtain the IP data message, comprising:
    所述第一UPF接收接入网发送的GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文;The first UPF receives the GTP data message sent by the access network, and decapsulates the GTP data message to obtain an IP data message;
    将所述IP数据报文转发给至少一个第二UPF,并由所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文;所述第二UPF为PDU会话锚点PSA。Forward the IP data packet to at least one second UPF, and the second UPF forwards the IP data packet according to the IP header information of the IP data packet; the second UPF is the PDU session anchor Click PSA.
  4. 根据权利要求3所述的数据处理方法,其中,若所述第一UPF不是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文;包括:The data processing method according to claim 3, wherein, if the first UPF is not an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and converts the GTP data packet to the Perform decapsulation to obtain IP data packets; including:
    所述第一UPF接收GTP数据报,并根据所述GTP数据报文的头部信息 进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部,得到IP数据报文,并转发所述IP数据报文。The first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data packets, and forward the IP data packets.
  5. 根据权利要求3所述的数据处理方法,其中,若所述第一UPF是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:The data processing method according to claim 3, wherein, if the first UPF is an uplink offload or branch ULCL/BP node, the first UPF receives a GTP data packet, and converts the GTP data packet to the Perform decapsulation to obtain IP data packets, including:
    所述第一UPF接收GTP数据报文,根据所述GTP数据报文的头部信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
    所述第一UPF根据删除所述GTP数据报文后得到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。The first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  6. 根据权利要求4或5所述的数据处理方法,其中,所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文,包括:The data processing method according to claim 4 or 5, wherein the second UPF forwards the IP data packet according to the IP header information of the IP data packet, comprising:
    所述第二UPF接收到IP数据报文后,根据所述IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  7. 根据权利要求1或2所述的数据处理方法,其中,还包括:The data processing method according to claim 1 or 2, further comprising:
    对于下行数据,所述至少一个第二UPF基于IP数据报文的IP头部信息将接收的IP数据报文封装成GTP数据报文,并转发给接入网。For downlink data, the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the access network.
  8. 根据权利要求7所述的数据处理方法,其中,若所述第一UPF是下行链路分流或者分支ULCL/BP节点,所述第一UPF将接收的IP数据报文封装成GTP数据报文,并转发给接入网,包括:The data processing method according to claim 7, wherein, if the first UPF is a downlink offload or branch ULCL/BP node, the first UPF encapsulates the received IP data packet into a GTP data packet, and forwarded to the access network, including:
    所述至少一个第二UPF基于IP数据报文的IP头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发;The at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
    所述第一UPF接收到IP数据报文后,根据收到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为封装成GTP数据报文并转发。After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
  9. 根据权利要求1或2所述的数据处理方法,其中,所述第一UPF进行流检测时,与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:The data processing method according to claim 1 or 2, wherein when the first UPF performs flow detection, the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data packet, and reports to the GTP process to obtain IP data packets, including:
    所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数 据报文解封装,得到IP数据报文。The SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
  10. 根据权利要求9所述的数据处理方法,其中,所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文,包括:The data processing method according to claim 9, wherein the SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, comprising:
    所述SDN交换机接收要发送到数据网络DN的GTP数据报文;The SDN switch receives the GTP data message to be sent to the data network DN;
    所述SDN交换机根据收到的GTP数据报文头信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The SDN switch performs flow table matching according to the received GTP data packet header information, and if a matching item can be found, the action domain of the matching item is to delete the GTP data packet header and transfer to the next-level flow table entry;
    所述SDN交换机根据删除GTP数据报文头部得到的IP数据报文的头部信息中的目的端口号进行流表匹配,如果能找到匹配项,则匹配项的动作域为Packet in。The SDN switch performs flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header. If a matching item can be found, then the action domain of the matching item is Packet in.
  11. 根据权利要求9所述的数据处理方法,其中,所述第一UPF传输所述IP数据报文,包括:The data processing method according to claim 9, wherein the first UPF transmits the IP data packet, comprising:
    所述SDN交换机通过Packet in消息把所述IP数据报文上报到所述第一UPF的SDN控制器,由所述SDN控制器调用北向接口把所述IP数据报文发送给SMF,再由SMF根据所述IP数据报文的头部信息进行流处理规则的确定。The SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF. The flow processing rule is determined according to the header information of the IP data packet.
  12. 一种用户面功能UPF,包括:收发机,处理器,存储器,所述存储器上存有所述处理器可执行的程序;所述处理器执行所述程序时实现:与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,并传输所述IP数据报文。A user plane function UPF, comprising: a transceiver, a processor, and a memory, where a program executable by the processor is stored on the memory; when the processor executes the program, it realizes: a communication with an access network AN The first UPF receives a GPRS tunneling protocol GTP data message, processes the GTP message, obtains an IP data message, and transmits the IP data message.
  13. 根据权利要求12所述的用户面功能UPF,其中,还包括:The user plane function UPF of claim 12, further comprising:
    所述第一UPF以及至少一个第二UPF接收会话管理功能SMF发送的会话建立请求,所述会话建立请求携带:路径信息、流转发规则、流检测规则和请求隧道信息分配中的至少一项;所述第二UPF为PDU会话锚点PSA;The first UPF and the at least one second UPF receive a session establishment request sent by the session management function SMF, where the session establishment request carries: at least one of path information, flow forwarding rules, flow detection rules, and request tunnel information allocation; the second UPF is the PDU session anchor PSA;
    所述第二UPF接收到会话建立请求后,分配GTP隧道信息和配置流转发规则和/或流检测规则,并通过会话建立响应发送给所述SMF,由所述SMF将所述GTP隧道信息发送给接入网;After receiving the session establishment request, the second UPF allocates GTP tunnel information and configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF, and the SMF sends the GTP tunnel information to the access network;
    所述第一UPF接收到会话建立请求后,配置流转发规则和/或流检测规 则,并通过会话建立响应发送给SMF。After receiving the session establishment request, the first UPF configures flow forwarding rules and/or flow detection rules, and sends the session establishment response to the SMF.
  14. 根据权利要求10或11所述的用户面功能UPF,其中,与接入网AN通信的第一UPF接收GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:The user plane function UPF according to claim 10 or 11, wherein the first UPF that communicates with the access network AN receives a GTP data packet, and processes the GTP packet to obtain an IP data packet, including:
    所述第一UPF接收接入网发送的GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文;将所述IP数据报文转发给至少一个第二UPF,并由所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文;所述第二UPF为PDU会话锚点PSA。The first UPF receives the GTP data packet sent by the access network, and decapsulates the GTP data packet to obtain an IP data packet; forwards the IP data packet to at least one second UPF, and The IP data packet is forwarded by the second UPF according to the IP header information of the IP data packet; the second UPF is the PDU session anchor PSA.
  15. 根据权利要求14所述的用户面功能UPF,其中,若所述第一UPF不是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:The user plane function UPF according to claim 14, wherein, if the first UPF is not an uplink offload or a branch ULCL/BP node, the first UPF receives a GTP data packet and sends the GTP data packet to the Decapsulate the IP datagram to obtain the IP datagram, including:
    所述第一UPF接收GTP数据报,并根据所述GTP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部,得到IP数据报文,并转发所述IP数据报文。The first UPF receives the GTP datagram, and performs flow table matching according to the header information of the GTP datagram. If a match can be found, the action field of the match is to delete the header of the GTP datagram and obtain the IP address. data packets, and forward the IP data packets.
  16. 根据权利要求13所述的用户面功能UPF,其中,若所述第一UPF是上行链路分流或者分支ULCL/BP节点,所述第一UPF接收GTP数据报文,并将所述GTP数据报文进行解封装,得到IP数据报文,包括:The user plane function UPF according to claim 13, wherein, if the first UPF is an uplink offload or a branch ULCL/BP node, the first UPF receives a GTP data packet and sends the GTP data packet to the Decapsulate the IP datagram to obtain the IP datagram, including:
    所述第一UPF接收GTP数据报文,根据所述GTP数据报文的头部信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The first UPF receives the GTP data packet, and performs flow table matching according to the header information of the GTP data packet. If a matching item can be found, the action field of the matching item is to delete the GTP data packet header and transfer it. to the next level flow entry;
    所述第一UPF根据删除所述GTP数据报文后得到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。The first UPF performs flow table matching according to the header information of the IP data packet obtained after deleting the GTP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  17. 根据权利要求15或16所述的用户面功能UPF,其中,所述第二UPF根据IP数据报文的IP头部信息,转发所述IP数据报文,包括:The user plane function UPF according to claim 15 or 16, wherein the second UPF forwards the IP data packet according to the IP header information of the IP data packet, comprising:
    所述第二UPF接收到IP数据报文后,根据所述IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发。After receiving the IP data packet, the second UPF performs flow table matching according to the header information of the IP data packet, and if a matching item can be found, the action field of the matching item is forwarding.
  18. 根据权利要求12或13所述的用户面功能UPF,其中,还包括:The user plane function UPF according to claim 12 or 13, further comprising:
    对于下行数据,所述至少一个第二UPF基于IP数据报文的IP头部信息将接收的IP数据报文封装成GTP数据报文,并转发给接入网。For downlink data, the at least one second UPF encapsulates the received IP data packet into a GTP data packet based on the IP header information of the IP data packet, and forwards it to the access network.
  19. 根据权利要求18所述的用户面功能UPF,其中,The user plane function UPF of claim 18, wherein,
    若所述第一UPF是下行链路分流或者分支ULCL/BP节点,所述第一UPF将接收的IP数据报文封装成GTP数据报文,并转发给接入网,包括:If the first UPF is a downlink offload or branch ULCL/BP node, the first UPF encapsulates the received IP data packet into a GTP data packet and forwards it to the access network, including:
    所述至少一个第二UPF基于IP数据报文的IP头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为转发;The at least one second UPF performs flow table matching based on the IP header information of the IP data packet, and if a matching item can be found, the action domain of the matching item is forwarding;
    所述第一UPF接收到IP数据报文后,根据收到的IP数据报文的头部信息进行流表匹配,如果能找到匹配项,则匹配项的动作域为封装成GTP数据报文并转发。After the first UPF receives the IP data packet, it performs flow table matching according to the header information of the received IP data packet, and if a matching item can be found, the action field of the matching item is encapsulated into a GTP data packet and Forward.
  20. 根据权利要求12或13所述的用户面功能UPF,其中,所述第一UPF进行流检测时,与接入网AN通信的第一UPF接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文,包括:The user plane function UPF according to claim 12 or 13, wherein, when the first UPF performs flow detection, the first UPF that communicates with the access network AN receives a GPRS tunneling protocol GTP data message, and sends a response to the GTP The packets are processed to obtain IP data packets, including:
    所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文。The SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet.
  21. 根据权利要求20所述的用户面功能UPF,其中,The user plane function UPF of claim 20, wherein,
    所述第一UPF的SDN交换机接收GTP数据报文,将接收到的GTP数据报文解封装,得到IP数据报文,包括:The SDN switch of the first UPF receives the GTP data packet, decapsulates the received GTP data packet, and obtains the IP data packet, including:
    所述SDN交换机接收要发送到数据网络DN的GTP数据报文;The SDN switch receives the GTP data message to be sent to the data network DN;
    所述SDN交换机根据收到的GTP数据报文头信息,进行流表匹配,如果能找到匹配项,则匹配项的动作域为删除GTP数据报文头部并转到下一级流表项;The SDN switch performs flow table matching according to the received GTP data packet header information, and if a matching item can be found, the action domain of the matching item is to delete the GTP data packet header and transfer to the next-level flow table entry;
    所述SDN交换机根据删除GTP数据报文头部得到的IP数据报文的头部信息中的目的端口号进行流表匹配,如果能找到匹配项,则匹配项的动作域为Packet in。The SDN switch performs flow table matching according to the destination port number in the header information of the IP data message obtained by deleting the GTP data message header. If a matching item can be found, then the action domain of the matching item is Packet in.
  22. 根据权利要求20所述的用户面功能UPF,其中,所述第一UPF传输所述IP数据报文,包括:The user plane function UPF according to claim 20, wherein the first UPF transmits the IP data packet, comprising:
    所述SDN交换机通过Packet in消息把所述IP数据报文上报到所述第一UPF的SDN控制器,由所述SDN控制器调用北向接口把所述IP数据报文发送给SMF,再由SMF根据所述IP数据报文的头部信息进行流处理规则的确定。The SDN switch reports the IP data packet to the SDN controller of the first UPF through a Packet in message, and the SDN controller calls the northbound interface to send the IP data packet to the SMF, and then the SMF sends the IP data packet to the SMF. The flow processing rule is determined according to the header information of the IP data packet.
  23. 一种数据传输处理装置,应用于用户面功能UPF,所述装置包括:A data transmission processing device, applied to a user plane function UPF, the device comprising:
    处理模块,用于接收GPRS隧道协议GTP数据报文,并对所述GTP报文进行处理,得到IP数据报文;a processing module for receiving GPRS tunneling protocol GTP data messages, and processing the GTP messages to obtain IP data messages;
    收发模块,用于传输所述IP数据报文。A transceiver module, configured to transmit the IP data message.
  24. 一种处理器可读存储介质,所述处理器可读存储介质存储有处理器可执行指令,所述处理器可执行指令用于使所述处理器执行权利要求1至11任一项所述的方法。A processor-readable storage medium, the processor-readable storage medium storing processor-executable instructions, the processor-executable instructions being used to cause the processor to execute any one of claims 1 to 11. Methods.
  25. 一种计算机程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1-11任一项所述的方法。A computer program product, the program product being stored in a non-volatile storage medium, the program product being executed by at least one processor to implement the method of any one of claims 1-11.
  26. 一种数据传输处理装置,所述数据传输处理装置被配置成用于执行如权利要求1-11任一项所述的方法。A data transmission processing apparatus configured to perform the method of any one of claims 1-11.
PCT/CN2021/109883 2020-08-10 2021-07-30 Data processing method, user plane function, and device WO2022033340A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010794975.1A CN114079674B (en) 2020-08-10 2020-08-10 Data processing method, user plane function and device
CN202010794975.1 2020-08-10

Publications (1)

Publication Number Publication Date
WO2022033340A1 true WO2022033340A1 (en) 2022-02-17

Family

ID=80247700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109883 WO2022033340A1 (en) 2020-08-10 2021-07-30 Data processing method, user plane function, and device

Country Status (2)

Country Link
CN (1) CN114079674B (en)
WO (1) WO2022033340A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002016A (en) * 2022-05-17 2022-09-02 阿里云计算有限公司 Message processing system, method, device and storage medium
CN115242552A (en) * 2022-09-21 2022-10-25 北京中科网威信息技术有限公司 Message forwarding method and device based on IPSEC (Internet protocol Security)
CN115314409A (en) * 2022-07-20 2022-11-08 北京邮电大学 Network state information acquisition method and system
WO2024037366A1 (en) * 2022-08-15 2024-02-22 阿里云计算有限公司 Forwarding rule issuing method, and intelligent network interface card and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103718520B (en) * 2012-08-02 2017-07-21 华为技术有限公司 The method of processing data message, apparatus and system
US10419982B1 (en) * 2018-03-14 2019-09-17 Cisco Technology, Inc. Methods and apparatus for providing end marker functionality in mobile networks having SRv6-configured mobile user planes
CN110913508A (en) * 2019-11-25 2020-03-24 广州爱浦路网络技术有限公司 5G base station with UPF and data message processing method thereof
WO2020146327A1 (en) * 2019-01-08 2020-07-16 Mavenir Networks, Inc. Optimal network function data path discovery for 5g core

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212810B (en) * 2006-12-27 2012-04-25 华为技术有限公司 Customer premise equipment switching method in radio network
CN101237375A (en) * 2007-02-02 2008-08-06 华为技术有限公司 A method and system for establishing tunnel upon forward link service access network switching
CN106686572B (en) * 2016-12-20 2020-03-13 北京工业大学 SDN-based mobility management method
CN109150767A (en) * 2017-06-16 2019-01-04 华为技术有限公司 A kind of data packet sending method, device and equipment
EP4002921A1 (en) * 2017-06-23 2022-05-25 Huawei Technologies Co., Ltd. Service continuity implementation method, device, and service continuity implementation system
CN113596744B (en) * 2017-09-30 2023-11-03 华为技术有限公司 Communication method, device and system
US20190132251A1 (en) * 2017-10-31 2019-05-02 Huawei Technologies Co., Ltd. Method and system for supporting multiple qos flows for unstructured pdu sessions
CN114125961A (en) * 2018-02-13 2022-03-01 华为技术有限公司 Transmission control method, device and system
CN110417840B (en) * 2018-04-28 2020-10-09 华为技术有限公司 Information processing method and device
CN110831094B (en) * 2018-08-14 2021-12-28 华为技术有限公司 Method and device for processing data transmission channel
US11399304B2 (en) * 2018-09-28 2022-07-26 Ofinno, Llc Packet duplication by core network
CN111491009A (en) * 2020-03-26 2020-08-04 腾讯科技(深圳)有限公司 Business cooperative processing method and related equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103718520B (en) * 2012-08-02 2017-07-21 华为技术有限公司 The method of processing data message, apparatus and system
US10419982B1 (en) * 2018-03-14 2019-09-17 Cisco Technology, Inc. Methods and apparatus for providing end marker functionality in mobile networks having SRv6-configured mobile user planes
WO2020146327A1 (en) * 2019-01-08 2020-07-16 Mavenir Networks, Inc. Optimal network function data path discovery for 5g core
CN110913508A (en) * 2019-11-25 2020-03-24 广州爱浦路网络技术有限公司 5G base station with UPF and data message processing method thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002016A (en) * 2022-05-17 2022-09-02 阿里云计算有限公司 Message processing system, method, device and storage medium
CN115002016B (en) * 2022-05-17 2023-08-22 阿里云计算有限公司 Message processing system, method, device and storage medium
WO2023221452A1 (en) * 2022-05-17 2023-11-23 阿里云计算有限公司 Packet processing system and method, device, and storage medium
CN115314409A (en) * 2022-07-20 2022-11-08 北京邮电大学 Network state information acquisition method and system
CN115314409B (en) * 2022-07-20 2024-02-06 北京邮电大学 Network state information acquisition method and system
WO2024037366A1 (en) * 2022-08-15 2024-02-22 阿里云计算有限公司 Forwarding rule issuing method, and intelligent network interface card and storage medium
CN115242552A (en) * 2022-09-21 2022-10-25 北京中科网威信息技术有限公司 Message forwarding method and device based on IPSEC (Internet protocol Security)
CN115242552B (en) * 2022-09-21 2022-12-13 北京中科网威信息技术有限公司 Message forwarding method and device based on IPSEC (Internet protocol Security)

Also Published As

Publication number Publication date
CN114079674B (en) 2023-02-21
CN114079674A (en) 2022-02-22

Similar Documents

Publication Publication Date Title
WO2022033340A1 (en) Data processing method, user plane function, and device
US20220078114A1 (en) Method and Apparatus for Providing Service for Traffic Flow
WO2018000443A1 (en) Service function chaining (sfc)-based packet forwarding method, device and system
JP6619815B2 (en) Access control apparatus, system, and method
US20200396162A1 (en) Service function chain sfc-based communication method, and apparatus
US8130775B2 (en) Mechanism for protecting a pseudo-wire
US20190182145A1 (en) Information Management Method, Apparatus, and System
US11563680B2 (en) Pseudo wire load sharing method and device
US20190182152A1 (en) Information Synchronization Method, Apparatus, and System
US10361954B2 (en) Method and apparatus for processing modified packet
WO2022062506A1 (en) Data processing method and apparatus, storage medium, and electronic apparatus
US9998364B2 (en) Method for processing packet and forwarder
EP3979576A1 (en) Packet forwarding method, device, and computer-readable storage medium
US20220272028A1 (en) Packet Forwarding Method, First Network Device, and First Device Group
US12003398B2 (en) Round-trip performance measurement in a packet-switched communication network
WO2022021818A1 (en) Method and device for processing data message, storage medium, and electronic device
US11870681B2 (en) Bier multicast traffic statistics collection method, device, and system
EP3681112A1 (en) Method, apparatus and system for transmitting multicast message
CN108075991B (en) Message forwarding method and device
CN114079640B (en) Data processing method, user plane function and device
US11784919B2 (en) Method for sending BIERv6 packet and first network device
WO2019119836A1 (en) Message processing method and device
WO2022242775A1 (en) Packet processing method and system, and network device
WO2024045537A1 (en) Message transmission method and network device
WO2022001164A1 (en) Service flow configuration method and device, and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21855393

Country of ref document: EP

Kind code of ref document: A1