Security mechanism for establishing connections through multi-hop side links
By using multi-hop side link technology in wireless communications to generate and transmit security establishment related information hop by hop, it solves the problem of secure connection between devices without network participation in wireless communications and achieves end-to-end secure communication.
Patent Information
- Application Number
- CN202210731273.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-06-06
- Filing Date
- 2022-06-24
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-06-24
AI Technical Summary
In wireless communications, especially side-link communications, the existing technology makes it difficult to achieve a secure connection between two remote devices without network participation. It also lacks a flexible security association establishment method and cannot rely on previous sharing. Build end-to-end security in secret.
By using multi-hop side link technology in relay devices, security establishment-related information, including random numbers and signatures, is generated and transmitted hop by hop, and root keys and session keys are established and verified to ensure security between each hop. Association and ultimately establish an end-to-end secure connection between two remote devices.
It realizes a secure connection between two remote devices without network participation, ensures the confidentiality and integrity of communication, avoids monitoring and tampering by relay devices and external third parties, and provides flexible security association establishment. Method, applicable to dynamic mesh network environments.
Smart Images

Figure CN115567930B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to wireless communications, and in particular to multi-hop sidelink communications. Background Art
[0002] The background description provided herein is to present the context of the present disclosure in general. To the extent described in this background section, the work of the currently named inventors, as well as some aspects of the description that were not considered prior art at the time of filing, are not explicitly or implicitly admitted as prior art with respect to the present disclosure.
[0003] Third Generation Partnership Project (3 rd The 3rd Generation Partnership Project (3GPP) has developed sidelink technology to support direct communication between wireless devices without traversing the mobile network. For example, a group of wireless devices can form a mesh network. An intermediary device can use sidelink technology to relay messages between two remote peer devices. As a result, cars, robots, and even consumer electronics can create their own ad hoc networks without using a radio access network as an intermediary. Summary of the invention
[0004] Various aspects of the present disclosure provide a method for relaying user equipment (UE). The method may include receiving a communication request message from a first adjacent UE at a relay UE, the communication request message being used to establish a connection between an initiating UE and a target UE, the communication request message including first security establishment related information, the first security establishment related information originating from the initiating UE and used to establish a security association between the initiating UE and the target UE; modifying the communication request message to add second security establishment related information, the second security establishment related information being used to establish a security association between the relay UE and the second adjacent UE; sending a modified communication request message to the second adjacent UE, the modified communication request message including first security establishment related information and second security establishment related information, the first security establishment related information originating from the initiating UE and used to establish a security association between the initiating UE and the target UE, and the second security establishment related information being added by the relay UE and used to establish a security association between the relay UE and the second adjacent UE.
[0005] In one embodiment, the first neighboring UE is an initiating UE, and the method may also include performing authentication based on first security establishment related information originating from the initiating UE to determine a root key for communication between the first neighboring UE and the relay UE, and initiating a security mode control process based on the first security establishment related information originating from the initiating UE to establish a security association between the first neighboring UE and the relay UE.
[0006] In one embodiment, the communication request message includes third security establishment related information originating from the first neighboring UE, and the third security establishment related information is used to establish a security association between the first neighboring UE and the relay UE. The modification may include replacing the third security establishment related information originating from the first neighboring UE with the second security establishment related information for establishing a security association between the relay UE and the second neighboring UE. In one example, the method may further include performing authentication based on the third security establishment related information originating from the first neighboring UE to determine a root key for communication between the first neighboring UE and the relay UE, and initiating a security mode control process based on the third security establishment related information originating from the first neighboring UE to establish a security association between the first neighboring UE and the relay UE.
[0007] In one embodiment, the method may also include: in response to receiving a request for a security mode control process originating from a second neighboring UE, initiating a security mode control process to establish a security association between the first neighboring UE and the relay UE based on one of the first security establishment related information originating from the initiating UE and the third security establishment related information originating from the first neighboring UE included in the communication request message.
[0008] In some embodiments, the first security establishment related information originating from the initiating UE includes the first user information of the initiating UE, the first random number (nonce) generated at the initiating UE, and a first signature covering the first user information of the initiating UE and the first random number generated at the initiating UE; and the second security establishment related information added by the relaying UE includes the second user information of the relaying UE, the second random number generated at the relaying UE, and a second signature covering the second user information of the relaying UE and the second random number generated at the relaying UE.
[0009] In one embodiment, the communication request message includes third security establishment related information originating from the first neighboring UE, which is used to establish a security association between the first neighboring UE and the relay UE. The third security establishment related information originating from the first neighboring UE includes third user information of the first neighboring UE, a third random number generated at the first neighboring UE, and a third signature covering the third user information of the first neighboring UE and the third random number generated at the first neighboring UE. The modification may include replacing the third random number and the third signature (covering the third user information and the third random number of the first neighboring UE) with the second random number and the second signature (covering the second user information and the second random number of the relay UE).
[0010] In one embodiment, the method may further include authenticating the first neighboring UE based on one of a first signature (covering the first user information of the initiating UE and the first random number generated at the initiating UE) and a third signature (covering the third user information of the first neighboring UE and the third random number generated at the first neighboring UE).
[0011] In one embodiment, the method may further include sending a security mode command message to the first neighboring UE, the security mode command message including a root key for communication between the first neighboring UE and the relay UE, a fourth random number generated at the relay UE for the connection between the first neighboring UE and the relay UE, and a fourth signature covering the fourth random number generated at the relay UE for the connection between the first neighboring UE and the relay UE.
[0012] In one example, the method may further include deriving a session key for the connection between the first neighboring UE and the relay UE based on a root key for communication between the first neighboring UE and the relay UE, a fourth random number generated at the relay UE for the connection between the first neighboring UE and the relay UE, and one of the first random number generated at the initiating UE and the third random number generated at the first neighboring UE.
[0013] In one embodiment, the method may further include receiving a security mode command message from a second neighboring UE, the security mode command message including a root key for communication between the second neighboring UE and the relay UE, a fifth random number generated at the second neighboring UE for the connection between the second neighboring UE and the relay UE, and a fifth signature covering the fifth random number generated at the second neighboring UE for the connection between the second neighboring UE and the relay UE; and authenticating the second neighboring UE based on the fifth signature covering the fifth random number generated at the second neighboring UE for the connection between the second neighboring UE and the relay UE. In one example, the method also includes deriving a session key for the connection between the second neighboring UE and the relay UE based on the root key for communication between the second neighboring UE and the relay UE, the fifth random number generated at the second neighboring UE for the connection between the second neighboring UE and the relay UE, and the second random number generated at the relay UE.
[0014] In one embodiment, the second neighboring UE is a target UE.
[0015] Aspects of the present disclosure may also provide a method for a target UE. The method may include receiving, at the target UE, a communication request message from a relay UE for establishing a connection between an initiating UE and a target UE via the relay UE, the communication request message including a first security establishment related information initiated from the initiating UE for establishing a security association between the initiating UE and the target UE, and a second security establishment related information originating from the relay UE for establishing a security association between the relay UE and the target UE; establishing a secure connection between the relay UE and the target UE based on the second security establishment related information originating from the relay UE; performing authentication based on the first security establishment related information originating from the initiating UE to determine a root key for communication between the initiating UE and the target UE; and initiating a security mode control process using the initiating UE based on the first security establishment related information originating from the initiating UE to establish a security association between the initiating UE and the target UE, wherein a security mode control command message of the initiating UE is sent to the relay UE via a secure connection between the relay UE and the target UE.
[0016] In one embodiment, first security establishment related information originating from an initiating UE includes first user information of the initiating UE, a first random number generated at the initiating UE, and a first signature covering the first user information of the initiating UE and the first random number generated at the initiating UE; and second security establishment related information originating from a relaying UE includes second user information of the relaying UE, a second random number generated at the relaying UE, and a second signature covering the second user information of the relaying UE and the second random number generated at the relaying UE.
[0017] In one example, establishment includes authenticating the relay UE based on a second signature covering second user information of the relay UE and a second random number generated at the relay UE; determining a root key for communication between the relay UE and the target UE; determining a session key for a secure connection between the relay UE and the target UE based on the second random number generated at the relay UE, a third random number generated at the target UE, and the root key; and sending a security mode control command message to the relay UE, the message including a third random number generated at the target UE, a third signature covering the third random number generated at the target UE, and the encrypted root key.
[0018] In one example, performing authentication includes authenticating the initiating UE based on a first signature covering first user information of the initiating UE and a first random number generated at the initiating UE; and determining a root key for communication between the initiating UE and the target UE.
[0019] In one example, the security mode control command message for the initiating UE includes a fourth random number generated at the target UE, a fourth signature covering the fourth random number generated at the target UE, and an encrypted root key.
[0020] In an example, the method further comprises determining a session key for a connection between the initiating UE and the target UE based on a first random number generated at the initiating UE, a fourth random number generated at the target UE, and a root key for communication between the initiating UE and the target UE.
[0021] Aspects of the present disclosure may further provide a relay UE including a circuit. The circuit may be configured to receive a communication request message for establishing a connection between an initiating UE and a target UE from a first adjacent UE at the relay UE, the communication request message including first security establishment related information originating from the initiating UE for establishing a security association between the initiating UE and the target UE; modify the communication request message to add second security establishment related information, the second security establishment related information being used to establish a security association between the relay UE and the second adjacent UE; send the modified communication request message to the second adjacent UE, the modified communication request message including first security establishment related information and second security establishment related information, the first security establishment related information originating from the initiating UE for establishing a security association between the initiating UE and the target UE, and the second security establishment related information being added by the relay UE for establishing a security association between the relay UE and the second adjacent UE. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Various embodiments of the present disclosure, presented as examples, will be described in detail with reference to the following drawings, in which like reference numerals refer to like elements, and in which:
[0023] Figure 1 An example of a peer-to-peer process for connection establishment and security establishment without network involvement is shown.
[0024] Figure 2 An example of the security establishment procedure between UE_1 and UE_2 on the NR side link crossing the PC5 reference point is shown.
[0025] Figure 3 Another example of a security establishment procedure between UE_1 and UE_2 over the LTE sidelink PC5 reference point is shown.
[0026] Figure 4 An example of a control plane protocol stack for direct communication between two peer UEs is shown.
[0027] Figure 5A An example is shown in which UE_1 and UE_2 communicate via a relay UE UE_R.
[0028] Figure 5B An example of a connection from UE_1 to UE_R1 to UE_R2 to UE_2 is shown.
[0029] Figure 6 An example of a connection establishment process between two peer UEs communicating via a relay UE according to an embodiment of the present disclosure is shown.
[0030] Figure 7 Message flows for connection establishment and security establishment in a setup with two relay UEs according to some embodiments of the present disclosure are shown.
[0031] Figure 8 The message flow shown is according to an embodiment of the present disclosure. Figure 7 A variation of the message flow.
[0032] Fig. 9 The process of forming a signature during the connection establishment and security establishment process according to an embodiment of the present disclosure is shown.
[0033] Fig.10 The message flow is shown according to an embodiment of the present disclosure. Figure 7 A variation of the message flow.
[0034] Fig.11 An example of a security establishment process according to an embodiment of the present disclosure is shown.
[0035] Fig.12 Another example of a security establishment process according to an embodiment of the present disclosure is shown.
[0036] Fig.13 An exemplary device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0037] The present disclosure describes a method for establishing a secure connection between two remote UEs, traversing one or more intermediate relay UEs. The method can be applied to a UE-to-UE relay environment, or more generally to a mesh network environment where multiple UEs dynamically relay information to each other.
[0038] In a peer-to-peer communication environment, a pair of communicating devices can establish a security relationship in order to communicate securely with encryption and integrity protection. This setting differs from network-based cellular communications, where the network controls the establishment of security and can distribute security configurations (e.g., key information) to any number of mobile devices. This network-based process typically depends on the existence of a shared secret between the mobile device and the user's home network. In a peer-to-peer setting, it may not be known in advance which pairs of devices are required to communicate; it is desirable that security can be established without relying on a priori shared secrets between the two communicating devices.
[0039] For example, in the 3GPP specification for peer communications, an "identity-based" key generation scheme is used, allowing related UEs to develop a shared key for protecting the connection between them without relying on a previously shared secret. A public key security scheme is used, where a first peer device (UE_1) calculates a public key for a second peer device (UE_2) based on the identity of UE_2 and a public public key associated with a key server. In other examples, authentication schemes other than identity-based key generation schemes may be employed. The present disclosure is not limited to any particular authentication or encryption mechanism.
[0040] In a UE-to-UE relay or mesh network environment, two UEs (UE_1 and UE_2) communicate through at least one intermediate "relay" UE (UE_R), and end-to-end security needs to be established between UE_1 and UE_2 so that their communication is not monitored or tampered with by UE_R as well as external third parties. The present disclosure relates to a method for establishing security when establishing a UE-to-UE connection using one or more intermediate relay UEs.
[0041] In order to establish a secure relay connection between two remote UEs UE_1 and UE_2, traversing the relay UE UE_R1, key generation information can be provided for direct connections (between UE_1 and UE_R1, and between UE_R1 and UE_2) and indirect connections (between UE_1 and UE_2). In addition, each "hop" in the UE sequence can allow the participating UEs to authenticate each other while also retaining the information required for end-to-end authentication between UE_1 and UE_2. The present disclosure describes a method of signaling at connection establishment that allows the involved UEs to generate the required keys and perform the required authentication.
[0042] Establishing a secure connection in the LTE or NR sidelink depends on the ability of a pair of UEs UE_1 and UE_2 to mutually authenticate and establish a security association without any real-time involvement from the network. This limitation is because UE_1 and UE_2 may establish a connection with each other when they are out of network coverage. Of course, depending on the configuration, the UE may choose to adopt any suitable authentication and security establishment method, even if the UE is in network coverage and does not rely on the network.
[0043] Figure 1 An example of a peer process 100 for connection establishment and security establishment without network involvement is shown. At S111, UE_1 101 initiates a connection via a Direct Communication Request message, which may be received by multiple peer UEs (UE_2a 102, UE_2b 103, and UE_2c 104). Peer UEs interested in communicating with UE_1 respond by triggering a security procedure, followed by a Direct Communication Accept message that completes the connection establishment process.
[0044] For example, at S112, UE_2a 102 chooses to respond to the Direct Communication Request message and may initiate a Direct Authentication and Key Establishment procedure to generate a root key for communication between UE_1 101 and UE_2a 102. At S113, UE_2a 102 runs a Direct Security Mode Command (or control) procedure with UE_1 101 to establish a security association between UE_1 101 and UE_2a 102. At S114, when the security association is successfully established, UE_2a 102 sends a Direct Communication Accept message. At S115, UE_2b 103 chooses not to respond to UE_1 101. From S116 to S118, UE_2c 104 responds to UE_1 101 using the same process sequence and messages as UE_2a 102.
[0045] In process 100, when each responder decides to initiate security including signaling integrity protection and / or signaling confidentiality protection, each responder establishes a different security context with UE_1 101 that is unknown to the other UEs. For example, the security context used between UE_1 101 and UE_2a 102 is unknown to UE_2b 103 and UE_2c 104. The direct communication request can be sent unprotected and only contains enough security establishment related information to establish a secure connection with the other UE. Other information that UE_1 101 needs to send to the other UE to establish the connection can be included in a Direct Security Mode Complete message from UE_1 101 (sent as part of the Direct Security Mode process). The Direct Security Mode Complete message can be both confidentiality and integrity protected.
[0046] Figure 2 An example of a security establishment procedure 200 between UE_1 201 (UE 201) and UE_2 202 (UE 202) over an NR side link across a PC5 reference point is shown. Procedure 200 may be a connection establishment procedure (e.g., Figure 1 Part of process 100 in the example.
[0047] At S211, triggered by an event at UE 201 (e.g., an indication from an application), UE 201 sends a direct communication request message (also referred to as a direct link establishment request message) to UE 202. The message may include security establishment related information and possible other parameters. For example, the security establishment related information may include:
[0048] -Security capabilities of UE 201, indicating a list of algorithms supported by UE 201 for securely establishing a connection;
[0049] - Signaling security policy of UE 201 corresponding to the application or desired service;
[0050] - Nonce_1, for example, is set to a 128-bit random value generated by UE 201 and used to generate the session key K for the connection NRP-sess , where NRP stands for NR PC5 (in some embodiments, different symbols may be used; for example, the abbreviation NRP may be replaced by D, which stands for Direct);
[0051] -K NRP-sess The most significant bit (MSB) of the ID (e.g., 8 bits);
[0052] - possibly other parameters.
[0053] If UE 201 has an existing root key K for connection with UE 202 NRP , then the security establishment related information may include the root key ID and K NRP ID. Missing K NRP The ID parameter may indicate that UE 201 does not have the K NRP The security establishment related information may also include the IDs of the initiating UE 201 and the target UE 202 (eg, the application layer ID of the UE).
[0054] The security establishment related information may also include a key establishment information (Key_Est_Info) container. In various examples, different long-term credentials and related authentication methods may be used to establish keys to protect connections. Corresponding to a specific authentication method, related parameters may be included in a Key_Est_Info container and exchanged between two peer UEs. For example, the Key_Est_Info container may be transmitted in steps S211, S212, and S213. In some examples, identity-based authentication and encryption schemes are used. Signatures and root keys may be carried in corresponding Key_Est_Info containers.
[0055] At S212, UE 202 may initiate a direct authentication and key establishment process between UE 201 and UE 202. During the direct authentication and key establishment process, UE 101 and UE 102 perform mutual authentication and derive a new root key (K NRP ), the new root key is shared between UE 101 and UE 102. Depending on the specific authentication method adopted, the direct authentication and key establishment process can be performed in different ways. For example, for some authentication methods, multiple rounds of interaction between UE 201 and UE 202 are feasible. In one example, when an identity-based authentication and encryption scheme is used, at S212, UE 202 can derive the root key based on the security establishment related information sent in S211. Therefore, at S212, there is no interaction between UE 201 and UE 202.
[0056] For example, UE 201 and UE 202 may each be configured with long-term credentials. The credentials may include a symmetric key or a public key / private key pair, depending on the specific use case and the authentication method used. During step S212, the root key K NRP (For example, the length is 256 bits) can be derived based on the credentials using the corresponding authentication method. For different applications at UE 201, different root keys can be derived.
[0057] From S213 to S217, a security mode control procedure may be performed between UE 201 and UE 202. As a result of this security mode control procedure, the selected algorithm and key may be determined and derived, and subsequently used to integrity protect and encrypt signaling messages and / or user plane data exchanged between UE 201 and UE 202.
[0058] At S213, UE 202 may generate a Nonce_2 value, for example, whose length is 128 bits. UE 202 may generate a Nonce_2 value from the root key K NRP , Nonce_2 and Nonce_1 (received from UE 201 at S211) to derive the session key K NRP-sess Based on the session key, UE 202 may derive an encryption key (e.g., NR PC5 encryption key (NRPEK)) and an integrity key (e.g., NR PC5 integrity key (NRPIK)) based on the selected encryption and integrity protection algorithm.
[0059] UE 202 may create a direct security mode command message. UE 202 may send a message to UE 201 to initiate a security mode control procedure. NRP , then the message may contain K NRPAccording to the authentication method adopted, the message may include a message for transmitting the MSB of the UE 201 to generate K NRP In one example, the Key_Est_Info container may be used to carry the root key for signing and encryption of UE 202. The message may also include: the algorithm selected for confidentiality and integrity protection; the security capabilities and signaling security policy of UE 201; Nonce_2; and K NRP-sess LSB of ID.
[0060] In an example, the message exchange in process 200 may occur at a PC5 signaling (PC5-S) protocol layer in a control plane NR sidelink protocol stack. An application layer above the PC5-S protocol layer may prepare the content of messages exchanged by the PC5-S protocol layer. A lower layer, such as a Packet Data Convergence Protocol (PDCP) layer, may serve as a transport layer for transmitting messages of the PC5-S protocol layer. In such a configuration, at S213, UE 202 may provide a new security context to the lower layer. For example, the security context may include K NRP-sess , encryption key NRPEK, integrity key NRPIK and related confidentiality and integrity algorithms. UE 202 can indicate to lower layers that direct security mode command messages can use a new security context for integrity protection and can use the new security context to receive signaling messages.
[0061] At S214 , UE 202 is ready to use the new security context to receive user plane data and signaling for the subsequent connection between UE 201 and UE 202 .
[0062] In S215, in response to receiving the direct security mode command message, UE 201 may receive the K signal received from UE 202. NRP , Nonce_1 and Nonce 2 derive K NRP-sess . K NRP It can be derived locally or received from UE 202, depending on the specific authentication method used. UE 201 can provide the new security context to the lower layers and indicate to the lower layers that the new security context can be used to protect signaling and user data. At this stage, UE 201 is ready to use the new security context to send and receive user plane data and signaling.
[0063] At S216, UE 201 may send a direct security mode complete message to notify UE 202 of the completion of the security mode control process. At S217, UE 202 is ready to use the new security context to send user plane data and signaling. In the case where the old security context exists, UE 202 may delete the old security context. For example, UE 202 may send an integrity-protected and confidentiality-protected direct communication accept message to UE 201 with the new security context. Process 200 may then terminate.
[0064] Figure 3 Another example of a security establishment procedure 300 between UE_1 301 (UE 301) and UE_2 302 (UE 302) over the LTE sidelink PC5 reference point is shown. The procedure 300 may be a connection establishment procedure (e.g., Figure 1 100). Process 300 may have a similar structure to process 200. For example, both process 300 and process 200 include similar steps. However, the corresponding messages of the two processes may include different parameters. For example, some parameters may be related to identity-based authentication and encryption schemes.
[0065] At S311, UE 301 sends a direct communication request message. The message may include security establishment related information and possible other parameters. For example, security establishment related information may include UE_1ID, Nonce_1 and signature. The signature may be generated based on UE_1ID and Nonce_1, so that UE_1ID and Nonce_1 may be covered. In other examples, user information of UE 301 (also referred to as user ID related information, user ID information or user related information) may be carried in the message instead of UE_1ID. UE ID may be determined based on user information and subsequently used, for example, to obtain a long-term key. For example, user information may provide or be used to derive UE ID (UE identity or identifier). Such UE ID may be used to determine a public key based on an identity-based authentication and encryption mechanism. A set of credentials associated with such UE ID (e.g., defined in RFC 6507 or RFC 6508) may be configured for the corresponding UE. In some examples, user information is carried in a user information information element (IE for short) in the direct communication request message. In some examples, such UE ID can be encoded in any format compatible with the guidelines provided in RFC 6509. For example, such UE ID can be a concatenation of a fixed part (in the form of an international mobile subscriber identity (IMSI)), a SIP URI (Session Initiation Protocol (SIP) multimedia communication protocol Uniform Resource Identifier (URI) scheme), a TEL URI (a resource identified by a telephone number), other user@domain type URIs, etc.), and a changing part (in the form of a timestamp).
[0066] At S312, a direct authentication and key establishment process may be performed between UE 301 and UE 302. The direct authentication and key establishment process may be different according to the authentication scheme adopted in different examples. As a result of the direct authentication and key establishment process, UE 301 and UE 302 have authenticated each other, and the root key K for direct communication between UE 301 and UE 302 is D Can be obtained.
[0067] At S313, UE 302 sends a direct security mode command message to UE 301. The message may include security establishment related information and possible other parameters. The security establishment related information may include UE_2ID, Nonce_2, a signature covering UE_2ID and Nonce_2, and an encrypted root key K D Similarly, in some examples, user-related information of UE 302 may be carried in the message instead of UE_2 ID.
[0068] At S314, UE 301 may send a direct security mode complete message to inform UE 302 that a security association has been established at UE 301. Process 300 may terminate thereafter.
[0069] During process 300, in some embodiments, the establishment of security can rely on a public key mechanism known as identity-based encryption. It is assumed that each UE is pre-configured with a "master" public key belonging to a key management server (KMS), and knows the algorithm for generating the public key of any peer UE based on the master public key and the identity (ID) of the peer UE. In the process 300 of establishing a connection, the direct communication request message includes the identity of UE_1 and a first signature. The first signature can be derived from the private key of UE_1. After UE_2 receives the message, it uses the master public key and the identity of UE_1 to derive the public key of UE_1, so that it confirms the authenticity of the first signature. After this step, UE_2 has confirmed the identity of UE_1. Subsequently, UE_2 sends a direct security mode command, which includes the identity of UE_2 and the second signature. The second signature comes from the private key of UE_2. After receiving the message, UE_1 uses the master public key and the identity of UE_2 to derive the public key of UE_2, thereby confirming the authenticity of the second signature. After this step, UE_1 has confirmed the identity of UE_2. In some embodiments, the public key mechanism used for these processes is the "Elliptic Curve-based Certificateless Signatures for Identity-based Encryption" (ECCSI) mechanism defined in IETF RFC 6507. In principle, any public key mechanism can be used as long as it provides a method to generate a single public key from a master public key.
[0070] At about the same time as the authentication process, UE_1 and UE_2 can exchange information to generate a shared root key K that only UE_1 and UE_2 know. D . Then you can get DDerive the session key K D-sess In order to generate K D-sess , the direct communication request message in S311 contains a random number marked as Nonce_1 (i.e., an arbitrary number generated by UE_1 for one-time use), which is used as the input for key derivation. Nonce_1 is not a secret and can be exchanged in plain text between the two UEs. (Based on the information exchanged between UE_1 and UE_2, K D The generation of Nonce_1 may use any of a variety of key generation algorithms; the details of the key generation algorithm are beyond the scope of this disclosure. Other steps of key generation may occur as part of S312). After receiving Nonce_1 in the direct communication request message (S311), after determining K D Afterwards, UE_2 generates a second random number, labeled Nonce_2, and uses Nonce_1 and Nonce_2 as input from K D Export K D-sess UE_2 then sends Nonce_2 to UE_1 in a direct security mode command message (S313), while explicitly sending K in encrypted form. D In some embodiments, the value of K used to encrypt the message D The preferred method is Sakai-Kasahara Key Encryption (SAKKE) as defined in IETF RFC 6508. In principle, other mechanisms can be used. UE_1 also uses Nonce_1 and Nonce_2 as input from K D Export K D-sess . Therefore, UE_1 and UE_2 have a shared session key that only they know. After this step, K D-sess Can be used to protect the communication between UE_1 and UE_2 using any agreed security algorithm.
[0071] Note that in order to correctly perform K D-sess To generate, Nonce_1 and Nonce_2 must be reliably and accurately exchanged between UE_1 and UE_2. To achieve this, the signature applied to the direct communication request and direct security mode command messages can also cover the random number and the corresponding UE identity. The generation of the signature from these inputs and the confirmation of the signature by the recipient may depend on the specific authentication method adopted.
[0072] In some embodiments, the security establishment related information at S311 may also include other parameters: for example, UE_1 security capability; D-sess Most significant bits of ID; optionally, if UE_1 has an existing K D , then K DID; establish K from the relevant long-term key held on the UE D necessary information for UE_2 to obtain the correct long-term key; and the long-term ID information required for UE_2 to obtain the correct long-term key.
[0073] In some embodiments, the security establishment related information at S313 may also include other parameters: D is generated, then for example K D The most significant bits of the ID; Nonce_2 to allow the session key to be calculated; the parameters of the selected algorithm to indicate which security algorithms the UE will use to protect the data; and K that can be used by the UE 301 to locally identify the security context D-sess The least significant bits of the ID.
[0074] Figure 4 An example of a control plane protocol stack 400 for direct communication between two peer UEs, UE 401 and UE 402, is shown. As shown, UE 401 and 402 communicate via a PC5 reference point. Each protocol stack of UE 401 or UE 402 may include a physical (PHY) layer, a medium access control (MAC) layer, a radio link control (RLC) layer, a packet data convergence protocol (PDCP) layer, a PC5 signaling protocol layer, and an application layer.
[0075] During the connection establishment and security establishment process, messages (e.g., direct communication request message, direct security mode command message, direct security mode completion message, direct communication acceptance, etc.) can be exchanged at the PC5 signaling protocol layer of UE 401 and UE 402. The PC5 signaling protocol layer can receive content from the upper application layer to form a message. In some embodiments, other signaling protocol layers can be used to exchange messages with similar functions. The security context of the connection between UE 401 and UE 402 can be provided to the PDCP layer from the application layer.
[0076] The foregoing description covers establishing peer security in LTE and NR sidelink environments. The introduction of relays in 3GPP Rel-17 creates a scenario in which UE_1 and UE_2 do not communicate directly, but rather communicate through a third "relay" UE UE_R. In the scenario, UE_1 and UE_2 may be referred to as remote UEs. Traffic from UE_1 may be delivered to UE_2 by the relay UE_R, and vice versa. The relay UE_R may not have access to plaintext traffic. End-to-end security may be required between UE_1 and UE_2.
[0077] Figure 5A An example is shown where UE_1 501 and UE_2 503 communicate via a relay UE UE_R 502. To secure the connection between two remote UEs UE_1 501 and UE_2 503 via the relay UE UE_R 502, security may be established on three links: between UE_1 501 and UE_R 502, between UE_R 502 and UE_2 503, and between UE_1 501 and UE_2 503. The first two "direct" links may rely on a sidelink procedure to establish security, but some additional effort is required to establish security for the third "indirect" link between UE_1 501 and UE_2 503.
[0078] In order to determine the session key used between UE_1 501 and UE_2 503, the UE initiating the connection (e.g., UE_1 501) can provide its own ID and random value. The UE terminating the connection (e.g., UE_2 503) can confirm the legitimacy of the initiation message (e.g., direct communication request message) based on the source ID and the public key of the source, and generate the session key based on the generated root key, source ID and random number. However, the initiation message is not sent directly from UE_1 501 to UE_2 503, but is routed through UE_R 502. In the connection establishment scheme disclosed in this article, the initiation message is used to establish a connection between UE_1 501 and UE_R 502, and to establish a connection between UE_1 501 and UE_2 503. UE_R 502 receives the initiation message from UE_1 501 and triggers its own process to establish security with UE_1 501, while also forwarding the initiation message to UE_2 503.
[0079] The content of the initiation message allows both UE_R 502 and UE_2 503 to verify that the message legitimately came from UE_1 501 and has not been tampered with. For example, the initiation message may be signed with the private key of UE_1 501 and may be validated using the public key of UE_1 501. Such a public key may be calculated by UE_R 502 or UE_2 503 based on information provided in the initiation message, such as the identity of UE_1, and a previously known public key of a key server.
[0080] In addition, the random number included in the initiation message allows UE_R 502 to generate a session key for use with UE_1 501 based on the random number and other key establishment information. When the initiation message is forwarded from UE_R 502 to UE_2 503, UE_2 503 will use the same random number as UE_R 502 to generate a session key if the same random number is provided. This may be acceptable if the other key establishment information is sufficient to ensure key separation (e.g., depending on the identity of the receiver, resulting in UE_R 502 generating different keys from UE_2 503). On the other hand, it is preferred that an additional random number UE_2 503 is included in the initiation message, in which case the initiation message can be extended to include two random numbers: a first random number for direct use (between UE_1 501 and UE_R 503), and a second random number for end-to-end use (between UE_1 501 and UE_2 503).
[0081] It is worth noting that in a mesh network or multi-hop relay environment, there may be more than one relay UE between UE_1 and UE_2. However, this does not result in the need for additional security associations. Figure 5B An example of a connection from UE_1 511 to UE_R1 512 to UE_R2 513 to UE_2 514 is shown. A security association may not be required between UE_1 511 and UE_R2 513 and between UE_2 514 and UE_R1 512. This is because there is no traffic between these pairs of endpoints. Security can be established on a hop-by-hop basis. In this way, the security of communications between each UE and its "neighbors" in the communication chain can be ensured. Security can also be established on an end-to-end basis. As a result, communications between the two endpoints UE 511 and 514 can be protected.
[0082] On the other hand, in an environment with multiple relays, each relay can establish a security association with the next relay. Figure 5B In the example, UE_R1 512 and UE_R2 513 can communicate securely. (While relaying UEs are not expected to exchange user plane traffic as part of the relay connection, they can exchange signaling to manage the connection between them. The signaling can be protected according to normal security principles) Thus, for example, when forwarding an initiation message (such as a direct communication request) to UE_R2 513, UE_R1 512 may need to replace the first "direct" random number (provided by UE_1 511) with a new value used between UE_R1 512 and UE_R2 513.
[0083] Figure 6An example of a connection establishment process 600 between two UEs 601 and 603 communicating via a relay UE 602 according to an embodiment of the present disclosure is shown. During the process 600, a secure connection may be established between UE 601 and UE 602, between UE 602 and UE 603, and between UE 601 and UE 603. UE 601 may be referred to as an initiating UE, and UE 603 may be referred to as a target UE. Each UE 601-603 may be a vehicle, a mobile phone, a portable computer, etc. Each UE 601-603 is capable of communicating with one or more neighboring UEs through a direct interface, such as a side link based on NR or a side link based on LTE (based on Evolved Universal Terrestrial Radio Access (Evolved Universal Terrestrial Radio Access, referred to as E-UTRA)).
[0084] At S610, UE 601 may send a direct communication request message to initiate a connection establishment process 600. In an example, UE 601 may know which UE is the target UE 603 (e.g., layer 2 ID or application ID of UE 603) and send a direct communication request message addressed to the target UE. For example, UE 603 may periodically broadcast an announcement message in a mesh network to announce the services that UE 603 can provide. UE 601 may receive such an announcement message and therefore want to request a service from UE 603. For another example, UE 601 may send an inquiry message to request a specific service. UE 603 may reply to the inquiry message with a confirmation that UE 603 can provide the requested service. The reply message may indicate the ID of UE 603.
[0085] In an example, UE 601-603 may be part of a wireless mesh network. Each UE may maintain a routing table locally according to a routing protocol. Based on the routing table, UE 601 may select a neighboring UE as a relay UE 602 in order to reach a target UE 603. Alternatively or additionally, UE 601 may apply other criteria to select relay UE 602, such as signal strength, geographic proximity, an indication from relay UE 602 that the relay UE 602 may serve as a relay UE between UE 601 and UE 603, and the like.
[0086] In the example, UE 601 may not know the target UE in advance. UE 601 may include information in the direct communication request message to indicate the desired service and broadcast the direct communication request message. Neighboring UEs of UE 601 (e.g., UE 602) may receive the broadcast message and forward the message to one or more surrounding UEs. Upon receiving the direct communication request message, UE 603 may determine to reply to UE 601 to confirm that UE 603 will be the target UE. For example, UE 603 may determine that it can support the desired service, and UE 603 may indicate such support in the reply to UE 601.
[0087] In one embodiment, the direct communication request message of S610 may include two sets of separate security establishment related information: first security establishment related information and second security establishment related information. The first security establishment related information will be used to establish security between the initiating UE 601 and the relay UE 602. The second security establishment related information will be used to establish security between the initiating UE 601 and the target UE 603. The first security establishment related information and the second security establishment related information may be similar to Figure 2 and Figure 3 Example.
[0088] At S611, UE 602 initiates an authentication and security establishment process in response to receiving the direct communication request message of S610. The authentication and security establishment process may be based on the second security establishment related information of S610. For example, the authentication and security establishment process may include an authentication and key establishment process to perform mutual authentication and derive a root key for UE 601 and 602. The authentication and security establishment process may also include a security mode control process to establish a security association for a session between UE 601 and 602. For example, the authentication and security establishment process may include a process similar to Figure 2 Steps S212-S216 in the example, or similar Figure 3 Steps S312-S314 in the example.
[0089] At S612 , UE 602 may send a direct communication accept message to S601 to complete the connection establishment between UE 601 and UE 602 .
[0090] At S613, UE 602 may send a direct communication request message to UE 603. The direct communication request message of S613 may include two sets of separate security establishment related information: first security establishment related information and third security establishment related information. The third security establishment related information will be used for security establishment between UE 602 and UE 603. The third security establishment related information may be similar to Figure 2 and Figure 3 Information in the example.
[0091] For example, after UE 602 has authenticated UE 601 based on the second security establishment related information of S610, UE 602 may replace the second security establishment related information of S610 with the third security establishment related information to form a direct communication request message of S613. Figure 6 S613 is shown as following S612 in the example, but in other examples, S613 may be performed once UE 602 has completed authentication with UE 601 .
[0092] At S614, UE 603 initiates an authentication and security establishment process in response to receiving the direct communication request message of S613. For example, based on the direct communication request message of S613, UE 603 may determine that UE 603 is the target UE of initiating UE 601. Accordingly, UE 603 may end forwarding of the first security establishment related information, and begin to first establish a secure connection between UE 603 and UE 602, and then establish a secure connection between UE 603 and UE 601.
[0093] In some embodiments, the authentication and security establishment process of S614 may be similar to the authentication and security establishment process of S611 , but based on the third security establishment related information of S613 .
[0094] At S615 , UE 603 may send a direct communication accept message to S602 to complete the connection establishment between UE 602 and UE 603 .
[0095] At S616 , UE 603 initiates an authentication and security establishment process between UE 603 and UE 601 based on the first security establishment related information.
[0096] At S617, UE 603 may send a direct communication accept message to S601 to complete the connection establishment between UE 601 and UE 603. Process 600 may terminate thereafter.
[0097] In one embodiment, Figure 6 The difference is that the direct communication request message sent in S610 may only include the first security establishment related information. Accordingly, the authentication and security establishment process in S611 may also be based on the first security establishment related information (the same as that used in S616).
[0098] Figure 7A message flow 700 for connection establishment and security establishment in a setting with two relay UEs according to some embodiments of the present disclosure is shown. In the message flow 700, a first remote UE UE_1 701 wishes to establish communication with a second remote UE UE_2 704, and the communication is mediated by two relay UEs UE_R1 702 and UE_R2 703. The connection establishment signaling is shown using the terminology of the PC5 signaling (PC5-S) protocol from the 5G system, where the connection establishment is initiated by a Direct Communication Request (DCR) message and ended by a Direct Communication Accept (DCA) message, and security is established by a Direct Security Mode Command (DSMC) message, followed by a Direct Security Mode Complete (DSMComp) message.
[0099] Figure 7 Steps 1 to 1e establish a connection with secure communication between the first remote UE UE_1 701 and the first relay UE UE_R1 702.
[0100] exist Figure 7 In step 1, UE_1 701 sends a first DCR message requesting communication with UE_2 702. The first DCR message may be sent after the discovery process has occurred, meaning that UE_1 701 already knows that it is communicating with UE_2 702 through a relay. Alternatively, the first DCR message may be sent as a step in the discovery process, meaning that UE_1 701 requests communication with UE_2 702 but does not yet know whether UE_2 702 is accessible (directly or through one or more relays). The first DCR message contains at least a first random number (E2E_Nonce_UE1) and a first signature (E2E_Sig_UE1) of UE_1 701, which will be used for end-to-end communication with UE_2 704. The first DCR message may also contain a second random number (Hop_Nonce_UE1), which will be used for hop-by-hop communication with UE_R1 702 in subsequent steps. The signature E2E_Sig_UE1 may be generated by any of a variety of methods, such as by signing the message content with the private key of UE_1 701 according to a public key cryptographic scheme. The first DCR message may also include a temporary or permanent identity of UE_1 701 ( Figure 7 not shown).
[0101] If the second random number Hop_Nonce_UE1 is included in the first DCR message, the signature E2E_Sig_UE1 may be generated on the portion of the first DCR message that does not include Hop_Nonce_UE1. (This is because if Hop_Nonce_UE1 is included, it will be replaced with a different value in subsequent steps.) Therefore, E2E_Sig_UE1 may not be used to confirm that Hop_Nonce_UE1 has not been tampered with in transmission, and UE_1 701 may need to include the second signature (Hop_Sig_UE1) of UE_1 701 in the first DCR message. The second signature of UE_1 701 may be calculated on a portion of the message that includes Hop_Nonce_UE1.
[0102] exist Figure 7 In step 1a, if provided, UE_R1 702 receives the first DCR message and uses cryptographic operations to confirm the validity of Hop_Sig_UE1, (if Hop_Sig_UE1 is not provided, UE_R1 702 can confirm the validity of E2E_Sig_UE1 to verify the identity of the originating UE, although if E2E_Sig_UE1 does not include Hop_Nonce_UE1. This process will not confirm that Hop_Nonce_UE1 has not been modified or corrupted).
[0103] A typical procedure for the confirmation step can be performed as follows. The sender ("Alice") provides the sender's ID (e.g., "alice@example.com") to the receiver ("Bob") in a message signed using the sender's private key, and the receiver calculates the sender's public key based on the ID and other information (e.g., key server configuration). The calculation of the sender's public key may rely on an identity-based mechanism, where the sender's identity and the key server's public key are sufficient to derive the sender's public key. Knowing the sender's public key allows the receiver to confirm that the signature on the message belongs to the sender, and therefore the message legitimately originates from the claimed source and has not been tampered with or damaged in transmission. In Figure 7 In the context of , this means that in step 1a, UE_R1 702 can confirm that the first DCR message is legitimately from UE_1 701 by checking Hop_Sig_UE1 or E2E_Sig_UE1.
[0104] Also in Figure 7 In step 1a, UE_R1 701 may generate a root key K D (1, R1), the root key K D (1, R1) will be used for secure communication between UE_1 701 and UE_R1 702. DThe derivation of (1, R1) may be based at least in part on information from the first DCR message, and may use any of a variety of techniques to generate the key. In some embodiments, K D The generation of (1, R1) may also depend on information unknown to UE_1 701, because K D (1, R1) will be provided to UE_1 701 in a subsequent step and does not need to be generated by UE_1.
[0105] exist Figure 7 In step 1b, UE_R1 702 sends a first direct security mode command (DSMC) message to UE_1 701. The first DSMC command may include the root key K in an encrypted format. D (1, R1). Various techniques can be used to ensure that K D The first DSMC command may include a third random number (Hop_Nonce1_UER1) generated by UE_R1 702 and / or a first signature (Hop_Sig1_UER1) of UE_R1 702.
[0106] exist Figure 7 In step 1c, UE_1 701 and UE_R1 702 independently generate a first session key K D-sess (1, R1), which can be used to protect subsequent communications between UE_1 701 and UE_R1 702. The first session key can be derived from a root key K D The establishment of the first session key means that UE_1 701 and UE_R1 702 can communicate securely.
[0107] exist Figure 7 In step 1d, UE_1 701 sends a first direct security mode complete (DSMComp) message to UE_R1 702. The first DSMComp message uses the K D-sess (1, R1) One or more keys derived for security protection (encryption and / or signing).
[0108] exist Figure 7 In step 1e, UE_R1 702 sends a first direct communication accept (DCA) message to UE_1 701. The first DCA message uses the K D-sess (1, R1) One or more keys derived for security protection (encryption and / or signing).
[0109] Figure 7 Steps 2 to 2e of the present invention establish a connection with secure communication between the first relay UE UE_R1 and the second relay UE UE_R2. The steps are similar to steps 1 to 1e, but some parameters provided by UE_1 in steps 1 to 1e are replaced by new parameters provided by UE_R1 in steps 2 to 2e.
[0110] exist Figure 7 In step 2, UE_R1 702 passes the second DCR message to UE_R2 703. The second DCR message can be considered a forwarded copy of the first DCR message, with some parameters modified as described herein. The second DCR message can include a first random number (E2E_Nonce_UE1) and a first signature of UE_1 (E2E_Sig_UE1), which are also in the first DCR message. However, if the second random number (Hop_Nonce_UE1) was originally included, it can be replaced with a fourth random number (Hop_Nonce2_UER1), and the second signature of UE_1 (Hop_Sig_UE1) can be replaced with the second signature of UE_R1 702 (Hop_Sig2_UER1). The second signature of UE_R1 702 can be calculated on a portion of the message including Hop_Nonce2_UER1.
[0111] exist Figure 7 In step 2a, UE_R2 703 checks Hop_Sig2_UER1 to confirm the identity of UE_R1 and the integrity of the second DCR message. Figure 7 In step 2a, UE_R2 703 generates a second root key K for communication between UE_R1 702 and UE_R2 703 D (R1,R2). Similar to Figure 7 These processes may use any of a variety of cryptographic techniques.
[0112] exist Figure 7 In step 2b, UE_R2 703 sends a second DSMC message to UE_R1 702. The second DSMC message may include the second root key (in encrypted form), the fifth random number Hop_Nonce1_UER2 and / or UE_R2 703 Hop_Sig1_UER2.
[0113] exist Figure 7 In step 2c, UE_R1 702 and UE_R2 703 use the fourth and fifth random numbers (Hop_Nonce2_UER1 and Hop_Nonce1_UER2) to generate a second session key K D-sess (R1, R2).
[0114] exist Figure 7 In step 2d, UE_R1 702 sends a second DSMComp message to UE_R2 703. The second DSMComp message may use D-sess (R1, R2) One or more keys derived are used for security protection.
[0115] exist Figure 7 In step 2e, UE_R2 703 sends a second DCA message to UE_R1 702. The second DCA message may use D-sess (R1, R2) One or more keys derived are used for security protection.
[0116] Figure 7 Steps 3 through 3e use the same Figure 7 The corresponding operations in steps 2 to 2e are basically the same process to establish a connection with secure communication between UE_R2703 and UE_2 704.
[0117] exist Figure 7 In step 3, UE_R2 703 sends a third DCR message to UE_2 704. The third DCR message can be considered as a forwarded copy of the first DCR message, with some parameters modified as described herein. The second random number Hop_Nonce_UE1 in the first DCR message can be replaced with the sixth random number Hop_Nonce2_UER2, and the second signature of UE_1 (Hop_Sig_UE1) can be replaced with the second signature of UE_R2 (Hop_Sig2_UER2). The second signature of UE_R2 703 can be calculated on a portion of the message including Hop_Nonce2_UER2.
[0118] exist Figure 7 In step 3a, UE_2 704 checks Hop_Sig2_UER2 to confirm the identity of UE_R2 703 and the integrity of the third DCR message, and generates a third root key K for communication between UE_R2 703 and UE_2. D (R2,2)704.
[0119] exist Figure 7 In step 3b, UE_2 704 sends a third DSMC message to UE_R2 703, which includes the third root key (in encrypted form), the seventh random number Hop_Nonce_UE2, or some or all of the first signature of UE_2 704 (Hop_Sig_UE2).
[0120] exist Figure 7In step 3c, UE_R2 703 and UE_2 704 use Hop_Nonce2_UER2 and Hop_Nonce_UE2 to generate a third session key K D-sess (R2,2).
[0121] exist Figure 7 In step 3d, UE_R2 703 sends a third DSMComp message to UE_2 704.
[0122] exist Figure 7 In step 3e, UE_2 704 sends a third DCA message to UE_R2 703.
[0123] Figure 7 Steps 4a to 4e of the present invention establish a connection between UE_1 701 and UE_2 704 using secure communication. The process is similar to Figure 7 No additional DCR message needs to be delivered because the DCR message has already been delivered to UE_2 704 in step 3 above.
[0124] exist Figure 7 In step 4a, UE_2 704 checks E2E_Sig_UE1 (UE_1's first signature) to confirm the identity of UE_1 701 and the integrity of those parts of the third DCR message covered by E2E_Sig_UE1. It should be noted that E2E_Sig_UE1 remains unchanged through the first, second, and third DCR messages, so any field covered by E2E_Sig_UE1 must also remain unchanged through the first, second, and third DCR messages. As an example, E2E_Sig_UE1 can cover the fields of the third DCR message indicating the identity of UE_1 and the first random number E2E_Nonce_UE1. Similarly, Figure 7 In step 4a, UE_2 704 generates a fourth root key K D (1, 2).
[0125] exist Figure 7 In step 4b, UE_2 704 sends a fourth DSMC message to UE_1 701. Transmission of the fourth DSMC message may be provided by intermediate relay UEs UE_R2 703 and UE_R1 702. The fourth DSMC message may be transmitted on a signaling radio bearer via a relay UE supporting routing functionality. The fourth DSMC message may include a fourth root key (in encrypted form), an eighth random number E2E_Nonce_UE2, and / or a second signature (E2E_Sig_UE2) of UE_2 704.
[0126] exist Figure 7 In step 4c, UE_1 701 and UE_2 704 use E2E_Nonce_UE1 and E2E_Nonce_UE2 respectively to generate a fourth session key K for communication between UE_1 701 and UE_2 704. D-sess (1,2). Note that although UE_R1 702 and UE_R2 703 participate in the transmission of the fourth DSMC message from UE_2 704 to UE_1 701, they do not have access to K D (1,2), so UE_R1 702 and UE_R2 703 cannot repeat K D-sess Therefore, the security between UE_1 701 and UE_2 704 is end-to-end, which means that the intermediate relay nodes cannot access the encrypted communication between UE_1 701 and UE_2 704, nor can they modify the integrity protected communication between UE_1 701 and UE_2 704.
[0127] exist Figure 7 In step 4d, UE_1 701 sends a fourth DSMComp message to UE_2 704.
[0128] exist Figure 7 In step 4e, UE_2 704 sends a fourth DCA message to UE_1 701.
[0129] exist Figure 7 After all the steps are completed, secure communication is performed between each pair of adjacent UEs (i.e., between UE_1 701 and UE_R1 702; between UE_R1 702 and UE_R2 703; and between UE_R2 703 and UE_2 704), as well as between remote UEs UE_1 701 and UE_2 704.
[0130] In some embodiments, the number of individual random numbers generated by participants in the connection establishment may be reduced. Figure 8 Shown as Figure 7 800, in which UE_1 701 only provides a single random number that can be used to generate a session key (K in the figure) for a direct connection with the first relay UE 702. D-sess (1, R1)) and is also generating a session key for an end-to-end connection to a peer remote UE 704 ( Figure 8 K D-sess (1,2)) while keeping the keys separated.
[0131] Figure 8 Most of the steps are Figure 7 The steps are the same as in Figure 8 In step 1, UE_1 701 only provides a single random number Nonce_UE1 and a single signature Sig_UE1 (covering at least UE_1 701 and Nonce_UE1). Figure 8 In step 1a, UE_R1 702 checks the signature Sig_UE1 to confirm the identity of UE_1 701 and the Figure 8 The accuracy of the DCR message in step 1, and the generation of the root key K D (1, R1). Figure 8 In step 1b, UE_R1 702 sends a message containing the generated K D (1, R1) (encrypted), the random number Hop_Nonce1_UER1 and the signature Hop_Sig1_UER1 covering at least the ID of UE_R1 and Hop_Nonce1_UER1. (It is reasonable to expect that the signature also covers the encryption key K D (1, R1), but in some embodiments this may not be necessary, for example if the mechanism used to protect the root key also provides signatures). Figure 8 In step 1c, UE_1 701 and UE_R1 702 use Nonce_UE1 and Hop_Nonce1_UER1 to generate a session key K D-sess (1, R1). Note that in subsequent steps, the same random number Nonce_UE1 will be used to generate the session key between UE_1 701 and UE_2 704; however, key separation can be maintained because Figure 8 Step 1c of also depends on Hop_Nonce1_UER1, and the subsequent steps of generating the end-to-end session key will depend on a different random number provided by UE_2 704.
[0132] exist Figure 8 In step 2, UE_R1 702 forwards the DCR message with additional information, including at least the identity of UE_R1 702, the random number Hop_Nonce2_UER1 and the signature Hop_Sig2_UER1; the signature covers at least the identities of UE_R1 702 and Hop_Nonce2_UER1. Then, Figure 8 Follow steps 2a to 2e Figure 7 conduct.
[0133] exist Figure 8In step 3, UE_R2 703 forwards the DCR message with additional information, including at least the identity of UE_R2 703, the random number Hop_Nonce2_UER2 and the signature Hop_Sig2_UER2; the signature covers at least the identities of UE_R2 702 and Hop_Nonce2_UER2. Note that the forwarded DCR message of steps 2 and 3 contains all the original information from the DCR message of step 1, as well as the additional security information provided by the intermediate relay UE; each forwarded DCR can be interpreted as containing the remote ID (ID of UE_1 701), the remote random number (Nonce_UE1), the remote signature (Sig_UE1), the relay ID (the ID of the forwarding relay UE, UE_R1 702 or UE_R2 703), the relay random number (Hop_Nonce2_UER1 or Hop_Nonce2_UER2) and the relay signature (Hop_Sig2_UER1 or Hop_Sig2_UER2). Then, Figure 8 Follow steps 3a to 3e Figure 7 conduct.
[0134] Figure 8 Follow steps 4a to 4e Figure 7 The original remote random number Nonce_UE1 is used in step 4c to derive the end-to-end session key K D-sess (1,2); As mentioned above, the same random number is used to generate K in step 1c D-sess (1, R1), but in step 4c, the use of E2E_Nonce_UE2 distinguishes the key derivation input from the key derivation input used in step 1c.
[0135] Fig. 9 The process of forming a signature during the connection establishment and security establishment process 800 is shown. The original DCR sent from the initiating UE 701 to the relay UE 702 may carry a remote signature. The remote signature may be formed at the UE 701 based on the remote ID of the UE 701 and the remote random number generated at the UE 701. The forwarded DCR sent from the relay UE 702 to the relay UE 703 may carry two signatures: a remote signature formed at the UE 701 and a relay signature. The relay signature may be formed at the UE 702 based on the relay ID of the UE 702 and the relay random number generated at the UE 702. Similarly, the forwarded DCR sent from the relay UE 703 to the target UE 704 may carry two signatures: a remote signature formed at the UE 701 and another relay signature. The relay signature may be formed at the UE 703 based on the relay ID of the UE 703 and the relay random number generated at the UE 703.
[0136] In the above process, security is established at each hop as long as the original DCR message is forwarded. This is effective if the relay UE involved already knows the route to UE_2. For example, if UE_R1 702, UE_R2 703, and UE_2 704 are already involved in communication (e.g., as members of a mesh network) and UE_1 701 initiates communication to join the network. However, in some embodiments, once the initial DCR is received, it is best to dynamically determine the route so that, for example, UE_R1 702 does not establish hop-by-hop secure communications with UE_1 701 until UE_R1 702 knows that it has a route to UE_2 704. Fig.10 A general flow chart 1000 of such a process is shown in FIG.
[0137] Fig.10 The practical steps and Figure 7 The same as those of , but in a different order. Figure 7 , so step 1-1e establishes communication between UE_1 and UE_R1, step 2-2e establishes communication between UE_R1 and UE_R2, and so on. Figure 7 In contrast, each relay performs forwarding of the DCR message after or immediately after confirming the signature of its previous relay - for example, step 2 (where UE_R1 702 sends the DCR message to UE_R2 703) occurs after step 1a (where UE_R1 702 confirms the identity of UE_1 701), rather than waiting until UE_R1 702 has exchanged security signaling and completed connection establishment with UE_1 701. Only after step 2e is completed, when UE_R2 703 has accepted communication with UE_R1 702, does UE_R1 702 continue to establish security and accept communication with UE_1 701 (steps 1b-1e).
[0138] Note that Fig.10 In the embodiment of the present invention, there is no explicit trigger for step 4a (the first step of establishing an end-to-end connection between UE_1 701 and UE_2 704). In fact, UE_2 704 can trigger steps 4a and 4b at any time after step 3e, when UE_2 704 establishes communication with UE_R2 703. This means that the DSMC message in step 4b can be sent before all intermediate hop-by-hop connections are established. For example, UE_R2 703 can receive the DSMC message of step 4b while it is still in the process of executing steps 2b-2e. In this case, UE_R2 703 can delay forwarding of the DSMC message until step 2e is completed.
[0139] Figure 8The steps may be reordered in a corresponding manner such that each instance of the DCR message is forwarded before completing establishment of the previous hop-by-hop connection.
[0140] Fig.10 process or from Figure 8 The derived equivalent process can be viewed as integrating relay discovery and / or route determination into the connection establishment process. If such a process is used without a priori determination of the network topology, it would be beneficial to have a way to limit the forwarding of the initial DCR message. Otherwise, potential relay UEs that do not reach the route to UE_2 may forward copies of the DCR message between them more or less indefinitely, resulting in network overhead. One mechanism to limit such forwarding is to associate a maximum hopcount with the original DCR sent by UE_1 701. Each relay UE that receives the DCR can reduce the hop count and forward the message to its peers only if the remaining hop count is greater than a threshold (e.g., greater than zero). This approach may have the beneficial effect of limiting the latency of the path ultimately found from UE_1 701 to UE_2 704; for example, if UE_1 701 wishes to establish communication with UE_2 704 for a service requiring low latency, it may send an initial DCR message with a correspondingly low maximum number of hops, whereas for a delay tolerant service the maximum number of hops may be larger. The exact method of selecting the number of hops may be specified as a function of the quality of service (QoS) requirements of the desired service, or may be left to the implementation of UE_1 to determine the appropriate number of hops.
[0141] Fig.11 An example of a security establishment process 1100 according to an embodiment of the present disclosure is shown. The method may be performed at a relay UE to establish a secure connection between an initiating UE and a target UE. The method may start from S1101 and proceed to S1110.
[0142] At S1110, a communication request message for establishing a connection between an initiating UE and a target UE may be received at a relay UE from a first neighboring UE of the relay UE. The communication request message may include first security establishment related information originating from the initiating UE. The first security establishment related information may be used to establish a security association between the initiating UE and the target UE.
[0143] At S1120, the communication request message is modified to add second security establishment related information. The second security establishment related information may be used to establish a security association between the relay UE and the second neighboring UE.
[0144] At S1130, the modified communication request message may be sent to the second neighboring UE. The modified communication request message may include (1) first security establishment related information from the initiating UE, used to establish a security association between the initiating UE and the target UE, and (2) second security establishment related information added by the relay UE to establish a security association between the relay UE and the second neighboring UE. Process 1100 may proceed to S1199 and terminate at S1199.
[0145] Fig.12 Another example of a security establishment process 1200 according to an embodiment of the present disclosure is shown. The method may be performed at a target UE to establish a secure connection between an initiating UE and a target UE. The method may start from S1201 and proceed to S1210.
[0146] At S1210, a communication request message may be received at the target UE from the relay UE, the communication request message being used to establish a connection between the initiating UE and the target UE via the relay UE. For example, the communication request message includes (1) first security establishment related information, initiated from the initiating UE, and used to establish a security association between the initiating UE and the target UE; and (2) second security establishment related information, originated from the relay UE, and used to establish a security association between the relay UE and the target UE.
[0147] At S1220 , a secure connection may be established between the relay UE and the target UE based on the second security establishment related information originating from the relay UE.
[0148] At S1230 , authentication with the initiating UE may be performed based on the first security establishment related information from the initiating UE to determine a root key for communication between the initiating UE and the target UE.
[0149] At S1240, based on the first security establishment related information from the initiating UE, a security mode control process of the initiating UE may be initiated to establish a security association between the initiating UE and the target UE. A security mode control command message for the initiating UE may be sent to the relay UE via a secure connection between the relay UE and the target UE. Process 1200 may proceed to S1299 and terminate at S1299.
[0150] Fig.13An exemplary device 1300 according to an embodiment of the present disclosure is shown. The device 1300 may be configured to perform various functions according to one or more embodiments or examples described herein. Therefore, the device 1300 may provide a means for implementing the mechanisms, techniques, processes, functions, elements, and systems described herein. For example, the device 1300 may be used to implement the functions of the UE in the various embodiments and examples described herein. The device 1300 may include a general-purpose processor or a specially designed circuit to implement the various functions, elements, or processes described in various embodiments herein. The device 1300 may include a processing circuit 1310, a memory 1320, and a radio frequency (RF) module 1330.
[0151] In various examples, the processing circuit 1310 may include circuits configured to perform the functions and processes described herein in conjunction with or without software. In various examples, the processing circuit 1310 may be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (PLD), a field-programmable gate array (FPGA), a digital enhancement circuit, or a similar device or a combination thereof.
[0152] In some other examples, the processing circuit 1310 may be a central processing unit (CPU) configured to execute program instructions to perform the various functions and processes described herein. Therefore, the memory 1320 may be configured to store program instructions. The processing circuit 1310 may perform functions and processes when executing program instructions. The memory 1320 may also store other programs or data, such as an operating system, an application program, etc. The memory 1320 may include non-temporary storage media, such as a read-only memory (ROM), a random access memory (RAM), a flash memory, a solid-state memory, a hard disk drive, an optical drive, and the like.
[0153] In one embodiment, the RF module 1330 receives the processed data signal from the processing circuit 1310, and converts the data signal into a beamforming wireless signal, and then transmits the beamforming wireless signal through the antenna array 1340, and vice versa. The RF module 1330 may include a digital-to-analog converter (DAC), an analog-to-digital converter (ADC), a frequency up-converter, a frequency down-converter, filters and amplifiers for receiving and transmitting operations. The RF module 1330 may include a multi-antenna circuit for beamforming operations. For example, the multi-antenna circuit may include an uplink spatial filter circuit and a downlink spatial filter circuit for moving the phase of an analog signal or scaling the amplitude of an analog signal. The antenna array 1340 may include one or more antenna arrays.
[0154] The apparatus 1300 may optionally include other elements, such as input and output devices, additional or signal processing circuits, etc. Thus, the apparatus 1300 may be capable of performing other additional functions, such as executing applications and processing alternative communication protocols.
[0155] The processes and functions described herein may be implemented as computer programs that, when executed by one or more processors, may cause one or more processors to perform the corresponding processes and functions. The computer program may be stored or distributed on a suitable medium, such as an optical storage medium or solid-state medium provided with or as part of other hardware. The computer program may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunications systems. For example, a computer program may be obtained and loaded into a device, including obtaining the computer program via a physical medium or a distributed system, including, for example, from a server connected to the Internet.
[0156] A computer program may be accessed from a computer-readable medium that provides program instructions for use by or in conjunction with a computer or any instruction execution system. A computer-readable medium may include any device that stores, communicates, propagates, or transmits a computer program for use by or in conjunction with an instruction execution system, device, or apparatus. A computer-readable medium may be a magnetic, optical, electronic, electromagnetic, infrared, or semiconductor system (or device or apparatus) or a propagation medium. A computer-readable medium may include a computer-readable non-transitory storage medium, such as a semiconductor or solid-state memory, a magnetic tape, a removable computer floppy disk, a random access memory (RAM), a read-only memory (ROM), a magnetic disk, and an optical disk. A computer-readable non-transitory storage medium may include all types of computer-readable media, including magnetic storage media, optical storage media, flash memory media, and solid-state storage media.
[0157] Although the various aspects of the present disclosure have been described in conjunction with its specific embodiments proposed as examples, the examples may be substituted, modified and varied. Therefore, the embodiments set forth herein are intended to be illustrative rather than restrictive. Changes may be made without departing from the scope of the claims set forth below.
Claims
1. A method for relaying a user equipment, comprising: receiving, at the relay UE, a communication request message from a first neighboring UE, the communication request message being used to establish a connection between an initiating UE and a target UE, the communication request message comprising first security establishment related information, the first security establishment related information originating from the initiating UE and being used to establish a security association between the initiating UE and the target UE; modifying the communication request message to add second security establishment related information, where the second security establishment related information is used to establish a security association between the relay user equipment and a second adjacent user equipment; as well as Sending the modified communication request message to the second neighboring user equipment, the communication request message comprising: first security establishment related information, originating from the initiating UE, for establishing the security association between the initiating UE and the target UE, and The second security establishment related information is added by the relay UE and is used to establish the security association between the relay UE and the second neighboring UE.
2. The method for relaying user equipment as claimed in claim 1, characterized in that The first neighboring user equipment is the initiating user equipment, and the method further includes: performing authentication based on the first security establishment related information from the initiating UE to determine a root key for a plurality of communications between the first neighboring UE and the relay UE; and A security mode control process is initiated based on the first security establishment related information from the initiating UE to establish a security association between the first neighboring UE and the relay UE.
3. The method for relaying user equipment as claimed in claim 1, characterized in that The communication request message includes third security establishment related information from the first neighboring UE, the third security establishment related information is used to establish a security association between the first neighboring UE and the relay UE, and The modifications include: The third security establishment related information from the first neighboring UE is replaced with the second security establishment related information, where the second security establishment related information is used to establish the security association between the relay UE and the second neighboring UE.
4. The method for relaying a user equipment as claimed in claim 3, further comprising: performing authentication based on the third security establishment related information from the first neighboring UE to determine a root key for a plurality of communications between the first neighboring UE and the relay UE; as well as A security mode control procedure is initiated based on the third security establishment related information from the first neighboring UE to establish a security association between the first neighboring UE and the relay UE.
5. The method for relaying user equipment as claimed in claim 1, further comprising: In response to receiving a request for a security mode control process from the second neighboring UE, initiating a security mode control process to establish a security association between the first neighboring UE and the relay UE based on one of: the first security establishment related information from the initiating user equipment, and The third security establishment related information is from the first neighboring user equipment and included in the communication request message.
6. The method for relaying user equipment as claimed in claim 1, wherein: The first security establishment related information from the initiating user device includes first user information of the initiating user device, a first random number generated at the initiating user device, and a first signature, wherein the first signature covers the first user information of the initiating user device and the first random number generated at the initiating user device, and The second security establishment related information added by the relay user equipment includes second user information of the relay user equipment, a second random number generated at the relay user equipment, and a second signature, wherein the second signature covers the second user information of the relay user equipment and the second random number generated at the relay user equipment.
7. The method for relaying user equipment as claimed in claim 6, characterized in that: The communication request message includes third security establishment related information from the first neighboring user equipment, wherein the third security establishment related information is used to establish a security association between the first neighboring user equipment and the relay user equipment, The third security establishment related information from the first neighboring user equipment includes third user information of the first neighboring user equipment, a third random number generated at the first neighboring user equipment, and a third signature, wherein the third signature covers the third user information of the first neighboring user equipment and the third random number generated at the first neighboring user equipment, and The modifications include: The third random number and the third signature are replaced with the second random number and the second signature, the third signature covers the third user information and the third random number of the first neighboring user equipment, and the second signature covers the second user information and the second random number of the relay user equipment.
8. The method for relaying a user equipment as claimed in claim 6, further comprising: Authenticating the first neighboring user equipment based on one of the following: the first signature, the first signature covering the first user information of the initiating user device and the first random number generated at the initiating user device, and A third signature, where the third signature covers a third user of the first neighboring user equipment and a third random number generated at the first neighboring user equipment.
9. The method for relaying a user equipment as claimed in claim 6, further comprising: Sending a security mode command message to the first neighboring user equipment, the message comprising: a root key for a plurality of communications between the first neighboring user equipment and the relay user equipment, a fourth random number generated at the relay UE and used for a connection between the first neighboring UE and the relay UE, and A fourth signature covers the fourth random number generated at the relay UE for the connection between the first neighboring UE and the relay UE.
10. The method for relaying user equipment as claimed in claim 9, further comprising: A session key for the connection between the first neighboring UE and the relay UE is derived based on: The root key is used for multiple communications between the first neighboring user equipment and the relay user equipment, the fourth random number is generated at the relay UE and is used for the connection between the first neighboring UE and the relay UE, and One of the first random number generated at the initiating UE and a third random number generated at the first neighboring UE.
11. The method for relaying a user equipment as claimed in claim 6, further comprising: A security mode command message is received from the second neighboring user equipment, the message comprising: a root key for a plurality of communications between the second neighboring user equipment and the relay user equipment, a fifth random number, generated at the second neighboring UE, for use in a connection between the second neighboring UE and the relay UE, and a fifth signature covering the fifth random number generated at the second neighboring UE for the connection between the second neighboring UE and the relay UE; and The second neighboring UE is authenticated based on the fifth signature covering the fifth random number generated at the second neighboring UE for the connection between the second neighboring UE and the relay UE.
12. The method for relaying a user equipment as claimed in claim 11, further comprising: A session key for the connection between the second neighboring UE and the relay UE is derived based on: The root key is used for multiple communications between the second neighboring user equipment and the relay user equipment, the fifth random number is generated at the second neighboring UE and is used for the connection between the second neighboring UE and the relay UE, and The second random number is generated at the relay user equipment.
13. The method for relaying user equipment as claimed in claim 1, wherein: The second neighboring UE is the target UE.
14. A method for targeting user equipment, comprising: A communication request message is received at the target user equipment from the relay user equipment, the communication request message being used to establish a connection between the initiating user equipment and the target user equipment via the relay user equipment, the communication request message comprising: first security establishment related information, the first security establishment related information is initiated from the initiating user equipment and is used to establish a security association between the initiating user equipment and the target user equipment, and second security establishment related information, the second security establishment related information originating from the relay user equipment and used to establish a security association between the relay user equipment and the target user equipment; establishing a secure connection between the relay UE and the target UE based on the second security establishment related information from the relay UE; performing authentication based on the first security establishment related information from the initiating UE to determine a root key for a plurality of communications between the initiating UE and the target UE; and Based on the first security establishment related information from the initiating user equipment, a security mode control process is initiated using the initiating user equipment to establish a security association between the initiating user equipment and the target user equipment, wherein a security mode control command message of the initiating user equipment is sent to the relay user equipment via the secure connection between the relay user equipment and the target user equipment.
15. The method of claim 14, wherein: The first security establishment related information from the initiating user device includes: first user information of the initiating user device, a first random number generated at the initiating user device, and a first signature, wherein the first signature covers the first user information of the initiating user device and the first random number generated at the initiating user device, and The second security establishment related information originating from the relay user equipment includes: second user information of the relay user equipment, a second random number generated at the relay user equipment, and a second signature, wherein the second signature covers the second user information of the relay user equipment and the second random number generated at the relay user equipment.
16. The method of claim 15, wherein: The establishment steps include: authenticating the relay user equipment based on the second signature including the second user information of the relay user equipment and the second random number generated in the relay user equipment; determining a root key for a plurality of communications between the relay UE and the target UE; determining a session key for the secure connection between the relay UE and the target UE based on the second random number generated by the relay UE, the third random number generated by the target UE, and the root key; and A security mode control command message is sent to the relay UE, the message including the third random number generated at the target UE, a third signature covering the third random number generated at the target UE, and the encrypted root key.
17. The method of claim 15, wherein: The steps of performing the authentication include: authenticating the initiating user equipment based on the first signature covering the first user information of the initiating user equipment and the first random number generated by the initiating user equipment; and A root key for a plurality of communications between the initiating user equipment and the target user equipment is determined.
18. The method of claim 17, wherein: The security mode control command message for the initiating user equipment includes: A fourth random number generated at the target user equipment, a fourth signature covering the fourth random number generated at the target user equipment, and the encrypted root key.
19. The method of claim 18, further comprising: A session key for a connection between the initiating UE and the target UE is determined based on the first random number generated at the initiating UE, the fourth random number generated at the target UE, and the root key used for a plurality of communications between the initiating UE and the target UE.
20. A relay user equipment, comprising: receiving, at the relay UE, a communication request message from a first neighboring UE, the communication request message being used to establish a connection between an initiating UE and a target UE, the communication request message comprising first security establishment related information from the initiating UE, the first security establishment related information being used to establish a security association between the initiating UE and the target UE; modifying the communication request message to add second security establishment related information, where the second security establishment related information is used to establish a security association between the relay user equipment and a second adjacent user equipment; as well as Sending the modified communication request message to the second neighboring user equipment, the communication request message comprising: first security establishment related information, originating from the initiating UE, used to establish the security association between the initiating UE and the target UE, and The second security establishment related information is added by the relay UE and is used to establish the security association between the relay UE and the second neighboring UE.
