Network node, destination network node, second network node and methods performed therein

By integrating time stamps and port mapping into the NAT Binding look-up protocol, the 5G system can accurately manage NAT bindings, addressing the challenges of external IP address handling and improving network performance.

WO2024223732A1PCT designated stage expired Publication Date: 2024-10-31TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)

Patent Information

Application Number
PCT/EP2024/061370
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-28
Filing Date
2024-04-25
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Current 5G core network mechanisms lack the ability to efficiently handle Network Address Translation (NAT) bindings, particularly in scenarios where external IP addresses are NATed, leading to issues with identifying correct NAT bindings due to missing port information and time-dependent NAT re-assignment, which affects data packet handling and performance.

Method used

Incorporating a time stamp and port mapping into the NAT Binding look-up protocol to enable the 5G system to search past NAT bindings, allowing for accurate identification of source IP addresses and ports, thereby improving data packet handling and reducing uncertainty in NAT binding look-ups.

Benefits of technology

This solution enhances the accuracy and efficiency of data packet handling in communication networks by allowing the 5G system to correctly identify and manage NAT bindings, even when external IP addresses are NATed, thereby improving network performance and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024061370_31102024_PF_FP_ABST
    Figure EP2024061370_31102024_PF_FP_ABST
Patent Text Reader

Abstract

According to embodiments it is herein provided, for example, a method performed by a network node (15) for handling data packets in a communication network (1). The network node (15) maps a time stamp to an IP address and / or a port indication of a data packet for identifying a NAT binding of a UE or a PDU session.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] NETWORK NODE, DESTINATION NETWORK NODE, SECOND NETWORK NODE AND METHODS

[0002] PERFORMED THEREIN

[0003] TECHNICAL FIELD

[0004] Embodiments herein relate to a network node, a destination network node, a second network node and methods performed therein regarding communication. Furthermore, a computer program product and a computer readable storage medium are also provided herein. In particular, embodiments herein relate to handling data packets in a communication network.

[0005] BACKGROUND

[0006] In a typical communication network, user equipments (UE), also known as wireless communication devices, mobile stations (MS), stations (STA) and / or wireless devices, communicate via an Access Network (AN), such as a radio access network (RAN), with one or more core networks (CN). A RAN covers a geographical area which is divided into service areas or cells, with each service area or cell being served by a radio network node such as an access node e.g. a Wi-Fi access point or a radio base station (RBS), which in some networks may also be called, for example, a NodeB, a gNodeB, or an eNodeB. The service area or cell is a geographical area where radio coverage is provided by the radio network node. The radio network node operates on radio frequencies to communicate over an air interface with the UEs within range of the radio network node. The radio network node communicates over a downlink (DL) to the UE and the UE communicates over an uplink (UL) to the radio network node.

[0007] A Universal Mobile Telecommunications System (UMTS) is a third generation (3G) telecommunication network, which evolved from the second generation (2G) Global System for Mobile Communications (GSM). The UMTS terrestrial radio access network (UTRAN) is essentially a RAN using wideband code division multiple access (WCDMA) and / or High-Speed Packet Access (HSPA) for communication with user equipment. In a forum known as the Third Generation Partnership Project (3GPP), telecommunications suppliers propose and agree upon standards for present and future generation networks and investigate e.g. enhanced data rate and radio capacity. In some RANs, e.g. as in UMTS, several radio network nodes may be connected, e.g., by landlines or microwave, to a controller node, such as a radio network controller (RNC) or a base station controller (BSC), which supervises and coordinates various activities of the plural radio network nodes connected thereto. The RNCs are typically connected to one or more core networks.

[0008] Specifications for the Evolved Packet System (EPS) have been completed within the 3GPP and coming 3GPP releases, such as New Radio (NR) and 6 generation (6G), are worked on. The EPS comprises the Evolved Universal Terrestrial Radio Access Network (E-UTRAN), also known as the Long-Term Evolution (LTE) radio access network, and the Evolved Packet Core (EPC), also known as System Architecture Evolution (SAE) core network. E-UTRAN / LTE is a 3GPP radio access technology wherein the radio network nodes are directly connected to the EPC core network. As such, the Radio Access Network (RAN) of an EPS has an essentially non-hierarchical architecture comprising radio network nodes connected directly to one or more core networks.

[0009] With the emerging 5G technologies such as NR, the use of very many transmit- and receive-antenna elements may be of great interest as it makes it possible to utilize beamforming, such as transmit-side and receive-side beamforming. Transmit-side beamforming means that the transmitter can amplify the transmitted signals in a selected direction or directions, while suppressing the transmitted signals in other directions. Similarly, on the receive-side, a receiver can amplify signals from a selected direction or directions, while suppressing unwanted signals from other directions. NR is connected to a 5G Core Network (5GC) which comprises a number of Network Functions (NF) such as User Plane Function (UPF), Session Management Function (SMF), Access Management Function (AMF), Authentication Service Function (AUSF), Policy Control Function (PCF), Unified Data Manager (UDM), Network Repository Function (NRF), Network Exposure Function (NEF), Application Function (AF), just to mention some. In the 5GC, NFs can discover other NFs by using a discovery service provided by the NRF.

[0010] The deployment and usage of Network Address Translators (NAT) is pretty common nowadays. NATs are deployed for two prime reasons: (A) to overcome IPv4 address shortages and (B) to increase security, privacy and flexibility. Mobile Operators are typically using NAT functionality to reduce the number of needed IPv4 addresses for mobile devices, and also to IPv6 introduction. A NAT64 is introduced, when the target server does not support IPv6. Internet originated traffic is typically anyhow prevented, e.g. by a firewall.

[0011] Many of the interactions between an external AF and the 5GC is using the externally visible IP Address that the UE projects as primary key.

[0012] The task is then for the 5G core network (5GC) to make a lookup and determine which Subscription Permanent Identifier (SUPI), including the International Mobile Subscriber Identity (IMSI), and / or which Generic Public Subscription Identifier (GPSI), including the Mobile Station International Subscriber Directory Number (MSISDN), the 5GC assigned IP address for that UE, this data session belongs to, then as next steps either expose certain monitoring events (MONTE), verify the authenticity of the User, Verify MSISDN, or even upgrade / boost the Quality of Service (QoS).

[0013] As an example of this, Ref 3GPP Technical Specification 23.502 v18.0.0. 4.15.3.2.13 Handling AF requests when the UE is identified via UE addressing information

[0014] An AF may request, via the NEF, the Event Exposure (as defined in clause 4.15.3) or the parameter provisioning (as defined in clause 4.15.6) targeting an individual UE, identifying the target UE by providing UE addressing information.

[0015] In this case the 5GC first needs to retrieve a UE Identifier based on:

[0016] - the UE addressing information as provided by the AF: this may correspond to an UE IP address as allocated by 5GC or to a MAC address of the UE (when Ethernet PDU Sessions are targeted),

[0017] - the corresponding DNN and / or S-NSSAI: this may have been provided by the AF or, alternatively, determined by the NEF using the identity of the AF.

[0018] The NEF retrieves the UE Identifier by executing step 2 to 6 of the AF specific UE Identifier retrieval procedure described in clause 4.15.10.

[0019] Once this is done, the 5GC may carry out the action requested by the AF and may deliver back to the AF an External Identifier representing an AF specific UE Identifier (as defined in TS 23.501 [2]). This AF specific UE Identifier may later be used by the AF to issue further requests about the same UE.

[0020] NOTE: The AF can use UE addressing information to identify the UE in a subscription request, but once received, this UE addressing information is translated into a GPSI and then the 5GC considers the subscription is associated with the GPSI and not with the UE address any more.

[0021] The AF may have its own means to maintain the AF specific UE Identifier through, e.g. an AF session. After the retrieval of an AF specific UE Identifier the AF shall not keep maintaining a mapping between the returned AF specific UE Identifier and the UE IP address as this mapping may change.

[0022] 4.15.10 AF specific UE ID retrieval

[0023] This clause contains the detailed description and the procedures for the AF specific UE ID retrieval. The AF specific UE Identifier is represented by the External Identifier as defined in TS 23.003

[0033] .

[0024] NOTE 1: After retrieving AF specific UE ID, the AF can invoke NEF provided services (e.g. location monitoring).

[0025] Figure. 1 shows an AF specific UE ID retrieval.

[0026] 1. AF requests to retrieve UE ID via the Nnef_UEId_Get service operation. The request message shall include UE address (IP address or MAC address) and AF Identifier, it may include, MTC Provider Information, Application Port ID, IP domain. The MTC Provider Information identifies the MTC Service Provider and / or MTC Application. If available the AF may also provide the corresponding DNN and / or S-NSSAI. NOTE 2: The MTC Provider Information can be used by any type of Service

[0027] Providers (MTC or non-MTC) or Corporate or External Parties for, e.g. to distinguish their different customers.

[0028] NOTE 3: The case where UE IP address provided by the AF to the NEP corresponds to an IP address that has been NATed (Network and Port Address Translation) is not supported in this release.

[0029] NOTE 4: The Application Port ID is as defined in Nnef_Trigger_Delivery.

[0030] NOTE 5: The NEP can validate the provided MTC Provider Information and override it to a NEP selected MTC Provider Information based on configuration. How the NEP determines the MTC Provider Information, if not present, is left to implementation (e.g. based on the requesting AF).

[0031] 2. The NEF authorizes the AF request. If the authorisation is not granted, the NEF replies to the AF with a Result value indicating authorisation failure; otherwise the NEF proceeds with the following steps. The NEF determines corresponding DNN and / or S-NSSAI information: this may have been provided by the AF or is determined by the NEF based on the requesting AF Identifier, MTC Provider Information.

[0032] 3-4. The NEF uses the Nbsf_Management_Discovery service operation with UE address and IP domain and / or DNN and / or S-NSSAI to retrieve the session binding information of the UE. If no SUPI is received in the session binding information from the BSF, the NEF replies to the AF with a Result value indicating that the UE ID is not available.

[0033] 5. The NEF interacts with UDM to retrieve the AF specific UE Identifier via the Nudm_SDM_Get service operation. The request message includes SUPI and at least one of Application Port ID, MTC Provider Information or AF Identifier.

[0034] 6. The UDM responds to the NEF with an AF specific UE Identifier represented as an External Identifier for the UE which is uniquely associated with the Application Port ID, MTC provider Information and / or AF Identifier.

[0035] 7. The NEF further responds to the AF with the information (including the AF specific UE Identifier represented as an External Identifier) received from the UDM.

[0036] The data, logic and knowledge to convert an externally (NATed) IP Address to an internally 5GC assigned IP Address for a specific UE / PDU Session lies within the NAT that has translated the addresses. This can be the 5GC itself or an external NAT function, e.g., Carrier Grade NAT (CGNAT). There are existing mechanisms in late releases of 5GC to perform this conversion but not for external NAT functions.

[0037] Two main variants of Network Address Translations (NAT)exist:

[0038] • Variant A: Source NAT (SNAT) is replacing the IP address and port numbers of the transmission control protocol (TCP) / user datagram protocol (UDP) sessions of the source device, i.e. , the IP session initiator.

[0039] • Variant B: Destination NAT (DNAT) is replacing the IP and potentially the port numbers of the destination device, i.e., the server IP. This is sometimes referred to as reverse NAT.

[0040] The different NAT realizations are described in RFC 2663 and RFC 4787 in more detail, and herein focus is on Variant A, i.e., the SNAT.

[0041] The basic operation of the SNAT is depicted in Fig. 2. A client device on the left initiates a transmission control protocol (TCP) or user datagram protocol (UDP) connection towards a server side (on the right). The SNAT device is deployed within the path between the client and the server. For the outgoing traffic, the SNAT replaces the Source IP and Source Port with external IP and Port. The replacement of the port is needed, since multiple clients, connections from different Source IPs, are sharing the same external IP, thus, there is a likelihood that the source port is already allocated by another session.

[0042] SUMMARY

[0043] As part of developing embodiments herein one or more problems have been identified.

[0044] The SNAT device keeps the binding of internal IP + Port with external IP + Port so that the IP address and port replacement process can be reverted for incoming traffic. Thus, when a server responds with a packet, the SNAT replaces the destination IP and Port with the stored Address / Port.

[0045] Since clients and servers often just disappears without properly closing the connection, the SNAT cleans up the bindings timer based, in addition to state following where the timer can be shortened if the NAT can determine based on e.g. TCP state that the session has been closed.

[0046] Further, in order to avoid transport layer issues, e.g., a TCP client gets a TCP packet from an old server, the SNAT does not immediately re-use the external IP and Port for new bindings.

[0047] Typically the NAT device is assigned a pool of IP addresses and for each IP address also a range of port numbers, from where it allocates the tuple used when NAT:ing.

[0048] RFC 8158, i.e., IP Flow Information Export (IPFIX) Information Elements for Logging NAT Events, defines a message format for sending NAT related event information over IP. Different type of transport protocols can be used to distribute the NAT events. In context of embodiments herein, specifically the events of creating a new NAT binding and releasing a NAT binding event are of interest. RFC 8158 defines NAT event templates for the creation and deletion of a NAT binding event for IPV4 (NAT 44), IPv6 (NAT 64). A NAT binding is the association of an external IP and Port, with an internal IP and port. A SNAT replace the source information for outgoing traffic. The NAT binding event contains the source IP address & source port, external IP address & external port and protocol identifier. In addition, each event contains a time stamp at which the event occurs and an event type, such as binding creation or deletion.

[0049] It is herein identified one or more problems with a NAT.

[0050] A first problem may be that all logic related to AF influence currently assumes that the externally visible IP Addresses is Not NAT’ed, as shown by this note in 3GPP Ref 23.502 chapter 4.15.10.1 v.18.0.0:

[0051] NOTE 3: The case where UE IP address provided by the AF to the NEF corresponds to an IP address that has been NATed (Network and Port Address Translation) is not supported in this release.

[0052] This is however not true since many companies use NAT for different purposes, so the 3GPP solutions may not be possible to use.

[0053] A second problem may be that to be able to convert between a NAT’ed address and the original address one need to know both, the external IP Address and external source port number, however today the protocol assumes only that the IP Addresses are needed so all information regarding the active source port is missing in the application programming interfaces (API) specified by 3GPP e.g., AsSessionWithQos, see 3GPP TS 29.122.V.18.2.0.

[0054] As an example: The address known to the AF, 65.96.14.76, “hides” 4 Local IP Addresses, 192.168.1.101-104 hence it is impossible for 5GC to know which protocol data unit (PDU) Session to influence / monitor / validate.

[0055] It should be noted that the concepts described are applicable, but not always needed, also for IPv6.

[0056] A third problem may be that the NAT re-assigns or re-uses the IP Addresses and ports, either because the session is closed, e.g., a TCP finish (FIN) is seen, or because of a connection idle timeout, i.e., no traffic for e.g. 60sec. The re-use of IP address and port is essential for reducing the needed number of IPv4 addresses. Thus, a coordination mechanism is lacking to retrieve the correct result and a wrong IP Address may be received in return.

[0057] It is assumed in the following, that there is a NAT binding collector function within the NAT, which gathers and persists, for a time window, the NAT binding information from the NATs. The collector function exposes a simple API allowing to query the NAT binding. Fig. 3 shows that a reverse lookup, information received from the AF side, requires knowledge about internet IP address and source port.

[0058] An object herein is to provide a mechanism to handle data packets in an efficient manner to improve performance of a communication network. According to embodiments herein the object is achieved by providing a method performed by a network node for handling one or more data packets in a communication network. The network node maps a time stamp to an IP address and / or a port indication of a data packet for identifying a NAT binding of a UE or a PDU session.

[0059] The combined use of IP Address, port indication such as a port number, also referred to public IP address and public port number or externally visible IP address and port number, and the time stamp to lookup the identity of a 5GC UE and / or a PDU Session based on externally visible activity, overcoming the issue that these NAT bindings are time limited in nature. The network node may add the time stamp to one or more data packets upon adding an externally visible IP address and / or a port indication to the one or more data packets for providing a NAT feature or functionality. The NAT feature or functionality herein meaning a function of translating a local or a source IP address and / or port number to another IP address and / or port number such as an external IP address and / or port number.

[0060] According to embodiments herein the object is achieved by providing a method performed by a destination network node for handling one or more data packets in a communication network. The destination network node transmits a related data packet towards a network node or another network node using an IP address and / or a port indication of a received data packet. The related data packet further comprises an observed time indication indicating when the data packet was received at the destination network node.

[0061] According to embodiments herein the object is achieved by providing a method performed by a second network node for handling one or more data packets in a communication network. The second network node transmits a request message, to a network node, to convert an IP address and / or port indication to a source address, and / or a first port number for an observed time indication.

[0062] It is furthermore provided herein a computer program product comprising instructions, which, when executed on at least one processor, cause the at least one processor to carry out the methods herein, as performed by the network node, the destination network node, and the second network node, respectively. It is additionally provided herein a computer-readable storage medium, having stored thereon a computer program product comprising instructions which, when executed on at least one processor, cause the at least one processor to carry out the methods herein, as performed by the network node, the destination network node, and the second network node, respectively.

[0063] According to embodiments herein the object is achieved by providing a network node for handling communication of data packets in a communication network. The network node is configured to map a time stamp to an IP address and / or a port indication of a data packet for identifying a NAT binding of a UE or a PDU session.

[0064] According to embodiments herein the object is achieved by providing a destination network node for handling one or more data packets in a communication network. The destination network node is configured to transmit a related data packet towards a network node or another network node using an IP address and / or a port indication of a received data packet. The related data packet further comprises an observed time indication indicating when the data packet was received at the destination network node.

[0065] According to embodiments herein the object is achieved by providing a second network node for handling one or more data packets in a communication network. The second network node is configured to transmit a request message, to a network node, to convert an IP address and / or port indication to a source address, and / or a first port number, for an observed time indication.

[0066] Embodiments herein propose a solution to extend the NAT Binding look-up protocol so that it includes also a time stamp, to address the third problem above. The second problem may be addressed by also adding the port mapping to the address. These additions will make it possible to solve one or more of the problems mentioned above. The time stamp may express a wall-clock time, at which the IP address such as an externally visible IP address, and the port were observed by an external function. By passing the time stamp, the 5G System can search a NAT binding database, lookup up the source IP address and / or the first port, also referred to as a source port, used within the 5G System.

[0067] The port indication, such as a port number, may often only be used when creating a fine grained 5- Tuple based Flow Description. When only the PDU Session needs to be identified, then a source IP address may be enough. The source IP address may represent an IP address, which was assigned by the 5G System for a certain UE.

[0068] Embodiments herein reduce the uncertainty that the correct NAT binding is looked up and returned. The solution removes the time dependency between “AF captures the public visible IP and Port” and “the serving NAT checks its binding table” is removed, since the time stamp allows the network node to also search past NAT bindings.

[0069] Embodiments herein will result in an improved performance of the communication network handling a service in the communication network.

[0070] BRIEF DESCRIPTION OF THE DRAWINGS

[0071] Embodiments will now be described in more detail in relation to the enclosed drawings, in which:

[0072] Fig. 1 shows a combined flowchart and signalling scheme according to prior art;

[0073] Fig. 2 shows a schematic scenario according to prior art;

[0074] Fig. 3 shows a schematic scenario according to prior art;

[0075] Fig. 4 shows an overview depicting a communication network according to embodiments herein;

[0076] Fig. 5 shows a signalling scheme according to some embodiments herein;

[0077] Fig. 6a shows a flowchart illustrating a method performed by a network node according to embodiments herein;

[0078] Fig. 6b shows a flowchart illustrating a method performed by a destination network node according to embodiments herein; Fig. 6c shows a flowchart illustrating a method performed by a second network node according to embodiments herein;

[0079] Fig. 7 shows a scenario according to some embodiments herein;

[0080] Fig. 8 shows a signalling scheme according to some embodiments herein;

[0081] Fig. 9a shows a block diagram depicting a network node according to embodiments herein;

[0082] Fig. 9b shows a block diagram depicting a second network node according to embodiments herein;

[0083] Fig. 9c shows a block diagram depicting a destination network node according to embodiments herein;

[0084] Fig. 10 schematically illustrates a telecommunication network connected via an intermediate network to a host computer;

[0085] Fig. 11 is a generalized block diagram of a host computer communicating via a base station with a user equipment over a partially wireless connection; and

[0086] Figs. 12, 13, 14, and 15 are flowcharts illustrating methods implemented in a communication system including a host computer, a base station and a user equipment.

[0087] DETAILED DESCRIPTION

[0088] Embodiments herein relate to communication networks in general. Fig. 4 is a schematic overview depicting a communication network 1. The communication network 1 comprises one or more RANs and one or more CNs. The communication network 1 may use one or a number of different technologies. Embodiments herein relate to recent technology trends that are of particular interest in a New Radio (NR) context, however, embodiments are also applicable in further development of existing wireless communications systems such as e.g. Wi-Fi, LTE or Wideband Code Division Multiple Access (WCDMA).

[0089] In the communication network 1 , a user equipment (UE) 10 exemplified herein as a wireless device such as a mobile station, a non-access point (non-AP) station (STA), a STA and / or a wireless terminal, is comprised communicating via e.g. one or more Access Networks (AN), e.g. radio access network (RAN), to one or more core networks (CN). It should be understood by the skilled in the art that “UE” is a non-limiting term which means any terminal, wireless communications terminal, user equipment, narrowband internet of things (NB-loT) device, Machine Type Communication (MTC) device, Device to Device (D2D) terminal, or node e.g. smart phone, laptop, mobile phone, sensor, relay, mobile tablets or even a small base station capable of communicating using radio communication with a radio network node within an area served by the radio network node.

[0090] The communication network 1 comprises a first radio network node 12 or just radio network node, providing radio coverage over a geographical area, a first service area 11 or first cell, of a first radio access technology (RAT), such as NR, LTE, or similar. The radio network node 12 may be a transmission and reception point such as an access node, an access controller, a base station, e.g. a radio base station such as a gNodeB (gNB), an evolved Node B (eNB, eNode B), a NodeB, a base transceiver station, a radio remote unit, an Access Point Base Station, a base station router, a Wireless Local Area Network (WLAN) access point or an Access Point Station (AP STA), a transmission arrangement of a radio base station, a stand-alone access point or any other network unit or node capable of communicating with a UE within the area served by the first radio network node depending e.g. on the first radio access technology and terminology used. The first radio network node may be referred to as a serving radio network node wherein the service area may be referred to as a serving cell, and the serving network node communicates with the wireless device in form of DL transmissions to the wireless device and UL transmissions from the wireless device. It should be noted that a service area may be denoted as cell, beam, beam group or similar to define an area of radio coverage.

[0091] The communication network 1 comprises a second radio network node 13 or just radio network node, providing radio coverage over a geographical area, a second service area 14 or second cell, of a second radio access technology (RAT), such as NR, LTE, or similar. The second radio network node 13 may be a transmission and reception point such as an access node, an access controller, a base station, e.g. a radio base station such as a gNodeB (gNB), an evolved Node B (eNB, eNode B), a NodeB, a base transceiver station, a radio remote unit, an Access Point Base Station, a base station router, a Wireless Local Area Network (WLAN) access point or an Access Point Station (AP STA), a transmission arrangement of a radio base station, a stand-alone access point or any other network unit or node capable of communicating with a wireless device within the area served by the second radio network node depending e.g. on the first radio access technology and terminology used. The second radio network node may be referred to as a visiting radio network node or target radio network node, wherein the service area may be referred to as a visiting cell or target cell, and the second radio network node communicates with the UE in form of DL transmissions to the UE and UL transmissions from the UE. It should be noted that a service area may be denoted as cell, beam, beam group or similar to define an area of radio coverage.

[0092] The communication network 1 may comprise a network comprising one or more network nodes 15. For example, an NAT node providing a NAT feature to one or more PDU sessions of one or more UEs.

[0093] The communication network 1 may further comprise a number of core network nodes providing, e.g. in NR, network functions (NF) or actually instantiations of NFs also referred to as NF instances, such as a second network node 17 providing, for example, an instantiation of a NEF, a fourth network node 18 providing an instantiation of an SMF, and a third network node 19 providing, for example, an instantiation of an PCF, or any other NF instances in the communication network 1 . The different NF instances may have different tasks. Other functions may be for LTE such as MME or similar.

[0094] The communication network 1 further comprises a destination network node 20 such as an AF or application server. The respective node may be a standalone server, a cloud-implemented server, a distributed server or processing resources in a server farm or same node. Embodiments herein may be implemented as physical bare metal, virtual or cloud native such as Kubernetes environment in, e.g., hyper-cloud networks.

[0095] According to embodiments herein the network node 15 maps a time stamp to an IP address, such as a Public(external) IP address, and / or a port indication such as a public (external) port number, of a data packet, for the destination network node 20, for identifying a NAT binding of a UE or a PDU session. The IP address and the port indication may further be mapped to a private (internal) IP address and private (internal) port number of the data packet. Thus, a NAT binding may be mapped to or comprise a time stamp, which time stamp may comprise a time range, such as a start time and a stop time, during which the NAT binding existed. The NAT binding may be an association, or mapping, of a public or external IP address and / or Port number, with an internal or private IP address and / or port number. The network node 15 may thus map the external IP address and / or port number, together with the time stamp, to the internal IP address and / or port number.

[0096] Fig. 5 is an example of a combined flowchart and signalling scheme according to some embodiments herein. Optional actions are marked with dashed boxes.

[0097] Action 501. The UE 10 may transmit a data packet towards a destination such as an application function, another UE, or similar. The data packet is transmitted via or to the network node 15, wherein the network node 15 provides a NAT feature or functionality.

[0098] Action 502. The network node 15 may map a source address (S-address), and / or a first port, such as a source port, of the data packet to the IP address and / or a NAT port, being an example of the port indication, of the NAT feature or functionality.

[0099] Action 503. The network node 15 further maps the time stamp, for example, a time stamp indicating when received and / or mapped, to the IP address and / or the port indication, such as the NAT port or port number, of the data packet for identifying the NAT binding of the UE 10 or a PDU session related to the UE 10.

[0100] Action 504. The network node 15 may further store the mapping or mappings. The network node 15 may store in a NAT table the mapping of the source address and / or the first port to the IP address and / or the NAT port, and further to the time stamp. The time stamp may comprise a start time and / or an end time.

[0101] Action 505. The network node 15 may then add the IP address, such as a public source address, and / or the NAT port to the data packet.

[0102] Action 506. The network node 15 may further transmit the data packet towards its destination such as the AF or another UE.

[0103] Action 507. The destination network node 20 may receive the data packet and transmit a related data packet towards the network node 15 or another network node using the IP address of the received data packet. The related data packet may further comprise an indication of the NAT port and / or an observed time indication, wherein observed time herein meaning for example, a time when receiving the first data packet.

[0104] Action 508. The network node 15 may use the stored mapping or mappings to retrieve the source address and / or the port number mapped to the indicated IP address and / or the NAT port, and the time stamp. The time stamp may be associated with the observed time, e.g., the observed time is within a time stamp indicating an interval.

[0105] Action 509. The network node 15 may identify the UE 10 and / or the PDU session based on IP address, and / or NAT port, and time stamp.

[0106] Action 510. The related data packet may then be transmitted, handled or forwarded to the UE 10 based on the source address and / or the first port mapped to the IP address and / or the NAT port, and further to the time stamp.

[0107] The method actions performed by the network node 15, such as a NAT node or a U PF node, for handling one or more data packets in the communication network 1, for example, handling data packets of a service, according to embodiments herein will now be described with reference to a flowchart depicted in Fig. 6a. The actions do not have to be taken in the order stated below, but may be taken in any suitable order. Actions performed in some embodiments are marked with dashed boxes.

[0108] Action 601. The network node 15 providing the NAT feature or the functionality may receive from the UE 10 a data packet towards the destination such as the application function, the other UE, the application server or similar. The data packet may comprise a source address, and / or a destination address, and / or a first port number.

[0109] Action 602. The network node 15 may map the source address, and / or the first port number of the data packet to the IP address and / or the port indication such as a NAT port , wherein the mapping forms a NAT binding.

[0110] Action 603. The network node 15 maps the time stamp, e.g., a time stamp indicating instance when received and / or mapped, to the IP address and / or the port indication, such as the NAT port, of the data packet for identifying the NAT binding of the UE or the PDU session. The network node 15 may thus map the time stamp to the NAT binding comprising the source address, and / or a first port number of the data packet mapped to the IP address and / or the port indication.

[0111] Action 604. The network node 15 may further store the NAT binding with the time stamp such as the mapping or mappings with the time stamp. The network node 15 may store in a NAT table mapping of the source address / the first port to the IP address / the port indication, and further to the time stamp. The time stamp may comprise a start time and / or an end time. Thus, the network node 15 may store the time stamp mapped to the NAT binding comprising the source address, and / or the first port number of the data packet mapped to the IP address and / or the port indication of the NAT feature or functionality. Action 605. The network node 15 may then add the IP address and / or the port indication to the data packet. The network node 15 may add the public IP address and public port number to the data packet.

[0112] Action 606. The network node 15 may further transmit the data packet towards its destination such as the AF.

[0113] Action 607. The network node 15 may receive from the second network node 17 or the destination network node 20, the related data packet, or a request message, comprising the IP address. The related data packet, or a request message, may further comprise an indication of the port indication and / or an observed time indication, wherein the observed time indication indicates a time receiving the data packet at the destination network node 20. The related data packet is related to the transmitted packet in that it relates to the PDU session or packet flow of the previously received data packet. For example, the related data packet regards information concerning the flow or PDU session of the previously received data packet.

[0114] Action 608. The network node 15 may then use the stored mapping or mappings to retrieve the (original) source address and / or first port number based on the indicated IP address and / or the port indication, and the observed time indication being within or associated with the time stamp.

[0115] Action 609. The network node 15 may identify the UE 10 and / or the PDU session based on the IP address, and / or the port indication, and the observed time indication. The network node 15 may identify the source address, and / or the first port number based on the IP address, and / or the port indication, and the observed time indication of the request message or the related data packet.

[0116] Action 610. The network node 15 may transmit the related data packet to the UE 10 based on the source address and / or the first port mapped to the IP address and / or the port indication, and the time stamp, or send one or more indications, in case of requested, to the second network node 17, of the source address and / or the first port number mapped to the IP address and / or the port indication , mapped to the time stamp.

[0117] The method actions performed by the destination network node 20, such as an AF or another network node, for handling one or more data packets in the communication network 1 , for example, handling data packets of a service, according to embodiments herein will now be described with reference to a flowchart depicted in Fig. 6b. The actions do not have to be taken in the order stated below, but may be taken in any suitable order. Actions performed in some embodiments are marked with dashed boxes.

[0118] Action 611. The destination network node 20 may receive from the network node 15 the data packet comprising the IP address and / or port indication.

[0119] Action 612. The destination network node 20 may add or register the observed time indication indicating when the data packet was received at the destination network node 20.

[0120] Action 613. The destination network node 20 may determine or detect a reason to respond back to the network node 15. The destination network node 20 may detect quality is too low and may initiate a QoS upgrade. Action 614. The destination network node 20 transmits the related data packet towards the network node 15 or another network node using the IP address and / or port indication of the received data packet. The related data packet further comprises the observed time indication indicating when the data packet was received at the destination network node. The related data packet is related to the received data packet in that it relates to the PDU session or packet flow of the previously received data packet. For example, the related data packet regards information concerning the flow or PDU session of the previously received data packet in action 611.

[0121] The method actions performed by the second network node 17, such as a core network node, e.g., a NEF or another network node, for handling one or more data packets in the communication network 1, for example, handling data packets of a service, according to embodiments herein will now be described with reference to a flowchart depicted in Fig. 6c. The actions do not have to be taken in the order stated below, but may be taken in any suitable order. Actions performed in some embodiments are marked with dashed boxes.

[0122] Action 621. The second network node 17 may receive the related data packet from the destination network node 20 or another network node with the IP address and / or port indication of the data packet, received at the destination network node 20 or the other network node. The related data packet further comprises the observed time indication.

[0123] Action 622. The second network node 17 may select the network node 15 to contact, such as a target NAT node or CGNAT, e.g., by using an IP Domain of the IP address in the related data packet.

[0124] Action 623. The second network node 17 transmits a request to convert the IP address and / or the port indication to the source address, and / or the first port number for the observed time indication. Thus, the second network node 17 transmits the request message to the network node 15 comprising the IP address and / or the port indication, and the observed time indication indicating when the data packet was received at the destination network node 20. For example, the second network node 17 may transmit the request message such as a Nupf_GetPrivateU El Paddr service message comprising the observed time indication. This observed time indication may be exemplified in TS 23.501 , v18.1.1, marked in bold and italic.

[0125] Nupf_GetPrivatell El Paddr service:

[0126] 5.2.26.3 Nupf_GetPrivatellEIPaddr service

[0127] 5.2.26.3.1 General

[0128] This service provides the UE IP address translation information.

[0129] 5.2.26.3.2 Nupf_GetPrivateUEIPaddr_Get service operation.

[0130] Service operation name: Nupf_GetPrivateUEIPaddr_Get

[0131] Description: NF service consumer gets the UE private IP address and IP domain assigned by 5GC. Inputs, Required: IP address and port, (e.g. a public IP address).

[0132] The provided IP address and port uniquely identifies the UE IP address behind a NAT.

[0133] Inputs, Optional: IP domain, DNN, S-NSSAI. timestamp Outputs, Required: UE private IP address.

[0134] Outputs, Optional: IP domain of UE private IP address.

[0135] Action 624. The second network node 17 may then receive the one or more indications from the network node 15, wherein the of the one or more indication indicates the source address and / or the first port number (identified UE or PDU session) mapped to the IP address and / or the port indication, and the time stamp.

[0136] Action 625. The second network node 17 may then use the source address and / or the first port number in a data packet.

[0137] Fig. 7 shows a NAT binding time stamp concept according to some embodiments herein. It is herein shown a NAT table comprising mapping of the source address, and / or the first port of the data packet to the IP address and / or the NAT port of the NAT feature or functionality. Exemplified as, Private IP Address (5G System assigned IP) + port mapped to a Public IP Address and Port (public observable IP address and port). The NAT table further comprise a mapping to the time stamp exemplified as a start time and an end time denoted as ‘Added’.

[0138] Fig. 8 shows an example of a sequence diagram including parameters for time stamp and port number in addition to the public IP address, also referred to as externally observed IP address, based on a QoS Boost flow (action 803) as an example.

[0139] Action 801. The UE 10 or the UE application client is assigned, by the 5GC, an IP address also referred to as private address such as 10.20.3.4.

[0140] Action 802. The UE 10 transmits a data packet such as an UL application session packet using IP =10.20.3.4 and port 2000.

[0141] Action 803. The network node 15, for example, a NAT feature or function of network node 15, also referred to as NAT 1 and NAT2, converts the private address into a public address. For example, IP address 10.20.3.4, port 2000 is converted into public IP address 5.6.7.8, port 1234, being an example of a NAT binding. The connection made, a NAT binding created event, is logged and time stamped in a connection log such as a NAT table. Thus, the mapping or mappings may be stored in for example the NAT table.

[0142] Action 804. The network node 15 transmits the UL application session packet with the public IP address 5.6.7.8, port 1234.

[0143] Action 805. The destination network node 20, such as an AF or the application, may detect that a quality is too low of the flow and may initiate a QoS upgrade.

[0144] Action 806. The destination network node 20 may then transmit a related data packet such as a AfsessionwithQoS with a destination based on the observed and received indications of the previously received data packet such as 5.6.7.8, port 1234 and also the observed time indication such as the observed time stamp (time stamp when receiving the data packet). The related data packet is related to the received UL application session packet in that it may relate to QoS upgrade of the flow.

[0145] Action 807. The second network node 17, such as a NEF, receiving the related data packet does not know the IP address.

[0146] Action 808. The second network node 17 may then find the network node 15, also referred to as a target NAT node or CGNAT, to contact e.g., by using the IP Domain of the NAT’ed IP Address such as 5.6.7.8, port 1234.

[0147] Action 809. The second network node 17 may request the network node 15 to convert the public IP address+port to a private IP address and port for this observed time stamp.

[0148] Action 810. The network node 15 may do an internal lookup in the connection log to find the private IP address and port using the public address and port as keys at the observed time stamp.

[0149] Action 811. The network node 15 may then return private IP address and port to the second network node 17.

[0150] Action 812. The second network node 17 may then transmit to a third network node such as a PCF a packet such as a, e.g., AfsessionwithQoS or Npcf_PolicyAuthorization_Create Request with the private IP address and port, i.e. the source address and / or the first port number.

[0151] Today the above flow would fail immediately at action 807 and the whole procedure would be rejected.

[0152] 3GPP TS 29.122 v.18.1.0 (possibly 29.522 v18.1.0) may need to be updated to include both Port information and a time stamp to ensure that the correct IP Address is used, i.e., correct PDU Session on correct End User.

[0153] Each network node 15, such as a CGNAT, may need to:

[0154] 1. log the connection (NAT binding), including the time stamp typically start / stop (action 803)

[0155] 2. provide an API that makes it possible for an external party to retrieve the conversion data (action 809)

[0156] 3. for the specified time, look up the related Private IP Address (5G System assigned IP) using the Public IP Address and Port (public observable IP address and port) as keys (Action 810).

[0157] 5GC, such as the second network node 17 typically NEF, may need to

[0158] 1. find target CGNAT, using e.g., the IP Domain, action 808;

[0159] 2. need to call the CGNAT to retrieve the Private IP Address, action 809.

[0160] The NAT function will have substantial needs for data storage to track all activity even for a limited time, given that operator deployments can handle massive amounts of traffic. The structure and method of sieving through this data may be important to enable high performance as well as low effort lookup yet precise lookup supporting ranges before and after to determine potential overlaps.

[0161] A hash method based on a hash hashFunctionA, tuned to the number of IPs and ports to generate a maximum number of discrete outputs supported by underlying storage system may be used. The resulting hash I PGroupI d = hashFunctionA(IP.Port) is then used as input to lookup into a circular log for each IP+Port combination with time stamps when an address is allocated and deallocated to a particular PDU session.

[0162] In certain scenarios the log mechanism may drop logs due to e.g. performance or implementation details. The system may be able to indicate if, for example, a failed lookup is due to poor or missing data or due to detection that a different device was using the mapping at the time in question.

[0163] An implementation may make the assumption that the time stamps are considered to be at least supporting n-second precision, and the recycling of sessions is assumed to be longer than 2 times n seconds to avoid overlaps, i.e., reporting wrong identity due to time synchronization issues.

[0164] Still, some embodiments be may to indicate to the requester, such as the second network node 17, if the NAT IP / Port address has been recycled in time proximity to the requested time stamp. This could be provided as time in milliseconds before and after that the IP / Port would have been reserved / allocated to the same UE or simply including “greater than”, e.g. >1min either end, indication to avoid sending back exactly the times at which the IP address was allocated.

[0165] Embodiments herein may support queries in history to provide a better understanding of time proximity later than the time stamp queried.

[0166] Fig. 9a shows a block diagram depicting the network node 15 for handling one or more data packets or a service in the communication network 1 according to embodiments herein.

[0167] The network node 15 may comprise processing circuitry 901, e.g. one or more processors, configured to perform the methods herein.

[0168] The network node 15 and / or the processing circuitry 901 is configured to map the time stamp to the IP address and / or the port indication (NAT port) of the data packet for identifying the NAT binding of the UE or the PDU session. The network node 15 and / or the processing circuitry 901 may be configured to map the time stamp to the mapped the source address, and / or the first port of the data packet to the IP address and / or port indication of the NAT feature or function. The network node 15 and / or the processing circuitry 901 may be configured to receive from the UE the data packet towards the destination such as an application function, another UE, or similar. The data packet may comprise a source address, a destination address and / or a first port indication or first port number. The network node 15 and / or the processing circuitry 901 may be configured to map the source address, and / or the first port of the data packet to the IP address and / or the port indication forming the NAT binding.

[0169] The network node 15 and / or the processing circuitry 901 may be configured to store the NAT binding mapped to the time stamp in a NAT table, or store mapping or mappings in the NAT table. The network node 15 and / or the processing circuitry 901 may be configured to store in the NAT table mapping of the source address / the first port to the IP address / the port indication, and further to the time stamp. The time stamp may comprise a start time and / or an end time.

[0170] The network node 15 and / or the processing circuitry 901 may be configured to add the IP address and / or the port indication to the data packet.

[0171] The network node 15 and / or the processing circuitry 901 may be configured to transmit the data packet towards its destination such as the AF.

[0172] The network node 15 and / or the processing circuitry 901 may be configured to receive from the second network node 17 or from another network node such as the destination network node 20, the request message or the related data packet comprising the IP address. The related data packet, or the request message, may further comprise the port indication and the observed time indication (observed time herein meaning for example, time receiving the first data packet).

[0173] The network node 15 and / or the processing circuitry 901 may be configured to use the stored mapping or mappings to retrieve the original source address mapped to the indicated IP address and / or port indication, and time stamp.

[0174] The network node 15 and / or the processing circuitry 901 may be configured to identify UE and / or PDU session based on IP address, and / or port indication, and time stamp. The network node 15 and / or the processing circuitry 901 may be configured to identify a source address, and / or a first port number based on the IP address, and / or the port indication, and an observed time indication of a request message or a related data packet.

[0175] The network node 15 and / or the processing circuitry 901 may be configured to transmit the related data packet to the UE 10 based on the source address / the first port mapped to the IP address / the port indication, and further to the time stamp, or to send one or more indications to the second network node 17, of the source address / the first port mapped to the IP address / the port indication, and further to the time stamp

[0176] The network node 15 may comprise a memory 903. The memory 903 comprises one or more units to be used to store data on, such as indications, NAT table, NAT bindings, time stamps, capabilities, indications, services, IDs, messages, thresholds, events and applications to perform the methods disclosed herein when being executed, and similar. Furthermore, the network node 15 may comprise a communication interface 904 such as comprising a transmitter, a receiver, a transceiver and / or one or more antennas. The methods according to the embodiments described herein for the network node 15 are respectively implemented by means of e.g. a computer program product 905 or a computer program, comprising instructions, i.e., software code portions, which, when executed on at least one processor, cause the at least one processor to carry out the actions described herein, as performed by the network node 15. The computer program product 905 may be stored on a computer-readable storage medium 906, e.g., a disc, a universal serial bus (USB) stick or similar. The computer-readable storage medium 906, having stored thereon the computer program product, may comprise the instructions which, when executed on at least one processor, cause the at least one processor to carry out the actions described herein, as performed by network node 15. In some embodiments, the computer-readable storage medium may be a transitory or a non-transitory computer-readable storage medium. Thus, embodiments herein may disclose the network node 15 for handling communication in a communication network, wherein the network node 15 comprises processing circuitry and a memory, said memory comprising instructions executable by said processing circuitry whereby said network node 15 is operative to perform any of the methods herein.

[0177] Fig. 9b shows a block diagram depicting the second network node 17 for handling one or more data packets in the communication network 1, for example, handling data packets of a service in the communication network 1 according to embodiments herein.

[0178] The second network node 17 may comprise processing circuitry 911, e.g. one or more processors, configured to perform the methods herein.

[0179] The second network node 17 and / or the processing circuitry 911 is configured to transmit the request to convert the IP address and / or port indication to the source address, and / or a first port number for the observed time indication. Thus, the second network node 17 and / or the processing circuitry 911 is configured to transmit a request message to the network node 15 comprising the IP address and / or port indication, and the observed time indication indicating when a data packet was received at a destination network node.

[0180] The second network node 17 and / or the processing circuitry 911 may be configured to receive the related data packet from the destination network node 20 or another network node with the IP address and / or port indication of the received data packet. The related data packet further comprises the observed time indication.

[0181] The second network node 17 and / or the processing circuitry 911 may be configured to select the network node such as a target NAT node or CGNAT to contact, e.g., by using an IP Domain of the IP Address in the related data packet.

[0182] The second network node 17 and / or the processing circuitry 911 may be configured to receive the one or more indications from the network node 15, wherein the of the one or more indication indicates source address and / or the first port number (identified UE or PDU session) mapped to the IP address and / or the port indication, and the time stamp.

[0183] The second network node 17 and / or the processing circuitry 911 may be configured to use the source address and / or the first port number in a data packet.

[0184] The second network node 17 may comprise a memory 913. The memory 913 comprises one or more units to be used to store data on, such as monitoring data, response indication, mapping, IP addresses, capabilities, indications, services, IDs, messages, thresholds, events and applications to perform the methods disclosed herein when being executed, and similar. Furthermore, the second network node 17 may comprise a communication interface 914 such as comprising a transmitter, a receiver, a transceiver and / or one or more antennas.

[0185] The methods according to the embodiments described herein for the second network node 17 are respectively implemented by means of e.g. a computer program product 915 or a computer program, comprising instructions, i.e., software code portions, which, when executed on at least one processor, cause the at least one processor to carry out the actions described herein, as performed by the second network node 17. The computer program product 915 may be stored on a computer-readable storage medium 916, e.g., a disc, a universal serial bus (USB) stick or similar. The computer-readable storage medium 916, having stored thereon the computer program product, may comprise the instructions which, when executed on at least one processor, cause the at least one processor to carry out the actions described herein, as performed by the second network node 17. In some embodiments, the computer-readable storage medium may be a transitory or a non-transitory computer-readable storage medium. Thus, embodiments herein may disclose the second network node 17 for handling communication in a communication network, wherein the second network node 17 comprises processing circuitry and a memory, said memory comprising instructions executable by said processing circuitry whereby said second network node 17 is operative to perform any of the methods herein.

[0186] Fig. 9c shows a block diagram depicting the destination network node 20 for handling one or more data packets or a service in the communication network 1 according to embodiments herein.

[0187] The destination network node 20 may comprise processing circuitry 921, e.g. one or more processors, configured to perform the methods herein.

[0188] The destination network node 20 and / or the processing circuitry 921 is configured to transmit the related data packet towards the network node 15 or another network node using the IP address and / or port indication of the received data packet. The related data packet further comprises the observed time indication indicating when the data packet was received at the destination network node.

[0189] The destination network node 20 and / or the processing circuitry 921 may be configured to receive from the network node 15 the data packet comprising the IP address and / or port indication. The destination network node 20 and / or the processing circuitry 921 may be configured to add or register the observed time indication indicating when the data packet was received at the destination network node 20.

[0190] The destination network node 20 and / or the processing circuitry 921 may be configured to determine or detect the reason to respond back to the network node 15. The destination network node 20 may detect quality is too low and may initiate a quality of service (QoS) upgrade.

[0191] The destination network node 20 may comprise a memory 923. The memory 923 comprises one or more units to be used to store data on, such as monitoring data, response indication, mapping, IP addresses, capabilities, indications, services, IDs, messages, thresholds, events and applications to perform the methods disclosed herein when being executed, and similar. Furthermore, the destination network node 20 may comprise a communication interface 924 such as comprising a transmitter, a receiver, a transceiver and / or one or more antennas.

[0192] The methods according to the embodiments described herein for the destination network node 20 are respectively implemented by means of e.g. a computer program product 925 or a computer program, comprising instructions, i.e., software code portions, which, when executed on at least one processor, cause the at least one processor to carry out the actions described herein, as performed by the destination network node 20. The computer program product 925 may be stored on a computer-readable storage medium 926, e.g., a disc, a universal serial bus (USB) stick or similar. The computer-readable storage medium 926, having stored thereon the computer program product, may comprise the instructions which, when executed on at least one processor, cause the at least one processor to carry out the actions described herein, as performed by the destination network node 20. In some embodiments, the computer-readable storage medium may be a transitory or a non-transitory computer-readable storage medium. Thus, embodiments herein may disclose the destination network node 20 for handling communication in a communication network, wherein the destination network node 20 comprises processing circuitry and a memory, said memory comprising instructions executable by said processing circuitry whereby said destination network node 20 is operative to perform any of the methods herein.

[0193] In some embodiments a more general term “network node” is used and it can correspond to any type of radio-network node or any network node, which communicates with a UE and / or with another network node.

[0194] In some embodiments the non-limiting term wireless device or user equipment (UE) is used and it refers to any type of wireless device communicating .with a network node and / or with another wireless device in a cellular or mobile communication system. Examples of UE are target device, device to device (D2D) UE, proximity capable UE (aka ProSe UE), loT capable device, machine type UE or UE capable of machine to machine (M2M) communication, Tablet, mobile terminals, smart phone, laptop embedded equipped (LEE), laptop mounted equipment (LME), USB dongles etc.

[0195] Embodiments are applicable to any RAT or multi-RAT systems, where the wireless device receives and / or transmit signals (e.g. data) e.g. NR, Wi-Fi, LTE, LTE-Advanced, Wideband Code Division Multiple Access (WCDMA), Global System for Mobile communications / enhanced Data rate for GSM Evolution (GSM / EDGE), Worldwide Interoperability for Microwave Access (WiMax), or Ultra Mobile Broadband (UMB), just to mention a few possible implementations.

[0196] As will be readily understood by those familiar with communications design, that functions means or circuits may be implemented using digital logic and / or one or more microcontrollers, microprocessors, or other digital hardware. In some embodiments, several or all of the various functions may be implemented together, such as in a single application-specific integrated circuit (ASIC), or in two or more separate devices with appropriate hardware and / or software interfaces between them. Several of the functions may be implemented on a processor shared with other functional components of a wireless device or network node, for example.

[0197] Alternatively, several of the functional elements of the processing means discussed may be provided through the use of dedicated hardware, while others are provided with hardware for executing software, in association with the appropriate software or firmware. Thus, the term “processor'’ or “controller” as used herein does not exclusively refer to hardware capable of executing software and may implicitly include, without limitation, digital signal processor (DSP) hardware and / or program or application data. Other hardware, conventional and / or custom, may also be included. Designers of communications devices will appreciate the cost, performance, and maintenance trade-offs inherent in these design choices.

[0198] Any appropriate steps, methods, features, functions, or benefits disclosed herein may be performed through one or more functional units or modules of one or more virtual apparatuses. Each virtual apparatus may comprise a number of these functional units. These functional units may be implemented via processing circuitry, which may include one or more microprocessor or microcontrollers, as well as other digital hardware, which may include digital signal processors (DSPs), special-purpose digital logic, and the like. The processing circuitry may be configured to execute program code stored in memory, which may include one or several types of memory such as read-only memory (ROM), random-access memory (RAM), cache memory, flash memory devices, optical storage devices, etc. Program code stored in memory includes program instructions for executing one or more telecommunications and / or data communications protocols as well as instructions for carrying out one or more of the techniques described herein. In some implementations, the processing circuitry may be used to cause the respective functional unit to perform corresponding functions according one or more embodiments of the present disclosure. With reference to Fig. 10, in accordance with an embodiment, a communication system includes a telecommunication network 3210, such as a 3GPP-type cellular network, which comprises an access network 3211 , such as a radio access network, and a core network 3214. The access network 3211 comprises a plurality of base stations 3212a, 3212b, 3212c, such as NBs, eNBs, gNBs or other types of wireless access points being examples of the radio network node 12 herein, each defining a corresponding coverage area 3213a, 3213b, 3213c. Each base station 3212a, 3212b, 3212c is connectable to the core network 3214 over a wired or wireless connection 3215. A first user equipment (UE) 3291, being an example of the UE 10, located in coverage area 3213c is configured to wirelessly connect to, or be paged by, the corresponding base station 3212c. A second UE 3292 in coverage area 3213a is wirelessly connectable to the corresponding base station 3212a. While a plurality of UEs 3291 , 3292 are illustrated in this example, the disclosed embodiments are equally applicable to a situation where a sole UE is in the coverage area or where a sole UE is connecting to the corresponding base station 3212.

[0199] The telecommunication network 3210 is itself connected to a host computer 3230, which may be embodied in the hardware and / or software of a standalone server, a cloud-implemented server, a distributed server or as processing resources in a server farm. The host computer 3230 may be under the ownership or control of a service provider, or may be operated by the service provider or on behalf of the service provider. The connections 3221 , 3222 between the telecommunication network 3210 and the host computer 3230 may extend directly from the core network 3214 to the host computer 3230 or may go via an optional intermediate network 3220. The intermediate network 3220 may be one of, or a combination of more than one of, a public, private or hosted network; the intermediate network 3220, if any, may be a backbone network or the Internet; in particular, the intermediate network 3220 may comprise two or more sub-networks (not shown).

[0200] The communication system of Figure 10 as a whole enables connectivity between one of the connected UEs 3291, 3292 and the host computer 3230. The connectivity may be described as an over- the-top (OTT) connection 3250. The host computer 3230 and the connected UEs 3291, 3292 are configured to communicate data and / or signaling via the OTT connection 3250, using the access network 3211, the core network 3214, any intermediate network 3220 and possible further infrastructure (not shown) as intermediaries. The OTT connection 3250 may be transparent in the sense that the participating communication devices through which the OTT connection 3250 passes are unaware of routing of uplink and downlink communications. For example, a base station 3212 may not or need not be informed about the past routing of an incoming downlink communication with data originating from a host computer 3230 to be forwarded (e.g., handed over) to a connected UE 3291 . Similarly, the base station 3212 need not be aware of the future routing of an outgoing uplink communication originating from the UE 3291 towards the host computer 3230. In some embodiments, the telecommunication network 3210 includes one or more Open-RAN (ORAN) network nodes. An ORAN network node is a node in the telecommunication network 3210 that supports an ORAN specification (e.g., a specification published by the O-RAN Alliance, or any similar organization) and may operate alone or together with other nodes to implement one or more functionalities of any node in the telecommunication network 3210, including one or more network nodes and / or core network nodes.

[0201] Examples of an ORAN network node include an open radio unit (O-RU), an open distributed unit (O-DU), an open central unit (O-CU), including an O-CU control plane (O-CU-CP) or an O-CU user plane (O-CU-UP), a RAN intelligent controller (near-real time or non-real time) hosting software or software plugins, such as a near-real time control application (e.g., xApp) or a non-real time control application (e.g., rApp), or any combination thereof (the adjective “open” designating support of an ORAN specification). The network node may support a specification by, for example, supporting an interface defined by the ORAN specification, such as an A1, F1, W1 , E1 , E2, X2, Xn interface, an open fronthaul user plane interface, or an open fronthaul management plane interface. Moreover, an ORAN access node may be a logical node in a physical node. Furthermore, an ORAN network node may be implemented in a virtualization environment (described further below) in which one or more network functions are virtualized. For example, the virtualization environment may include an O-Cloud computing platform orchestrated by a Service Management and Orchestration Framework via an O-2 interface defined by the O-RAN Alliance or comparable technologies. The network nodes facilitate direct or indirect connection of user equipment (UE), such as by connecting UEs (one or more of which may be generally referred to as UEs 3291, 3292) to the core network over one or more wireless connections.

[0202] Example implementations, in accordance with an embodiment, of the UE, base station and host computer discussed in the preceding paragraphs will now be described with reference to Fig. 11. In a communication system 3300, a host computer 3310 comprises hardware 3315 including a communication interface 3316 configured to set up and maintain a wired or wireless connection with an interface of a different communication device of the communication system 3300. The host computer 3310 further comprises processing circuitry 3318, which may have storage and / or processing capabilities. In particular, the processing circuitry 3318 may comprise one or more programmable processors, application-specific integrated circuits, field programmable gate arrays or combinations of these (not shown) adapted to execute instructions. The host computer 3310 further comprises software 3311, which is stored in or accessible by the host computer 3310 and executable by the processing circuitry 3318. The software 3311 includes a host application 3312. The host application 3312 may be operable to provide a service to a remote user, such as a UE 3330 connecting via an OTT connection 3350 terminating at the UE 3330 and the host computer 3310. In providing the service to the remote user, the host application 3312 may provide user data which is transmitted using the OTT connection 3350. The communication system 3300 further includes a base station 3320 provided in a telecommunication system and comprising hardware 3325 enabling it to communicate with the host computer 3310 and with the UE 3330. The hardware 3325 may include a communication interface 3326 for setting up and maintaining a wired or wireless connection with an interface of a different communication device of the communication system 3300, as well as a radio interface 3327 for setting up and maintaining at least a wireless connection 3370 with a UE 3330 located in a coverage area (not shown in Fig.11) served by the base station 3320. The communication interface 3326 may be configured to facilitate a connection 3360 to the host computer 3310. The connection 3360 may be direct or it may pass through a core network (not shown in Fig.11) of the telecommunication system and / or through one or more intermediate networks outside the telecommunication system. In the embodiment shown, the hardware 3325 of the base station 3320 further includes processing circuitry 3328, which may comprise one or more programmable processors, application-specific integrated circuits, field programmable gate arrays or combinations of these (not shown) adapted to execute instructions. The base station 3320 further has software 3321 stored internally or accessible via an external connection.

[0203] The communication system 3300 further includes the UE 3330 already referred to. Its hardware 3335 may include a radio interface 3337 configured to set up and maintain a wireless connection 3370 with a base station serving a coverage area in which the UE 3330 is currently located. The hardware 3335 of the UE 3330 further includes processing circuitry 3338, which may comprise one or more programmable processors, application-specific integrated circuits, field programmable gate arrays or combinations of these (not shown) adapted to execute instructions. The UE 3330 further comprises software 3331, which is stored in or accessible by the UE 3330 and executable by the processing circuitry 3338. The software

[0204] 3331 includes a client application 3332. The client application 3332 may be operable to provide a service to a human or non-human user via the UE 3330, with the support of the host computer 3310. In the host computer 3310, an executing host application 3312 may communicate with the executing client application

[0205] 3332 via the OTT connection 3350 terminating at the UE 3330 and the host computer 3310. In providing the service to the user, the client application 3332 may receive request data from the host application 3312 and provide user data in response to the request data. The OTT connection 3350 may transfer both the request data and the user data. The client application 3332 may interact with the user to generate the user data that it provides.

[0206] It is noted that the host computer 3310, base station 3320 and UE 3330 illustrated in Fig. 11 may be identical to the host computer 3230, one of the base stations 3212a, 3212b, 3212c and one of the UEs 3291 , 3292 of Fig. 10, respectively. This is to say, the inner workings of these entities may be as shown in Fig. 11 and independently, the surrounding network topology may be that of Fig. 10.

[0207] In Fig. 11 , the OTT connection 3350 has been drawn abstractly to illustrate the communication between the host computer 3310 and the user equipment 3330 via the base station 3320, without explicit reference to any intermediary devices and the precise routing of messages via these devices. Network infrastructure may determine the routing, which it may be configured to hide from the UE 3330 or from the service provider operating the host computer 3310, or both. While the OTT connection 3350 is active, the network infrastructure may further take decisions by which it dynamically changes the routing (e.g., on the basis of load balancing consideration or reconfiguration of the network).

[0208] The wireless connection 3370 between the UE 3330 and the base station 3320 is in accordance with the teachings of the embodiments described throughout this disclosure. One or more of the various embodiments improve the performance of OTT services provided to the UE 3330 using the OTT connection 3350, in which the wireless connection 3370 forms the last segment. More precisely, the teachings of these embodiments may improve the performance since packets related to UE or PDU sessions may be handled more efficiently and thereby provide benefits such as reduced user waiting time, and better responsiveness.

[0209] A measurement procedure may be provided for the purpose of monitoring data rate, latency and other factors on which the one or more embodiments improve. There may further be an optional network functionality for reconfiguring the OTT connection 3350 between the host computer 3310 and UE 3330, in response to variations in the measurement results. The measurement procedure and / or the network functionality for reconfiguring the OTT connection 3350 may be implemented in the software 3311 of the host computer 3310 or in the software 3331 of the UE 3330, or both. In embodiments, sensors (not shown) may be deployed in or in association with communication devices through which the OTT connection 3350 passes; the sensors may participate in the measurement procedure by supplying values of the monitored quantities exemplified above, or supplying values of other physical quantities from which software 3311 , 3331 may compute or estimate the monitored quantities. The reconfiguring of the OTT connection 3350 may include message format, retransmission settings, preferred routing etc.; the reconfiguring need not affect the base station 3320, and it may be unknown or imperceptible to the base station 3320. Such procedures and functionalities may be known and practiced in the art. In certain embodiments, measurements may involve proprietary UE signaling facilitating the host computer’s 3310 measurements of throughput, propagation times, latency and the like. The measurements may be implemented in that the software 3311, 3331 causes messages to be transmitted, in particular empty or ‘dummy’ messages, using the OTT connection 3350 while it monitors propagation times, errors etc.

[0210] Fig. 12 is a flowchart illustrating a method implemented in a communication system, in accordance with one embodiment. The communication system includes a host computer, a base station and a UE which may be those described with reference to Figures 10 and 11 . For simplicity of the present disclosure, only drawing references to Figure 12 will be included in this section. In a first step 3410 of the method, the host computer provides user data. In an optional substep 3411 of the first step 3410, the host computer provides the user data by executing a host application. In a second step 3420, the host computer initiates a transmission carrying the user data to the UE. In an optional third step 3430, the base station transmits to the UE the user data which was carried in the transmission that the host computer initiated, in accordance with the teachings of the embodiments described throughout this disclosure. In an optional fourth step 3440, the UE executes a client application associated with the host application executed by the host computer.

[0211] Fig. 13 is a flowchart illustrating a method implemented in a communication system, in accordance with one embodiment. The communication system includes a host computer, a base station and a UE which may be those described with reference to Figures 10 and 11 . For simplicity of the present disclosure, only drawing references to Figure 13 will be included in this section. In a first step 3510 of the method, the host computer provides user data. In an optional substep (not shown) the host computer provides the user data by executing a host application. In a second step 3520, the host computer initiates a transmission carrying the user data to the UE. The transmission may pass via the base station, in accordance with the teachings of the embodiments described throughout this disclosure. In an optional third step 3530, the UE receives the user data carried in the transmission.

[0212] Fig. 14 is a flowchart illustrating a method implemented in a communication system, in accordance with one embodiment. The communication system includes a host computer, a base station and a UE which may be those described with reference to Figures 10 and 11 . For simplicity of the present disclosure, only drawing references to Figure 14 will be included in this section. In an optional first step 3610 of the method, the UE receives input data provided by the host computer. Additionally or alternatively, in an optional second step 3620, the UE provides user data. In an optional substep 3621 of the second step 3620, the UE provides the user data by executing a client application. In a further optional substep 3611 of the first step 3610, the UE executes a client application which provides the user data in reaction to the received input data provided by the host computer. In providing the user data, the executed client application may further consider user input received from the user. Regardless of the specific manner in which the user data was provided, the UE initiates, in an optional third substep 3630, transmission of the user data to the host computer. In a fourth step 3640 of the method, the host computer receives the user data transmitted from the UE, in accordance with the teachings of the embodiments described throughout this disclosure.

[0213] Fig. 15 is a flowchart illustrating a method implemented in a communication system, in accordance with one embodiment. The communication system includes a host computer, a base station and a UE which may be those described with reference to Figures 10 and 11 . For simplicity of the present disclosure, only drawing references to Figure 15 will be included in this section. In an optional first step 3710 of the method, in accordance with the teachings of the embodiments described throughout this disclosure, the base station receives user data from the UE. In an optional second step 3720, the base station initiates transmission of the received user data to the host computer. In a third step 3730, the host computer receives the user data carried in the transmission initiated by the base station.

[0214] Modifications and other embodiments of the disclosed embodiments will come to mind to one skilled in the art having the benefit of the teachings presented in the foregoing descriptions and the associated drawings. Therefore, it is to be understood that the embodiment(s) is / are not to be limited to the specific embodiments disclosed and that modifications and other embodiments are intended to be included within the scope of this disclosure. Although specific terms may be employed herein, they are used in a generic and descriptive sense only and not for purposes of limitation.

[0215] EMBODIMENTS

[0216] Embodiment A1 :

[0217] A method performed by a network node (15), such as a Network Address Translation (NAT) node, for handling data packets in a communication network 1, the method comprising: mapping (603) a time stamp to an IP address and / or a port indication of a data packet for identifying a NAT binding of a User Equipment (UE) or a PDU session.

[0218] Embodiment A2:

[0219] The method according to embodiment A1 , further comprising: mapping (602) a source address, and / or a first port of the data packet to the IP address and / or the port indication forming the NAT binding.

[0220] Embodiment A3:

[0221] The method according to any of the embodiments A1-A2, further comprising: storing (604) the NAT binding with the time stamp in a NAT table.

[0222] Embodiment A4:

[0223] The method according to any of the embodiments A1-A3, further comprising: adding (605) the IP address and / or the port indication to the data packet.

[0224] Embodiment A5:

[0225] The method according to any of the embodiments A1-A4, further comprising: receiving (607) from a second network node (17) or from another network node such as an Application Function (AF), a request message or a related data packet comprising the IP address, and / or the port indication, and an observed time.

[0226] Embodiment A6:

[0227] The method according to any of the embodiments A1-A5, further comprising: identifying the UE and / or PDU session based on IP address, and / or port indication, and an observed time being related to the time stamp.

[0228] Embodiment A7:

[0229] The method according to any of the embodiments A1-A6, further comprising: identifying a source address, and / or a first port number based on the IP address, and / or the port indication, and an observed time indication of a request message or a related data packet. Embodiment A8:

[0230] The method according to any of the embodiments A1-A7, further comprising: transmitting a related data packet to the UE 10 based on the source address / the first port mapped to the IP address / the port indication, and further to the time stamp, or sending one or more indications to a second network node (NEF) (17), of the source address / the first port mapped to the IP address / the port indication, and to the time stamp.

[0231] Embodiment B1 :

[0232] A method performed by a destination network node for handling one or more data packets or a service in a communication network, the method comprising transmitting a related data packet towards a network node or another network node using the IP address and / or port indication of the received data packet, wherein the related data packet further comprises an observed time indication indicating when the data packet was received at the destination network node.

[0233] Embodiment C1 :

[0234] A method performed by a second network node for handling one or more data packets or a service is a communication network, the method comprising transmitting a request message, to a network node, to convert an IP address and / or port indication to an source address, and / or a first port number, during or, for an observed time indication indicating when a data packet was received at a destination network node.

[0235] Embodiment D1 :

[0236] A network node (15), such as a NAT node, for handling data packets in a communication network 1 , wherein the network node is configured to: map a time stamp to an IP address and / or a port indication of a data packet for identifying a NAT binding of a UE or a PDU session.

[0237] Embodiment D2:

[0238] The network node (15) according to embodiment D1 , wherein the network node is configured to perform the method according to any of the embodiments A2-A8.

[0239] Embodiment E1 :

[0240] A destination network node for handling one or more data packets or a service in a communication network, wherein the destination network node is configured to transmit a related data packet towards a network node or another network node using the IP address and / or port indication of the received data packet, wherein the related data packet further comprises an observed time indication indicating when the data packet was received at the destination network node.

[0241] Embodiment E2:

[0242] The destination network node according to embodiment E1 , wherein the destination network node comprises an application function node.

[0243] Embodiment F1 :

[0244] A second network node for handling one or more data packets or a service is a communication network, wherein the second network node is configured to transmit a request message, to a network node, to convert an IP address and / or port indication to an source address, and / or a first port number, during or, for an observed time indication indicating when a data packet was received at a destination network node.

[0245] Embodiment F2:

[0246] The second network node according to embodiment F1, wherein the second network node comprises a core network node such as a NEF.

Claims

CLAIMS1 . A method performed by a network node (15) for handling one or more data packets in a communication network (1), the method comprising: mapping (603) a time stamp to an IP address and / or a port indication of a data packet for identifying a Network Address Translation, NAT, binding of a User Equipment, UE (10) or a protocol data unit, PDU, session.

2. The method according to claim 1, further comprising: mapping (602) a source address, and / or a first port of the data packet to the IP address and / or the port indication forming the NAT binding.

3. The method according to any of the claims 1-2, further comprising: storing (604) the NAT binding with the time stamp in a NAT table.

4. The method according to any of the claims 1-3, further comprising: adding (605) the IP address and / or the port indication to the data packet.

5. The method according to any of the claims 1-4, further comprising: receiving (607) from a second network node (17) or from another network node, a request message or a related data packet, comprising the IP address, and / or the port indication, and an observed time indication.

6. The method according to any of the claims 1-5, further comprising: identifying (609) the UE (10) and / or PDU session based on IP address, and / or port indication, and an observed time being related to the time stamp.

7. The method according to any of the claims 1-6, further comprising: identifying (609) a source address, and / or a first port number based on the IP address, and / or the port indication, and an observed time indication of a request message or a related data packet.

8. The method according to any of the claims 1-7, further comprising: transmitting (610) a related data packet to the UE (10) based on a source address and / or a first port mapped to the IP address and / or the port indication, and further to the time stamp, orsending (610) one or more indications to a second network node (17), of the source address and / or the first port mapped to the IP address / the port indication, and to the time stamp.

9. A method performed by a destination network node (20) for handling one or more data packets in a communication network (1), the method comprising transmiting (614) a related data packet towards a network node or another network node using an IP address and / or a port indication of a received data packet, wherein the related data packet further comprises an observed time indication indicating when the data packet was received at the destination network node.

10. The method according to claim 9, further comprising receiving (611) from the network node 15 the data packet comprising the IP address and / or port indication and registering (612) the observed time indication indicating when the data packet was received at the destination network node (20).

11. The method according to any of the claims 9-10, further comprising determining (613) a reason to respond back to the network node (15).

12. A method performed by a second network node for handling one or more data packets in a communication network (1), the method comprising transmiting (623) a request message, to a network node (15), to convert an IP address and / or a port indication to a source address, and / or a first port number, for an observed time indication indicating when a data packet was received at a destination network node.

13. The method according to claim 12, further comprising receiving (621) a related data packet from a destination network node (20) or another network node with the IP address and / or the port indication of the data packet, wherein the related data packet further comprises the observed time indication.

14. The method according to claim 13, further comprisingselecting (622) the network node to contact by using an IP Domain of the IP Address in the related data packet.

15. The method according to any of the claims 12-14, further comprising receiving (624) one or more indications from the network node (15), wherein the of the one or more indication indicates the source address and / or the first port number mapped to the IP address and / or the port indication, and a time stamp associated with the observed time indication.

16. The method according to any of the claims 12-15, further comprising using (625) the source address and / or the first port number in a data packet.

17. A network node (15) for handling one or more data packets in a communication network (1), wherein the network node is configured to: map time stamp to an IP address and / or a port indication of a data packet for identifying a Network Address Translation, NAT, binding of a User Equipment, UE, or a protocol data unit, PDU, session.

18. The network node (15) according to claim 17, wherein the network node is further configured to: map a source address, and / or a first port of the data packet to the IP address and / or the port indication forming the NAT binding.

19. The network node (15) according to any of the claims 17-18, wherein the network node is configured to: store the NAT binding with the time stamp in a NAT table.

20. The network node (15) according to any of the claims 17-19, wherein the network node is configured to: add the IP address and / or the port indication to the data packet.

21. The network node (15) according to any of the claims 17-20, wherein the network node is configured to: receive from a second network node (17) or from another network node, a request message or a related data packet, comprising the IP address, and / or the port indication, and an observed time indication.

22. The network node (15) according to any of the claims 17-21, wherein the network node is configured to: identify the UE and / or PDU session based on IP address, and / or port indication, and an observed time being related to the time stamp.

23. The network node (15) according to any of the claims 17-22, wherein the network node is configured to: identify a source address, and / or a first port number based on the IP address, and / or the port indication, and an observed time indication of a request message or a related data packet.

24. The network node (15) according to any of the claims 17-23, wherein the network node is configured to: transmit a related data packet to the UE (10) based on a source address and / or a first port mapped to the IP address and / or the port indication, and further to the time stamp, or send one or more indications to a second network node (17), of the source address and / or the first port mapped to the IP address and / or the port indication, and to the time stamp.

25. A destination network node (20) for handling one or more data packets in a communication network (10), wherein the destination network node is configured to: transmit a related data packet towards a network node (15) or another network node using an IP address and / or a port indication of a received data packet, wherein the related data packet further comprises an observed time indication indicating when the data packet was received at the destination network node (20).

26. The destination network node (20) according to claim 25, wherein the destination network node (20) is configured to: receive from the network node (15) the data packet comprising the IP address and / or port indication; and register the observed time indication indicating when the data packet was received at the destination network node (20).

27. The destination network node (20) according to any of the claims 25-26, wherein the destination network node is configured to: determine a reason to respond back to the network node (15).

28. A second network node (17) for handling one or more data packets in a communication network (1), wherein the second network node (17) is configured to transmit a request message, to a network node (15), to convert an IP address and / or a port indication to a source address, and / or a first port number, for an observed time indication indicating when a data packet was received at a destination network node.

29. The second network node (17) according to claim 28, wherein the second network node (17) is configured to: receive a related data packet from a destination network node (20) or another network node with the IP address and / or the port indication of the data packet, wherein the related data packet further comprises the observed time indication.

30. The second network node (17) according to claim 29, wherein the second network node is configured to: select the network node to contact by using an IP Domain of the IP Address in the related data packet.

31. The second network node (17) according to any of the claims 29-30, wherein the second network node (17) is configured to: receive one or more indications from the network node (15), wherein the of the one or more indication indicates the source address and / or the first port number mapped to the IP address and / or the port indication, and a time stamp associated with the observed time indication.

32. The second network node (17) according to any of the claims 29-31, wherein the second network node (17) is configured to: use the source address and / or the first port number in a data packet.

33. A computer program product comprising instructions, which, when executed on at least one processor, cause the at least one processor to carry out the method according to any of the claims 1-16, as performed by the network node, the destination network node, and the second network node, respectively.

34. A computer-readable storage medium, having stored thereon a computer program product comprising instructions which, when executed on at least one processor, cause the at least one processor to carry out the method according to any of the claims 1-16, as performed by the network node, the destination network node, and the second network node, respectively.

Citation Information

Patent Citations

  • Method, apparatus and system for botnet host detection

    EP2403187A1

  • Subscriber-aware network address translation

    US10469446B1

Cited By

  • Method for identifying terminal equipment in NATed network based on TCP timestamp sequence clustering

    CN119996266A