Communication method, device, system and storage medium

By transmitting relay service codes and security materials between relay devices and network nodes, and verifying notification messages, the problem of lack of security protection in the multi-hop U2N relay discovery process is solved, ensuring that remote UEs can safely connect to the network, improving improve the security of communication systems.

CN118542005APending Publication Date: 2024-08-23BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202480000829.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-07
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing technology, the multi-hop U2N relay discovery process lacks security protection. Attackers can pretend to be intermediate relays and publish false information, resulting in the remote UE being unable to safely discover potential U2N relays and making it difficult to connect to the network.

Method used

Discover security materials by passing Relay Service Code (RSC) requests between relay devices and network nodes, verify notification messages, ensure information security, and pass security materials between relay devices and terminals to prevent the spread of false information.

Benefits of technology

It implements security protection for the multi-hop U2N relay discovery process, prevents attackers from impersonating intermediate relays, ensures that remote UEs can safely discover and connect to potential U2N relays, and improves the security and reliability of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118542005A
    Figure CN118542005A
Patent Text Reader

Abstract

The embodiment of the invention discloses a communication method and device and a computer readable storage medium, and relates to the technical field of communication. The communication method comprises the following steps: obtaining a discovery security material; performing a relay discovery process based on the discovery security material; wherein the discovery security material comprises at least one of the following: a first discovery security material corresponding to the first relay device; and a second discovery security material corresponding to the at least one second relay device. According to the embodiment of the invention, the security protection of a multi-hop U2N relay discovery process can be realized, an attacker can be prevented from pretending to publish false information of the U2N relay as an intermediate relay, and the remote UE can be ensured to safely discover a potential U2N relay through the intermediate relay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a communication method, device, system and storage medium. Background Art

[0002] In order to support communication between terminals that are not covered by the network and the network, Proximity-based Services (ProSe) are introduced. The intermediate relay is a ProSe UE located on the path between the remote UE and the U2N relay (UE-to-Network Relay), which provides the function of supporting 5G ProSe remote UE to connect to the network, thereby supporting multi-hop U2N relay services. Summary of the invention

[0003] Embodiments of the present disclosure provide a communication method, device, system, and storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a communication method is provided, which is applied to a first relay device. The method includes:

[0005] Access to discovery security materials;

[0006] performing a relay discovery process based on the discovery security material;

[0007] The discovery of security materials includes at least one of the following:

[0008] a first discovered security material corresponding to the first relay device;

[0009] The at least one second relay device corresponds to a second discovered security material.

[0010] A second aspect of the embodiments of the present disclosure provides a communication method, which is applied to a terminal, and the method includes:

[0011] Access to discovery security materials;

[0012] performing a relay discovery process based on the discovery security material;

[0013] The discovery of security materials includes at least one of the following:

[0014] a first discovered security material corresponding to the first relay device;

[0015] The at least one second relay device corresponds to a second discovered security material.

[0016] A third aspect of the embodiments of the present disclosure provides a communication method, which is applied to a first network node. The method includes:

[0017] receiving a first message sent by a first relay device, wherein the first message includes a relay service code RSC for requesting to discover security material;

[0018] Sending a second message to the first relay device, where the second message includes at least one of the following:

[0019] a first discovered security material related to the first ID of the first relay device;

[0020] At least one second discovered security material related to the second ID of the second relay device.

[0021] A fourth aspect of the embodiments of the present disclosure provides a communication method, which is applied to a third network node. The method includes:

[0022] receiving a third message sent by the terminal, wherein the third message includes a relay service code RSC for requesting to discover security material;

[0023] Sending a fourth message to the terminal, where the fourth message includes at least one of the following:

[0024] a first discovered security material associated with the first ID of the first relay device;

[0025] At least one discovery security material related to the second ID of the second relay device.

[0026] A fifth aspect of the embodiments of the present disclosure provides a communication method, which is applied to a second network node. The method includes:

[0027] receiving a fifth message sent by the first network node, wherein the fifth message includes an RSC for requesting to discover security material;

[0028] a sixth message sent to the first network node, the sixth message comprising: a second discovery security material related to a second ID of a second relay device;

[0029] The first network node is a network node corresponding to the first relay device.

[0030] In a sixth aspect, an embodiment of the present disclosure provides a relay device, including:

[0031] A first transceiver module is used to obtain and discover security materials;

[0032] A first processing module, configured to perform a relay discovery process based on the discovery security material;

[0033] The discovery of security materials includes at least one of the following:

[0034] a first discovered security material corresponding to the first relay device;

[0035] The at least one second relay device corresponds to a second discovered security material.

[0036] In a seventh aspect, an embodiment of the present disclosure provides a terminal, including:

[0037] The second transceiver module is used to obtain and discover security materials;

[0038] A second processing module, configured to perform a relay discovery process based on the discovery security material;

[0039] The discovery of security materials includes at least one of the following:

[0040] a first discovered security material corresponding to the first relay device;

[0041] The at least one second relay device corresponds to a second discovered security material.

[0042] In an eighth aspect, an embodiment of the present disclosure provides a first network node, including:

[0043] The third transceiver module is configured to receive a first message sent by a first relay device, wherein the first message includes a relay service code RSC for requesting to discover security materials; and send a second message to the first relay device, wherein the second message includes at least one of the following:

[0044] a first discovered security material related to the first ID of the first relay device;

[0045] At least one second discovered security material related to the second ID of the second relay device.

[0046] In a ninth aspect, an embodiment of the present disclosure provides a third network node, including:

[0047] a fourth transceiver module, configured to receive a third message sent by a terminal, the third message including a relay service code RSC for requesting to discover security materials; and to send a fourth message to the terminal, the fourth message including at least one of the following:

[0048] a first discovered security material associated with the first ID of the first relay device;

[0049] At least one discovery security material related to the second ID of the second relay device.

[0050] In a tenth aspect, an embodiment of the present disclosure provides a second network node, including:

[0051] A fifth transceiver module is used to receive a fifth message sent by the first network node, the fifth message including RSC, which is used to request the discovery of security materials; a sixth message sent to the first network node, the sixth message including: second discovered security materials related to the second ID of the second relay device; wherein the first network node is a network node corresponding to the first relay device.

[0052] In an eleventh aspect, an embodiment of the present disclosure provides a relay device, including:

[0053] one or more processors;

[0054] The processor is used to execute the method described in the optional implementation manner of the first aspect.

[0055] In a twelfth aspect, an embodiment of the present disclosure provides a terminal, including:

[0056] one or more processors;

[0057] The processor executes the method described in the optional implementation manner of the second aspect.

[0058] In a thirteenth aspect, an embodiment of the present disclosure provides a first network node, including:

[0059] one or more processors;

[0060] The processor is used to execute the method described in the optional implementation manner of the third aspect.

[0061] In a fourteenth aspect, an embodiment of the present disclosure provides a third network node, including:

[0062] one or more processors;

[0063] The processor is used to execute the method described in the optional implementation manner of the fourth aspect.

[0064] In a fifteenth aspect, an embodiment of the present disclosure provides a second network node, including:

[0065] one or more processors;

[0066] The processor is used to execute the method described in the optional implementation of the fifth aspect.

[0067] In the sixteenth aspect, an embodiment of the present disclosure proposes a communication system, comprising: a relay device, a terminal and a network node, wherein the relay device is used to implement the method described in the optional implementation manner of the first aspect, the terminal is used to implement the method described in the optional implementation manner of the second aspect, and the network node is used to implement the method described in the optional implementation manner of the third aspect, or the fourth aspect, or the fifth aspect.

[0068] In the seventeenth aspect, an embodiment of the present disclosure proposes a storage medium, which stores instructions. When the instructions are executed on a communication device, the communication device executes the method described in the optional implementation manner of the first aspect, the second aspect, the third aspect, the fourth aspect, or the fifth aspect.

[0069] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0071] Figure 1a is a structural schematic diagram 1 of a wireless communication system according to an exemplary embodiment;

[0072] Figure 1b is a second structural diagram of a wireless communication system according to an exemplary embodiment;

[0073] Figure 2a is a flow chart of a communication method according to an exemplary embodiment;

[0074] Figure 2b is a flow chart of a communication method according to an exemplary embodiment;

[0075] Figure 3a is a flow chart of a communication method according to an embodiment of the present disclosure;

[0076] Figure 3b is a flow chart of a communication method according to an embodiment of the present disclosure;

[0077] Figure 4a is a flow chart of a communication method according to an embodiment of the present disclosure;

[0078] Figure 4b is a flow chart of a communication method according to an embodiment of the present disclosure;

[0079] Figure 5a is a flow chart of a communication method according to an embodiment of the present disclosure;

[0080] Figure 5b is a flow chart of a communication method according to an embodiment of the present disclosure;

[0081] Figure 5c is a flow chart of a communication method according to an embodiment of the present disclosure;

[0082] Figure 6a is a flow chart of a communication method according to an embodiment of the present disclosure;

[0083] Figure 6b is a flow chart of a communication method according to an embodiment of the present disclosure;

[0084] Figure 7 is a flow chart of a communication method according to an embodiment of the present disclosure;

[0085] Figure 8a is a flow chart of a communication method according to an embodiment of the present disclosure;

[0086] Figure 8b is a flow chart of a communication method according to an embodiment of the present disclosure;

[0087] Fig. 9 is a flow chart of a communication method according to an embodiment of the present disclosure;

[0088] Fig.10a is a schematic diagram of the structure of a relay device proposed in an embodiment of the present disclosure;

[0089] Fig.10b is a schematic diagram of the structure of a terminal proposed in an embodiment of the present disclosure;

[0090] Fig.10c is a schematic diagram of the structure of a first network node proposed in an embodiment of the present disclosure;

[0091] Fig.10d is a schematic diagram of the structure of a third network node proposed in an embodiment of the present disclosure;

[0092] Fig.10e is a schematic diagram of the structure of a second network node proposed in an embodiment of the present disclosure;

[0093] Fig.11a is a schematic diagram of the structure of a communication device proposed in an embodiment of the present disclosure;

[0094] Fig.11b It is a schematic diagram of the structure of the chip proposed in the embodiment of the present disclosure. DETAILED DESCRIPTION

[0095] The embodiments of the present disclosure provide a communication method, a device, a communication system, and a storage medium.

[0096] In a first aspect, an embodiment of the present disclosure provides a communication method, which is applied to a first relay device, and the method includes:

[0097] Access to discovery security materials;

[0098] performing a relay discovery process based on the discovery security material;

[0099] The discovery of security materials includes at least one of the following:

[0100] a first discovered security material corresponding to the first relay device;

[0101] The at least one second relay device corresponds to a second discovered security material.

[0102] In the above embodiment, it can ensure that the first relay device obtains the discovery security material for forwarding the discovery message, can implement security protection of the multi-hop U2N relay discovery process, can prevent attackers from impersonating intermediate relays to publish false information about the U2N relay, and ensure that the remote UE can safely discover potential U2N relays through the intermediate relays.

[0103] In conjunction with some embodiments of the first aspect, in some embodiments, obtaining and discovering the security material includes:

[0104] Sending a first message to a first network node, the first message comprising a relay service code RSC for requesting the discovery of security material;

[0105] receiving a second message sent by the first network node, where the second message includes at least one of the following:

[0106] a first discovered security material related to the first ID of the first relay device;

[0107] At least one second discovered security material related to the second ID of the second relay device.

[0108] In the above embodiment, the discovery security material for forwarding the discovery message is obtained by sending a first message for requesting the discovery security material to the first network node.

[0109] In combination with some embodiments of the first aspect, if the first relay device is a first terminal to network U2N relay and supports multi-hop U2N relay service, then the second discovered security material is obtained by the first network node from a second network node, wherein the second network node is a network node corresponding to the second relay device.

[0110] In the above embodiment, if the first relay device is a U2N relay and supports multi-hop U2N relay service, the first network node can obtain the second discovery security material from other network nodes corresponding to U2N relays that support multi-hop U2N relay service, that is, the first network node can obtain the second discovery security material related to the second ID of the second relay device from the second network node corresponding to the second relay device, so as to perform security protection in the multi-hop U2N relay discovery process.

[0111] In combination with some embodiments of the first aspect, in some embodiments, if the first relay device is a first intermediate relay, the second discovered security material is obtained by the first network node from a second network node, wherein the second network node is a network node corresponding to the second relay device.

[0112] In the above embodiment, if the first relay device is an intermediate relay, the first network node can obtain the second discovery security material from other intermediate relays and / or network nodes corresponding to the U2N relay, that is, the first network node can obtain the second discovery security material related to the second ID of the second relay device from the second network node corresponding to the second relay device, so as to perform security protection in the multi-hop U2N relay discovery process.

[0113] In combination with some embodiments of the first aspect, in some embodiments, the second relay device includes at least one of the following:

[0114] Second U2N relay;

[0115] Second intermediate relay.

[0116] In conjunction with some embodiments of the first aspect, in some embodiments, the first message further includes at least one of the following:

[0117] a second ID of the second relay device, the second relay device being authorized to provide a multi-hop U2N relay service;

[0118] role information of the first relay device;

[0119] The first indication information is used to indicate that the first relay device supports multi-hop U2N service.

[0120] In the above embodiment, the second ID of the second relay device is carried in the first message, which facilitates the first network node to determine the corresponding second network node to obtain the second discovery security material related to the second ID of the second relay device. The first message carries the role information and / or the first indication information of the first relay device, which facilitates the first network node to determine whether the first relay device supports the multi-hop U2N service.

[0121] In combination with some embodiments of the first aspect, in some embodiments, performing a relay discovery process based on the discovery security material includes:

[0122] receiving a first notification message broadcasted by a second relay device, wherein the first notification message is security-protected by discovery security material associated with a second ID of the second relay device;

[0123] The first announcement message is authenticated based on discovery security material determined by the second ID and the RSC.

[0124] In the above embodiment, during the multi-hop U2N relay discovery process, the notification message is securely protected and verified based on the discovery security material related to the second ID of the second relay device, which can prevent attackers from impersonating intermediate relays to publish false information about U2N relays, and ensure that remote UEs can safely discover potential U2N relays through intermediate relays.

[0125] In conjunction with some embodiments of the first aspect, in some embodiments, the present invention further includes:

[0126] If the first notification message passes the verification, broadcast the second notification message;

[0127] The second notification message is securely protected by discovery security material related to the first ID.

[0128] In the above embodiment, the first relay device verifies the received first notification message based on the discovery security material related to the second ID of the second relay device, and after the verification is passed, broadcasts the second notification message that is securely protected by the discovery security material related to the first ID, thereby preventing attackers from impersonating intermediate relays to publish false information about U2N relays, and ensuring that remote UEs can safely discover potential U2N relays through intermediate relays.

[0129] In combination with some embodiments of the first aspect, in some embodiments, broadcasting the second notification message includes:

[0130] If the first hop value obtained based on the first notification message meets the first condition, broadcast the second notification message, where the second notification message includes information related to the first relay device; or,

[0131] If the first hop value satisfies a first condition, and the information in the first notification message satisfies a second condition, the second notification message is broadcast.

[0132] In the above embodiment, when the received first notification message meets the condition, the second notification message is broadcasted, so as to ensure that the multi-hop U2N service provided by the first relay device meets the service QoS (Quality of Service).

[0133] In combination with some embodiments of the first aspect, in some embodiments, the information in the first notification message satisfies the second condition, including:

[0134] The relevant information of the RSC and / or the second relay device in the first notification message is not stored in the information entry; or,

[0135] The RSC in the first notification message and the related information of the second relay device are stored in an information entry, and the first hop value is smaller than the second hop value stored in the information entry.

[0136] In the above embodiment, when the information in the received first notification message meets the condition, the second notification message is broadcasted, which can ensure that the first relay device can provide an optimal path to the potential U2N relay.

[0137] In combination with some embodiments of the first aspect, in some embodiments, the method further includes: updating stored information entries.

[0138] In a second aspect, an embodiment of the present disclosure proposes a communication method, which is applied to a terminal. The method includes:

[0139] Access to discovery security materials;

[0140] performing a relay discovery process based on the discovery security material;

[0141] The discovery of security materials includes at least one of the following:

[0142] a first discovered security material corresponding to the first relay device;

[0143] The at least one second relay device corresponds to a second discovered security material.

[0144] In conjunction with some embodiments of the second aspect, in some embodiments, the obtaining and discovering the security material includes:

[0145] sending a third message to a third network node, the third message including a relay service code RSC for requesting the discovery of the security material;

[0146] receiving a fourth message sent by the third network node, where the fourth message includes at least one of the following:

[0147] a first discovered security material related to the first ID of the first relay device;

[0148] At least one second discovered security material related to the second ID of the second relay device.

[0149] In conjunction with some embodiments of the second aspect, in some embodiments, the second discovered security material is obtained by the third network node from a second network node, wherein the second network node is a network node corresponding to the second relay device;

[0150] The first discovered security material is acquired by the third network node from a first network node, wherein the first network node is a network node corresponding to the first relay device.

[0151] In combination with some embodiments of the second aspect, in some embodiments, the third message further includes at least one of the following:

[0152] A first ID of the first relay device;

[0153] The second ID of the second relay device.

[0154] In conjunction with some embodiments of the second aspect, in some embodiments, the second relay device includes at least one of the following:

[0155] Second U2N relay;

[0156] Second intermediate relay.

[0157] In conjunction with some embodiments of the second aspect, in some embodiments, performing a relay discovery process based on the discovery security material includes:

[0158] receiving a second notification message broadcasted by the first relay device, where the second notification message is securely protected by discovery security material related to the first ID of the first relay device;

[0159] verifying the second notification message based on discovery security material determined by the first ID and the RSC;

[0160] Wherein, the first relay device includes at least one of the following:

[0161] The first U2N relay;

[0162] First intermediate relay.

[0163] In a third aspect, an embodiment of the present disclosure provides a communication method, which is applied to a first network node. The method includes:

[0164] receiving a first message sent by a first relay device, wherein the first message includes a relay service code RSC for requesting to discover security material;

[0165] Sending a second message to the first relay device, where the second message includes at least one of the following:

[0166] a first discovered security material related to the first ID of the first relay device;

[0167] At least one second discovered security material related to the second ID of the second relay device.

[0168] In combination with some embodiments of the third aspect, in some embodiments, before sending the second message to the first network node, the method further includes:

[0169] sending a fifth message to the second network node, the fifth message including the RSC, for requesting the discovery of the security material;

[0170] receiving a sixth message sent by the second network node, the sixth message comprising: a second discovery security material related to a second ID of the second relay device;

[0171] The second network node is a network node corresponding to the second relay device.

[0172] In conjunction with some embodiments of the third aspect, in some embodiments, the second relay device includes at least one of the following:

[0173] Second U2N relay;

[0174] Second intermediate relay.

[0175] In conjunction with some embodiments of the third aspect, in some embodiments, the first message further includes at least one of the following:

[0176] a second ID of the second relay device, the second relay device being authorized to provide a multi-hop U2N relay service;

[0177] role information of the first relay device;

[0178] The first indication information is used to indicate that the first relay device supports multi-hop U2N service.

[0179] In combination with some embodiments of the third aspect, in some embodiments, if the first message includes the second ID of the second relay device, the sending the fifth message to the second network node includes:

[0180] Based on the second ID, the fifth message is sent to the corresponding second network node.

[0181] In combination with some embodiments of the third aspect, in some embodiments, sending the fifth message to the second network node includes:

[0182] Based on the first mapping relationship, sending the fifth message to the second network node;

[0183] The first mapping relationship is a mapping relationship between the RSC and the second ID.

[0184] In combination with some embodiments of the third aspect, in some embodiments, the first mapping relationship is locally configured by the first network node.

[0185] In conjunction with some embodiments of the third aspect, in some embodiments, the method further includes:

[0186] receiving a seventh message sent by a third network node, wherein the seventh message includes the RSC and is used to request the discovery of the security material;

[0187] Sending an eighth message to the third network node, where the eighth message includes at least one of the following:

[0188] a first discovered security material related to the first ID of the first relay device;

[0189] a second discovered security material associated with a second ID of the second relay device;

[0190] The third network node is a network node corresponding to the terminal.

[0191] In a fourth aspect, an embodiment of the present disclosure provides a communication method, which is applied to a third network node. The method includes:

[0192] receiving a third message sent by the terminal, wherein the third message includes a relay service code RSC for requesting to discover security material;

[0193] Sending a fourth message to the terminal, where the fourth message includes at least one of the following:

[0194] a first discovered security material associated with the first ID of the first relay device;

[0195] At least one discovery security material related to the second ID of the second relay device.

[0196] In conjunction with some embodiments of the fourth aspect, in some embodiments, before sending the fourth message to the terminal, the method further includes:

[0197] Sending a seventh message to the second network node and / or the first network node, wherein the seventh message includes the RSC and is used to request the discovery of the security material;

[0198] receiving an eighth message sent by the second network node and / or the first network node, where the eighth message includes at least one of the following:

[0199] a first discovered security material related to the first ID of the first relay device;

[0200] A second discovered security material related to the second ID of the second relay device.

[0201] In combination with some embodiments of the fourth aspect, in some embodiments, the first network node is a network node corresponding to the first relay device, and the second network node is a network node corresponding to the second relay device.

[0202] In conjunction with some embodiments of the fourth aspect, in some embodiments, the second relay device includes at least one of the following:

[0203] Second U2N relay;

[0204] Second intermediate relay.

[0205] In combination with some embodiments of the fourth aspect, in some embodiments, the third message further includes at least one of the following:

[0206] A first ID of the first relay device;

[0207] The second ID of the second relay device.

[0208] In conjunction with some embodiments of the fourth aspect, in some embodiments, sending the seventh message to the second network node and / or the first network node includes at least one of the following:

[0209] Based on the first ID, sending the seventh message to the corresponding first network node;

[0210] Based on the second ID, the seventh message is sent to the corresponding second network node.

[0211] In combination with some embodiments of the fourth aspect, in some embodiments, sending the seventh message to the second network node and / or the first network node includes:

[0212] Based on the second mapping relationship, sending the seventh message to the second network node and / or the first network node;

[0213] The second mapping relationship includes at least one of the following:

[0214] A mapping relationship between the RSC and the second ID;

[0215] A mapping relationship between the RSC and the first ID.

[0216] In combination with some embodiments of the fourth aspect, in some embodiments, the second mapping relationship is locally configured by the third network node.

[0217] In a fifth aspect, an embodiment of the present disclosure provides a communication method, which is applied to a second network node. The method includes:

[0218] receiving a fifth message sent by the first network node, wherein the fifth message includes an RSC for requesting to discover security material;

[0219] a sixth message sent to the first network node, the sixth message comprising: a second discovery security material related to a second ID of a second relay device;

[0220] The first network node is a network node corresponding to the first relay device.

[0221] In conjunction with some embodiments of the fifth aspect, in some embodiments, the method further includes:

[0222] receiving a seventh message sent by a third network node, wherein the seventh message includes the RSC and is used to request the discovery of the security material;

[0223] Sending an eighth message to the third network node, where the eighth message includes at least one of the following:

[0224] a first discovered security material related to the first ID of the first relay device;

[0225] a second discovered security material associated with a second ID of the second relay device;

[0226] The third network node is a network node corresponding to the terminal.

[0227] In a sixth aspect, an embodiment of the present disclosure provides a relay device, including:

[0228] A first transceiver module is used to obtain and discover security materials;

[0229] A first processing module, configured to perform a relay discovery process based on the discovery security material;

[0230] The discovery of security materials includes at least one of the following:

[0231] a first discovered security material corresponding to the first relay device;

[0232] The at least one second relay device corresponds to a second discovered security material.

[0233] In a seventh aspect, an embodiment of the present disclosure provides a terminal, including:

[0234] The second transceiver module is used to obtain and discover security materials;

[0235] A second processing module, configured to perform a relay discovery process based on the discovery security material;

[0236] The discovery of security materials includes at least one of the following:

[0237] a first discovered security material corresponding to the first relay device;

[0238] The at least one second relay device corresponds to a second discovered security material.

[0239] In an eighth aspect, an embodiment of the present disclosure provides a first network node, including:

[0240] The third transceiver module is configured to receive a first message sent by a first relay device, wherein the first message includes a relay service code RSC for requesting to discover security materials; and send a second message to the first relay device, wherein the second message includes at least one of the following:

[0241] a first discovered security material related to the first ID of the first relay device;

[0242] At least one second discovered security material related to the second ID of the second relay device.

[0243] In a ninth aspect, an embodiment of the present disclosure provides a third network node, including:

[0244] a fourth transceiver module, configured to receive a third message sent by a terminal, the third message including a relay service code RSC for requesting to discover security materials; and to send a fourth message to the terminal, the fourth message including at least one of the following:

[0245] a first discovered security material associated with the first ID of the first relay device;

[0246] At least one discovery security material related to the second ID of the second relay device.

[0247] In a tenth aspect, an embodiment of the present disclosure provides a second network node, including:

[0248] A fifth transceiver module is used to receive a fifth message sent by the first network node, the fifth message including RSC, which is used to request the discovery of security materials; a sixth message sent to the first network node, the sixth message including: second discovered security materials related to the second ID of the second relay device; wherein the first network node is a network node corresponding to the first relay device.

[0249] In an eleventh aspect, an embodiment of the present disclosure provides a relay device, including:

[0250] one or more processors;

[0251] The processor is used to execute the method described in the optional implementation manner of the first aspect.

[0252] In a twelfth aspect, an embodiment of the present disclosure provides a terminal, including:

[0253] one or more processors;

[0254] The processor executes the method described in the optional implementation manner of the second aspect.

[0255] In a thirteenth aspect, an embodiment of the present disclosure provides a first network node, including:

[0256] one or more processors;

[0257] The processor is used to execute the method described in the optional implementation manner of the third aspect.

[0258] In a fourteenth aspect, an embodiment of the present disclosure provides a third network node, including:

[0259] one or more processors;

[0260] The processor is used to execute the method described in the optional implementation manner of the fourth aspect.

[0261] In a fifteenth aspect, an embodiment of the present disclosure provides a second network node, including:

[0262] one or more processors;

[0263] The processor is used to execute the method described in the optional implementation of the fifth aspect.

[0264] In the sixteenth aspect, an embodiment of the present disclosure proposes a communication system, comprising: a relay device, a terminal and a network node, wherein the relay device is used to implement the method described in the optional implementation manner of the first aspect, the terminal is used to implement the method described in the optional implementation manner of the second aspect, and the network node is used to implement the method described in the optional implementation manner of the third aspect, or the fourth aspect, or the fifth aspect.

[0265] In the seventeenth aspect, an embodiment of the present disclosure proposes a storage medium, which stores instructions. When the instructions are executed on a communication device, the communication device executes the method described in the optional implementation manner of the first aspect, the second aspect, the third aspect, the fourth aspect, or the fifth aspect.

[0266] In the eighteenth aspect, an embodiment of the present disclosure proposes a program product. When the program product is executed by a communication device, the communication device executes the method described in the optional implementation manner of the first aspect, the second aspect, the third aspect, the fourth aspect, or the fifth aspect.

[0267] In the nineteenth aspect, an embodiment of the present disclosure proposes a computer program, which, when executed on a computer, enables the computer to execute the method described in the optional implementation of the first aspect, the second aspect, the third aspect, the fourth aspect, or the fifth aspect.

[0268] In the twentieth aspect, an embodiment of the present disclosure proposes a chip or a chip system, which includes a processing circuit for executing the method described in the optional implementation of the first aspect or the second aspect or the third aspect or the fourth aspect or the fifth aspect above.

[0269] It can be understood that the above communication devices, communication systems, storage media, program products, and computer programs are all used to execute the methods proposed in the embodiments of the present disclosure. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods, and will not be repeated here. Among them, the communication device can be a terminal or a network node.

[0270] The embodiments of the present disclosure provide communication methods, communication devices, communication systems, and storage media. In some embodiments, the terms communication method and information processing method can be interchangeable, the terms communication device and information processing device can be interchangeable, and the terms information processing system and communication system can be interchangeable.

[0271] The embodiments of the present disclosure are not exhaustive, but are only illustrative of some embodiments, and are not intended to be a specific limitation on the scope of protection of the embodiments of the present disclosure. In the absence of contradiction, each step in a certain embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a certain embodiment can also be implemented as an independent embodiment, and the order of the steps in a certain embodiment can be arbitrarily exchanged. In addition, the optional implementation methods in a certain embodiment can be arbitrarily combined; in addition, the embodiments can be arbitrarily combined, for example, some or all of the steps of different embodiments can be arbitrarily combined, and a certain embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.

[0272] In each embodiment of the present disclosure, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between the embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form a new embodiment based on their internal logical relationships.

[0273] The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments and are not intended to limit the embodiments of the present disclosure.

[0274] In the embodiments of the present disclosure, unless otherwise specified, elements expressed in the singular form, such as "a", "an", "the", "above", "said", "aforementioned", "this", etc., may mean "one and only one", or "one or more", "at least one", etc. For example, when using articles such as "a", "an", "the" in English in translation, the noun after the article may be understood as a singular expression or a plural expression.

[0275] In the embodiments of the present disclosure, “plurality” refers to two or more.

[0276] In some embodiments, the terms “at least one of,” “at least one of,” “at least one of,” “one or more,” “a plurality of,” “multiple,” etc. may be used interchangeably.

[0277] In the embodiments of the present disclosure, descriptions such as “at least one of A, B, C…”, “A and / or B and / or C…”, etc. include the situation where any one of A, B, C… exists alone, and also include the situation where any multiple of A, B, C… exist in any combination, and each situation can exist alone; for example, “at least one of A, B, C” includes the situation where A exists alone, B exists alone, C exists alone, the combination of A and B, the combination of A and C, the combination of B and C, and the combination of A, B and C; for example, A and / or B includes the situation where A exists alone, B exists alone, and the combination of A and B.

[0278] In some embodiments, the description methods such as "in one case A, in another case B", "in response to one case A, in response to another case B", etc. may include the following technical solutions according to the situation: A is executed independently of B, that is, in some embodiments A; B is executed independently of A, that is, in some embodiments B; A and B are selectively executed, that is, selected from A and B in some embodiments; A and B are both executed, that is, A and B in some embodiments. When there are more branches such as A, B, C, etc., it is similar to the above.

[0279] The prefixes such as "first" and "second" in the embodiments of the present disclosure are only used to distinguish different description objects, and do not constitute restrictions on the position, order, priority, quantity or content of the description objects. The statement of the description object refers to the description in the context of the claims or embodiments, and should not constitute unnecessary restrictions due to the use of prefixes. For example, if the description object is a "field", the ordinal number before the "field" in the "first field" and the "second field" does not limit the position or order between the "fields", and the "first" and "second" do not limit whether the "fields" they modify are in the same message, nor do they limit the order of the "first field" and the "second field". For another example, if the description object is a "level", the ordinal number before the "level" in the "first level" and the "second level" does not limit the priority between the "levels". For another example, the number of description objects is not limited by the ordinal number, and can be one or more. Taking the "first device" as an example, the number of "devices" can be one or more. In addition, the objects modified by different prefixes may be the same or different. For example, if the description object is "device", then the "first device" and the "second device" may be the same device or different devices, and their types may be the same or different. For another example, if the description object is "information", then the "first configuration" and the "second configuration" may be the same information or different information, and their contents may be the same or different.

[0280] In some embodiments, “including A”, “comprising A”, “used to indicate A”, and “carrying A” can be interpreted as directly carrying A or indirectly indicating A.

[0281] In some embodiments, terms such as "in response to ...", "in response to determining ...", "in the case of ...", "at the time of ...", "when ...", "if ...", "if ...", etc. can be used interchangeably.

[0282] In some embodiments, terms such as "greater than", "greater than or equal to", "not less than", "more than", "more than or equal to", "not less than", "higher than", "higher than or equal to", "not lower than", and "above" can be replaced with each other, and terms such as "less than", "less than or equal to", "not greater than", "less than", "less than or equal to", "no more than", "lower than", "lower than or equal to", "not higher than", and "below" can be replaced with each other.

[0283] In some embodiments, devices, etc. can be interpreted as physical or virtual, and their names are not limited to the names recorded in the embodiments. Terms such as "device", "equipment", "device", "circuit", "network element", "node", "function", "unit", "section", "system", "network", "chip", "chip system", "entity", and "subject" can be used interchangeably.

[0284] In some embodiments, the terms "access network device (AN device)", "radio access network device (RAN device)", "base station (BS)", "radio base station (radio base station)", "fixed station (fixed station)", "node (node)", "access point (access point)", "transmission point (TP)", "reception point (reception point, RP)", "transmission / reception point (transmission / reception point, TRP)", "panel (panel)", "antenna panel (antenna panel)", "antenna array (antenna array)", "cell (cell)", "macro cell (macro cell)", "small cell (small cell)", "femto cell (femto cell)", "pico cell (pico cell)", "sector (sector)", "cell group (cell)", "carrier (carrier)", "component carrier (component carrier)", "bandwidth part (bandwidth part, BWP)" and the like can be used interchangeably.

[0285] In some embodiments, the terms "terminal", "terminal device", "user equipment (UE)", "user terminal" "mobile station (MS)", "mobile terminal (MT)", subscriber station, mobile unit, subscriber unit, wireless unit, remote unit, mobile device, wireless device, wireless communication device, remote device, mobile subscriber station, access terminal, mobile terminal, wireless terminal, remote terminal, handset, user agent, mobile client, client and the like can be used interchangeably.

[0286] In some embodiments, the access network device, the core network device, or the network device can be replaced by a terminal. For example, the various embodiments of the embodiments of the present disclosure can also be applied to a structure in which the communication between the access network device, the core network device, or the network device and the terminal is replaced by communication between multiple terminals (for example, it can also be called device-to-device (D2D), vehicle-to-everything (V2X), etc.). In this case, it can also be set as a structure in which the terminal has all or part of the functions of the access network device. In addition, languages ​​such as "uplink" and "downlink" can also be replaced by languages ​​corresponding to communication between terminals (for example, "side").

[0287] For example, an uplink channel, a downlink channel, etc. may be replaced by a sidelink channel, and an uplink, a downlink, etc. may be replaced by a sidelink.

[0288] In some embodiments, terms such as "uplink", "uplink", "physical uplink" can be interchangeable, and terms such as "downlink", "downlink", "physical downlink" can be interchangeable, and terms such as "side", "sidelink", "side communication", "sidelink communication", "direct connection", "direct link", "direct communication", "direct link communication" can be interchangeable.

[0289] In some embodiments, the terms "downlink control information (DCI)", "downlink (DL) assignment", "DL DCI", "uplink (UL) grant", "UL DCI" and the like may be used interchangeably.

[0290] In some embodiments, terms such as "physical downlink shared channel (PDSCH)", "DL data" and the like can be interchangeable, and terms such as "physical uplink shared channel (PUSCH)", "UL data" and the like can be interchangeable.

[0291] In some embodiments, the determination or judgment can be performed by a value represented by 1 bit (0 or 1), by a true or false value (Boolean value) represented by true or false, or by comparison of numerical values ​​(for example, comparison with a predetermined value), but is not limited to this.

[0292] In some embodiments, "network" may be interpreted as devices included in the network (eg, access network equipment, core network equipment, etc.).

[0293] In some embodiments, acquisition of data, information, etc. may comply with the laws and regulations of the country where the data is obtained.

[0294] In some embodiments, data, information, etc. may be obtained with the user's consent.

[0295] Figure 1a It is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure.

[0296] like Figure 1a As shown, the communication system 100 includes a terminal 101 and a network device 102 .

[0297] In some embodiments, the terminal 101 includes, for example, a mobile phone, a wearable device, an Internet of Things device, a car with communication function, a smart car, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical surgery, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, and at least one of a wireless terminal device in a smart home, but is not limited to these.

[0298] In some embodiments, the network device 102 may include at least one of an access network device and a core network device.

[0299] In some embodiments, the access network device is, for example, a node or device that accesses a terminal to a wireless network. The network device may include an evolved NodeB (eNB), a next generation evolved NodeB (ng-eNB), a next generation NodeB (gNB), a node B (NB), a home node B (HNB), a home evolved nodeB (HeNB), a wireless backhaul device, a radio network controller (RNC), a base station controller (BSC), a base transceiver station (BTS), a base band unit (BBU), a mobile switching center, a base station in a 6G communication system, an open base station (Open RAN), a cloud base station (CloudRAN), a base station in other communication systems, and at least one of an access node in a wireless fidelity (WiFi) system, but is not limited thereto.

[0300] In some embodiments, the technical solutions of the embodiments of the present disclosure may be applicable to the Open RAN architecture. In this case, the interfaces between or within the network devices involved in the embodiments of the present disclosure may become internal interfaces of the Open RAN, and the processes and information interactions between these internal interfaces may be implemented through software or programs.

[0301] In some embodiments, the access network device can be composed of a centralized unit (central unit, CU) and a distributed unit (distributed unit, DU), where the CU can also be called a control unit (control unit). The CU-DU structure can be used to split the protocol layer of the network device, with the functions of some protocol layers centrally controlled by the CU, and the remaining part or all of the protocol layer functions distributed in the DU, which is centrally controlled by the CU, but is not limited to this.

[0302] In some embodiments, the access network device may be one device, or may be a plurality of devices or a group of devices, including all or part of the first network element, the second network element, etc. The network element may be virtual or physical. The network device may include, for example, at least one of an Evolved Packet Core (EPC), a 5G Core Network (5GCN), and a Next Generation Core (NGC).

[0303] In some embodiments, the core network device may be a device including one or more network elements, or may be a plurality of devices or a group of devices, each including all or part of the one or more network elements. The network element may be virtual or physical. The core network may include, for example, at least one of an Evolved Packet Core (EPC), a 5G Core Network (5GCN), and a Next Generation Core (NGC).

[0304] In some embodiments, the network device 102 may include core network elements, such as at least one of PKMF, DDNMF, UDM, and PCF. Among them, PKMF (ProSe Key Management Function) is a 5G proximity service (ProSe) key management function. DDNMF (Direct Discovery Name Management Function) is a proximity communication service name management function. UDM (Unified Data Management) is a unified data management function responsible for the management of user identification, contract data, authentication data, user service network element registration management, etc. PCF (Policy Control Function) is a policy control function that provides policy rules for network entities.

[0305] It can be understood that the communication system described in the embodiment of the present disclosure is for the purpose of more clearly illustrating the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution proposed in the embodiment of the present disclosure. A person of ordinary skill in the art can know that with the evolution of the system architecture and the emergence of new business scenarios, the technical solution proposed in the embodiment of the present disclosure is also applicable to similar technical problems.

[0306] The following embodiments of the present disclosure can be applied to Figure 1a The communication system 100, or a portion thereof, is shown but is not limited thereto. Figure 1a The various entities shown are examples, and the communication system may include Figure 1a All or part of the subject, and may also include Figure 1a For entities other than the above, the number and form of each entity are arbitrary, and the connection relationship between the entities is an example. The entities may be connected or disconnected, and the connection may be in any manner, which may be direct or indirect, and may be wired or wireless.

[0307] The embodiments of the present disclosure may be applied to Long Term Evolution (LTE), LTE-Advanced (LTE-A), LTE-Beyond (LTE-B), SUPER 3G, IMT-Advanced, 4th generation mobile communication system (4G), 5th generation mobile communication system (5G), 5G new radio (NR), future radio access (FRA), new radio access technology (RAT), new radio (NR), new radio access (NX), future generation radio access (FX), Global System for Mobile communications (GSM (registered trademark)), CDMA2000, Ultra Mobile Broadband (UMB), IEEE 802.11 (Wi-Fi (registered trademark)), IEEE 802.16 (WiMAX (registered trademark)), IEEE 802.20, Ultra-WideBand (UWB), Bluetooth (registered trademark), Public Land Mobile Network (PLMN) network, Device-to-Device (D2D) system, Machine-to-Machine (M2M) system, Internet of Things (IoT) system, Vehicle-to-Everything (V2X), systems using other communication methods, next-generation systems based on them, etc. In addition, multiple systems can also be combined (for example, a combination of LTE or LTE-A and 5G, etc.) for application.

[0308] In order to support the communication between the terminal and the network that is not within the network coverage, the sidelink (SL) communication mode is introduced, also known as proximity-based services (ProSe). Figure 1bAs shown, a terminal may not be directly connected to a base station, but may communicate with the base station through the relay function of another terminal. The communication interface between UEs is a PC5 interface. A UE may not be directly connected to a network device (such as a base station) but may communicate with the network device through the relay of another UE. Among them, a UE that is not connected to a network device is called a remote UE, and a UE that provides a relay function is called a relay UE. The remote UE and the relay UE communicate through a side link. This architecture is called U2N (UE to NW, terminal device to network) relay.

[0309] The discovery security material may be used to protect the announcement messages and request / response messages of the U2N discovery process and the ranging / SL positioning discovery process.

[0310] The single-hop relay discovery, selection, authorization, connection establishment and data transmission of ProSe UE to network relay have been solved. With the development of communication technology, it is necessary to support multi-hop U2N relay on PC5 reference point. Intermediate relay is a ProSe UE located on the path between the remote UE and U2N relay (UE-to-Network Relay), providing the function of supporting 5G ProSe (Proximity-based Services) remote UE to connect to the network.

[0311] In order to realize the new function of multi-hop U2N relay, it is necessary to study how to support the discovery of multi-hop U2N relay. For the model A discovery process, the U2N relay sends a notification message, and the intermediate relay forwards the notification message. Based on the received notification message, the remote UE can select a path for establishing a connection to the network.

[0312] However, there is no relevant security protection scheme to ensure the security of multi-hop U2N relay discovery. Without security protection, attackers can impersonate intermediate relays and publish false information about U2N relays, making it impossible for remote UEs to discover potential U2N relays, resulting in failure to connect to the network. Therefore, security protection of the multi-hop U2N relay discovery process is an issue that needs to be urgently addressed.

[0313] The solution provided by the embodiment of the present disclosure provides a communication method, which can achieve security protection of the multi-hop U2N relay discovery process, prevent attackers from impersonating intermediate relays to publish false information about U2N relays, and ensure that remote UEs can safely discover potential U2N relays through intermediate relays.

[0314] Based on the above wireless communication system, various embodiments of the communication method proposed in the present disclosure are described in detail below.

[0315] Figure 2a FIG. 1 is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure. Figure 2a As shown, the communication method is used in a communication system 100, and the method includes:

[0316] S201. A first relay device sends a first message to a first network node. The first message includes a relay service code (RSC).

[0317] In some embodiments, the role of the first relay device can be similar to the announcing UE (A-UE) in the relay discovery process, and can also be called a declaring UE, or a broadcasting UE, and can also be called a discoveree UE (Discoveree UE, or UE to network relay UE (UE-to-Network Relay UE, U2N relay UE) role.

[0318] In some embodiments, the first network node receives a first message sent by a first relay device.

[0319] In some embodiments, the first message is used to request discovery security material.

[0320] In some embodiments, the first message is used to request discovery security material associated with the RSC. Optionally, the first message is used to request the first network node to provide discovery security material associated with the RSC.

[0321] In some embodiments, RSC represents a relay service code, which can be used to identify the proximity service (ProSe) provided by the 5G ProSe relay, and each ProSe service has a corresponding RSC. Optionally, RSC may include business information, security policies, etc. of the ProSe service.

[0322] In some embodiments, the remote UE and the first relay device establish a PC5 connection through a preconfigured relay service code. It can be understood that the relay service code configured locally by the remote UE is the same as or equal to the relay service code preconfigured locally by the first relay device, or that equivalent information of the two can be obtained through a specific encryption / decryption algorithm, for example: the relay service code of the remote UE and the relay service code of the first relay device correspond to the same application identifier.

[0323] In some embodiments, discovery security material is used to authenticate and / or secure information during the discovery process.

[0324] In some embodiments, the discovery security material may be described as key material or as discovery security parameters.

[0325] In some embodiments, the first message may be a discovery key request message or a relay discovery key request message, but the name of the message is not limited thereto.

[0326] In some embodiments, the names of information, etc. are not limited to the names recorded in the embodiments, and terms such as "information", "message", "signal", "signaling", "report", "configuration", "indication", "instruction", "command", "channel", "parameter", "domain", "field", "symbol", and "data" can be used interchangeably.

[0327] In some embodiments, terms such as "send", "transmit", "report", "send", "transmit", "bidirectional transmission", "send and / or receive" can be used interchangeably.

[0328] In some embodiments, the first network node is a network node corresponding to the first relay device.

[0329] In some embodiments, the first network node may be a network node corresponding to a 5G proximity service (ProSe) key management function (ProSe Key Management Function, PKMF), or a network node corresponding to a proximity communication service name management function (Direct Discovery Name Management Function, DDNMF).

[0330] Optionally, the PKMF or DDNMF is the PKMF or DDNMF corresponding to the first relay device.

[0331] In some embodiments, the first relay device may be a relay device supporting a multi-hop U2N relay service. Optionally, the first relay device may be a U2N relay or an intermediate relay.

[0332] In some embodiments, the first relay device may be a device whose role information is a U2N relay, and the device supports a multi-hop U2N relay service. Optionally, the first relay device may act as a U2N relay and / or an intermediate relay in the multi-hop U2N relay service.

[0333] In some embodiments, the first relay device may also be a device whose role information is an intermediate relay. Optionally, the first relay device may act as an intermediate relay in a multi-hop U2N relay service, that is, responsible for transmitting communication information between a remote UE and a U2N relay.

[0334] In some embodiments, the first message may further include at least one of the following:

[0335] a second ID of a second relay device, the second relay device being authorized to provide a multi-hop U2N relay service;

[0336] role information of the first relay device;

[0337] The first indication information is used to indicate that the first relay device supports the multi-hop U2N service.

[0338] In some embodiments, the first message may also carry a second ID of the second relay device. Optionally, the first message may also carry an information list of second IDs of second relay devices authorized to provide multi-hop U2N relay services.

[0339] In some embodiments, the first network node may determine the second network node corresponding to the second relay device based on the second ID of the second relay device in the first message. Optionally, the second ID may be a home network identifier corresponding to the second relay device, such as an HPLMN ID, based on which the second network node may be corresponding.

[0340] In some embodiments, the first message may also carry role information of the first relay device.

[0341] Optionally, the role of the first relay device is indicated by carrying bit information in the first message. Exemplarily, 1 bit is used to indicate the role of the first relay device, for example: if the bit value is "0", it indicates that the first relay device is a U2N relay, and if the bit value is "1", it indicates that the first relay device is an intermediate relay; or, if the bit value is "1", it indicates that the first relay device is a U2N relay, and if the bit value is "0", it indicates that the first relay device is an intermediate relay, but is not limited thereto.

[0342] Optionally, the role of the first relay device is indicated by carrying an identifier in the first message. Exemplarily, if the identifier is 1, it indicates that the first relay device is a U2N relay; if the identifier is 2, it indicates that the first relay device is an intermediate relay; if the identifier is 3, it indicates that the first relay device is a remote UE, but is not limited thereto.

[0343] In some embodiments, if the role information of the first relay device carried in the first message indicates that the first relay device is a U2N relay, first indication information is also carried to indicate that the U2N relay supports multi-hop U2N services.

[0344] In some embodiments, the first network node may determine the second network node corresponding to the second relay device based on a mapping relationship between a locally configured RSC and the second ID.

[0345] In some embodiments, the names of mapping relationships, etc. are not limited to the names recorded in the embodiments, and terms such as "correspondence, corresponding relationship", "mapping relationship", "binding relationship", and "association relationship" can be interchangeable.

[0346] In some embodiments, the names of determination and the like are not limited to the names described in the embodiments, and the terms such as "identify", "determine", "obtain", and "get" can be interchangeable.

[0347] S202: The first network node sends a fifth message to the second network node in response to the first message.

[0348] In some embodiments, the fifth message includes an RSC, which is the RSC included in the first message.

[0349] In some embodiments, the second network node receives the fifth message sent by the first network node.

[0350] In some embodiments, the fifth message is used to request discovery of security material.

[0351] In some embodiments, the fifth message is used to request discovery security material associated with the RSC. Optionally, the fifth message is used to request the second network node to provide discovery security material associated with the RSC.

[0352] In some embodiments, the discovery security material may be described as key material or as discovery security parameters.

[0353] In some embodiments, the fifth message may be a discovery key request message or a relay discovery key request message, but the name of the message is not limited thereto.

[0354] In some embodiments, the second network node is a network node corresponding to the second relay device.

[0355] In some embodiments, the second network node may be a network node corresponding to a PKMF, or a network node corresponding to a DDNMF). Optionally, the PKMF or DDNMF is a PKMF or DDNMF corresponding to the second relay device.

[0356] In some embodiments, the second relay device may be a potential relay device supporting multi-hop U2N relay service. Optionally, the second relay device may be a potential U2N relay or a potential intermediate relay.

[0357] In some embodiments, if the first message may also carry a second ID of a second relay device, the first network node may send a fifth message to the corresponding second network node based on the second ID.

[0358] In some embodiments, the first network node may determine the corresponding second network node based on the second ID in the first message, and send the fifth message to the corresponding second network node.

[0359] In some embodiments, the first network node may send a fifth message to the corresponding second network node based on the mapping relationship between the RSC and the second ID.

[0360] In some embodiments, the first network node is locally configured with a mapping relationship between the RSC and the second ID.

[0361] In some embodiments, the first network node may determine the second network node corresponding to the second ID based on a mapping relationship between a locally configured RSC and the second ID, and send the fifth message to the second network node.

[0362] S203: The second network node sends a sixth message to the first network node in response to the fifth message.

[0363] In some embodiments, the sixth message includes: second discovery security material related to a second ID of the second relay device.

[0364] In some embodiments, at least one relay device may correspond to a network node. For all relay devices belonging to a network node, their corresponding security materials are the same. Therefore, the corresponding discovery security materials can be obtained based on the ID of the relay device, where the ID of the relay device is used to indicate its corresponding network node.

[0365] Optionally, if the first network node sends a fifth message to at least one second network node, the first network node may receive a sixth message sent by at least one second network node to obtain at least one second discovered security material related to the second ID of the second relay device.

[0366] In some embodiments, the sixth message is a response message to the fifth message. The sixth message may be a discovery key response message or a relay discovery key response message, but the name of the message is not limited thereto.

[0367] S204: The first network node sends a second message to the first relay device in response to the first message, where the second message includes the discovered security material.

[0368] In some embodiments, for the proximity service discovery process, in response to the first message, discovery security material is sent to the first relay device.

[0369] In some embodiments, discovering the security material includes at least one of:

[0370] a first discovered security material associated with the first ID of the first relay device;

[0371] At least one second discovered security material associated with a second ID of the second relay device.

[0372] In some embodiments, the discovery security material includes at least one set of keying material.

[0373] In some embodiments, the first network node may carry multiple sets of key materials in a response message in response to the first message.

[0374] It should be noted that the multiple sets in this embodiment can be understood as more than one set.

[0375] In some embodiments, the second message is a response message to the first message. The second message may be a discovery key response message or a relay discovery key response message, but the name of the message is not limited thereto.

[0376] In some embodiments, if the first message also includes PC5 UE security capabilities, the sixth message also includes: the selected PC5 encryption algorithm, and the second message may also include: PC5 security policy, current time information, maximum offset parameters, etc.

[0377] In some embodiments, the first ID may be a home network identifier corresponding to the first relay device, for example, HPLMNID, and based on the ID, the first network node may be corresponded.

[0378] Based on the above method, the method may further include: the first relay device performs a relay discovery process based on the discovery security material. Specifically, the method may include the following steps:

[0379] S205. The first relay device receives the first notification message broadcast by the second relay device.

[0380] In some embodiments, the first announcement message broadcast by the second relay device is secured based on discovery security material related to the second ID of the second relay device.

[0381] In some embodiments, the first notification message received by the first relay device is secured by discovery security material associated with the second ID of the second relay device. Optionally, the discovery security material associated with the second ID of the second relay device is discovery security material determined by the second relay device based on the second ID and the RSC carried in the fifth message, for example, recorded as discovery security material 1.

[0382] In some embodiments, the announcement message may also be described as a declaration message or an announcement message, but the name of the message is not limited thereto.

[0383] S206: The first relay device verifies the received first notification message.

[0384] In some embodiments, the first relay device verifies the received first announcement message based on the discovery security material determined by the second ID and the RSC.

[0385] In some embodiments, the first relay device determines the discovery security material 1 from the discovery security material obtained in the second message of step S204 based on the second ID and the RSC, and verifies the received first notification message based on the discovery security material 1.

[0386] S207: If the first notification message passes verification, the first relay device broadcasts a second notification message.

[0387] In some embodiments, the second notification message broadcast by the first relay device is protected by discovery security material related to the first ID. Optionally, after the first notification message received by the first relay device is verified, the second notification message can be protected by discovery security material (e.g., discovery security material 2) determined based on RSC and the first ID.

[0388] In some embodiments, if the first hop value obtained based on the first notification message meets the first condition, the first relay device broadcasts the second notification message.

[0389] In some embodiments, the second notification message includes information related to the first relay device. Optionally, the information related to the first relay device may include: a user information ID (User info ID) of the first relay device.

[0390] In some embodiments, the second notification message may also include an RSC and a first hop value.

[0391] In some embodiments, the first relay device may add its user information ID to the received first notification message, and then broadcast a second notification message to which the user information ID of the first relay device is added.

[0392] In some embodiments, the first hop value obtained based on the first notification message may be: the hop value in the first notification message+1.

[0393] In some embodiments, the first hop value satisfying the first condition may include: the first hop value is less than a hop count threshold. Optionally, the hop value+1 in the first notification message is less than the hop count threshold.

[0394] In some embodiments, the hop count threshold may be preset, specified by a protocol, or configured by high-level signaling, but is not limited thereto.

[0395] In some embodiments, if the first hop value obtained based on the first notification message satisfies a first condition, and the information in the first notification message satisfies a second condition, the first relay device broadcasts a second notification message.

[0396] In some embodiments, the information in the first notification message satisfies the second condition, including:

[0397] At least one of the RSC in the first notification message and the related information of the second relay device is not stored in the information entry; or,

[0398] The RSC in the first notification message and the related information of the second relay device are stored in an information entry, and the first hop value is smaller than the second hop value stored in the information entry.

[0399] In some embodiments, if the first hop value satisfies the first condition, and the RSC and / or related information of the second relay device in the first notification message is not stored in the information entry, the first relay device broadcasts the second notification message. Optionally, the first hop value satisfies the first condition may include: the first hop value is less than a hop count threshold.

[0400] In some embodiments, if the first hop value satisfies the first condition, and the RSC in the first notification message and the relevant information of the second relay device are stored in the information entry, and the first hop value is less than the second hop value stored in the information entry, the first relay device broadcasts the second notification message.

[0401] In some embodiments, the second hop value may be less than the hop count threshold.

[0402] In some embodiments, the second notification message includes the RSC, the first hop value, and information related to the first relay device. Optionally, the information related to the first relay device may include a user information ID of the first relay device.

[0403] It should be noted that, in the case where the first relay device maintains the information entry, it may determine whether to broadcast the second notification message based on whether the information in the first notification message satisfies the second condition.

[0404] S208: If the notification message verification passes, the first relay device updates the stored information entry.

[0405] In some embodiments, the first relay device may update the information entry based on the information included in the notification message. Optionally, the information included in the notification message may include: at least one of: RSC, first hop value, and user information ID of the first relay device.

[0406] In some embodiments, the information entry may include: RSC, user information ID of the first relay device, first hop count, source Layer-2 ID of the announcement message, count based on Universal Time Coordinate (UTC), and at least one of the user information ID of the second relay device.

[0407] The method involved in the embodiments of the present disclosure may include at least one of steps S201 to S208. For example, steps S201, S204, S205, and S206 may be implemented as independent embodiments, steps S201, S204, S205, S206, and S207 may be implemented as independent embodiments, steps S201, S204, S205, S206, and S208 may be implemented as independent embodiments, steps S201, S202, S203, S204, S205, and S206 may be implemented as independent embodiments, steps S201, S202, S203, S204, S205, S206, and S207 may be implemented as independent embodiments, and steps S201, S202, S203, S204, S205, S206, and S208 may be implemented as independent embodiments, but are not limited thereto.

[0408] In some embodiments, steps S202 and S203 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0409] In some embodiments, step S207 is optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0410] In some embodiments, step S208 is optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0411] Figure 2b FIG. 1 is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure. Figure 2b As shown, the communication method is used in a communication system 100, and the method includes:

[0412] S211. The terminal sends a third message to a third network node, where the third message includes an RSC.

[0413] In some embodiments, the terminal is a remote terminal of the discovery process.

[0414] Optionally, in the relay discovery process, the terminal may be a discoverer UE.

[0415] In some embodiments, the third network node is a network node corresponding to the terminal.

[0416] In some embodiments, the third network node may be a network node corresponding to the PKMF, or a network node corresponding to the DDNMF. Optionally, the PKMF or the DDNMF is the PKMF or the DDNMF corresponding to the terminal.

[0417] In some embodiments, the third message is used to request discovery of security material.

[0418] In some embodiments, the third message is used to request discovery of security material associated with the RSC.

[0419] In some embodiments, the discovery security material may be described as key material or as discovery security parameters.

[0420] In some embodiments, the third message may be a Relay Discovery Key Request message or a Discovery Key Request message, but the name of the message is not limited thereto.

[0421] In some embodiments, the third message may further include at least one of the following:

[0422] A first ID of the first relay device;

[0423] The second ID of the second relay device.

[0424] In some embodiments, the first network node is a network node corresponding to the first relay device, and the second network node is a network node corresponding to the second relay device.

[0425] In this embodiment, the relevant contents of the first network node and the first relay device can refer to the above Figure 2a The relevant description of step S201 in the above-mentioned step will not be repeated here. Figure 2a The relevant description in step S202 is not repeated here.

[0426] In some embodiments, the third message may include the first ID of the first relay device and / or the second ID of the second relay device. Optionally, the terminal is authorized to use the multi-hop U2N relay service provided by the first relay device and / or the second relay device.

[0427] In some embodiments, when the terminal is authorized to use the multi-hop U2N relay service provided by the first relay device and / or the second relay device, the third message sent by the terminal to the third network node may include: the first ID of the first relay device, and / or, the second ID of the second relay device. Optionally, the terminal may obtain the first ID and the second ID from the PCF.

[0428] Optionally, the third message may include the first ID of the first relay device and the second ID of the second relay device, wherein the terminal is authorized to use the multi-hop U2N relay service provided by the first relay device and the second relay device.

[0429] Optionally, the third message may include the first ID of the first relay device, wherein the terminal is authorized to use the multi-hop U2N relay service provided by the first relay device.

[0430] Optionally, the third message may include the second ID of the second relay device, wherein the terminal is authorized to use the multi-hop U2N relay service provided by the second relay device.

[0431] In some embodiments, the third network node may determine the first network node corresponding to the first relay device based on the first ID of the first relay device in the third message.

[0432] In some embodiments, the third network node may determine the second network node corresponding to the second relay device based on the second ID of the second relay device in the third message.

[0433] In some embodiments, the third network node is configured with at least one of the second mapping relationships:

[0434] The mapping relationship between RSC and the second ID;

[0435] The mapping relationship between the RSC and the first ID.

[0436] In some embodiments, the third network node may determine the corresponding second network node based on a mapping relationship between a locally configured RSC and the second ID.

[0437] In some embodiments, the third network node may determine the corresponding first network node based on a mapping relationship between a locally configured RSC and the first ID.

[0438] S212: The third network node sends a seventh message to the second network node and / or the first network node in response to the third message.

[0439] In some embodiments, the third network node may send a seventh message to the corresponding first network node and / or second network node based on the first ID of the first relay device and / or the second ID of the second relay device included in the third message.

[0440] In some embodiments, the seventh message is used to request the first network node and / or the second network node to provide discovery security material. Optionally, the discovery security material may be a description key material or may be described as a discovery security parameter.

[0441] In some embodiments, the seventh message includes an RSC.

[0442] In some embodiments, the seventh message is used to request the first network node and / or the second network node to provide discovery security material associated with the RSC.

[0443] In some embodiments, the seventh message may be a Relay Discovery Key Request message or a Discovery Key Request message, but the name of the message is not limited thereto.

[0444] In some embodiments, S212 may specifically include S212a: the third network node sends a seventh message to the first network node.

[0445] In some embodiments, the seventh message is used to request the first network node to provide the first discovered security material.

[0446] In some embodiments, the third network node may determine the first network node corresponding to the first relay device based on the first ID of the first relay device included in the third message, and send the seventh message to the first network node.

[0447] In some embodiments, the third network node may determine the corresponding first network node based on a mapping relationship between a locally configured RSC and the first ID, and send the seventh message to the first network node.

[0448] In some embodiments, S212 may specifically include S212b: the third network node sends a seventh message to the second network node.

[0449] In some embodiments, the seventh message is used to request the second network node to provide second discovery security material.

[0450] In some embodiments, the third network node may determine the second network node corresponding to the second relay device based on the second ID of the second relay device included in the third message, and send the seventh message to the second network node.

[0451] In some embodiments, the third network node may determine the corresponding second network node based on the mapping relationship between the locally configured RSC and the second ID, and send the seventh message to the corresponding second network node.

[0452] In some embodiments, the third network node may send a seventh message to the second network node and the first network node.

[0453] In some embodiments, the third network node can determine the first network node corresponding to the first relay device based on the first ID of the first relay device included in the third message, and send the seventh message to it, and determine the second network node corresponding to the second relay device based on the second ID of the second relay device in the third message, and send the seventh message to it.

[0454] In some embodiments, the third network node can determine the corresponding first network node based on the mapping relationship between the locally configured RSC and the first ID, and send the seventh message to it, and determine the corresponding second network node based on the mapping relationship between the locally configured RSC and the second ID, and send the seventh message to it.

[0455] S213. The second network node and / or the first network node sends an eighth message to the third network node in response to the seventh message.

[0456] In some embodiments, the eighth message is a response message to the seventh message. The eighth message may be a discovery key response message or a relay discovery key response message, but the name of the message is not limited thereto.

[0457] S213 may specifically include S213a: the first network node sends an eighth message to the third network node.

[0458] In some embodiments, the eighth message is used to provide the first discovered security material to the third network node.

[0459] In some embodiments, the first network node may determine the corresponding first discovered security material based on the RSC included in the third message, and send an eighth message to the third network node.

[0460] In some embodiments, S213 may specifically include S213b: the second network node sends an eighth message to the third network node.

[0461] In some embodiments, the eighth message is used to provide the second discovered security material to the third network node.

[0462] In some embodiments, the second network node may determine the corresponding second discovered security material based on the RSC included in the third message, and send an eighth message to the third network node.

[0463] In some embodiments, if the third network node sends the seventh message to the second network node and the first network node, the first network node sends the first discovery security material to the third network node, and the second network node sends the second discovery security material to the third network node.

[0464] It should be understood that if there are multiple second network nodes, there are multiple second discovered security materials, where multiple can be understood as more than one.

[0465] S214. The third network node sends a fourth message to the terminal in response to the third message.

[0466] In some embodiments, the fourth message is a response message to the third message. The fourth message may be a discovery key response message or a relay discovery key response message, but the name of the message is not limited thereto.

[0467] In some embodiments, the fourth message includes at least one of the following:

[0468] a first discovered security material associated with the first ID of the first relay device;

[0469] At least one discovery security material related to the second ID of the second relay device.

[0470] In some embodiments, if the third message also includes PC5 UE security capabilities, the eighth message also includes: the selected PC5 encryption algorithm, and the fourth message may also include: PC5 security policy, current time information, maximum offset parameters, etc.

[0471] Based on the above method, the method may further include: the terminal performs a relay discovery process based on the discovery security material. Specifically, the following steps may be included:

[0472] S215. The terminal receives the second notification message broadcast by the first relay device.

[0473] In some embodiments, the terminal may receive a second announcement message broadcast by the first relay device.

[0474] In some embodiments, the terminal may receive a second announcement message broadcast by at least one first relay device.

[0475] In this embodiment, the second notification message is secured by the discovery security material (eg, discovery security material 2) determined by the first relay device based on the RSC and the first ID.

[0476] S216: The terminal verifies the received second notification message.

[0477] In some embodiments, the terminal verifies the received second notification message based on the discovery security material determined by the first ID and the RSC.

[0478] In some embodiments, the terminal determines the discovered security material 2 from the discovered security material obtained in the fourth message of step S214 based on the first ID and the RSC, and verifies the received second notification message based on the discovered security material 2.

[0479] In some embodiments, the terminal may receive a second notification message from a first relay device with a different number of hops, and may select a connection network in the first relay device after the second notification message is verified.

[0480] The method involved in the embodiments of the present disclosure may include at least one of steps S211 to S216. For example, steps S211, S214, S215, and S216 may be implemented as independent embodiments, steps S211, S212a, S213a, S214, S215, and S216 may be implemented as independent embodiments, and steps S211, S212b, S213b, S214, S215, and S216 may be implemented as independent embodiments, but are not limited thereto.

[0481] In some embodiments, steps S212a and S213a are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0482] In some embodiments, steps S212b and S213b are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0483] Figure 3a FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 3a As shown, the communication method can be performed by a first relay device, and the method includes:

[0484] S301. Send a first message to a first network node, where the first message includes an RSC.

[0485] In some embodiments, the first message is used to request the first network node to provide discovery security material.

[0486] The optional implementation of step S301 can be found in Figure 2a Optional implementations of step S201, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0487] In some embodiments, the first network node is a network node corresponding to the first relay device. Optionally, the first network node may be a PKMF or a DDNMF.

[0488] S302: Receive a second message sent by a first network node.

[0489] In some embodiments, the second message includes at least one of:

[0490] a first discovered security material associated with the first ID of the first relay device;

[0491] At least one second discovered security material associated with a second ID of the second relay device.

[0492] The optional implementation of step S302 can be found in Figure 2a Optional implementations of step S204, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0493] In some embodiments, the second discovered security material is obtained by the first network node from the second network node. Optionally, the second network node is a network node corresponding to the second relay device.

[0494] The above optional implementation methods can be found in Figure 2a Optional implementations of steps S202-S203, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0495] S303: Receive a first notification message broadcast by the second relay device.

[0496] In some embodiments, the first announcement message broadcast by the second relay device is secured based on discovery security material related to the second ID of the second relay device.

[0497] The optional implementation of step S303 can be found in Figure 2a Optional implementations of step S205, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0498] S304: Verify the first notification message based on the discovered security material determined by the second ID and the RSC.

[0499] In some embodiments, the first relay device verifies the received first announcement message based on the discovery security material determined by the second ID and the RSC.

[0500] The optional implementation of step S304 can be found in Figure 2a Optional implementations of step S206, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0501] S305: If the first notification message passes verification, broadcast a second notification message.

[0502] In some embodiments, if the first hop value obtained based on the first notification message meets the first condition, the first relay device adds its user information ID to the first notification message to obtain a second notification message for broadcasting.

[0503] Optionally, the first hop value obtained based on the first notification message satisfies the first condition that: the hop value in the first notification message+1 is less than the hop threshold, wherein the first hop value is the hop value in the notification message+1.

[0504] In some embodiments, if the first hop value obtained based on the first notification message satisfies a first condition, and the information in the first notification message satisfies a second condition, the first relay device broadcasts a second notification message.

[0505] Optionally, the information in the first notification message satisfies the second condition, including:

[0506] At least one of the RSC in the first notification message and the related information of the second relay device is not stored in the information entry; or,

[0507] The RSC in the first notification message and the related information of the second relay device are stored in the information entry, and the first hop value is smaller than the second hop value stored in the information entry.

[0508] The optional implementation of step S305 can be found in Figure 2aOptional implementations of step S207, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0509] Based on the above embodiment, the method may further include: if the first notification message passes the verification, updating the stored information entry.

[0510] The above optional implementation methods can be found in Figure 2a Optional implementations of step S208, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0511] The method involved in the embodiment of the present disclosure may include at least one of steps S301 to S305.

[0512] Figure 3b FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 3b As shown, the communication method can be performed by a first relay device, and the method includes:

[0513] S311. Obtain and discover security materials.

[0514] The optional implementation of step S311 can be found in Figure 2a Step S201, Figure 3a Optional implementations of step S301, and Figure 2a , Figure 3a Other related parts in the embodiments involved will not be described in detail here.

[0515] In some embodiments, the first relay device receives the discovery security material sent by the first network node.

[0516] In some embodiments, discovering the security material includes at least one of:

[0517] a first discovered security material corresponding to the first relay device;

[0518] The at least one second relay device corresponds to a second discovered security material.

[0519] In some embodiments, step S311 may include:

[0520] Sending a first message to a first network node, the first message including a relay service code RSC for requesting discovery of security material;

[0521] A second message sent by the first network node is received.

[0522] In some embodiments, the second message includes at least one of:

[0523] a first discovered security material associated with the first ID of the first relay device;

[0524] At least one second discovered security material associated with a second ID of the second relay device.

[0525] The above optional implementation methods can be found in Figure 2a Optional implementations of steps S201 and S204, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0526] In some embodiments, if the first relay device is a first terminal-to-network U2N relay and supports multi-hop U2N relay service, the second discovered security material is obtained by the first network node from the second network node, where the second network node is a network node corresponding to the second relay device.

[0527] In some embodiments, if the first relay device is a first intermediate relay, the second discovered security material is obtained by the first network node from a second network node, wherein the second network node is a network node corresponding to the second relay device.

[0528] In some embodiments, the second relay device includes at least one of the following:

[0529] Second U2N relay;

[0530] Second intermediate relay.

[0531] The above optional implementation methods can be found in Figure 2a Optional implementations of steps S202-S203, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0532] In some embodiments, the first message further includes at least one of the following:

[0533] a second ID of a second relay device, the second relay device being authorized to provide a multi-hop U2N relay service;

[0534] role information of the first relay device;

[0535] The first indication information is used to indicate that the first relay device supports the multi-hop U2N service.

[0536] S312: Execute a relay discovery process based on the discovery security material.

[0537] The optional implementation of step S312 can be found in Figure 2a Optional implementations of step S206, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0538] In some embodiments, a first notification message broadcasted by a second relay device is received, the first notification message being secured by discovery security material associated with a second ID of the second relay device; and the notification message is verified based on the discovery security material determined by the second ID and the RSC.

[0539] In some embodiments, the above method further includes: if the first notification message passes the verification, broadcasting a second notification message.

[0540] Optionally, the second notification message is securely protected by discovery security material associated with the first ID.

[0541] In some embodiments, broadcasting the second announcement message includes:

[0542] If the first hop value obtained based on the first notification message meets the first condition, broadcast a second notification message, where the second notification message includes information related to the first relay device; or,

[0543] If the first hop value satisfies the first condition, and the information in the first notification message satisfies the second condition, the second notification message is broadcast.

[0544] In some embodiments, the information in the first notification message satisfies the second condition, including:

[0545] The relevant information of the RSC and / or the second relay device in the first notification message is not stored in the information entry; or,

[0546] The RSC in the first notification message and the related information of the second relay device are stored in the information entry, and the first hop value is smaller than the second hop value stored in the information entry.

[0547] The above optional implementation methods can be found in Figure 2a Optional implementations of step S207, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0548] In some embodiments, the above method further includes: if the first notification message passes the verification, updating the stored information entry.

[0549] The above optional implementation methods can be found in Figure 2a Optional implementations of step S208, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0550] Figure 4a FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 4a As shown, the method involved in the embodiment of the present disclosure is executed by a terminal, and the method includes:

[0551] S401. Send a third message to a third network node, where the third message includes an RSC.

[0552] In some embodiments, the third message is used to request the third network node to provide discovery security material.

[0553] The optional implementation of step S401 can be found in Figure 2b Optional implementation of step S211, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0554] In some embodiments, the third network node is a network node corresponding to the terminal. Optionally, the third network node may be a PKMF or a DDNMF.

[0555] S402: Receive a fourth message sent by a third network node.

[0556] In some embodiments, the fourth message includes at least one of the following:

[0557] a first discovered security material associated with the first ID of the first relay device;

[0558] At least one second discovered security material associated with a second ID of the second relay device.

[0559] The optional implementation of step S402 can be found in Figure 2b Optional implementations of step S214, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0560] In some embodiments, the first relay device is the device that initiates the discovery process.

[0561] In some embodiments, the second discovered security material is obtained by the third network node from the second network node and / or the first network node. Optionally, the second network node is a network node corresponding to the second relay device. The first network node is a network node corresponding to the first relay device.

[0562] The above optional implementation methods can be found in Figure 2b Optional implementations of steps S212a-S213a, S212b-S213b, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0563] S403: Receive a second notification message broadcast by the first relay device.

[0564] In some embodiments, the second announcement message broadcast by the first relay device is secured based on discovery security material related to the first ID of the first relay device.

[0565] The optional implementation of step S403 can be found in Figure 2b Optional implementations of step S215, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0566] S404: Verify the second notification message based on the discovered security material determined by the first ID and the RSC.

[0567] In some embodiments, the terminal verifies the received second notification message based on the discovery security material determined by the first ID and the RSC.

[0568] The optional implementation of step S404 can be found in Figure 2b Optional implementations of step S216, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0569] Figure 4b FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 4b As shown, the method involved in the embodiment of the present disclosure is executed by a terminal, and the method includes:

[0570] S411. Obtain and discover security materials.

[0571] The optional implementation of step S411 can be found in Figure 2b Step S211, Figure 4a Optional implementations of step S401, and Figure 2b , Figure 4a Other related parts in the embodiments involved will not be described in detail here.

[0572] In some embodiments, the terminal receives the discovery security material sent by the third network node.

[0573] In some embodiments, discovering the security material includes at least one of:

[0574] a first discovered security material corresponding to the first relay device;

[0575] The at least one second relay device corresponds to a second discovered security material.

[0576] In some embodiments, step S411 may include:

[0577] sending a third message to a third network node, the third message including a relay service code RSC for requesting discovery of security material;

[0578] A fourth message sent by the third network node is received.

[0579] In some embodiments, the fourth message includes at least one of the following:

[0580] a first discovered security material associated with the first ID of the first relay device;

[0581] At least one second discovered security material associated with a second ID of the second relay device.

[0582] The above optional implementation methods can be found in Figure 2b Optional implementations of steps S211 and S214, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0583] In some embodiments, the second discovered security material is acquired by the third network node from the first network node, wherein the first network node is a network node corresponding to the first relay device.

[0584] The above optional implementation methods can be found in Figure 2b Optional implementations of steps S212a and S213a, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0585] In some embodiments, the second discovered security material is acquired by the third network node from the second network node, wherein the second network node is a network node corresponding to the second relay device.

[0586] The above optional implementation methods can be found in Figure 2b Optional implementations of steps S212b and S213b, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0587] In some embodiments, the second relay device includes at least one of the following:

[0588] Second U2N relay;

[0589] Second intermediate relay.

[0590] In some embodiments, the third message further includes at least one of the following:

[0591] A first ID of the first relay device;

[0592] The second ID of the second relay device.

[0593] S412: Execute a relay discovery process based on the discovery security material.

[0594] The optional implementation of step S412 can be found in Figure 2b Optional implementations of step S216, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0595] In some embodiments, receiving a second notification message broadcasted by the first relay device, the second notification message being securely protected by discovery security material associated with the first ID of the first relay device;

[0596] verifying the second notification message based on discovery security material determined by the first ID and the RSC;

[0597] Optionally, the first relay device includes at least one of the following:

[0598] The first U2N relay;

[0599] First intermediate relay.

[0600] Figure 5a FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 5a As shown, the method involved in the embodiment of the present disclosure is performed by a first network node, and the method includes:

[0601] S501. Receive a first message sent by a first relay device.

[0602] In some embodiments, the first message comprises a relay service code, RSC, for requesting the first network node to provide discovery security material.

[0603] The optional implementation of step S501 can be found in Figure 2a Step S201, Figure 3a Optional implementations of step S301, and Figure 2a and Figure 3a Other related parts in the embodiments involved will not be described in detail here.

[0604] S502: Send a fifth message to the second network node.

[0605] The optional implementation of step S502 can be found in Figure 2a Optional implementations of step S202, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0606] In some embodiments, the fifth message includes a relay service code, RSC, for requesting the second network node to provide discovery security material.

[0607] In some embodiments, the first network node may send a fifth message to the corresponding second network node based on the second ID in the first message.

[0608] In some embodiments, the first network node may send a fifth message to the corresponding second network node based on a mapping relationship between a locally configured RSC and a second ID.

[0609] S503: Receive a sixth message sent by the second network node.

[0610] The optional implementation of step S503 can be found in Figure 2a Optional implementations of step S203, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0611] In some embodiments, the sixth message is a response message to the fifth message.

[0612] In some embodiments, the sixth message includes: second discovery security material related to a second ID of the second relay device.

[0613] S504: Send a second message to the first relay device.

[0614] The optional implementation of step S504 can be found in Figure 2a Optional implementations of step S204, and Figure 2a Other related parts in the embodiments involved will not be described in detail here.

[0615] In some embodiments, the second message is a response message to the first message.

[0616] In some embodiments, the second message includes at least one of:

[0617] a first discovered security material associated with the first ID of the first relay device;

[0618] At least one second discovered security material associated with a second ID of the second relay device.

[0619] The method involved in the embodiment of the present disclosure may include at least one of step S501 to step S504. For example, step S501 and step S504 may be implemented as independent embodiments, but are not limited thereto.

[0620] In some embodiments, steps S502 and S503 are optional, and one or more of these steps may be omitted or replaced in different embodiments.

[0621] Figure 5b FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 5bAs shown, the method involved in the embodiment of the present disclosure is performed by a first network node, and the method includes:

[0622] S511. Receive a first message sent by a first relay device.

[0623] In some embodiments, the first message comprises a relay service code, RSC, for requesting the first network node to provide discovery security material.

[0624] The optional implementation of step S511 can be found in Figure 2a Step S201, Figure 3a Optional implementations of step S301, and Figure 2a and Figure 3a Other related parts in the embodiments involved will not be described in detail here.

[0625] S512: Send a second message to the first relay device.

[0626] The optional implementation of step S512 can be found in Figure 2a Step S204, Figure 3a Optional implementations of step S302, and Figure 2a and Figure 3a Other related parts in the embodiments involved will not be described in detail here.

[0627] In some embodiments, the second message is a response message to the first message.

[0628] In some embodiments, the second message includes at least one of:

[0629] a first discovered security material associated with the first ID of the first relay device;

[0630] At least one second discovered security material associated with a second ID of the second relay device.

[0631] S513: Receive a seventh message sent by the third network node.

[0632] In some embodiments, the seventh message comprises a relay service code, RSC, for requesting the first network node to provide discovery security material.

[0633] The optional implementation of step S513 can be found in Figure 2b Optional implementations of step S212a, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0634] S514. Send an eighth message to the third network node.

[0635] The optional implementation of step S514 can be found in Figure 2bOptional implementation of step S213a, and Figure 2b Other related parts in the embodiments involved will not be described in detail here.

[0636] In some embodiments, the eighth message is a response message to the seventh message.

[0637] In some embodiments, the eighth message includes first discovery security material related to the first ID of the first relay device.

[0638] In some embodiments, before step S512, the following may also be included: Figure 5a Steps S502 and S503 in .

[0639] Figure 5c FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 5c As shown, the method involved in the embodiment of the present disclosure is performed by a first network node, and the method includes:

[0640] S521. Receive a first message sent by a first relay device.

[0641] In some embodiments, the first message comprises a relay service code, RSC, for requesting the first network node to provide discovery security material.

[0642] The optional implementation of step S521 can be found in Figure 2a Step S201, Figure 3a Optional implementations of step S301, and Figure 2a and Figure 3a Other related parts in the embodiments involved will not be described in detail here.

[0643] S522: Send a second message to the first relay device.

[0644] The optional implementation of step S522 can be found in Figure 2a Step S204, Figure 3a Optional implementations of step S302, and Figure 2a and Figure 3a Other related parts in the embodiments involved will not be described in detail here.

[0645] In some embodiments, the second message is a response message to the first message.

[0646] In some embodiments, the second message includes at least one of:

[0647] a first discovered security material associated with the first ID of the first relay device;

[0648] At least one second discovered security material associated with a second ID of the second relay device.

[0649] In some embodiments, before step S522, the following steps may also be included:

[0650] sending a fifth message to the second network node, the fifth message including the RSC, for requesting the discovery of the security material;

[0651] A sixth message sent by the second network node is received, where the sixth message includes: a second discovery security material related to a second ID of the second relay device.

[0652] Optionally, the second network node is a network node corresponding to the second relay device.

[0653] In some embodiments, the second relay device includes at least one of the following:

[0654] Second U2N relay;

[0655] Second intermediate relay.

[0656] In some embodiments, the first message further includes at least one of the following:

[0657] a second ID of the second relay device, the second relay device being authorized to provide a multi-hop U2N relay service;

[0658] role information of the first relay device;

[0659] The first indication information is used to indicate that the first relay device supports multi-hop U2N service.

[0660] In some embodiments, if the first message includes the second ID of the second relay device, then sending the fifth message to the second network node includes: sending the fifth message to the corresponding second network node based on the second ID.

[0661] In some embodiments, sending the fifth message to the second network node includes: sending the fifth message to the second network node based on the first mapping relationship.

[0662] Optionally, the first mapping relationship is a mapping relationship between the RSC and the second ID.

[0663] In some embodiments, the first mapping relationship is locally configured by the first network node.

[0664] The above optional implementation methods can be found in Figure 2a Steps S202, S203, Figure 5a Optional implementations of steps S502 and S503, and Figure 2a and Figure 5aOther related parts in the embodiments involved will not be described in detail here.

[0665] In some embodiments, the above method may further include:

[0666] receiving a seventh message sent by a third network node, wherein the seventh message includes the RSC and is used to request the discovery of the security material;

[0667] An eighth message is sent to the third network node.

[0668] Optionally, the eighth message includes at least one of the following:

[0669] a first discovered security material related to the first ID of the first relay device;

[0670] a second discovered security material associated with a second ID of the second relay device;

[0671] Optionally, the third network node is a network node corresponding to the terminal.

[0672] The above optional implementation methods can be found in Figure 2b Steps S212a, S213a Figure 5b Optional implementations of steps S513 and S514, and Figure 2b and Figure 5b Other related parts in the embodiments involved will not be described in detail here.

[0673] Figure 6a FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 6a As shown, the method involved in the embodiment of the present disclosure is performed by a third network node, and the method includes:

[0674] S601. Receive a third message sent by a terminal, where the third message includes an RSC.

[0675] In some embodiments, the third message is used to request the third network node to provide discovery security material.

[0676] The optional implementation of step S601 can be found in Figure 2b Step S211, Figure 4a Optional implementations of step S401, and Figure 2b and Figure 4a Other related parts in the embodiments involved will not be described in detail here.

[0677] S602: Send a seventh message to the second network node and / or the first network node.

[0678] In some embodiments, the seventh message comprises a relay service code, RSC, for requesting the first network node to provide discovery security material.

[0679] The optional implementation of step S602 can be found in Figure 2b Steps S212a, S212b, Figure 5b Optional implementations of step S513, and Figure 2b and Figure 5b Other related parts in the embodiments involved will not be described in detail here.

[0680] S603: Receive an eighth message sent by the second network node and / or the first network node.

[0681] In some embodiments, the eighth message is a response message to the seventh message.

[0682] In some embodiments, the eighth message includes at least one of the following:

[0683] a first discovered security material associated with the first ID of the first relay device;

[0684] At least one second discovered security material associated with a second ID of the second relay device.

[0685] The optional implementation of step S603 can be found in Figure 2b Steps S213a, S213b, Figure 5b Optional implementations of step S514, and Figure 2b and Figure 5b Other related parts in the embodiments involved will not be described in detail here.

[0686] S604: Send a fourth message to the terminal.

[0687] In some embodiments, the fourth message is a response message to the third message.

[0688] In some embodiments, the fourth message includes at least one of the following:

[0689] a first discovered security material associated with the first ID of the first relay device;

[0690] At least one second discovered security material associated with a second ID of the second relay device.

[0691] The optional implementation of step S601 can be found in Figure 2b Step S214, Figure 4a Optional implementations of step S402, and Figure 2b and Figure 4a Other related parts in the embodiments involved will not be described in detail here.

[0692] Figure 6b FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 6b As shown, the method involved in the embodiment of the present disclosure is performed by a third network node, and the method includes:

[0693] S611. Receive a third message sent by a terminal, where the third message includes an RSC.

[0694] In some embodiments, the third message is used to request the third network node to provide discovery security material.

[0695] The optional implementation of step S601 can be found in Figure 2b Step S211, Figure 4a Optional implementations of step S401, and Figure 2b and Figure 4a Other related parts in the embodiments involved will not be described in detail here.

[0696] S612: Send a fourth message to the terminal.

[0697] In some embodiments, the fourth message is a response message to the third message.

[0698] In some embodiments, the fourth message includes at least one of the following:

[0699] a first discovered security material associated with the first ID of the first relay device;

[0700] At least one second discovered security material associated with a second ID of the second relay device.

[0701] In some embodiments, before S612, the method may further include: sending a seventh message to the second network node and / or the first network node, the seventh message including the RSC, for requesting the discovery of the security material;

[0702] receiving an eighth message sent by the second network node and / or the first network node, where the eighth message includes at least one of the following:

[0703] a first discovered security material related to the first ID of the first relay device;

[0704] A second discovered security material related to the second ID of the second relay device.

[0705] In some embodiments, the first network node is a network node corresponding to the first relay device, and the second network node is a network node corresponding to the second relay device.

[0706] In some embodiments, the second relay device includes at least one of the following:

[0707] Second U2N relay;

[0708] Second intermediate relay.

[0709] In some embodiments, the third message further includes at least one of the following:

[0710] A first ID of the first relay device;

[0711] The second ID of the second relay device.

[0712] In some embodiments, sending the seventh message to the second network node and / or the first network node includes at least one of the following:

[0713] Based on the first ID, sending the seventh message to the corresponding first network node;

[0714] Based on the second ID, the seventh message is sent to the corresponding second network node.

[0715] In some embodiments, sending the seventh message to the second network node and / or the first network node includes:

[0716] Based on the second mapping relationship, sending the seventh message to the second network node and / or the first network node;

[0717] The second mapping relationship includes at least one of the following:

[0718] A mapping relationship between the RSC and the second ID;

[0719] A mapping relationship between the RSC and the first ID.

[0720] In some embodiments, the second mapping relationship is locally configured by the third network node.

[0721] The above optional implementation methods can be found in Figure 2b Steps S212a, S213a, S212b, S213b, Figure 5b Steps S513, S514, Figure 6a Optional implementations of steps S602 and S603, and Figure 2b and Figure 5b , Figure 6a Other related parts in the embodiments involved will not be described in detail here.

[0722] Figure 7 FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 7 As shown, the method involved in the embodiment of the present disclosure is performed by the second network node, and the method includes:

[0723] S701. Receive a fifth message sent by a first network node.

[0724] The optional implementation of step S701 can be found in Figure 2a Step S202, Figure 5a Optional implementations of step 502, and Figure 2a , Figure 5a Other related parts in the embodiments involved will not be described in detail here.

[0725] In some embodiments, the fifth message includes a relay service code, RSC, for requesting the second network node to provide discovery security material.

[0726] In some embodiments, the first network node may send a fifth message to the corresponding second network node based on the second ID in the first message.

[0727] In some embodiments, the first network node may send a fifth message to the corresponding second network node based on a mapping relationship between a locally configured RSC and a second ID.

[0728] S702. Send a sixth message to the first network node.

[0729] The optional implementation of step S702 can be found in Figure 2a Step S203, Figure 5a Optional implementations of step 503, and Figure 2a , Figure 5a Other related parts in the embodiments involved will not be described in detail here.

[0730] In some embodiments, the sixth message is a response message to the fifth message.

[0731] In some embodiments, the sixth message includes: second discovery security material related to a second ID of the second relay device.

[0732] On the basis of the above embodiments, the following may also be included:

[0733] S703: Receive a seventh message sent by the third network node.

[0734] S704. Send an eighth message to the third network node.

[0735] The above optional implementation methods can be found in Figure 2b Steps S212b, S213b, Figure 6a Optional implementations of steps S602 and S603, and Figure 2b and Figure 6a Other related parts in the embodiments involved will not be described in detail here.

[0736] Figure 8a FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 8a As shown, the method involved in the embodiment of the present disclosure is used in a communication system 100, and the method includes:

[0737] S801. A first relay device sends a first message to a first network node, where the first message includes an RSC.

[0738] The optional implementation of step S801 can be found in Figure 2a Step S201, Figure 3a Step S302, Figure 5a Step S501, Figure 5b Optional implementations of step S511, and Figure 2a and Figure 3a , Figure 5a , Figure 5b Other related parts in the embodiments involved will not be described in detail here.

[0739] S802: The first network node sends a second message to the first relay device in response to the first message, where the second message includes discovered security material.

[0740] The optional implementation of step S802 can be found in Figure 2a Steps S202 to S204, Figure 3a Step S302, Figure 5a Step S502, Figure 5b Optional implementations of step S512, and Figure 2a and Figure 3a , Figure 5a , Figure 5b Other related parts in the embodiments involved will not be described in detail here.

[0741] S803: The first relay device performs a relay discovery process based on the discovery security material.

[0742] The optional implementation of step S803 can be found in Figure 2a Steps S205 to S208, Figure 3a The optional implementation methods involved in steps S303 to S305, and Figure 2a and Figure 3a Other related parts in the embodiments involved will not be described in detail here.

[0743] Figure 8b FIG. 1 is a flow chart of a communication method according to an embodiment of the present disclosure. Figure 8b As shown, the method involved in the embodiment of the present disclosure is used in a communication system 100, and the method includes:

[0744] S811. The terminal sends a third message to a third network node, where the third message includes an RSC.

[0745] The optional implementation of step S811 can be found in Figure 2b Step S211, Figure 4a Optional implementations of step S401, and Figure 2b and Figure 4a Other related parts in the embodiments involved will not be described in detail here.

[0746] S812: The third network node sends a fourth message to the terminal in response to the third message, where the fourth message includes discovered security material.

[0747] The optional implementation of step S812 can be found in Figure 2b Steps S212a to S214, Figure 4a Optional implementations of step S402, and Figure 2b and Figure 4a Other related parts in the embodiments involved will not be described in detail here.

[0748] S813: The first relay device performs a relay discovery process based on the discovery security material.

[0749] The optional implementation of step S813 can be found in Figure 2b Steps S215 to S216, Figure 4a The optional implementation methods involved in steps S403 to S404, and Figure 2b and Figure 4a Other related parts in the embodiments involved will not be described in detail here.

[0750] In some embodiments, the above method may include the method described in the above embodiments of the communication system side, terminal side, network equipment side, core network equipment side, etc., which will not be repeated here.

[0751] The present disclosure also provides an optional implementation scheme, such as Fig. 9 As shown, the following steps are included:

[0752] In some embodiments, step S901 is related to the U2N relay (which may correspond to the first relay device or the second relay device mentioned above), and may include the following steps:

[0753] S901a. The 5G ProSe U2N relay sends a relay discovery key request message.

[0754] Optionally, the relay discovery key request message includes a relay service code (RSC) and PC5 security capabilities of the 5G ProSe U2N relay.

[0755] S901b, the 5G DDNMF / PKMF of the U2N relay (which may correspond to the first network node or the second network node mentioned above) may interact with the unified data management function (UDM) to check whether the U2N relay is authorized to provide U2N relay services.

[0756] Optionally, if the U2N relay is authorized, the 5G DDNMF / PKMF of the U2N relay will return the local public land mobile network (Home PLMN, HPLMN) ID (which may correspond to the first ID or the second ID mentioned above), discovery security material (which may correspond to the first discovery security material or the second discovery security material mentioned above), the selected PC5 encryption algorithm, PC5 security policy, and the current time (CURRENT_TIME) and maximum offset (MAX_OFFSET) parameters.

[0757] It should be noted that if the U2N relay can also play the role of an intermediate relay, the U2N relay can correspond to the first relay device mentioned above. In this case, the second relay device can be other potential U2N relays and / or other potential intermediate relays. If the U2N relay can only play the role of a U2N relay and cannot play the role of an intermediate relay, that is, the intermediate relay can correspond to the first relay device mentioned above, and the U2N relay corresponds to the second relay device mentioned above. In this case, the second relay device can be a potential U2N relay (that is, the U2N relay or other potential U2N relay), and / or, other potential intermediate relays. Whether a U2N relay device can play the role of an intermediate relay, or the role of a U2N relay, or the role of an intermediate relay and a U2N relay is indicated by the authorization information or role information of the device.

[0758] Optionally, if the U2N relay supports multi-hop services, the 5G DDNMF / PKMF may return a PLMN ID and a discovery security material pair (i.e., one PLMN ID corresponds to one discovery security material). Optionally, the PLMN ID (which may correspond to the second ID mentioned above) and the discovery security material (which may correspond to the second discovery security material mentioned above) pair may be received from the 5G DDNMF / PKMF (which may correspond to the second network node mentioned above) of other potential U2N relays or potential intermediate relays associated with the RSC. Among them, the potential U2N relay or potential intermediate relay may correspond to the second relay device mentioned above.

[0759] It should be noted that in step S901b, the 5G DDNMF / PKMF of the U2N relay can return the PLMN ID and the discovered security material pair to the U2N relay by sending a relay discovery key response message.

[0760] In some embodiments, step S902 is related to an intermediate relay (which may correspond to the first relay device mentioned above), and may include at least one of the following steps:

[0761] S902a. The intermediate relay sends a relay discovery key request message (which may correspond to the first message mentioned above).

[0762] Optionally, the relay discovery key request message includes the RSC, the PC5 security capability of the intermediate relay, and a list of PLMN IDs (which may correspond to the second ID of the second relay device mentioned above) that are authorized to provide multi-hop U2N relay services.

[0763] Optionally, the relay discovery key request message may further include: role information of the intermediate relay, or indication information of providing multi-hop U2N relay service (which may correspond to the first indication information mentioned above).

[0764] S902b. The 5G DDNMF / PKMF of the intermediate relay (which may correspond to the first network node mentioned above) may interact with the UDM to check whether the intermediate relay is authorized as an intermediate relay.

[0765] Optionally, if authorized as an intermediate relay, its 5G DDNMF / PKMF generates discovery security material (which may correspond to the first discovery security material mentioned above) associated with the HPLMN ID of the intermediate relay (which may correspond to the first ID mentioned above), and based on the PLMN ID provided in step S902a, sends a relay discovery key request message (which may correspond to the fifth message mentioned above) to the 5G DDNMF / PKMF (which may correspond to the second network node mentioned above) of the potential U2N relay or other potential intermediate relay (which may correspond to the second relay device mentioned above).

[0766] Optionally, if authorized as an intermediate relay, its 5G DDNMF / PKMF can send a relay discovery key request message to the 5G DDNMF / PKMF of the potential U2N relay based on the locally configured mapping relationship between HPLMNID and RSC (which can correspond to the first mapping relationship mentioned above).

[0767] Optionally, if authorized as an intermediate relay, its 5G DDNMF / PKMF can send a relay discovery key request message to the 5G DDNMF / PKMF of other potential intermediate relays based on the mapping relationship between the locally configured HPLMNID and RSC.

[0768] S902c. If the PC5 UE security capabilities in step S902a include the selected PC5 encryption algorithm, the 5GDDNMF / PKMF returns the RSC, the corresponding discovered security material, the PLMN ID and the selected PC5 encryption algorithm.

[0769] S902d. The 5G DDNMF / PKMF of the intermediate relay returns the HPLMN ID and discovery security material pair associated with the HPLMN ID of the intermediate relay, the PLMN ID and discovery security material pair, the PC5 security policy, and the TIME and MAX_OFFSET parameters received from the potential U2N relay or the potential intermediate relay's 5G DDNMF / PKMF associated with the PLMN ID.

[0770] Optionally, the 5G DDNMF / PKMF may obtain the HPLMN ID of a potential 5G ProSe U2N relay or a potential intermediate relay in different ways (e.g., from a Policy Control Function (PCF) or based on local configuration).

[0771] It should be noted that in step S902d, the 5G DDNMF / PKMF of the intermediate relay can return the PLMN ID and the discovered security material pair to the U2N relay by sending a relay discovery key response message (which can correspond to the second message above).

[0772] Step S903 is related to the remote UE and may include at least one of the following steps:

[0773] S903a. The remote UE (which may correspond to the terminal mentioned above) sends a relay discovery key request message (which may correspond to the third message mentioned above).

[0774] Optionally, the relay discovery key request message includes the RSC, the PC5 security capability of the remote UE, and a list of PLMN IDs (which may correspond to the first ID and / or the second ID mentioned above) of which the UE is authorized to use the multi-hop U2N relay service.

[0775] S903b. The 5G DDNMF / PKMF of the remote UE (which may correspond to the third network node mentioned above) may interact with the UDM to check whether the UE is authorized to use the multi-hop U2N relay service.

[0776] Optionally, if the UE is authorized, its 5G DDNMF / PKMF sends a relay discovery key request message (which may correspond to the seventh message above) to the 5G DDNMF / PKMF of the potential U2N relay and the potential intermediate relay (which may correspond to the first relay device and / or the second relay device above) based on the PLMN ID provided in step S903a.

[0777] Optionally, if the UE is authorized, its 5G DDNMF / PKMF may send a relay discovery key request message to the 5G DDNMF / PKMF of the potential U2N relay based on the mapping relationship between the locally configured HPLMN ID and the RSC (which may correspond to the second mapping relationship mentioned above).

[0778] Optionally, if the UE is authorized, its 5G DDNMF / PKMF can send a relay discovery key request message to the 5G DDNMF / PKMF of other potential intermediate relays based on the mapping relationship between the locally configured HPLMN ID and the RSC (which can correspond to the second mapping relationship above).

[0779] S903c. If the PC5 UE security capabilities in step S903a include the selected PC5 encryption algorithm, the 5G DDNMF / PKMF of the potential U2N relay or the potential intermediate relay returns the RSC, the corresponding discovery security material, the PLMN ID and the selected PC5 encryption algorithm.

[0780] S903d. The 5G DDNMF / PKMF of the remote UE returns the discovery security material, the associated PLMN ID, the PC5 security policy, and the CURRENT_TIME and MAX_OFFSET parameters received from the 5G DDNMF / PKMF of the potential U2N relay or the potential intermediate relay.

[0781] S904. The U2N relay (which may correspond to the second relay device mentioned above) broadcasts a notification message (which may correspond to the first notification message mentioned above).

[0782] Optionally, the notification message includes the RSC, the number of hops, and the user information ID of the U2N relay.

[0783] Optionally, the notification message is protected by discovery security material associated with the HPLMN ID of the RSC and U2N relay.

[0784] Optionally, the notification message also includes a PLMN ID in plain text (ie, the HPLMN ID of the U2N relay).

[0785] Optionally, the notification message may also be described as an announcement message or a solicitation message (solicitation message). This embodiment does not limit this.

[0786] S905. The intermediate relay (which may correspond to the first relay device mentioned above) verifies the notification message (which may correspond to the first notification message mentioned above) by using the discovery security material associated with the PLMN ID of the RSC and the U2N relay.

[0787] In some embodiments, if the notification message verification passes, then when the hop count + 1 in the notification message (which may correspond to the first hop value mentioned above) is less than the hop count threshold (Hop Limit) and the notification message satisfies the first principle, the intermediate relay will further broadcast the notification message (which may correspond to the second notification message mentioned above).

[0788] Optionally, the notification message includes: RSC, hop count+1, user information ID (User info ID) of the U2N relay, and User info ID of the intermediate relay.

[0789] Optionally, the first principle mentioned above includes: the user information of the RSC and / or U2N relay in the notification message received by the intermediate relay is not stored in the information entry; or, the user information of the RSC and U2N relay in the notification message received by the intermediate relay is stored in the information entry, but the hop count + 1 is less than the stored hop value (which may correspond to the second hop value in the above text).

[0790] In some embodiments, intermediate relays may update stored information entries.

[0791] Optionally, the information items include RSC, user information of the U2N relay, user message of the intermediate relay (optional), hop value, source Layer-2 ID of the notification message, and a UTC-based counter.

[0792] In some embodiments, if the announcement message verification passes, then when the hop count + 1 (which may correspond to the first hop value mentioned above) in the announcement message is less than the hop count threshold (Hop Limit), the intermediate relay further broadcasts the announcement message by adding additional information related to the intermediate relay.

[0793] Optionally, the additional information related to the intermediate relay may be the user information ID of the intermediate relay. Optionally, the intermediate relay may be a relay device corresponding to each hop in the discovery process, or a relay device corresponding to the current hop, or a relay device corresponding to the current hop and the final hop, but is not limited thereto.

[0794] In some embodiments, the intermediate relay may add the user information ID of the intermediate relay to the received notification message, and broadcast the notification message to which the user information ID of the intermediate relay is added (which may correspond to the second notification message mentioned above).

[0795] In some embodiments, the above-mentioned announcement message is protected by discovery security material associated with the HPLMN ID of the RSC and the intermediate relay.

[0796] In some embodiments, the notification message further includes a PLMN ID in plain text (ie, the HPLMN ID of the intermediate relay).

[0797] In some embodiments, if the notification message fails verification, the intermediate relay may discard the notification message.

[0798] In some embodiments, the remote UE may receive the announcement message from different intermediate relays with different hop counts. The remote UE may select one of the intermediate relays after verification.

[0799] Fig.10a Schematic diagram of the structure of the relay device proposed in the embodiment of the present disclosure. Fig.10a As shown, the relay device may include: at least one of a first transceiver module 1011, a first processing module 1012, etc.

[0800] In some embodiments, the first transceiver module 1011 is used to obtain discovery security materials; the first processing module 1012 is used to perform a relay discovery process based on the discovery security materials. The discovery security materials include at least one of the following:

[0801] a first discovered security material corresponding to the first relay device;

[0802] The at least one second relay device corresponds to a second discovered security material.

[0803] Optionally, the first transceiver module 1011 is used to execute steps related to sending and receiving signaling performed by the first relay device in any of the above methods, for example: Figure 2a Steps S201, S204, S205, S207, Figure 2b At least one of the steps S215 shown in will not be repeated here.

[0804] Optionally, the first processing module 1012 is used to execute the steps related to performing a relay discovery process based on discovering security materials, which are performed by the first relay device in any of the above methods, for example: Figure 2a At least one of steps S206 and S208 shown in will not be described in detail here.

[0805] Fig.10bSchematic diagram of the structure of the terminal proposed in the embodiment of the present disclosure. Fig.10b As shown, the terminal includes: at least one of a second transceiver module 1021, a second processing module 1022, etc.

[0806] In some embodiments, the second transceiver module 1021 is used to obtain discovery security materials; the second processing module 1022 is used to perform a relay discovery process based on the discovery security materials. The discovery security materials include at least one of the following:

[0807] a first discovered security material corresponding to the first relay device;

[0808] The at least one second relay device corresponds to a second discovered security material.

[0809] Optionally, the second transceiver module 1021 is used to execute steps related to sending and receiving signaling performed by the terminal in any of the above methods, for example: Figure 2b At least one of steps S211, S214, and S215 shown in will not be repeated here.

[0810] Optionally, the second processing module 1022 is used to execute the steps related to performing a relay discovery process based on discovering security materials, which are performed by the first relay device in any of the above methods, for example: Figure 2b Step S216 shown in FIG. 1 is not described in detail here.

[0811] Fig.10c is a schematic diagram of the structure of the first network node proposed in the embodiment of the present disclosure. Fig.10c As shown, the first network node may include: at least one of a third transceiver module 1031, a third processing module 1032, etc.

[0812] In some embodiments, the third transceiver module 1031 is used to receive a first message sent by a first relay device, the first message including a relay service code RSC for requesting to discover security materials; and send a second message to the first relay device, the second message including at least one of the following:

[0813] a first discovered security material related to the first ID of the first relay device;

[0814] At least one second discovered security material related to the second ID of the second relay device.

[0815] Optionally, the third transceiver module 1031 is used to execute steps related to signaling transmission and reception performed by the first network node in any of the above methods, for example: Figure 2a Steps S201 to S204 shown in Figure 2bAt least one of steps S212a and S213a shown in will not be repeated here.

[0816] Fig.10d is a schematic diagram of the structure of the third network node proposed in the embodiment of the present disclosure. Fig.10d As shown, the third network node may include: at least one of a fourth transceiver module 1041, a fourth processing module 1042, etc.

[0817] In some embodiments, the fourth transceiver module 1041 is used to receive a third message sent by a terminal, the third message including a relay service code RSC for requesting to discover security materials; and send a fourth message to the terminal, the fourth message including at least one of the following:

[0818] a first discovered security material associated with the first ID of the first relay device;

[0819] At least one discovery security material related to the second ID of the second relay device.

[0820] Optionally, the fourth transceiver module 1041 is used to execute steps related to signaling transmission and reception performed by the third network node in any of the above methods, for example: Figure 2b At least one of steps S211 to 214 shown in FIG. 2 is not described in detail here.

[0821] Fig.10e is a schematic diagram of the structure of the second network node proposed in the embodiment of the present disclosure. Fig.10e As shown, the second network node may include: at least one of a fifth transceiver module 1051, a fifth processing module 1052, etc.

[0822] In some embodiments, the fifth transceiver module 1051 is used to receive a fifth message sent by the first network node, the fifth message including RSC, used to request the discovery of security materials; a sixth message sent to the first network node, the sixth message including: second discovered security materials related to the second ID of the second relay device; wherein the first network node is a network node corresponding to the first relay device.

[0823] Optionally, the fifth transceiver module 1051 is used to execute steps related to signaling transmission and reception performed by the second network node in any of the above methods, for example: Figure 2a Steps S202, S203, Figure 2b At least one of steps S212b and S213b shown in will not be repeated here.

[0824] It should be understood that the division of the units or modules in the above device is only a division of logical functions, and in actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. In addition, the units or modules in the device can be implemented in the form of a processor calling software: for example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or implement the functions of the units or modules of the above device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory inside the device or a memory outside the device. Alternatively, the units or modules in the device may be implemented in the form of hardware circuits, and the functions of some or all of the units or modules may be realized by designing the hardware circuits. The above hardware circuits may be understood as one or more processors. For example, in one implementation, the above hardware circuit is an application-specific integrated circuit (ASIC), and the functions of some or all of the above units or modules are realized by designing the logical relationship of components within the circuit. For another example, in another implementation, the above hardware circuit may be realized by a programmable logic device (PLD). Taking a field programmable gate array (FPGA) as an example, it may include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by a configuration file, thereby realizing the functions of some or all of the above units or modules.

[0825] All units or modules of the above devices can be implemented in the form of software called by the processor, or in the form of hardware circuits, or partially in the form of software called by the processor, and the remaining part in the form of hardware circuits. In the embodiment of the present disclosure, the processor is a circuit with signal processing capability. In one implementation, the processor can be a circuit with instruction reading and running capability, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP); in another implementation, the processor can implement certain functions through the logical relationship of the hardware circuit, and the logical relationship of the above hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by a processor as an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units or modules. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.

[0826] Fig.11a 1 is a schematic diagram of the structure of the communication device 1100 proposed in the embodiment of the present disclosure. The communication device 1100 may be a network node (such as the first network node, the second network node, the third network node, etc. mentioned above), or a terminal (such as a user equipment, etc.), or a chip, a chip system, or a processor that supports the network device to implement any of the above methods, or a chip, a chip system, or a processor that supports the terminal to implement any of the above methods. The communication device 1100 may be used to implement the method described in the above method embodiment, and the details may refer to the description in the above method embodiment.

[0827] like Fig.11aAs shown, the communication device 1100 includes one or more processors 1101. The processor 1101 may be a general-purpose processor or a dedicated processor, for example, a baseband processor or a central processing unit. The baseband processor may be used to process the communication protocol and the communication data, and the central processing unit may be used to control the communication device (such as a base station, a baseband chip, a terminal device, a terminal device chip, a DU or a CU, etc.), execute a program, and process the data of the program. The processor 1101 is used to call instructions so that the communication device 1100 executes any of the above methods.

[0828] In some embodiments, the communication device 1100 further includes one or more transceivers 1102. When the communication device 1100 includes one or more transceivers 1102, the transceiver 1102 performs the communication steps such as sending and / or receiving in the above method (for example, Figure 2a Steps S201 to S205, S207, Figure 2b At least one of the steps S211 to S215 shown in (but not limited to) is executed, the processor 1101 executes other steps (for example, Figure 2a Steps S206, S208, Figure 2b In an optional embodiment, the transceiver may include a receiver and / or a transmitter, and the receiver and the transmitter may be separate or integrated. Optionally, the terms such as transceiver, transceiver unit, transceiver, transceiver circuit, interface circuit, interface, etc. may be replaced with each other, the terms such as transmitter, transmission unit, transmitter, transmission circuit, etc. may be replaced with each other, and the terms such as receiver, receiving unit, receiver, receiving circuit, etc. may be replaced with each other.

[0829] In some embodiments, the communication device 1100 further includes one or more memories 1102 for storing instructions. Optionally, all or part of the memory 1102 may also be outside the communication device 1100.

[0830] In some embodiments, the communication device 1100 further includes one or more transceivers 1103. When the communication device 1100 includes one or more transceivers 1103, the communication steps such as sending and receiving in the above method are executed by the transceiver 1103, and the other steps are executed by the processor 1101.

[0831] In some embodiments, the transceiver may include a receiver and a transmitter, and the receiver and the transmitter may be separate or integrated. Optionally, the terms such as transceiver, transceiver unit, transceiver, transceiver circuit, etc. may be replaced with each other, the terms such as transmitter, transmission unit, transmitter, transmission circuit, etc. may be replaced with each other, and the terms such as receiver, receiving unit, receiver, receiving circuit, etc. may be replaced with each other.

[0832] Optionally, the communication device 1100 further includes one or more interface circuits 1104, which are connected to the memory 1102. The interface circuit 1104 can be used to receive signals from the memory 1102 or other devices, and can be used to send signals to the memory 1102 or other devices. For example, the interface circuit 1104 can read instructions stored in the memory 1102 and send the instructions to the processor 1101.

[0833] The communication device 1100 described in the above embodiments may be a network device or a terminal, but the scope of the communication device 1100 described in the embodiments of the present disclosure is not limited thereto, and the structure of the communication device 1100 may not be limited thereto. Fig.11a The communication device may be an independent device or may be part of a larger device. For example, the communication device may be: 1) an independent integrated circuit IC, or a chip, or a chip system or subsystem; (2) a collection of one or more ICs, optionally, the above IC collection may also include a storage component for storing data and programs; (3) an ASIC, such as a modem; (4) a module that can be embedded in other devices; (5) a receiver, a terminal device, an intelligent terminal device, a cellular phone, a wireless device, a handheld device, a mobile unit, a vehicle-mounted device, a network device, a cloud device, an artificial intelligence device, etc.; (6) others, etc.

[0834] Fig.11b 1 is a schematic diagram of the structure of the chip 1110 proposed in the embodiment of the present disclosure. For the case where the communication device 1100 can be a chip or a chip system, please refer to Fig.11b The structure of the chip 1110 is shown, but is not limited to this.

[0835] The chip 1110 includes one or more processors 1111. The chip 1110 is configured to execute any of the above methods.

[0836] In some embodiments, the chip 1110 further includes one or more interface circuits 1112. Optionally, the terms interface circuit, interface, transceiver pin, etc. can be interchangeable. In some embodiments, the chip 1110 further includes one or more memories 1113 for storing data. Optionally, all or part of the memory 1113 can be outside the chip 1110. Optionally, the interface circuit 1112 is connected to the memory 1113, and the interface circuit 1112 can be used to receive data from the memory 1113 or other devices, and the interface circuit 1112 can be used to send data to the memory 1113 or other devices. For example, the interface circuit 1112 can read the data stored in the memory 1113 and send the data to the processor 1111.

[0837] In some embodiments, the interface circuit 1112 performs the communication steps such as sending and / or receiving in the above method (for example, Figure 2a Steps S201 to S205, S207, Figure 2b At least one of the steps S211 to S215 shown in the above method, but not limited to this). The interface circuit 1112 performs the communication steps such as sending and / or receiving in the above method, for example, refers to: the interface circuit 1112 performs data exchange between the processor 1111, the chip 1110, the memory 1113 or the transceiver device. In some embodiments, the processor 1111 performs other steps (for example, Figure 2a Steps S206, S208, Figure 2b At least one of steps S216 shown in, but not limited to, at least one of these).

[0838] The present disclosure also proposes a program product, which, when executed by the communication device 1100, enables the communication device 1100 to execute any of the above methods. Optionally, the program product is a computer program product.

[0839] The present disclosure also proposes a computer program, which, when executed on a computer, causes the computer to execute any one of the above methods.

[0840] The technical solutions described in the embodiments of the present disclosure can be combined arbitrarily without conflict.

[0841] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0842] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A communication method, It is characterized in that Applied to the first relay device, comprising: Access to discovery security materials; performing a relay discovery process based on the discovery security material; The discovery of security materials includes at least one of the following: a first discovered security material corresponding to the first relay device; The at least one second relay device corresponds to a second discovered security material.

2. The method according to claim 1, It is characterized in that The acquisition and discovery of security materials includes: Sending a first message to a first network node, the first message comprising a relay service code RSC for requesting the discovery of security material; receiving a second message sent by the first network node, where the second message includes at least one of the following: a first discovered security material related to the first ID of the first relay device; At least one second discovered security material related to the second ID of the second relay device.

3. The method according to claim 2, It is characterized in that If the first relay device is a first terminal-to-network U2N relay and supports multi-hop U2N relay service, the second discovered security material is obtained by the first network node from a second network node, wherein the second network node is a network node corresponding to the second relay device.

4. The method according to claim 2, It is characterized in that If the first relay device is a first intermediate relay, the second discovered security material is acquired by the first network node from a second network node, wherein the second network node is a network node corresponding to the second relay device.

5. The method according to claim 4, It is characterized in that The second relay device includes at least one of the following: Second U2N relay; Second intermediate relay.

6. The method according to any one of claims 3 to 5, It is characterized in that The first message also includes at least one of the following: a second ID of the second relay device, the second relay device being authorized to provide a multi-hop U2N relay service; role information of the first relay device; The first indication information is used to indicate that the first relay device supports multi-hop U2N service.

7. The method according to any one of claims 1 to 6, It is characterized in that The performing of a relay discovery process based on the discovery security material comprises: receiving a first notification message broadcasted by a second relay device, wherein the first notification message is security-protected by discovery security material associated with a second ID of the second relay device; The first announcement message is authenticated based on discovery security material determined by the second ID and the RSC.

8. The method according to claim 7, It is characterized in that Also includes: If the first notification message passes the verification, broadcast the second notification message; The second notification message is securely protected by discovery security material related to the first ID.

9. The method according to claim 8, It is characterized in that The broadcasting of the second notification message includes: If the first hop value obtained based on the first notification message meets the first condition, broadcast the second notification message, where the second notification message includes information related to the first relay device; or, If the first hop value satisfies a first condition, and the information in the first notification message satisfies a second condition, the second notification message is broadcast.

10. The method according to claim 9, It is characterized in that The information in the first notification message satisfies the second condition, including: The relevant information of the RSC and / or the second relay device in the first notification message is not stored in the information entry; or, The RSC in the first notification message and the related information of the second relay device are stored in an information entry, and the first hop value is smaller than the second hop value stored in the information entry.

11. The method according to claim 10, It is characterized in that Also includes: Updates a stored information entry.

12. A communication method, It is characterized in that Applied to terminals, including: Access to discovery security materials; performing a relay discovery process based on the discovery security material; The discovery of security materials includes at least one of the following: a first discovered security material corresponding to the first relay device; The at least one second relay device corresponds to a second discovered security material.

13. The method according to claim 12, It is characterized in that The acquisition and discovery of security materials includes: sending a third message to a third network node, the third message including a relay service code RSC for requesting the discovery of the security material; receiving a fourth message sent by the third network node, where the fourth message includes at least one of the following: a first discovered security material related to the first ID of the first relay device; At least one second discovered security material related to the second ID of the second relay device.

14. The method according to claim 13, It is characterized in that The second discovered security material is acquired by the third network node from a second network node, wherein the second network node is a network node corresponding to the second relay device; The first discovered security material is acquired by the third network node from a first network node, wherein the first network node is a network node corresponding to the first relay device.

15. The method according to any one of claims 12 to 14, It is characterized in that The third message further includes at least one of the following: A first ID of the first relay device; The second ID of the second relay device.

16. The method according to any one of claims 12 to 15, It is characterized in that The second relay device includes at least one of the following: Second U2N relay; Second intermediate relay.

17. The method according to any one of claims 13 to 16, It is characterized in that The performing of a relay discovery process based on the discovery security material comprises: receiving a second notification message broadcasted by the first relay device, where the second notification message is securely protected by discovery security material related to the first ID of the first relay device; verifying the second notification message based on discovery security material determined by the first ID and the RSC; Wherein, the first relay device includes at least one of the following: The first U2N relay; First intermediate relay.

18. A communication method, It is characterized in that Applied to a first network node, comprising: receiving a first message sent by a first relay device, wherein the first message includes a relay service code RSC for requesting to discover security material; Sending a second message to the first relay device, where the second message includes at least one of the following: a first discovered security material related to the first ID of the first relay device; At least one second discovered security material related to the second ID of the second relay device.

19. The method according to claim 18, It is characterized in that Before sending the second message to the first network node, the method further includes: sending a fifth message to the second network node, the fifth message including the RSC, for requesting the discovery of the security material; receiving a sixth message sent by the second network node, the sixth message comprising: a second discovery security material related to a second ID of the second relay device; The second network node is a network node corresponding to the second relay device.

20. The method according to claim 18 or 19, It is characterized in that The second relay device includes at least one of the following: Second U2N relay; Second intermediate relay.

21. The method according to any one of claims 18 to 20, It is characterized in that The first message also includes at least one of the following: a second ID of the second relay device, the second relay device being authorized to provide a multi-hop U2N relay service; role information of the first relay device; The first indication information is used to indicate that the first relay device supports multi-hop U2N service.

22. The method according to claim 21, It is characterized in that If the first message includes the second ID of the second relay device, the sending of the fifth message to the second network node includes: Based on the second ID, the fifth message is sent to the corresponding second network node.

23. The method according to any one of claims 18 to 21, It is characterized in that The sending a fifth message to the second network node includes: Based on the first mapping relationship, sending the fifth message to the second network node; The first mapping relationship is a mapping relationship between the RSC and the second ID.

24. The method according to claim 23, It is characterized in that The first mapping relationship is locally configured by the first network node.

25. The method according to any one of claims 18 to 23, It is characterized in that The method further comprises: receiving a seventh message sent by a third network node, wherein the seventh message includes the RSC and is used to request the discovery of the security material; Sending an eighth message to the third network node, where the eighth message includes at least one of the following: a first discovered security material related to the first ID of the first relay device; a second discovered security material associated with a second ID of the second relay device; The third network node is a network node corresponding to the terminal.

26. A communication method, It is characterized in that Applied to the third network node, comprising: receiving a third message sent by the terminal, wherein the third message includes a relay service code RSC for requesting to discover security material; Sending a fourth message to the terminal, where the fourth message includes at least one of the following: a first discovered security material associated with the first ID of the first relay device; At least one discovery security material related to the second ID of the second relay device.

27. The method according to claim 26, It is characterized in that Before sending the fourth message to the terminal, the method further includes: Sending a seventh message to the second network node and / or the first network node, wherein the seventh message includes the RSC and is used to request the discovery of the security material; receiving an eighth message sent by the second network node and / or the first network node, where the eighth message includes at least one of the following: a first discovered security material related to the first ID of the first relay device; A second discovered security material related to the second ID of the second relay device.

28. The method according to claim 27, It is characterized in that The first network node is a network node corresponding to the first relay device, and the second network node is a network node corresponding to the second relay device.

29. The method according to any one of claims 26 to 28, It is characterized in that The second relay device includes at least one of the following: Second U2N relay; Second intermediate relay.

30. The method according to any one of claims 26 to 29, It is characterized in that The third message further includes at least one of the following: A first ID of the first relay device; The second ID of the second relay device.

31. The method according to claim 30, It is characterized in that The sending of the seventh message to the second network node and / or the first network node comprises at least one of the following: Based on the first ID, sending the seventh message to the corresponding first network node; Based on the second ID, the seventh message is sent to the corresponding second network node.

32. The method according to any one of claims 27 to 30, It is characterized in that The sending the seventh message to the second network node and / or the first network node includes: Based on the second mapping relationship, sending the seventh message to the second network node and / or the first network node; The second mapping relationship includes at least one of the following: A mapping relationship between the RSC and the second ID; A mapping relationship between the RSC and the first ID.

33. The method according to claim 32, It is characterized in that The second mapping relationship is locally configured by the third network node.

34. A communication method, It is characterized in that Applied to a second network node, comprising: receiving a fifth message sent by the first network node, the fifth message including an RSC for requesting to discover security material; a sixth message sent to the first network node, the sixth message comprising: a second discovery security material related to a second ID of a second relay device; The first network node is a network node corresponding to the first relay device.

35. The method according to claim 32, It is characterized in that The method further comprises: receiving a seventh message sent by a third network node, wherein the seventh message includes the RSC and is used to request the discovery of the security material; Sending an eighth message to the third network node, where the eighth message includes at least one of the following: a first discovered security material related to the first ID of the first relay device; a second discovered security material associated with a second ID of the second relay device; The third network node is a network node corresponding to the terminal.

36. A relay device, It is characterized in that include: A first transceiver module is used to obtain and discover security materials; A first processing module, configured to perform a relay discovery process based on the discovery security material; The discovery of security materials includes at least one of the following: a first discovered security material corresponding to the first relay device; The at least one second relay device corresponds to a second discovered security material.

37. A terminal, It is characterized in that include: The second transceiver module is used to obtain and discover security materials; A second processing module, configured to perform a relay discovery process based on the discovery security material; The discovery of security materials includes at least one of the following: a first discovered security material corresponding to the first relay device; The at least one second relay device corresponds to a second discovered security material.

38. A first network node, It is characterized in that include: The third transceiver module is configured to receive a first message sent by a first relay device, wherein the first message includes a relay service code RSC for requesting to discover security materials; and send a second message to the first relay device, wherein the second message includes at least one of the following: a first discovered security material related to the first ID of the first relay device; At least one second discovered security material related to the second ID of the second relay device.

39. A third network node, It is characterized in that include: a fourth transceiver module, configured to receive a third message sent by a terminal, the third message including a relay service code RSC for requesting to discover security materials; and to send a fourth message to the terminal, the fourth message including at least one of the following: a first discovered security material associated with the first ID of the first relay device; At least one discovery security material related to the second ID of the second relay device.

40. A second network node, It is characterized in that include: a fifth transceiver module, configured to receive a fifth message sent by the first network node, wherein the fifth message includes an RSC for requesting to discover security material; A sixth message sent to the first network node, the sixth message comprising: a second discovery security material related to a second ID of a second relay device; wherein the first network node is a network node corresponding to the first relay device.

41. A relay device, It is characterized in that include: one or more processors; The processor is used to execute the communication method described in any one of claims 1 to 11.

42. A terminal, It is characterized in that include: one or more processors; The processor is used to execute the communication method described in any one of claims 12 to 17.

43. A first network node, It is characterized in that include: one or more processors; Wherein, the processor is used to execute the communication method described in any one of claims 18 to 25.

44. A second network node, It is characterized in that include: one or more processors; The second network node is used to execute the communication method described in any one of claims 34 to 35.

45. A third network node, It is characterized in that include: one or more processors; The third network node is used to execute the communication method described in any one of claims 26 to 33.

46. ​​A communication system, It is characterized in that include: A relay device, a terminal and a network node, wherein the relay device is used to implement the communication method described in any one of claims 1 to 11, the terminal is used to implement the communication method described in any one of claims 12 to 17, and the network node is used to implement the communication method described in any one of claims 18 to 25, or claims 26 to 33, or claims 34 to 35.

47. A computer-readable storage medium having a computer program stored thereon, It is characterized in that The computer-readable storage medium stores executable instructions, which are loaded and executed by the processor to implement the communication method described in any one of claims 1 to 11, or claims 12 to 17, or claims 18 to 25, or claims 26 to 33, or claims 34 to 35.

Citation Information

Cited By

  • Security for proximity based services multi-hop UE-to- network relay discovery

    WO2026077986A1