TERMINAL DEVICE, NETWORK NODE AND METHOD FOR DERIVING QOS RULES - Patent application
The method addresses the challenge of deriving reflective QoS rules for IPsec SAs with ESP/UDP/IP or ESP/IP encapsulation by using packet filters based on SPI and address components, enabling efficient QoS management across different encapsulations.
Patent Information
- Application Number
- JP2023537425
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-12-31
- Filing Date
- 2021-12-23
- Publication Date
- 2024-12-18
- Estimated Expiration
- 2041-12-23
AI Technical Summary
Existing mechanisms for deriving reflective QoS rules in 5G systems do not work for IPsec SAs with ESP/UDP/IP or ESP/IP encapsulation, preventing differentiated QoS controls for different IPsec SAs.
A method and terminal device for deriving reflective QoS rules based on DL packets, including packet filters for UL IPSec protected packets with ESP/UDP/IP or ESP/IP encapsulation, using SPI and address components to match UL IPSec SAs, allowing differentiated QoS controls regardless of encapsulation type.
Enables differentiated QoS controls for UL IPSec SAs by deriving reflective QoS rules based on DL packets, ensuring efficient QoS management across various encapsulation options.
Smart Images

Figure 0007602649000002 
Figure 0007602649000003 
Figure 0007602649000004
Abstract
Description
[Technical field]
[0001] The present disclosure relates to communication technologies, and more particularly to a terminal device, a network node, and a method for deriving Quality of Service (QoS) rules. [Background technology]
[0002] According to Internet Engineering Task Force (IETF) standards, Internet Protocol (IP) Security (IPsec) protected packets may be encapsulated using Encapsulating Security Payload (ESP) / IP (IP encapsulation of IPSec ESP packets as defined in Request For Comments (RFC) 4304, incorporated herein in its entirety) or ESP / User Datagram Protocol (UDP) / IP (UDP encapsulation of IPSec ESP packets as defined in RFC 3948, incorporated herein in its entirety): a) IP Encapsulation of IPSec ESP Packets (also called ESP / IP Encapsulation): IPSec protected packets are encapsulated using ESP / IP, as shown in the example in the right half of FIG. b) UDP Encapsulation of IPSec ESP Packets (also called ESP / UDP / IP Encapsulation): IPsec protected packets are encapsulated using ESP / UDP / IP. As shown in the example in the left half of Figure 1, it is identified by: - If the UDP source port and / or UDP destination port number is 4500 (decimal number) - If the data octets field is encoded in the UDP-encapsulated ESP header format, as specified in IETF RFC 3948.
[0003] According to the IETF standard, if there is a Network Address Translator (NATer) between the IPsec client (i.e., User Equipment (UE)) and the IPsec server (i.e., enterprise server), the IPsec protected packets must be encapsulated using ESP / UDP / IP. IPSec protected packets can also be encapsulated using ESP / UDP / IP even if there is no NATer between the IPsec client and the IPsec server. In other words, it is implementation-dependent whether only ESP / UDP / IP encapsulation is used if a NATer is detected, or which encapsulation is used if no NATer is detected.
[0004] According to RFC 7296, which is incorporated herein in its entirety, IPsec Security Associations (SAs) typically exist in pairs: uplink (UL) and downlink (DL). There is an ESP Security Parameter Index (SPI) for each IPsec. The ESP SPI is used to match between pairs of IPSec SAs. According to RFC 4301, a pair of SAs (one in each direction) is required to secure a typical bidirectional communication between two IPsec-enabled systems. However, for unidirectional communication, a corresponding IPsec SA may not exist in the reverse direction.
[0005] For each pair of IPsec SAs, the reverse IPsec SA may use a different encapsulation, as shown in Table 1 below. TIFF0007602649000001.tif38128
[0006] In a fifth generation (5G) system, the UE supports derivation of reflective QoS rules based on DL IP packets, so that UL QoS rules can be dynamically and quickly generated or updated through the user plane. The derived QoS rule includes a QoS Flow Identifier (QFI), a packet filter for the UL direction, and a precedence value of 80 (decimal).
[0007] Figure 2 shows the procedure of the reflective QoS rule. As shown, in step 1, the User Plane Function (UPF) needs to receive a DL packet destined for the UE and generate or update a reflective QoS rule in the UE. The UPF sets a Reflective QoS Indicator (RQI) to 1, and in step 2, sends the DL packet with the QFI and RQI to the UE via the Access Network (AN). In step 3, the UE checks the received DL packet, and if the RQI is set to 1 (yes in this case), the UE derives a reflective QoS rule (generate a new rule or update an existing rule) based on the DL packet. In particular, the derived reflected QoS rule may include a QFI set to the QFI in the DL packet, a packet filter for the UL direction derived from the DL packet (see Section 5.7.5 of 3rd Generation Partnership Project (3GPP®) Technical Specification (TS) 23.501, V16.7.0), and a priority value of 80 (decimal).
[0008] For IP Protocol Data Unit (PDU) session types, the packet filter set shall support packet filters based on any combination of at least the following: - source / destination IP address or IP version 6 (IPv6) prefix, - source / destination port numbers (not included in IPsec protected packets with ESP / IP encapsulation), - the protocol identifier (ID) of the protocol above the IP / next header type, - Type of Service (TOS) (IP version 4 (IPv4)) / Traffic Class (IPv6) and Mask, - Flow Label (IPv6), - SPI, or - Packet filter direction. Summary of the Invention
[0009] 3GPP specifications (e.g., TS 23.501 and TS 24.501, V17.1.0, which are incorporated herein in their entirety) only cover option 4 in Table 1. For any of options 1-3, the existing mechanisms for reflective QoS rule derivation do not work, and therefore it is not possible to apply differentiated QoS control to different IPSec SAs.
[0010] An object of the present disclosure is to provide a terminal device, a network node, and a method thereof for deriving a reflective QoS rule.
[0011] According to a first aspect of the present disclosure, a method is provided in a terminal device, the method including receiving an IPSec protected DL packet, the method further including deriving a reflective QoS rule for a UL direction per IPSec SA based on the DL packet.
[0012] In one embodiment, the DL packets may have an ESP / UDP / IP encapsulation or an ESP / IP encapsulation.
[0013] In one embodiment, the operation of deriving a reflective QoS rule may include deriving a packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation based on the SPI associated with the UL IPSec SA if a UL IPSec SA corresponding to a DL IPSec SA associated with an SPI in the DL packet uses ESP / UDP / IP encapsulation.
[0014] In one embodiment, the method may further include deriving a packet filter for the UL IPSec protected packets with ESP / IP encapsulation based on an SPI associated with the UL IPSec SA.
[0015] In one embodiment, the operation of deriving a reflective QoS rule may include deriving a packet filter for a UL IPSec protected packet with ESP / IP encapsulation based on an SPI associated with the UL IPSec SA if a UL IPSec SA corresponding to a DL IPSec SA associated with an SPI in the DL packet uses ESP / IP encapsulation.
[0016] In one embodiment, the method may further include deriving a packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation based on an SPI associated with the UL IPSec SA.
[0017] In one embodiment, a packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation may include an SPI type component set to the SPI associated with the UL IPSec SA.
[0018] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include a single local port type component set to the value of the source port field of the UL IPSec SA and a single remote port type component set to the value of the destination port field of the UL IPSec SA.
[0019] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include an IP remote address component set to the value of the DL packet's source address field, an IP local address component set to the value of the DL packet's destination address field, and a protocol identifier or next header type component set to a value of UDP.
[0020] In one embodiment, if the DL packet has ESP / UDP / IP encapsulation, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include a single local port type component set to the value of the destination port field of the DL packet and a single remote port type component set to the value of the source port field of the DL packet.
[0021] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include an IP remote address component set to the value of the source address field of the DL packet, an IP local address component set to the value of the destination address field of the DL packet, and a protocol identifier or next header type component set to the value of the protocol identifier field or last next header field of the DL packet.
[0022] In one embodiment, a packet filter for a UL IPSec protected packet with ESP / IP encapsulation may include an SPI type component set to the SPI associated with the UL IPSec SA.
[0023] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / IP encapsulation may further include an IP remote address component set to the value of the source address field of the DL packet, an IP local address component set to the value of the destination address field of the DL packet, and a protocol identifier or next header type component set to the value of ESP.
[0024] In one embodiment, if the DL packet has ESP / IP encapsulation, the packet filter for a UL IPSec protected packet with ESP / IP encapsulation may further include an IP remote address component set to the value of the source address field of the DL packet, an IP local address component set to the value of the destination address field of the DL packet, and a protocol identifier or next header type component set to the value of the protocol identifier field or last next header field of the DL packet.
[0025] In one embodiment, the DL packet may be an IPv4 packet with the protocol identifier set to UDP or ESP, or the DL packet may be an IPv6 packet with the last-next header set to UDP or ESP.
[0026] In one embodiment, the DL packet may include an RQI set to one.
[0027] In one embodiment, the method may further include, for a UL packet that is IPSec protected and has ESP / UDP / IP encapsulation, associating the UL packet with the reflective QoS rule for the UL direction if the reflective QoS rule for the UL direction has an IP header component that matches the IP header component of the UL packet and an SPI component that matches the SPI component of the UL packet, or associating the UL packet with the reflective QoS rule for the UL direction that has an IP header component that matches the IP header component of the UL packet and does not have an SPI component if the reflective QoS rule for the UL direction has an IP header component that matches the IP header component of the UL packet and an SPI component that matches the SPI component of the UL packet.
[0028] In one embodiment, the method may further include, for a UL packet that is Internet Key Exchange (IKE) protected and has ESP / UDP / IP encapsulation, associating the UL packet with a reflective QoS rule for the UL direction that has an IP header component that matches the IP header component of the UL packet and that does not have an SPI component.
[0029] According to a second aspect of the present disclosure, there is provided a terminal device, the terminal device comprising a communication interface, a processor, and a memory, the memory including instructions executable by the processor such that the terminal device operates to perform the method according to the first aspect above.
[0030] According to a third aspect of the present disclosure there is provided a computer readable storage medium having computer program instructions stored thereon which, when executed by a processor of a terminal device, cause the terminal device to perform a method according to the first aspect above.
[0031] According to a fourth aspect of the present disclosure, there is provided a method in a network node, the method including receiving a DL packet destined for a terminal device, the DL packet being IPSec protected and having ESP / UDP / IP encapsulation, and further including activating, at the terminal device, derivation of a reflective QoS rule for a UL direction per IPSec SA based on the DL packet.
[0032] In one embodiment, the DL packet may be an IPv4 packet with the protocol identifier set to UDP, or the DL packet may be an IPv6 packet with the last-next header set to UDP.
[0033] In one embodiment, the derivation may include deriving a packet filter based on an SPI associated with a UL IPSec SA that corresponds to a DL IPSec SA associated with the SPI in the DL packet.
[0034] In one embodiment, the act of activating may include setting the RQI in the DL packet to one.
[0035] In one embodiment, the network node may implement UPF.
[0036] According to a fifth aspect of the present disclosure there is provided a network node comprising a communications interface, a processor and a memory, the memory comprising instructions executable by the processor whereby the network node operates to perform the method according to the fourth aspect above.
[0037] According to a sixth aspect of the present disclosure there is provided a computer readable storage medium having computer program instructions stored thereon which, when executed by a processor of a network node, cause the network node to perform a method according to the fourth aspect above.
[0038] In an embodiment of the present disclosure, upon receipt of an IPSec protected DL packet, reflective QoS rules for the UL direction for each IPSec SA can be derived based on the DL packet, thereby allowing differentiated QoS control to be applied to different IPSec SAs regardless of which encapsulation option is used for DL / UL. [Brief description of the drawings]
[0039] The above and other objects, features and advantages will become more apparent from the following description of the embodiments with reference to the following drawings:
[0040] [Figure 1] FIG. 1 is a schematic diagram illustrating exemplary formats of ESP / UDP / IP encapsulation and ESP / IP encapsulation, respectively. [Diagram 2] FIG. 2 is a schematic diagram showing the procedure of the reflective QoS rule. [Diagram 3] FIG. 3 is a flowchart illustrating a method in a terminal device according to an embodiment of the present disclosure. [Figure 4] FIG. 4 is a flow chart illustrating a process of deriving packet filters for the UL direction in accordance with an embodiment of the present disclosure. [Diagram 5] FIG. 5 is a flow chart illustrating a method in a network node according to an embodiment of the present disclosure. [Figure 6] FIG. 6 is a block diagram of a terminal device according to an embodiment of the present disclosure. [Figure 7] FIG. 7 is a block diagram of a terminal device according to another embodiment of the present disclosure. [Figure 8] FIG. 8 is a block diagram of a network node according to an embodiment of the present disclosure. [Figure 9] FIG. 9 is a block diagram of a network node according to another embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0041] As used herein, the term "wireless communication network" refers to a network conforming to any suitable communication standard, such as NR, LTE-Advanced (LTE-A), LTE, Wideband Code Division Multiple Access (WCDMA), High Speed Packet Access (HSPA), etc. Furthermore, communications between terminal devices and network nodes in a wireless communication network may include, but are not limited to, Global System for Mobile Communications (GSM), Universal Mobile Telecommunications System (UMTS), Long Term Evolution (LTE), and / or other suitable 1G (first generation), 2G (second generation), 2.5G, 2.75G, 3G (third generation), 4G (fourth generation), 4.5G, 5G (fifth generation) communications protocols, Wireless Local Area Network (WLAN) standards such as the IEEE 802.11 standard, and / or any other suitable wireless communication standards such as Worldwide Interoperability for Microwave Access (WiMax), Bluetooth, and / or ZigBee standards, and / or any other protocols now known or developed in the future.
[0042] In this disclosure, a network function (or NF) may be implemented as a network element on dedicated hardware, as a software instance running on dedicated hardware, or as a virtualized function instantiated on a suitable platform (e.g., on a cloud infrastructure). The term "network node" refers to any physical or virtual node configured to implement a network function.
[0043] The term "terminal device" refers to any end device capable of accessing and receiving services from a wireless communication network. By way of example and not limitation, a terminal device may refer to a mobile terminal, a user equipment (UE), or other suitable device. A UE may be, for example, a subscriber station (SS), a portable subscriber station, a mobile station (MS), or an access terminal (AT). A terminal device may include, but is not limited to, a portable computer, a desktop computer, an image capture terminal device such as a digital camera, a gaming terminal device, a music storage and playback device, a mobile phone, a cellular phone, a smart phone, a voice over IP (VoIP) phone, a wireless local loop phone, a tablet, a personal digital assistant (PDA), a wearable terminal device, a vehicle mounted wireless terminal device, a wireless endpoint, a mobile station, a laptop embedded equipment (LEE), a laptop mounted equipment (LME), a USB dongle, a smart device, a wireless customer premises equipment (CPE), and the like. In the following description, the terms "terminal device", "terminal", "user equipment" and "UE" may be used interchangeably. As an example, a terminal device may represent a UE configured to communicate according to one or more communications standards promulgated by the 3rd Generation Partnership Project (3GPP), such as 3GPP's GSM, UMTS, LTE, and / or 5G standards. As used herein, "user equipment" or "UE" may not necessarily have a "user" in the sense of a human user who owns and / or operates the associated device. In some embodiments, a terminal device may be configured to transmit and / or receive information without direct human interaction. For example, a terminal device may be designed to transmit information to a network on a predefined schedule, when triggered by an internal or external event, or in response to a request from a wireless communication network. Instead, a UE may represent a device that is intended for sale to or operation by a human user, but is not initially associated with a particular human user.
[0044] The terminal device may support device-to-device (D2D) communication, for example by implementing the 3GPP standard for sidelink communication, and in this case may be referred to as a D2D communication device.
[0045] As yet another example, in an Internet of Things (IOT) scenario, a terminal device may represent a machine or other device that performs monitoring and / or measurements and transmits results of such monitoring and / or measurements to another terminal device and / or network equipment. The terminal device in this case may be a Machine-to-Machine (M2M) device, which may be referred to in the 3GPP context as a Machine-Type Communication (MTC) device. As one particular example, the terminal device may be a UE implementing the 3GPP Narrowband Internet of Things (NB-IoT) standard. Particular examples of such machines or devices are sensors, metering devices such as power meters, industrial machines, or home or personal appliances (e.g., personal wearables such as refrigerators, televisions, clocks, etc.). In other scenarios, the terminal device may represent a vehicle or other equipment that has the capability to monitor and / or report its operating state or other functions associated with its operation.
[0046] As used herein, DL transmission refers to a transmission from a network node to a terminal device, and UL transmission refers to a transmission in the opposite direction.
[0047] References herein to "one embodiment," "embodiment," "exemplary embodiment," and the like indicate that the embodiment being described may include a particular feature, structure, or characteristic, but not all embodiments need to include that particular feature, structure, or characteristic. Moreover, such phrases do not necessarily refer to the same embodiment. Moreover, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is within the knowledge of one of ordinary skill in the art to affect such feature, structure, or characteristic in connection with other embodiments, whether or not explicitly described.
[0048] Terms such as "first" and "second" may be used herein to describe various elements, but it should be understood that these elements should not be limited by these terms. These terms are used only to distinguish one element from another. For example, a first element can be referred to as a second element, and similarly, a second element can be referred to as a first element, without departing from the scope of the exemplary embodiments. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed terms. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It is further understood that the terms "comprises," "comprising," "has," "having," "includes," and / or "including," as used herein, specify the presence of stated features, elements, and / or components, etc., but do not exclude the presence or addition of one or more other features, elements, and / or components, or combinations thereof.
[0049] In the following description and claims, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.
[0050] 3 is a flowchart illustrating a method 300 according to an embodiment of the present disclosure. The method 300 may be performed by a terminal device (e.g., a UE).
[0051] At block 310, an IPSec protected DL packet (e.g., a DL user data packet) is received. The IPSec protected DL packet has a protocol identifier field or a last next header field indicating ESP or has a protocol identifier field or a last next header field indicating UDP, and satisfies the following two conditions: - If the UDP source port and / or UDP destination port number is 4500 (decimal number) - If the data octets field is encoded in the UDP-encapsulated ESP header format, as specified in IETF RFC 3948.
[0052] Here, the DL packet has ESP / UDP / IP encapsulation or ESP / IP encapsulation. In one example, the DL packet may be an IPv4 packet with the protocol identifier set to UDP or ESP. In another example, the DL packet may be an IPv6 packet with the last-next header set to UDP or ESP. The DL packet may include an RQI set to 1.
[0053] At block 320, a reflective QoS rule for the UL direction is derived for each IPSec SA based on the DL packet, where, as described above, the reflective QoS rule may include a QFI set to the QFI in the DL packet, a packet filter for the UL direction, and a priority value of 80 (decimal). The derived reflective QoS rule can be a newly created reflective QoS rule or can be used to update an existing reflective QoS rule.
[0054] Block 320 is further described below with reference to FIG. 4, which illustrates a process 400 for deriving packet filters for the UL direction.
[0055] 4, in block 410, it is determined whether a UL IPSec SA exists that corresponds to the DL IPSec SA associated with the SPI in the DL packet. If not (e.g., in the case of unidirectional communication or if a UL IPSec SA cannot be obtained from a higher layer), a packet filter for the UL direction may be derived that includes: - an IP (IPv4 or IPv6) remote address component set to the value of the source address field of the DL packet; - an IP (IPv4 or IPv6) local address component set to the value of the destination address field of the DL packet; - the protocol identifier or next header type component set to the value of the Protocol field or Last Next Header field of the DL packet; and - If the protocol field or last-next-header field of the DL packet indicates UDP as specified in IETF RFC 768: -- a single local port type component set to the value of the destination port field of the received DL packet; and -- A single remote port type component set to the value of the source port field of the received DL packet.
[0056] If, at block 410, a UL IPSec SA exists that corresponds to the DL IPSec SA associated with the SPI in the DL packet, then it is determined whether the UL IPSec SA uses ESP / UDP / IP encapsulation or ESP / IP encapsulation at block 420. If the UL IPSec SA uses ESP / UDP / IP encapsulation, the process proceeds to block 431, or if the UL IPSec SA uses ESP / IP encapsulation, the process proceeds to block 441.
[0057] At block 431, a packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation is derived based on the SPI associated with the UL IPSec SA. The packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation includes an SPI type component set to the SPI associated with the UL IPSec SA. In addition, the packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation further includes the following: - a single local port type component set to the value of the source port field of the UL IPSec SA (or the value of the destination port field of the DL packet if the DL packet has ESP / UDP / IP encapsulation), and - A single Remote Port Type component set to the value of the Destination Port field of the UL IPSec SA (or the value of the Source Port field of the DL packet if the DL packet has ESP / UDP / IP encapsulation).
[0058] The packet filters for UL IPSec protected packets with ESP / UDP / IP encapsulation further include: - an IP (IPv4 or IPv6) remote address component set to the value of the source address field of the DL packet; - an IP (IPv4 or IPv6) local address component set to the value of the destination address field of the DL packet, and - The Protocol Identifier or Next Header Type component set to the value of UDP (or the value of the Protocol Identifier or Last Next Header field of the DL packet if the DL packet has ESP / UDP / IP encapsulation).
[0059] At block 441, a packet filter for UL IPSec protected packets with ESP / IP encapsulation is derived based on the SPI associated with the UL IPSec SA. The packet filter for UL IPSec protected packets with ESP / IP encapsulation includes an SPI type component set to the SPI associated with the UL IPSec SA. In addition, the packet filter for UL IPSec protected packets with ESP / IP encapsulation further includes: - an IP (IPv4 or IPv6) remote address component set to the value of the source address field of the DL packet; - an IP (IPv4 or IPv6) local address component set to the value of the destination address field of the DL packet, and - The Protocol Identifier or Next Header Type component set to the value of ESP (or the value of the Protocol Identifier field or Last Next Header field of the DL packet, if the DL packet has ESP / IP encapsulation).
[0060] In one example, if the UL IPSec SA uses ESP / UDP / IP encapsulation, in addition to the packet filter for the UL IPSec protected packets with ESP / UDP / IP encapsulation as derived in block 431, a packet filter for the UL IPSec protected packets with ESP / IP encapsulation may be derived based on the SPI associated with the UL IPSec SA in block 432. Here, the packet filter derived in block 432 and the packet filter derived in block 431 may belong to the same reflective QoS rule or different reflective QoS rules. For details of the derivation of the packet filter in block 432, please refer to the derivation of the packet filter in block 441, and the description will be omitted here.
[0061] In one example, if the UL IPSec SA uses ESP / IP encapsulation, in addition to the packet filter for the UL IPSec protected packets with ESP / IP encapsulation as derived in block 441, a packet filter for the UL IPSec protected packets with ESP / UDP / IP encapsulation may be derived based on the SPI associated with the UL IPSec SA in block 442. Here, the packet filter derived in block 442 and the packet filter derived in block 441 may belong to the same reflective QoS rule or different reflective QoS rules. For details of the derivation of the packet filter in block 442, please refer to the derivation of the packet filter in block 431, and the description will be omitted here.
[0062] The terminal device may have several reflective QoS rules, and may attempt to associate the UL user data packet with one of the reflective QoS rules as follows:
[0063] For a UL packet that is IPSec protected and has ESP / UDP / IP encapsulation, if there are multiple reflective QoS rules with IP header components (e.g., source IP address, destination IP address, source port number, destination port number, and protocol identifier / next header) that match the IP header components of the UL packet, the terminal device may associate the UL packet with one of the multiple reflective QoS rules in descending order of priority as follows: If the reflective QoS rule for the UL direction has an IP header component that matches the IP header component of the UL packet and an SPI component that matches the SPI component of the UL packet, the UL packet may be associated with the reflective QoS rule for the UL direction. On the other hand, if the reflective QoS rule for the UL direction does not have an IP header component that matches the IP header component of the UL packet and an SPI component that matches the SPI component of the UL packet, the UL packet may be associated with the reflective QoS rule for the UL direction that has an IP header component that matches the IP header component of the UL packet and does not have an SPI component.
[0064] For a UL packet that is Internet Key Exchange (IKE) protected and has ESP / UDP / IP encapsulation, the UL packet may be associated with a reflective QoS rule for the UL direction that has an IP header component that matches the IP header component of the UL packet and has no SPI component.
[0065] For a UL packet that is neither IPSec nor IKE protected, the UL packet may be associated with a reflective QoS rule for the UL direction that has an IP header component that matches the IP header component of the UL packet and has no SPI component.
[0066] 5 is a flow chart illustrating a method 500 according to one embodiment of the present disclosure. The method 500 may be performed by a network node (e.g., a network node implementing UPF).
[0067] At block 510, a DL packet destined for an end device is received. The DL packet is IPSec protected and has ESP / UDP / IP encapsulation. For example, the DL packet can be an IPv4 packet with a protocol identifier set to UDP, or the DL packet can be an IPv6 packet with a last-next header set to UDP.
[0068] In block 520, derivation of a reflective QoS rule for the UL direction per IPSec SA based on the DL packet at the terminal device is activated, for example, by setting the RQI in the DL packet to 1, where the derivation may include derivation of a packet filter based on an SPI associated with a UL IPSec SA that corresponds to the DL IPSec SA associated with the SPI in the DL packet. For further details, reference may be made to the method 300 and process 400 described above.
[0069] In one example, deriving a reflective QoS rule may include generating a new reflective QoS rule or updating an existing reflective QoS rule.
[0070] A terminal device is provided corresponding to the above-mentioned method 300. Figure 6 is a block diagram of a terminal device 600 according to an embodiment of the present disclosure.
[0071] 6, the terminal device 600 includes a receiving unit 610, configured to receive DL packets, where the DL packets are IPSec protected. The terminal device 600 further includes a derivation unit 620, configured to derive a reflective QoS rule for a UL direction per IPSec SA based on the DL packets.
[0072] In one embodiment, the DL packets may have an ESP / UDP / IP encapsulation or an ESP / IP encapsulation.
[0073] In one embodiment, the derivation unit 620 may be configured to derive a packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation based on the SPI associated with the UL IPSec SA if a UL IPSec SA corresponding to a DL IPSec SA associated with an SPI in the DL packet uses ESP / UDP / IP encapsulation.
[0074] In one embodiment, the derivation unit 620 may be further configured to derive a packet filter for the UL IPSec protected packets with ESP / IP encapsulation based on the SPI associated with the UL IPSec SA.
[0075] In one embodiment, the derivation unit 620 may be configured to derive a packet filter for a UL IPSec protected packet with ESP / IP encapsulation based on the SPI associated with the UL IPSec SA if a UL IPSec SA corresponding to a DL IPSec SA associated with an SPI in the DL packet uses ESP / IP encapsulation.
[0076] In one embodiment, the derivation unit 620 may be further configured to derive a packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation based on the SPI associated with the UL IPSec SA.
[0077] In one embodiment, a packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation may include an SPI type component set to the SPI associated with the UL IPSec SA.
[0078] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include a single local port type component set to the value of the source port field of the UL IPSec SA and a single remote port type component set to the value of the destination port field of the UL IPSec SA.
[0079] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include an IP remote address component set to the value of the DL packet's source address field, an IP local address component set to the value of the DL packet's destination address field, and a protocol identifier or next header type component set to a value of UDP.
[0080] In one embodiment, if the DL packet has ESP / UDP / IP encapsulation, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include a single local port type component set to the value of the destination port field of the DL packet and a single remote port type component set to the value of the source port field of the DL packet.
[0081] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include an IP remote address component set to the value of the source address field of the DL packet, an IP local address component set to the value of the destination address field of the DL packet, and a protocol identifier or next header type component set to the value of the protocol identifier field or last next header field of the DL packet.
[0082] In one embodiment, a packet filter for a UL IPSec protected packet with ESP / IP encapsulation may include an SPI type component set to the SPI associated with the UL IPSec SA.
[0083] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / IP encapsulation may further include an IP remote address component set to the value of the source address field of the DL packet, an IP local address component set to the value of the destination address field of the DL packet, and a protocol identifier or next header type component set to the value of ESP.
[0084] In one embodiment, if the DL packet has ESP / IP encapsulation, the packet filter for a UL IPSec protected packet with ESP / IP encapsulation may further include an IP remote address component set to the value of the source address field of the DL packet, an IP local address component set to the value of the destination address field of the DL packet, and a protocol identifier or next header type component set to the value of the protocol identifier field or last next header field of the DL packet.
[0085] In one embodiment, the DL packet may be an IPv4 packet with the protocol identifier set to UDP or ESP, or the DL packet may be an IPv6 packet with the last-next header set to UDP or ESP.
[0086] In one embodiment, the DL packet may include an RQI set to one.
[0087] In one embodiment, the terminal device 600 may further comprise an association unit configured to, for a UL packet that is IPSec protected and has ESP / UDP / IP encapsulation, associate the UL packet with the reflective QoS rule for the UL direction if the reflective QoS rule for the UL direction has an IP header component that matches the IP header component of the UL packet and an SPI component that matches the SPI component of the UL packet, or associate the UL packet with the reflective QoS rule for the UL direction having an IP header component that matches the IP header component of the UL packet and no SPI component if the reflective QoS rule for the UL direction has an IP header component that matches the IP header component of the UL packet and an SPI component that matches the SPI component of the UL packet.
[0088] In one embodiment, the terminal device 600 may further include an association unit configured to associate, for a UL packet that is IKE protected and has ESP / UDP / IP encapsulation, the UL packet with a reflective QoS rule for the UL direction that has an IP header component that matches the IP header component of the UL packet and does not have an SPI component.
[0089] Units 610 and 620 may be implemented as a pure hardware solution or as a combination of software and hardware, for example by one or more of a processor or microprocessor, appropriate software and memory for storing the software, and a programmable logic device (PLD) or other electronic component(s) or processing circuitry configured to perform the operations described above and shown, for example, in FIG. 3 .
[0090] FIG. 7 is a block diagram of a terminal device 700 according to another embodiment of the present disclosure.
[0091] Terminal device 700 comprises a communication interface 710, a processor 720, and a memory 730. Memory 730 includes instructions executable by processor 720, whereby terminal device 700 operates to perform operations of a procedure, e.g., as described above in relation to Fig. 3. In particular, memory 730 includes instructions executable by processor 720, whereby terminal device 700 operates to receive IPSec protected DL packets and derive reflective QoS rules for the UL direction per IPSec SA based on the DL packets.
[0092] In one embodiment, the DL packets may have an ESP / UDP / IP encapsulation or an ESP / IP encapsulation.
[0093] In one embodiment, the operation of deriving a reflective QoS rule may include deriving a packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation based on the SPI associated with the UL IPSec SA if a UL IPSec SA corresponding to a DL IPSec SA associated with an SPI in the DL packet uses ESP / UDP / IP encapsulation.
[0094] In one embodiment, memory 730 may further include instructions executable by processor 720 that cause terminal device 700 to operate to derive a packet filter for UL IPSec protected packets with ESP / IP encapsulation based on the SPI associated with the UL IPSec SA.
[0095] In one embodiment, the operation of deriving a reflective QoS rule may include deriving a packet filter for a UL IPSec protected packet with ESP / IP encapsulation based on an SPI associated with the UL IPSec SA if a UL IPSec SA corresponding to a DL IPSec SA associated with an SPI in the DL packet uses ESP / IP encapsulation.
[0096] In one embodiment, memory 730 may further include instructions executable by processor 720 that cause terminal device 700 to operate to derive a packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation based on the SPI associated with the UL IPSec SA.
[0097] In one embodiment, a packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation may include an SPI type component set to the SPI associated with the UL IPSec SA.
[0098] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include a single local port type component set to the value of the source port field of the UL IPSec SA and a single remote port type component set to the value of the destination port field of the UL IPSec SA.
[0099] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include an IP remote address component set to the value of the DL packet's source address field, an IP local address component set to the value of the DL packet's destination address field, and a protocol identifier or next header type component set to a value of UDP.
[0100] In one embodiment, if the DL packet has ESP / UDP / IP encapsulation, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include a single local port type component set to the value of the destination port field of the DL packet and a single remote port type component set to the value of the source port field of the DL packet.
[0101] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / UDP / IP encapsulation may further include an IP remote address component set to the value of the source address field of the DL packet, an IP local address component set to the value of the destination address field of the DL packet, and a protocol identifier or next header type component set to the value of the protocol identifier field or last next header field of the DL packet.
[0102] In one embodiment, a packet filter for a UL IPSec protected packet with ESP / IP encapsulation may include an SPI type component set to the SPI associated with the UL IPSec SA.
[0103] In one embodiment, the packet filter for a UL IPSec protected packet with ESP / IP encapsulation may further include an IP remote address component set to the value of the source address field of the DL packet, an IP local address component set to the value of the destination address field of the DL packet, and a protocol identifier or next header type component set to the value of ESP.
[0104] In one embodiment, if the DL packet has ESP / IP encapsulation, the packet filter for a UL IPSec protected packet with ESP / IP encapsulation may further include an IP remote address component set to the value of the source address field of the DL packet, an IP local address component set to the value of the destination address field of the DL packet, and a protocol identifier or next header type component set to the value of the protocol identifier field or last next header field of the DL packet.
[0105] In one embodiment, the DL packet may be an IPv4 packet with the protocol identifier set to UDP or ESP, or the DL packet may be an IPv6 packet with the last-next header set to UDP or ESP.
[0106] In one embodiment, the DL packet may include an RQI set to one.
[0107] In one embodiment, the memory 730 may further include instructions executable by the processor 720 that cause the terminal device 700 to operate to, for a UL packet that is IPSec protected and has ESP / UDP / IP encapsulation, associate the UL packet with the reflective QoS rule for the UL direction if the reflective QoS rule for the UL direction has an IP header component that matches the IP header component of the UL packet and an SPI component that matches the SPI component of the UL packet, or associate the UL packet with a reflective QoS rule for the UL direction that has an IP header component that matches the IP header component of the UL packet and does not have an SPI component if the reflective QoS rule for the UL direction has an IP header component that matches the IP header component of the UL packet and an SPI component that matches the SPI component of the UL packet.
[0108] In one embodiment, memory 730 may further include instructions executable by processor 720 that cause terminal device 700 to operate to associate, for a UL packet that is IKE protected and has ESP / UDP / IP encapsulation, the UL packet with a reflective QoS rule for the UL direction that has an IP header component that matches the IP header component of the UL packet and that does not have an SPI component.
[0109] A network node is provided corresponding to the above-mentioned method 500. Figure 8 is a block diagram of a network node 800 according to one embodiment of the present disclosure.
[0110] As shown in Fig. 8, the network node 800 comprises a receiving unit 810 configured to receive DL packets addressed to a terminal device, the DL packets being IPSec protected and having ESP / UDP / IP encapsulation. The network node 800 further comprises an activating unit 820 configured to activate the derivation in the terminal device of reflective QoS rules for the UL direction per IPSec SA based on the DL packets.
[0111] In one embodiment, the DL packet may be an IPv4 packet with the protocol identifier set to UDP, or the DL packet may be an IPv6 packet with the last-next header set to UDP.
[0112] In one embodiment, the derivation may include deriving a packet filter based on an SPI associated with a UL IPSec SA that corresponds to a DL IPSec SA associated with the SPI in the DL packet.
[0113] In one embodiment, the activation unit 820 may be configured to set the RQI in the DL packet to one.
[0114] In one embodiment, the network node may implement UPF.
[0115] FIG. 9 is a block diagram of a network node 900 according to another embodiment of the present disclosure.
[0116] The network node 900 comprises a communication interface 910, a processor 920, and a memory 930. The memory 930 includes instructions executable by the processor 920, whereby the network node 900 operates to perform operations of a procedure, e.g., as described above in relation to Figure 5. In particular, the memory 930 includes instructions executable by the processor 920, whereby the network node 900 operates to receive a DL packet destined for a terminal device, the DL packet being IPSec protected and having ESP / UDP / IP encapsulation, and to activate derivation of a reflective QoS rule for a UL direction per IPSec SA based on the DL packet at the terminal device.
[0117] In one embodiment, the DL packet may be an IPv4 packet with the protocol identifier set to UDP, or the DL packet may be an IPv6 packet with the last-next header set to UDP.
[0118] In one embodiment, the derivation may include deriving a packet filter based on an SPI associated with a UL IPSec SA that corresponds to a DL IPSec SA associated with the SPI in the DL packet.
[0119] In one embodiment, the act of activating may include setting the RQI in the DL packet to one.
[0120] In one embodiment, the network node may implement UPF.
[0121] The present disclosure further provides at least one computer program product in the form of a non-volatile or volatile memory (e.g., a non-transitory computer readable storage medium, an Electrically Erasable Programmable Read Only Memory (EEPROM), a flash memory, and a hard drive). The computer program product includes a computer program. The computer program includes code / computer readable instructions that, when executed by the processor 720, cause the terminal device 700 to perform actions of a procedure, e.g., as described above in relation to FIG. 3, or code / computer readable instructions that, when executed by the processor 920, cause the network node 900 to perform actions of a procedure, e.g., as described above in relation to FIG. 5.
[0122] The computer program product may be configured as computer program code structured in computer program modules. The computer program modules may basically perform the actions of the flows shown in FIG.
[0123] The processor may be a single CPU (Central Processing Unit), but may also comprise two or more processing units. For example, the processor may include a general-purpose microprocessor, a special-purpose microprocessor, such as an instruction set processor and / or associated chipset and / or an application specific integrated circuit (ASIC). The processor may also include on-board memory for cache purposes. The computer program may be carried by a computer program product coupled to the processor. The computer program product may include a non-transitory computer readable storage medium on which the computer program is stored. For example, the computer program product may be a flash memory, a random access memory (RAM), a read only memory (ROM), or an EEPROM, and the above computer program modules may be distributed in the form of memory in various computer program products in alternative embodiments.
[0124] The present disclosure has been described above with reference to the embodiments thereof. It should be understood that those skilled in the art can make various modifications, changes and additions without departing from the spirit and scope of the present disclosure. Therefore, the scope of the present disclosure is not limited to the specific embodiments described above, but is defined only by the appended claims.
Claims
1. A method (300) in a terminal device, comprising: receiving (310) a DL (Downlink) packet, the DL packet being IPSec (Internet Protocol (IP) Security) protected; Deriving (320) a reflective QoS (Quality of Service) rule for an UL (Uplink) direction per IPSec SA (Security Association) based on the DL packets; the DL packet has ESP (Encapsulating Security Payload) / UDP (User Datagram Protocol) / IP encapsulation or ESP / IP encapsulation; The deriving (320) of the reflective QoS rule includes, if a UL IPsec SA corresponding to a DL IPSec SA associated with an SPI (Security Parameter Index) in the DL packet uses ESP / UDP / IP encapsulation, deriving (431) a packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation based on an SPI associated with the UL IPSec SA.
2. 2. The method (300) of claim 1 , wherein the packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation includes an SPI type component set to the SPI associated with the UL IPsec SA.
3. 3. The method (300) of claim 2, wherein the packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation comprises: a single local port type component set to the value of the source port field of said UL IPSec SA; a single Remote Port Type component set to the value of the Destination Port field of said UL IPSec SA; The method further comprises:
4. 4. The method (300) of claim 3, wherein the packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation comprises: an IP remote address component set to the value of the source address field of the DL packet; an IP local address component set to the value of the destination address field of the DL packet; a protocol identifier or next header type component set to a value of UDP; and The method further comprises:
5. 3. The method (300) of claim 2, wherein if the DL packet has ESP / UDP / IP encapsulation, the packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation comprises: a single local port type component set to the value of the destination port field of the DL packet; a single remote port type component set to the value of the source port field of the DL packet; The method further comprises:
6. 6. The method (300) of claim 5, wherein the packet filter for UL IPSec protected packets with ESP / UDP / IP encapsulation comprises: an IP remote address component set to the value of the source address field of the DL packet; an IP local address component set to the value of the destination address field of the DL packet; a protocol identifier or next header type component set to the value of the protocol identifier field or last next header field of the DL packet; The method further comprises:
7. A method (300) in a terminal device, comprising: receiving (310) a DL (Downlink) packet, the DL packet being IPSec (Internet Protocol (IP) Security) protected; Deriving (320) a reflective QoS (Quality of Service) rule for an UL (Uplink) direction per IPSec SA (Security Association) based on the DL packets; the DL packet has ESP (Encapsulating Security Payload) / UDP (User Datagram Protocol) / IP encapsulation or ESP / IP encapsulation; The method, wherein the DL packet is an IPv4 (IP version 4) packet with a protocol identifier set to UDP or ESP, or the DL packet is an IPv6 (IP version 6) packet with a last next header set to UDP or ESP.
8. The method (300) of any one of claims 1 to 7, wherein the DL packets include a Reflected QoS Indicator (RQI) set to 1.
9. A method (300) in a terminal device, comprising: receiving (310) a DL (Downlink) packet, the DL packet being IPSec (Internet Protocol (IP) Security) protected; Deriving (320) a reflective QoS (Quality of Service) rule for an UL (Uplink) direction per IPSec SA (Security Association) based on the DL packets; For a UL packet with IPSec protection and ESP / UDP / IP encapsulation: associate a UL packet with the reflective QoS rule for a UL direction if the reflective QoS rule for a UL direction has an IP header component that matches an IP header component of the UL packet and an SPI component that matches an SPI component of the UL packet; or if a reflective QoS rule for a UL direction does not have an IP header component that matches the IP header component of the UL packet and an SPI component that matches the SPI component of the UL packet, associating the UL packet with a reflective QoS rule for a UL direction that has an IP header component that matches the IP header component of the UL packet and has no SPI component.
10. A method (300) in a terminal device, comprising: receiving (310) a DL (Downlink) packet, the DL packet being IPSec (Internet Protocol (IP) Security) protected; Deriving (320) a reflective QoS (Quality of Service) rule for an UL (Uplink) direction per IPSec SA (Security Association) based on the DL packets; For UL packets with IKE (Internet Key Exchange) protection and ESP / UDP / IP encapsulation: The method further includes associating the UL packet with a reflective QoS rule for a UL direction that has an IP header component that matches an IP header component of the UL packet and that does not have an SPI component.
11. A terminal device (700) comprising a communication interface (710), a processor (720) and a memory (730), the memory (730) containing instructions executable by the processor (720) thereby causing the terminal device (700) to perform a method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Terminal and method
JP2019092057A
Method for QOS capability negotiation between user equipment and session management function in 5G system
JP2020537446A
communication systems
JP2021530153A
Enabling private network communication
JP2022509776A
A wireless device and method therein for enabling reflective quality of service (QOS)
WO2019096428A1
