Information processing method and device, communication equipment and storage medium

By encrypting the key stream of direct communication request messages in UE-to-UE relay scenarios, the problem of privacy information leakage during communication is solved, and communication security is improved.

CN116406509BActive Publication Date: 2025-10-28BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202380008021.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-08
Publication Date
2025-10-28
Estimated Expiration
2043-02-08

Smart Images

  • Figure CN116406509B_ABST
    Figure CN116406509B_ABST
Patent Text Reader

Abstract

This disclosure provides an information processing method and apparatus, a communication device and a storage medium; the information processing method is executed by a first UE and includes: sending a first DCR to a relay UE, wherein the first DCR includes first privacy information; the first privacy information includes first identification information encrypted based on a first key stream.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to, but is not limited to, the field of wireless communication technology, and particularly to an information processing method and apparatus, communication equipment and storage medium. Background Technology

[0002] In related technologies, the source User Equipment (UE) can obtain the identification information (ID) of the target UE for subsequent user communication. In UE-to-UE (U2U) relay scenarios, in order to establish direct communication interfaces (PC5 links) between the source UE and the relay UE, and between the relay UE and the target UE, direct communication request (DCR) messages can be sent between the source UE and the relay UE, and between the relay UE and the target UE. However, if the communication between the source UE and the relay UE, and / or between the relay UE and the target UE, is not protected, it can easily lead to the leakage of UE privacy information, posing a significant security risk. Summary of the Invention

[0003] This disclosure provides an information processing method and apparatus, a communication device and a storage medium.

[0004] The first aspect of this disclosure provides an information processing method, executed by a first user equipment (UE), comprising:

[0005] Send a first Direct Communication Request (DCR) to the relay UE, wherein the first DCR includes first privacy information; the first privacy information includes first identification information (ID) encrypted based on a first key stream.

[0006] In some embodiments, the first privacy information further includes: a Relay Service Code (RSC) encrypted based on a first key stream.

[0007] In some embodiments, the first ID includes at least one of the following:

[0008] The ID of the first UE;

[0009] The ID of the relay UE;

[0010] The ID of the second UE;

[0011] The key ID of the first link; where the first link is the link between the first UE and the relay UE.

[0012] In some embodiments, the method includes:

[0013] The first ID is encrypted based on the first key stream to determine the first privacy information;

[0014] or,

[0015] The first ID and RSC are encrypted based on the first key stream to determine the first privacy information.

[0016] In some embodiments, the first key stream is determined based on a first key and at least one of the following:

[0017] A counter for Coordinated Universal Time (UTC);

[0018] Bearing;

[0019] Directional information;

[0020] Length information.

[0021] In some embodiments, the first key is determined based on at least one of the following:

[0022] The encryption key (Discovery User Confidentiality Key, DUCK) is used to encrypt and decrypt the first ID.

[0023] The scrambling key (Discovery User Scrambling Key, DUSK) is used to scramble the first ID.

[0024] Long-term credential, which is the root key for establishing a direct communication interface (PC5) link.

[0025] A second aspect of this disclosure provides an information processing method, wherein the method is executed by a relay UE, comprising:

[0026] The system receives a first DCR sent by a first UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream.

[0027] In some embodiments, the first privacy information further includes: a relay service code encrypted based on a first key stream.

[0028] In some embodiments, the first ID includes at least one of the following:

[0029] The ID of the first UE;

[0030] The ID of the relay UE;

[0031] The ID of the second UE;

[0032] The key ID of the first link; where the first link is the link between the first UE and the relay UE.

[0033] In some embodiments, the method includes:

[0034] The first DCR is decrypted based on the first key stream to obtain the first ID;

[0035] or,

[0036] The first DCR is decrypted based on the first key stream to obtain the first ID and RSC.

[0037] In some embodiments, the method includes one of the following:

[0038] Based on the fact that the first ID obtained by decrypting the first DCR is the same as the stored first ID, it is determined that the first PC5 link between the relay UE and the first UE should be established.

[0039] Based on the fact that the RSC obtained by decrypting the first DCR is the same as the stored RSC, it is determined that the first PC5 link will be established;

[0040] Based on the fact that the first ID and RSC obtained by decrypting the first DCR are the same as the stored first ID and RSC, it is determined that the first PC5 link is to be established.

[0041] Based on the fact that the first ID obtained by decrypting the first DCR is different from the stored first ID, it is determined that the establishment of the first PC5 link should be terminated.

[0042] Based on the fact that the RSC obtained from decrypting the first DCR is different from the stored RSC, it is determined that the establishment of the first PC5 link should be terminated.

[0043] Based on the fact that the first ID and RSC obtained by decrypting the first DCR are different from the stored first ID and RSC, it is determined that the establishment of the first PC5 link should be terminated.

[0044] In some embodiments, the first DCR includes: Layer-2 (L2) ID; the method includes:

[0045] Based on the fact that the Layer 2 ID in the first DCR is the same as the Layer 2 ID in the storage, the RSC corresponding to the Layer 2 ID is determined based on the Layer 2 ID;

[0046] Based on RSC, determine the first key stream corresponding to RSC.

[0047] In some embodiments, the method further includes: sending a second DCR to a second UE, wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0048] In some embodiments, the second privacy information further includes: an RSC encrypted based on a second key stream.

[0049] In some embodiments, the second ID includes at least one of the following:

[0050] The ID of the first UE;

[0051] The ID of the relay UE;

[0052] The ID of the second UE;

[0053] The key ID of the second link; where the second link is the link between the relay UE and the second UE.

[0054] In some embodiments, the method includes one of the following:

[0055] The second ID is encrypted based on the second key stream to determine the second privacy information;

[0056] or,

[0057] The second ID and RSC are encrypted using the second key stream to determine the second privacy information.

[0058] In some embodiments, the second key stream is determined based on a second key and at least one of the following:

[0059] UTC's counter;

[0060] Bearing;

[0061] Directional information;

[0062] Length information.

[0063] In some embodiments, the second key stream is determined based on at least one of the following:

[0064] DUCK, where DUCK is used to encrypt and decrypt the second ID;

[0065] DUSK, where DUSK is used to scramble the second ID;

[0066] Long-term credentials, where the long-term credentials are the root key for establishing the PC5 link.

[0067] A third aspect of this disclosure provides an information processing method, executed by a second UE, comprising:

[0068] The receiver receives a second DCR sent by the relay UE, wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0069] In some embodiments, the second privacy information further includes: RSC based on the second key stream.

[0070] In some embodiments, the second ID includes at least one of the following:

[0071] The ID of the first UE;

[0072] The ID of the relay UE;

[0073] The ID of the second UE;

[0074] The key ID of the second link; where the second link is the link between the relay UE and the second UE.

[0075] In some embodiments, the method includes:

[0076] The second DCR is decrypted based on the second key stream to obtain the second ID;

[0077] or,

[0078] The second DCR is decrypted based on the second key stream to obtain the second ID and RSC.

[0079] In some embodiments, the method includes one of the following:

[0080] Based on the fact that the second ID obtained by decrypting the second DCR is the same as the stored second ID, it is determined that the second direct communication interface PC5 link between the second UE and the relay UE should be established.

[0081] Based on the fact that the RSC obtained by decrypting the second DCR is the same as the stored RSC, it is determined that a second PC5 link should be established;

[0082] Based on the fact that the second ID and RSC obtained by decrypting the second DCR are the same as the stored second ID and RSC, it is determined that a second PC5 link should be established.

[0083] Based on the fact that the second ID obtained by decrypting the second DCR is different from the stored second ID, it is determined that the establishment of the second PC5 link should be terminated.

[0084] Based on the fact that the RSC obtained by decrypting the second DCR is different from the stored RSC, it is determined that the second PC5 link should be terminated.

[0085] Based on the fact that the second ID and RSC obtained by decrypting the second DCR are different from the stored second ID and RSC, it is determined that the second PC5 link should be terminated.

[0086] In some embodiments, the second DCR includes: Layer 2 ID; the method includes:

[0087] Based on the fact that the Layer 2 ID in the second DCR is the same as the Layer 2 ID in the storage, the RSC corresponding to the Layer 2 ID is determined.

[0088] Based on RSC, determine the second key stream corresponding to RSC.

[0089] A fourth aspect of this disclosure provides an information processing apparatus, comprising:

[0090] Send a first DCR to the relay UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream.

[0091] In some embodiments, the first privacy information further includes: an RSC encrypted based on a first key stream.

[0092] In some embodiments, the first ID includes at least one of the following:

[0093] The ID of the first UE;

[0094] The ID of the relay UE;

[0095] The ID of the second UE;

[0096] The key ID of the first link; where the first link is the link between the first UE and the relay UE.

[0097] In some embodiments, the apparatus includes: a first processing module; wherein,

[0098] The first processing module is configured to encrypt the first ID based on the first key stream to determine the first privacy information;

[0099] or,

[0100] The first processing module is configured to encrypt the first ID and RSC based on the first key stream to determine the first privacy information.

[0101] In some embodiments, the first key stream is determined based on a first key and at least one of the following:

[0102] UTC's counter;

[0103] Bearing;

[0104] Directional information;

[0105] Length information.

[0106] In some embodiments, the first key is determined based on at least one of the following:

[0107] DUCK, where DUCK is used to encrypt and decrypt the first ID;

[0108] DUSK, where DUSK is used to scramble the first ID;

[0109] Long-term credentials, where the long-term credentials are the root key for establishing a direct communication interface (PC5) link.

[0110] A fifth aspect of this disclosure provides an information processing apparatus, comprising:

[0111] The first receiving module is configured to receive a first DCR sent by a first UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream.

[0112] In some embodiments, the first privacy information further includes: an RSC encrypted based on a first key stream.

[0113] In some embodiments, the first ID includes at least one of the following:

[0114] The ID of the first UE;

[0115] The ID of the relay UE;

[0116] The ID of the second UE;

[0117] The key ID of the first link; the first link is the link between the first UE and the relay UE.

[0118] In some embodiments, the apparatus includes: a second processing module, wherein...

[0119] The second processing module is configured to decrypt the first DCR based on the first key stream to obtain the first ID;

[0120] or,

[0121] The second processing module is configured to decrypt the first DCR based on the first key stream to obtain the first ID and RSC.

[0122] In some embodiments, the second processing module is configured to perform one of the following:

[0123] Based on the fact that the first ID obtained by decrypting the first DCR is the same as the stored first ID, it is determined that the first PC5 link between the relay UE and the first UE should be established.

[0124] Based on the fact that the RSC obtained by decrypting the first DCR is the same as the stored RSC, it is determined that the first PC5 link will be established;

[0125] Based on the fact that the first ID and RSC obtained by decrypting the first DCR are the same as the stored first ID and RSC, it is determined that the first PC5 link is to be established.

[0126] Based on the fact that the first ID obtained by decrypting the first DCR is different from the stored first ID, it is determined that the establishment of the first PC5 link should be terminated.

[0127] Based on the fact that the RSC obtained from decrypting the first DCR is different from the stored RSC, it is determined that the establishment of the first PC5 link should be terminated.

[0128] Based on the fact that the first ID and RSC obtained by decrypting the first DCR are different from the stored first ID and RSC, it is determined that the establishment of the first PC5 link should be terminated.

[0129] In some embodiments, the first DCR includes: Layer 2 ID;

[0130] The second processing module is configured to determine the RSC corresponding to the layer 2 ID based on the fact that the layer 2 ID in the first DCR is the same as the layer 2 ID stored.

[0131] The second processing module is also configured to determine the first key stream corresponding to the RSC based on the RSC.

[0132] In some embodiments, the apparatus further includes: a second transmitting module configured to transmit a second DCR to a second UE, wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0133] In some embodiments, the second privacy information further includes: an RSC encrypted based on a second key stream.

[0134] In some embodiments, the second ID includes at least one of the following:

[0135] The ID of the first UE;

[0136] The ID of the relay UE;

[0137] The ID of the second UE;

[0138] The key ID of the second link; where the second link is the link between the relay UE and the second UE.

[0139] In some embodiments, the second processing module is configured to encrypt the second ID based on the second key stream to determine the second privacy information;

[0140] Alternatively, the second processing module is configured to encrypt the second ID and RSC based on the second key stream to determine the second privacy information.

[0141] In some embodiments, the second key stream is determined based on a second key and at least one of the following:

[0142] UTC's counter;

[0143] Bearing;

[0144] Directional information;

[0145] Length information.

[0146] In some embodiments, the second key stream is determined based on at least one of the following:

[0147] DUCK, where DUCK is used to encrypt and decrypt the second ID;

[0148] DUSK, where DUSK is used to scramble the second ID;

[0149] Long-term credentials, where the long-term credentials are the root key for establishing the PC5 link.

[0150] A sixth aspect of this disclosure provides an information processing apparatus, comprising:

[0151] The second receiving module is configured to receive a second DCR sent by the relay UE, wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0152] In some embodiments, the second privacy information further includes: a relay service code (RSC) based on the second key stream.

[0153] In some embodiments, the second ID includes at least one of the following:

[0154] The ID of the first UE;

[0155] The ID of the relay UE;

[0156] The ID of the second UE;

[0157] The key ID of the second link; where the second link is the link between the relay UE and the second UE.

[0158] In some embodiments, the apparatus includes: a third processing module; wherein,

[0159] The third processing module is configured to decrypt the second DCR based on the second key stream to obtain the second ID;

[0160] or,

[0161] The third processing module is configured to decrypt the second DCR based on the second key stream to obtain the second ID and RSC.

[0162] In some embodiments, the third processing module is configured to perform one of the following:

[0163] Based on the fact that the second ID obtained by decrypting the second DCR is the same as the stored second ID, it is determined that the second direct communication interface PC5 link between the second UE and the relay UE should be established.

[0164] Based on the fact that the RSC obtained by decrypting the second DCR is the same as the stored RSC, it is determined that a second PC5 link should be established;

[0165] Based on the fact that the second ID and RSC obtained by decrypting the second DCR are the same as the stored second ID and RSC, it is determined that a second PC5 link should be established.

[0166] Based on the fact that the second ID obtained by decrypting the second DCR is different from the stored second ID, it is determined that the establishment of the second PC5 link should be terminated.

[0167] Based on the fact that the RSC obtained by decrypting the second DCR is different from the stored RSC, it is determined that the second PC5 link should be terminated.

[0168] Based on the fact that the second ID and RSC obtained by decrypting the second DCR are different from the stored second ID and RSC, it is determined that the second PC5 link should be terminated.

[0169] In some embodiments, the second DCR includes: Layer 2 ID;

[0170] The third processing module is configured to determine the RSC corresponding to the layer 2 ID based on the fact that the layer 2 ID in the second DCR is the same as the layer 2 ID in the storage.

[0171] The third processing module is also configured to determine the second key stream corresponding to the RSC based on the RSC.

[0172] A seventh aspect of this disclosure provides an information processing system, including: a first UE, a relay UE, and a second UE; wherein,

[0173] The first UE is configured to send a first DCR to the relay UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream;

[0174] The relay UE is configured to send a second DCR to the second UE based on the first ID obtained by decrypting the first DCR, which is the same as the stored first ID; wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0175] An eighth aspect of this disclosure provides a communication device, including a processor, a transceiver, a memory, and an executable program stored in the memory and capable of being run by the processor, wherein when the processor runs the executable program, it performs the information processing method as provided in the first, second, or third aspect described above.

[0176] A ninth aspect of this disclosure provides a computer storage medium storing an executable program; the executable program, when executed by a processor, can implement the information processing method provided in the first, second, or third aspect described above.

[0177] The technical solutions provided in this disclosure may have the following beneficial effects:

[0178] In this embodiment of the disclosure, a first DCR can be sent from the first UE to the relay UE, wherein the first DCR includes first privacy information, and the first privacy information includes a first ID encrypted based on a first key stream; in this way, a privacy protection mechanism can be provided in the communication between the first UE and the relay UE, and the protection of the first ID (such as user ID) can be supported, thereby improving the security of direct communication between the first UE and the relay UE.

[0179] It should be understood that the technical solutions provided in the embodiments of this disclosure are exemplary and explanatory only, and are not intended to limit the embodiments of this disclosure. Attached Figure Description

[0180] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the embodiments of the invention.

[0181] Figure 1 This is a schematic diagram illustrating the structure of a wireless communication system according to an exemplary embodiment;

[0182] Figure 2 This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0183] Figure 3 This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0184] Figure 4 This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0185] Figure 5 This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0186] Figure 6 This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0187] Figure 7 This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0188] Figure 8This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0189] Figure 9 This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0190] Figure 10 This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0191] Figure 11 This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0192] Figure 12 This is a schematic diagram illustrating an encryption / decryption method according to an exemplary embodiment.

[0193] Figure 13 This is a flowchart illustrating an information processing method according to an exemplary embodiment.

[0194] Figure 14 This is a schematic diagram of the structure of an information processing apparatus according to an exemplary embodiment.

[0195] Figure 15 This is a schematic diagram of the structure of an information processing apparatus according to an exemplary embodiment.

[0196] Figure 16 This is a schematic diagram of the structure of an information processing apparatus according to an exemplary embodiment.

[0197] Figure 17 This is a schematic diagram of the structure of a UE according to an exemplary embodiment;

[0198] Figure 18 This is a schematic diagram of the structure of a communication device according to an exemplary embodiment. Detailed Implementation

[0199] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of the present invention.

[0200] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments disclosed herein. The singular forms “a,” “the,” and “the” used herein are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

[0201] It should be understood that although the terms first, second, third, etc., may be used to describe various information in embodiments of this disclosure, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first information may also be referred to as second information without departing from the scope of embodiments of this disclosure, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to a determination."

[0202] Please refer to Figure 1 This illustration shows a schematic diagram of the structure of a wireless communication system provided in an embodiment of this disclosure. Figure 1 As shown, the wireless communication system is a communication system based on cellular mobile communication technology. The wireless communication system may include: several UEs 11 and several access devices 12.

[0203] UE 11 can be a device that provides voice and / or data connectivity to a user. UE 11 can communicate with one or more core networks via a Radio Access Network (RAN). UE 11 can be an IoT UE, such as a sensor device, a mobile phone (or "cellular" phone), and a computer with an IoT UE. For example, it can be a fixed, portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted device. Examples include a station (STA), subscriber unit, subscriber station, mobile station, mobile station, remote station, access point, remote terminal, access terminal, user terminal, user agent, user device, or user equipment (UE). Alternatively, UE 11 can also be a device in an unmanned aerial vehicle (UAV). Alternatively, UE 11 can also be a vehicle-mounted device, such as a vehicle computer with wireless communication capabilities, or a wireless communication device connected to an external vehicle computer. Alternatively, UE 11 can also be a roadside device, such as a street light, traffic light, or other roadside device with wireless communication capabilities.

[0204] Access device 12 can be a network-side device in a wireless communication system. This wireless communication system can be a 4G system (also known as Long Term Evolution, LTE); or it can be a 5G system (also known as a New Radio, NR, or 5G NR system). Alternatively, it can be the next generation after 5G. In this case, the access network in the 5G system can be called NG-RAN (New Generation-Radio Access Network). Alternatively, it can be an MTC system.

[0205] The access device 12 can be an evolved NB (eNB) used in a 4G system. Alternatively, the access device 12 can also be a gNB (gNB) using a centralized-distributed architecture in a 5G system. When the access device 12 adopts a centralized-distributed architecture, it typically includes a central unit (CU) and at least two distributed units (DUs). The central unit is equipped with a protocol stack of the Packet Data Convergence Protocol (PDCP) layer, the Radio Link Control (RLC) layer, and the Media Access Control (MAC) layer; the distributed units are equipped with a physical (PHY) layer protocol stack. This disclosure does not limit the specific implementation of the access device 12.

[0206] Access device 12 and UE 11 can establish a wireless connection via a wireless air interface. In different implementations, the wireless air interface is a wireless air interface based on the fourth-generation mobile communication network technology (4G) standard; or, the wireless air interface is a wireless air interface based on the fifth-generation mobile communication network technology (5G) standard, such as a new air interface; or, the wireless air interface can also be a wireless air interface based on a next-generation mobile communication network technology standard based on 5G.

[0207] To better understand the technical solutions described in any embodiment of this disclosure, firstly, a partial description of relay communication in the related art will be provided:

[0208] In U2U relay scenarios or UE-to-Network (U2N) relay scenarios, based on the security materials provided during the discovery phase, only the RSC and Proximity Service Relay user key (PRUK) ID in the DCR message are protected. In U2U relay scenarios, there is no security method designed specifically for the DCR message; privacy protection mechanisms in U2U relay communication should be studied to support the protection of user information IDs.

[0209] like Figure 2 As shown, this disclosure provides an information processing method, executed by a first UE, comprising:

[0210] Step S21: Send a first DCR to the relay UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream.

[0211] In the embodiments disclosed herein, the first UE, the relay UE, and the second UE mentioned below may be, but are not limited to, mobile terminals or fixed terminals; for example, the first UE, the relay UE, and the second UE may be, but are not limited to, mobile phones, computers, servers, wearable devices, game control platforms, or multimedia devices, etc.

[0212] In one embodiment, the first UE can be the source UE, and the second UE can be the target UE.

[0213] In one embodiment, the relay UE can be a U2U relay UE or a U2N relay UE.

[0214] For example, a U2U trunk UE can be a trunk UE in a U2U trunk scenario.

[0215] For example, in a U2U relay scenario, the first UE can be the source UE, the relay UE is the U2U relay UE, and the second UE is the target UE.

[0216] In one embodiment, the first privacy information includes a first ID encrypted based on a first keystream. For example, the first DCR includes the first privacy information, which includes the first ID encrypted based on the first keystream. Thus, in this embodiment of the disclosure, the first ID can be encrypted.

[0217] In another embodiment, the first privacy information includes a first ID encrypted based on a first keystream and an RSC encrypted based on the first keystream. For example, the first DCR includes the first privacy information, which includes the first ID encrypted based on the first keystream and the RSC encrypted based on the first keystream. Thus, in this embodiment of the disclosure, the first ID and RSC can be transmitted in encrypted form.

[0218] In one embodiment, there may be one or more RSCs. In some embodiments of this disclosure, there may be two or more. Here, RSCs can be used to indicate a relay service for a proximity-based service (Prose) or a connectivity service for a proximity service.

[0219] In some embodiments, the first ID includes at least one of the following:

[0220] The ID of the first UE;

[0221] The ID of the relay UE;

[0222] The ID of the second UE;

[0223] The key ID of the first link, where the first link is the link between the first UE and the relay UE.

[0224] In one embodiment, the first link may be, but is not limited to, a first PC5 link. The first PC5 link is a PC5 link between the first UE and the relay UE.

[0225] In one embodiment, the IDs of the first UE, the relay UE, and the second UE can be, but are not limited to, a Subscription Concealed Identifier (SUCI), a User Info ID, a User Application Layer ID, a Restricted ProSe Application User ID (RPAUID), or a Globally Unique Temporary UE Identity (GUTI). For example, the ID of the first UE can be, but is not limited to, the SUCI, User Info ID, User Application Layer ID, RPAUID, or GUTI of the first UE. For example, the ID of the relay UE can be, but is not limited to, the SUCI, User Info ID, User Application Layer ID, RPAUID, or GUTI of the relay UE. For example, the ID of the second UE can be, but is not limited to, the SUCI, User Info ID, User Application Layer ID, RPAUID, or GUTI of the second UE.

[0226] In another embodiment, the ID of the first UE may be, but is not limited to, any number or index used to indicate the first UE; and / or the ID of the relay UE may be, but is not limited to, any number or index used to indicate the relay UE; and / or the ID of the second UE may be, but is not limited to, any number or index used to indicate the second UE; it is sufficient that the ID of the first UE can be used to identify the first UE, and / or the ID of the relay UE can be used to identify the relay UE, and / or the ID of the second UE can be used to identify the second UE.

[0227] In one embodiment, the key ID of the first link may be a Key NewRadio PC5 (KNRP) ID. This first link key ID can be used to indicate the KNRP between the first UE and the relay UE. The first link key ID can be determined based on historical information; for example, this historical information may be the key ID determined when the first UE and the relay UE established a PC5 link in their previous direct communication.

[0228] For example, the first ID includes the ID of the first UE, the ID of the relay UE, and the ID of the second UE. The first UE sends a first DCR to the relay UE, the first DCR including first privacy information; the first privacy information is the ID of the first UE, the ID of the relay UE, and the ID of the second UE encrypted based on the first key stream, or the first privacy information is the ID of the first UE, the ID of the relay UE, the ID of the second UE, and RSC encrypted based on the first key stream. Thus, in this embodiment of the disclosure, the ID of the first UE, the ID of the relay UE, and the ID of the second UE, or the ID of the first UE, the ID of the relay UE, the ID of the second UE, and RSC can be encrypted once to generate the first privacy information.

[0229] For example, the first ID includes the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the first link. The first UE sends a first DCR to the relay UE, the first DCR including first privacy information; the first privacy information is the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the first link encrypted based on the first key stream, or the first privacy information is the ID of the first UE, the ID of the relay UE, the ID of the second UE, the key ID of the first link, and RSC encrypted based on the first key stream. Thus, in this embodiment of the disclosure, the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the first link, or the ID of the first UE, the ID of the relay UE, the ID of the second UE, the key ID of the first link, and RSC can be encrypted once to generate the first privacy information.

[0230] In some embodiments, the first key stream is determined based on a first key and at least one of the following:

[0231] UTC's counter;

[0232] Bearing;

[0233] Directional information;

[0234] Length information.

[0235] In one embodiment, the UTC counter is a counter value that increments by one each time encryption / decryption occurs; and / or, the bearer is used to indicate the bearer ID; and / or, the direction information is used to indicate whether the first key stream is uplink or downlink data; and / or, the length information is used to determine the block length of the first key stream.

[0236] In one embodiment, the first key is determined based on at least one of the following:

[0237] The encryption key (DUCK), where DUCK is used to encrypt and decrypt the first ID;

[0238] Scrambling key (DUSK), where DUSK is used to scramble the first ID;

[0239] Long-term credentials, where the long-term credentials are the root key for establishing the PC5 link.

[0240] For example, the first key can be a KDCR; the KDCR is the key used to encrypt information in the DCR.

[0241] For example, the encryption key can be used to encrypt a first ID to obtain first private information; or, the encryption key can be used to decrypt the first private information. Here, the encryption key can be used to decrypt the first private information, that is, to decrypt the encrypted first ID.

[0242] For example, the long-term credential can be the root key for establishing the first PC5 link, or the long-term credential can be the root key for establishing the second PC5 link.

[0243] Thus, in this embodiment of the disclosure, a first key for encrypting DCR information can be determined based on an encryption key, a scrambling key, and / or a long-term credential; and a first key stream for encrypting or decrypting a first ID can be determined based on at least one of the first key, a UTC counter, a bearer, direction information, and length information.

[0244] In one embodiment, the first privacy information is used by the relay UE to determine whether to establish a first PC5 link with the first UE. For example, the relay UE receives a first DCR (Discretionary Data Recorder). The relay UE decrypts the first privacy information in the first DCR based on a first key stream. If the decrypted first ID is the same as the first ID stored in the relay UE, then it determines to establish a first PC5 link between the relay UE and the first UE; or, if the decrypted first ID is different from the first ID stored in the relay UE, then it determines not to establish a first PC5 link between the relay UE and the first UE.

[0245] In one embodiment, the first PC5 link and the subsequent second PC5 link may be an interface between UEs that support proximity services.

[0246] In this embodiment of the disclosure, a first DCR can be sent from the first UE to the relay UE, wherein the first DCR includes first privacy information, and the first privacy information includes a first ID encrypted based on a first key stream; thus, a privacy protection mechanism can be provided in the communication between the first UE and the relay UE, and the protection of the first ID (such as a user ID) can be supported, thereby improving the security of direct communication between the first UE and the relay UE.

[0247] Furthermore, if the first ID includes the ID of the first UE, the ID of the relay UE, and the ID of the second UE, then the IDs of the first UE (i.e., the source UE), the relay UE, and the second UE (i.e., the target UE) can be encrypted, thereby reducing the leakage of UE privacy information in U2U relay scenarios or U2N relay scenarios, and thus improving the security of communication in U2U relay scenarios or U2N relay scenarios.

[0248] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0249] like Figure 3 As shown, this disclosure provides an information processing method, executed by a first UE, comprising:

[0250] Step S31: Encrypt the first ID based on the first key stream to determine the first privacy information; or, encrypt the first ID and RSC based on the first key stream to determine the first privacy information.

[0251] In some embodiments of this disclosure, the first key stream and the first ID can be the first key stream and the first ID in the above embodiments, respectively; the first privacy information can be the first privacy information in the above embodiments; and the RSC can be the RSC in the above embodiments.

[0252] In one embodiment, encrypting the first ID based on the first key stream to determine the first privacy information in step S31 includes: encrypting the first ID based on the first key stream and the first algorithm identifier to determine the first privacy information.

[0253] In one embodiment, a first algorithm identifier is used to indicate the algorithm used to encrypt and decrypt the first ID.

[0254] In some embodiments of this disclosure, the algorithm indicated by the first algorithm identifier and the algorithm indicated by the second algorithm identifier mentioned below can be, but are not limited to, encryption algorithms specified by 5G systems (NEA algorithms) and / or algorithms that can support encryption of plaintext with scalable lengths.

[0255] In one embodiment, step S31, which encrypts the first ID and RSC based on the first key stream to determine the first privacy information, includes: encrypting the first ID and RSC based on the first key stream and the first algorithm identifier to determine the first privacy information.

[0256] This disclosure provides an information processing method executed by a first UE, comprising: encrypting a first ID based on a first key stream and a first algorithm identifier to determine first privacy information; or, encrypting the first ID and RSC based on the first key stream and the first algorithm identifier to determine the first privacy information.

[0257] In this embodiment of the disclosure, the first UE can encrypt the first ID based on the first key stream and the first algorithm identifier, or the first UE can encrypt the first ID and RSC based on the first key stream and the first algorithm identifier to obtain the first privacy information, thereby realizing a security protection mechanism for communication between the first UE and the relay UE.

[0258] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0259] The following information processing method is executed by a relay UE, and is similar to the information processing method executed by the first UE described above; and for technical details not disclosed in the embodiments of the information processing method executed by the relay UE, please refer to the description of the information processing method example executed by the first UE, which will not be described in detail here.

[0260] like Figure 4 As shown, this disclosure provides an information processing method, executed by a relay UE, including:

[0261] Step S41: Receive the first DCR sent by the first UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on the first key stream.

[0262] In some embodiments of this disclosure, the first UE, the relay UE, and the second UE can be the same as the first UE, relay UE, and second UE described in the above embodiments. For example, the first UE can be the source UE, and the second UE can be the target UE. For example, the relay UE can be a U2U relay UE or a U2N relay UE.

[0263] In some embodiments of this disclosure, the first DCR can be the first DCR in the above embodiments; the first privacy information can be the first privacy information in the above embodiments; the first key stream and the first ID can be the first key stream and the first ID in the above embodiments, respectively.

[0264] In one embodiment, the first privacy information includes a first ID encrypted based on a first key stream. For example, the first DCR includes the first privacy information and the RSC, the first privacy information including the first ID encrypted based on the first key stream.

[0265] In one embodiment, the first privacy information includes: a first ID encrypted based on a first keystream and a relay service code encrypted based on the first keystream. For example, the first DCR includes the first privacy information, which includes the first ID encrypted based on the first keystream and the RSC encrypted based on the first keystream.

[0266] In one embodiment, the first key stream is determined based on a first key and at least one of the following: a UTC counter, a bearer, direction information, and length information.

[0267] In one embodiment, the first key is determined based on at least one of the following:

[0268] DUCK, where DUCK is used to encrypt and decrypt the first ID;

[0269] DUSK, where DUSK is used to scramble the first ID;

[0270] Long-term credentials, where the long-term credentials are the root key for establishing the PC5 link.

[0271] For example, the first key can be a KDCR; the KDCR is the key used to encrypt information in the DCR.

[0272] For example, the encryption key can be used to encrypt a first ID to obtain first private information; or, the encryption key can be used to decrypt the first private information. Here, the encryption key can be used to decrypt the first private information, that is, to decrypt the encrypted first ID.

[0273] For example, the long-term credential can be the root key for establishing the first PC5 link, or the long-term credential can be the root key for establishing the second PC5 link.

[0274] In one embodiment, the first ID includes at least one of the following: the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the first link.

[0275] For example, the first ID includes the ID of the first UE, the ID of the relay UE, and the ID of the second UE.

[0276] For example, the first ID includes the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the first link.

[0277] In some embodiments of this disclosure, the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the first link can be the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the first link in the above embodiments, respectively.

[0278] For example, the ID of the first UE can be, but is not limited to, the SUCI, User Info ID, User Application Layer ID, RPAUID, GUTI, or the number or index of the first UE. The ID of the relay UE can be, but is not limited to, the SUCI, User Info ID, User Application Layer ID, RPAUID, GUTI, or the number or index of the relay UE. The second UE can be, but is not limited to, the SUCI, User Info ID, User Application Layer ID, RPAUID, GUTI, or the number or index of the first UE.

[0279] In this embodiment of the disclosure, a first DCR sent by a first UE can be received by a relay UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream; thus, a privacy protection mechanism can be provided in the communication between the first UE and the relay UE, and the protection of the first ID (such as a user ID) can be supported, thereby improving the security of direct communication between the first UE and the relay UE.

[0280] For details of the above implementation methods, please refer to the description on the first UE side, which will not be repeated here.

[0281] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0282] like Figure 5 As shown, this disclosure provides an information processing method, executed by a relay UE, including:

[0283] Step S51: Decrypt the first DCR based on the first key stream to obtain the first ID; or, decrypt the first DCR based on the first key stream to obtain the first ID and RSC.

[0284] In some embodiments of this disclosure, the first key stream and the first DCR can be the first key stream and the first DCR in the above embodiments, respectively; the first ID and the RSC can be the first ID and the RSC in the above embodiments, respectively.

[0285] In one embodiment, decrypting the first DCR based on the first key stream can be: decrypting the first privacy information in the first DCR based on the first key stream.

[0286] In one embodiment, step S51, which involves decrypting the first DCR based on the first key stream to obtain the first ID, includes: decrypting the first DCR based on the first key stream and the first algorithm identifier to obtain the first ID.

[0287] In one embodiment, step S51, which involves decrypting the first DCR based on the first key stream to obtain the first ID and RSC, includes: decrypting the first DCR based on the first key stream and the first algorithm identifier to obtain the first ID and RSC.

[0288] In one embodiment, decrypting the first DCR based on the first key stream and the first algorithm identifier can be: decrypting the first privacy information in the first DCR based on the first key stream and the first algorithm identifier.

[0289] In some embodiments of this disclosure, the first privacy information may be the first privacy information in the above embodiments; the first algorithm identifier may be the first algorithm identifier in the above embodiments.

[0290] In this embodiment of the disclosure, the relay UE can decrypt the first privacy information in the first DCR based on the first key stream and the first key algorithm to obtain the accurate first ID, or to obtain the accurate first ID and RSC.

[0291] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0292] This disclosure provides an information processing method, executed by a relay UE, including:

[0293] Based on the first ID obtained by decrypting the first DCR and the stored first ID, determine whether to establish a first PC5 link between the relay UE and the first UE; and / or, based on the RSC obtained by decrypting the first DCR and the stored RSC, determine whether to establish a first PC5 link between the relay UE and the first UE.

[0294] In one embodiment, after the discovery phase ends, the first ID and RSC can be stored in the relay UE.

[0295] This disclosure provides an information processing method, executed by a relay UE, including one of the following:

[0296] Based on the fact that the first ID obtained by decrypting the first DCR is the same as the stored first ID, it is determined that the first PC5 link between the relay UE and the first UE should be established.

[0297] Based on the fact that the RSC obtained by decrypting the first DCR is the same as the stored RSC, it is determined that the first PC5 link will be established;

[0298] Based on the fact that the first ID and RSC obtained by decrypting the first DCR are the same as the stored first ID and RSC, it is determined that the first PC5 link is to be established.

[0299] Based on the fact that the first ID obtained by decrypting the first DCR is different from the stored first ID, it is determined that the establishment of the first PC5 link should be terminated.

[0300] Based on the fact that the RSC obtained from decrypting the first DCR is different from the stored RSC, it is determined that the establishment of the first PC5 link should be terminated.

[0301] Based on the fact that the first ID and RSC obtained by decrypting the first DCR are different from the stored first ID and RSC, it is determined that the establishment of the first PC5 link should be terminated.

[0302] In one embodiment, decrypting the first DCR can be: decrypting the first privacy information in the first DCR.

[0303] In one embodiment, determining to terminate the establishment of the first PC5 link can be: determining not to establish the first PC5 link, or determining to terminate the first PC5 link that is being established.

[0304] In one embodiment, the first PC5 link between the first UE and the relay UE can be a one-hop PC5 link in a U2U relay scenario; the second PC5 link between the relay UE and the second UE mentioned below can be another PC5 link in a U2U relay scenario.

[0305] In this embodiment of the disclosure, a first ID and / or RSC can be obtained by decrypting the first privacy information in the first DCR; and a first PC5 link between the first UE and the relay UE can be determined by comparing whether the first ID obtained by decryption is the same as the first ID stored in the relay UE, and / or whether the RSC obtained by decryption is the same as the RSC stored in the relay UE. If they are the same, the first PC5 link is established, or if they are different, the first PC5 link is terminated. This allows the establishment of the first PC5 link between the first UE and the relay UE without compromising the privacy between the first UE and the relay UE.

[0306] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0307] In some embodiments, the first DCR includes: Layer-2 (L2) ID; the method includes:

[0308] Based on the fact that the Layer 2 ID in the first DCR is the same as the Layer 2 ID in the storage, the RSC corresponding to the Layer 2 ID is determined based on the Layer 2 ID;

[0309] Based on RSC, determine the first key stream corresponding to RSC.

[0310] like Figure 6 As shown, this disclosure provides an information processing method, executed by a relay UE, including:

[0311] Step S61: Based on the fact that the Layer 2 ID in the first DCR is the same as the stored Layer 2 ID, determine the RSC corresponding to the Layer 2 ID;

[0312] Step S62: Based on RSC, determine the first key stream corresponding to RSC.

[0313] In some embodiments of this disclosure, the first key stream and RSC can be the first key stream and RSC in the above embodiments, respectively.

[0314] In one embodiment, the Layer 2 ID can be the source Layer 2 ID. Here, the Layer 2 ID can be the Layer 2 address of the first UE; of course, the Layer 2 ID can also be replaced by other address information of the first UE.

[0315] In another embodiment, the Layer 2 ID can be the target Layer 2 ID. Here, the Layer 2 ID can be the Layer 2 address of the relay UE, or it can be replaced by other address information of the relay UE.

[0316] In one embodiment, step S61 includes: determining the RSC corresponding to the layer 2 ID based on the layer 2 ID and the first mapping information; wherein the first mapping information is used to indicate the correspondence between the layer 2 ID and the RSC.

[0317] Step S62 includes: determining a first key stream corresponding to the RSC based on the RSC and the second mapping information; wherein the second mapping information is used to indicate the correspondence between the RSC and the first key stream.

[0318] This disclosure provides an information processing method, executed by a relay UE, including:

[0319] Based on the layer 2 ID and the first mapping information, the RSC corresponding to the layer 2 ID is determined; wherein, the first mapping information is used to indicate the correspondence between the layer 2 ID and the RSC;

[0320] Based on the RSC and the second mapping information, a first key stream corresponding to the RSC is determined; wherein, the second mapping information is used to indicate the correspondence between the RSC and the first key stream.

[0321] In one embodiment, determining the first key stream corresponding to the RSC based on the RSC and the second mapping information can be:

[0322] Based on the RSC and the second mapping information, a first key corresponding to the RSC is determined; wherein, the second mapping information is used to indicate the correspondence between the RSC and the first key;

[0323] Based on the first key, determine the first key stream.

[0324] In one embodiment, the first mapping information and / or the second mapping information may be pre-stored in the relay UE.

[0325] In this embodiment of the disclosure, the relay UE can determine the RSC based on the Layer 2 ID in the first DCR, and determine the first key stream for decrypting the first DCR based on the RSC; thereby facilitating the decryption of the first privacy information included in the first DCR.

[0326] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0327] like Figure 7 As shown, this disclosure provides an information processing method, executed by a relay UE, including:

[0328] Step S71: Send a second DCR to the second UE, wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0329] In one embodiment, the second DCR is the same as the first DCR.

[0330] In another embodiment, the second DCR is different from the first DCR.

[0331] In one embodiment, the second privacy information is the same as the first privacy information.

[0332] In another embodiment, the second privacy information is different from the first privacy information.

[0333] In one embodiment, the second ID is the same as the first ID; and / or, the second key stream is the same as the first key stream.

[0334] In another embodiment, the second ID is different from the first ID; and / or, the second key stream is different from the first key stream.

[0335] In one embodiment, the second privacy information includes a second ID encrypted based on a second keystream. For example, the second DCR includes the second privacy information and an RSC, whereby the second privacy information includes the second ID encrypted based on the second keystream. Thus, in this embodiment of the disclosure, the second ID can be encrypted while the RSC can be transmitted unencrypted.

[0336] In another embodiment, the second privacy information includes a second ID encrypted based on a second keystream and an RSC encrypted based on the second keystream. For example, the second DCR includes the second privacy information, which includes the second ID encrypted based on the second keystream and the RSC encrypted based on the second keystream. Thus, in this embodiment of the disclosure, the second ID and RSC can be transmitted in encrypted form.

[0337] In one embodiment, the RSC included in the second DCR or the RSC included in the second privacy information may be one or more.

[0338] In some embodiments, the second ID includes at least one of the following: the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the second link.

[0339] In one embodiment, the second link may be, but is not limited to, a second PC5 link. The second PC5 link is a PC5 link between the relay UE and the second UE.

[0340] For example, the second ID includes: the ID of the first UE, the ID of the relay UE, and the ID of the second UE. The relay UE sends a second DCR to the second UE, the second DCR including second privacy information; the second privacy information is the ID of the first UE, the ID of the relay UE, and the ID of the second UE encrypted based on the second key stream, or the second privacy information is the ID of the first UE, the ID of the relay UE, the ID of the second UE, and RSC encrypted based on the second key stream. Thus, in this embodiment of the disclosure, the ID of the first UE, the ID of the relay UE, and the ID of the second UE, or the ID of the first UE, the ID of the relay UE, the ID of the second UE, and RSC can be encrypted once to generate the second privacy information.

[0341] For example, the second ID includes: the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the second link. The relay UE sends a second DCR to the second UE, the second DCR including second privacy information; the second privacy information is the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the second link based on the first key stream, or the first privacy information is the ID of the first UE, the ID of the relay UE, the ID of the second UE, the key ID of the second link, and RSC encrypted based on the first key stream. Thus, in this embodiment of the disclosure, the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the second link, or the ID of the first UE, the ID of the relay UE, the ID of the second UE, the key ID of the second link, and RSC can be encrypted once to generate the second privacy information.

[0342] In some embodiments of this disclosure, the RSC can be the RSC in the above embodiments; the ID of the first UE, the ID of the relay UE, and the ID of the second UE can be the ID of the first UE, the ID of the relay UE, and the ID of the second UE in the above embodiments, respectively.

[0343] In one embodiment, the key ID of the second link can be a Key NewRadio PC5 (KNRP) ID. This key ID can be used to indicate the KNRP between the relay UE and the second UE. The key ID of the second link can be determined based on historical information; for example, this historical information can be the key ID determined when the first UE established a PC5 link with the relay UE during the previous direct communication between the relay UE and the second UE.

[0344] In some embodiments, the second key stream is determined based on a second key and at least one of the following: a UTC counter; a bearer; direction information; and length information.

[0345] In some embodiments, the second key stream is determined based on at least one of the following:

[0346] DUCK, where DUCK is used to encrypt and decrypt the second ID;

[0347] DUSK, where DUSK is used to scramble the second ID;

[0348] Long-term credentials, where the long-term credentials are the root key for establishing the PC5 link.

[0349] In one embodiment, the second key is the same as the first key.

[0350] In another embodiment, the second key is different from the first key.

[0351] In some embodiments of this disclosure, the UTC counter, bearer, direction information, and length information can be the UTC counter, bearer, direction information, and length information in the above embodiments, respectively; DUCK, DUSK, and long-term certificate can be DUCK, DUSK, and long-term certificate in the above embodiments, respectively.

[0352] In this embodiment of the disclosure, a second DCR can be sent from the relay UE to the second UE, wherein the second DCR includes second privacy information, and the second privacy information includes a second ID encrypted based on a second key stream; thus, a privacy protection mechanism can be provided in the communication between the relay UE and the second UE, and the protection of the second ID (such as a user ID) can be supported, thereby improving the security of direct communication between the relay UE and the second UE.

[0353] Furthermore, if the second ID includes the ID of the first UE, the ID of the relay UE, and the ID of the second UE, then the IDs of the first UE (i.e., the source UE), the relay UE, and the second UE (i.e., the target UE) can also be encrypted, thereby reducing the leakage of UE privacy information in U2U relay scenarios or U2N relay scenarios, and thus improving the security of communication in U2U relay scenarios or U2N relay scenarios.

[0354] In one embodiment, the second privacy information is used by the second UE to determine whether to establish a second PC5 link with the relay UE. For example, the second UE receives a second DCR (Discrete Data Recorder). The second UE decrypts the second privacy information in the second DCR based on a second key stream. If the decrypted second ID is the same as the second ID stored in the second UE, then it determines to establish a second PC5 link between the second UE and the relay UE; or, if the decrypted second ID is different from the second ID stored in the second UE, then it determines not to establish a second PC5 link between the second UE and the relay UE.

[0355] In one embodiment, the first privacy information is used by the relay UE to determine the transmission of the second DCR.

[0356] In some embodiments, sending the second DCR to the second UE in step S71 includes: sending the second DCR to the second UE based on the first ID obtained by decrypting the first DCR being the same as the stored first ID, and / or based on the RSC obtained by decrypting the first DCR being the same as the stored RSC.

[0357] This disclosure provides an information processing method executed by a relay UE, comprising: sending a second DCR to a second UE based on the first ID obtained by decrypting a first DCR being the same as the stored first ID, and / or the RSC obtained by decrypting the first DCR being the same as the stored RSC.

[0358] In some embodiments, sending the second DCR to the second UE in step S71 includes: sending the second DCR to the second UE after establishing the first PC5 link between the first UE and the relay UE.

[0359] This disclosure provides an information processing method executed by a relay UE, comprising: after establishing a first PC5 link between a first UE and a relay UE, sending a second DCR to a second UE.

[0360] For details of the above implementation methods, please refer to the description on the first UE side, which will not be repeated here.

[0361] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0362] like Figure 8 As shown, this disclosure provides an information processing method, executed by a relay UE, including:

[0363] Step S81: Encrypt the second ID based on the second key stream to determine the second privacy information; or, encrypt the second ID and RSC using the second key stream to determine the second privacy information.

[0364] In some embodiments of this disclosure, the second key stream and the second ID can be the second key stream and the second ID in the above embodiments, respectively; the second privacy information can be the second privacy information in the above embodiments; and the RSC can be the RSC in the above embodiments.

[0365] In one embodiment, encrypting the second ID based on the second key stream to determine the second privacy information in step S81 includes: encrypting the second ID based on the second key stream and the second algorithm identifier to determine the second privacy information.

[0366] In one embodiment, a second algorithm identifier is used to indicate the algorithm used to encrypt and decrypt the second ID.

[0367] In one embodiment, the algorithm indicated by the second algorithm identifier may be, but is not limited to, an encryption algorithm specified by the 5G system and / or an algorithm that supports encryption of plaintext with scalable length.

[0368] In one embodiment, step S81, which involves encrypting the second ID and RSC based on the second key stream to determine the second privacy information, includes: encrypting the second ID and RSC based on the second key stream and the second algorithm identifier to determine the second privacy information.

[0369] This disclosure provides an information processing method executed by a relay UE, comprising: encrypting a second ID based on a second key stream and a second algorithm identifier to determine second privacy information; or, encrypting the second ID and RSC based on the second key stream and the second algorithm identifier to determine the second privacy information.

[0370] In this embodiment of the disclosure, the relay UE can encrypt the second ID based on the second key stream and the second algorithm identifier, or the relay UE can encrypt the second ID and RSC based on the second key stream and the second algorithm identifier to obtain the second privacy information, thereby realizing a security protection mechanism for communication between the relay UE and the second UE.

[0371] For details of the above implementation methods, please refer to the description on the first UE side, which will not be repeated here.

[0372] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0373] The following information processing method is executed by the second UE and is similar to the information processing method executed by the first UE and / or the relay UE described above. For technical details not disclosed in the embodiments of the information processing method executed by the second UE, please refer to the description of the information processing method example executed by the first UE and / or the relay UE, which will not be described in detail here.

[0374] like Figure 9 As shown, this embodiment of the disclosure provides an information processing method, executed by a second UE, including:

[0375] Step S91: Receive the second DCR sent by the relay UE, wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on the second key stream.

[0376] In some embodiments of this disclosure, the first UE, the relay UE, and the second UE can be the same as the first UE, relay UE, and second UE described in the above embodiments. For example, the first UE can be the source UE, and the second UE can be the target UE. For example, the relay UE can be a U2U relay UE or a U2N relay UE.

[0377] In some embodiments of this disclosure, the second DCR can be the second DCR in the above embodiments; the second privacy information can be the second privacy information in the above embodiments; the second key stream and the second ID can be the second key stream and the second ID in the above embodiments, respectively.

[0378] In one embodiment, the second privacy information includes a second ID encrypted based on a second keystream. For example, the second DCR includes the second privacy information and an RSC, whereby the second privacy information includes the second ID encrypted based on the second keystream. Thus, in this embodiment of the disclosure, the second ID can be encrypted while the RSC can be transmitted unencrypted.

[0379] In another embodiment, the second privacy information includes a second ID encrypted based on a second keystream and an RSC encrypted based on the second keystream. For example, the second DCR includes the second privacy information, which includes the second ID encrypted based on the second keystream and the RSC encrypted based on the second keystream. Thus, in this embodiment of the disclosure, the second ID and RSC can be transmitted in encrypted form.

[0380] In one embodiment, the RSC included in the second DCR or the RSC included in the second privacy information may be one or more.

[0381] In some embodiments, the second ID includes at least one of the following: the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the second link. For example, the second ID includes: the ID of the first UE, the ID of the relay UE, and the ID of the second UE. For example, the second ID includes: the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the second link.

[0382] In one embodiment, the key ID of the second link can be the Key NewRadio PC5 (KNRP) ID.

[0383] In some embodiments of this disclosure, the RSC can be the RSC in the above embodiments; the ID of the first UE, the ID of the relay UE, and the ID of the second UE can be the ID of the first UE, the ID of the relay UE, and the ID of the second UE in the above embodiments, respectively.

[0384] In some embodiments, the second key stream is determined based on a second key and at least one of the following: a UTC counter; a bearer; direction information; and length information.

[0385] In some embodiments, the second key stream is determined based on at least one of the following:

[0386] DUCK, where DUCK is used to encrypt and decrypt the second ID;

[0387] DUSK, where DUSK is used to scramble the second ID;

[0388] Long-term credentials, where the long-term credentials are the root key for establishing the PC5 link.

[0389] In some embodiments of this disclosure, the UTC counter, bearer, direction information, and length information can be the UTC counter, bearer, direction information, and length information in the above embodiments, respectively; DUCK, DUSK, and long-term certificate can be DUCK, DUSK, and long-term certificate in the above embodiments, respectively.

[0390] In this embodiment of the disclosure, a second DCR sent by a relay UE can be received by a first UE. The second DCR includes second privacy information, which includes a second ID encrypted based on a second key stream. In this way, a privacy protection mechanism can be provided in the communication between the relay UE and the second UE, and the protection of the second ID (such as a user ID) can be supported, thereby improving the security of direct communication between the relay UE and the second UE.

[0391] For details of the above implementation methods, please refer to the descriptions on the first UE side and / or the relay UE side, which will not be repeated here.

[0392] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0393] like Figure 10 As shown, this embodiment of the disclosure provides an information processing method, executed by a second UE, including:

[0394] Step S101: Decrypt the second DCR based on the second key stream to obtain the second ID; or, decrypt the second DCR based on the second key stream to obtain the second ID and RSC.

[0395] In some embodiments of this disclosure, the second DCR can be the second DCR in the above embodiments; the second privacy information can be the second privacy information in the above embodiments; the second key stream and the second ID can be the second key stream and the second ID in the above embodiments, respectively.

[0396] In one embodiment, decrypting the second DCR based on the second key stream can be achieved by decrypting the second privacy information in the second DCR based on the second key stream.

[0397] In one embodiment, step S101, which involves decrypting the second DCR based on the second key stream to obtain the second ID, includes: decrypting the second DCR based on the second key stream and the second algorithm identifier to obtain the second ID.

[0398] In one embodiment, step S101, which involves decrypting the second DCR based on the second key stream to obtain the second ID and RSC, includes: decrypting the second DCR based on the second key stream and the second algorithm identifier to obtain the second ID and RSC.

[0399] In one embodiment, decrypting the second DCR based on the second key stream and the second algorithm identifier can be: decrypting the second privacy information in the second DCR based on the second key stream and the second algorithm identifier.

[0400] In some embodiments of this disclosure, the second privacy key can be the second privacy key in the above embodiments; the second algorithm identifier can be the second algorithm identifier in the above embodiments.

[0401] In this embodiment of the disclosure, the second UE can decrypt the second privacy information in the second DCR based on the second key stream and the second key algorithm to obtain the accurate second ID, or to obtain the accurate second ID and RSC.

[0402] For details of the above implementation methods, please refer to the descriptions on the first UE side and / or the relay UE side, which will not be repeated here.

[0403] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0404] This disclosure provides an information processing method, executed by a second UE, comprising:

[0405] Based on the second ID obtained by decrypting the second DCR and the stored second ID, determine whether to establish a second PC5 link between the second UE and the relay UE; and / or, based on the difference between the RSC obtained by decrypting the second DCR and the stored RSC, determine whether to establish a second PC5 link between the second UE and the relay UE.

[0406] In one embodiment, after the discovery phase ends, the second ID and RSC can be stored in the second UE.

[0407] This disclosure provides an information processing method, executed by a second UE, including one of the following:

[0408] Based on the fact that the second ID obtained by decrypting the second DCR is the same as the stored second ID, it is determined that the second direct communication interface PC5 link between the second UE and the relay UE should be established.

[0409] Based on the fact that the RSC obtained by decrypting the second DCR is the same as the stored RSC, it is determined that a second PC5 link should be established;

[0410] Based on the fact that the second ID and RSC obtained by decrypting the second DCR are the same as the stored second ID and RSC, it is determined that a second PC5 link should be established.

[0411] Based on the fact that the second ID obtained by decrypting the second DCR is different from the stored second ID, it is determined that the establishment of the second PC5 link should be terminated.

[0412] Based on the fact that the RSC obtained by decrypting the second DCR is different from the stored RSC, it is determined that the second PC5 link should be terminated.

[0413] Based on the fact that the second ID and RSC obtained by decrypting the second DCR are different from the stored second ID and RSC, it is determined that the second PC5 link should be terminated.

[0414] In one embodiment, decrypting the second DCR can be: decrypting the second privacy information in the second DCR.

[0415] In one embodiment, determining to terminate the establishment of the second PC5 link can be: determining not to establish the second PC5 link, or determining to terminate the second PC5 link that is being established.

[0416] In this embodiment of the disclosure, a second ID and / or RSC can be obtained by decrypting the second privacy information in the second DCR; and a second PC5 link between the second UE and the relay UE can be determined by comparing whether the second ID obtained by decryption is the same as the second ID stored in the second UE, and / or whether the RSC obtained by decryption is the same as the RSC stored in the second UE. If they are the same, the second PC5 link is established, or if they are different, the second PC5 link is terminated. This allows the establishment of a second PC5 link between the relay UE and the second UE without compromising the privacy between the relay UE and the second UE.

[0417] For details of the above implementation methods, please refer to the descriptions on the first UE side and / or the relay UE side, which will not be repeated here.

[0418] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0419] In some embodiments, the second DCR includes: Layer 2 ID; the method includes:

[0420] Based on the fact that the Layer 2 ID in the second DCR is the same as the Layer 2 ID in the storage, the RSC corresponding to the Layer 2 ID is determined.

[0421] Based on RSC, determine the second key stream corresponding to RSC.

[0422] like Figure 11 As shown, this embodiment of the disclosure provides an information processing method, executed by a second UE, including:

[0423] Step S1101: Based on the fact that the Layer 2 ID in the second DCR is the same as the stored Layer 2 ID, determine the RSC corresponding to the Layer 2 ID;

[0424] Step S1102: Based on RSC, determine the second key stream corresponding to RSC.

[0425] In some embodiments of this disclosure, the first key stream and RSC can be the first key stream and RSC in the above embodiments, respectively; the layer 2 ID can be the layer 2 ID in the above embodiments.

[0426] For example, the layer 2 ID can be either the source layer 2 ID or the target layer 2 ID.

[0427] In one embodiment, step S1101 includes: determining the RSC corresponding to the layer 2 ID based on the layer 2 ID and the third mapping information; wherein the third mapping information is used to indicate the correspondence between the layer 2 ID and the RSC.

[0428] Step S1102 includes: determining the second key stream corresponding to the RSC based on the RSC and the fourth mapping information; wherein the fourth mapping information is used to indicate the correspondence between the RSC and the second key stream.

[0429] This disclosure provides an information processing method, executed by a second UE, comprising:

[0430] Based on the Layer 2 ID and the third mapping information, the RSC corresponding to the Layer 2 ID is determined; wherein, the first mapping information is used to indicate the correspondence between the Layer 2 ID and the RSC;

[0431] Based on the RSC and the fourth mapping information, the second key stream corresponding to the RSC is determined; wherein, the third mapping information is used to indicate the correspondence between the RSC and the second key stream.

[0432] In one embodiment, determining the second key stream corresponding to the RSC based on the RSC and the fourth mapping information can be:

[0433] Based on the RSC and the fourth mapping information, the second key corresponding to the RSC is determined; wherein, the fourth mapping information is used to indicate the correspondence between the RSC and the second key;

[0434] Based on the second key, determine the second key stream.

[0435] In one embodiment, the third mapping information and / or the third mapping information may be pre-stored in the second UE.

[0436] In this embodiment of the disclosure, the second UE can determine the RSC based on the Layer 2 ID in the second DCR, and determine the second key stream for decrypting the second DCR based on the RSC; thereby facilitating the decryption of the second privacy information included in the second DCR.

[0437] For details of the above implementation methods, please refer to the descriptions on the first UE side and / or the relay UE side, which will not be repeated here.

[0438] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0439] This disclosure provides an information processing system, including: a first UE, a relay UE, and a second UE; wherein,

[0440] The first UE is configured to send a first DCR to the relay UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream;

[0441] The relay UE is configured to send a second DCR to the second UE based on the first ID obtained by decrypting the first DCR, which is the same as the stored first ID; wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0442] This disclosure provides an information processing system, including: a first UE, a relay UE, and a second UE; wherein,

[0443] The first UE is configured to send a first DCR to the relay UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream;

[0444] The relay UE is configured to obtain an RSC based on a first DCR that is identical to the stored RSC, and then send a second DCR to a second UE; wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0445] This disclosure provides an information processing system, including: a first UE, a relay UE, and a second UE; wherein,

[0446] The first UE is configured to send a first DCR to the relay UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream;

[0447] The relay UE is configured to send a second DCR to a second UE based on the first ID obtained by decrypting the first DCR being the same as the stored first ID, and the RSC obtained by decrypting the first DCR being the same as the stored first ID; wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0448] In some embodiments of this disclosure, the first UE, the relay UE, and the second UE are respectively configured to perform other operations, which can be referred to in the description of the methods on the first UE side and / or the relay UE side and / or the second UE side, and will not be repeated here.

[0449] Regarding the system in the above embodiments, the specific methods by which each module or network element performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0450] To further explain any of the embodiments of this disclosure, several specific embodiments are provided below.

[0451] Example 1

[0452] In some application scenarios, the 5G neighboring service source UE (i.e., the first UE) and the 5G neighboring service UE to UE relay (i.e., the relay UE) use code-sending security parameters, code-receiving security parameters, code security parameters, or long-term credential for discovery to encrypt the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the RSC; for example, sending the first DCR or the second DCR in the above embodiment. When the relay UE and the second UE receive the first DCR or the second DCR, they use code-sending security parameters, code-receiving security parameters, code security parameters, or long-term credential used for discovery to decrypt the encrypted IDs of the first UE, the relay UE, the second UE, and the RSC. They then check whether the decrypted IDs of the first UE, the relay UE, the second UE, and the RSC match (i.e., are the same) as the IDs of the first UE, the relay UE, the second UE, and the second UE sent in the discovery message. If at least one of the above information does not match, the relay UE or the second UE will abort the PC5 link (e.g., the first PC5 link or the second PC5 link in the above embodiment) establishment process. Here, the code-sending security parameters, code-receiving security parameters, code security parameters, or long-term credential used by the relay UE for decryption can be the first keystream in the above embodiment; the code-sending security parameters, code-receiving security parameters, code security parameters, or long-term credential used by the second UE for decryption can be the second keystream in the above embodiment.

[0453] After discovery and relay UE selection, the relay UE and the second UE can determine the RSC based on the source layer 2ID or target layer 2ID in the first DCR and the second DCR, respectively; and determine the corresponding code transmission security parameters or code reception security parameters or code security parameters or long-term credentials based on the RSC, respectively; in this way, the source layer 2ID or target layer 2ID can be linked with the code transmission security parameters or code reception security parameters or code security parameters or long-term credentials.

[0454] The first UE and the relay UE can encrypt the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the RSC respectively based on the key stream (first key stream or second key stream):

[0455] Step 1201: If the first UE and / or the relay UE are configured with an encryption key, a scrambling key, and / or a long-term credential, the first key in the first DCR or the second key in the second DCR can be determined based on the encryption key and / or the scrambling key and / or the long-term credential. Alternatively, if the first UE or the relay UE is not configured with an encryption key, a scrambling key, and / or a long-term credential, the first DCR and / or the second DCR are unprotected; in this case, steps S1202 or S1203 can be skipped.

[0456] Step 1202: The key stream (e.g., the first key stream or the second key stream) used for encryption by the first UE and / or the relay UE can be determined based on the KDCR (e.g., the first key or the second key), the UTC counter, the bearer, the direction information and / or the length information;

[0457] Step 1203: The first UE and / or the relay UE XOR the key stream (e.g., a first key stream or a second key stream) with the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the RSC to obtain privacy text (e.g., a first privacy text or a second privacy text). For example, the first privacy text = RSC + the ID of the first UE + the ID of the relay UE + the ID of the second UE. Another example is the first privacy text = RSC + the ID of the first UE + the ID of the relay UE + the ID of the second UE + other IDs; these other IDs can be the key ID of the first link, or the privacy identifier of other terminal devices (or UEs). Here, the first UE encrypts the ID of the first UE, the ID of the relay UE, the ID of the second UE, and other IDs based on the first key stream to obtain the first privacy text.

[0458] The relay UE and the second UE can decrypt the encrypted ID of the first UE, the ID of the relay UE, the ID of the second UE, and the RSC based on the key stream (first key stream or second key stream):

[0459] Step 1204: If the relay UE and / or the second UE are configured with an encryption key, a scrambling key, and / or a long-term credential, the first key in the first DCR or the second key in the second DCR can be determined based on the encryption key and / or the scrambling key and / or the long-term credential. Alternatively, if the first UE or the relay UE is not configured with an encryption key, a scrambling key, and / or a long-term credential, the first DCR and / or the second DCR are unprotected; in this case, steps S1205 or S1206 can be skipped.

[0460] Step 1205: The key stream (e.g., the first key stream or the second key stream) used for decryption by the relay UE and / or the second UE can be determined based on the KDCR (e.g., the first key or the second key), the UTC counter, the bearer, the direction information and / or the length information;

[0461] Step 1206: The relay UE and / or the second UE decrypt the key stream (e.g., the first key stream or the second key stream) and the encrypted privacy text (e.g., the first privacy text or the second privacy text) to obtain the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the RSC.

[0462] like Figure 12 As shown, the execution of steps S1201 to S1203 can be referred to the operation of the sending end (first UE or relay UE), and the execution of steps S1204 to S1206 can be referred to the operation of the receiving end (relay UE or second UE). For example, in the above embodiments, the key stream (e.g., the first key stream or the second key stream) can be generated using the selected encryption algorithm of the input parameters in Table 1 below:

[0463]

[0464] Table 1

[0465] Here, the ID privacy text refers to either the first privacy information or the second privacy information in the above embodiments. Encryption and decryption can be performed using algorithms such as NEA. For details of the above implementation methods, please refer to the descriptions on the first UE side and / or the relay UE side and / or the second UE side; they will not be repeated here.

[0466] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0467] Example 2

[0468] like Figure 13 As shown, this disclosure provides an information processing method executed by a communication device, which includes a first UE, a relay UE, and a second UE. The information processing method includes the following steps:

[0469] Step S1301: The first UE sends a first DCR to the relay UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream and an RSC encrypted based on a first key stream;

[0470] In some embodiments of this disclosure, the first DCR can be the first DCR in the above embodiments; the first privacy information, the first key stream, and the first ID can be the first privacy information, the first key stream, and the first ID in the above embodiments, respectively; and the RSC can be the RSC in the above embodiments.

[0471] For example, the first UE includes: the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the first link.

[0472] For example, the first UE is the source UE; the relay UE is the U2U relay UE; and the second UE is the target UE.

[0473] Step S1302: The relay UE decrypts the first DCR based on the first key stream to obtain the first ID and RSC; and based on the first ID and / or RSC obtained by decrypting the first DCR, which are the same as the first ID and / or RSC stored in the relay UE, it determines to establish the first PC5 link between the relay UE and the first UE.

[0474] Step S1303: The relay UE establishes the first PC5 link;

[0475] Step S1304: The relay UE sends a second DCR to the second UE, wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on the second key stream and an RSC encrypted based on the second key stream;

[0476] In some embodiments of this disclosure, the second DCR can be the second DCR in the above embodiments; the second privacy information, the second key stream, and the second ID can be the second privacy information, the second key stream, and the second ID in the above embodiments, respectively; and the RSC can be the RSC in the above embodiments.

[0477] For example, the second UE includes: the ID of the first UE, the ID of the relay UE, the ID of the second UE, and the key ID of the second link.

[0478] Step S1305: The second UE decrypts the second DCR based on the second key stream to obtain the second ID and RSC; and based on the second ID and / or RSC obtained by decrypting the second DCR, which are the same as the second ID and / or RSC stored in the second UE, it is determined that a second PC5 link between the second UE and the relay UE is to be established.

[0479] Step S1306: The second UE establishes a second PC5 link;

[0480] Step S1307: Relay communication is performed between the first UE, the relay UE, and the second UE.

[0481] For details of the above implementation methods, please refer to the descriptions of the first UE side and / or the relay UE side and / or the second UE side, which will not be repeated here.

[0482] It should be noted that those skilled in the art will understand that the methods provided in the embodiments of this disclosure can be executed alone or together with some methods in the embodiments of this disclosure or some methods in related technologies.

[0483] like Figure 14 As shown, this disclosure provides an information processing apparatus, including:

[0484] The first transmitting module 41 is configured to transmit a first DCR to the relay UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream.

[0485] The information processing device provided in this embodiment can be a first UE.

[0486] In some embodiments, the first privacy information further includes: an RSC encrypted based on a first key stream.

[0487] This disclosure provides an information processing apparatus, including: a first sending module 41 configured to send a first DCR to a relay UE, wherein the first DCR includes first privacy information and RSC; the first privacy information includes a first ID encrypted based on a first key stream.

[0488] This disclosure provides an information processing apparatus, including: a first sending module 41 configured to send a first DCR to a relay UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream and an RSC encrypted based on the first key stream.

[0489] This disclosure provides an information processing apparatus, including: a first sending module 41 configured to send a first DCR to a relay UE, wherein the first DCR includes first privacy information; the first privacy information includes the ID of a first UE, the ID of the relay UE, and the ID of a second UE, encrypted based on a first key stream.

[0490] In some embodiments, the first ID includes at least one of the following:

[0491] The ID of the first UE;

[0492] The ID of the relay UE;

[0493] The ID of the second UE;

[0494] The key ID of the first link; where the first link is the link between the first UE and the relay UE.

[0495] This disclosure provides an information processing apparatus, including: a first processing module configured to encrypt a first ID based on a first key stream to determine first privacy information.

[0496] This disclosure provides an information processing apparatus, including: a first processing module configured to encrypt a first ID and RSC based on a first key stream to determine first privacy information.

[0497] In some embodiments, the first key stream is determined based on a first key and at least one of the following:

[0498] UTC's counter;

[0499] Bearing;

[0500] Directional information;

[0501] Length information.

[0502] In some embodiments, the first key is determined based on at least one of the following:

[0503] DUCK, where DUCK is used to encrypt and decrypt the first ID;

[0504] DUSK, where DUSK is used to scramble the first ID;

[0505] Long-term credentials, where the long-term credentials are the root key for establishing a direct communication interface (PC5) link.

[0506] like Figure 15 As shown, this disclosure provides an information processing apparatus, including:

[0507] The first receiving module 51 is configured to receive a first DCR sent by a first UE, wherein the first DCR includes first privacy information; the first privacy information includes a first ID encrypted based on a first key stream.

[0508] The information processing device provided in this embodiment can be a relay UE.

[0509] In some embodiments, the first privacy information further includes: an RSC encrypted based on a first key stream.

[0510] In some embodiments, the first ID includes at least one of the following:

[0511] The ID of the first UE;

[0512] The ID of the relay UE;

[0513] The ID of the second UE;

[0514] The key ID of the first link, where the first link is the link between the first UE and the relay UE.

[0515] This disclosure provides an information processing apparatus, including: a second processing module configured to decrypt a first DCR based on a first key stream to obtain a first ID.

[0516] This disclosure provides an information processing apparatus, including: a second processing module configured to decrypt a first DCR based on a first key stream to obtain a first ID and an RSC.

[0517] This disclosure provides an information processing apparatus, including a second processing module, wherein the second processing module is configured to perform one of the following:

[0518] Based on the fact that the first ID obtained by decrypting the first DCR is the same as the stored first ID, it is determined that the first PC5 link between the relay UE and the first UE should be established.

[0519] Based on the fact that the RSC obtained by decrypting the first DCR is the same as the stored RSC, it is determined that the first PC5 link will be established;

[0520] Based on the fact that the first ID and RSC obtained by decrypting the first DCR are the same as the stored first ID and RSC, it is determined that the first PC5 link is to be established.

[0521] Based on the fact that the first ID obtained by decrypting the first DCR is different from the stored first ID, it is determined that the establishment of the first PC5 link should be terminated.

[0522] Based on the fact that the RSC obtained from decrypting the first DCR is different from the stored RSC, it is determined that the establishment of the first PC5 link should be terminated.

[0523] Based on the fact that the first ID and RSC obtained by decrypting the first DCR are different from the stored first ID and RSC, it is determined that the establishment of the first PC5 link should be terminated.

[0524] In some embodiments, the first DCR includes: Layer 2 ID;

[0525] The second processing module is configured to determine the RSC corresponding to the layer 2 ID based on the fact that the layer 2 ID in the first DCR is the same as the layer 2 ID stored.

[0526] The second processing module is also configured to determine the first key stream corresponding to the RSC based on the RSC.

[0527] This disclosure provides an information processing apparatus, including: a second processing module configured to determine an RSC corresponding to a layer 2 ID based on the layer 2 ID in a first DCR being the same as a stored layer 2 ID; and to determine a first key stream corresponding to the RSC based on the RSC.

[0528] This disclosure provides an information processing apparatus, including: a second sending module configured to send a second DCR to a second UE, wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0529] In some embodiments, the second privacy information further includes: an RSC encrypted based on a second key stream.

[0530] This disclosure provides an information processing apparatus, including: a second sending module configured to send a second DCR to a second UE, wherein the second DCR includes second privacy information and RSC; the second privacy information includes a second ID encrypted based on a second key stream.

[0531] This disclosure provides an information processing apparatus, including: a second sending module configured to send a second DCR to a second UE, wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream and an RSC encrypted based on the second key stream.

[0532] This disclosure provides an information processing apparatus, including: a second sending module configured to send a second DCR to a second UE, wherein the second DCR includes second privacy information; the second privacy information includes the ID of a first UE, the ID of a relay UE, and the ID of the second UE, encrypted based on a second key stream.

[0533] In some embodiments, the second ID includes at least one of the following:

[0534] The ID of the first UE;

[0535] The ID of the relay UE;

[0536] The ID of the second UE;

[0537] The key ID of the second link; where the second link is the link between the relay UE and the second UE.

[0538] This disclosure provides an information processing apparatus, including: a second processing module configured to encrypt a second ID based on a second key stream to determine second privacy information.

[0539] This disclosure provides an information processing apparatus, including: a second processing module configured to encrypt a second ID and RSC based on a second key stream to determine second privacy information.

[0540] In some embodiments, the second key stream is determined based on a second key and at least one of the following:

[0541] UTC's counter;

[0542] Bearing;

[0543] Directional information;

[0544] Length information.

[0545] In some embodiments, the second key stream is determined based on at least one of the following:

[0546] DUCK, where DUCK is used to encrypt and decrypt the second ID;

[0547] DUSK, where DUSK is used to scramble the second ID;

[0548] Long-term credentials, where the long-term credentials are the root key for establishing the PC5 link.

[0549] like Figure 16 As shown, this disclosure provides an information processing apparatus, including:

[0550] The second receiving module 61 is configured to receive a second DCR sent by the relay UE, wherein the second DCR includes second privacy information; the second privacy information includes a second ID encrypted based on a second key stream.

[0551] The information processing apparatus provided in this embodiment can be a second UE.

[0552] In some embodiments, the second privacy information further includes: a relay service code (RSC) based on the second key stream.

[0553] In some embodiments, the second ID includes at least one of the following:

[0554] The ID of the first UE;

[0555] The ID of the relay UE;

[0556] The ID of the second UE;

[0557] The key ID of the second link; where the second link is the link between the relay UE and the second UE.

[0558] This disclosure provides an information processing apparatus, including: a third processing module configured to decrypt a second DCR based on a second key stream to obtain a second ID.

[0559] This disclosure provides an information processing apparatus, including: a third processing module configured to decrypt a second DCR based on a second key stream to obtain a second ID and an RSC.

[0560] This disclosure provides an information processing apparatus, including: a third processing module, wherein,

[0561] The third processing module is configured to perform one of the following:

[0562] Based on the fact that the second ID obtained by decrypting the second DCR is the same as the stored second ID, it is determined that the second direct communication interface PC5 link between the second UE and the relay UE should be established.

[0563] Based on the fact that the RSC obtained by decrypting the second DCR is the same as the stored RSC, it is determined that a second PC5 link should be established;

[0564] Based on the fact that the second ID and RSC obtained by decrypting the second DCR are the same as the stored second ID and RSC, it is determined that a second PC5 link should be established.

[0565] Based on the fact that the second ID obtained by decrypting the second DCR is different from the stored second ID, it is determined that the establishment of the second PC5 link should be terminated.

[0566] Based on the fact that the RSC obtained by decrypting the second DCR is different from the stored RSC, it is determined that the second PC5 link should be terminated.

[0567] Based on the fact that the second ID and RSC obtained by decrypting the second DCR are different from the stored second ID and RSC, it is determined that the second PC5 link should be terminated.

[0568] In some embodiments, the second DCR includes: Layer 2 ID;

[0569] The third processing module is configured to determine the RSC corresponding to the layer 2 ID based on the fact that the layer 2 ID in the second DCR is the same as the layer 2 ID in the storage.

[0570] The third processing module is also configured to determine the second key stream corresponding to the RSC based on the RSC.

[0571] This disclosure provides an information processing apparatus, including: a third processing module configured to determine an RSC corresponding to a layer 2 ID based on the layer 2 ID in a second DCR being the same as a stored layer 2 ID; and to determine a second key stream corresponding to the RSC based on the RSC.

[0572] It should be noted that those skilled in the art will understand that the apparatus provided in the embodiments of this disclosure can be executed alone or together with some apparatus in the embodiments of this disclosure or some apparatus in related technologies.

[0573] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0574] This disclosure provides a communication device, including:

[0575] Memory used to store processor-executable instructions;

[0576] The processor is connected to the memory separately;

[0577] The processor is configured to execute the information processing method provided by any of the aforementioned technical solutions.

[0578] The processor may include various types of storage media, which are non-transitory computer storage media that can continue to store information after the communication device loses power.

[0579] Here, the communication equipment includes: a first UE, a relay UE, and a second UE.

[0580] The processor can be connected to the memory via a bus or similar means to read executable programs stored in the memory, for example, such as... Figures 2 to 11 , Figure 13 At least one of the methods shown.

[0581] This disclosure also provides a computer storage medium storing a computer-executable program, which, when executed by a processor, implements the information processing method of any embodiment of this disclosure. For example, such as... Figures 2 to 11 , Figure 13 At least one of the methods shown.

[0582] Figure 17 This is a block diagram illustrating a UE 800 according to an exemplary embodiment. For example, the UE 800 may be a mobile phone, computer, digital broadcast user equipment, messaging transceiver, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0583] Reference Figure 17 UE800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.

[0584] Processing component 802 typically controls the overall operation of UE 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to generate all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0585] Memory 804 is configured to store various types of data to support operation on UE 800. Examples of this data include instructions for any application or method operating on UE 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0586] Power supply component 806 provides power to various components of UE800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to UE800.

[0587] The multimedia component 808 includes a screen that provides an output interface between the UE 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the UE 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0588] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when UE 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0589] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0590] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of UE 800. For example, sensor assembly 814 can detect the on / off state of device 800, the relative positioning of components such as the display and keypad of UE 800, changes in the position of UE 800 or one of its components, the presence or absence of user contact with UE 800, the orientation or acceleration / deceleration of UE 800, and temperature changes of UE 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0591] Communication component 816 is configured to facilitate wired or wireless communication between UE 800 and other devices. UE 800 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0592] In an exemplary embodiment, UE800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0593] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions that can be executed by a processor 820 of the UE 800 to generate the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0594] like Figure 18 As shown in the illustration, one embodiment of this disclosure illustrates the structure of an access device. For example, the communication device 900 can be provided as a network-side device. This communication device can be various network elements such as the aforementioned access network elements and / or network functions.

[0595] Reference Figure 18 The communication device 900 includes a processing component 922, which further includes one or more processors, and memory resources represented by a memory 932 for storing instructions, such as application programs, that can be executed by the processing component 922. The application programs stored in the memory 932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 922 is configured to execute instructions to perform any of the methods described above applied to the access device, such as... Figures 4 to 9 Any of the methods shown.

[0596] The communication device 900 may also include a power supply component 1926 configured to perform power management of the communication device 900, a wired or wireless network interface 950 configured to connect the communication device 900 to a network, and an input / output (I / O) interface 958. The communication device 900 can operate on an operating system stored in memory 932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.

[0597] Unless otherwise specified, each step in a particular implementation or embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, the solution after removing some steps in a particular implementation or embodiment can also be implemented as an independent embodiment, and the order of the steps in a particular implementation or embodiment can be arbitrarily interchanged. In addition, the optional methods or examples in a particular implementation or embodiment can be arbitrarily combined. Furthermore, the implementations or embodiments can be arbitrarily combined with each other. For example, some or all of the steps in different implementations or embodiments can be arbitrarily combined, and a particular implementation or embodiment can be arbitrarily combined with the optional methods or examples of other implementations or embodiments.

[0598] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.

[0599] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. An information processing method, wherein, Performed by the first user equipment (UE), including: Send a first direct communication request (DCR) to the relay UE, wherein the first DCR includes first privacy information and a Layer 2 ID; the first privacy information includes a first identification information ID encrypted based on a first key stream; Wherein, the first DCR is used to determine the relay service code RSC corresponding to the layer 2 ID based on the layer 2 ID when the relay UE determines that the layer 2 ID in the first DCR is the same as the stored layer 2 ID; The RSC is used by the relay UE to determine the first key stream corresponding to the RSC; The relay UE is used to send a second DCR to a second UE, wherein the second DCR includes second privacy information; the second privacy information includes a second identification information ID encrypted based on a second key stream.

2. The method according to claim 1, wherein, The first privacy information also includes: the RSC encrypted based on the first key stream.

3. The method according to claim 1 or 2, wherein, The first ID includes at least one of the following: The ID of the first UE; The ID of the relay UE; The ID of the second UE; The key ID of the first link; wherein, the first link is the link between the first UE and the relay UE.

4. The method according to claim 1 or 2, wherein, The method includes: The first ID is encrypted based on the first key stream to determine the first privacy information; or, The first ID and RSC are encrypted based on the first key stream to determine the first privacy information.

5. The method according to claim 4, wherein, The first key stream is determined based on a first key and at least one of the following: UTC's counter; Bearing; Directional information; Length information.

6. The method according to claim 5, wherein, The first key is determined based on at least one of the following: An encryption key DUCK, wherein the DUCK is used to encrypt or decrypt the first ID; A scrambling key DUSK, wherein the DUSK is used to scramble the first ID; Long-term credential, wherein the long-term credential is the root key for establishing a direct communication interface PC5 link.

7. An information processing method, wherein, Performed by the relay user equipment (UE), including: The system receives a first direct communication request (DCR) sent by a first UE, wherein the first DCR includes first privacy information and a layer 2 ID; the first privacy information includes a first identification information ID encrypted based on a first key stream. Based on the fact that the Layer 2 ID in the first DCR is the same as the stored Layer 2 ID, the Relay Service Code (RSC) corresponding to the Layer 2 ID is determined based on the Layer 2 ID; Based on the RSC, determine the first key stream corresponding to the RSC; A second DCR is sent to a second UE, wherein the second DCR includes second privacy information; the second privacy information includes a second identification information ID encrypted based on a second key stream.

8. The method according to claim 7, wherein, The first privacy information also includes: the RSC encrypted based on the first key stream.

9. The method according to claim 7 or 8, wherein, The first ID includes at least one of the following: The ID of the first UE; The ID of the relay UE; The ID of the second UE; The key ID of the first link; wherein, the first link is the link between the first UE and the relay UE.

10. The method according to claim 7 or 8, wherein, The method includes: The first DCR is decrypted based on the first key stream to obtain the first ID; or, The first DCR is decrypted based on the first key stream to obtain the first ID and RSC.

11. The method according to claim 10, wherein, The method includes one of the following: Based on the fact that the first ID obtained by decrypting the first DCR is the same as the stored first ID, it is determined to establish the first direct communication interface PC5 link between the relay UE and the first UE. Based on the fact that the RSC obtained by decrypting the first DCR is the same as the stored RSC, it is determined that the first PC5 link will be established; Based on the fact that the first ID and the RSC obtained by decrypting the first DCR are the same as the stored first ID and RSC, it is determined that the first PC5 link is to be established; Based on the fact that the first ID obtained by decrypting the first DCR is different from the stored first ID, it is determined that the establishment of the first PC5 link will be terminated. Based on the fact that the RSC obtained by decrypting the first DCR is different from the stored RSC, it is determined that the establishment of the first PC5 link will be terminated. Based on the fact that the first ID and the RSC obtained by decrypting the first DCR are different from the stored first ID and the RSC, it is determined that the establishment of the first PC5 link will be terminated.

12. The method according to claim 7 or 8, wherein, The second privacy information also includes: an RSC encrypted based on the second key stream.

13. The method according to claim 7 or 8, wherein, The second ID includes at least one of the following: The ID of the first UE; The ID of the relay UE; The ID of the second UE; The key ID of the second link; wherein, the second link is the link between the relay UE and the second UE.

14. The method according to claim 7 or 8, wherein, The method includes: The second ID is encrypted based on the second key stream to determine the second privacy information; or, The second ID and RSC are encrypted based on the second key stream to determine the second privacy information.

15. The method according to claim 14, wherein, The second key stream is determined based on a second key and at least one of the following: UTC's counter; Bearing; Directional information; Length information.

16. The method according to claim 15, wherein, The second key stream is determined based on at least one of the following: The encryption key DUCK, wherein the DUCK is used to encrypt and decrypt the second ID; A scrambling key DUSK, wherein the DUSK is used to scramble the second ID; Long-term credential, wherein the long-term credential is the root key for establishing the PC5 link.

17. An information processing method, wherein, Executed by the second UE, including: The system receives a second direct communication request (DCR) sent by a relay UE, wherein the second DCR includes second privacy information; the second privacy information includes a second identification information ID encrypted based on a second key stream. Before receiving the second DCR, the relay UE is used to receive a first DCR sent by the first UE, wherein the first DCR includes first privacy information and a layer 2 ID; the first privacy information includes a first ID encrypted based on a first key stream; The first DCR is used by the relay UE to determine the relay service code RSC corresponding to the layer 2 ID based on the layer 2 ID when the layer 2 ID in the first DCR is the same as the stored layer 2 ID; The RSC is used by the relay UE to determine the first key stream corresponding to the RSC.

18. The method according to claim 17, wherein, The second privacy information also includes: the RSC based on the second key stream.

19. The method according to claim 17 or 18, wherein, The second ID includes at least one of the following: The ID of the first UE; The ID of the relay UE; The ID of the second UE; The key ID of the second link; wherein, the second link is the link between the relay UE and the second UE.

20. The method according to claim 17 or 18, wherein, The method includes: The second DCR is decrypted based on the second key stream to obtain the second ID; or, The second DCR is decrypted based on the second key stream to obtain the second ID and RSC.

21. The method according to claim 20, wherein, The method includes one of the following: Based on the fact that the second ID obtained by decrypting the second DCR is the same as the stored second ID, it is determined that a second direct communication interface PC5 link between the second UE and the relay UE should be established. Based on the fact that the RSC obtained by decrypting the second DCR is the same as the stored RSC, it is determined that the second PC5 link should be established; Based on the fact that the second ID and the RSC obtained by decrypting the second DCR are the same as the stored second ID and RSC, it is determined that the second PC5 link will be established; Based on the fact that the second ID obtained by decrypting the second DCR is different from the stored second ID, it is determined that the establishment of the second PC5 link will be terminated. Based on the fact that the RSC obtained by decrypting the second DCR is different from the stored RSC, it is determined that the second PC5 link should be terminated. Based on the fact that the second ID and the RSC obtained by decrypting the second DCR are different from the stored second ID and the RSC, it is determined that the second PC5 link should be terminated.

22. The method according to claim 20, wherein, The second DCR includes: Layer 2 ID; the method includes: Based on the fact that the Layer 2 ID in the second DCR is the same as the stored Layer 2 ID, the RSC corresponding to the Layer 2 ID is determined based on the Layer 2 ID; Based on the RSC, the second key stream corresponding to the RSC is determined.

23. An information processing apparatus, wherein, include: The first sending module is configured to send a first direct communication request (DCR) to a relay UE, wherein the first DCR includes first privacy information and a Layer 2 ID; the first privacy information includes a first identification information ID encrypted based on a first key stream; Wherein, the first DCR is used to determine the relay service code RSC corresponding to the layer 2 ID based on the layer 2 ID when the relay UE determines that the layer 2 ID in the first DCR is the same as the stored layer 2 ID; The RSC is used by the relay UE to determine the first key stream corresponding to the RSC; The relay UE is used to send a second DCR to a second UE, wherein the second DCR includes second privacy information; the second privacy information includes a second identification information ID encrypted based on a second key stream.

24. An information processing apparatus, wherein, include: The first receiving module is configured to receive a first direct communication request (DCR) sent by a first UE, wherein the first DCR includes first privacy information and a Layer 2 ID; the first privacy information includes a first identification information ID encrypted based on a first key stream; The second processing module is configured to determine the relay service code (RSC) corresponding to the layer 2 ID based on the layer 2 ID in the first DCR being the same as the stored layer 2 ID; The second processing module is configured to determine the first key stream corresponding to the RSC based on the RSC; The second sending module is configured to send a second DCR to the second UE, wherein the second DCR includes second privacy information; the second privacy information includes a second identification information ID encrypted based on a second key stream.

25. An information processing apparatus, wherein, include: The second receiving module is configured to receive a second direct communication request (DCR) sent by a relay UE, wherein the second DCR includes second privacy information; the second privacy information includes a second identification information ID encrypted based on a second key stream; Before receiving the second DCR, the relay UE is used to receive a first DCR sent by the first UE, wherein the first DCR includes first privacy information and a layer 2 ID; the first privacy information includes a first ID encrypted based on a first key stream; The first DCR is used by the relay UE to determine the relay service code RSC corresponding to the layer 2 ID based on the layer 2 ID when the layer 2 ID in the first DCR is the same as the stored layer 2 ID; The RSC is used by the relay UE to determine the first key stream corresponding to the RSC.

26. A communication system, wherein, The communication system includes: a network device, and at least one of a first user equipment (UE), a relay UE, and a second UE; wherein the first UE is configured to implement the information processing method of any one of claims 1 to 6, the relay UE is configured to implement the information processing method of any one of claims 7 to 16, and the second UE is configured to implement the information processing method of any one of claims 17 to 22.

27. A communication device, wherein, The communication device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to, when running the executable instructions, implement the information processing method according to any one of claims 1 to 6, or claims 7 to 16, or claims 17 to 22.

28. A computer storage medium, wherein, The computer storage medium stores a computer-executable program, which, when executed by a processor, implements the information processing method according to any one of claims 1 to 6, or claims 7 to 16, or claims 17 to 22.

Citation Information

Patent Citations

  • Secure link establishment

    US20220360966A1