User plane traffic handling for emergency situations
By adopting null encryption and null integrity protection algorithms in 5G ProSe UE to network relay, the problem of UP service protection between remote UE and UE to network relay in emergency situations is solved, and no encryption and partial integrity are achieved. Protected emergency services communications, reducing communications costs and adapting to operator policy and authentication failures.
Patent Information
- Application Number
- CN202380014571.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-04
- Publication Date
- 2024-09-06
AI Technical Summary
In the emergency situation of 5G ProSe UE to network relay, the existing technology fails to effectively protect the user plane (UP) business between the remote UE and the UE to the network relay, especially in the case of no encryption and no integrity protection. Under this condition, normal communication with emergency services cannot be ensured.
Provide a solution for UP service communication between the first terminal device and the second terminal device without encryption protection and integrity protection, or communication with partial integrity protection, using null encryption and Null Integrity Protection Algorithm, reduces the cost of running encryption or decryption algorithms and supports emergency services in emergency situations.
It enables UP business communication without encryption and partial integrity protection in emergency situations, ensuring the normal operation of emergency services, reducing communication costs, and adapting to operator policies and remote UE authentication and authorization failures. .
Smart Images

Figure CN118614045A
Abstract
Description
Technical Field
[0001] Various exemplary embodiments of the present disclosure generally relate to the field of telecommunications, and more particularly to devices, methods, apparatuses, and computer-readable storage media for handling emergency user plane (UP) traffic for 5G ProSe UE to network relay services. Background Art
[0002] The fifth generation (5G) system supports the Proximity-based Services (ProSe) feature. The 5G ProSe feature may include 5G ProSe direct discovery, 5G ProSe direct communication, and 5G ProSe UE-to-network (U2N) relay. In the 5G distributed UE-to-network relay feature, a remote user equipment (UE) may be connected to a UE-to-network relay via a PC5 interface with 5G distributed direct communication, and communicate with a data network via the UE-to-network relay and the 5G network. The 5G ProSe UE-to-network relay feature supports emergency services through the UE-to-network relay. It is necessary to study the protection of user plane (UP) traffic between the remote UE and the UE-to-network relay in emergency situations. Summary of the invention
[0003] Generally speaking, example embodiments of the present disclosure provide a solution for handling UP traffic in emergency situations.
[0004] In a first aspect, a first terminal device is provided. The first terminal device includes at least one processor and at least one memory storing instructions. When the instructions are executed by the at least one processor, the instructions cause the first terminal device to at least: determine that a UP service will be communicated between the first terminal device and the second terminal device without encryption protection; determine that the UP service will be communicated between the first terminal device and the second terminal device without integrity protection or with partial integrity protection; send a message to the second terminal device, the message indicating that the UP service will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection; and communicate the UP service between the first terminal device and the second terminal device without encryption protection and integrity protection, or without encryption protection and with partial integrity protection.
[0005] In a second aspect, a second terminal device is provided. The second terminal device includes at least one processor and at least one memory storing instructions. When the instructions are executed by the at least one processor, the instructions cause the second terminal device to at least: receive a message from the first terminal device indicating that the UP service will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection; and based on the message, communicate the UP service between the first terminal device and the second terminal device without encryption protection and integrity protection, or without encryption protection and with partial integrity protection.
[0006] In a third aspect, a method is provided. The method includes: determining at a first terminal device that a UP service will be communicated between the first terminal device and a second terminal device without encryption protection; determining that the UP service will be communicated between the first terminal device and the second terminal device without integrity protection or with partial integrity protection; sending a message to the second terminal device, the message indicating that the UP service will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection; and communicating the UP service between the first terminal device and the second terminal device without encryption protection and integrity protection, or without encryption protection and with partial integrity protection.
[0007] In a fourth aspect, a method is provided. The method includes: receiving a message from a first terminal device at a second terminal device, the message indicating that a UP service will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection; and communicating the UP service between the first terminal device and the second terminal device without encryption protection and integrity protection, or without encryption protection and with partial integrity protection, based on the message.
[0008] In a fifth aspect, an apparatus is provided. The apparatus includes: a component for determining at a first terminal device that a UP service will be communicated between the first terminal device and a second terminal device without encryption protection; a component for determining that the UP service will be communicated between the first terminal device and the second terminal device without integrity protection or with partial integrity protection; a component for sending a message to the second terminal device, the message indicating that the UP service will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection; and a component for communicating the UP service between the first terminal device and the second terminal device without encryption protection and integrity protection, or without encryption protection and with partial integrity protection.
[0009] In a sixth aspect, an apparatus is provided. The apparatus includes: a component for receiving a message from a first terminal device at a second terminal device, the message indicating that a UP service will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection; and a component for communicating the UP service between the first terminal device and the second terminal device without encryption protection and integrity protection, or without encryption protection and with partial integrity protection, based on the message.
[0010] In a seventh aspect, a computer-readable medium is provided, wherein the computer-readable medium includes program instructions, and when the program instructions are executed by at least one processor, the device at least executes the method according to the third or fourth aspect.
[0011] It should be understood that the summary is not intended to identify the key or essential features of the exemplary embodiments of the present disclosure, nor is it intended to be used to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Some example embodiments will now be described with reference to the accompanying drawings, in which:
[0013] Figure 1 shows an example communication network in which example embodiments of the present disclosure may be implemented;
[0014] Figure 2 shows the high-level process of emergency services relayed by UE to network;
[0015] Figure 3 shows encryption of plaintext using encryption algorithm NEA, wherein the keystream is applied by using bit-by-bit binary addition of the plaintext and the keystream;
[0016] Figure 4 Shows the use of integrity algorithm NIA to authenticate the integrity of the message;
[0017] Figure 5 A signaling diagram showing a process for handling UP traffic for emergency situations according to some exemplary embodiments of the present disclosure;
[0018] Figures 6 to 8 show signaling diagrams respectively illustrating example implementations of a process for handling UP traffic for an emergency situation according to some example embodiments of the present disclosure;
[0019] Fig. 9 A flowchart of a method implemented at a first terminal device according to some example embodiments of the present disclosure is shown;
[0020] Fig.10 A flowchart of a method implemented at a second terminal device according to some example embodiments of the present disclosure is shown;
[0021] Fig.11 shows a simplified block diagram of an apparatus suitable for implementing an example embodiment of the present disclosure; and
[0022] Fig.12 A block diagram of an example computer-readable medium is shown according to some example embodiments of the present disclosure.
[0023] Throughout the drawings, the same or similar reference numerals refer to the same or similar elements. DETAILED DESCRIPTION
[0024] The principles of the present disclosure will now be described with reference to some exemplary embodiments. It should be understood that these exemplary embodiments are described only for illustrative purposes and to help those skilled in the art understand and implement the present disclosure without implying any limitation on the scope of the present disclosure. The disclosure described herein can be implemented in various ways different from the ways described below.
[0025] In the following description and claims, unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.
[0026] References in this disclosure to "one embodiment," "an embodiment," "an example embodiment," etc., indicate that the described embodiment may include a particular feature, structure, or characteristic, but not every embodiment necessarily includes the particular feature, structure, or characteristic. Furthermore, these phrases do not necessarily refer to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in conjunction with an exemplary embodiment, it is considered to be within the knowledge of those skilled in the art to affect such feature, structure, or characteristic in conjunction with other exemplary embodiments (whether or not explicitly described).
[0027] It should be understood that although the terms "first" and "second", etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element, and similarly, a second element may be referred to as a first element. As used herein, the term "and / or" includes any and all combinations of one or more of the listed terms.
[0028] The terms used herein are only used for the purpose of describing specific exemplary embodiments and are not intended to limit the exemplary embodiments. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that the terms "include", "comprise", "have", "have", "include" and / or "comprising" when used herein specify the presence of the features, elements and / or components, etc., but do not exclude the presence or addition of one or more other features, elements, components and / or combinations thereof.
[0029] As used in this application, the term "circuitry" may refer to one, more than one, or all of the following: (a) only hardware circuit implementation (e.g., only implementation in analog and / or digital circuits) and (b) a combination of hardware circuitry and software, such as (where applicable): (i) a combination of analog and / or digital hardware circuitry and software / firmware, and (ii) a hardware processor (including a digital signal processor) with software, software and any portion of memory that work together to enable a device such as a mobile phone or server to perform various functions) and (c) Hardware circuits and / or processors (e.g., a microprocessor or a portion of a microprocessor) that require software (e.g., firmware) to operate, but where software is not required to operate, the software may not be present.
[0030] This definition of circuitry applies to all uses of this term in this application, including in any claims. As another example, as used in this application, the term circuitry also covers an implementation of only a hardware circuit or processor (or multiple processors) or a portion of a hardware circuit or processor and its (or its) accompanying software and / or firmware. The term circuitry also covers (for example and if applicable to a particular claim element) a baseband integrated circuit or processor integrated circuit for a mobile device or a similar integrated circuit in a server, a cellular network device or other computing or network device.
[0031] As used herein, the term "communication network" refers to a network that complies with any suitable communication standard, such as a fifth generation (5G) system, long term evolution (LTE), advanced LTE (LTE-A), wideband code division multiple access (WCDMA), high speed packet access (HSPA), narrowband Internet of Things (NB-IoT), etc. In addition, the communication between the terminal device and the network device in the communication network can be performed according to any suitable generation of communication protocols, including but not limited to the first generation (1G), second generation (2G), 2.5G, 2.75G, third generation (3G), fourth generation (4G), 4.5G, fifth generation (5G) new radio (NR) communication protocol, and / or any other protocol currently known or to be developed in the future. The example embodiments of the present disclosure can be applied to various communication systems. In view of the rapid development of communication, there are of course future types of communication technologies and systems, using which the present disclosure can be implemented. It should not be regarded as limiting the scope of the present invention to the above-mentioned systems.
[0032] As used herein, the term "network equipment" refers to a node in a communication network via which a terminal device accesses the network and receives services from it. Depending on the terminology and technology applied, a network equipment may refer to a base station (BS) or an access point (AP), such as a Node B (Node B or NB), an evolved Node B (eNodeB or eNB), a NR next-generation Node B (gNB), a remote radio unit (RRU), a radio head (RH), a remote radio head (RRH), a relay, a low-power node such as a femto base station, a pico base station, etc. The RAN split architecture includes a gNB-CU (centralized unit, hosting RRC, SDAP and PDCP) that controls multiple gNB-DUs (distributed units, hosting RLC, MAC and PHY).
[0033] The term "terminal device" refers to any terminal device capable of wireless communication. By way of example and not limitation, a terminal device may also be referred to as a communication device, user equipment (UE), subscriber station (SS), portable subscriber station, mobile station (MS) or access terminal (AT). The terminal device may include, but is not limited to, a mobile phone, a cellular phone, a smart phone, a voice over IP (VoIP) phone, a wireless local loop phone, a tablet computer, a wearable terminal device, a personal digital assistant (PDA), a portable computer, a desktop computer, an image capture terminal device such as a digital camera, a game terminal device, a music storage and playback device, a vehicle-mounted wireless terminal device, a wireless endpoint, a mobile station, a laptop embedded device (LEE), a laptop mounted device (LME), a USB dongle, a smart device, a wireless client device (CPE), an Internet of Things (IoT) device, a watch or other wearable device, a head mounted display (HMD), a vehicle, a target, medical equipment and applications (e.g., remote surgery), industrial equipment and applications (e.g., robots and / or other wireless devices operating in an industrial and / or automated process chain environment, consumer electronic devices, devices operating on a commercial and / or industrial wireless network, etc. In the following description, the terms "terminal device", "communication device", "terminal", "user equipment" and "UE" may be used interchangeably.
[0034] Although in various example embodiments, the functions described herein may be performed in fixed and / or wireless network nodes, in other example embodiments, the functions may be implemented in a user equipment device (such as a cellular phone or a tablet computer or a laptop computer or a desktop computer or a mobile device or a fixed device). The user equipment device may, for example, be appropriately equipped with the corresponding capabilities described in conjunction with the fixed and / or wireless network nodes. The user equipment device may be a user device and / or a control device, such as a chipset or a processor, which is configured to control the user device when installed therein. Examples of such functions include a bootstrap server function and / or a home user server, which may be implemented in a user equipment device by providing the user equipment device with software configured to cause the user equipment device to execute from the perspective of these functions / nodes.
[0035] Figure 1 An example communication environment 100 is shown in which example embodiments of the present disclosure may be implemented. The environment 100 may include a first terminal device 110, a second terminal device 120, a next generation radio access network (NG-RAN) 130, and a 5G core network (5GC) 140.
[0036] It should be understood that the number of devices is only for ease of understanding and does not imply any limitation. Communication environment 100 may include any suitable number or type of devices suitable for implementing embodiments of the present disclosure.
[0037] The communication in the communication environment 100 may be implemented according to any suitable communication protocol, including but not limited to cellular communication protocols of first generation (1G), second generation (2G), third generation (3G), fourth generation (4G), fifth generation (5G) or future sixth generation (6G) wireless local area network communication protocols (e.g., Institute of Electrical and Electronics Engineers (IEEE) 802.11, etc.), and / or any other protocol currently known or developed in the future. In addition, the communication may utilize any suitable wireless communication technology, including but not limited to: code division multiple access (CDMA), frequency division multiple access (FDMA), time division multiple access (TDMA), frequency division duplex (FDD), time division duplex (TDD), multiple input multiple output (MIMO), orthogonal frequency division multiplexing (OFDM), discrete Fourier transform spread OFDM (DFT-s-OFDM) and / or any other technology currently known or to be developed in the future.
[0038] In some example embodiments, the communication environment 100 may support proximity-based service (ProSe) features, such as 5G ProSe, 4G ProSe, etc. Hereinafter, an example embodiment of the present disclosure will be described by taking 5G ProSe as an example. However, the present disclosure may be applied to 4G ProSe or any future ProSe.
[0039] 5G ProSe features may include 5G ProSe direct discovery, 5G ProSe direct communication, and 5G ProSe UE-to-network (U2N) relay.
[0040] In the 5G ProSe UE-to-network relay feature, the second terminal device 120 may be connected to the first terminal device 110 via a PC5 interface with 5G ProSe direct communication, and communicate with the 5GC 140 via the first terminal device 110 and the NG-RAN 130. In this regard, the second terminal device 120 may be referred to as a remote terminal device 120 or a remote user equipment (UE) 120, and the first terminal device 110 may be referred to as a UE-to-network (U2N) relay or a relay UE 120.
[0041] The 5G solution UE-to-network relay feature can support emergency services through UE-to-network relay. In 3GPP Technical Report (TR) 23.700-33, Key Issue #7 is about support for emergency situations with UE-to-network relay. According to 3GPP Technical Specification (TS) 22.101, emergency services are defined as services from citizens to authorities, and it is left to national authorities to decide whether the network accepts emergency calls, such as only for valid UEs, or for UEs without a Subscriber Identity Module (SIM), Universal Subscriber Identity Module (USIM) or International Subscriber Identity Module (ISIM).
[0042] In the 5G UE-to-network relay, if there is an emergency request from the remote UE, it means that the relay UE needs to be responsible for the emergency service of the remote UE.
[0043] A remote UE without a USIM inserted may need to initiate emergency services using the network on the PC5 interface via a layer 3 UE-to-network relay. The remote UE can only discover the UE-to-network relay, which indicates the relay service code (RSC) for emergency events in plain text. Moreover, the remote UE cannot establish a secure PC5 link with the UE-to-network relay.
[0044] Based on operator policy, the relay UE needs to support establishing PC5 communications for emergency services with or without PC5 security.
[0045] If the remote UE cannot be correctly identified and PC5 security established with the relay UE (if required), emergency services cannot be achieved.
[0046] The 5G system shall support the establishment of PC5 communications for emergency services through UE-to-network relay with or without PC5 security.
[0047] TR33.740 proposes solution #27 for supporting emergency services through layer 3 (L3) UE to network relay.
[0048] This solution solves key issue #6: Support emergency services via UE to network relay. This solution solves L3 UE to network relay.
[0049] According to solution #27, in 5G ProSe UE to network relay, if there is an emergency request from the remote UE, the relay UE is responsible for the emergency service of the remote UE. It is assumed that the relay UE obtains the provisions and associated operator policies on emergency services from the serving PLMN of the relay UE.
[0050] Based on the provision and operator policy, the relay UE supports establishing PC5 communications for emergency services for an authenticated remote UE (e.g., a remote UE with a USIM and properly authenticated by a user plane (UP) or control plane (CP) based security procedure) or an unauthenticated remote UE (e.g., a remote UE without a USIM or authentication cannot be completed for any reason).
[0051] Based on the provisions and operator policy, notification and discovery of emergency RSC and PC5 link establishment may be performed without security protection, for example, for remote UEs without USIM or pre-configured discovery security material.
[0052] In remote UE reporting for emergency services, the remote user ID, i.e., the Control Plane ProSe Remote User Key / User Plane ProSe Remote User Key (CP-PRUK / UP-PRUK) ID is used as the UE ID for the authenticated remote UE. In the case of an unauthenticated remote UE, the Permanent Equipment Identifier (PEI) is used to identify the UE in the remote UE report.
[0053] It is assumed that the 5G ProSe enabled UE acting as a relay has a USIM and is registered to the PLMN in case of emergency services.
[0054] Figure 2 The high-level process of emergency services relayed by UE to network is shown. It should be understood that for the sake of brevity, the 5GC network function (NF) and internal signaling are not described in detail here.
[0055] like Figure 2 As shown, at 200a, the discovery security material as described in TS 33.503 is provided to the 5G ProSe UE to the network relay 210. Depending on the regulations and operator policy, there may or may not be discovery security material provided for emergency RSC.
[0056] At 200b, the 5G ProSe remote UE 220 is provided with discovery security material, and the 5G ProSe remote UE 220 obtains UP-PRUK and UP-PRUK ID for UP-based security methods from the network, as described in TS 33.503. Based on the provision and operator policy, there may or may not be discovery security material provided for emergency RSC.
[0057] If the 5G ProSe remote UE 220 is USIM-less, step 200b is skipped. Emergency RSC and discovery security material (if present) are configured locally in the 5G ProSe remote UE 220.
[0058] At 201 , a discovery procedure for emergency RSC is performed between a 5G ProSe remote UE 220 and a 5G ProSe UE to network relay 210 using discovery parameters and discovery security material described in TS 33.503.
[0059] Based on regulations and operator policy, declaration and discovery of emergency RSC may be performed without security protection.
[0060] At 202, if the 5G ProSe remote UE 220 has a USIM, the 5G ProSe remote UE 220 will include a CP-PRUK / UP-PRUK ID or a Subscription Hidden Identifier (SUCI), an emergency RSC, and a K NRPA direct communication request (DCR) with freshness parameter 1 is sent to the 5G ProSe UE to the network relay 210. The message may also include the PEI of the 5G ProSe remote UE 220.
[0061] If the 5G ProSe remote UE 220 is USIM-less, the 5G ProSe remote UE 220 sends a direct communication request including PEI and emergency RSC to the 5G ProSe UE-to-network relay 210 .
[0062] At 203a and 203b, if CP-PRUK / UP-PRUK ID or SUCI is received, the 5G ProSe UE to network relay 210 performs UP or CP based security procedures as described in TS 33.503.
[0063] If only PEI and emergency RSC are received, the 5G ProSe UE to Network Relay 210 skips steps 203a and 203b if allowed by regulations and operator policies.
[0064] At 204a, if steps 203a and 203b are performed successfully, the 5G ProSe UE to Network Relay 210 performs a Direct Security Mode Command procedure towards the 5G ProSe Remote UE 220 as described in TS 33.503.
[0065] At 204 b , the 5G ProSe Remote UE 220 sends a Direct Security Mode Complete message to the 5G ProSe UE-to-Network Relay 210 .
[0066] For example, if steps 203a and 203b fail or are skipped, the 5G ProSe remote UE 220 is USIM-less, and if regulations and operator policies allow, the 5G ProSe UE to Network Relay 210 performs a Direct Security Mode Command procedure with null encryption and integrity protection.
[0067] At 205a, if the 5G ProSe remote UE 220 is not successfully authenticated via a UP or CP-based security procedure and a PEI is not received from the direct communication request, the 5G ProSe UE to network relay 210 sends a remote identification request to the 5G ProSe remote UE 220 to obtain a PEI based on regulations and operator policies.
[0068] At 205 b , the 5G ProSe remote UE 220 sends a remote identification response including the PEI to the 5G ProSe UE-to-network relay 210 .
[0069] At 206 , the 5G ProSe UE-to-network relay 210 sends a direct communication accept message to the 5G ProSe remote UE 220 to complete the PC5 connection establishment procedure for emergency services.
[0070] At 207, when the 5G ProSe layer 3 UE to network relay 210 sends a remote UE report for emergency RSC to the 5GC 230, if the UP or CP based security procedure is successfully performed, the 5G ProSe layer 3 UE to network relay 210 includes the remote user ID, i.e., CP-PRUK / UP-PRUK ID. Otherwise, the 5G ProSe layer 3 UE to network relay 210 includes the PEI of the 5G ProSe remote UE 220 in the remote UE report.
[0071] It should be noted that in an emergency, protection of UP traffic between the 5G ProSe remote UE 220 and the 5G ProSe layer 3 UE to the network relay 210 needs to be addressed.
[0072] Figure 3 The encryption algorithm NEA is shown to encrypt plaintext, where the key stream is applied by using bit-by-bit binary addition of the plaintext and the key stream. Figure 3 As shown in Figure 1, the input parameters of the encryption algorithm are a 128-bit encryption key named KEY, a 32-bit count value (COUNT), a 5-bit bearer identifier BEARER, a 1-bit transmission direction (i.e., DIRECTION), and the required key stream length (i.e., LENGTH). For the uplink, the DIRECTION bit should be 0, and for the downlink, the DIRECTION bit should be 1.
[0073] The receiver can recover the plaintext by generating the same keystream using the same input parameters and applying per-bit binary addition to the ciphertext.
[0074] Based on the input parameters, the algorithm generates an output keystream block KEYSTREAM, which is used to encrypt the input plaintext block PLAINTEXT to produce an output ciphertext block CIPHERTEXT.
[0075] The input parameter LENGTH will only affect the length of the KEYSTREAM block, not the actual bits within it.
[0076] The Null Encryption Algorithm (NEA0) shall be implemented so as to generate an all-zero KEYSTREAM (see subclause D.2.1 of TS33.501). The length of the generated KEYSTREAM shall be equal to the LENGTH input parameter. The generated KEYSTREAM requires no input parameters other than the length. Apart from this, all processing performed in association with encryption shall be identical to any encryption algorithm specified in Annex D of TS33.501.
[0077] It should be noted that NEA0 does not provide security.
[0078] Figure 4 The integrity algorithm NIA is used to authenticate the integrity of the message. Figure 4 As shown, the input parameters of the integrity algorithm are a 128-bit integrity key called KEY, a 32-bit COUNT, a 5-bit bearer identifier called BEARER, a 1-bit transmission direction (i.e., DIRECTION), and the message itself (i.e., MESSAGE). For the uplink, the DIRECTION bit should be 0, and for the downlink, the DIRECTION bit should be 1. The bit length of MESSAGE is LENGTH.
[0079] Based on these input parameters, the sender calculates a 32-bit message authentication code (Message Authentication Code-Integrity (MAC-I) or NAS-MAC) using the integrity algorithm NIA. The message authentication code is then attached to the message when it is sent. For the integrity protection algorithm, the receiver calculates the expected message authentication code (Expected Message Authentication Code-Integrity (XMAC)-I or XNAS-MAC) for the received message in the same way as the sender calculates its message authentication code for the sent message, and verifies the data integrity of the message by comparing it with the received message authentication code (i.e., MAC-I / NAS-MAC). It should be understood that NAS-MAC and XNAS-MAC are the message authentication code and expected message authentication code generated by the NAS (Non-Access Stratum) layer, respectively. It is generated by the mobile equipment (ME) and the access and mobility management function (AMF) according to the data packet or control signal direction.
[0080] The Null Integrity Algorithm (NIA0) shall be implemented in such a way that it generates a 32-bit MAC-I / NAS-MAC and XMAC-I / XNAS-MAC of all zeros (see subclause D.3.1 of TS 33.501). When NIA0 is activated, replay protection shall not be activated. All processing performed with respect to integrity (except replay protection) shall be exactly the same as for any of the integrity algorithms specified in this annex, except that the receiver does not check the received MAC. It should be noted that the reason for mentioning replay protection is that replay protection is associated with integrity.
[0081] NIA0 is not used for signaling radio bearers (SRBs), except for unauthenticated emergency sessions for unauthenticated UEs in limited service mode (LSM).
[0082] NIA0 shall not be used for data radio bearers (DRBs).
[0083] A UE with a 2G SIM is considered to be in LSM in NR.
[0084] It should be noted that integrity algorithm NIA0 does not provide security.
[0085] As mentioned above, emergency support for UE to network relay is studied and summarized in TR23.700-33. The corresponding security key problem (KI) is discussed in TR33.740, and a solution to the security key problem is proposed in the same TR.
[0086] However, the current solution only covers how to perform control plane (CP) services for emergency relay services. Specifically, null encryption and null integrity are used to protect the direct security mode command process. For emergency situations, there is no solution for handling user plane (UP) services. Therefore, it is necessary to study the protection of UP services between 5G ProSe remote UE and 5G ProSe layer 3 UE to network relay in emergency situations.
[0087] Furthermore, according to TS33.501 Annex D, NIA0 shall not be used for DRB. Therefore, a direct scheme called CP traffic protection scheme using a null integrity algorithm may not be able to handle UP traffic in an emergency.
[0088] The present disclosure provides a scheme for handling UP services for emergency situations. According to the scheme, a first terminal device determines that the UP service will be communicated between the first terminal device and the second terminal device without encryption protection, and determines that the UP service will be communicated between the first terminal device and the second terminal device without integrity protection or with partial integrity protection. In this way, the UP service can be communicated without encryption protection and integrity protection, or without encryption protection and with partial integrity protection.
[0089] In the following, reference will be made to Figures 5 to 12 The principles of the present disclosure are described.
[0090] Figure 5 A signaling diagram is shown, which illustrates a process 500 for handling UP traffic for emergency situations according to some example embodiments of the present disclosure. For the purpose of discussion, reference will be made to Figure 1 Process 500 is described. Process 500 may involve Figure 1The first terminal device 110 and the second terminal device 120 in.
[0091] like Figure 5 As shown, the first terminal device 110 determines 510 that the UP service will be communicated between the first terminal device 110 and the second terminal device 120 without encryption protection.
[0092] The first terminal device 110 determines 520 that UP traffic is to be communicated between the first terminal device 110 and the second terminal device 120 without integrity protection or with partial integrity protection.
[0093] Furthermore, the first terminal device 110 sends a message to the second terminal device 120. The message indicates that the UP service will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection.
[0094] Then, the first terminal device 110 communicates the UP service between the first terminal device 110 and the second terminal device 120 without encryption protection and integrity protection, or without encryption protection and with partial integrity protection.
[0095] In some example embodiments, the first terminal device 110 may determine that the UP service will be communicated without encryption protection based on at least one of the following: At least one local policy, The emergency RSC received from the second terminal device 120, at least one UP security policy received from the second terminal device 120, · the capabilities of the first terminal device 110, or The capability of the second terminal device 120.
[0096] In some example embodiments, first terminal device 110 may determine that the UP service is to be communicated without integrity protection or with partial integrity protection based on at least one of the following: At least one local policy, The emergency RSC received from the second terminal device 120, at least one UP security policy received from the second terminal device 120, · the capabilities of the first terminal device 110, or The capability of the second terminal device 120.
[0097] In the following, reference will be made to Figures 6 to 8 Some example implementations of process 500 are described.
[0098] exist Figures 6 to 8 In the exemplary implementation of the transmission, the U2N relay and the remote UE are respectively used as examples of the first terminal device 110 and the second terminal device 120. The remote UE 120 does not have a USIM. A similar process can be applied to the remote UE 120 with a USIM, but fails in authentication and authorization for general ProSe U2N relay services.
[0099] Figure 6 A signaling diagram illustrating a process 600 for handling UP traffic for emergency situations according to some example embodiments of the present disclosure is shown. Process 600 may be considered an example implementation of process 500. For the purpose of discussion, reference will be made to Figure 1 Process 600 is described. Process 600 may involve Figure 1 The first terminal device 110, the second terminal device 120 and the 5GC 140.
[0100] At 601, preparation for 5G ProSe UE to network relay communication is performed between the first terminal device 110, the second terminal device 120 and the 5GC 140. The first terminal device 110 and the second terminal device are authenticated and authorized, and may be provided with security information during the preparation phase.
[0101] In some example embodiments, it is possible to perform Figure 6 .3.3.2.2-1 steps 0a to 1b for PC5 security establishment procedure for 5G ProSe UE to network relay communication over the user plane, or perform Figure 6 .Steps 0a to 0b of 3.3.3.2-1 are for PC5 security establishment procedure for 5G ProSe UE to network relay communication over the control plane from TS 33.503.
[0102] The remote UE 120 or U2N relay 110 initiates 602 a discovery process using either the Model A or Model B methods specified in clauses 6.3.1.2 or 6.3.1.3 of TS 23.304, respectively.
[0103] After discovering the U2N relay 110, the remote UE 120 without a USIM triggers 603 emergency services.
[0104] The remote UE 120 sends 604 a direct communication request message including the PEI and the emergency RSC to the U2N relay 110 .
[0105] The U2N relay 110 sends 605 a direct security mode command to the remote UE 120 to establish a secure PC5 link, in particular to protect the PC5 signaling.
[0106] The remote UE 120 responds 606 to the U2N relay 110 with a Direct Security Mode Complete message. The Direct Security Mode Complete message includes at least one UP security policy for the emergency RSC.
[0107] Based on at least one local policy, the emergency RSC received from the remote UE 120 and at least one UP security policy for the emergency RSC, the capabilities of the remote UE 120 and the U2N relay 110, the U2N relay 110 determines 607 that no encryption protection algorithm will be applied to the UP service. In this way, the cost of running the encryption or decryption algorithm can be reduced.
[0108] For example, the UP security policy from the remote UE 120 may indicate that security protection for the UP service is not required. The local policy of the relay UE 110 may indicate that emergency services are supported even if the remote UE 120 does not have a USIM or the remote UE with a USIM fails in authentication and authorization for general ProSe U2N relay services. Based on the UP security policy from the remote UE 120 and the local policy of the relay UE 110, the U2N relay 110 determines that no encryption protection algorithm will be applied to the UP service. It should be understood that the U2N relay 110 may determine that no encryption protection algorithm will be applied to the UP service based on any other UP security policy or local policy of the relay UE 110.
[0109] Based on at least one local policy, the emergency RSC received from the remote UE 120 and at least one UP security policy for the emergency RSC, the capabilities of the remote UE 120 and the U2N relay 110, the U2N relay 110 determines 608 that no integrity protection algorithm is to be applied to the UP traffic. NRP-sess In this way, the bandwidth for sending a "fake" MAC can be reduced, which complies with the rule defined in TS33.501 that "NIA0 is not used for data radio bearer (DRB)".
[0110] For example, the UP security policy from the remote UE 120 may indicate that security protection for the UP service is not required. The local policy of the relay UE 110 may indicate that emergency services are supported even if the remote UE 120 does not have a USIM or the remote UE with a USIM fails in authentication and authorization for general ProSe U2N relay services. Based on the UP security policy from the remote UE 120 and the local policy of the relay UE 110, the U2N relay 110 determines that no integrity protection algorithm will be applied to the UP service. It should be understood that the U2N relay 110 may determine that no integrity protection algorithm will be applied to the UP service based on any other UP security policy or local policy of the relay UE 110.
[0111] The U2N relay 110 sends 609 a direct communication accept message to the remote UE 120. The direct communication accept message may indicate that the UP traffic will be communicated without encryption protection and integrity protection. For example, the direct communication accept message indicates that no encryption protection algorithm and no integrity protection algorithm will be applied to the UP traffic. For example, the Chosen_algos information element (IE) in the direct communication accept message may be empty.
[0112] When receiving the direct communication accept message, the remote UE 120 decides 610 not to protect the UP traffic for the emergency service because the U2N relay 110 has not selected a security algorithm.
[0113] The remote UE 120 and the U2N relay 110 communicate 611 UP traffic in clear text over the PC5 link without any MAC attached.
[0114] Figure 7 A signaling diagram illustrating a process 700 for handling UP traffic for emergency situations according to some example embodiments of the present disclosure is shown. Process 700 may be considered an example implementation of process 500. For the purpose of discussion, reference will be made to Figure 1 Process 700 is described. Process 700 may involve Figure 1 The first terminal device 110, the second terminal device 120 and the 5GC 140.
[0115] The actions at 601 to 606 in process 700 are similar to the actions in process 600. Therefore, the details of these actions are omitted for brevity.
[0116] The actions at 701 to 705 in process 700 are different from the actions in process 600 .
[0117] Specifically, based on at least one local policy, the emergency RSC received from the remote UE 120 and at least one UP security policy for the emergency RSC, capabilities of the remote UE 120 and the U2N relay 110, the U2N relay 110 determines 701 that a null encryption protection algorithm will be applied to the UP traffic.
[0118] For example, the UP security policy from the remote UE 120 may indicate that security protection for the UP service is not required. The local policy of the relay UE 110 may indicate that emergency services are supported even if the remote UE 120 does not have a USIM or the remote UE with a USIM fails in authentication and authorization for general ProSe U2N relay services. Based on the UP security policy from the remote UE 120 and the local policy of the relay UE 110, the U2N relay 110 determines that the null encryption protection algorithm will be applied to the UP service. It should be understood that the U2N relay 110 may determine that the null encryption protection algorithm will be applied to the UP service based on any other UP security policy or local policy of the relay UE 110.
[0119] Based on at least one local policy, the emergency RSC received from the remote UE 120 and at least one UP security policy for the emergency RSC, the capabilities of the remote UE 120 and the U2N relay 110, the U2N relay 110 determines 702 that a null integrity protection algorithm is to be applied for UP traffic.
[0120] For example, the UP security policy from the remote UE 120 may indicate that security protection for the UP service is not required. The local policy of the relay UE 110 may indicate that emergency services are supported even if the remote UE 120 does not have a USIM or the remote UE with a USIM fails in authentication and authorization for general ProSe U2N relay services. Based on the UP security policy from the remote UE 120 and the local policy of the relay UE 110, the U2N relay 110 determines that the null integrity protection algorithm will be applied to the UP service. It should be understood that the U2N relay 110 can determine that the null integrity protection algorithm will be applied to the UP service based on any other UP security policy or local policy of the relay UE 110.
[0121] The U2N relay 110 sends 703 a direct communication accept message to the remote UE 120. The direct communication accept message may indicate that the UP service will be communicated without encryption protection and integrity protection. For example, the direct communication accept message may indicate the selected null security algorithm in the Chosen_algosIE. The selected null security algorithm includes a null encryption protection algorithm and a null integrity protection algorithm.
[0122] After receiving the direct communication accept message, the remote UE 120 decides 704 to use the null encryption algorithm and the null integrity algorithm as the null security algorithm selected by the U2N relay 110 for the UP traffic for emergency services.
[0123] The remote UE 120 and the U2N relay 110 respectively generate ciphertext (ie, UP traffic) with a KEYSTREAM of all zeros.
[0124] The remote UE 120 and the U2N relay 110 communicate UP traffic via the PC5 link in encrypted text with an all-zero MAC 705. The all-zero MAC is also referred to as a first MAC.
[0125] Figure 8 FIG. 8 is a signaling diagram of a process 800 for handling UP traffic for emergency situations according to some example embodiments of the present disclosure. Process 800 may be considered an example implementation of process 500. For the purpose of discussion, reference will be made to Figure 1 Process 800 is described. Process 800 may involve Figure 1 The first terminal device 110, the second terminal device 120 and the 5GC 140.
[0126] The actions at 601 to 606 in process 800 are similar to the actions in process 600. The action at 801 in process 800 is similar to the action at 701 in process 700. Therefore, the details of these actions are omitted for brevity.
[0127] The actions at 802 to 805 in process 800 are different from the actions in processes 600 and 700 .
[0128] Specifically, based on at least one local policy, the emergency RSC received from the remote UE 120 and at least one UP security policy for the emergency RSC, capabilities of the remote UE 120 and the U2N relay 110, the U2N relay 110 determines 802 that a non-null integrity protection algorithm is to be applied to the UP traffic.
[0129] For example, the UP security policy from the remote UE 120 may indicate that integrity protection for UP traffic is preferred or required. The local policy of the relay UE 110 may indicate that emergency services are supported even if the remote UE 120 does not have a USIM or the remote UE with a USIM fails in authentication and authorization for general ProSe U2N relay services. Based on the UP security policy from the remote UE 120 and the local policy of the relay UE 110, the U2N relay 110 determines that a non-null integrity protection algorithm will be applied to the UP traffic. It should be understood that the U2N relay 110 may determine that a non-null integrity protection algorithm will be applied to the UP traffic based on any other UP security policy or local policy of the relay UE 110.
[0130] In some example embodiments, examples of non-null integrity protection algorithms may include, but are not limited to: 128-NIA1, 128-NIA2, or 128-NIA3.
[0131] The U2N relay 110 sends 803 a direct communication accept message to the remote UE 120. The direct communication accept message may indicate that the UP service will be communicated without encryption protection and with partial integrity protection. For example, the direct communication accept message may indicate in the Chosen_algos IE a null encryption protection algorithm for the UP service and a non-null integrity protection algorithm for the UP service. By using a non-null integrity protection algorithm for the UP service, the integrity of the UP service may be protected to a certain extent. For example, this may prevent data loss without eliminating data loss for unstable situations.
[0132] After receiving the direct communication accept message, the remote UE 120 decides 804 to use the null encryption algorithm and the non-null integrity algorithm for the UP traffic for emergency services.
[0133] To communicate UP traffic, the remote UE 120 and the U2N relay 110 respectively generate a ciphertext (ie, UP traffic) having a KEYSTREAM of all zeros.
[0134] In addition, the remote UE 120 and the U2N relay 110 generate a MAC based on at least one of the following: COUNT, an identifier of a bearer for UP traffic, an indication of a transmission direction of UP traffic, an all-zero integrity key (i.e., an all-zero KEYSTREAM), or a UP message carrying UP traffic, respectively, by using a non-null integrity protection algorithm. The generated MAC is also referred to as a second MAC.
[0135] In some example embodiments, COUNT may indicate the number or order of UP messages. In addition, COUNT may be used for replay protection. For example, COUNT may be a 32-bit (Packet Data Convergence Protocol, PDCP) COUNT.
[0136] In some example embodiments, the identifier of the bearer used for the UP service may be a 5-bit bearer identifier called BEARER.
[0137] In some example embodiments, the indication of the transmission direction of the UP service may be a 1-bit transmission direction. For an uplink, the indication may be 0, and for a downlink, the indication may be 1.
[0138] In some example embodiments, the all-zero integrity key may be an all-zero 128-bit integrity key.
[0139] In turn, the remote UE 120 and the U2N relay 110 communicate 805 the UP traffic in encrypted text form with the generated MAC via the PC5 link.
[0140] In an example embodiment where the UP service is to be communicated using partial integrity protection, the remote UE 120 and the U2N relay 110 may each generate a third MAC based on at least one of the following: COUNT, an identifier of a bearer for the UP service, an indication of a transmission direction of the UP service, or a UP message carrying the UP service. In turn, the remote UE 120 and the U2N relay 110 may communicate the UP service with the third MAC. It should be noted that in such an example embodiment, the U2N relay 110 does not need to determine the algorithm defined by 3GPP because there is no key. In such an example embodiment, the third MAC may be a message digest algorithm 5 (MD5) or a secure hash algorithm 256 bits (SHA-256). MD5 uses a hash function to generate a 128-bit hash value. The output of SHA-256 is 256 bits long.
[0141] In some example embodiments, the first terminal device 110 may determine that the UP service will be communicated without encryption protection by determining that a null encryption protection algorithm will be applied to the UP service. In such an example embodiment, the first terminal device 110 may determine that the UP service will be communicated without integrity protection by determining that no integrity protection algorithm will be applied to the UP service. In such an example embodiment, the first terminal device 110 may encrypt the UP service using a null encryption protection algorithm with a key stream of all zeros. Furthermore, the first terminal device 110 may communicate the UP service in encrypted text without a MAC.
[0142] In some example embodiments, the first terminal device 110 may determine to communicate the UP service without encryption protection by determining that no encryption protection algorithm will be applied to the UP service. In such an example embodiment, the first terminal device 110 may determine to communicate the UP service without integrity protection by determining that a null integrity protection algorithm will be applied to the UP service. In such an example embodiment, the first terminal device 110 may generate a first MAC of all zeros by using a null integrity protection algorithm, and communicate the UP service in plaintext with the first MAC of all zeros.
[0143] In some example embodiments, the first terminal device 110 may determine that the UP service will be communicated without encryption protection by determining that no encryption protection algorithm will be applied to the UP service. In such an exemplary embodiment, the first terminal device 110 may determine that the UP service will be communicated with partial integrity protection by determining a non-empty integrity protection algorithm for the UP service based on the capabilities of the first terminal device and the second terminal device. In such an example embodiment, the first terminal device 110 may generate a second MAC by using a non-empty integrity protection algorithm. The second MAC may be generated based on at least one of the following: COUNT, an identifier of a bearer for the UP service, an indication of a transmission direction of the UP service, an all-zero integrity key, or a UP message carrying the UP service. Furthermore, the first terminal device 110 may communicate the UP service in plain text with the second MAC.
[0144] Fig. 9 FIG. 9 is a flowchart of an example method 900 implemented at a first terminal device according to some example embodiments of the present disclosure. For the purpose of discussion, reference will be made to Figure 1 The method 900 is described from the perspective of the first terminal device 110 .
[0145] At block 910 , the first terminal device 110 determines that UP traffic is to be communicated between the first terminal device 110 and the second terminal device 120 without encryption protection.
[0146] At block 920 , the first terminal device 110 determines that UP traffic is to be communicated between the first terminal device 110 and the second terminal device 120 without integrity protection or with partial integrity protection.
[0147] At block 930, the first terminal device 110 sends a message to the second terminal device 120. The message indicates that the UP traffic will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection.
[0148] At block 940 , the first terminal device 110 communicates UP traffic between the first terminal device 110 and the second terminal device 120 without encryption protection and integrity protection, or without encryption protection and with partial integrity protection.
[0149] In some example embodiments, determining that the UP traffic will be communicated without encryption protection may include determining that the UP traffic will be communicated without encryption protection based on at least one of the following: At least one local policy, The emergency RSC received from the second terminal device 120, at least one UP security policy received from the second terminal device 120, · the capabilities of the first terminal device 110, or The capability of the second terminal device 120.
[0150] In some example embodiments, determining that the UP traffic will be communicated without integrity protection or with partial integrity protection may include determining that the UP traffic will be communicated without integrity protection or with partial integrity protection based on at least one of: At least one local policy, The emergency RSC received from the second terminal device 120, at least one UP security policy received from the second terminal device 120, · the capabilities of the first terminal device 110, or The capability of the second terminal device 120.
[0151] In some example embodiments, determining that the UP traffic is to be communicated without encryption protection may include determining that no encryption protection algorithm is to be applied to the UP traffic. Communicating the UP traffic may include communicating the UP traffic in plain text.
[0152] In some example embodiments, determining that the UP traffic is to be communicated without encryption protection may include determining that a null encryption protection algorithm is to be applied to the UP traffic. Communicating the UP traffic may include encrypting the UP traffic using a null encryption protection algorithm with an all-zero key stream.
[0153] In some example embodiments, determining that the UP traffic is to be communicated without integrity protection may include determining that no integrity protection algorithm is to be applied to the UP traffic. Communicating the UP traffic may include communicating the UP traffic without a MAC.
[0154] In some example embodiments, determining that the UP traffic will be communicated without integrity protection may include determining that a null integrity protection algorithm will be applied to the UP traffic. Communicating the UP traffic may include generating a first MAC of all zeros using a null integrity protection algorithm and communicating the UP traffic with the first MAC.
[0155] In some example embodiments, determining that the UP service is to be communicated with partial integrity protection may include: determining a non-null integrity protection algorithm for the UP service based on capabilities of the first terminal device 110 and the second terminal device 120. Communicating the UP service may include: generating a second MAC based on at least one of the following by using the non-null integrity protection algorithm: a COUNT, an identifier for a bearer of the UP service, an indication of a transmission direction of the UP service, an all-zero integrity key, or a UP message carrying the UP service; and communicating the UP service with the second MAC.
[0156] In some example embodiments, communicating UP services with partial integrity protection may include: generating a third MAC based on at least one of: a COUNT, an identifier for carrying the UP service, an indication of a transmission direction of the UP service, or a UP message carrying the UP service; and communicating the UP service with the third MAC.
[0157] Fig.10 FIG. 1 is a flowchart of an example method 1000 implemented at a second terminal device according to some example embodiments of the present disclosure. For the purpose of discussion, reference will be made to Figure 1 The method 1000 is described from the perspective of the second terminal device 110 .
[0158] At block 1010, the second terminal device 120 receives a message from the first terminal device 110. The message indicates that the UP traffic will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection.
[0159] In block 1020 , the second terminal device 120 communicates the UP service between the first terminal device 110 and the second terminal device 120 based on the message without encryption protection and integrity protection, or without encryption protection and with partial integrity protection.
[0160] In some example embodiments, the message indicates that the UP traffic is to be communicated without encryption protection by indicating that no encryption protection algorithm is to be applied to the UP traffic. Communicating the UP traffic may include communicating the UP traffic in plain text.
[0161] In some example embodiments, the message indicates that the UP traffic is to be communicated without encryption protection by indicating that a null encryption protection algorithm is to be applied to the UP traffic. Communicating the UP traffic may include encrypting the UP traffic using a key stream of all zeros.
[0162] In some exemplary embodiments, the message indicates that the UP traffic is to be communicated without integrity protection by indicating that no integrity protection algorithm is to be applied to the UP traffic. Communicating the UP traffic may include communicating the UP traffic without a MAC.
[0163] In some example embodiments, the message indicates that the UP traffic is to be communicated without integrity protection by indicating that a null integrity protection algorithm is used for the UP traffic. Communicating the UP traffic may include generating a first MAC of all zeros and communicating the UP traffic with the first MAC.
[0164] In some example embodiments, the message indicates that the UP traffic is to be communicated with partial integrity protection by: indicating a non-null integrity protection algorithm for the UP traffic. Communicating the UP traffic may include: generating a second MAC based on at least one of: a COUNT, an identification of a bearer for the UP traffic, an indication of a transmission direction for the UP traffic, an all-zero integrity key, or a UP message carrying the UP traffic, by using the non-null integrity protection algorithm; and communicating the UP traffic with the second MAC.
[0165] In some example embodiments, communicating UP services with partial integrity protection includes: generating a third MAC based on at least one of a COUNT, an identifier of a bearer for the UP service, an indication of a transmission direction of the UP service, or a UP message carrying the UP service; and communicating the UP service with the third MAC.
[0166] In some exemplary embodiments, the method 1000 further includes: sending at least one UP security policy to the first terminal device 110.
[0167] In some example embodiments, an apparatus capable of performing any of the methods 900 (e.g., the first terminal device 110) may include a component for performing the corresponding operation of the method 900. The component may be implemented in any suitable form. For example, the component may be implemented in a circuit or a software module. The component may be implemented as or included in the first terminal device 110. In some example embodiments, the apparatus may include a processor and a memory.
[0168] In some example embodiments, the apparatus includes: a component for determining at a first terminal device that a user plane (UP) service will be communicated between the first terminal device and a second terminal device without encryption protection; a component for determining that the UP service will be communicated between the first terminal device and the second terminal device without integrity protection or with partial integrity protection; a component for sending a message to the second terminal device, the message indicating that the UP service will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection; and a component for communicating the UP service between the first terminal device and the second terminal device without encryption protection and integrity protection, or without encryption protection and with partial integrity protection.
[0169] In some example embodiments, the means for determining that the UP traffic will be communicated without encryption protection may include means for determining that the UP traffic will be communicated without encryption protection based on at least one of: At least one local policy, · Emergency RSC received from the second terminal device, at least one UP security policy received from the second terminal device, the capabilities of the first terminal device, or · Capabilities of the second terminal device.
[0170] In some example embodiments, means for determining that UP traffic will be communicated without integrity protection or with partial integrity protection may include means for determining that UP traffic will be communicated without integrity protection or with partial integrity protection based on at least one of: At least one local policy, · Emergency RSC received from the second terminal device, at least one UP security policy received from the second terminal device, the capabilities of the first terminal device, or · Capabilities of the second terminal device.
[0171] In some example embodiments, means for determining that UP traffic will be communicated without encryption protection may include means for determining that no encryption protection algorithm will be applied to the UP traffic. Means for communicating the UP traffic may include means for communicating the UP traffic in plain text.
[0172] In some example embodiments, the means for determining that the UP traffic will be communicated without encryption protection may include: means for determining that a null encryption protection algorithm will be applied to the UP traffic. The means for communicating the UP traffic may include: means for encrypting the UP traffic using a null encryption protection algorithm with a key stream of all zeros.
[0173] In some example embodiments, the means for determining to communicate the UP traffic without integrity protection may include means for determining that no integrity protection algorithm is to be applied to the UP traffic. The means for communicating the UP traffic may include means for communicating the UP traffic without MAC.
[0174] In some example embodiments, the means for determining to communicate the UP traffic without integrity protection may include: means for determining that a null integrity protection algorithm is to be applied to the UP traffic. The means for communicating the UP traffic may include: means for generating a first MAC of all zeros by using a null integrity protection algorithm and means for communicating the UP traffic with the first MAC.
[0175] In some example embodiments, the means for determining that the UP service is to be communicated with partial integrity protection may include: means for determining that a non-null integrity protection algorithm is used for the UP service based on capabilities of the first terminal device and the second terminal device. The means for communicating the UP service may include: means for generating a second MAC based on at least one of the following items by using a non-null integrity protection algorithm: a COUNT, an identifier of a bearer for the UP service, an indication of a transmission direction of the UP service, an all-zero integrity key, a UP message carrying the UP service; and means for communicating the UP service with the second MAC.
[0176] In some example embodiments, a component for communicating UP services with partial integrity protection may include: a component for generating a third MAC based on at least one of: a COUNT, an identifier for carrying the UP service, an indication of a transmission direction of the UP service, or a UP message carrying the UP service; and a component for communicating the UP service with a third MAC.
[0177] In some example embodiments, an apparatus capable of performing any of the methods 1000 (e.g., the second terminal device 120) may include a component for performing the corresponding operation of the method 1000. The component may be implemented in any suitable form. For example, the component may be implemented in a circuit or a software module. The component may be implemented as the second terminal device 120 or included in the second terminal device 120. In some example embodiments, the apparatus may include a processor and a memory.
[0178] In some example embodiments, the apparatus includes: a component for receiving a message at a second terminal device from a first terminal device, the message indicating that a user plane (UP) service will be communicated without encryption protection and integrity protection, or will be communicated without encryption protection and with partial integrity protection; and a component for communicating the UP service between the first terminal device and the second terminal device based on the message, without encryption protection and integrity protection, or without encryption protection and with partial integrity protection.
[0179] In some example embodiments, indicating that the UP traffic is to be communicated without encryption protection is performed by indicating that no encryption protection algorithm is to be applied to the UP traffic. Means for communicating the UP traffic may include means for communicating the UP traffic in plain text.
[0180] In some example embodiments, the message indicates that the UP traffic will be communicated without encryption protection by indicating that a null encryption protection algorithm will be applied to the UP traffic. Means for communicating the UP traffic may include means for encrypting the UP traffic using an all-zero key stream.
[0181] In some exemplary embodiments, the message indicates that the UP traffic will be communicated without integrity protection by indicating that no integrity protection algorithm will be applied to the UP traffic. The means for communicating the UP traffic may include means for communicating the UP traffic without MAC.
[0182] In some example embodiments, the message indicates that the UP traffic will be communicated without integrity protection by indicating a null integrity protection algorithm for the UP traffic. The means for communicating the UP traffic may include means for generating a first MAC of all zeros and means for communicating the UP traffic with the first MAC.
[0183] In some example embodiments, the message indicates that the UP service is to be communicated with partial integrity protection by indicating a non-null integrity protection algorithm for the UP service. The means for communicating the UP service may include: means for generating a second message authentication code (MAC) based on at least one of the following by using the non-null integrity protection algorithm: a COUNT, an identification of a bearer for the UP service, an indication of a transmission direction of the UP service, an all-zero integrity key or a UP message carrying the UP service; and means for communicating the UP service with the second MAC.
[0184] In some example embodiments, a component for communicating UP services with partial integrity protection includes: a component for generating a third message authentication code (MAC) based on at least one of: a count value, an identifier of a bearer for the UP service, an indication of a transmission direction of the UP service, or a UP message carrying the UP service; and a component for communicating UP services with a third MAC.
[0185] In some exemplary embodiments, the device further comprises: a component for sending at least one UP security policy to the first terminal device.
[0186] It should be understood that reference has been made to Figures 5 to 8 The details of the example embodiments of the present disclosure described also apply to methods 900 and 1000 .
[0187] Fig.11 1 is a simplified block diagram of a device 1100 suitable for implementing embodiments of the present disclosure. The device 1100 may be provided to implement a communication device, such as Figure 1 The first terminal device 110 or the second terminal device 120 is shown. As shown in the figure, the device 1100 includes one or more processors 1110, one or more memories 1120 coupled to the processor 1110, and one or more communication modules 1140 coupled to the processor 1110.
[0188] The communication module 1140 is used for two-way communication. The communication module 1140 has at least one antenna to facilitate communication. The communication interface may represent any interface required to communicate with other network elements.
[0189] Processor 1110 may be of any type suitable for the local technology network and may include one or more of the following: as non-limiting examples, a general purpose computer, a special purpose computer, a microprocessor, a digital signal processor (DSP), and a processor based on a multi-core processor architecture. Device 1100 may have multiple processors, such as application specific integrated circuit chips that are time slaved to a clock that synchronizes a main processor.
[0190] The memory 1120 may include one or more non-volatile memories and one or more volatile memories. Examples of non-volatile memories include (but are not limited to) read-only memory (ROM) 1124, electrically programmable read-only memory (EPROM), flash memory, hard disk, compact disk (CD), digital video disk (DVD) and other magnetic storage devices and / or optical storage devices. Examples of volatile memories include, but are not limited to, random access memory (RAM) 1122 and other volatile memories that do not persist over the duration of a power outage.
[0191] Computer program 1130 includes computer executable instructions executed by associated processor 1110. Program 1130 may be stored in ROM 1124. Processor 1110 may perform any suitable actions and processes by loading program 1130 into RAM 1122.
[0192] The embodiment of the present invention can be implemented with the help of program 1130, so that the device 1100 can execute the Figures 1 to 10 Any process of the present invention discussed. The embodiments of the present disclosure may also be implemented by hardware or a combination of software and hardware.
[0193] In some exemplary embodiments, the program 1130 may be tangibly embodied in a computer-readable medium, which may be included in the device 1100 (e.g., in the memory 1120) or in other storage devices accessible by the device 1100. The device 1100 may load the program 1130 from the computer-readable medium to the RAM 1122 for execution. The computer-readable medium may include any type of tangible non-volatile memory, such as ROM, EPROM, flash memory, hard disk, CD, DVD, etc. Fig.12 An example of a computer readable medium 1200 in the form of a CD or DVD is shown. The computer readable medium has a program 1130 stored thereon.
[0194] In general, various embodiments of the present disclosure may be implemented in hardware or dedicated circuits, software, logic, or any combination thereof. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software, which may be executed by a controller, microprocessor, or other computing device. Although various aspects of the embodiments of the present disclosure are shown and described as block diagrams, flow charts, or using some other graphical representations, it should be understood that the blocks, devices, systems, techniques, or methods described herein may be implemented in hardware, software, firmware, dedicated circuits or logic, general hardware or controllers or other computing devices, or some combination thereof, as non-limiting examples.
[0195] The present disclosure also provides at least one computer program product tangibly stored on a non-transitory computer readable storage medium. The computer program product includes computer executable instructions such as those included in a program module that are executed in a device on a target real or virtual processor to perform the above-referenced Fig. 9 and 10 Methods 900 and 1000 are described. In general, program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The functions of program modules can be combined or separated between program modules as needed in various embodiments. The machine executable instructions of program modules can be executed in local or distributed devices. In distributed devices, program modules can be located in local and remote storage media.
[0196] The program code for executing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine, partially on a remote machine, or entirely on a remote machine or server.
[0197] In the context of the present disclosure, computer program codes or related data may be carried by any suitable carrier to enable a device, apparatus or processor to perform various processes and operations as described above. Examples of carriers include signals, computer readable media, etc.
[0198] The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable medium may include, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, apparatus or device, or any suitable combination of the foregoing. More specific examples of computer readable storage media would include an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0199] In addition, although operations are described in a particular order, this should not be understood as requiring the specific order shown or to perform these operations in sequence, or to perform all the operations shown, to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these details should not be interpreted as limitations on the scope of the present disclosure, but should be interpreted as descriptions of features peculiar to a particular embodiment. Certain features described in the context of a separate embodiment may also be implemented in combination in a single embodiment. On the contrary, the various features described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable sub-combination.
[0200] Although the disclosure has been described in language specific to structural features and / or methodological actions, it should be understood that the disclosure defined in the appended claims is not necessarily limited to the specific features or actions described above. Instead, the specific features and actions described above are disclosed as example forms of implementing the claims.
Claims
1. A first terminal device, comprising: at least one processor; as well as at least one memory storing instructions, wherein when the instructions are executed by the at least one processor, the first terminal device at least: Determining that a user plane (UP) service is to be communicated between the first terminal device and the second terminal device without encryption protection; Determining that the UP service is to be communicated between the first terminal device and the second terminal device without integrity protection or with partial integrity protection; Sending a message to the second terminal device, the message indicating that the UP service will be communicated without the encryption protection and the integrity protection, or will be communicated without the encryption protection and with the partial integrity protection; as well as The UP service is communicated between the first terminal device and the second terminal device without the encryption protection and the integrity protection, or without the encryption protection and with the partial integrity protection.
2. The first terminal device according to claim 1, wherein the first terminal device is configured to determine that the UP service will be communicated without the encryption protection based on at least one of the following: At least one local policy, an emergency relay service code (RSC) received from the second terminal device, at least one UP security policy received from the second terminal device, the capabilities of the first terminal device, or The capabilities of the second terminal device.
3. The first terminal device according to claim 1 or 2, wherein the first terminal device is configured to determine that the UP service is to be communicated without the integrity protection or with the partial integrity protection based on at least one of the following: At least one local policy, an emergency relay service code (RSC) received from the second terminal device, at least one UP security policy received from the second terminal device, the capabilities of the first terminal device, or The capabilities of the second terminal device.
4. The first terminal device according to any one of claims 1 to 3, wherein: The first terminal device is caused to determine that the UP service will be communicated without the encryption protection by: Determining that no encryption protection algorithm will be applied to the UP service; and The first terminal device is caused to communicate the UP service by: The UP service is communicated in plain text.
5. The first terminal device according to any one of claims 1 to 3, wherein: The first terminal device is caused to determine that the UP service will be communicated without the encryption protection by: Determining that a null encryption protection algorithm is to be applied to the UP service; and The first terminal device is caused to communicate the UP service by: By using the null encryption protection algorithm, the UP service is encrypted with a key stream of all zeros.
6. The first terminal device according to any one of claims 1 to 5, wherein: The first terminal device is caused to determine that the UP service will be communicated without the integrity protection by: determining that no integrity protection algorithm is to be applied to the UP service; and the first terminal device is caused to communicate the UP service by: The UP traffic is communicated without a message authentication code (MAC).
7. The first terminal device according to any one of claims 1 to 5, wherein: The first terminal device is caused to determine that the UP service will be communicated without the integrity protection by: determining that a null integrity protection algorithm is to be applied to the UP service; and the first terminal device is caused to communicate the UP service by: Generate a first message authentication code MAC of all zeros by using the null integrity protection algorithm; as well as Communicate the UP service with the first MAC.
8. The first terminal device according to any one of claims 1 to 5, wherein: The first terminal device is caused to determine that the UP service is to be communicated with the partial integrity protection by: Determining a non-null integrity protection algorithm for the UP service based on capabilities of the first terminal device and the second terminal device; and The first terminal device is caused to communicate the UP service by: generating a second message authentication code (MAC) by using the non-null integrity protection algorithm based on at least one of: a count value, an identifier of a bearer for the UP service, an indication of a transmission direction of the UP service, an all-zero integrity key, or a UP message carrying the UP service; as well as Communicate the UP service with the second MAC.
9. The first terminal device according to any one of claims 1 to 5, wherein: The first terminal device is caused to communicate the UP service with the partial integrity protection by: generating a third message authentication code (MAC) based on at least one of: a count value, an identifier for a bearer of the UP service, an indication of a transmission direction of the UP service, or a UP message carrying the UP service; as well as Communicate the UP service with the third MAC.
10. A second terminal device, comprising: at least one processor; as well as at least one memory storing instructions, wherein when the instructions are executed by the at least one processor, the second terminal device at least: receiving a message from a first terminal device, the message indicating that a user plane (UP) service is to be communicated without encryption protection and integrity protection, or is to be communicated without the encryption protection and with partial integrity protection; as well as Based on the message, the UP service is communicated between the first terminal device and the second terminal device without the encryption protection and the integrity protection, or without the encryption protection and with the partial integrity protection.
11. The second terminal device according to claim 10, wherein: The message indicates that the UP service will be communicated without the encryption protection by: Indicating that no encryption protection algorithm will be applied to the UP service; and The second terminal device is caused to communicate the UP service by: The UP service is communicated in plain text.
12. The second terminal device according to claim 10 or 11, wherein: The message indicates that the UP service will be communicated without the encryption protection by: Indicates that a null encryption protection algorithm will be applied to the UP service; as well as The second terminal device is caused to communicate the UP service by: The UP service is encrypted using an all-zero key stream.
13. The second terminal device according to any one of claims 10 to 12, wherein: The message indicates that the UP service will be communicated without the integrity protection by: indicating that no integrity protection algorithm is to be applied to the UP service; and the second terminal device is caused to communicate the UP service by: The UP traffic is communicated without a message authentication code (MAC).
14. The second terminal device according to any one of claims 10 to 12, wherein: The message indicates that the UP service will be communicated without the integrity protection by: Indicating a null integrity protection algorithm for the UP service; and The second terminal device is caused to communicate the UP service by: generating a first message authentication code (MAC) of all zeros; and Communicate the UP service with the first MAC.
15. The second terminal device according to any one of claims 10 to 12, wherein: The message indicates that the UP service will be communicated with the partial integrity protection by: indicating a non-null integrity protection algorithm for the UP service; and The second terminal device is caused to communicate the UP service by: generating a second message authentication code (MAC) by using the non-null integrity protection algorithm based on at least one of: a count value, an identifier of a bearer for the UP service, an indication of a transmission direction of the UP service, an all-zero integrity key, or a UP message carrying the UP service; as well as Communicate the UP service with the second MAC.
16. The second terminal device according to any one of claims 10 to 12, wherein: The second terminal device is caused to communicate the UP service with the partial integrity protection by: generating a third message authentication code (MAC) based on at least one of: a count value, an identifier for a bearer of the UP service, an indication of a transmission direction of the UP service, or a UP message carrying the UP service; as well as Communicate the UP service with the third MAC.
17. The second terminal device according to claim 10, wherein the second terminal device is further configured to: At least one UP security policy is sent to the first terminal device.
18. A method comprising: At a first terminal device, determining that a user plane (UP) service is to be communicated between the first terminal device and a second terminal device without encryption protection; Determining that the UP service is to be communicated between the first terminal device and the second terminal device without integrity protection or with partial integrity protection; Sending a message to the second terminal device, the message indicating that the UP service will be communicated without the encryption protection and the integrity protection, or will be communicated without the encryption protection and with the partial integrity protection; as well as The UP service is communicated between the first terminal device and the second terminal device without the encryption protection and the integrity protection, or without the encryption protection and with the partial integrity protection.
19. A method comprising: At the second terminal device, receiving a message from the first terminal device, the message indicating that a user plane (UP) service is to be communicated without encryption protection and integrity protection, or is to be communicated without the encryption protection and with partial integrity protection; as well as Based on the message, the UP service is communicated between the first terminal device and the second terminal device without the encryption protection and the integrity protection, or without the encryption protection and with the partial integrity protection.
20. A non-transitory computer-readable medium comprising program instructions for causing an apparatus to at least perform the method according to claim 18 or 19.
Citation Information
Patent Citations
Method, system and device for determining user plane security algorithm
CN114079915A
Service security transmission method and device, terminal equipment and network equipment
CN114600507A
Communication method, device and system
CN115362692A
Direct communication
WO2021177732A1
