Privacy of Relay Selection in Sliced Cellular Networks
Patent Information
- Application Number
- JP2023512418
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-08-18
- Filing Date
- 2021-08-23
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2041-08-23
AI Technical Summary
In cellular networks, the selection of relay UEs for out-of-coverage devices in network slices raises privacy concerns due to the exposure of sensitive information such as network slice and DNN identifiers, and existing solutions are inefficient and insecure, particularly for resource-constrained devices and dynamic network environments.
A mechanism involving encrypted relay service codes managed by a network relay function (NRF) ensures that only the intended mobile device can decrypt the relay service code, maintaining privacy by preventing tracking and reducing the need to update all UEs with new codes, even when out of coverage.
This approach enhances privacy by securing relay selection and connection setup, ensuring only the intended device can access sensitive information, while maintaining efficient and secure relay connections even in dynamic network conditions.
Abstract
Description
[Technical Field]
[0001] The present invention relates to the field of well-known cellular wireless communication systems (CCS), such as LTE, 4G, or 5G networks. The cellular wireless communication system includes a core network (CN) and a radio access network (RAN) including multiple cellular base stations (BS). The cellular communication system may provide a cellular network that supports network slicing and indirect connectivity, where mobile devices can be connected to the core network via base stations. Access to the network is managed by a so-called provider or mobile network operator (MNO). Network slicing provides a logical network using the shared physical infrastructure of the cellular communication system. Indirect connectivity provides data transfer between mobile devices and the cellular communication system via at least one relay device. [Background technology]
[0002] Mobile devices that communicate using cellular wireless communication standards are continuously subject to further development, for example, in accordance with the 3GPP® 5G specifications. Wireless devices can be of various types, such as mobile phones, vehicles for vehicle-to-vehicle (V2V) or the more common vehicle-to-everything (V2X) communications, Internet of Things (IoT) devices, medical (emergency) diagnostic and treatment devices, virtual reality (VR) headsets, etc. Because the characteristics of such mobile devices vary significantly, for example, with respect to low-power operation, maximum allowed latency, required bandwidth and mobility, 5G system and radio access network specifications define the concept of network slicing (see [23.501], [38.300], [Elayoubi]).
[0003] A network slice can be thought of as an isolated "virtual 5G network" running on a common shared hardware / software platform; components of the platform can be shared among multiple slices, but each slice operates independently. Each slice can provide performance, service levels, policies, and features optimally tailored to a specific use case or application domain. Slices can also be operated as a service by a network operator different from the one that owns the hardware / software platform. Slicing can be performed in the core network (CN), the radio access network (RAN), or both.
[0004] A mobile device, commonly referred to as user equipment (UE), can belong to multiple slices simultaneously. A UE can establish multiple protocol data unit (PDU) sessions with a CN, with each session operating in a specific slice. A detailed description of network slicing can be found in [PavelShulgin]. UE also encompasses the case where the UE is a fixed device. User equipment can be any device used directly by an end user. This includes non-fixed and fixed devices. Another characteristic of a UE is that it typically communicates with a base station using the 3GPP Uu interface, typically has its own mobile contract and its own SIM card, and can be identified by an IMSI.
[0005] An example of a request for a session to operate within a slice is described in [EventHelix]. Figure 1 shows an excerpt from a diagram showing a user equipment (UE) requesting a slice. The UE sends the requested Network Slice Selection Assistance Information (NSSAI) in the 21:RRCSetupComplete message, and the base station (gNB) forwards this information in the 24:NGAP Initial UE message sent by the base station. The term 5GC is used to refer to the 5G core network.
[0006] The 3GPP specifications for 4G define the Proximity Services (ProSe) function (see [23.303] and [24.334]) to enable connectivity for cellular user equipment (UE) that is temporarily out of the coverage of a cellular network base station (eNB). This specific function is called ProSe UE-to-network relay, or relay UE for short. A relay UE is a UE that helps another out-of-coverage (OoC) UE communicate with an eNB by relaying application and network traffic bidirectionally between the OoC UE and the eNB. Local communication between a relay UE and an OoC UE is called device-to-device (D2D) communication or sidelink (also known as PC5) communication (see [23.303] and [24.334]). Once the relay relationship is established, the OoC UE returns to coverage via the relay UE, acting as the "remote UE." This situation means that the remote UE has an indirect connection to the 4G core network, as opposed to a direct network connection, which is the usual case.
[0007] In this document, the terms "eNB" (4G terminology) and "gNB" (5G terminology) refer to cellular base stations. eNB / gNB is part of the radio access network RAN, which interfaces with the core network CN functions. "OoC" is out-of-coverage. "Indirect connection" is the same as "indirect network connection" as defined in [22.261]. Slice-specific 5G terms such as NSSAI, S-NSSAI, and NSSF are defined in [23.501]. "D2D" is device-to-device communication, and "PC5" is the interface for sidelink communication, as defined in ProSe [23.303], eProSe [36.746], or V2X [23.287].
[0008] Various legacy solutions involving relaying related to 3GPP® work are known in the art (each number below is a separate topic).
[0009] US20180092017A1, US9826460, US10212651B2, and US20160212721A1 describe selecting one relay from multiple candidate relays based on signal strength or advertised group ID.
[0010] US10177834B2 describes that an eNB broadcasts bandwidth requirements for relays within its cell, which relay-enabled devices automatically use to decide to become a relay if the device meets the requirements.
[0011] US20160227518A1 describes that the eNB determines that the UE is OoC and needs to send some information to the UE (via a relay) to help the UE reconnect.
[0012] US20160227518A1 describes a relay-enabled UE that decides to become a relay only if it has sufficient connectivity, battery life, or an appropriate service type / context.
[0013] US9445352B2 describes that an OoC UE needs a relay, so it sends a D2D message to nearby devices to request someone to become a relay, and one or more UEs become relays.
[0014] WO2018083381A1 describes that an OoC UE requests configuration information required to reconnect to the network via a relay from a peer UE via a sidelink / D2D.
[0015] US20180035448A1 describes that the eNB transmits sidelink scheduling grant information containing specific scheduling for the OoC UEs, which is received by the in-coverage UEs and retransmitted by these UEs to the OoC UEs.
[0016] US9565573B2 describes that an in-coverage UE may transmit a D2D signal to which the OoC UE may respond with an indication that coverage is required. The in-coverage UE then transmits the received indication to the network. Optionally, the network can use this indication to instruct the in-coverage UE to become a relay.
[0017] It is possible to define a mechanism for selecting the most suitable relay UE for the particular network slice that a remote UE wants to use to connect (via a relay UE) to the cellular core network.
[0018] The present invention relates to privacy aspects of relay discovery and selection of relay UEs (especially for out-of-coverage UEs) in sliced cellular networks. In the ProSe framework, so-called relay service codes are utilized for relay UE discovery (see [23.303] and [24.334]). Relay service codes can be used by remote UEs during relay UE discovery. For example, using the so-called "Model A" discovery mechanism, a relay UE can broadcast information about the specific relay service code set it supports. Each relay service code may correspond to a set of PDU session attributes, and a remote UE can use the discovered relay UEs and the relay service codes they broadcast to find relay UEs that match one or more relay service codes known to the remote UE to match a set of PDU session parameters. Thus, the remote UE can use this to select the most suitable relay UE to use as a relay for the PDU session it wants to launch from among multiple possible relay UEs. Similarly, using the so-called "Model B" discovery mechanism, a remote UE may request as part of its discovery request a set of specific relay service codes that the relay UE will use to match and respond if it supports one or more of the requested relay service codes.It is worth noting that open discovery and connection request messages over PC5 are not encrypted, and therefore other devices in the vicinity can monitor and intercept these messages.
[0019] When UE-based relaying is performed at Layer 3 (i.e., the IP layer), the relay UE must receive information about how to launch a PDU session on behalf of the remote UE at some point before it can initiate an indirect connection between the remote UE and the cellular network via the relay UE. This leads to privacy issues because the PDU session information includes information such as the specific network slice and DNN (Data Network Name) to which the remote UE wants to connect. This could reveal that the remote UE is, for example, a law enforcement officer connecting to a DNN reserved for a specific police station or a slice dedicated to police communications. The relay UE is typically authorized by the network to function as a relay device and may have to go through several screening processes. However, this does not mean that the relay UE can track the remote UE even after it has disconnected by simply tracking all this sensitive privacy information and the relay service code that the remote UE may use to subsequently discover and / or connect to another relay UE. Nor does it enable the relay UE to track other nearby remote UEs that use the same relay service code. A possible mitigation would be to make the relay service code valid for a very short period (e.g., changing it every few minutes). However, updating all potential remote and relay UEs with this new relay service code would result in a large amount of traffic. Updating this information requires each UE to be awake and within the coverage of a gNB operated by the core network. This can be very difficult to achieve, given that many UEs may be asleep or out of coverage. In particular, remote UEs are typically out of coverage and would otherwise not require a relay to access the network. Therefore, such a mechanism is highly inefficient. Summary of the Invention
[0020] Next-generation cellular communication networks, such as 5G, will need to incorporate ProSe relaying or similar technologies for UE-based relaying. However, the use of network slicing introduced by 5G brings new requirements and new challenges when UE-based relaying needs to be considered: A UE needs to be able to connect to one or more mandatory and / or preferred 5G network slice instances via a relay UE, and therefore needs to know which nearby relay UEs can and cannot do so. There may be multiple candidate relay UEs within the radio range of the UE, but relay UEs may move out of range and new relay UEs may come within range. The network slice instance required and / or preferred by the UE may differ from the slice to which the best relay UE candidate is currently connected. The UE may be OoC at the time the selection has to be made. Relay UEs may be resource-constrained devices and therefore may not be able to provide the expected / required QoS for a particular network slice. A relay UE may have one or more PDU connections of its own (i.e., typically UEs owned by others wanting to access the Internet, for example) and may have very limited resources left to support indirect network communication for other UEs. The network slice required or preferred by the UE may use a different frequency band than the one currently used by the relay UE candidate. A UE may participate in more than one network slice, and each slice may have its own requirements in terms of what constitutes the best relay and the corresponding best network path for indirect connectivity. Therefore, two (or more) relay UEs may need to be selected as the best solution to perform relaying. Candidate relay UEs are typically unknown a priori and untrusted by the UE. This initial lack of trust between the parties creates security risks for each other, and also for using insecure procedures to connect to the relay UE. For example, UEs attempting to initiate a "relay" / "remote" relationship may have never encountered each other before. This case can frequently occur, for example, when 1) a mobile cellular IoT device moves around, or 2) a mobile or fixed cellular IoT device is deployed and powered up for the first time in a new environment. - A candidate relay UE may not be authorized and may not have the necessary authentication information to connect to the network slice, exchange data with the network slice, and / or participate in a relay connection to the network slice. This may be especially true in the case of a private network slice that can only be used by UEs belonging to a predefined group.
[0021] A further issue is potential privacy risks. For example, a candidate relay UE (and other remote UEs) may need to gain access to or be provided with information about the network slice and, for example, the DNN to which the remote UE is connecting (or intending to connect). DNN identifiers (e.g., similar to URIs, which may include the name of a company, organization, or specific facility) or slice identifiers are typically highly static and may reveal privacy-sensitive information or be tied to a specific company / organization or other entity. This could lead to privacy issues, such as allowing the relay UE to determine what information the remote UE is interested in and which DNNs the remote UE sends and receives data from. It could also allow the relay UE to track the remote UE even after the connection with the relay UE is lost or even when the two are not connected at all. Particularly in the case of Layer 3 relay (i.e., relaying at the IP layer rather than the MAC layer), the relay UE needs to set up a PDU session on behalf of the remote UE and, therefore, at some point, needs to obtain information about that PDU session.
[0022] In general, exposing information about the slices and DNNs that the UE uses or wants to use for relay operation (i.e., for relay selection and / or setting up a relayed connection to the network) is privacy sensitive, as it may reveal that the UE belongs to a special subscription group, e.g., police / law enforcement / customs, or is associated with, e.g., a medical facility.
[0023] One potential issue is that the remote UE and relay UE may be provisioned with a set of PDU session parameters associated with each relay service code they support, for example, by providing one or more S-NSSAI or DNN values associated with a particular relay service code. The relay service code may be used during relay UE discovery. Given that remote UEs must be able to operate out of coverage, relay service codes are expected to be highly static and have a fairly long validity period (i.e., perhaps in hours rather than seconds). Preconfiguring a large set of relay or remote UE devices with persistent and / or relatively static information that may be associated with slicing and / or DNN information (e.g., relay service codes) may enable these devices to perform various privacy attacks, such as tracing and tracking the identity of a remote UE by tying it to the relatively static or persistent information. In particular, remote and relay UEs are end-user devices that cannot be fully trusted (unlike core network functions, base stations, etc.).
[0024] Some of these considerations also apply to access to a Non-Public Network (NPN) (see [23.501]). This concept has some similarities with network slices introduced in 5G. An NPN is a dedicated network for a limited set of users and can operate as a separate mobile core network or on a mobile network operator's Public Land Mobile Network (PLMN), whereby NPNs are typically deployed as slices and / or closed access groups within the PLMN. In addition to the fact that an NPN can be implemented on top of existing hardware / software infrastructure using network slices, an NPN may itself have one or more slices, especially if the NPN is operated as a separate standalone network. As with slices, relaying of traffic intended for a particular NPN may also be restricted to only remote and relay UEs authorized to have access to that NPN. An NPN may also have some requirements for minimum QoS, coverage area restrictions, and other aspects similar to network slices. Furthermore, other dynamic aspects must be taken into account to evaluate whether a relay UE is suitable to act as a relay for data connections between a remote UE and an NPN. In the remainder of this document, the term network slice also refers to a private network.
[0025] It is an object of the present invention to provide in a cellular communication system: An efficient mechanism to avoid the use of privacy-sensitive PDU session information and relatively static relay service codes by relay UEs (and other remote UEs) to track remote UEs.
[0026] To this end, there are provided devices and methods as set out in the accompanying claims. According to one aspect of the present invention, there are provided a cellular communication system, a mobile device, a network relay entity, and a relay device as set out in the accompanying claims. According to another aspect of the present invention, there is provided a computer program product downloadable from a network and / or stored on a computer readable medium and / or a microprocessor executable medium, the computer program product comprising program code instructions for carrying out the above method when executed on a computer.
[0027] A cellular communication system (CCS) includes a radio access network (RAN) including multiple cellular base stations (BSs) and a core network (CN). The cellular communication system provides a cellular network that supports network slicing and indirect connections. Each network slice provides a logical network using the cellular communication system's shared physical infrastructure. Each indirect connection provides data transfer between mobile devices and the cellular communication system via at least one relay device configured to communicate with the radio access network and that is a mobile device capable of supporting the indirect connection. The cellular communication system includes at least one network relay entity that provides a network relay function (NRF) for managing the indirect connections.
[0028] The mobile device may include a transceiver configured for wireless communication within a cellular network and a connectivity processor configured to manage connectivity to the cellular network, the connectivity processor providing a relay function for managing at least one indirect connection. sending a request message to at least one relay device (UEx), the request message including a relay service code (RSC1), an identifier of the at least one relay device (UEx), and an identifier of the mobile device; receiving a response message from at least one relay device (UEx), the response message including an encrypted relay service code (RSC2), the encrypted relay service code (RSC2) being encrypted by a network relay function (NRF) in the cellular network using a key that can be decrypted by the mobile device but not the relay device; and decrypting the encrypted relay service code (RSC2) and inserting the decrypted relay service code (RSC2′) in place of RSC1 in subsequent discovery and connection setup messages, where RSC2′ is associated with the same set of PDU session attributes as RSC1.
[0029] In one embodiment, the mobile device may include a non-volatile storage unit that stores a set of relay service codes supported by the mobile device and each of which may be associated with a set of PDU session attributes.
[0030] The relay device may comprise a communication unit configured for communication in a cellular network and a relay processor configured to manage communication in the cellular network and to manage an indirect connection between the mobile device and the cellular network. Store a set of spare relay service codes, Receive a request message from the mobile device; After receiving the request message, send a forwarding request message to the cellular communication system in response to the request message, where the forwarding request message (N) includes a relay service code RSC1 and a mobile device identifier received from the mobile device in the request message; receiving a diversion response message from the cellular communication system, the diversion response message including an encrypted relay service code (RSC2); After receiving the forwarding response message, the mobile device may be configured to send a response message including an encrypted relay service code (RSC2) to the mobile device in response to the forwarding response message.
[0031] The relay device may include a non-volatile storage unit that stores a set of relay service codes, including a set of spare relay service codes, supported by the mobile device.
[0032] The network relay function is receiving at least one forwarding request message from the relay device, the forwarding request message including a relay service code (RSC1) and an identifier of the mobile device; determining a different relay service code (RSC2') to use in place of the relay service code (RSC1) received in the forwarding request message, the different relay service code (RSC2') being selected from one or more spare relay service codes available in the relay device or from a new relay service code; encrypting the different relay service code (RSC2') with a key that can be decrypted by the mobile device but not by the relay device to generate an encrypted relay service code (RSC2); It may be configured to send a forwarding response message to the relay device that includes an encrypted relay service code (RSC2).
[0033] Preferably, the discovery message and connection setup message themselves are not encrypted or authenticated, so that even if the relay service code is sent in the clear, an eavesdropper (including the relay device and other remote UEs) cannot use the relay service code RSC1 to track the mobile device after disconnection. This is also done efficiently because only the relay service code used by the remote UE (i.e., mobile device UE0) needs to be updated, rather than all relay service codes in all other remote UEs and / or relay UEs. Furthermore, this works even when the remote UE is out of coverage of a base station in the network.
[0034] This procedure may also advantageously be combined with a procedure for verifying the authorization of the remote UE and relay UE to set up a relay connection for a specific relay service code and / or to set up a PDU session using PDU session parameters associated with the relay service code, and / or with a procedure for requesting security keys or privacy-sensitive PDU session parameters (e.g., slice identifier NSSAI, DNN) from the network for setting up such a relay connection, thereby enabling faster and more secure connection setup.
[0035] Furthermore, information about slices, DNNs and private networks, and other PDU session-related parameters may be considered privacy-sensitive. This could lead to unwanted tracking of mobile devices and potentially expose operator deployment information (e.g., slices and NPNs supported by the core network). In 5G, to prevent privacy leaks of slice information, slice information may only be transmitted to the UE later in the process during CN attach / authentication, after any initial security context has been established. Thus, slice information (or only encrypted or ephemeral slice information) is not transmitted earlier in the process. Furthermore, the relay UE may not have access to, be authorized to access, or be unable to support the characteristics of the slice that the remote UE wants to use (e.g., the required QoS or frequency band). Therefore, by using the NRF to provide the PDU session parameters only to the relay UE selected by the remote UE (and possibly only after verifying that the relay UE has the authority to set up a relay connection to the network on behalf of the remote UE and / or to set up a PDU session using the PDU session parameters), unnecessary information about the PDU session parameters does not need to be stored in advance in the relay UE or in other non-selected relay UEs, which are typically untrusted end user devices.
[0036] A cellular communication system is provided, comprising a radio access network including a plurality of cellular base stations and a core network, wherein the cellular communication system provides a cellular network supporting indirect connections, each indirect connection providing data transfer between a mobile device and the cellular communication system via at least one relay device that communicates with the radio access network and is a mobile device capable of supporting the indirect connection, the cellular communication system including at least one network relay entity providing a network relay function (NRF) for managing the indirect connections, and the mobile device: a connection processor for managing a connection to a cellular network, the connection processor providing a relay function for managing at least one indirect connection, the relay function comprising: sending, as part of the setup procedure, a request message to at least one relay device (UEx), the request message including a relay service code (RSC1) and an encrypted identifier of the at least one relay device (UEx), and further including an encrypted identifier of the mobile device; receiving a response message from at least one relay device (UEx) including an encrypted relay service code (RSC2); decrypting the encrypted relay service code (RSC2) and inserting the decrypted relay service code (RSC2') in place of RSC1 in subsequent discovery and connection setup messages, where RSC2' is associated with the same set of PDU session attributes as RSC1; The relay device is a communication unit for communicating in a cellular network (130); a relay processor that manages communications within the cellular network and manages an indirect connection between the mobile device and the cellular network; The relay processor Receive a request message from the mobile device; After receiving the request message, send a forwarding request message to the cellular communication system in response to the request message, the forwarding request message including a relay service code RSC1 and at least one of the encrypted identifiers received from the mobile device in the request message; receiving a diversion response message from the cellular communication system, the diversion response message including an encrypted relay service code (RSC2); After receiving the forwarding response message, send a response message to the mobile device in response to the forwarding response message, the response message including the encrypted relay service code (RSC2); The network relay function is receiving at least one forwarding request message from the relay device, the forwarding request message including a relay service code (RSC1) and at least one of an encrypted identifier of the mobile device and an encrypted identifier of the relay device; determining a different relay service code (RSC2') to be used in place of the relay service code (RSC1) received in the forwarding request message; encrypting the different relay service code (RSC2') with a key that can be decrypted by the mobile device but not by the relay device to generate an encrypted relay service code (RSC2); It may be configured to send a forwarding response message to the relay device that includes an encrypted relay service code (RSC2).
[0037] According to one aspect, the network relay function encrypts the mobile device identifier and / or the relay device identifier using a key that can be decrypted by a network relay function (NRF) in the cellular network but not by the relay device.
[0038] Alternatively, a cellular communication system (CCS) is provided, comprising a radio access network (RAN) including a plurality of cellular base stations (BS) and a core network (CN), wherein the cellular communication system provides a cellular network supporting indirect connections, each indirect connection providing data transfer between a mobile device and the cellular communication system via at least one relay device that communicates with the radio access network and is a mobile device capable of supporting the indirect connection; The cellular communication system includes at least one network relay entity (140) that provides a network relay function (NRF) for managing indirect connections, and the mobile device includes: a connection processor for managing a connection to a cellular network, the connection processor providing a relay function for managing at least one indirect connection, the relay function comprising: sending, as part of the setup procedure, a request message to at least one relay device (UEx), the request message including a relay service code (RSC1) and including an identifier of the at least one relay device (UEx), and further including an identifier of the mobile device and a message authentication code; receiving a response message from at least one relay device (UEx) including an encrypted relay service code (RSC2); decrypting the encrypted relay service code (RSC2) and inserting the decrypted relay service code (RSC2') in place of RSC1 in subsequent discovery and connection setup messages, where RSC2' is associated with the same set of PDU session attributes as RSC1; The relay device is a communication unit for communicating in a cellular network; a relay processor that manages communications within the cellular network and manages an indirect connection between the mobile device and the cellular network; The relay processor Receive a request message from the mobile device; After receiving the request message, send a forwarding request message to the cellular communication system in response to the request message, where the forwarding request message includes a relay service code RSC1, a message authentication code received from the mobile device in the request message, and an identifier of the mobile device; receiving a transfer response message from the cellular communication system, the message including an encrypted relay service code (RSC2); After receiving the forwarding response message, send a response message to the mobile device in response to the forwarding response message, the response message including the encrypted relay service code (RSC2); The network relay function is receiving at least one forwarding request message from the relay device, the forwarding request message including a relay service code (RSC1), an identifier of the mobile device, and a message authentication code; determining a different relay service code (RSC2') to be used in place of the relay service code (RSC1) received in the forwarding request message; encrypting the different relay service code (RSC2') with a key that can be decrypted by the mobile device but not by the relay device to generate an encrypted relay service code (RSC2); It may be configured to send a forwarding response message to the relay device that includes an encrypted relay service code (RSC2).
[0039] In one aspect, the relay processor stores a set of spare relay service codes, and the network relay function is configured to select a different relay service code (RSC2') from the set of spare relay service codes available in the relay device or from a new relay service code.
[0040] In one aspect, at least one of the relay service code (RSC1), the identifier of the mobile device, and the identifier of the at least one relay device (UEx) in the request message (M) and the forwarding request message is encrypted by the mobile device or integrity protected by a message authentication code to represent a protected indicator that the mobile device has selected the at least one relay device (UEx).
[0041] In one aspect, the relay device includes in the forwarding request message an identifier of at least one relay device received in the request message from the mobile device.
[0042] In one aspect, the key used by the mobile device to encrypt at least one of the relay service code, the mobile identifier, and the at least one relay device identifier, or the key used to determine the message authentication code, allows for decryption by a Network Relay Function (NRF) in the cellular network, but not by a relay device (UEx).
[0043] In one aspect, the network relay function (NRF) uses the information received in the forwarding request message to send a forwarding response message to at least one relay device (UEx) including PDU session information associated with the encrypted relay service code RSC2 or RSC1 only if the output of decrypting the received encrypted identifier represents the identifier of the at least one relay device or if a message authentication code originating from the mobile device and forwarded by the at least one relay device represents that the identifier has not been manipulated.
[0044] In one aspect, the information provided by the message payload having the encrypted identifier or message authentication code in the forwarding request message is used by the cellular communication system (CCS) to perform additional verification that at least one relay device (UEx) is authorized / authorized to act as a relay UE for the remote UE.
[0045] In one aspect, the mobile device sends a freshness parameter in the request message, the freshness parameter indicating that a key used to encrypt an element of the request message has not been updated for more than a predetermined time or indicating the time the key was last updated.
[0046] In one aspect, the network relay function (NRF) adds the decoded relay service code to the forwarding response message, and the relay device uses the decoded relay service code to obtain the PDU session attributes.
[0047] In one aspect, the request message (and response message) includes a Global Unique Temporary Identifier (GUTI), a Temporary Mobile Subscriber Identity (TMSI), or a Subscription Concealed Identifier (SUCI).
[0048] In one aspect, the request message includes a relay service code (RSC1) associated with a set of PDU session attributes.
[0049] In one aspect, the mobile device includes a nonce in the request message (M), and the relay device tracks the used nonce and discards any request message containing a previously used nonce or aborts the setup procedure.
[0050] In one aspect, the mobile device includes the nonce in a request message (M), the relay device forwards the nonce in a forwarding request message (N), and the relay function tracks the used nonce and discards request messages containing previously used nonce or aborts the setup procedure.
[0051] In one aspect, the mobile device includes a non-volatile storage unit that stores a set of relay service codes supported by the mobile device and each of which can be associated with a set of PDU session attributes, the mobile device stores a set of relay service codes supported by the mobile device and each of which can be associated with a set of PDU session attributes, the relay device includes a non-volatile storage unit that stores a set of relay service codes supported by the relay device, including a set of spare relay service codes, a relay processor of the relay device stores the set of spare relay service codes, and a network relay function determines a different relay service code (RSC2') to be used in place of the relay service code (RSC1) received in the forwarding request message, the different relay service code (RSC2') being selected from the set of spare relay service codes available in the relay device.
[0052] There is provided a mobile device configured for use in the cellular communication system, the mobile device comprising: a transceiver for wireless communication within a cellular network (130) and storing a set of relay service codes supported by the mobile device, each of which may be associated with a set of PDU session attributes; a connection processor for managing a connection to a cellular network, the connection processor providing a relay function (116) for managing at least one indirect connection, the relay function comprising: sending a request message to at least one relay device (UEx), the request message including a relay service code (RSC1) associated with a set of PDU session attributes, an encrypted identifier of the at least one relay device (UEx), and an encrypted identifier of the mobile device, the identifier being encrypted using a key that allows decryption by a network relay function (NRF) in the cellular network; receiving a response message from at least one relay device (UEx), the response message including an encrypted relay service code (RSC2), the encrypted relay service code (RSC2) being encrypted by a network relay function (NRF) in the cellular network using a key that can be decrypted by the mobile device but not the relay device; and (b) performing at least the steps of: decrypting the encrypted relay service code (RSC2) and inserting the decrypted relay service code (RSC2') in place of RSC1 in subsequent discovery and connection setup messages, where RSC2' is associated with the same set of PDU session attributes as RSC1.
[0053] Alternatively, there is provided a mobile device (110) configured for use in the above cellular communication system, the mobile device comprising: a transceiver configured to wirelessly communicate within a cellular network and configured to store a set of relay service codes supported by the mobile device, each of which may be associated with a set of PDU session attributes; a connection processor for managing a connection to a cellular network, the connection processor providing a relay function for managing at least one indirect connection, the relay function comprising: sending a request message to at least one relay device (UEx), the request message including a relay service code (RSC1) and an identifier of the at least one relay device (UEx), and further including an identifier of the mobile device and a message authentication code; receiving a response message from at least one relay device (UEx), the response message including an encrypted relay service code (RSC2), the encrypted relay service code (RSC2) being encrypted by a network relay function (NRF) in the cellular network using a key that can be decrypted by the mobile device but not the relay device; and (b) performing at least the steps of: decrypting the encrypted relay service code (RSC2) and inserting the decrypted relay service code (RSC2') in place of RSC1 in subsequent discovery and connection setup messages, where RSC2' is associated with the same set of PDU session attributes as RSC1.
[0054] In one aspect, the key is used to encrypt at least one of a relay service code, a mobile identifier, and an identifier of at least one relay device, or the key is used to determine a message authentication code that allows decryption by a network relay function (NRF) in the cellular network but not by a relay device (UEx).
[0055] In one aspect, the mobile device selects a Layer 2 identity for the request message (M) that is at least different from a Layer 2 identity last used in a previous message sent from the mobile device to the relay device, which previous message may be part of the detection message.
[0056] In one aspect, the mobile device sends a freshness parameter in the request message, the freshness parameter indicating that a key used to encrypt an element of the request message has not been updated for more than a predetermined time or indicating the time the key was last updated.
[0057] In one aspect, the mobile device includes a Global Unique Temporary Identifier (GUTI), a Temporary Mobile Subscriber Identity (TMSI), or a Subscription Concealed Identifier (SUCI) in the request message.
[0058] There is provided a network relay entity providing a network relay function (NRF) for use in the cellular communication system, the network relay entity comprising: receiving at least one forwarding request message from the relay device, the forwarding request message including a relay service code (RSC1) and an encrypted identifier of the mobile device that sent the relay service code (RSC1) to the relay device; determining a different relay service code (RSC2') to use in place of the relay service code (RSC1) received in the forwarding request message; encrypting the different relay service code (RSC2') with a key that can be decrypted by the mobile device but not by the relay device to generate an encrypted relay service code (RSC2); It may be configured to send a forwarding response message to the relay device that includes an encrypted relay service code (RSC2).
[0059] In one aspect, the different relay service code (RSC2') used in place of the relay service code (RSC1) is selected from a set of spare relay service codes available at the relay device.
[0060] Alternatively, there is provided a network relay entity (140) providing a network relay function (NRF) for use in the cellular communication system, the network relay entity comprising: receiving at least one forwarding request message from the relay device, the forwarding request message including a relay service code (RSC1) and an identifier of the mobile device that sent the relay service code (RSC1) to the relay device; Checking the message authentication code to verify that the relay service code and the mobile device identifier have not been manipulated; determining a different relay service code (RSC2') to use in place of the relay service code (RSC1) received in the forwarding request message, the different relay service code (RSC2') being selected from a set of spare relay service codes available at the relay device or from a new relay service code; encrypting the different relay service code (RSC2') with a key that can be decrypted by the mobile device but not by the relay device to generate an encrypted relay service code (RSC2); The relay device is configured to send a forwarding response message including the encrypted relay service code (RSC2) to the relay device.
[0061] In one aspect, the network relay function adds the decoded relay service code to the forwarding response message, and the relay device uses the decoded relay service code to obtain the PDU session attributes.
[0062] In one aspect, the network relay function includes a newly encoded Global Unique Temporary Identifier (GUTI), Temporary Mobile Subscriber Identity (TMSI), or Subscription Concealed Identifier (SUCI) in the forwarding request message (N').
[0063] A relay device for communicating in the cellular network is provided, the relay device comprising: a relay processor that manages communications within the cellular network and manages an indirect connection between the mobile device and the cellular network; The relay processor As part of the setup process, a request message is received from the mobile device, After receiving the request message, send a forwarding request message to the cellular communication system in response to the request message, the forwarding request message including a relay service code RSC1 and at least one of the encrypted identifiers received from the mobile device in the message M; receiving a diversion response message from the cellular communication system, the diversion response message including an encrypted relay service code (RSC2); configured to, after receiving the forwarding response message, send a response message to the mobile device in response to the forwarding response message, the response message including the encrypted relay service code (RSC2);
[0064] Alternatively, there is provided a relay device that communicates in the cellular network, the relay device comprising: a relay processor that manages communications within the cellular network and manages an indirect connection between the mobile device and the cellular network; The relay processor Store a set of spare relay service codes, As part of the setup process, a request message is received from the mobile device, After receiving the request message, send a forwarding request message to the cellular communication system in response to the request message, where the forwarding request message includes a relay service code RSC1, a message authentication code received from the mobile device in the request message, and an identifier of the mobile device; receiving a diversion response message from the cellular communication system, the diversion response message including an encrypted relay service code (RSC2); configured to, after receiving the forwarding response message, send a response message to the mobile device in response to the forwarding response message, the response message including the encrypted relay service code (RSC2);
[0065] In one aspect, the relay device forwards the nonce or freshness parameter received in the request message (M) in the forward request message (N).
[0066] In one aspect, the relay device tracks the used nonce and discards any request message containing a previously used nonce or aborts the setup procedure.
[0067] The methods of the present invention may be implemented as a computer-implemented method on a computer, on dedicated hardware, or a combination thereof. Executable code for the methods of the present invention may be stored in a computer program product. Examples of computer program products include memory devices such as memory sticks, optical storage devices such as optical disks, integrated circuits, servers, online software, etc.
[0068] A computer program product in non-transitory form may include non-transitory program code means stored on a computer-readable medium for performing the method of the present invention when executed on a computer. In one embodiment, a computer program includes computer program code means configured to perform all steps or stages of the method of the present invention when the computer program is executed on a computer. Preferably, the computer program is embodied on a computer-readable medium. Also provided is a computer program product in transitory form downloadable from a network and / or stored in volatile computer-readable memory and / or microprocessor-executable medium, the computer program product including program code instructions for performing the method when executed on a computer.
[0069] Another aspect of the present invention provides a method for making a computer program downloadable in a temporary form, which is used when the computer program has been uploaded to, for example, Apple's App Store, Google's Play Store, or Microsoft's Windows Store and is available for download from such a store.
[0070] Other preferred embodiments of the device and method according to the present invention are set out in the appended claims, the disclosures of which are incorporated herein by reference.
[0071] These and other aspects of the invention will be further explained and elucidated in relation to the embodiments described hereinafter by way of example with reference to the following drawings, in which: [Brief explanation of the drawings]
[0072] [Figure 1] FIG. 1 shows an excerpt from a diagram showing a user equipment (UE) requesting a slice. [Figure 2]Figure 2 shows a diagram of communication via single hop (left) and multi-hop (right) using a UE-based relay device. [Figure 3] FIG. 3 illustrates a mobile device, a relay device, a network relay entity, and a cellular communication network. [Figure 4] Figure 4 shows an example of an NRF-assisted relay selection sequence diagram. [Figure 5] FIG. 5 shows an example of a multi-hop relay topology for a moving UE. [Figure 6a] FIG. 6a shows a computer readable medium. [Figure 6b] Figure 6b shows a schematic diagram of the processor system. [Figure 7] FIG. 7 illustrates an example NRF-assisted relay selection sequence diagram according to one embodiment. [Figure 8] FIG. 8 shows an example of a relay service code update sequence according to an embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0073] The figures are purely schematic and are not drawn to scale. In the figures, elements that correspond to elements already described may be given the same reference numerals.
[0074] 3 illustrates a mobile device, a relay device, a network relay entity, and a cellular communication network. In the cellular communication system 100, a mobile device 110 is configured for wireless communication over a cellular communication network 130. The mobile device may be, for example, a mobile phone, a wearable medical device, or an in-vehicle data communication unit. The cellular communication system (CCS) may include a radio access network (RAN) including multiple cellular base stations (BSs) and a core network (CN). The cellular communication system provides a cellular network that supports network slicing and indirect connectivity.
[0075] Each network slice provides a logical network using the shared physical infrastructure of the cellular communication system. This is typically true for non-public networks (NPNs), especially those operating in a public network. In the case of a standalone NPN, the logical network may be deployed as a separate mobile core network and operate a private small cell infrastructure. Sharing means that the physical infrastructure may be fully or partially shared. For example, some network functions of a first slice or NPN may be software running on a separate computer from the network functions of a second slice or NPN, while the RAN components may be fully shared between both slices or NPNs. Also, the first slice or NPN may be assigned a different frequency band from the second slice or NPN, while the RAN components are fully shared. Each indirect connection provides data transmission between a mobile device and the cellular communication system via at least one relay device. Another typical feature of a network slice is that network traffic related to the slice is isolated from other network traffic. This is also true for standalone NPNs.
[0076] As explained at the beginning, the cellular communication network may be an enhanced 5G network.
[0077] 1 illustrates schematically a network 130 for providing communication between a mobile device MOB-DEV 110 and a relay device REL-DEV 120. The core network may be managed by at least one telecommunications provider, for example for managing a subscriber database and billing.
[0078] The network may also be coupled to a network relay entity 140 that provides a network relay function (NRF) for managing indirect connections. The network relay entity may be implemented on a processor system, which may be located, for example, in the core network, the radio access network, or another server on the Internet. The entity may be coupled to the network wirelessly and / or wired, or via a dedicated link.
[0079] A relay device may be a mobile device configured to communicate with a radio access network and capable of supporting indirect connections for data exchange with mobile devices. Note the difference from the numerous indirect connections managed by the NRF: the NRF may manage indirect connections for thousands of UEs, while a relay device only manages the indirect connections of mobile devices in its vicinity.
[0080] The mobile device 110 may be configured for wireless communication with a network and has a transceiver 111 configured for wireless communication and a connectivity processor 112 configured to control the mobile device and provide an interface to a user. The connectivity processor may be configured to manage a connection to a cellular network and, as described below, provide a relay function 116 for managing at least one indirect connection. The mobile device may be provided with a user interface 113, which may include, for example, a display and one or more user input elements 115. For example, the user input elements may include one or more of a touchscreen, various buttons, a mouse, or a touchpad. The buttons may be traditional physical buttons, touch sensors, or virtual buttons (e.g., buttons or icons on a touchscreen activated via a mouse). The user interface may also be a remote user interface. The connectivity processor 112 may be coupled to a non-volatile memory 116.
[0081] The relay device 120 may have a relay processor 122 configured to manage communications within the cellular network and to manage indirect connections to mobile devices as described below, and a communication unit 121 configured for wireless communication with the network. The relay processor 122 may be coupled to a non-volatile memory 123.
[0082] The relay function in the mobile device may be configured to perform the following: First, a request message (M) is sent to at least one relay device (UEx). The request message may include a request identifier (ID1) indicating the network slice to which the mobile device is requesting access. Next, at least one response message (N) is received from the at least one relay device. The response message may include an indication of at least one slice available for relaying through the at least one relay device to provide an indirect connection. This indication may be defined explicitly (e.g., as part of an additional "slice relay information" field in the response message N) or implicitly (e.g., the message N is an affirmative response acknowledging that the requested slice can be relayed through the respective relay device). Then, in response to the response message, a relay device (UEy) is selected from among at least one relay device that supports the requested slice. The response message may also include information about additional supportable slices from which the remote UE can select. If the remote UE is limited to only one slice, e.g., a private slice, or if there is only one available slice suitable for the UE, the selection effectively employs such a single slice. If the selected slice is the same as the requested slice, the remote UE may select each relay UE that received the response and reuse the same device-to-device (D2D) connection (e.g., PC5) between the remote UE and the relay UE to set up an indirect connection to the network via the relay UE. If there is only one available relay UE suitable for that remote UE, the selection effectively employs such a single relay UE. Then, an indirect connection to the selected slice is established via the selected relay UE, which may reuse the same D2D connection between the remote UE and the relay UE that was used to send the request message (M) and / or receive the response message (N).
[0083] The relay processor in the relay device may be configured to perform the following: First, a request message (M) is received from the mobile device. Next, in response to the request message, a forwarding request message (M') is transmitted to the cellular communication system. The forwarding request message indicates a request to exchange data with the mobile device over an indirect connection. The forwarding request message includes a request identifier (ID1). The forwarding request message may be the same as message M, or may be a newly constructed message by the relay device based on information received in message M, or may be a message encapsulating the contents of message M (e.g., as part of an IPSec tunnel or by adding / modifying a routing header), or may be a variation thereof. The identifier transmitted as part of the forwarding request message (M') may be a copy of the request identifier (ID1), or may be an encrypted, coded, hashed, and / or scrambled version of ID1, or a one-to-one mapped replacement identifier.
[0084] A transfer response message (N') is then received from the cellular communication system, as will be explained later, and in response to the transfer response message, a response message (N) is sent to the mobile device.
[0085] Within the network relay entity, a network relay function (NRF) is configured to: first, receive at least one forwarding request message (M') via at least one cellular base station; then, obtain relay availability data regarding relay devices capable of exchanging data with the mobile device for at least one available slice; the available slice is determined according to the request identifier (ID1); then, transmit at least one forwarding response message (N') via the at least one cellular base station; the forwarding response message includes network relay information indicating at least one available slice and at least one relay device capable of forwarding data of the available slice.
[0086] Optionally, the forwarding response message (N') includes the set of relay devices (T) in the network relay information. Additionally or alternatively, the response message (N) includes the set of relay devices (T) (e.g., in a slice relay information field). For example, the set of relay devices may be an ordered list of available relay devices, for example, a list ordered based on priority level or suitability.
[0087] Optionally, each forwarding response message may be sent to only one specific relay device, and the response message may identify itself as the relay device. Such a message may only implicitly identify the relay device. Thus, the message may not explicitly identify the relay device as some "relay ID" or similar message element. Instead, the message may include only the network address of a specific relay, for example, as the destination address in the message header. The relay device may be implicitly identified by the relay's destination address (e.g., in the case of forwarding response message (N')) or by the relay's source address (e.g., in the case of response message (N)). For example, a use case may have three relay devices a, b, and c, each of which may respond to a mobile device's broadcast with information about the slices it can support. In this case, message N does not need to list relay (capable) devices, because each relay (a / b / c) will respond itself. In this message format, the identity of relay (a / b / c) resides only in the standard "source" field in the message header (e.g., MAC source address). It may not be present in the higher-level message or may indicate itself. The mobile device selects one of the relay devices from which it received each response message and establishes an indirect connection through the selected relay device.
[0088] Optionally, each forwarding response message includes instructions for various actions. It may instruct the relay device to reconfigure an existing PDU session between the relay device and the network (e.g., change the DNN or connect to another user plane function) to correspond to relaying network traffic of a specific slice. It may also instruct the UE configuration (possibly including different S-NSSAI information, policy information, and authentication information) to update. This causes the device to reconnect to the network by terminating the existing PDU session and setting up a new PDU session. As a result, a different Access and Mobility Management Function (AMF) providing the network slice may be selected. The forwarding response message may include an instruction to initiate an additional PDU session with the network if the relay UE is already serving another remote UE, or an instruction to connect to another PLMN / NPN. The forwarding response message may also include an instruction to camp on a specific cell associated with a Closed Access Group (CAG) ID to access a certain slice, especially in the case of an open network operating NPN.
[0089] Optionally, each forwarding response message includes within the network relay information instructions / information regarding resource scheduling requirements for the base station based on the available slices (e.g., regarding characteristics, QoS flows, minimum / maximum / preferred bit rates, priorities, frequency bands, bandwidth, division of resources among different slices). The resource scheduling requirements are used by the base station to schedule sidelink resources for the mobile device and the available or selected relay device for communication of the available or selected slices. Alternatively, the instructions / information regarding resource scheduling requirements for the base station based on the available slices can be sent as a separate message from the NRF to the base station (or nearby base stations) directly or routed / tunneled via the AMF (if the NRF is not integrated with the AMF).
[0090] Optionally, each forwarding response message may include configuration, authorization, or policy update information for the remote UE that has been out of coverage for some time. This information may be forwarded from the relay UE to the remote UE using the response message. To prevent this information from being disclosed to the relay UE, the information may be encrypted using a security certificate known only to the remote UE.
[0091] More specifically, the cellular communication system includes a mobile device UE0 operating as a cellular communication user equipment, a set S of relay devices {UE1,...UEn} (n>=1) that also operate as cellular communication user equipment and are capable of relaying network traffic of UE0 to / from the cellular communication system CCS, which is capable of supporting relaying operation and network slicing.
[0092] Device UE0 can operate as follows.
[0093] The device UE0 sends a message M to a relay device UEx of the set S. The message includes an identifier, which may be the network slice identifier ID1 to which the device UE0 is requesting access. ID1 may optionally be an S-NSSAI (defined in 3GPP® [24.501]), which is part of a set of slice identifiers. Alternatively, the message may include a temporary slice identifier (defined in 3GPP® [33.813]) (either fully or as a hash value) or an encrypted slice identifier (defined in 3GPP® [33.813]). Note that in such cases, since the identifier may be out of date because the remote UE has been out of coverage for some time, it is advantageous for the core network to store a list of past temporary identifiers and check for a match. Alternatively, the message may include a combination of the PLMN and a Network Identifier (NID) or CAG ID to indicate the slice, especially in the case of an NPN. The message may include any other type of identifier from which the NRF (e.g., AMF / NSSF / ProSe function or other network function) or relay device UEx can derive (e.g., using a hash table or other type of mapping function) the slice being requested by device UE0 (e.g., derived from a derivation function or mapping table that may be pre-configured in the UF or updated periodically at or after registration, or pre-configured uniquely for each UE).
[0094] The message M may be, for example, a D2D / PC5 discovery message (as defined in 3GPP® [23.303]) including an additional information element indicating the requested network slice identifier, or a PC5 direct communication request (as defined in 3GPP® [23.287]) including an additional information element indicating the requested network slice identifier, or a PDU session establishment request (as defined in 3GPP® [24.501]) including an additional information element indicating the requested network slice identifier by using the requested identifier (ID1) as a (V2X) service code or application ID, or a registration request (as defined in 3GPP® [24.501]) using the existing "Requested NSSAI" attribute, or a UL NAS TRANSPORT (as defined in 3GPP® [24.501]) using the existing "S-NSSAI" attribute, or another type of PC5 / NAS / RRC message including an additional information element indicating the requested network slice identifier.
[0095] The device UE0 receives a message N from the device UEx. The message may include a network slice identifier ID2, for example, as part of an additional slice relay information field. ID2 may be the same as ID1 or may be an instance ID, an allowed slice ID, or a default slice ID. Alternatively, the message N may include information regarding a subset S' of S that is allowed, not allowed, or preferred for the UE0 to use to set up an indirect connection session with the network slice of the cellular communication system CCS identified by ID2. Alternatively, the message N includes a Boolean or a set of Boolean values indicating support for a set of requested and / or supported slices. Alternatively, the message N is a positive acknowledgement that a match has been found between the requested slice and a list of slice IDs to which the mobile device can connect via the eRelay UE. The message N may be sent only if the relay device UEx is operable as a relay for the device UE0 for an indirect communication session in the requested network slice. Message N may be formatted, for example, as a D2D / PC5 Discovery Response message (defined in 3GPP® [23.303]), a PC5 Direct Communication Accept message (defined in 3GPP® [23.287]), a PDU Session Establishment Accept message (defined in 3GPP® [24.501]), a Registration Accept message (defined in 3GPP® [24.501]), a DL NAS Transport using the existing "S-NSSAI" attribute (defined in 3GPP® [24.501]), or another type of PC5 / NAS / RRC message.
[0096] The device UE0 selects a relay device UEy of the set S for communicating with the cellular communication system CCS. UEy may be different from UEx if it is not permitted or preferable to use the device UEx in setting up an indirect connection with the requested network slice.
[0097] Note that, optionally, the relay UE may reply via message N itself that it can provide a particular slice, e.g., based on preconfigured information from the NRF, e.g., because it is part of the same slice, has the same security, and has sufficient resources to act as a relay for the remote UE. This option may also work for relays operating in the default slice operating within the same PLMN or in a private slice operated and configured by the same third party to be part of the same group or to belong to a special device (e.g., public safety UE) group. Optionally, the NRF may preconfigure the relay UE for a set of slices, e.g., the default slice and / or a set of specific private slices, in which the relay UE can operate, and optionally for associated policy rules, e.g., when the relay UE is allowed, enabled, or obtains resources to respond to relay discovery messages. This can be done, e.g., by sending a message containing preconfigured slice relay information to the relay UE in advance.
[0098] A relay device UEx (1<=x<=n) may operate as follows.
[0099] The device UEx receives a message M from the device UE0. The message includes a network slice identifier ID1 to which the device UE0 is requesting access.
[0100] Based at least in part on the message M, the device UEx transmits a message M' to the cellular communication system CCS either directly or via one or more other relay devices UEy (1<=y<=n).
[0101] The device UEx receives a message N' from the cellular communication system CCS, the message including a network slice identifier ID2 and information about a subset S' of S that is authorized, unauthorized, or preferred for the UE0 to use to set up a relayed communication session with the network slice of the cellular communication system CCS identified by ID2.
[0102] Device UEx transmits message N to device UE0 based at least in part on message N'.
[0103] Message M' may be, for example, a ProSe Conformance Report (defined in 3GPP® [24.334]), or another message over the PC3 interface with additional fields indicating information about the slices requested by UE0, or a NAS message (defined in 3GPP® [24.501]) with additional fields indicating information about the slices requested by UE0. In the case of Layer 2 relay, message M' may be a received PDCP frame containing the NAS message received from device UE0, which is transparently forwarded by relay device UEx to the base station / core network via the Uu interface of relay device UEx (or another PC5 interface to a subsequent relay device). It could also be a new dedicated NAS or RRC message (e.g., a Relay Request message) containing the necessary information about the slices requested by UE0.
[0104] Within the cellular communication system CCS, a relay device UEx may be communicatively coupled via a base station BS among multiple cellular base stations of a RAN. Within the CCS, a Network Relay Function (NRF) is provided. The base station may be communicatively coupled to an Access and Mobility Management Function (AMF) within a CN. The core network may host multiple AMFs assigned to multiple different slices. The base station may select an appropriate AMF based on the requested slice identifier ID1 received in the message M'.
[0105] The base station BS may be able to receive the message M' from the relay device UEx and may forward the message to the NRF. The base station BS may generate a new message to the NRF based on the received message or interpret the message M' via the NRF, for example via an integrated NRF. The forwarded message may be an NAS message. The new message may be, for example, an initial registration message, a UE context information message, or another NGAP (NG Application Protocol) message via the N2 interface, similar to the S1AP (S1 Application Protocol) via the S1 interface in 4G.
[0106] A CCS may host different NRFs, or different instances of an NRF may be assigned to different slices. The base station may select an appropriate NRF based on the requested slice identifier ID1 received in the message M' and forward the message to the selected NRF. If the NRF is not directly coupled to the base station but is directly coupled to the AMF, the AMF may select an appropriate NRF based on the requested slice identifier ID1 received in the message received from the base station.
[0107] Within the CCS, the Network Relay Function (NRF) may operate as follows:
[0108] A message M', or a message M" based at least in part on message M', is received from an Access and Mobility Management Function (AMF) or directly from a base station BS. The message includes a network slice identifier ID1 to which UE0 requests access.
[0109] Information I about a set T of UEs that can relay network traffic from UE0 to / from RAN to UE0 and the capabilities of these UEs is obtained.
[0110] Based in part on the received message M″ and the obtained information I, a relay device is determined. The relay devices may constitute a subset T′ of T consisting of UEs that are authorized, unauthorized, or preferred for UE0 to use as relay devices to set up a relayed communication session with a network slice of the cellular communication system CCS identified by ID1.
[0111] A message N'' may be sent back to the AMF or base station BS. The message N'' may include information about the subset T' and the network slice identifier ID2.
[0112] Finally, the AMF or base station BS sends a message N′ based at least in part on message N′ to the relay device UEx, which may additionally or alternatively be addressed directly to the remote UE (e.g., via the AMF), or to a subset of the relay UEs, or to an intermediate node (e.g., the base station to which said relay UE is connected), which then forwards the information to the relay UE in a new message.
[0113] This section describes NRF-assisted relay selection via a requesting UE during discovery, where the UE makes the selection based on NRF pre-selection. The UE may be configured to connect to one or more network slices and may further be adapted to discover nearby relay-capable UEs under certain circumstances (e.g., outside base station coverage) based on configured policies. To discover nearby relay-capable UEs, the UE transmits a D2D / PC5 discovery message, which may include a new attribute indicating one or more IDs of slices to which it desires to connect. Relay-capable UEs within radio range may receive this message and each report information from the message to a Network Relay Function (NRF) in a Core Network (CN). The message specifically includes information on the IDs of the slices the UE is requesting.
[0114] From the received information, the NRF determines which (potential or already active) candidate relay UEs are authorized and / or not authorized and / or can best provide the requested slices, or a subset of slices if the complete set is not available, to the requesting UE. To do this, the NRF may need to request / receive information from other network functions (e.g., the Access and Mobility Management Function (AMF) if the NRF and AMF are not integrated, or the Radio Access Network (RAN)) or directly from the relay UEs: capabilities, context information, connection characteristics, and other information such as mobility / location / velocity information from each relay-enabled UE within the UE's discovery range or that can or is involved in setting up an indirect connection from the UE to the RAN (e.g., in case of multi-hop relays). The NRF may use this information, along with other information it may request / receive from other network functions, such as the Policy Control Function (PCF), Unified Data Management (UDM), and Network Slice Selection Function (NSSF), if the NRF is not integrated with those network functions, to evaluate whether each candidate relay UE is authorized and capable of operating as a relay UE for the requested network slice, and whether sufficient resources are available and whether the required QoS can be achieved. Furthermore, the NRF may request information about its "relay UE reputation," for example, from the Network Data Analytics Function (NWDAF). This is because a relay UE may have a "bad reputation" (or record) for operating as a relay, which could result in denial of service (e.g., by dropping connections or ignoring all remote UE traffic) or throttling the bandwidth of remote UEs.
[0115] The NRF may also take into account other criteria, such as RAN congestion, or whether the base station or AMF / MME to which the candidate relay UEs connect is close to or has already reached a certain maximum number of UE / PDN connections per slice, and provide different candidate relay UEs for the requesting UE to connect to.
[0116] The NRF may also use preliminary UE subscription information to verify whether the UE is authorized to operate in the requested slice. Note that the UE is not yet authenticated in the core network at this point and has only sent information related to its identity via the relay discovery request, which may be unauthenticated data (i.e., it can be easily forged / modified), so the NRF does not use this information to authenticate the UE; it only uses it as guidance within the selection process.
[0117] When a Network Relay Function (NRF) receives a request identifier (ID1) in a forwarding request message (M'), the NRF may use ID1 to obtain relay capability data about relay devices capable of sending and receiving data to and from the network slice based on the characteristics of the particular network slice indicated by ID1. However, in the case of a roaming remote UE, the NRF may not know the identifier ID1 or the characteristics of the slice indicated by it. Alternatively, the identifier ID1 may be used for different purposes by both the operator of the relay UE and the operator of the remote UE, so the NRF may know the identifier ID1 but recognize it as having different slice characteristics. In other words, if operators do not use mutual agreement on the value of an identifier such as ID1, identifier duplication may occur. To solve these potential problems, after receiving M′, the NRF may contact the NRF of the HPLMN (Home PLMN) of the remote UE (if known) or the AMF (or database) of one or more other PLMNs, for example, using a request message M″ to obtain the characteristics of the slice indicated by ID1 and further verify whether the remote UE is authorized to connect to the slice indicated by ID1. Once the slice characteristics are obtained, for example, via a response message N″ from the HPLMN NRF, the NRF may configure the relay UE with parameters to support relaying to the slice indicated by ID1, for example, by sending a security key or parameters from which the relay UE can derive the security key to the relay UE. The NRF may include such configuration information completely or partially in the forwarding response message N′, or may include the configuration information in another separate message. The NRF may also configure the PDU sessions of the relay UE and / or remote UE according to the obtained characteristics of the slice indicated by ID1, for example, to optimally meet the QoS service requirements of the particular slice.The NRF may also configure parameters of the gNB serving the relay UE to optimally meet QoS service requirements, such as communication delay requirements or data throughput requirements for a particular slice.
[0118] Another solution is to coordinate the allocation of identifiers such as ID1 among operators, for example, an operator may enter into agreements with all operators that allow roaming of UEs of other operators on its cellular network.
[0119] The NRF can then send a message back to one or more selected candidate relay UEs, with a per-relay-UE message containing the set of slices it can provide to the requesting UE via that particular relay UE. In other words, for each candidate relay UE, a set of "accepted slice IDs" is included. If the NRF was unable to obtain the complete set of requested slices or is not authorized to use the relay UE as a relay UE for network communication of the requested slices, it may also include a set of "rejected slice IDs." The received slice information may be an instance identifier, an authorized slice identifier, or a default slice. Optionally, the message may include information about a list of other possible candidate relay UEs that can be used to set up an indirect connection to the core network to gain access to the requested slices. This list may be ordered according to priority or suitability to act as a relay UE for the requested slices.
[0120] Each relay UE that receives such a message then uses the information from the message to send a discovery response back to the requesting UE. The discovery response may optionally include slice information (or other information that allows the requesting UE to derive whether the relay UE can support relay communication for the requested slice) and may also optionally include information about other candidate relay UEs. Because a (potential) relay UE communicates with the NRF before sending a discovery response to the requesting UE, the discovery response by the relay UE may be sent a little later than the requesting UE expects. In this case, the relay UE may send a preliminary discovery response indicating its presence, but that additional information, including slice information, will be sent later, pending approval from the NRF / CN.
[0121] Based on the discovery responses received from the candidate relay UEs, the UE selects the best candidate relay UE to connect to and connects to it, e.g., in a procedure similar to ProSe, to the requested slice or a subset of achievable slices via core network procedures. Alternatively, the NRF may select only a single relay UE and instruct the relay UE to connect to the UE requesting relay connection to the requested slice.
[0122] Figure 4 shows an example NRF-assisted relay selection sequence diagram. This diagram shows an example of the flow and message sequence. NF is the above-mentioned NRF (Network Relay Function). · NF2 is an optional extension of the NRF (or ProSe Function) that handles the authorization for a relay UE to accept new remote UEs. R1, R2, and R3 are relay or potential relay UEs, where we assume that R3 is connected to a different gNB, namely gNB2. In this example message sequence, detailed information about each relay UE (e.g. capabilities, signal quality, etc.) is sent directly to the NF, reducing the time it takes for the NF to obtain all this information. The "opt" box indicates an optional communication to request detailed QoS information about the slice, e.g. from the RAN, but possibly also information about other potential nearby relay UEs, measurement information, location / mobility information for each UE, etc. While shown here as information requested from the RAN, it may also be necessary to request information from the AMF, PCF, UDM, NSSF, or other network functions. This is shown as optional as the NRF may have received this information beforehand. NSSAI is a set of up to eight slice IDs, as described in more detail in the 3GPP specification [23.501].
[0123] A connectivity processor in the mobile device may be configured to initiate a relay discovery process and establish an initial indirect connection. The connectivity processor then transmits a request message over the initial indirect connection. The network relay entity (140) or relay function may be configured to reconfigure the initial indirect connection to a selected slice via a selected relay device. Thus, a UE actively relaying may be reconfigured to use another relay; in this case, the UE first selects an initial relay, and the NRF or UE reconfigures the selection. A UE that needs to select a relay UE transmits a D2D / PC5 message to initiate relay discovery. Relay UEs and potential relay-capable UEs within radio range receive this message and respond with discovery responses using state-of-the-art procedures, possibly ProSe procedures. The UE then selects a suitable relay UE candidate, not yet knowing whether the relay UE fully supports and connects to all requested slices. The UE performs 5G network registration and / or PDU session establishment over the relay UE connection using state-of-the-art procedures, including a request for one or more slices.
[0124] The NRF may be involved in the process as follows: When the NSSAI requested by the UE is received by the base station or the Access and Mobility Management Function (AMF), the NRF is notified about this. The NRF may then determine, in a manner similar to that described above, which (potential) relay UE or set of relay UEs can and / or is authorized to and / or will best provide the requested set of slices to the requesting UE. Next, if the NRF determines that the best relay UE for the UE requesting access to one or more slices is another relay UE than the current relay UE, the NRF sends a reconfiguration message (e.g., a CONFIGURATION UPDATE COMMAND as defined in 3GPP (registered trademark) [24.501]) to the UE. The message may be sent directly or addressed via an intermediary, such as a gNB or relay UE, and new attributes within the message may indicate the ID or address of the relay UE that is preferred to use and the set of slices that can be acquired by that relay UE. The set may be larger than the slices currently supported by the UE. Additionally, the NRF may send a list of relay UEs along with a set of slices and / or priority levels for each relay UE. Alternatively, information about which relay UEs can or should be used for a particular slice may be provided as a new extension to the UE Route Selection Policy (URSP) defined in 3GPP® [29.507][23.503]. This may be sent to the UE using the UE Policy Delivery Protocol defined in Annex D of 3GPP® [24.501].
[0125] When the UE receives the reconfiguration message or the updated URSP, depending on the received information, the UE may continue to use the relay UE it is already using or may have to perform relay UE discovery again, which may optionally be done by specifically searching for and connecting to a new preferred relay UE during this discovery.
[0126] As a further example, an enhanced ProSe (eProSe) scenario in 5G will be described, which illustrates a specific example of reconfiguration to another eRelay UE (enhanced relay UE) that better supports the requested slice. This exemplary scenario shows how it can be applied to the 5G system architecture. In this scenario, it is assumed that the relay-capable device has already enabled the relay function and is functioning as a relay device with the permission of the 5G network. On-demand activation of the relay function of the relay-capable device is also possible, but will not be described further.
[0127] This example eProSe scenario involves the following: A mobile device UE that has lost and is unable to re-establish connection to the 5G core network initiates an eProSe eRelay Discovery Model B procedure using eRelay Open Discovery. In this procedure, the mobile device plays the role of an eRemote UE. The mobile device first checks in its UE configuration whether it has been granted authorization by the ProSe function to perform this procedure for out-of-coverage situations. If so, it checks its own UE configuration to see if it has been authorized by the ProSe function to act as an eRemote UE when out of coverage. If this is also authorized, the mobile device requests nearby eRelay UEs (also referred to as eProSe UE-to-Network relay UEs) by sending a PC5_DISCOVERY message of type eRelay Discovery Solicitation. This message is sent over sidelink (SL) spectrum resources. Open Discovery is used in this example, which means that the broadcast request is not protected by encryption. Any eRelay UE can parse the request without requiring a specific security context or key. Alternatively, a secure discovery procedure called eRelay Restricted Discovery may be used to prevent potential information leakage, although this is not described in detail here.
[0128] Each eRelay UE then reports the information and / or request parameters received from the mobile device to the ProSe function using a message such as a ProSe MATCH_REPORT via the PC3 interface or its 5G eProSe equivalent. The ProSe function collects all MATCH_REPORT messages sent by the eRelay UEs. It determines what the response should be for each message and sends each response message back to the respective eRelay UE using, for example, a MATCH_REPORT_ACK message via the PC3 interface or its 5G eProSe equivalent. Each eRelay UE that receives such a message (i.e., a message implemented as a MATCH_REPORT_ACK via PC3) sends a response message to the mobile device based on its content. The response message is implemented, for example, as a PC5_DISCOVERY message of eRelay discovery response type via the interface PC5-D. The mobile device receives this message from one or more eRelay UEs, which allows the mobile device to select one eRelay UE that it deems suitable for connection, e.g., using a decision process already standardized in 4G ProSe or its equivalent in 5G eProSe.
[0129] Subsequently, using the selected eRelay UE, the mobile device continues the 5G core network attachment procedure, and communication is relayed at the MAC layer, i.e., L2, by the selected eRelay UE. This procedure may include, for example, the mobile device acting as the eRemote UE sending an INDIRECT_COMMUNICATION_REQUEST message to the eRelay UE via PC5. Based on this, the eRelay UE sends a message to the relevant network function, which may be implemented as sending a UE-triggered service request message or similar to an Access and Mobility Management Function (AMF) or ProSe function in the 5G core network so that the 5G core network can determine a response that the eRelay UE should send toward the mobile device. The response from the core network is sent toward the eRelay UE by a 5G network function, such as the AMF or ProSe function. Based on this, the eRelay UE sends a response message, such as INDIRECT_COMMUNICATION_RESPONSE, to the mobile device via the PC5 interface. After a successful acknowledgement, the mobile device performs a process similar to the existing 5G core network registration process, with the main difference being that messages sent by the mobile device are not sent directly to the base station, but are relayed via eRelay UE to the base station and ultimately to the core network. The registration process begins with the 5G-NR RRC connection setup procedure. This procedure ends when the mobile device sends an RRCSetupComplete message containing an NAS registration request to the base station. The NAS registration request follows standard 5G procedures and includes the element Requested NSSAI. Based on this procedure, the base station (gNB) initiates the UE's registration to the 5G core network, which begins by forwarding the mobile device's NAS registration request to the AMF. The NAS registration request including the Requested NSSAI serves as a forwarding request message.As described herein, the AMF in this case implements most of the NRF. The AMF (potentially assisted by other network functions such as the ProSe function, constituting a distributed NRF) determines the optimal eRelay UE to which the mobile device should connect to optimally fulfill the Requested NSSAI, and also determines the Allowed NSSAI, i.e., the set of slice IDs (S-NSSAI) that the optimal eRelay UE can provide. In response to the NAS Registration Request, the AMF creates a response message, NAS Registration Accept, which includes a new information element indicating the "Allowed NSSAI provided by the optimal eRelay UE" along with the ID / address information of the optimal eRelay UE. Alternatively, the AMF may include multiple eRelay UEs, each with its own set of Allowed NSSAIs. This allows the mobile device to select an eRelay UE from the set of multiple "optimal" eRelay UEs. The NAS Registration Accept is sent back to the base station.
[0130] Subsequently, based on the received message, the base station transmits a message, for example, RRC Reconfiguration, which includes, as a new element in the message, an indication of the optimal eRelay, information about the "Allowed NSSAI provided by the optimal eRelay UE," or a set of eRelays and information about their respective Allowed NSSAIs. In response, the mobile device evaluates the new information, detects the presence of another eRelay UE that can better provide the slice indicated in the Allowed NSSAI, and restarts the relay procedure by connecting via the indicated optimal eRelay UE. This process may optionally include rediscovery of the eRelay UE.
[0131] Furthermore, the "Allowed NSSAI provided by optimal eRelay UE" information may be complemented by an optional field for each eRelay UE indicating the security context ID or application ID that the mobile device should use to correctly discover that eRelay UE.
[0132] Next, we will describe a second eProSe scenario in 5G, where slice information is present in the eProSe Discovery Model B message to enable the UE to directly select the most suitable relay device. Also, this example scenario assumes that the relay-capable device has already activated the relay function.
[0133] The second eProSe scenario involves a mobile device UE that loses and is unable to re-establish connectivity to the 5G core network and initiates an eProSe eRelay Discovery Model B procedure using eRelay Open Discovery. In this procedure, the mobile device plays the role of an eRemote UE. The mobile device first checks in its UE configuration whether authorization to perform this procedure has been granted by the ProSe function for out-of-coverage situations. If so, it checks its own UE configuration to see if the ProSe function has been granted authorization to operate as an eRemote UE when out of coverage. If this is also granted, the mobile device sends a PC5_DISCOVERY message on the sidelink (SL) spectrum of type eRelay Discovery Solicitation, requesting nearby eRelay UEs (also referred to as eProSe UE-to-Network relay UEs) to return their relay information. Open Discovery is used in this example, which means that the broadcast request sent is not protected by encryption, and any eRelay UE can parse the request without requiring a specific security context or key. Alternatively, a secure discovery procedure, eRelay Restricted Discovery, can be used to prevent possible information leakage, but this will not be described further. The eRelay Discovery Solicitation message may contain an additional element "Requested NSSAI", which is a list of one or more slice IDs (i.e., a list of S-NSSAIs) to which the mobile device wishes to be connected via the eRelay UE.
[0134] Each eRelay UE then reports the information and / or request NSSAI received from the mobile device, including the Requested NSSAI, to the ProSe Function using a forwarding request message, such as a MATCH_REPORT via the PC3 interface or its 5G equivalent. The ProSe Function implements the Network Relay Function and collects all forwarding request messages. For each eRelay UE, the ProSe Function determines the slices in the Requested NSSAI that the eRelay UE can provide to the mobile device via the indirect connection. This determination may involve communicating with other network functions, such as the RAN, base station, AMF, or a server containing MNO subscription information, to obtain an optimal determination of slices that can be supported.
[0135] The ProSe Function then sends a forwarding response message back to each eRelay UE, for example, using a MATCH_REPORT_ACK message over the PC3 interface or its 5G equivalent. This message to a given eRelay UE optionally includes an "Allowed NSSAI" additional information element, which is a list of one or more slice IDs to which the mobile device can connect via that eRelay UE (i.e., a list of S-NSSAIs). It may also optionally include a "Rejected NSSAI" additional information element, which is a list of one or more slice IDs for which the ProSe Function has determined that access via that eRelay UE is not possible.
[0136] Subsequently, each eRelay UE that receives the message (i.e., a message implemented, for example, as a MATCH_REPORT_ACK via PC3) sends a response message, implemented, for example, as a PC5_DISCOVERY message of type eRelay Discovery Response via interface PC5-D, to the mobile device. This message here includes the slice IDs included in the MATCH_REPORT_ACK as new elements. The new elements are an optional Allowed NSSAI if a given eRelay UE can act as an eRelay UE of the mobile device for a particular slice, and an optional Rejected NSSAI if the eRelay UE has been rejected by the ProSe Function from acting as an eRelay UE of the mobile device for a particular slice. Alternatively, the response message includes, as new elements, a Boolean or a set of Boolean values indicating support for the set of requested and / or supported slices. Alternatively, the response message is a message in another format that affirms that a match has been found between the requested slice and the list of slice IDs to which the mobile device can connect via the eRelay UE. The response message may be sent only if a given eRelay UE can act as a relay for the mobile device for the requested network slice.
[0137] The mobile device then receives this message from one or more eRelay UEs, which can select, for example, one eRelay UE that provides all or most of the network slices initially indicated in the Requested NSSAI. Alternatively, the mobile device may select an eRelay UE that provides few network slices but the most important (highest priority) network slice to which the mobile device wishes to connect. Using the selected eRelay UE, the mobile device continues the 5G core network attachment procedure, and communication is relayed at L2 by the selected eRelay UE. This procedure may, for example, first include the mobile device acting as the eRemote UE sending an INDIRECT_COMMUNICATION_REQUEST message to the eRelay UE via PC5. Based on this, the eRelay UE sends a message to the relevant network function. This may be implemented as a UE-triggered service request message or similar to an Access and Mobility Management Function (AMF) or ProSe Function in the core network, allowing the 5G core network to determine the content of the response that the eRelay UE should send to the mobile device. The response from the core network is sent by the network function towards the eRelay UE. Based on this, the eRelay UE sends an INDIRECT_COMMUNICATION_RESPONSE to the mobile device over the PC5 interface. After a successfully parsed positive response, the mobile device initiates a process similar to the normal 5G core network registration process, with the important difference that the associated traffic is relayed through the eRelay UE. The process begins with the 5G-NR RRC connection setup procedure. This procedure concludes with the mobile device sending an RRCSetupComplete message to the base station containing the Requested NSSAI, also following standard 5G procedures.Based on this procedure, a base station (gNB) initiates registration of the UE to the 5G core network, which includes connecting to one or more network slices.
[0138] In the third eProSe scenario for 5G, the discovery process is skipped, and instead, the requested slice identifier is sent as part of an INDIRECT_COMMUNICATION_REQUEST message to the eRelay UE via PC5. The eRelay UE performs a message exchange with the AMF or ProSe function (or other network function) to confirm whether the eRelay UE can and is authorized to act as a relay for the eRemote UE's communication with the requested network slice, and then sends an INDIRECT_COMMUNICATION_RESPONSE containing information (e.g., a set of authorized slice IDs, a Boolean value indicating support for the requested slice) to confirm that the eRemote UE can connect with the requested slice via the eRelay UE.
[0139] In another alternative, relaying may be done at layer 3 or via an application level relay, in which case the DIRECT_COMMUNICATION_REQUEST message (e.g., as defined in 3GPP® [23.287]) and DIRECT_COMMUNICATION_ACCEPT message (e.g., as defined in 3GPP® [23.287]) may be used instead of the INDIRECT_COMMUNICATION_REQUEST and INDIRECT_COMMUNICATION_RESPONSE messages, respectively.
[0140] In a further exemplary scenario, a vehicular mobile device may communicate with a destination in the network (V2X). The vehicular UE uses V2X 5G communications on two specific slices, "V2X" and "Entertainment," and may lose gNB coverage at some point. The vehicular UE initiates relay UE discovery and finds 10 candidates belonging to different PLMNs. Two of the candidates indicate in the discovery response message that they support both the V2X slice and the Entertainment slice. The vehicular UE selects the one with the highest signal quality of the two and initiates a connection to that relay UE as a remote UE. During the core network registration process, both slices are indicated to the vehicular UE as "allowed NSSFs."
[0141] Figure 5 shows an example of a multi-hop relay topology for a moving UE. The moving UE may have lost coverage while previously connected to a gNB / eNB. An out-of-coverage (OoC) UE may initiate a relay discovery process indicating that it requests slices X and Y. In the figure, both UE (1) and UE (3) receive the discovery message and send the OoC-UE's information, along with the requested slices X / Y, to the NRF in the CN via the gNB. The NRF may determine that slice X is related to Ultra Reliable Low Latency Communication (URLLC) and is best served over the fewest number of hops for minimal latency, while a high data rate is important for slice Y.
[0142] The NRF determines that UE(1) has the fastest connection to the gNB and sufficient bandwidth to add additional relay traffic, and also fills slice Y. The NRF then reports slice IDs of X and Y and a priority value of "high" to UE(1). The NRF may also authorize UE(1) to be a relay UE for the OoC-UE. Authorization may be performed according to a separate message / protocol or may be combined with the previous step. The CN may also (simultaneously) provide credentials to allow the relay UE to access the requested slice.
[0143] The NRF may report slice IDs of X and Y and a priority value of "low" to UE (2). Upon receiving the NRF's response, UE (1) may send a discovery response with slices X / Y and a priority of "high" to the OoC-UE.
[0144] The UE (3) may receive the NRF response and send a discovery response with slice X / Y and priority "low" to the OoC-UE.
[0145] The OoC-UE receives both discovery responses, selects UE(1) as a relay UE, and performs a connection process to this relay UE. Therefore, by performing the above procedure, UE(1) becomes a relay UE during the process. This can be done optionally if UE(1) determines that it has a high priority value and is therefore likely to be selected as a relay UE by the OoC-UE.
[0146] The above concepts may be mapped to 5G cellular communication systems (5GS). The Network Relay Function (NRF) may be mapped to the Network Slice Selection Function (NSSF) defined in 5G [23.501], or a combination of the NSSF and AMF [23.501], or may be a new separate network function. The requested slice / slice instance may be mapped to the Requested NSSAI [23.501], a temporary / encrypted slice identifier [33.813], or other newly defined identifiers. The allowed / supported slices determined by the NRF may be mapped to the Allowed NSSAI [23.501]. A slice ID may be mapped to the S-NSSAI [23.501], or a set of slice IDs may be mapped to the NSSAI [23.501].
[0147] The "discovery message" may also be a discovery-type message or an announcement-type message. The discovery message may be transmitted on sidelink (SL) scheduled resources. Alternatively, the discovery message may be a random access channel (RACH)-type message transmitted over sidelink or uplink (UL) unscheduled resources. It may also be transmitted over spectrum not defined by 3GPP, such as Bluetooth or Wi-Fi.
[0148] Furthermore, the discovery message sent by requesting the UE may optionally include the following: First, the UE may send a discovery message to find a relay or potential relay. The content of this message must include a request slice in the example of "NRF assisted relay selection" and may include a request slice in the example of "NF reconfiguration relay". Also, the discovery message may include any of the following: - a message header or message type indicating that the requesting device is asking another device to act as a relay for traffic from the requester, or - A message header or message type indicating that the requester is attempting to discover available relay devices.
[0149] The discovery message may also include information about the security context with which the UE operates or wants to operate, e.g., a slice-specific security context, encrypted authentication information provided by the eNB, encrypted PLMN keys, a security context identifier, a ProSe group ID or service ID, and associated group / service authentication information.
[0150] The discovery message may also include the reason why a relay is requested, such as low battery, out of range of a base station, poor signal to a base station, or a relay recommended by the NRF. This may include the received signal strength of messages received from nearby devices, which may help the NRF select a relay. It may also include device power state information, such as mains, battery, mains, or solar power, or current battery level information. Furthermore, it may include standard fields such as the transmitted signal strength of the message and the UE's identity. The UE's identity may optionally be a derived or temporary ID that the NRF / CN can calculate back to the actual UE ID if necessary for privacy reasons.
[0151] The discovery message may also include distance measurement data or other types of location information, such as speed (which may be absolute or relative) and / or heading / direction information of the mobile device. The mobile device 110 and / or relay device may be configured to perform distance measurements between the mobile device and the relay device. The connectivity processor 112 may be configured to enable distance measurements and forward the measured distances to the network to determine location data for the mobile device and / or relay device. By receiving one or more distance measurements between the mobile device and the relay device, the NRF can enhance the selection of the relay device. In practice, location data based on receiving transmissions from a mobile device is not very accurate, often having a tolerance of, for example, 100 m. In contrast, local distance measurements are much more accurate, often having a tolerance of, for example, 1 m. Combining multiple locations of multiple mobile devices with the distances between devices at such locations may improve the accuracy of the location data.
[0152] To detect the distance between the mobile device and the relay device, a special mode for measuring distance may be required for the devices, for example, by using Wi-Fi fine-time measurements as described in IEEE 802.11-2016, or by the MNO approving ProSe capabilities (as described in [23.303] and [24.334]) for both devices, allowing them to discover each other using sidelink D2D communication channels and perform distance or proximity measurements, such as by PC5 or Wi-Fi Aware distance measurements.
[0153] Possible contents of the request message (M) containing the requested network slice identifier may be as follows: If the requesting UE originates the request message as part of a registration procedure and is further sent to the NRF, the message may include a source address or identifier of the mobile device, i.e., the UE itself. The request message may also include QoS requirements or a set of requested QoS, e.g., a preferred set and an alternative fallback set. Furthermore, information about relay UEs in the area obtained during the original relay UE discovery process, such as signal strength, may be included. Alternatively, this information may be included in the forwarding request message (M') by the relay device or selected relay device for indirect connectivity and / or by the base station when forwarding the message from the UE to the core network. Alternatively, as mentioned above, the NRF may request this information and additional related information from the RAN, AMF, or other network functions.
[0154] When a relay device originates a message based on information received from a requesting UE, for example, during a discovery process or indirect connection setup, the relay UE may send a message to the NRF to indicate that the requesting UE is looking for the relay UE and may include its source address or identifier in the message.
[0155] The network relay entity (140) may be configured to obtain metadata from the cellular communication system, such as received signal strength, signal quality, or distance estimates. Alternatively or additionally, the forwarding request message includes metadata identifying the network connection method, quality of service (QoS) and hop count, connection stability information, and / or current connection conditions, such as frequency bands used or supported by the relay device. The network relay entity (140) may be configured to determine the network relay information based on the metadata.
[0156] Metadata may also be obtained from other sources in the cellular communication system, such as sources in the RAN or core network. For example, the hop count can be obtained from the base station, and distance estimates can be obtained from location services in the core network. Subscription information from the UDM may also be important, for example, to assess whether the relay UE is operated by the same MNO as the remote UE, whether the relay UE is authorized to access a particular slice, or whether it is authorized to act as a relay within a particular slice. UE capability information may be obtained directly from the UE, or may be provided (partially) by the UDM or the SCEF. Since resources for the relay UE and remote UE are typically scheduled by the base station, the base station is the device that knows whether the relay UE and remote UE can be provided with sufficient sidelink resources to fulfill a specific QoS request from the NRF to meet the QoS requirements of a particular network slice.
[0157] The NRF may determine whether the QoS requirements for a particular network slice can be met. QoS represents an important criterion for determining which relay devices can function as relays for a particular slice.
[0158] The NRF may use the properties / requirements of a particular slice to determine which relay to preferably use. For example, for an IoT slice, it may be desirable to select a relay device that is stationary or is not itself an IoT device.
[0159] The relay device may optionally include metadata about the requesting UE's message, such as RSSI, signal quality, distance estimate, or signal quality or distance estimate to another relay device, and may also include information identifying the current connection state, such as one or more of the following: - Direct / indirect connection method. - QoS information and / or number of hops to the gNB. - (Historical) connection stability information. - Buffer size. - Number of current connections. - Information about data flow or duty / sleep cycles. - The frequency bands currently used or supported by the relay UE.
[0160] The NRF may obtain such information by interfacing with the RAN / gNB or other core network functions. The RAN / gNB may provide additional information, such as information about resources available for sidelink communication per relay UE and remote UE. Upon receiving such information, the NRF may use it for its decision-making process. For example, the NRF may use the hop count together with QoS and / or signal quality information to determine whether a given relay UE can fulfill a slice requested by the UE. For example, if it is a slice that provides low-latency communication, a relay UE with a large hop count is not preferred. The NRF may even reject the use of a slice if it cannot achieve the latency required for the hop count and indicate this to the originating UE.
[0161] The message to the NRF may also optionally include the UE capabilities of the relay UE. The UE capability information may include: - It may contain information about relay capabilities, for example, specific constraint information on under what circumstances the UE can perform relaying. - Radio Rx / Tx speed category, or 3GPP UE class / level. - Radio frequency bands used or supported. - Processor performance class and / or current load. - Mobility information: fixed (e.g. roadside V2X nodes) or possibly mobile (e.g. mobile phones or worn sensors). Also, in the case of V2X for example, location / going information may be included. - Power source, battery level, or expected device operating duration information (which can be used to determine the optimal relay). - Identification of specific relay-related security contexts that the device already supports. - Preference for relaying a particular application type, application ID, or group ID. - Support for IP traffic and specific packet sizes. - Support for specific services, e.g. location support. - The type of relaying that the relay device can support, e.g., Layer 2 relaying (PDCP level) or Layer 3 relaying (IP level). The NRF can use this capability information to select the most suitable relay UE, taking into account the properties / requirements of the specific slice(s) requested. For example: - For IoT slices: A non-mobile, mains-powered node with sufficient resources and high-speed connectivity may be preferable as a relay UE over a battery-powered, mobile, and low-resource IoT sensor. - For IoT slices: To save battery, relay UEs that are not IoT devices themselves may be preferred over direct network connections for IoT devices. - For V2X slice: It may be preferable to use a relay UE that is itself within the V2X slice. For V2X slices: It may be preferable to use a relay UE that is moving in the same direction as the requesting UE, even if the relay UE is not in the same V2X slice. The NRF may use information about the frequency band currently used by the relay UE in the selection process. If the NF obtains information about the frequency band currently used by the relay UE, for example, from a message received from the relay UE, from the gNB, or from other means, the NRF may use this information to select which UEs cannot serve a particular slice. This may occur, for example, if the slice is associated with the use of a specific dedicated frequency band; for example, a "V2X" slice may use a V2X reserved frequency band. Some candidate relay UEs may not currently operate in this band and may not be suitable as relays for this slice. The NRF may exclude these candidate relay UEs from the selection process or include them as low-priority candidates.
[0162] As a fallback solution, such a relay UE could provide a V2X slice over another band. The same applies to NB-IoT / LTE-M devices that may be candidate relay UEs, e.g., that may operate in guard bands that may not be supported by cellular phones.
[0163] The requesting UE may indicate a security context or key to use for subsequent attachment to the relay UE. The security context for the relay may be tied to the security context for the slice. To establish a D2D connection in ProSe where the remote UE and the relay UE are used for relaying, they need to possess a shared security context (i.e., key material). In existing specifications, the security context is pre-configured at the application level, limiting the usefulness of the relay function to only devices with the same application context. In an extension, any unknown UE may be supported as a relay. The following may apply: The requesting UE may indicate in its discovery message the security contexts or keys C that it supports. This may be a slice-specific security context, a more general security context valid for multiple slices, or a security context within a given group of (third-party) devices, e.g., all medical devices in a hospital or a ProSe application group. The context information may also include a random ID or partial key that the NRF / CN can later use to derive the complete key. The relay UE may send information about the security context C to the NRF so that the NRF can obtain information related to the security context from the CN. The NRF may include information based on the above-mentioned key material or authentication information in a response message returned to the relay UE. The relay UE may then use the security information to accept a secure relay request from the requesting UE, which is done securely to prevent eavesdropping, replay, packet injection, etc. during the relay establishment protocol.
[0164] Note that when using the random ID or partial key, the security material is only valid for a temporary period of time, reducing the potential impact of a malicious relay UE storing and sharing the security material.
[0165] The CN may detect that a UE has become OoC. The CN may then request one or more UEs that it calculates as likely to be located near the OoC-UE to start broadcasting "available relay" messages, helping the OoC-UE quickly discover suitable relay UEs. In this case, the CN may include an NRF to determine the most suitable relay UE to make available in this manner based on the OoC-UE's previous slice information.
[0166] Furthermore, the NRF may authorize and instruct selected relay UE candidates to activate their relay function if they are not already operating as relays. This ensures a fast connection to the relay UE afterward because the selected relay UE is already activated and has network permission / authorization to operate as a relay UE. After determining the optimal relay device for the requesting UE, the NRF may notify the gNB of the decision result and the expected slice requirements from the requesting UE. This allows the gNB to begin scheduling resources appropriate to support the requesting UE. This has the advantage that resources appropriate for the requesting UE operation in the desired slice are already prepared and scheduled at the gNB before the UE is fully attached to the relay UE and CN. This reduces temporary QoS / bandwidth issues during relay transition or transition from a direct network connection to a relay connection.
[0167] Furthermore, if one of the requested slices is an "emergency" type slice, it may be prioritized in the selection process or receive special handling from potential candidate relay UEs; for example, those UEs may be automatically enabled to act as relay UEs and may be allowed to set up emergency connections to any of the discovered candidate relay UEs. Alternatively, the emergency slice may be automatically included in the discovery response by the candidate relay UEs. This may also apply to relay UEs participating in slices known to be of limited use (e.g., public safety). Because they are unlikely to act as relay UEs for other devices, the public safety slice may be automatically included in their response, and in some cases may not even contact the NF in the process.
[0168] Additionally, the discovery message or "request relay" message may include an identifier indicating the class of device or class of application with which the UE is associated. For example, medical devices could be another class, as could emergency service devices. The application class could be "municipal IoT applications." This identifier can help the UE determine whether it will act as a relay UE for devices exhibiting this particular identifier. This allows potential relay devices to configure the purpose for which they wish to assist in their relay role; for example, medical applications may be considered more important to users than purely commercial applications. Also, for example, due to regulations regarding medical data processing and transmission, not all relay devices may be capable of relaying medical or safety-related data. To prevent fraud (identifier spoofing), a cryptographic certificate, signature, or attestation element can be added to the communication to prove that the UE is part of the claimed application or device class.
[0169] If a UE moves out of range, it may still be able to weakly receive synchronization information and / or other broadcast messages from the eNB, but may not be able to return them due to long distance, signal blockage, or insufficient battery power or transmitter power (i.e., the eNB does not receive the device's messages). In such cases, the eNB may assume that the UE is still listening and proactively send specific instructions to the UE. For example, the network may instruct such a UE to begin requesting relaying, possibly including channel and timing information. Alternatively, the network may send the UE the optimal time to send a "request relay," e.g., as part of a discovery message.
[0170] If a UE has just lost connection with the eNB, it may use its (previous) synchronization with the base station as the basis for its local clock or detect a synchronization signal from a device operating in discovery mode. If it has just lost connection, the eNB may provide synchronization information to be given to various nearby candidate relay UEs. The information may include information on when the UE was last detected and / or a possible clock drift estimate and / or timing margin to adjust the listening time window to ensure the highest probability of hearing the expected transmission from the UE. Alternatively, the candidate relay device may receive information from the eNB about resources previously scheduled for the UE on the sidelink or uplink channel. The relay device can use this to listen for "relay request" messages at the appropriate time / frequency.
[0171] If a UE is already connected to a slice via a relay connection and detects that sufficient bandwidth / QoS is not available for the required / expected communication for the slice in which it is currently operating, the UE may initiate a request to one of the other candidate relay UEs it previously discovered based on the priority information indicated by the NRF. Alternatively, the UE may initiate a new discovery process or send a request directly to the NRF, providing (up-to-date) information on other relay UEs to select to satisfy the QoS properties of the slice. In this case, the NRF may be involved in initiating the discovery process among relay UEs and gNBs included in a specific geographical area near the UE.
[0172] Similar to above, the eNB / network may detect that the available bandwidth or QoS is insufficient and proactively initiate the process to find a suitable relay, in which case the UE is first instructed to send a "request relay" message and then instructed to connect to a specific relay or select from a set of relays.
[0173] It should be noted that users or operators of UEs that provide relay functionality to others may be rewarded or compensated for this effort. Compensation can take various forms, such as payment, the addition of usage credits to a mobile phone contract bundle, or specific service benefits (e.g., the ability to use other relay devices). To do so, some charging functionality may need to be extended. This may include specific charging functionality for acting as a relay UE for a specific slice (e.g., a private slice) where the relay UE may or may not have a contract to operate in that slice.
[0174] In a further detailed example, a set of Connection Context Identifiers (CCIs) is defined by the mobile network, whereby each CCI is mapped to a combination of PDU session parameters [23.501] (e.g., PLMN ID (+NID / CAG ID), S-NSSAI, DNN, PDU session type, etc.) and possibly additional parameters (e.g., group ID, QoS requirements, frequency, security context, etc.) that the remote UE may want to use to connect to the core network via the relay UE. Some of these parameters may impose restrictions on whether a relay UE is authorized and able to act as a relay for the remote UE.
[0175] Much of the above information is privacy-sensitive, may lead to tracking of remote UEs, and may expose operator deployment information (e.g., which slices / NPNs are supported by the core network). Therefore, it may be preferable to store and use this information within the core network as much as possible and not provide it directly to relay UEs, which may be considered untrusted end-user devices. Storing, using, and processing this information within the core network also makes it possible to address dynamic aspects of slice usage, e.g., to meet QoS requirements defined by service level agreements for network slices. Although remote UEs are also untrusted end-user devices, some of this information may need to be provided to them when they need to discover and utilize relay UEs to contact the network, since they are likely out of coverage. However, exposing some of this information is less of an issue for remote UEs, since they can only be provided with PDU session parameters enabled by the remote UE's contract. The case of a relay UE is different, since it may act as a relay for a diverse set of remote UEs (potentially even including inbound roaming remote UEs). The CCI that may be used by the remote UE may only be known to the operator of the remote UE, and thus may not be known to the relay UE at the time of discovery, but may be obtained from the home operator of the remote UE by the network operator of the relay UE (i.e., the visiting network).
[0176] Furthermore, given the potential number of slices and NPNs that can be supported by 5GC, the number of possible combinations of the above parameters could be very large, potentially requiring a very large number of CCIs.
[0177] To provide the relay UE with as few CCIs as possible and to ensure that remote UEs, which may potentially use unknown or outdated CCIs, can still discover the relay UE and request network access via the relay UE, one or more generic CCIs are used. While CCIs are bound to specific PDU session parameter sets and may be unknown to the relay UE, generic CCIs are identifiers (e.g., predefined values that may have a longer validity period and may be commonly used for various PLMNs) that can be used as "wildcards" to request access to any PDU session parameter set for one or more PLMNs. Generic CCI values may be mapped to or indicate wildcard values (e.g., asterisks) or other regular expressions. Generic CCI values may be associated with an initial security context, which allows the remote UE and relay UE to prove that the remote UE has the authority to issue discovery or connection setup requests that can be used to request access to a specific slice / NPN via the relay UE and / or to request the use of a specific PDU session parameter set. Generic CCIs may also be associated with default network slices for one or more PLMNs. Alternatively, the general CCI may be associated with an application context or a (V2X) application ID [23.287]. It is advantageous that at least one general CCI is provided to both the remote UE and the relay UE. The use of a general CCI may also facilitate support of Model A discovery (i.e., broadcasting "I'm here"), since these messages remain small and typically do not contain a large list of CCIs that may need to be changed periodically. Also, using a single identifier instead of including a potentially large list of identifiers in the request message makes it easier for the remote UE to discover all available options.The generic CCI may be used in remote and relay UEs as a trigger to include a specific CCI as part of a discovery message or connection request. Alternatively, a separate message could be defined to send the generic CCI, but the advantage of using a generic CCI is that the same discovery and PC5 connection setup messages can be reused.
[0178] The detailed procedure is shown below and in Figure 7.
[0179] Step 0: Before relay UE discovery can be performed, the remote UE and relay UE must be provided with the following information in advance, for example using a UE configuration update procedure [23.501] (e.g. initiated from the AMF or PCF): For remote UE: - One or more CCIs that the remote UE is authorized to use (including a flag for each CCI indicating whether it is a general or specific CCI). - A mapping between each CCI that the remote UE is authorized to use and the default destination layer-2 ID for the initial signaling to establish a PC5 unicast connection [23.287]. - A mapping between each CCI and a set of PDU session parameter values, which may include, among others, one or more of the following: - PLMN ID - NID / CAG ID - S-NSSAI -DNN - PDU Session Type For general CCIs, the set may be empty or a small parameter subset, may indicate a wildcard value (e.g., an asterisk, a regular expression, etc.), or may contain predefined special values (e.g., indicating a default slice). - (Optional) A mapping between each CCI and a security context (e.g., a set of credentials). - Policy to restrict the PDU session of the remote UE to the PDU session parameter values corresponding to the requested CCI. For relay UE: - One or more CCIs that the relay UE is allowed to expose and react to during discovery (including a flag for each CCI indicating whether it is a general or specific CCI). To reduce the exposure of potentially privacy-sensitive information, this should be a small subset of all CCIs that the relay UE may be able to handle and should be configured after consulting the AMF of the relay UE. - A mapping between each CCI that a relay UE is allowed to expose and react to during discovery and the default destination Layer-2 ID for the initial signaling to establish a PC5 unicast connection [23.287]. - (Optional) A mapping between each CCI and a security context (e.g., a set of credentials). - (Optional) Default destination Layer-2 ID for broadcast communications via PC5 [23.287].
[0180] It also needs to provide the AMF of the relay UE with the following information (this may be done in advance or by the AMF consulting with the respective network functions such as PCF, NSSF, UDM, etc. when it receives the forwarding request message (M)): - A large list of CCIs that the relay UE can handle and may be given permission to (including a flag for each CCI indicating whether it is a general or specific CCI). Since the AMF's list of CCIs is not necessarily updated at the same time as remote UEs (and relay UEs) that may be out of coverage for some time, the AMF should also keep a history of old CCI values. - A mapping between each CCI and a set of PDU session parameter values, which may include, among others, one or more of the following: - PLMN ID - NID / CAG ID - S-NSSAI -DNN - PDU Session Type
[0181] For general CCIs, the set may be empty or a small parameter subset, may indicate a wildcard value (e.g., an asterisk, a regular expression, etc.), or may contain predefined special values (e.g., indicating a default slice).
[0182] The PCF in the HPLMN of a UE that needs to be provisioned to be a remote UE or relay UE may interact with PCFs of other PLMNs (e.g., potential visiting PLMNs of roaming partners) to perform CCI allocation and management.
[0183] Step 1: The relay UE may periodically broadcast one or more CCIs for which it is configured using a (V2X) broadcast message over PC5. To keep the broadcast message small, the set of CCIs is preferably kept very small and preferably includes general CCIs.
[0184] Step 2: The remote UE can initiate discovery to find the relay UE by sending a Direct Communication Request via PC5 as described in TS 23.287, or a similar message, using the Request CCI as the (V2X) service / application identifier. If the Request CCI is a general CCI, the Direct Communication Request may include an additional CCI indicating the set of PDU parameters the remote UE wants to use. The Direct Communication Request uses the default destination Layer-2 ID configured for the Request CCI (or the Layer-2 ID of the target relay UE, if known) and, in the case of V2X, is typically sent over a sidelink shared broadcast / multicast channel, which can be received by multiple relay UEs. This Direct Communication Request message corresponds to the Request message (M) mentioned elsewhere in this document.
[0185] Step 3: One or more relay UEs may receive a direct communication request via PC5. If the CCI in the direct communication request matches a CCI known to the relay UE, the relay UE sends a registration request [23.501], service request [23.501], or dedicated request message to the AMF served by the relay UE (not only in CM_IDLE state but also in CM_CONNECTED state). The registration / service / dedicated request message contains the request CCI, and if the relay UE received additional CCI in the direct communication request in step 2, the additional CCI is included in the registration / service / dedicated request message. It is preferable to include the additional CCI instead of the general CCI. The relay UE may (re)use an existing PDU session previously established to connect to the relay UE's AMF to send the registration / service / dedicated request message. This registration / service / dedicated request message corresponds to the forwarding request message (M') used elsewhere in this document.
[0186] Step 4: The AMF served by the relay UE receives the forwarding request message (M') and verifies in the mapping table between CCI and PDU session parameters whether the relay UE is authorized to act as a relay UE for the given CCI, in particular for the associated network slice (indicated by S-NSSAI) and / or NPN (indicated by PLMN ID+NID / CAG ID).Furthermore, it verifies whether the relay UE can meet the requirements associated with the PDU parameters of the CCI, in particular whether it is capable and authorized to act as a relay for the associated network slice (indicated by S-NSSAI in the mapping table) and / or NPN (indicated by PLMN ID+NID / CAG ID), and whether it can meet the QoS requirements of that particular slice / NPN. To perform the verification, the AMF may request information from other network functions, such as the NSSF (about allowed network slices), the RAN (about the relay UE's capabilities and load, congestion, and signal quality), the SMF (about ongoing PDU sessions and their QoS), the UDM (for contract-related information), the PCF (for policy information, PDU session configuration, and QoS-related information), the NWDAF (for combined measurement information, analysis data, and history data), the ProSe function, and the application function. If the relay UE sends a general CCI to the AMF and no additional values are provided in the forwarding request message (M'), the AMF determines, for each set of PDU session parameter combinations, whether the relay UE is operable for them. If the CCI value is not part of the mapping to PDU session parameters in the AMF, the AMF may search for the history of previous CCI values or contact the AMF (or database) of another network operator's 5G network.
[0187] Step 5: If it is determined that the relay UE can act as a relay for a given CCI and its associated network slice, and / or NPN and other PDU session parameters, the AMF may send an RRC Connection Reconfiguration message and / or send a UE Configuration Update and / or dedicated message to the relay UE. This Connection Reconfiguration / UE Configuration Update / dedicated message may include information to perform the following: - Reconfigure an existing PDU session between the relay device and the network to accommodate relaying network traffic for a specific slice (e.g., change the DNN, connect to a different User Plane Function). - Update the UE configuration (possibly including different S-NSSAI information, different policy information, different authentication information) and issue a reconnect (which may result in, for example, a different Access and Mobility Management Function (AMF) being selected to operate for a network slice).
[0188] This Connection Reconfiguration / UE Configuration Update / Dedicated message may contain instructions to initiate additional PDU sessions with the network if the relay UE is already serving other remote UEs. This Connection Reconfiguration / UE Configuration Update / Dedicated message may also contain instructions to connect to another PLMN / NPN. It may also contain instructions to the radio access network (e.g., to send an updated list of allowed NSSAI values for the relay UE and / or the remote UE), or instructions to camp on a specific cell (identified by CAG ID in the case of a public network operated NPN, or by NID (together with PLMN ID information) in the case of a standalone NPN) to access the NPN.
[0189] In particular, the AMF may be configured (e.g., in the radio access network based on an NGAP message [38.413] from the AMF to the radio access network) with a CAG ID / NID that is part of the allowed CAG / NID list in the Mobility Restriction Information, and / or may be configured as a CAG cell that may broadcast the CAG ID / NID in the system information block, and / or the radio access network may be configured to report (in an NGAP message [38.413] to the AMF) for that base station a CAG ID / NID that indicates to the non-public network whether the relay device connects directly to a cellular base station configured as a CAG cell or whether the mobile device connects indirectly via a relay device, and / or may configure the PDU session of the relay device to connect to a cellular base station for which the CAG ID / NID is part of the allowed CAG / NID list in the Mobility Restriction Information.
[0190] If it is determined that the relay UE cannot act as a relay for a given CCI and its associated network slice, and / or NPN and other PDU session parameters, the AMF includes a "Relay Reject" error code for the request CCI as part of this Connection Reconfiguration / UE Configuration Update / Dedicated message. This Connection Reconfiguration / UE Configuration Update / Dedicated message may also include information about other CCIs (e.g., a list of CCIs for possible combinations of PDU session parameters that the relay UE can relay if only general CCIs are sent to the AMF), and information about other relay UEs in the vicinity. This Connection Reconfiguration / UE Configuration Update / Dedicated message corresponds to the Forward Response message (N') used elsewhere in this document.
[0191] Step 6: If relaying for the given CCI is not rejected by the AMF served by the relay UE in step 4 / 5, the relay UE performs PC5 unicast link security procedures [23.287] and sends a direct communication accept message [23.287] to the CCI remote UE, including the given CCI as a (V2X) service / application identifier. The direct communication accept message may include QoS information, IP configuration information (e.g., for Layer-3 relaying), and possibly additional information about the relay. The message may also include information about other CCIs and other nearby relay UEs. If relaying for the given CCI is rejected by the AMF served by the relay UE in step 4 / 5, the relay UE may not send a response to the remote UE, or may send a direct communication reject message [24.587]. This may be used to send the other CCI and information about other nearby relay UEs to the remote UE. This direct communication accept / reject message corresponds to the response message (N) used elsewhere in this document.
[0192] Step 7: After successfully completing steps 2-6, the remote UE may initiate indirect communication to the core network by using the PC5 connection set up between the remote UE and the relay UE using the Direct Communication Request / Accept procedure. The relay UE thereby relays the received traffic from the remote UE to the network. In the case of Layer 2 relay (i.e., forwarding PDCP messages), the remote UE can initiate / resume a PDU session by sending a registration / service request to the network. This requires the remote UE to restrict the PDU parameters it uses (e.g., in initial registration) to the configured PDU parameters associated with the CCI received in the Direct Communication Accept message. In the case of Layer 3 relay (i.e., forwarding IP packets), the remote UE receives IP address information from the relay UE that it can use to send IP traffic to the relay UE. The relay UE then forwards it to the correct destination based on the configured PDU parameters associated with the CCI. If the remote UE wants / needs to establish a PDU session using different PDU parameters (e.g., a different S-NSSAI or a different CAG ID / NID), the remote UE repeats steps 2-7. In the case of Layer 2 relaying, every time the remote UE sets up a new PDU session, the AMF must verify whether the PDU parameters used correspond to the CCI received in step 4. If not, the AMF may reject the PDU session or send an RRC reconfiguration or UE configuration update message to the remote UE via an indirect connection.
[0193] FIG. 6a illustrates a computer-readable medium 1000 having a writable portion 1010 containing a computer program 1020. The computer program 1020 includes instructions for causing a processor system to execute one or more of the methods and processes described above with reference to FIGS. 1-4 within the system. The computer program 1020 may be embodied on the computer-readable medium 1000 as a physical imprint or by magnetization of the computer-readable medium 1000. However, any other suitable embodiment is also contemplated. Furthermore, while the computer-readable medium 1000 is illustrated here as an optical disk, the computer-readable medium 1000 may be any suitable computer-readable medium, such as a hard disk, solid-state memory, flash memory, or the like, and may be non-recordable or recordable. The computer program 1020 includes instructions for causing the processor system to execute the methods.
[0194] FIG. 6b is a schematic diagram of a processor system 1100 according to an embodiment of the device or method described with reference to FIGS. 1-4. The processor system may include a circuit 1110, e.g., one or more integrated circuits. The architecture of the circuit 1110 is illustrated schematically in the figure. The circuit 1110 includes a processing unit 1120 (e.g., a CPU) for executing computer program components to perform a method according to an embodiment and / or to implement a module or unit. The circuit 1110 includes a memory 1122 for storing programming code, data, etc. A portion of the memory 1122 may be read-only. A portion of the memory 1122 may be non-volatile. The circuit 1110 may include a communication element 1126, e.g., an antenna, a transceiver, a connector, or both. The circuit 1110 may include a dedicated integrated circuit 1124 for performing some or all of the processing defined in the method. The processor 1120, the memory 1122, the dedicated IC 1124, and the communication element 1126 may be interconnected via an interconnect 1130, e.g., a bus. The processor system 1110 may be configured for wired and / or wireless communication using connectors and / or antennas, respectively.
[0195] In one embodiment, there is a system consisting of a device UE0 operating as a cellular communication user equipment and also capable of operating as a remote UE, and a device UE1 operating as a cellular communication user equipment and also capable of relaying network traffic from / to UE0 to / from a CCS capable of supporting relay operation (typically via a logical function called a Network Relay Function (NRF) which may be a separate network within the core network or radio access network of the cellular communication system CCS or may be combined / integrated with any core network function (e.g. AMF, PCF, SMF, etc.)). a. Device UE0 sends a message to relay device UE1. The message may include an (optionally encrypted) relay service code RSC1. The relay service code identifies or is associated with a set of PDU session-related attributes (e.g., PLMN ID (+NID / CAG ID), (ephemeral / encrypted) S-NSSAI, (ephemeral / encrypted) DNN, PDU session type, group ID, QoS requirements (e.g., 5QI), frequency, security context, etc.). Additionally, an (optionally encrypted) identifier of UE0 and an (optionally encrypted) identifier of UE1 are included (e.g., as part of secure envelope V). b. The relay device UE1 transmits RSC1 and, optionally, V or one or more (encrypted) identifiers (i.e., relay service code, UE0's identifier, UE1's identifier) received from device UE0 to the cellular communication system CCS. c) The relay device UE1 receives a message from the CCS that includes an encrypted relay service code RSC2, which is encrypted using authentication information shared between device UE0 and the CCS but not with device UE1. Preferably, a different relay service code (RSC') is selected from a set of spare relay service codes available in the relay device. d. The relay device UE1 sends a message containing the encrypted relay service code RSC2 to the device UE0. e. Device UE0 uses RSC2 instead of RSC1 in subsequent messages for relay device discovery and / or connection setup to the relay device.
[0196] This has the advantage that even though the discovery and connection setup messages themselves are not encrypted and authenticated and the relay service code is sent in the clear, an eavesdropper (including relay device UE1 as well as other relay devices and remote devices) cannot use RSC1 to track device UE0 after disconnection.
[0197] This is also done efficiently, since only the RSC used by the remote UE (i.e., device UE0) needs to be updated, and not all RSC values in all other remote UEs and / or relay UEs. Furthermore, this can work even when the remote UE is outside the coverage of the network's base stations. Advantageously, this procedure can also be combined with a procedure for the network to verify the authorization of the remote UE and relay UE to set up a relay connection for a specific relay service code and / or to set up a PDU session using PDU session parameters associated with the relay service code. Furthermore, this procedure can also be combined with a procedure for requesting a security key from the network for setting up such a relay connection. Furthermore, this procedure can also be combined with a procedure in which relay device 1 obtains or is provided with a set of privacy-sensitive PDU session-related parameters (e.g., slice identifier / NSSAI, DNN) associated with RSC1 for setting up a relay connection to the network (e.g., in the case of Layer 3 relay). This allows for faster and more secure connection setup.
[0198] The detailed procedure is shown below and in Figure 8.
[0199] Step 0: The CCS, particularly its Network Relay Function (NRF), provides the device UE0 (i.e., remote UE) with a set of relay service codes identifying or associated with one or more PDU session-related parameters (e.g., S-NSSAI, DNN, etc.). This set may be limited to only those relay service codes associated with PDU session parameters that UE0 can use based on the contract information in the CCS. The relay device UE1 (and other relay UEs) is provided with a set of relay service codes that UE1 can use / respond to during discovery, but the respective associated PDU session-related parameter information may or may not be provided. Preferably, some of the relay service codes provided to the relay device UE1 are not yet assigned to remote UEs and / or not yet assigned to a set of PDU session parameters (in the network or any remote or other relay UEs) in these initial steps, and are thus considered spare (i.e., redundant / unassigned) relay service codes. During step 0, the relay UE may further be provided with a policy indicating the type of connection it supports, and a long-term public / private key pair or other security material (e.g., as described in steps 2 and 5 below) or temporary ID or a randomization function for generating temporary IDs that the remote UE (or relay UE) should use in subsequent messages for setting up the relay connection via the relay UE. Preferably, the policy and / or PDU session parameters may be signed by the core network together with the associated long-term public key.
[0200] All other data (relay service code, PDU session parameters, policies, security material) can also be signed by the core network.
[0201] Step 1: This is an optional step in which device UE0 and relay device UE1 exchange (via PC5) some discovery information, such as the relay service codes they support (as described in the following steps) and the relay device's identification information, that will enable device UE0 (the remote UE) to select relay device UE1 as the relay device it wants to use to send and receive messages to and from the CCS. The relay service code RSC1 may be used in the discovery exchange. For security and privacy reasons, discovery information such as the relay service code needs to be protected (e.g., by encrypting it using a pre-configured discovery key, which is preferably decryptable only by relay devices authorized to support the relay service code requested by the remote UE). For further privacy protection (including preventing tracking of remote UEs during discovery by these UE-to-network relays), remote UEs should frequently change the Layer 2 identifier used in discovery request messages (e.g., "Model B") and preferably use a different Layer 2 identifier for each subsequent request message. The remote UE should also randomly space between sending two subsequent messages (e.g., by skipping a random number of resources allocated / scheduled for sidelink discovery) to avoid pattern detection, and should alternate, if possible, with requesting other relay service codes that the remote UE supports, or by requesting using fake / random relay service codes that the remote UE does not support, or by frequently changing the keys to encrypt / integrity protect the discovery message payload.
[0202] The relay device may send a nonce and its public key in the discovery message. Additionally, the relay device may send its policies, and / or the types of connections it supports, and / or the PDU session parameter values or combinations of parameter values it may allow. The relay device may include a signature to verify the authenticity of the transmitted information. For efficiency, this may be transmitted to the remote UE only upon request.
[0203] The remote UE may verify the information (e.g., policy and associated public key) received in the previous step (e.g., by verifying that it is properly signed by the core network) and may conclude that the relay UE supports its requirements (based on the received policy, relay service code, PDU session parameters / connection type). The remote UE may proceed to encrypt the PDU parameters or relay service code that it wishes to request from the relay UE using the received public key.
[0204] Step 2: The device UE0 sends a request message M (e.g., a direct communication request message or a discovery request via PC5). This message includes a relay service code RSC1 and may further include a payload / envelope V. The payload / envelope V may include a Layer 2 identifier or other identifier (e.g., GPSI / TMSI / IMSI / SUPI / SUCI / GUTI, or a signature / hash / security authentication information associated with or indicating the identity of the relay device UE1) received from the relay device UE1 during step 1 or by other means (e.g., an identifier received / generated by an application running on the device UE0, or a temporary ID received in step 0).
[0205] Payload / envelope V may also include UE0's (unique) identifier (e.g., GPSI / TMSI / IMSI / SUPI / SUCI / GUTI, or the temporary ID received in step 0). The relay service code and / or payload / envelope V may be encrypted by a key derived from UE0's USIM. Alternatively, the relay service code and the identifiers of device UE0 and relay device UE1 may be encrypted separately and included as separate parameters / fields in message M, or may be combined before encryption (e.g., some bits of UE0's identifier are concatenated with some bits of UE0's identifier, or a hash of each identifier is combined) and then included in message M. Note that SUCI stands for Subscription Concealed Identifier (SUCI), a privacy-protected identifier that contains the hidden SUPI. The UE generates the SUCI by using an ECIES-based protection scheme with the home network's public key, which was securely provided to the USIM during USIM registration. The relay device UE1 cannot decrypt it to obtain the SUPI because it does not have the corresponding private key for decryption. The SUCI value also includes the plaintext Home Network Identifier (e.g., Mobile Country Code / Mobile Network Code), but is considered an encrypted identifier in the context of this description, i.e., the encryption scheme does not necessarily need to protect all bits of the identifier. The identifier may also be sent unencrypted within the same message, and the message may include a Message Authentication Code / hash / nonce / digital signature (e.g., generated using a cryptographic hash function such as HMAC) for integrity protection that may be required for forwarding to the network for further verification. Note that the Message Authentication Code may also cover the encrypted value and identifier to ensure that the encrypted value and identifier have not been tampered with.All of these different ways of combining the information from UE0 and UE1 represent a protected / securely signed indicator that device UE0 acting as a remote UE has selected relay device UE1 for setting up an indirect / relayed connection between UE0 and the CCS. The encryption method or (cryptographic) hash function may use additional values as seeds, for example a counter to prevent replay attacks, or other information received from relay device UE1 or derived from previous messages from relay device UE1 (e.g. PHY level information such as time of flight of the discovery message device received in step 1). These values may be added to the (encrypted) payload / envelope. The key used for encryption may be a key derived from UE0's USIM, a public key (e.g. provided by the CCS or relay UE), or key material received from the relay UE during (limited) discovery, or a pre-shared key (e.g. some key material to be used during such a procedure (e.g. a root relay connection key such as the ProSe Relay User Key (PRUK) defined in TS 33.303, or long-term authentication information in TS 33.536 that forms the root of security for the PC5 unicast link) may have been pre-provisioned to the remote UE (e.g. together with other information in step 0), and different key material may be used depending on whether the remote UE is in or out of the coverage of the gNB) (or e.g. some key material to be used for a particular relay UE or within a particular tracking area may be pre-provisioned). The key used for encryption may be the same key identified by the home network public key identifier in the remote UE's SUCI.
[0206] By combining UE0's (encrypted) identifier (e.g., SUCI / 5G-GUTI) with the (encrypted) identifier of UE1 selected by UE0 (e.g., by enclosing it in a secure envelope and / or including the message authentication code described above), it can be ensured that only the relay UE selected by UE0 can properly participate in this procedure (i.e., representing a protected / securely signed indicator that the device UE0 acting as a remote UE has selected the relay device UE1 to set up the indirect / relayed connection between UE0 and the CCS). Furthermore, it can be prevented that a malicious UE can track UE0 based on knowledge it may have gained about the relay service code by intercepting traffic, manipulate / replay / interrupt the procedure, and gain access to privacy-sensitive information about UE0 or UE1. This works even if the message itself is not encrypted or authenticated and the relay service code is sent in the clear.
[0207] The request message M may be received by multiple relay devices. For additional privacy protection, the remote UE should select a Layer 2 ID for the direct communication request that is different from the Layer 2 ID used in the previous Model B discovery request message (e.g., by selecting a new random source Layer 2 ID). Indeed, preferably, the device UE should also use a different Layer 2 identifier each time it sends a request message (M), or at least one that is different from the immediately preceding request message (M).
[0208] Step 3: After receiving the request message M, the relay device UE1 transmits a message N (e.g., a service request, registration request, PDU session establishment request, relay request report, or other RRC or NAS message, or by directly forwarding a communication request), also referred to as a forwarding request message, to the cellular communication system CCS, containing RSC1 and V or one or more of the encrypted identifiers received from the device UE0 in the message M in step 2 (either directly or decrypted / re-encrypted). The message N may also contain the message authentication code received from the device UE0. Furthermore, UE1 may verify the presence of its own nonce to prevent replay attacks (e.g., if a nonce was sent to UE0 in step 1). Alternatively or additionally, the relay UE may limit the number N of messages to the CCS resulting from the received message M (e.g., based on a policy provided by the PCF, which may set such a limit (possibly per RSC)).
[0209] Step 4: After receiving the message N containing RSC1 and V or one or more encrypted identifiers, the CCS, in particular the NRF, determines (e.g., using core network functions such as the Policy and Control Function (PCF) and / or the Direct Discovery Name Management Function (DDNMF)) which RSC2 should be used next time instead of RSC1. Such a new relay service code RSC2 can be used instead of the original value RSC1, but can be considered as a kind of alias of the original RSC1, e.g., associated with the same PDU session parameters and authorization policies. Preferably, the relay service code RSC2 is selected from a set of spare relay service codes already stored in the relay device UE1. The advantage of doing so is that only UE0 needs to be updated, and not the relay device UE1, other relay devices, or remote UE devices. These devices can later be updated using the normal PCF or DDNMF provisioning procedures, e.g., occasionally when they are in coverage and connected to the network, or after all spare relay service codes have been used to update remote UEs using the procedures described herein. Preferably, the spare relay service code is not already assigned to a set of PDU session parameters, or is assigned to default, generic, or bogus PDU session parameters.
[0210] The CCS (e.g., using core network functions such as the AMF together with the Authentication Server Function (AUSF), the Unified Data Management Function (UDM), and the ProSe Key Management Function (PKMF)) may decrypt V or the encrypted identifier and securely determine that the message N received from the relay device UE1 in step 3 is associated with UE0 and the relay device UE1. To this end, the CCS may verify the integrity or authenticity of the secure envelope V and / or the contents of the message N and / or bind the decrypted identifier with other identifying information stored in the CCS for device UE0 and relay device UE1. In other words, it may verify whether the protected / securely signed indicator (or a different representation thereof) (e.g., if the relay device UE1 is authorized to re-encrypt part of the original indicator from UE0 or to decrypt the encrypted identifier for UE1 and replace it with another secure representation of the device UE1's identity) indeed proves that the relay device UE1 has been selected by the remote UE (i.e., device UE0).
[0211] This step may be combined with a step of verifying authorization of the remote UE and relay UE by the network to set up a relay connection for a specific relay service code and / or to set up a PDU session using PDU session parameters associated with the relay service code, and / or with a procedure for requesting a security key from the network for setting up such a relay connection. To that end, the exchanged messages and / or the contents of messages N and N′ may be combined with messages used for the authorization / relay security setup procedure (e.g., message N may be a NAS Relay Authorization Request / Key Request message or a similar message, and / or each message may be extended with a field holding the encrypted relay service code or one or more of the encrypted identifiers received from device UE0, and message N′ may be a NAS Relay Authorization Response / Key Response message or a similar message, and / or each message may be extended with a field holding the decrypted relay service code or one or more decrypted identifiers and the (encrypted) new relay service code RSC2). To determine the value of RSC2 (e.g., selected from a set of spare relay service codes or new (i.e., a relay service code not previously used or not currently assigned), the CCS may manage a set of tables that record which relay service codes have been used by which remote UEs, and / or which PDU session information has been exposed to one or more relay UEs, and / or which relay service codes are available (e.g., as spare relay service codes) at one or more relay or remote UEs. The CCS may prevent replay attacks by not allowing the same message N twice (within a certain time window).
[0212] Step 5: The CCS sends a response message N' (e.g., a Service Request Response, RRC Connection Reconfiguration, UE Configuration Update, Relay Request Response / Relay Accept, or other RRC or NAS message) to the relay device UE1. Message N' includes RSC2, which is known or encrypted with a key from which UE0 can derive a decryption key but which the relay device UE1 cannot. Examples of such a decryption key could include a key based on UE0's USIM credentials (e.g., encrypted by the most recent remote UE's Kausf (see [TS33.501]), or the remote UE's signed public key (which may be sent to the relay UE as part of a direct communication request that is then forwarded to the core network), or a decryption key derived from key material provided during the initial provisioning of the remote UE (e.g., along with other information in step 0).
[0213] Step 6: The relay device UE1 sends a response message M' (e.g., a direct communication response message or a direct discovery response message via PC5 or by forwarding message N') to UE0, and the response message M' includes the encrypted RSC2 received by the relay device E1 as part of message N' in step 5.
[0214] Step 7: UE0 decodes RSC2 and updates a table containing the set of relay service codes and their associated PDU session parameters received in step 0, or saves information in memory or non-volatile storage that RSC1 is being replaced by RSC2. If not already initiated, UE0 may initiate an indirect communication session with the CCS via relay device UE1, utilizing the PDU session attributes associated with RSC1.
[0215] Step 8: During subsequent discovery and connection setup messages via PC5, UE0 uses (decoded) RSC2 instead of RSC1 to find or set up relay connections that were associated with RSC1 but that are also associated with the same PDU session attributes or are newly (i.e., after step 6) associated with the same PDU session attributes and are expected to utilize PDU session attributes.
[0216] In a further element of one embodiment, the relay device UE1 is provisioned by the CCS to store only a set of relay service codes without information about PDU session parameters, or each relay service code is associated with a set of unique temporary identifiers (e.g., temporary slice identifiers or temporary DNN identifiers known to the CCS to be bound to the same S-NSSAI) that represent privacy-sensitive PDU session parameters.
[0217] The advantage of doing so is that the remote UE can search for one of the spare service codes next time, and the relay UE cannot associate the spare service code with the same slice / DNN or the same remote UE (assuming the Layer 2 ID has changed in the meantime). Note that RSC2 is assumed to be encrypted using a key that can only be decrypted by device UE0 (e.g., a key derived from the USIM credentials of device UE0). The identifier of UE0 may be, for example, a Global Unique Temporary Identifier (GUTI), a Temporary Mobile Subscriber Identity (TMSI), or a Subscription Concealed Identifier (SUCI). The identifier of UE1 may be a Layer 2 identifier used in the PC5 discovery message or other PC5 message received from relay device UE1, or another identifier (such as GUTI / TMSI / SUCI) received as part of the PC5 discovery message or other PC5 message received from relay device UE1. Only if an unupdated remote UE appears and searches for the old RSC, the previously selected relay UE may still know the slice information. This can be mitigated by limiting the validity period of the RSC, and / or by reusing the RSC for other PDU session parameters (so that the relay UE cannot reliably know the PDU session parameters corresponding to a particular RSC), and / or by updating all remote UEs, or potential remote UEs in the vicinity of the relay UE (e.g., within a particular tracking area), to use RSC2 instead of RSC1 (e.g., by performing a policy update or UE configuration update).It should be noted that the relay device UE1 may automatically publish or respond to RSC2 during PC5 discovery if it is part of the set of spare relay service codes, or may be triggered by the CCS by sending a separate message to the relay device UE1 containing one or more relay services including RSC2, preferably at a random time after UE0 disconnects (to ensure that the relay device UE1 is unable to associate RSC1 with RSC2).
[0218] Reuse of relay service codes is possible (e.g., by tying PDU session parameters in the CCS to a specific remote UE and relay UE combination), but this may require complex management. After a while, if all spare relay service codes are used, or if there is a policy to occasionally update all relay service codes, all (potential) remote UEs and (potential) relay UEs need to be given a new set of relay service codes. In that case, UEs typically need to be within the coverage of a core network base station to connect directly and securely to the core network without a potentially insecure connection via a relay UE. If some (potential) remote UEs are out of coverage for an extended period of time, these UEs may continue to use an old set of relay service codes when discovering and connecting to relay UEs because they have not been updated. This may introduce errors and may also pose security and privacy risks. When a remote UE with outdated information connects to the relay device, it is preferable to send a relay service code encrypted using (U)SIM authentication information (e.g., the remote UE's latest Kausf) along with a freshness parameter indicating that the keys have not been updated for some time (e.g., by using a key freshness parameter or the value of the date and time when an updated set of relay service codes was last received). If this parameter indicates that the remote UE's relay service code and keys have not been updated for some time, the relay UE and / or CCS should reject the use of this relay service code, reject the setup of the relay connection, and not provide the relay UE with PDU session parameters. In such a situation, the relay UE may send the encrypted relay service code and freshness parameter to the CCS. The CCS can then assign a new RSC2 to the remote UE (and relay UE) and send it back to the relay UE as an encrypted payload.The relay UE sends it to the remote UE, which can then connect to the network using this new RSC2 (e.g., by using the default set of PDU session parameters for the default slice).
[0219] It will be appreciated that it is possible to use both an encrypted identifier and a selection of an RSC from a set of spare RSCs in conjunction.
[0220] In a further element of an embodiment, the cellular communication system CCS transmits a message N′ to the relay device UE1 containing the encrypted relay service code RSC2 or containing PDU session information related to RSC1 only if the received secure envelope V or the output of the decryption of the received encrypted identifier represents the identifier of the relay device UE1, or if the message authentication code forwarded by the relay device and originating from UE0 represents an unmanipulated identifier, or if the information received in the message N can be used to uniquely identify the relay device UE1.
[0221] The advantage of doing so is that relay UEs not selected by the remote UE cannot receive the new RSC2 or the PDU session information related to RSC1 by replaying the message from the selected relay UE or by sending their own message containing RSC1 to the CCS. Note that it is assumed that the protected envelope V, encrypted identifier, or message authentication code is coded / encrypted / encoded / hashed using a key derived from the USIM authentication information. The CCS may use the information provided by the message payload containing the encrypted envelope V, encrypted identifier, or message authentication code to perform additional verification that relay device UE1 is authorized / authorized to act as a relay UE for the remote UE and send the encrypted verification code to device UE0 as part of the same message containing the encrypted relay service code RSC2.
[0222] In a further element of an embodiment, RSC1 is added to a protected envelope / payload V or sent as an encrypted value (e.g., using a public key received during relay discovery) as part of message M. The encrypted RSC1 may then be included in message N by the relay device, and the CCS may send a message to relay device UE1 containing the encrypted relay service code RSC2 or PDU session information associated with RSC1 only if RSC1 (e.g., using the original encrypted version or decrypted or re-encrypted version) and a unique identifier for UE1 are included in message N, or if RSC1 is included and relay device UE1 can be uniquely identified using the information received in message N.
[0223] In one example, the payload of message M may include the SUCI or 5G-GUTI of the remote UE (i.e., ID_Remote), and / or the encrypted relay service code (RSC), and / or the SUCI or 5G-GUTI of the relay device selected by the remote UE device (UE0) (i.e., ID_Relay). Additionally, or independently, the payload of message M may include the nonce N_Relay received from the relay device (UE1), a new nonce N_Remote generated by the remote UE device, and / or a message authentication code. The relay service code and the identification information of the selected relay UE may be encrypted (together) to prevent an eavesdropper from linking these identification information to the remote UE device. Preferably, the encryption is performed using a key / authentication information that allows the CCS to decrypt the information while preventing the information from being decrypted by the relay device (or at least non-selected relay devices). This ensures that only the relay device selected by the remote UE receives PDU session parameters from the network, is authorized, and / or obtains the key for setting up the relay connection. The key used for encryption (K_enc) may be derived from the USIM (e.g., the most recent Kausf or Kseaf that the remote UE established with the CCS), or from the long-term security material for the relay connection or PC5 link setup received in step 0 (e.g., the PRUK as defined in TS33.303, or the long-term authentication information as defined in TS33.536, or other pre-shared or public key for securing communication between the CCS and the remote UE). The nonce N_Relay and / or N_Remote may be used as additional inputs to the key derivation function. As an example, if RSC and ID_Relay are jointly encrypted, the message authentication code may be calculated using the integrity key K_int as follows:After receiving the MAC(K_int, ID_Remote|N_Relay|N_Relay|ENCRYPT(K_enc, RSC|ID_Relay)) message M, the relay device UE1 sends a message N to the CCS. The message N may include the ID_Remote, the (encrypted) relay service code and / or the (encrypted) ID_Relay of the selected relay device (e.g., SUCI / 5G-GUTI), or an encrypted binding value of the RSC and ID_Relay (e.g., ENCRYPT(RSC|ID_Relay)). It should be appreciated that the SUCI is already an encrypted identifier itself, but can be encrypted again using a different key, which has the advantage of securely binding the identifier to the RSC.
[0224] Message N may include a nonce and a message authentication code in the NAS relay authorization request / key request. Upon receiving message N, the CCS (e.g., AMF and AUSF / UDM / PKMF) may derive K_enc and K_int based on ID_Remote and the received nonce, check the integrity of the message fields, and decrypt the encrypted RSC and / or the encrypted value ENCRYPT(RSC|ID_Relay) to obtain RSC and ID_Relay. The CCS may also verify that ID_Relay matches the identity of the UE-to-network relay that sent the message before proceeding with subsequent procedures. The CCS and / or relay device may track the used nonce and discard the message if the nonce is reused to prevent replay attacks. Similarly, the CCS may track the used 5G-GUTI or SUCI to ensure that the same value is not used multiple times. The CCS may track the number of requests from a particular remote UE, relay device, or remote to ensure that the maximum number of requests within a specific time window is not exceeded. The CCS may send its nonce to a remote UE or relay device and wait for a confirmation message from the device that uses it.
[0225] As mentioned above, only the CCS can decode the requested relay service code. If the relay device UE1 has been pre-configured with PDU session attributes associated with the supported relay service code during initial provisioning, the decoded relay service code needs to be provided to the relay device after being decoded by the CCS, preferably only after it has been confirmed that the relay device and the remote UE are authorized to set up a relay connection for that relay service code via the selected relay device. This can be done by adding the decoded relay service code to the response message N'. The relay device may use the decoded relay service code to obtain the PDU session attributes associated with the relay service code and set up a PDU session to the core network according to those PDU session attributes.
[0226] In the above embodiment, ID_Remote is sent without additional encryption (i.e., the SUCI itself is already encrypted by the home network public key) and can be used by the CCS (after being forwarded by the relay device) to identify the corresponding decryption key or to select the correct AUSF, PCF, UDM, PKMF, or other network service responsible for the remote UE's authentication, provisioning / configuration, contract, prose key management, and other network services in the home network or visiting network. For example, after selecting the correct AUSF / PCF / UDM / PKMF, the CCS (e.g., acting as the AMF of the relay device) may provide a decryption key (e.g., derived from Kausf) for decrypting the encrypted value ENCRYPT(RSC|ID_Relay) or ask the corresponding network service to decrypt the encrypted value ENCRYPT(RSC|ID_Relay). The CCS may use ID_Remote to select the correct PCF or other network service responsible for allocating a new relay service code. To further protect the identity of the remote UE, ID_Remote is not sent in the clear, but is also sent as part of an encrypted value (i.e., by concatenating RSC, ID_Remote, and ID_Relay before encryption, possibly using a key / authentication information that the relay device cannot decrypt but that allows the CCS to decrypt the information)). After being decrypted by the CCS, ID_Remote is preferably provided to the relay device (in the response message N') only after it has been verified that the relay device and remote UE have the authority to set up a relay connection for that relay service code via the selected relay device.
[0227] The advantage of doing so is that other nearby remote UEs that may use the same RSC and have been provided with PDU session parameters associated with that RSC cannot track other remote UEs and violate their privacy by monitoring unprotected PC5 discovery and connection setup related traffic, because the RSC is not transmitted in the clear in this case and the remote UE does not know about the RSC2 that will be used after disconnecting from the relay UE. Also, by securely binding the relay service code (e.g., via a protected payload / envelope or message authentication code decodable only by the core network), a malicious relay UE cannot easily replace the relay service code with a different one. Furthermore, non-selected relay UEs cannot easily request the CCS to participate in relaying with the remote UE for the relay service code.
[0228] In a further element of the present invention, which may be combined with any other embodiment or implemented independently, the device UE0 is provided with a set of spare / equivalent RSCs associated with the same PDU session parameter set, and the device UE0 selects one of these spare / equivalent RSCs (e.g., randomly or by periodically rotating these spare / equivalent RSCs) in a discovery or connection setup message to the relay UE via PC5.
[0229] This makes it more difficult for other UEs to understand the correlation between the RSC values and the PDU session parameters, and increases the validity period before the RSC values, and their mapping to the PDU session parameters, must be updated.
[0230] In a further element of an embodiment that may be combined with any other embodiment or implemented independently, device UE0 and / or relay device UE1 are provided in step 0 with the necessary policies, rules, and information (e.g., value ranges, wildcards, randomization seeds, functions for generating them, e.g., hash functions such as SHA-2 or SHA-3, extensible output functions such as SHAKE, or DRBG as defined in NIST.SP.800-90) to enable them to pseudo-randomly generate a currently valid RSC based on time (assuming the remote UE knows the current time via its internal clock or an external reference clock (e.g., provided using a synchronization frame from a base station or relay device)) by using a pseudo-random function (PRF). To address slight time differences that may result in different Relay Service Codes (RSCs), a message exchange between the remote UE and relay UE (e.g., the following challenge / response authentication handshake, in which the seed RSC is the key) may be performed, assuming both parties have the seed for generating the RSC. a) The remote UE announces its presence by randomly generating a nonce N_UE and broadcasting it. b) The relay UE receives N_UE, generates a nonce relay N_R, and for every supported seed_RSC_i (where i is the index), derives a pseudo-random RSC as PRF_RSC_i=Truncate(HASH(seed_RSC_i|N_UE|N_R),b_bits), where Hash() is the hash function, | denotes concatenation, and Truncate(X,b) returns b bits of X, e.g., the b least significant bits. c) The relay UE returns its N_R and all calculated PRF_RSC_i. d) The remote UE performs a similar operation based on the received N_R to check if one of the PRF_RSC_i is the same. If there is a match, it selects that relay.
[0231] After connecting to the relay UE using an RSC valid at that particular time (which may have run a corresponding pseudo-random RSC generator for one or more remote UE groups and / or used a wildcard for the matching RSC for one or more remote UE groups), the CCS may in step 4, instead of or in addition to determining RSC2, generate a new range, wildcard, randomization seed for the pseudo-random RSC generator and send this information as part of message N' by encrypting it with a known key or a key from which UE0 can derive a decryption key but relay device UE1 cannot (e.g., based on UE0's USIM authentication information).
[0232] The advantage of doing this is that over time, as more relay service codes are used, it becomes much more difficult for an eavesdropper (including remote UEs running other pseudo-random key generators or using other ranges or seeds) to tie a relay service code to a particular remote UE and a particular set of PDU session parameters. In this way, duplication of relay service codes between remote UEs can be prevented without hindering scalability.
[0233] In a further element of an embodiment that may be combined with any other embodiment or implemented independently, device UE0 includes a Global Unique Temporary Identifier (GUTI), a Temporary Mobile Subscriber Identity (TMSI), or a Subscription Concealed Identifier (SUCI) as part of message M to the relay UE and subsequent message N to the CCS in order for the CCS to uniquely identify the remote UE. Upon receiving message N, the CCS sends the new encrypted GUTI or TMSI or SUCI to device UE0 via relay device UE1.
[0234] The reason for this is that the GUTI, TMSI, or SUCI may have to be sent in the clear via PC5 along with the discovery and / or communication request in order for the CCS to be able to identify the key to use to decrypt the protected envelope V and / or the encrypted identifier. In this case, an update is required as the GUTI / TMSI / SUCI is made public and should not be reused. The CCS may also verify that the GUTI / TMSI / SUCI sent with the message corresponds to the identifier of UE0 sent within the protected envelope V or as an encrypted identifier.
[0235] In a further element of an embodiment, the CCS sends as part of the response message N′ an updated Layer 2 ID or other updated identifier of device UE0 and / or relay device UE1 (e.g., an update to the temporary identifier received in step 0) to be used in subsequent messages between UE0 and UE1. Alternatively, device UE0 and / or relay device UE1 may assign themselves a new Layer 2 ID upon receiving the response message N′, or after sending the response message M′, or after UE0 and UE1 have disconnected from each other, or the CCS may trigger device UE0 and / or relay device UE1 to update their Layer 2 ID by sending a separate message.
[0236] The reason for this is that Layer 2 IDs or other (temporary) identifiers used between UE0 and UE1 may be transmitted unencrypted in message exchanges, potentially exposing privacy-sensitive information. Therefore, Layer 2 IDs or other (temporary) identifiers transmitted unencrypted between UE0 and UE1 must be updated to provide additional protection against malicious tracking of devices. Note that UEs typically use a GUTI / SUCI, where the SUCI is an encrypted version of the SUPI and is used to hide the UE's long-term identity. After authentication using the SUCI, the UE is assigned a GUTI for subsequent connections. In this document, a temporary identifier is introduced as an alternative. This is because a relay may collect many GUTIs or SUCIs. A relay may also prevent the UE from receiving a response from the CN. This may affect the remote UE if it sends its own GUTI and does not receive the expected response. This may force the UE to use a more expensive SUCI next time. In general, a relay may cause synchronization errors in the GUTI-SUPI mapping, which increases latency. This may be the reason for introducing the third temporary identifier described above. Such a third temporary identifier may be of independent interest and may be used together with other solutions. For example, in the context of solutions #1, #6, #10, and #15 in TR33.847, when a remote sends a request to a CN to establish a secure PC5 link with a relay. This third temporary ID may be derived in the same way as the GUTI and used only in the relay configuration, or it may also be derived from the current GUTI.
[0237] In a further element of the embodiment, which may be combined with any other embodiment or implemented independently, to further protect against malicious relay UEs, if device UE0 does not obtain a new RSC value (i.e., RSC2) after a certain timeout period has elapsed since sending RSC1 to relay device UE1, device UE0 temporarily stops operating as a remote UE and temporarily blocks / stops / aborts any ongoing relaying procedure. Device UE0 may wait until it enters the coverage of a gNB and, after attaching to the gNB, request an RSC update before activating the remote UE functionality and resume operating as a remote UE.
[0238] The reason for this is that the response N' sent by the CCS to the relay UE may never be forwarded to the remote UE, and the remote UE may not realize that it needs to use a new RSC and may continue to use the old RSC.
[0239] In a further element of one embodiment, to prevent another relay device from sending a request message to the CCS having the same content as message N, relay device UE1 may send a second encrypted identification or signature that enables the CCS to verify that the encrypted identifier of UE1 received in message N corresponds to a second encrypted identification or signature and / or that these encrypted identifiers (after decryption) directly or indirectly identify or relate to the same relay device (i.e., relay device UE1 in this case). This can also be done by linking the encrypted identifier of relay device UE1 with an identifier used by the relay device to set up a secure link between the relay device and the CCS used to send message N.
[0240] Note that if the mobile device uses a PC5 Layer 2 identifier as the identifier of the relay device UE1 as input for message M (e.g., used during discovery), the following procedure may apply and the above detailed procedure may be augmented.
[0241] a. If the PC5 Layer 2 identifier used by the relay device UE1 is securely configured / provided by the CCS (e.g., using a secure connection between the PCF and the relay device UE1 and / or device UE0), 1. The relay device UE1 has an authenticated and secure connection to the CCS, and the CCS retrieves the information it has configured / provided to the relay device UE1 and can verify that the PC5 Layer 2 identifier configured / provided to the relay device UE1 corresponds to or points to the same PC5 Layer 2 identifier for the relay device UE1 that was sent encrypted as part of message N (derived from message M sent by device UE0). 2. The relay device UE1 does not have an authenticated secure connection to the CCS, and may add its own GUTI / TMSI / IMSI / SUPI / SUCI / GPSI or other unique identifier or a hash thereof encrypted (or as part of a signature) to message N (in addition to the envelope V or encrypted identifier received by the relay device UE1 in message M from device UE0), so that the CCS can associate this information with the PC5 Layer 2 identifier it configured / provided to relay device UE1 and verify that it corresponds to or points to the same PC5 Layer 2 identifier sent encrypted as part of message N (originating from message M sent by device UE0).
[0242] b. If the PC5 Layer 2 identifier is self-assigned, relay device UE1 may securely send its self-assigned PC5 Layer 2 identifier to the CCS (e.g., each time it assigns a new Layer 2 identifier). The CCS may store this information and tie it to other identifiers it has stored for relay device UE1. The CCS can use this information to verify that relay device UE1's self-assigned PC5 Layer 2 identifier corresponds to or points to the same PC5 Layer 2 identifier that was received encrypted as part of message N (which originated from message M sent by device UE0).
[0243] It should be noted that when the CSS sets / provides the PC5 Layer 2 identifier, the CSS may set / provide to the remote UE (i.e., device UE0) a set of PC5 Layer 2 identifiers that a particular relay UE can use, or may provide a mapping between the relay UE's PC5 Layer 2 identifier and a set of other identification information (e.g., GUTI / TMSI / SUCI) of the relay UE.
[0244] In a further element of the embodiment, which may be combined with any other embodiment or implemented independently, the relay device UE1 receives an updated list of relay service codes from the CCS upon (initial) registration with the CCS (e.g., upon entering a new registration area) or upon setting up a PDU session with the CCS (e.g., for relay purposes), where this list only includes relay service codes associated with authorized network slices / S-NSSAIs valid within its registration area for the remote UE and / or relay device (e.g., determined by the AMF, PCF, DDNMF, NG-RAN), and (temporarily) replaces or updates the list of relay service codes (and their associated PDU session parameters) already provided in the relay device, or is stored as a separate list; or a list of relay service codes associated with network slices / S-NSSAIs not authorized within its registration area is received from the CCS, and updates the list of relay service codes (and their associated PDU session parameters) already provided in the relay device; or a detection filter to be applied during discovery is received that matches only relay service codes associated with authorized network slices / S-NSSAIs.
[0245] Similarly, in the case of non-public network access, when the relay device UE1 registers with a base station dedicated to that non-public network (e.g., identified as a CAG (Closed Access Group) cell), an updated list of relay services is received from the CCS, including only relay service codes associated with non-public network identities / CAGs that are valid / allowed / authorized for access by the remote UE and / or relay device (e.g., determined by the AMF, PCF, DDNMF, NG-RAN), and either (temporarily) replaces or updates the list of relay service codes (and associated PDU session parameters) already provided in the relay device, or is stored as a separate list. Alternatively, a list of relay service codes associated with non-public network identities / CAGs that are not valid / allowed / authorized for access by the remote UE and / or relay device is received from the CCS, and either (temporarily) updates the list of relay service codes (and associated PDU session parameters) already provided in the relay device, or is stored as a separate list. Alternatively, a discovery filter to be applied during discovery is received that matches only relay service codes associated with non-public network identities / CAGs that are valid / allowed / authorized for access by the remote UE and / or relay device.
[0246] Solution 18 of TR33.847 describes a protocol for authentication and PC5 link setup for UE-to-Network Relay. The main steps are as follows: In step 0, the CN, in particular the PKMF and DDNMF, provides parameters including discovery parameters, PKMF addresses, or discovery parameters to the remote UE and relay UE.
[0247] In step 1, the remote UE performs a remote user key request and obtains the PRUK and PRUKID from the PKMF.
[0248] In step 2, a discovery procedure is performed, for example according to TS 33.303 or solutions 3 and 4 of TR 33.847.
[0249] In step 3, the remote UE sends a direct communication request to the relay UE, including parameters such as a PRUKID, a relay service code, and a first freshness parameter.
[0250] In step 4, the relay UE sends a key request to the core network to obtain K_NRP to protect the PC5 interface with the remote UE, and also sends a second freshness parameter, which is derived from the PRUK and the freshness parameter.
[0251] In step 5, the relay forwards the freshness parameters to the remote UE. Using these freshness parameters and the PRUK, the remote UE can generate the same K_NRP as the one received by the relay UE. The K_NRP serves as the basis for mutual authentication and security of the PC5 link.
[0252] The problem with this Solution 18 in TR 33.847 is that in step 3 the relay service code and PRUKID are exchanged in clear text, which is a privacy issue identified in the above embodiment. This is why S3-212859 proposes to extend Solution 18 by scrambling these fields in step 3. As a further element of an embodiment that can be combined with any other embodiment, implemented independently, or combined with the procedures of TdocS3-212859,pCRof Solution 18 in 3GPP® TR 33.847.
[0253] For additional privacy protection, the remote UE should encrypt or scramble the Relay Service Code (RSC) and / or the remote UE and / or relay UE identifiers for direct communication requests using a different key or pseudo-random sequence than the key used to encrypt / scramble discovery parameters as part of the discovery message in previous Model B discovery request messages, for example by using a different FC value (defined in TS33.220) as input for a key derivation function.
[0254] This may help prevent an eavesdropper from linking the discovery message to the associated direct communication request message. For example, S3-212859 proposes a privacy enhancement in which the RSC sent in the DCR message is protected (scrambled) by a Discover User Scrambling Key (DUSK) in the remote UE's code reception security parameters. However, this does not provide sufficient protection because the same DUSK is proposed to protect the RSC and the Prose Relay User Key (PRUK) ID. If this key is also used to scramble the discovery message and the discovery and DCR messages are exchanged so quickly that the UTC counter remains the same, the same scrambling pseudorandom sequence will be used. If the same pseudorandom sequence is used to scramble two different sets of information (the discovery message and the PRUK ID|RSC), then the xor of the two sets of information is obtained by xoring the two scrambled sequences, i.e., the XOR of the discovery message and the PRUK ID|RSC. This is an XOR of two plaintexts, which poses a security risk because individual parts can be guessed.
[0255] To protect against such security risks, as advantageously described in this embodiment, it should be specified to use a different pseudo-random sequence for scrambling the relay service code and PRUK ID, preferably by using a different FC value for discovery messages than for direct communication request messages to prevent this problem when using the same DUSK, or alternatively, a different key should be used that is distributed during initial provisioning, in a message exchange with the CCS (e.g., DDNMF), or during discovery.
[0256] Furthermore, in accordance with the embodiments described above, the procedure of S3-212859 should be extended with a step whereby the CCS (e.g., DDNMF) allocates a new relay service code value to be used in place of the relay service code used in step 4a for subsequent discovery messages. This new relay service code value is sent to the remote UE (e.g., by extending the Key Response message to the relay UE in step 4b and the subsequent Direct Security Mode Command message in step 5a with an additional field containing the new relay service code, or by extending it in a different message (e.g., a set of PC3 messages between the DDNMF and the remote UE)), where the relay service code may be protected with a key derived from a Prose Relay User Key (PRUK) (e.g., based on ID) by using a key derivation function with an S string which may include a K_NRP freshness parameter of 1 and a UTC-based counter.
[0257] Furthermore, in accordance with the embodiment described above, the procedure of S3-212859 should be extended by having the relay UE include a nonce during discovery step 2. The received nonce should be sent by the remote UE in a subsequent direct communication request message (e.g., as an additional field). The relay UE receiving the direct communication request message can check the freshness of the nonce and ensure there are no replay attacks. Alternatively or additionally, the remote UE should use the received nonce instead of the UTC-based counter in step 1 of 6.18.2.2.2 of S3-212859 (i.e., to ensure that the scrambling sequences are different). This ensures that the scrambling sequences are different, and allows the relay UE to avoid replay attacks if it has a policy that each nonce sent as a replay to a discovery message can be used only once when forwarding a DCR message.
[0258] Alternatively or additionally, the relay UE may limit the number of messages (e.g., key request messages) to the CCS resulting from a received direct communication request message (e.g., based on a policy provided by the PCF, which may set such a limit (possibly per RSC)).
[0259] As described above, various methods are provided for use in a cellular communication system. A first method includes performing a relay function in a mobile device. A second method includes performing a relay processor function in a relay device. A third method includes performing a network relay function in a cellular network.
[0260] As will be apparent to those skilled in the art, there are many different ways of implementing the method. For example, the order of stages or steps can be changed, or some stages can be performed in parallel. Furthermore, other method steps can be inserted between steps. The inserted steps may improve the method as described herein or may be unrelated to the method.
[0261] A computer program product is provided that is downloadable from a network and / or stored on a computer-readable and / or microprocessor-executable medium, the computer program product including program code instructions for implementing the above-described methods, connection sequences, security processes, and further operations when executed on a computing device. Thus, the methods of the present invention may be implemented using software that includes instructions for causing a processor system to perform the corresponding method.
[0262] Typically, the mobile device, relay device, and NRF each comprise a processor coupled to memory holding appropriate software code stored on the device. For example, the software may be downloaded and / or stored in corresponding memory, e.g., volatile memory such as RAM, or non-volatile memory such as flash (not shown). The devices may comprise, for example, a microprocessor and memory (not shown). Alternatively, the devices may be implemented, in whole or in part, in programmable logic, e.g., as field programmable gate arrays (FPGAs). The devices and servers may also be implemented, in whole or in part, as so-called application-specific integrated circuits (ASICs), i.e., integrated circuits (ICs) customized for a specific application. For example, the circuits may be implemented in CMOS using, for example, hardware description languages such as Verilog, VHDL, etc.
[0263] The software may include only steps taken by a particular subentity of the system. The software may be stored on a suitable storage medium, such as a hard disk, floppy disk, memory, etc. The software may be provided as a signal via wire or wirelessly, or using a data network such as the Internet. The software may be downloadable and / or available remotely on a server. The methods of the present invention may be implemented using a bitstream configured to configure programmable logic, e.g., a field programmable gate array (FPGA), to perform the method. The software may take the form of source code, object code, code intermediate source and object code, such as partially compiled form, or any other form suitable for use in implementing the methods of the present invention. Computer program product embodiments include computer-executable instructions corresponding to the processing steps of at least one of the methods described above. These instructions may be stored in one or more files, which may be subdivided into subroutines and / or linked statically or dynamically. Other computer program product embodiments include computer-executable instructions corresponding to at least one of the means of the systems and / or products described above.
[0264] For clarity, the above description describes embodiments of the invention with reference to various functional units and processors. However, it will be appreciated that functionality may be distributed in any suitable manner between different functional units or processors without departing from the invention. For example, functionality illustrated to be performed by several separate units, processors, or controllers may be performed by the same processor or controller. Thus, references to specific functional units should not be considered to indicate a strict logical or physical structure or organization, but rather to suitable means for providing the described functionality. The invention may be implemented in any suitable form, including hardware, software, firmware, or any combination thereof.
[0265] In this document, the verb "comprise" does not exclude the presence of elements or steps other than those listed, and the use of an "a" or "an" does not exclude the presence of a plurality of such elements. The use of phrases such as "at least one of" following listed elements refers to the selection of all or any subset of the listed elements. For example, the phrase "at least one of A, B, and C" should be understood to include A only, B only, C only, both A and B, both A and C, both B and C, or all A, B, and C. No reference signs limit the scope of the claims. The present invention can be implemented by both hardware and software. Several "means" or "units" may be represented by the same item of hardware or software, and a processor, possibly in cooperation with hardware elements, may perform the functions of more than one unit. Furthermore, the present invention is not limited to the embodiments, but extends to any novel feature or combination of features described above or recited in mutually different dependent claims.
[0266] In summary, a cellular communication system supports network slicing and includes a network relay function for managing an indirect connection. A mobile device can send a request message including a relay service code (associated with a set of privacy-sensitive PDU session parameters) to a relay device. The relay device receives the request message and sends a forwarding request message to the cellular communication system indicating a request to forward data over the indirect connection and including the requested relay service code. The network relay function receives the forwarding request message, determines a different relay service code (from a set of spare relay service codes) to use in place of the requested relay service code, and sends a forwarding response message to a server. The forwarding response message includes the different relay service code in an encrypted form that can be decrypted by the mobile device but not by the relay device. The relay device forwards the encrypted different relay service code to the mobile device in response to the initial request message.
[0267] References: [22.261] 3GPP(registered trademark) TS 22.261 v16.7.0, Service requirements for the 5G system; Stage 1, 2019‐03. [22.866] 3GPP(registered trademark) TR 22.866 v0.2.0, Enhanced Relays for Energy Efficiency and Extensive Coverage; Stage 1, 2019-02. [23.287] 3GPP(registered trademark) TS 23.287 v1.0.0, Architecture enhancements for 5G System (5GS) to support Vehicle-to-Everything (V2X) services (Release 16), 2019-05. [23.303] 3GPP(registered trademark) TS 23.303 v15.0.0, Proximity-based services (ProSe); Stage 2 (Release 15), 2017-06. [23.501] 3GPP(registered trademark) TS 23.501, System Architecture for the 5G System; Stage 2, v16.0.2, 2019‐04. [23.503] 3GPP(registered trademark) 23.503, TS Policy and charging Stage 2 (Release 15.6.0 2019-06) [23.733] 3GPP(registered trademark) TR 23.733 v15.1.0, Study on Architecture Enhancements to ProSe UE-to-Network Relay (Release 15), 2017-12. [24.334] 3GPP(registered trademark) TS 24.334 v15.1.0, Proximity-services (ProSe) User Equipment (UE) to ProSe function protocol aspects; Stage 3, 2017-12. [24.501] 3GPP(registered trademark) TS 24.501, Non-Access-Stratum (NAS) protocol for 5G System (5GS); Stage 3 (Release 15.4.0 2019-06) [29.507] 3GPP(registered trademark) TS 29.507, 5G System; Access and Mobility Policy Control Service; Stage 3, (Release 15.4.0 2019-06) [33.813] 3GPP(registered trademark) TR 33.813 v0.5.0, Study on Security Aspects of Enhanced Network Slicing, 2019-06. [36.300] 3GPP(R) TS 36.300 v15.2.0, Evolved Universal Terrestrial Radio Access (E-UTRA) and Evolved Universal Terrestrial Radio Access Network (E-UTRAN); Overall description; Stage 2 (Release 15), 2018-06. [36.746] 3GPP(R) TR 36.764 v15.1.0, Study on further enhancements to LTE Device to Device (D2D), User Equipment (UE) to network relays for Internet of Things (IoT) and wearables; (Release 15), 2017-12. [38.300] 3GPP® TS 38.300 v15.5.0, NR; NR and NG-RAN Overall Description; Stage 2, 2019-03. [38.331] 3GPP(registered trademark) TS 38.331 v15.5.1, NR; Radio Resource Control (RRC) protocol specification, 2019-04. [38.473] 3GPP(registered trademark) TS 38.473, v15.4.1, NG-RAN; F1 application protocol (F1AP), 2019-01. [38.874] 3GPP(R) TR 38.874 v16.0.0, NR; Study on Integrated Access and Backhaul, 2018-12. [S2-1907204] 3GPP(registered trademark) TS 23.501 CR1522 Introduction of the IAB support in 5GS, 2019-06. [Elayoubi] Elayoubi et al., 5G RAN Slicing for Verticals: Enablers and Challenges, IEEE Communications Magazine Vol. 57 Iss. 1, 2019. [EventHelix] EventHelix website with links to PDF files of the summary and detailed messages: https: / / www.eventhelix.com / 5G / standalone-access-registration / [PavelShulgin] 5G StandAlone Access - Registration Procedure - Part2 (AMF selection procedures, slices), https: / / www.linkedin.com / pulse / 5g-standalone-access-registration-procedure-part2amf-pavel-shulgin /
Claims
1. A cellular communication system comprising a radio access network including a plurality of cellular base stations and a core network, The cellular communication system provides a cellular network supporting indirect connectivity; Each indirect connection provides data transfer between a mobile device and the cellular communication system via at least one relay device, the relay device being in communication with the radio access network and capable of supporting the indirect connection, the cellular communication system including at least one network relay entity providing a network relay function (NRF) for managing the indirect connections, the mobile device: a connection processor for managing a connection to the cellular network, the connection processor providing a relay function for managing at least one indirect connection, the relay function comprising: sending, as part of a setup procedure, a request message to at least one relay device, said request message including a Relay Service Code (RSC1) and an encrypted identifier of the at least one relay device, and further including an encrypted identifier of the mobile device; receiving a response message from the at least one relay device, the response message including an encrypted relay service code (RSC2); decrypting the encrypted relay service code and inserting the decrypted relay service code (RSC2′) in place of the relay service code (RSC1) in subsequent discovery messages and connection setup messages, where the decrypted relay service code (RSC2′) is associated with the same set of PDU session attributes as the relay service code (RSC1); The relay device is a communication unit for communicating in the cellular network; a relay processor for managing communications within the cellular network and for managing an indirect connection between the mobile device and the cellular network, the relay processor comprising: receiving the request message from the mobile device; After receiving the request message, send a forwarding request message to the cellular communication system in response to the request message, the forwarding request message including the relay service code (RSC1) and at least one of the encrypted identifiers received from the mobile device in the request message; receiving a diversion response message from the cellular communication system, the diversion response message including an encrypted Relay Service Code (RSC2); After receiving the diversion response message, sending a response message to the mobile device in response to the diversion response message, the response message including the encrypted relay service code (RSC2); The network relay function includes: receiving at least one forwarding request message from the relay device, the forwarding request message including a relay service code (RSC1) and at least one of the encrypted identifier of the mobile device and the encrypted identifier of the relay device; determining a different relay service code (RSC2') to be used in place of the relay service code (RSC1) received in the forwarding request message; encrypting the different relay service code (RSC2') using a key that can be decrypted by the mobile device but not by the relay device to generate an encrypted relay service code (RSC2); sending a forwarding response message to the relay device, the message including the encrypted relay service code (RSC2).
2. 2. The cellular communication system of claim 1, wherein the network relay function encrypts the identifier of the mobile device and / or the identifier of the relay device using a key that a network relay function in the cellular network can decrypt but that the relay device cannot decrypt.
3. A cellular communication system comprising a radio access network including a plurality of cellular base stations and a core network, The cellular communication system provides a cellular network supporting indirect connectivity; Each indirect connection provides data transfer between a mobile device and the cellular communication system via at least one relay device, the relay device being a mobile device in communication with the radio access network and capable of supporting the indirect connection, the cellular communication system including at least one network relay entity providing a network relay function for managing the indirect connections, the mobile device: a connection processor for managing a connection to the cellular network, the connection processor providing a relay function for managing at least one indirect connection, the relay function comprising: sending, as part of a setup procedure, a request message to at least one relay device, the request message including a relay service code (RSC1) and including an identifier of the at least one relay device, and further including an identifier of the mobile device and a message authentication code; receiving a response message from the at least one relay device, the response message including an encrypted relay service code (RSC2); decrypting the encrypted relay service code (RSC2) and inserting the decrypted relay service code (RSC2') in place of the relay service code (RSC1) in subsequent discovery messages and connection setup messages, where the decrypted relay service code (RSC2') is associated with the same set of PDU session attributes as the relay service code (RSC1); The relay device is a communication unit for communicating in the cellular network; a relay processor that manages communications within the cellular network and that manages an indirect connection between the mobile device and the cellular network; The relay processor includes: receiving the request message from the mobile device; After receiving the request message, send a forwarding request message to the cellular communication system in response to the request message, the forwarding request message including the relay service code (RSC1), the message authentication code received in the request message from the mobile device, and the identifier of the mobile device; receiving a transfer response message from the cellular communication system, the transfer response message including an encrypted relay service code (RSC2); After receiving the diversion response message, sending a response message to the mobile device in response to the diversion response message, the response message including the encrypted relay service code (RSC2); The network relay function includes: receiving at least one forwarding request message from the relay device, the forwarding request message including a relay service code (RSC1), an identifier of the mobile device, and the message authentication code; determining a different relay service code (RSC2') to be used in place of the relay service code (RSC1) received in the forwarding request message; encrypting the different relay service code (RSC2') using a key that can be decrypted by the mobile device but not by the relay device to generate an encrypted relay service code (RSC2); sending a forwarding response message to the relay device, the message including the encrypted relay service code (RSC2).
4. 4. The cellular communication system of claim 1, wherein the relay processor stores a set of spare relay service codes, and the network relay function selects the different relay service code (RSC2') from the set of spare relay service codes available in the relay device or from a new relay service code.
5. 4. The cellular communication system of claim 3, wherein at least one of the Relay Service Code (RSC1), the identifier of the mobile device, and the identifier of the at least one relay device in the request message and the forwarding request message is encrypted by the mobile device or integrity protected by the message authentication code to represent a protected indicator that the mobile device has selected the at least one relay device.
6. The cellular communication system of claim 5 , wherein the relay device includes in the forwarding request message the identifier of the at least one relay device received in the request message from the mobile device.
7. 7. The cellular communication system of claim 5 or 6, wherein the key used by the mobile device to encrypt the at least one of the relay service code, the identifier of the mobile device, and the identifier of the at least one relay device, or the key used to determine the message authentication code, allows for decryption by the network relay function in the cellular network but not by the relay device.
8. 7. The cellular communication system of claim 5, wherein the network relay function uses the information received in the forwarding request message to send a forwarding response message to the at least one relay device, the forwarding response message including PDU session information related to the encrypted relay service code (RSC2) or the relay service code (RSC1), only if an output of decrypting the received encrypted identifier represents an identifier of the at least one relay device or if the message authentication code originating from the mobile device and forwarded by the at least one relay device represents that the identifier has not been manipulated.
9. 9. The cellular communication system of claim 8, wherein the information provided by the message payload having the encrypted identifier or message authentication code in the forwarding request message is used by the cellular communication system to perform additional verification that the at least one relay device is authorized / approved to act as a relay for a remote device.
10. 10. The cellular communication system of claim 1, wherein the mobile device transmits a freshness parameter in the request message, the freshness parameter indicating that the key used to encrypt elements of the request message has not been updated for more than a predetermined time or indicating the time when the key was last updated.
11. The cellular communication system according to claim 1 , wherein the network relay function adds a decoded relay service code to the forwarding response message, and the relay device obtains PDU session attributes using the decoded relay service code.
12. 12. The cellular communication system according to claim 1, wherein the request message and the response message include a Global Unique Temporary Identifier (GUTI), a Temporary Mobile Subscriber Identity (TMSI), or a Subscription Concealed Identifier (SUCI).
13. The cellular communication system according to claim 1 , wherein the request message includes a Relay Service Code (RSC1) associated with a set of PDU session attributes.
14. 14. The cellular communication system of claim 1, wherein the mobile device includes a nonce in the request message, and the relay device tracks the used nonce and discards a request message containing a previously used nonce or aborts the setup procedure.
15. 15. The cellular communication system of claim 1, wherein the mobile device includes a nonce in the request message, the relay device forwards the nonce in the forwarding request message, and the relay function tracks the used nonce and discards a request message containing a previously used nonce or aborts the setup procedure.
16. 16. The cellular communication system of claim 1, wherein the mobile device includes a non-volatile storage unit storing a set of relay service codes supported by the mobile device and each of which may be associated with a set of PDU session attributes, the mobile device stores a set of relay service codes supported by the mobile device and each of which may be associated with a set of PDU session attributes, the relay device includes a non-volatile storage unit storing a set of relay service codes including a set of spare relay service codes supported by the relay device, the relay processor of the relay device stores the set of spare relay service codes, and the network relay function determines a different relay service code (RSC2′) to be used in place of the relay service code (RSC1) received in the forwarding request message, the different relay service code (RSC2′) being selected from the set of spare relay service codes available in the relay device.
17. 2. A mobile device for use in a cellular communication system according to claim 1, comprising: a transceiver for wireless communication within the cellular network and storing a set of relay service codes supported by the mobile device, each of which may be associated with a set of PDU session attributes; a connection processor for managing a connection to the cellular network, the connection processor providing a relay function for managing at least one indirect connection, the relay function comprising: sending, as part of a setup procedure, a request message to at least one relay device, the request message including a Relay Service Code (RSC1) associated with a set of PDU session attributes, an encrypted identifier of the at least one relay device, and an encrypted identifier of the mobile device, the identifier being encrypted using a key that allows a network relay function in the cellular network to decrypt it; receiving a response message from the at least one relay device, the response message including an encrypted relay service code (RSC2), the encrypted relay service code (RSC2) being encrypted by a network relay function in the cellular network using a key that the mobile device can decrypt but that the relay device cannot decrypt; and decrypting the encrypted relay service code (RSC2) and inserting the decrypted relay service code (RSC2′) in place of the relay service code (RSC1) in subsequent discovery messages and connection setup messages, where the decrypted relay service code (RSC2′) is associated with the same set of PDU session attributes as the relay service code (RSC1).
18. A mobile device for use in a cellular communication system according to claim 3, comprising: a transceiver for wireless communication within the cellular network and storing a set of relay service codes supported by the mobile device, each of which may be associated with a set of PDU session attributes; a connection processor for managing a connection to the cellular network, the connection processor providing a relay function for managing at least one indirect connection, the relay function comprising: sending a request message to at least one relay device, the request message including a relay service code (RSC1) and including an identifier of the at least one relay device, and further including an identifier of the mobile device and a message authentication code; receiving a response message from the at least one relay device, the response message including an encrypted relay service code (RSC2), the encrypted relay service code (RSC2) being encrypted by a network relay function in the cellular network using a key that the mobile device can decrypt but that the relay device cannot decrypt; and decrypting the encrypted relay service code (RSC2) and inserting the decrypted relay service code (RSC2′) in place of the relay service code (RSC1) in subsequent discovery messages and connection setup messages, where the decrypted relay service code (RSC2′) is associated with the same set of PDU session attributes as the relay service code (RSC1).
19. 20. The mobile device of claim 18, wherein a key is used to encrypt at least one of the relay service code, the identifier of the mobile, and the identifier of the at least one relay device, or a key is used to determine the message authentication code that allows decryption by the network relay function in the cellular network but not by the relay device.
20. 20. The mobile device of claim 17, wherein the mobile device selects a Layer 2 identity for the request message that is at least different from a Layer 2 identity last used in a previous message sent from the mobile device to the relay device.
21. 21. The mobile device of claim 17, wherein the mobile device sends a freshness parameter in the request message, the freshness parameter indicating that the key used to encrypt an element of the request message has not been updated for more than a predetermined time or indicating the time when the key was last updated.
22. 22. The mobile device of claim 17, wherein the mobile device includes a Global Unique Temporary Identifier (GUTI), a Temporary Mobile Subscriber Identity (TMSI), or a Subscription Concealed Identifier (SUCI) in the request message.
23. The mobile device of claim 17 , wherein the mobile device includes a nonce in the request message.
24. 24. The mobile device of claim 17, wherein the mobile device sends a freshness parameter in the request message, the freshness parameter indicating that the key used to encrypt an element of the request message has not been updated for more than a predetermined time or indicating the time the key was last updated.
25. A network relay entity for providing a network relay function for use in a cellular communication system according to claim 1, comprising: receiving at least one forwarding request message from a relay device, the forwarding request message including a relay service code (RSC1) and an encrypted identifier of a mobile device that sent the relay service code (RSC1) to the relay device; determining a different relay service code (RSC2') to use in place of the relay service code (RSC1) received in the forwarding request message; encrypting the different relay service code (RSC2') using a key that can be decrypted by the mobile device but not by the relay device to generate an encrypted relay service code (RSC2); A network relay entity that sends a forwarding response message to the relay device, the forwarding response message including the encrypted relay service code (RSC2).
26. 26. A network relay entity according to claim 25, wherein the different relay service code (RSC2') used in place of the relay service code (RSC1) is selected from a set of spare relay service codes available in the relay device.
27. A network relay entity for providing a network relay function for use in a cellular communication system according to claim 3, comprising: receiving at least one forwarding request message from a relay device, the forwarding request message including a relay service code (RSC1) and an identifier of a mobile device that sent the relay service code (RSC1) to the relay device; checking the message authentication code to verify that the relay service code and the identifier of the mobile device have not been manipulated; determining a different relay service code (RSC2') to use in place of the relay service code (RSC1) received in the forwarding request message, the different relay service code (RSC2') being selected from a set of spare relay service codes available in the relay device or from a new relay service code; encrypting the different relay service code (RSC2') using a key that can be decrypted by the mobile device but not by the relay device to generate an encrypted relay service code (RSC2); A network relay entity that sends a forwarding response message to the relay device, the forwarding response message including the encrypted relay service code (RSC2).
28. 28. The network relay entity of claim 25, wherein the network relay function adds a decoded relay service code to the forwarding response message, and the relay device obtains PDU session attributes using the decoded relay service code.
29. 29. The network relay entity of claim 25, wherein the network relay function includes a newly encoded Global Unique Temporary Identifier (GUTI), Temporary Mobile Subscriber Identity (TMSI), or Subscription Concealed Identifier (SUCI) in a forwarding request message.
30. 2. A relay device for communicating in a cellular network according to claim 1, comprising: a relay processor that manages communications within the cellular network and that manages an indirect connection between the mobile device and the cellular network; The relay processor includes: receiving the request message from the mobile device as part of a setup procedure; After receiving the request message, send a forwarding request message to the cellular communication system in response to the request message, the forwarding request message including the relay service code (RSC1) and at least one of the encrypted identifiers received from the mobile device in the request message; receiving a diversion response message from the cellular communication system, the diversion response message including an encrypted Relay Service Code (RSC2); After receiving the diversion response message, the relay device sends a response message to the mobile device in response to the diversion response message, the response message including the encrypted relay service code (RSC2).
31. 4. A relay device for communicating in a cellular network according to claim 3, comprising: a relay processor that manages communications within the cellular network and that manages an indirect connection between the mobile device and the cellular network; The relay processor includes: Store a set of spare relay service codes, receiving the request message from the mobile device as part of a setup procedure; After receiving the request message, send a forwarding request message to the cellular communication system in response to the request message, the forwarding request message including the relay service code (RSC1), the message authentication code received in the request message from the mobile device, and the identifier of the mobile device; receiving a diversion response message from the cellular communication system, the diversion response message including an encrypted Relay Service Code (RSC2); After receiving the diversion response message, the relay device sends a response message to the mobile device in response to the diversion response message, the response message including the encrypted relay service code (RSC2).
32. The relay device of claim 30 or 31, wherein the relay device forwards in the forward request message a nonce or a freshness parameter received in the request message.
33. 33. The relay device of claim 30, wherein the relay device tracks the used nonce and discards a request message containing a previously used nonce or aborts the setup procedure.
