Relay communication method and apparatus, communication device, and storage medium

By introducing a secure information exchange mechanism into relay communication and utilizing AMF and PCF authentication, the security issue of discovery messages between remote UEs and relay UEs is resolved, thereby improving the security of relay communication.

CN117296351BActive Publication Date: 2026-11-20BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202280001218.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-18
Publication Date
2026-11-20
Estimated Expiration
2042-04-18

AI Technical Summary

Technical Problem

In relay communication, the discovery message between the remote UE and the relay UE lacks security protection, posing a significant security risk.

Method used

The first UE sends a request message to the first AMF, requesting security information to be discovered during relay communication between the first UE and the second UE. The first AMF and the first PCF exchange and verify the security information to ensure the security of the relay communication.

Benefits of technology

This improves the security of relay communication discovery between the first UE and the second UE, ensures the accurate transmission of security information, and reduces security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117296351B_ABST
    Figure CN117296351B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a relay communication method and device, a communication device and a storage medium. The relay communication method is performed by a first UE, and includes: sending, to a first access and mobility management function (AMF), a first request message, wherein the first request message is used to request security information for relay communication discovery between the first UE and a second UE; and wherein the first request message includes first identification information of the first UE, and the first identification information is used for the first AMF to send, to a first policy control function (PCF) corresponding to the first UE, a second request message used to request the security information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to, but is not limited to, the field of communication technology, and in particular to a relay communication method, apparatus, communication equipment, and storage medium. Background Technology

[0002] In relay communication, when a remote user equipment (UE) is unable to communicate with the network due to network signal coverage issues, a relay UE can be used, such as a UE-to-Network (U2N) relay function, to continue communication with the network. In one scenario, the remote UE can first transmit information to the relay UE, which then transmits it to the network; alternatively, the network can first transmit information to the relay terminal, which then transmits it to the remote UE, thus enabling communication between the remote UE and the network.

[0003] In related technologies, during the relay communication discovery process, the discovery messages transmitted between the remote UE and the relay UE lack security protection. This lack of security protection for the discovery messages transmitted between the remote UE and the relay UE poses a significant security risk. Summary of the Invention

[0004] This disclosure presents a relay communication method, apparatus, communication device, and storage medium.

[0005] According to a first aspect of this disclosure, a relay communication method is provided, performed by a first UE, comprising:

[0006] A first request message is sent to the first Access and Mobility Management Function (AMF), wherein the first request message is used to request security information for relay communication discovery between the first UE and the second UE; wherein the first request message includes the first identification information of the first UE; the first identification information is used by the first AMF to send a second request message for requesting security information to the first policy control function (PCF) corresponding to the first UE.

[0007] According to a second aspect of this disclosure, a relay communication method is provided, performed by an AMF, comprising:

[0008] Receive a first request message sent by a first UE, wherein the first request message is used to request security information discovered for relay communication between the first UE and the second UE;

[0009] Based on the first identification information of the first UE carried in the first request message, a second request message for requesting security information is sent to the first PCF corresponding to the first identification information.

[0010] According to a third aspect of this disclosure, a relay communication method is provided, performed by a second UE, comprising:

[0011] A third request message is sent to the second AMF, wherein the third request message is used to request security information discovered during relay communication between the first UE and the second UE; wherein the third request message includes the third identification information of the second UE; the third identification information is used by the second AMF to send a fourth request message for requesting security information to the second PCF corresponding to the second UE.

[0012] According to a fourth aspect of this disclosure, a relay communication method is provided, performed by a second AMF, comprising:

[0013] Receive a third request message sent by the second UE, wherein the third request message is used to request security information discovered during relay communication between the first UE and the second UE;

[0014] Based on the third identification information of the second UE carried in the third request message, a fourth request message for requesting security information is sent to the second PCF corresponding to the third identification information.

[0015] According to a fifth aspect of this disclosure, a relay communication method is provided, performed by a first PCF, comprising:

[0016] The system receives a second request message sent by the first AMF and / or a fourth request message sent by the second PCF, wherein the second request message and / or the fourth request message are used to request security information for relay communication discovery between the first UE and the second UE.

[0017] According to a sixth aspect of this disclosure, a relay communication method is provided, performed by a second PCF, comprising:

[0018] Receive a fourth request message sent by the second AMF, wherein the fourth request message is used to request security information for relay communication discovery between the first UE and the second UE;

[0019] Send a fourth request message to the first PCF to request security information.

[0020] According to a seventh aspect of this disclosure, a relay communication method is provided, performed by a network device, comprising:

[0021] Obtain the request message sent by the UE; wherein the request message carries the UE's identification information; the request message is used to request security information for relay communication discovery between the UE and the UE;

[0022] Send a response message carrying security information to the UE.

[0023] According to an eighth aspect of this disclosure, a relay communication device is provided for use with a first UE, comprising:

[0024] The first sending module is configured to send a first request message to the first AMF, wherein the first request message is used to request security information for relay communication discovery between the first UE and the second UE;

[0025] The first request message includes the first identification information of the first UE; the first identification information is used by the first AMF to send the second request information for requesting security information to the first PCF corresponding to the first UE.

[0026] According to a ninth aspect of this disclosure, a relay communication device is provided for use in a first AMF, comprising:

[0027] The second receiving module is configured to receive a first request message sent by the first UE, wherein the first request message is used to request security information for relay communication between the first UE and the second UE.

[0028] The second sending module is configured to send a second request message for requesting security information to the first PCF corresponding to the first identification information, based on the first identification information of the first UE carried in the first request message.

[0029] According to a tenth aspect of this disclosure, a relay communication device is provided for use in a second UE, comprising:

[0030] The third sending module is configured to send a third request message to the second AMF, wherein the third request message is used to request security information for relay communication discovery between the first UE and the second UE;

[0031] The third request message includes the third identification information of the second UE; the third identification information is used by the second AMF to send the fourth request information for requesting security information to the second PCF corresponding to the second UE.

[0032] According to the eleventh aspect of this disclosure, a relay communication device is provided for use in a second AMF, comprising:

[0033] The fourth receiving module is configured to receive a third request message sent by the second UE, wherein the third request message is used to request security information for relay communication between the first UE and the second UE.

[0034] The fourth sending module is configured to send a fourth request message for requesting security information to the second PCF corresponding to the third identification information, based on the third identification information of the second UE carried in the third request message.

[0035] According to a twelfth aspect of this disclosure, a relay communication device is provided for use in a first PCF, comprising:

[0036] The fifth receiving module is configured to receive a second request message sent by the first AMF and / or receive a fourth request message sent by the second PCF, wherein the second request message and / or the fourth request message are used to request security information for relay communication discovery between the first user equipment UE and the second UE.

[0037] According to a thirteenth aspect of this disclosure, a relay communication device is provided for use in a second PCF, comprising:

[0038] The sixth receiving module is configured to receive a fourth request message sent by the second AMF, wherein the fourth request message is used to request security information for relay communication discovery between the first UE and the second UE;

[0039] The sixth sending module is configured to send a fourth request message to the first PCF for requesting security information.

[0040] According to the fourteenth aspect of this disclosure, a communication device is provided, comprising:

[0041] processor;

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

[0043] The processor is configured to implement the relay communication method of any embodiment of this disclosure when running executable instructions.

[0044] According to the fifteenth aspect of this disclosure, a computer storage medium is provided, which stores a computer executable program that, when executed by a processor, implements a relay communication method according to any embodiment of this disclosure.

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

[0046] In this embodiment, a first request message can be sent from a first UE to a first AMF. This first request message requests security information for relay communication discovery between the first UE and a second UE. The first request message includes first identification information of the first UE. This first identification information is used by the first AMF to send second request information for requesting security information to the first PCF corresponding to the first UE. Thus, when the first UE and the second UE are performing relay communication discovery, security protection can be implemented based on this security information. This makes relay communication discovery between the first UE and the second UE more secure compared to methods where security protection cannot be implemented during relay communication discovery. Furthermore, since the first request message carries the first identification information of the first UE, the first AMF can accurately know which first UE needs to obtain the security information for relay communication discovery, and this facilitates the first AMF obtaining the security information and sending it to that first UE.

[0047] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the embodiments of this disclosure. Attached Figure Description

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

[0049] Figure 2 This is a flowchart illustrating a UE-to-network relay discovery method according to an exemplary embodiment of model A.

[0050] Figure 3 This is a flowchart illustrating a UE-to-network relay discovery method via Model B according to an exemplary embodiment.

[0051] Figure 4 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0052] Figure 5 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0053] Figure 6 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0054] Figure 7 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0055] Figure 8 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0056] Figure 9This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0057] Figure 10 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0058] Figure 11 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0059] Figure 12 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0060] Figure 13 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0061] Figure 14 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0062] Figure 15 This is a flowchart illustrating a relay communication method according to an exemplary embodiment.

[0063] Figure 16 This is a block diagram illustrating a relay communication device according to an exemplary embodiment.

[0064] Figure 17 This is a block diagram illustrating a relay communication device according to an exemplary embodiment.

[0065] Figure 18 This is a block diagram illustrating a relay communication device according to an exemplary embodiment.

[0066] Figure 19 This is a block diagram illustrating a relay communication device according to an exemplary embodiment.

[0067] Figure 20 This is a block diagram illustrating a relay communication device according to an exemplary embodiment.

[0068] Figure 21 This is a block diagram illustrating a relay communication device according to an exemplary embodiment.

[0069] Figure 22 This is a block diagram illustrating a relay communication device according to an exemplary embodiment.

[0070] Figure 23 This is a block diagram illustrating a UE according to an exemplary embodiment.

[0071] Figure 24 This is a block diagram illustrating a base station according to an exemplary embodiment. Detailed Implementation

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

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

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

[0075] Please refer to Figure 1 This illustration shows a schematic diagram of the structure of a wireless communication system provided in an embodiment of this disclosure. Figure 1 As shown, the wireless communication system is a communication system based on cellular mobile communication technology. The wireless communication system may include: several user equipment 110 and several base stations 120.

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

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

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

[0079] Base station 120 and user equipment 110 can establish a wireless connection via a wireless air interface. In different implementations, the wireless air interface is a wireless air interface based on the fourth-generation mobile communication network technology (4G) standard; or, the wireless air interface is a wireless air interface based on the fifth-generation mobile communication network technology (5G) standard, such as a new air interface; or, the wireless air interface can also be a wireless air interface based on a next-generation mobile communication network technology standard based on 5G.

[0080] In some embodiments, user equipment 110 can also establish E2E (End to End) connections. Examples include vehicle-to-vehicle (V2V) communication, vehicle-to-infrastructure (V2I) communication, and vehicle-to-pedestrian (V2P) communication in vehicle-to-everything (V2X) communication.

[0081] Here, the user equipment mentioned above can be considered as the terminal equipment in the following embodiments.

[0082] In some embodiments, the wireless communication system described above may further include a network management device 130.

[0083] Several base stations 120 are connected to network management device 130. Network management device 130 can be a core network device in a wireless communication system, such as a Mobility Management Entity (MME) in an Evolved Packet Core (EPC). Alternatively, it can be other core network devices, such as a Serving Gateway (SGW), a Public Data Network Gateway (PGW), a Policy and Charging Rules Function (PCRF), or a Home Subscriber Server (HSS). The implementation of network management device 130 is not limited in this embodiment.

[0084] To facilitate understanding by those skilled in the art, this disclosure provides multiple embodiments to clearly illustrate the technical solutions of the embodiments of this disclosure. Of course, those skilled in the art will understand that the multiple embodiments provided in this disclosure can be executed individually, or in combination with the methods of other embodiments in this disclosure, or individually or in combination with some methods in other related technologies; this disclosure does not limit these aspects.

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

[0086] In one embodiment, a control plane and user plane solution is provided for UE-to-network relay. For the user plane-based solution, the 5G Proximity-based Service (ProSe) Key Management Function (PKMF) is used to manage secure keys for PC5 connections supporting 5G ProSe indirect or relay communication. In the security process of 5G Proximity Service, a Direct Discovery Name Management Function (DDNMF) is introduced, which generates and provides the necessary discovery security parameters for Proximity Service. This DDNMF is a logical function for dynamically allocating and resolving Proximity Service application IDs and mapping them to Proximity Service applications or restricted codes for direct 5G Proximity Service discovery. However, the DDNMF does not necessarily involve the discovery of 5G Proximity Service UE-to-Network (U2N) relays; it does not require the allocation and resolution of mappings between Proximity Service application IDs and Proximity Service application IDs or restricted codes.

[0087] In one embodiment, for UE-to-network (U2N) relay discovery, the UE uses a Policy Control Function (PCF) to pre-configure or provide discovery parameters during service authorization and information provision. Currently, the discovery parameters provided to the UE by the PCF include security-related content for 5G neighbor service U2N discovery for each Relay Service Code (RSC).

[0088] In one embodiment, a model A is provided to support UE-to-network relay discovery; model A uses a single discovery protocol message (e.g., an announcement message). Figure 2 As shown, Model A is executed by communication equipment, which includes remote UEs and U2N relays; the remote UEs include remote UE1, remote UE2, and remote UE3; the UE-to-network relay discovery method through Model A includes the following steps:

[0089] Step S21: The U2N relay sends an announcement message. Here, the U2N relay sends an announcement message, which can be listened to by remote UE1, remote UE2, and remote UE3.

[0090] Optionally, in step S22: the U2N relay sends additional information. Here, the U2N relay sends additional information, which can be listened to by remote UE1, remote UE2, and remote UE3.

[0091] In another embodiment, a Model B approach is provided to support UE-to-network relay discovery; this Model B uses two discovery protocol messages (e.g., a request message and a response message). Figure 3 As shown, Model B is executed by communication equipment, which includes a remote UE and U2N relays; wherein, the U2N relays include: U2N relay 1, U2N relay 2, and U2N relay 3; the UE-to-network relay discovery method through Model B includes the following steps:

[0092] Step S31: The remote UE sends a discovery request message;

[0093] Here, the remote UE sends a discovery request message; U2N relay 1, U2N relay 2 and U2N relay 3 can all listen for the discovery request message.

[0094] Step S32: The remote UE receives the discovery response message.

[0095] Here, U2N relay 1, U2N relay 2 and U2N relay 3 can all determine the discovery response message based on the discovery request message and send the discovery response message; the remote UE can listen to the discovery response messages sent by U2N relay 1, U2N relay 2 and / or U2N relay 3.

[0096] like Figure 4 As shown, this embodiment of the disclosure provides a relay communication method, executed by a first UE, including:

[0097] Step S41: Send a first request message to the first AMF, wherein the first request message is used to request security information discovered during relay communication between the first UE and the second UE; wherein the first request message includes the first identification information of the first UE; the first identification information is used by the first AMF to send the second request information for requesting security information to the first PCF corresponding to the first UE.

[0098] In the embodiments disclosed herein, the UE involved may be, but is not limited to, a mobile terminal or a fixed terminal; for example, the first UE and the second UE in the following embodiments may be, but are not limited to, a mobile phone, a computer, a server, a wearable device, a game control platform, or a multimedia device. In one embodiment, the first UE may be a relay UE, and the second UE may be a remote UE. Here, the relay UE may be a 5G relay UE or a 6G relay UE, etc. Here, the relay UE may be a U2N relay.

[0099] In this embodiment, the first AMF, second AMF, first PCF, and second PCF involved can be, but are not limited to, core network devices, core network elements, or functions; the first AMF, second AMF, first PCF, and second PCF can all be replaced by other core network devices, core network elements, or functions with the same function. In one embodiment, the first AMF can be the AMF of a relay UE; the second AMF can be the AMF of a remote UE; the first PCF can be the PCF of a relay UE; and / or the second PCF can be the PCF of a remote UE.

[0100] Here, the first identification information can be used to identify the first UE.

[0101] In one embodiment, the first identification information includes at least one of the following:

[0102] User subscription concealed identifier (SUCI);

[0103] A globally unique temporary UE identity (GUTI);

[0104] Here, the second request message is used to request security information for relay communication discovery between the first UE and the second UE.

[0105] In one embodiment, the second request message carries second identification information of the first UE. This second identification information can be used to identify the first UE.

[0106] In one embodiment, the second identification information includes a Subscription Permanent Identifier (SUPI) corresponding to the first identification information.

[0107] Here, the first AMF stores a first mapping relationship; this first mapping relationship includes the correspondence between first identification information and second identification information. For example, the first mapping relationship includes the correspondence between SUCI and SUPI, and / or the correspondence between GUTI and SUPI. Thus, the first AMF can determine the SUPI of the first UE based on the SUCI and / or SUPI of the first UE; thus, the first AMF can know which first UE sent the first request message and send the second request message to the first PCF corresponding to the first UE.

[0108] This disclosure provides a relay communication method, executed by a first UE, including:

[0109] The system receives a first response message sent by the first AMF, wherein the first response message includes security information included in the second response message; the second response message is sent by the first PCF based on the second identification information of the first UE included in the second response message.

[0110] In one embodiment, the first request message includes: a key request related message; the first response message includes: a key response related message; and the security information includes: an intermediate discovery key.

[0111] Of course, in other embodiments, the security information can be any kind of security protection information used to protect the discovery of relay communication between the first UE and the second UE.

[0112] Here, the second request message may include key request related messages. In one embodiment, the difference between the first request message and the second request message is that the first request message carries first identification information, while the second request message carries second identification information.

[0113] Here, the second response message may include key response related messages. In one embodiment, the difference between the first response message and the second response message is that the second response message carries second identification information; the first response message carries first identification information or does not carry either the first identification information or the second identification information.

[0114] In this embodiment, a first request message can be sent from a first UE to a first AMF. This first request message requests security information for relay communication discovery between the first UE and a second UE. The first request message includes first identification information of the first UE. This first identification information is used by the first AMF to send second request information for requesting security information to the first PCF corresponding to the first UE. Thus, when the first UE and the second UE are performing relay communication discovery, security protection can be implemented based on this security information. This makes relay communication discovery between the first UE and the second UE more secure compared to methods where security protection cannot be implemented during relay communication discovery. Furthermore, since the first request message carries the first identification information of the first UE, the first AMF can accurately know which first UE needs to obtain the security information for relay communication discovery, and this facilitates the first AMF obtaining the security information and sending it to that first UE.

[0115] In this embodiment, a first UE can receive a first response message sent by a first AMF, wherein the first response message includes security information included in a second response message; the second response message is sent by the first PCF based on the second identification information of the first UE included in the second response message. Thus, the first AMF can forward the security information determined by the first PCF so that the first UE obtains the security information for discovering relay communication between the first UE and the second UE, thereby improving the security of relay communication discovery between the first UE and the second UE. Furthermore, since the second response message carries the second identification information, the first AMF can accurately know which first UE needs to request security information and accurately forward the security information to the first UE that needs to obtain the security information.

[0116] In some embodiments, the key request related message includes: an RSC indicating the relay service;

[0117] Key response messages include: the intermediate discovery key for RSC, or the intermediate discovery key for RSC and its identification information.

[0118] Here, different RSCs correspond to different intermediate discovery keys. For example, one RSC indicates one relay service; one relay service corresponds to one intermediate discovery key.

[0119] For example, if the key response related message received by the first UE includes an intermediate discovery key for an RSC, then the intermediate discovery key is determined to be the intermediate discovery key for the relay service between the first UE and the second UE using RSC indication. Thus, when the first UE only requests an intermediate discovery key for an RSC, it can obtain it through the received intermediate discovery key.

[0120] For example, if the key response related message received by the first UE includes intermediate discovery keys indicated by two or more RSCs and identification information of the intermediate discovery keys, the intermediate discovery key corresponding to any one of the RSCs can be determined through the identification information of the intermediate discovery keys. Thus, when the first UE requests intermediate discovery keys for multiple RSCs, it can accurately determine the intermediate discovery key corresponding to any one of the RSCs by obtaining the intermediate discovery keys of multiple RSCs and their identification information. In some embodiments of this disclosure, "multiple" refers to two or more.

[0121] In some embodiments, the key request message may also include at least one of the following:

[0122] Type indication information, used to indicate the type of discovery message in relay communication;

[0123] The first security indication information is used to indicate the security capabilities of the first UE.

[0124] Here, the discovery message type includes, but is not limited to, direct discovery or relay discovery. For example, the type indication information includes: a first type indication information, used to indicate that the discovery message type is direct discovery; and a second type indication information, used to indicate that the discovery message type is relay discovery.

[0125] Here, the first security indication information is used by the first PCF to determine the encryption / decryption algorithm and / or integrity protection algorithm. This encryption / decryption algorithm and / or integrity protection algorithm can be an encryption / decryption algorithm and / or integrity protection algorithm for discovery messages in relay communication.

[0126] Thus, in this embodiment of the disclosure, by sending a key request related message including type indication information and / or first security indication information, the first PCF can determine the type of the discovery message of the relay communication and / or determine the encryption / decryption algorithm and integrity protection algorithm of the discovery message of the relay communication.

[0127] In some embodiments, the key response message may also include at least one of the following:

[0128] Algorithm identifier; wherein the algorithm identifier includes at least one of the following:

[0129] The first algorithm identifier is used to indicate the algorithm of the discovery message in the encryption / decryption relay communication;

[0130] The second algorithm identifier is used to indicate the algorithm that performs integrity protection on the discovery message of the relay communication;

[0131] Time-related information is used to determine whether a relay communication discovery message has been subjected to a replay attack.

[0132] Here, time-related information includes, but is not limited to, at least one of the following: current time, maximum offset, and valid timer.

[0133] Here, the first UE can determine whether the received information (e.g., an announcement message) has been subjected to a replay attack based on the current time and a validity timer. For example, if the first UE receives a discovery request message from the second UE, and the first UE determines that the discovery request message has been subjected to a replay attack if the current time is outside the validity timer's time limit, then the first UE can determine that the discovery message has not been subjected to a replay attack if the current time is outside the validity timer's time limit. Alternatively, the first UE can determine a first time range based on the difference between the current time and the maximum offset, or based on the difference between the current time and the maximum offset; if the first time range is outside the validity timer's time limit, the first UE can determine that the discovery message has been subjected to a replay attack, or if the first time range is within the validity timer's time limit, the first UE can determine that the discovery message has not been subjected to a replay attack.

[0134] Thus, in this embodiment of the disclosure, by receiving a key response message from the first PCF forwarded by the first AMF, including one of the algorithm identifier and time-related information, the first UE can obtain the encryption / decryption algorithm, integrity protection algorithm, and / or determine whether the discovery message has been subjected to a replay attack. This can further improve the security of relay communication discovery between the first UE and the second UE.

[0135] This disclosure provides a relay communication method executed by a first UE, comprising: receiving a first set of RSCs sent by a first AMF; wherein the first set of RSCs includes: at least one first RSC; the first RSC is an RSC for relay services that the first UE can provide.

[0136] Here, the first RSC set can be sent by the first PCF. Alternatively, the first RSC set can be sent by the DDNMF corresponding to the first UE.

[0137] In one embodiment, the first UE receives discovery parameters carrying a first RSC set sent by a first AMF; the discovery parameters are sent by a first PCF or a DDNMF corresponding to the first UE.

[0138] Thus, in this embodiment of the disclosure, the first UE can obtain the first RSC set from core network elements such as the first PCF, thereby knowing the relay services that the first UE can provide.

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

[0140] like Figure 5 As shown, this embodiment of the disclosure provides a relay communication method, executed by a first UE, including:

[0141] Step S51: Determine the relay discovery key based on the intermediate discovery key;

[0142] The relay discovery key includes at least one of the following:

[0143] The encryption key (DUCK) is used to encrypt and decrypt discovery messages in relay communications;

[0144] The Integrity Guarantee Key (DUIK) is used to protect the integrity of discovery messages in relay communications.

[0145] In one alternative embodiment, the relay discovery key may include a scrambling key (DUSK) for scrambling the discovery message of the relay communication.

[0146] In some embodiments, step S51 includes one of the following:

[0147] The relay discovery key is determined based on the intermediate discovery key and the algorithm identifier;

[0148] The relay discovery key is determined based on the intermediate discovery key, algorithm identifier, and RSC.

[0149] In the embodiments of this disclosure, the algorithm identifier may include the first algorithm identifier and / or the second algorithm identifier obtained in the above embodiments; the RSC may be the RSC in the above embodiments; and the intermediate discovery key may be the intermediate discovery key in the above embodiments.

[0150] This disclosure provides a relay communication method executed by a first UE, including: determining a relay discovery key based on an intermediate discovery key and an algorithm identifier.

[0151] This disclosure provides a relay communication method executed by a first UE, including: determining a relay discovery key based on an intermediate discovery key, an algorithm identifier, and an RSC.

[0152] For example, the derivation of the relay discovery key can be as follows, with the RSC and intermediate discovery key as input parameters:

[0153] FC = TBD

[0154] P0=0x00 if DUSK is being derived,0x01 if DUCK is being derived,or0x02 if DUIK is being derived;

[0155] L0=length of P0(ie0x00 0x01)

[0156] P1 = algorithm identity

[0157] L1=length of algorithm identity(ie0x00 0x01)

[0158] P2 = Relay Service Code (RSC)

[0159] L2=length of RSC(ie0x00 0x03).

[0160] Here, when P0 is 0x00, DUSK is being exported; when P0 is 0x01, DUCK is being exported; or when P0 is 0x02, DUIK is being exported.

[0161] Here, encryption and integrity protection algorithms can be set in any feasible way.

[0162] Here, the input key is a 256K Near Field Service Relay Discovery Key (PRDK); the PRDK can be the intermediate discovery key in the above embodiments.

[0163] Thus, in this embodiment of the disclosure, by adding RSC to the input parameter when determining the relay discovery key, the relay discovery key bound to a specific relay service can be obtained.

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

[0165] like Figure 6 As shown, this embodiment of the disclosure provides a relay communication method, executed by a first UE, including:

[0166] Step S61: Send a first announcement message, wherein the first announcement message includes: a discovery message encrypted based on the relay discovery key and protected by integrity; the discovery message is used to indicate that the first UE supports the discovery of relay services.

[0167] Here, the discovery message included in the first announcement message can be: a discovery message that is encrypted based on the relay discovery key and encryption algorithm and protected for integrity based on the integrity protection algorithm.

[0168] Sending the first announcement message in step S61 can be done by broadcasting the first announcement message.

[0169] In one embodiment, the discovery message includes at least one RSC. Thus, the first UE can notify other UEs which RSC(s) it supports as the relay service indicated. These other UEs can be, but are not limited to, the second UE.

[0170] In another embodiment, the discovery message includes, but is not limited to, at least one RSC and the identification information of the first UE. This identification information may be, but is not limited to, the first identification information described in the above embodiments; for example, the identification information may be any information that can uniquely identify the first UE, such as a string of characters. Thus, the first UE can inform other UEs which first UE supports the relay service indicated by the RSC.

[0171] Thus, in this embodiment, the first UE can broadcast a first announcement message, enabling a second UE that listens to the first announcement message to know the relay services provided by the first UE. Furthermore, the discovery message in the first announcement message is encrypted with a relay discovery key and protected for integrity, thereby improving the security of relay communication discovery between the first UE and the second UE.

[0172] like Figure 7 As shown, this embodiment of the disclosure provides a relay communication method, executed by a first UE, including:

[0173] Step S71: Receive a second announcement message, wherein the second announcement message includes: a discovery request message encrypted based on the relay discovery key and protected by integrity; the discovery request message is used to request the second UE to discover the requested relay service;

[0174] Step S72: Decrypt and verify the second announcement message based on the relay discovery key to obtain the discovery request message.

[0175] Here, the discovery request message in the second announcement message can be: a discovery request message that is encrypted based on the relay discovery key and encryption algorithm and protected by the integrity protection algorithm.

[0176] The step S71 of receiving the second announcement message can be: receiving the second announcement message sent by the second UE.

[0177] In one embodiment, the discovery request message includes at least one RSC. This allows the first UE to know the relay service indicated by the RSC(s) that the second UE is requesting.

[0178] In another embodiment, the discovery request message includes, but is not limited to, RSC and identification information of the second UE. This allows the first UE to determine which second UE is requesting the RSC-indicated relay service.

[0179] Step S72, which involves decrypting and verifying the second announcement message based on the relay discovery key, includes: decrypting the second announcement message based on the relay discovery key and the decryption algorithm corresponding to the encryption algorithm, and verifying the integrity of the second announcement message through an integrity protection algorithm.

[0180] In this embodiment of the disclosure, the first UE can receive a discovery request message sent by the second UE to learn about the relay service that the second UE needs to request. Furthermore, the discovery request message is encrypted with a relay discovery key and protected for integrity, thus improving the security of relay communication discovery between the first UE and the second UE.

[0181] This disclosure provides a relay communication method executed by a first UE, comprising: sending a third announcement message, wherein the third announcement message includes: a discovery response message encrypted based on a relay discovery key and protected by integrity, wherein the discovery response message is determined based on a discovery request message.

[0182] Here, the discovery response message in the third announcement message can be: a discovery response message that is encrypted based on the relay discovery key and encryption algorithm and protected by the integrity protection algorithm.

[0183] Here, if the first UE determines that the relay service it authorizes includes the relay service requested by the discovery request message, then the discovery response message sent by the first UE can be an acknowledgment response message. Alternatively, if the first UE determines that the relay service it authorizes does not include the relay service requested by the discovery request message, then the first UE does not send a discovery response message.

[0184] In this embodiment of the disclosure, the second UE can be informed whether it is able to provide the relay service requested by the second UE based on the discovery response message sent by the first UE. Furthermore, the discovery response message can be a message encrypted with a relay discovery key and protected for integrity, thereby improving the security of relay communication discovery between the first UE and the second UE.

[0185] Furthermore, when the first UE receives an announcement message sent by the second UE that is encrypted with a relay discovery key and protected for integrity, it can decrypt and verify the integrity of the announcement message using the same relay discovery key, and accurately obtain the content of the announcement message.

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

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

[0188] like Figure 8 As shown, this disclosure provides a relay communication method, executed by a first AMF, including:

[0189] Step S81: Receive a first request message sent by the first UE, wherein the first request message is used to request security information for relay communication discovery between the first UE and the second UE;

[0190] Step S82: Based on the first identification information of the first UE carried in the first request message, send a second request message for requesting security information to the first PCF corresponding to the first identification information.

[0191] This disclosure provides a relay communication method, executed by a first AMF, including:

[0192] Receive a second response message sent by the first PCF, wherein the second response message includes the security information;

[0193] Based on the second identification information of the first UE carried in the second response message, a first response message carrying the security information is sent to the first UE.

[0194] In some embodiments of this disclosure, the first request message and the second request message can be the first request message and the second request message in step S41, respectively; the security information can be the security information in step S41; and the first identification information can be the first identification information in step S41.

[0195] In some embodiments of this disclosure, the first response message and the second response message may be the first response message and the second response message in the above embodiments; the second identification information may be the second identification information in the above embodiments.

[0196] For example, the first identification information may include at least one of the following: SUCI and GUTI; and / or the second identification information may include SUPI.

[0197] For example, both the first request message and the second request message may include: key request related messages. Both the first response message and the second response message may include: key response related messages. Security information includes: intermediate discovery key.

[0198] For example, a key request-related message includes an RSC indicating the relay service.

[0199] For example, a key request-related message includes at least one of the following:

[0200] Type indication information, used to indicate the type of discovery message in relay communication;

[0201] The first security indication information is used to indicate the security capabilities of the first UE.

[0202] For example, a key response message may also include at least one of the following:

[0203] Algorithm identifier; wherein the algorithm identifier includes at least one of the following:

[0204] The first algorithm identifier is used to indicate the algorithm of the discovery message in the encryption / decryption relay communication;

[0205] The second algorithm identifier is used to indicate the algorithm that performs integrity protection on the discovery message of the relay communication;

[0206] Time-related information is used to determine whether a relay communication discovery message has been subjected to a replay attack.

[0207] Example of a key request related message: an RSC indicating relay service;

[0208] Key response messages include: the intermediate discovery key for RSC, or the intermediate discovery key for RSC and its identification information.

[0209] Thus, in this embodiment of the disclosure, after receiving a first request message from the first UE requesting security information, the first AMF can send a second request message for security to the first PCF so as to obtain the security information required by the first UE.

[0210] Furthermore, after receiving the second response message containing security information sent by the first PCF, the first AMF can send the first response message containing security information to the first UE, so that the first UE can obtain the security information; thus, when the first UE and the second UE are conducting relay communication discovery, security protection can be carried out through security information, thereby improving the security of the relay communication between the first UE and the second UE.

[0211] This disclosure provides a relay communication method executed by a first AMF, comprising: determining second identification information corresponding to the first UE based on the first identification information and a first mapping relationship; wherein the first mapping relationship includes: the correspondence between the first identification information and the second identification information.

[0212] Here, the first mapping relationship includes: the correspondence between SUCI and SUPI, and / or the correspondence between GUTI and SUPI.

[0213] It is understandable that when the first UE sends a first request message to the first AMF, the first request message includes first identification information; this first identification information can be temporary or hidden related identification information. When the first AMF sends a second request message to the first PCF, the second request message can be a SUPI; this second identification information can be permanent identification information. Typically, the AMF mainly receives temporary identifications, while the PCF receives permanent identifications.

[0214] Thus, in this embodiment of the disclosure, the second identification information of the first UE corresponding to the first identification information of the first UE can be accurately determined based on the first identification information of the first UE and the first mapping table stored in the first AMF, so that the first PCF can send security information related to the first UE in the future.

[0215] This disclosure provides a relay communication method, executed by a first AMF, including:

[0216] Receive a first set of RSCs sent by a first PCF; wherein the first set of RSCs includes: at least one first RSC, the first RSC being an RSC for relay services that the first UE can provide;

[0217] Send the first RSC set to the first UE.

[0218] In some embodiments of this disclosure, the first RSC set may be the first RSC set in the above embodiments.

[0219] Thus, in this embodiment of the disclosure, the first RSC set sent by the first PCF can be sent to the first UE through the first AMF, so that the first UE knows the relay services that the first UE has pre-configured to provide.

[0220] The above implementation methods can be specifically described on the first UE side, and will not be repeated here.

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

[0222] The following relay communication method is executed by the second UE and is similar to the relay communication method executed by the first UE and / or the first AMF described above; and for technical details not disclosed in the embodiment of the relay communication method executed by the second UE, please refer to the description of the example of the relay communication method executed by the first UE and / or the first AMF, which will not be described in detail here.

[0223] like Figure 9 As shown, this embodiment of the disclosure provides a relay communication method, executed by a second UE, including:

[0224] Step S91: Send a third request message to the second AMF, wherein the third request message is used to request security information discovered during relay communication between the first UE and the second UE; wherein the third request message includes the third identification information of the second UE; the third identification information is used by the second AMF to send a fourth request message for requesting security information to the second PCF corresponding to the second UE.

[0225] Here, the third identification information can be used to identify the second UE.

[0226] In one embodiment, the third identification information includes at least one of the following: SUCI and GUTI.

[0227] Here, the fourth request message is used to request security information for relay communication discovery between the first UE and the second UE.

[0228] In one embodiment, the fourth request message carries fourth identification information of the first UE. This fourth identification information can be used to identify the first UE.

[0229] In one embodiment, the fourth identification information includes the SUPI corresponding to the third identification information.

[0230] Here, a second mapping relationship can be set in the second AMF; this second mapping relationship includes the correspondence between third identification information and fourth identification information. For example, the second mapping relationship includes the correspondence between SUCI and SUPI, and / or the correspondence between GUTI and SUPI. In this way, the second AMF can determine the SUPI of the first UE based on the SUCI and / or SUPI of the first UE; thus, the second AMF can know which first UE sent the first request message and send the second request message to the first PCF corresponding to the first UE.

[0231] This disclosure provides a relay communication method executed by a second UE, comprising: receiving a third response message sent by a second AMF, wherein the third response message includes: security information included in a fourth response message; the fourth response message is sent by the second PCF based on the fourth identification information of the second UE included in the third response message.

[0232] In one embodiment, the third request message includes: a key request related message; the third response message includes: a key response related message; and the security information includes: an intermediate discovery key.

[0233] Here, the fourth request message may include key request related messages. In one embodiment, the difference between the third request message and the fourth request message is that the third request message carries third identification information, while the fourth request message carries fourth identification information.

[0234] Here, the fourth response message may include key response related messages. In one embodiment, the difference between the third and fourth response messages is that the fourth response message carries fourth identification information; the third response message carries third identification information or does not carry either the third or fourth identification information.

[0235] In some embodiments, the key request related message includes: a relay service code (RSC) indicating the relay service;

[0236] Key response messages include: the intermediate discovery key for RSC, or the intermediate discovery key for RSC and its identification information.

[0237] In some embodiments, the key request message may also include at least one of the following:

[0238] Type indication information, used to indicate the type of discovery message in relay communication;

[0239] The second security indication information is used to indicate the security capabilities of the second UE.

[0240] In some embodiments, the key response related message includes at least one of the following:

[0241] Algorithm identifier; wherein the algorithm identifier includes at least one of the following:

[0242] The first algorithm identifier is used to indicate the algorithm of the discovery message in the encryption / decryption relay communication;

[0243] The second algorithm identifier is used to indicate the algorithm that performs integrity protection on the discovery message of the relay communication;

[0244] Time-related information is used to determine whether a relay communication discovery message has been subjected to a replay attack.

[0245] This disclosure provides a relay communication method, executed by a second UE, including:

[0246] The relay discovery key is determined based on the intermediate discovery key; wherein the relay discovery key includes at least one of the following:

[0247] The encryption key DUCK is used to encrypt and decrypt discovery messages in relay communication;

[0248] The integrity guarantee key DUIK is used to protect the integrity of discovery messages in relay communications.

[0249] This disclosure provides a relay communication method, executed by a second UE, including:

[0250] The relay discovery key is determined based on the intermediate discovery key and the algorithm identifier; or,

[0251] The relay discovery key is determined based on the intermediate discovery key, algorithm identifier, and RSC.

[0252] This disclosure provides a relay communication method, executed by a second UE, including:

[0253] Receive a first announcement message, wherein the first announcement message includes: a discovery message encrypted based on a relay discovery key and protected by integrity; the discovery message is used to indicate to the first UE that it supports discovery to provide relay services;

[0254] The discovery message is obtained by decrypting and verifying the first announcement message using the relay discovery key.

[0255] This disclosure provides a relay communication method, executed by a second UE, including:

[0256] Send a second announcement message, which includes: a discovery request message encrypted with a relay discovery key and protected for integrity; the discovery request message is used to request the second UE to discover the requested relay service.

[0257] This disclosure provides a relay communication method, executed by a second UE, including:

[0258] Receive a third announcement message, wherein the third announcement message includes: a discovery response message encrypted with the relay discovery key and protected by integrity, wherein the discovery response message is determined based on the discovery request message;

[0259] The discovery response message is obtained by decrypting and verifying the third announcement message based on the relay discovery key.

[0260] In some embodiments of this disclosure, the first announcement message, the second announcement message, and the third announcement message may be the same as the first announcement message, the second announcement message, and the third announcement message in the above embodiments, respectively. Furthermore, the methods for encrypting discovery messages based on relay discovery keys and encryption algorithms, and for protecting integrity based on integrity protection algorithms, in this disclosure are similar to the corresponding methods in the above embodiments; and the methods for decrypting messages and verifying message integrity based on relay discovery keys and decryption algorithms corresponding to encryption algorithms are similar to the methods in the above embodiments.

[0261] This disclosure provides a relay communication method executed by a second UE, which may include: receiving a second set of RSCs sent by a second AMF; wherein the second set of RSCs includes: at least one second RSC; the second RSC is an RSC of a relay service that the second UE can obtain.

[0262] Here, the second RSC set can be sent by the second PCF. Alternatively, the second RSC set can be sent by the DDNMF corresponding to the second UE.

[0263] In one embodiment, the second UE receives discovery parameters carrying a second RSC set sent by the second AMF; the discovery parameters are sent by the second PCF or the DDNMF corresponding to the second UE.

[0264] Thus, in this embodiment of the disclosure, the second UE can obtain the second RSC set from core network elements such as the second PCF, thereby knowing the relay services that the second UE can obtain.

[0265] The above implementation methods can be specifically described on the first UE and / or the first AMF side, and will not be repeated here.

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

[0267] The following relay communication method is executed by the second AMF, and is similar to the relay communication method executed by the first UE, the second UE, and / or the first AMF described above; and for technical details not disclosed in the embodiment of the relay communication method executed by the second AMF, please refer to the description of the relay communication method example executed by the first UE, the second UE, and / or the first AMF, which will not be described in detail here.

[0268] like Figure 10 As shown, this disclosure provides a relay communication method, executed by a second AMF, including:

[0269] Step S101: Receive a third request message sent by the second UE, wherein the third request message is used to request the first UE and the second UE to discover security information for relay communication;

[0270] Step S102: Based on the third identification information of the second UE carried in the third request message, send a fourth request message for requesting security information to the second PCF corresponding to the third identification information.

[0271] This disclosure provides a relay communication method executed by a second AMF, comprising: receiving a fourth response message sent by a second PCF, wherein the fourth response message includes security information;

[0272] Based on the fourth identification information of the second UE carried in the fourth response message, a third response message carrying security information is sent to the second UE.

[0273] In some embodiments of this disclosure, the third request message and the fourth request message can be the third request message and the fourth request message in step S91, respectively; the security information can be the security information in the above embodiments; the third identification information and the fourth identification information can be the third identification information and the fourth identification information in the above embodiments; and the third response message and the fourth response message can be the third response message and the fourth response message in the above embodiments.

[0274] For example, the third identification information may include at least one of the following: SUCI and GUTI; and / or the fourth identification information may include SUPI.

[0275] For example, both the third and fourth request messages may include key request related messages. Both the third and fourth response messages may include key response related messages. Security information includes: the intermediate discovery key.

[0276] For example, a key request-related message includes an RSC indicating the relay service.

[0277] For example, a key request-related message includes at least one of the following:

[0278] Type indication information, used to indicate the type of discovery message in relay communication;

[0279] The second security indication information is used to indicate the security capabilities of the second UE.

[0280] For example, a key response message may also include at least one of the following:

[0281] Algorithm identifier; wherein the algorithm identifier includes at least one of the following:

[0282] The first algorithm identifier is used to indicate the algorithm of the discovery message in the encryption / decryption relay communication;

[0283] The second algorithm identifier is used to indicate the algorithm that performs integrity protection on the discovery message of the relay communication;

[0284] Time-related information is used to determine whether a discovery message in relay communication has been subjected to a replay attack.

[0285] For example, key request related messages include: an RSC indicating the relay service;

[0286] Key response messages include: the intermediate discovery key for RSC, or the intermediate discovery key for RSC and its identification information.

[0287] This disclosure provides a relay communication method executed by a second AMF, comprising: determining fourth identification information corresponding to a second UE based on third identification information and a second mapping relationship; wherein the second mapping relationship includes the correspondence between the third identification information and the fourth identification information.

[0288] Here, the second mapping relationship includes: the correspondence between SUCI and SUPI, and / or the correspondence between GUTI and SUPI.

[0289] This disclosure provides a relay communication method, executed by a second AMF, including:

[0290] Receive a second set of RSCs sent by a second PCF; wherein the second set of RSCs includes: at least one second RSC, the second RSC being an RSC of a relay service that the second UE can obtain;

[0291] Send the second RSC set to the second UE.

[0292] In some embodiments of this disclosure, the second RSC set may be the second RSC set described in the above embodiments.

[0293] Thus, in this embodiment of the disclosure, the second RSC set sent by the second PCF can be sent to the second UE through the second AMF, so that the second UE knows the relay services that can be obtained.

[0294] The above implementation methods can be specifically described on the first UE, the second UE, and / or the first AMF side, and will not be repeated here.

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

[0296] The following relay communication method is executed by the first PCF, and is similar to the relay communication method executed by the first UE, the second UE, the first AMF and / or the second AMF described above; and for technical details not disclosed in the embodiment of the relay communication method executed by the first PCF, please refer to the description of the relay communication method example executed by the first UE, the second UE, the first AMF and / or the second AMF, which will not be described in detail here.

[0297] like Figure 11 As shown, this disclosure provides a relay communication method, executed by a first PCF, including:

[0298] Step S11: Receive a second request message sent by the first AMF and / or receive a fourth request message sent by the second PCF, wherein the second request message and / or the fourth request message are used to request security information for relay communication discovery between the first UE and the second UE.

[0299] In some embodiments of this disclosure, the first request message, the second request message, the third request message, and the fourth request message are respectively the first request message, the second request message, the third request message, and the fourth request message in the above embodiments; the first response message, the second response message, the third response message, and the fourth response message are respectively the first response message, the second response message, the third response message, and the fourth response message in the above embodiments; the first identification information, the second identification information, the third identification information, and the fourth identification information are respectively the first identification information, the second identification information, the third identification information, and the fourth identification information in the above embodiments; and the security information is the security information in the above embodiments.

[0300] For example, the second request message and / or the fourth request message include: a key request related message; the second response message and / or the fourth response message include: a key response related message; and the security information includes: the security information includes: an intermediate discovery key.

[0301] For example, a key request-related message includes an RSC indicating the relay service.

[0302] For example, a key request-related message includes at least one of the following:

[0303] Type indication information, used to indicate the type of discovery message in relay communication;

[0304] The first security indication information is used to indicate the security capabilities of the second UE;

[0305] The second security indication information is used to indicate the security capabilities of the second UE.

[0306] For example, a key response message may also include at least one of the following:

[0307] Algorithm identifier; wherein the algorithm identifier includes at least one of the following:

[0308] The first algorithm identifier is used to indicate the algorithm of the discovery message in the encryption / decryption relay communication;

[0309] The second algorithm identifier is used to indicate the algorithm that performs integrity protection on the discovery message of the relay communication;

[0310] Time-related information is used to determine whether a discovery message in relay communication has been subjected to a replay attack.

[0311] For example, key request related messages include: an RSC indicating the relay service;

[0312] Key response messages include: the intermediate discovery key for RSC, or the intermediate discovery key for RSC and its identification information.

[0313] This disclosure provides a relay communication method executed by a first PCF, including: determining security information based on a second request message; and / or, determining security information based on a fourth request message.

[0314] This disclosure provides a relay communication method executed by a first PCF, comprising: determining an intermediate discovery key based on a relay service indicated by a received RSC.

[0315] For example, the first PCF receives a key request related message and, based on the RSC carried in the key request related message, determines the intermediate discovery message of the relay service indicated by the RSC. Thus, the first PCF in this embodiment of the disclosure can generate an intermediate discovery key corresponding to the received RSC.

[0316] For example, the first PCF can store at least one correspondence between an RSC and an intermediate discovery key; the first PCF can determine the intermediate discovery key of the received RSC based on the correspondence between the received RSC and the intermediate discovery key. Thus, the first PCF of this embodiment can determine the intermediate discovery key corresponding to the received RSC by using the locally stored correspondence between RSC and the intermediate discovery key and the received RSC. In this way, the first PCF can store the intermediate discovery key corresponding to the obtained RSC so that the intermediate discovery key of the RSC can be determined later based on the stored information; thereby reducing the power consumption generated during the generation of the intermediate discovery key.

[0317] This disclosure provides a relay communication method executed by a first PCF, comprising: determining an encryption algorithm and / or an integrity algorithm based on first security indication information; and / or determining an encryption algorithm and / or an integrity algorithm based on second security indication information.

[0318] Thus, in this embodiment of the disclosure, suitable encryption algorithms and / or integrity protection algorithms for the first UE and / or the second UE can be determined based on their security capabilities.

[0319] Of course, in other embodiments, the first PCF can also determine any implementable encryption algorithm and / or integrity protection algorithm. The first PCF sends a first algorithm identifier indicating the encryption algorithm and / or a second algorithm identifier indicating the corresponding integrity protection algorithm to the first AMF and / or the second PCF, so that the first UE and the second UE can obtain the first algorithm identifier and the second algorithm identifier; it is only necessary that the first algorithm identifier and / or the second algorithm identifier obtained by the first UE and the second UE are consistent. There is no limitation on which encryption algorithm and / or integrity protection algorithm the first PCF determines.

[0320] In some embodiments, the second request message includes second identification information of the first UE;

[0321] The method includes sending a second response message to a first AMF, wherein the second response message includes second identification information and security information.

[0322] This disclosure provides a relay communication method executed by a first PCF, comprising: sending a second response message to a first AMF, wherein the second response message includes second identification information and security information.

[0323] In some embodiments, sending a second response message to a first AMF includes: in response to determining, based on a received RSC, that the first UE is a relay service indicated by an authorized service RSC, sending a second response message to the first AMF.

[0324] This disclosure provides a relay communication method executed by a first PCF, including: in response to determining, based on a received RSC, that a first UE is a relay service indicated by an authorized service RSC, sending a second response message to the first AMF.

[0325] In some embodiments, the fourth request message includes the fourth identification information of the second UE;

[0326] The method includes sending a fourth response message to a second PCF, wherein the fourth response message includes fourth identification information and security information.

[0327] This disclosure provides a relay communication method executed by a first PCF, comprising: sending a fourth response message to a second PCF, wherein the fourth response message includes fourth identification information and security information.

[0328] In some embodiments, sending a fourth response message to the second PCF includes:

[0329] In response to the determination that the first UE is authorized to provide relay services to the second UE, a key response message is sent to the second PCF.

[0330] This disclosure provides a relay communication method executed by a first PCF, comprising: in response to determining that authorization is granted for a first UE to provide relay services to a second UE, sending a key response related message to the second PCF.

[0331] This disclosure provides a relay communication method executed by a first PCF, comprising: sending a first RSC set to a first AMF; wherein the first RSC set includes: at least one first RSC, the first RSC being an RSC for relay services that a first UE can provide.

[0332] The above implementation methods can be specifically described on the first UE, second UE, first AMF and / or second AMF side, and will not be repeated here.

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

[0334] The following relay communication method is executed by the second PCF, and is similar to the relay communication method executed by the first UE, second UE, first AMF, second AMF and / or first PCF described above; and for technical details not disclosed in the embodiment of the relay communication method executed by the second PCF, please refer to the description of the relay communication method example executed by the first UE, second UE, first AMF, second AMF and / or first PCF, which will not be described in detail here.

[0335] like Figure 12 As shown, this disclosure provides a relay communication method, executed by a second PCF, including:

[0336] Step S1201: Receive a fourth request message sent by the second AMF, wherein the fourth request message is used to request security information for relay communication discovery between the first UE and the second UE;

[0337] Step S1202: Send a fourth request message to the first PCF to request security information.

[0338] In some embodiments, the fourth request message includes the fourth identification information of the second UE;

[0339] The method includes sending a fourth response message to the first AMF, wherein the fourth response information includes fourth identification information and security information.

[0340] This disclosure provides a relay communication method executed by a second PCF, comprising: sending a fourth response message to a first AMF, wherein the fourth response information includes fourth identification information and security information.

[0341] In some embodiments of this disclosure, the third request message and the fourth request message are the same as the third request message and the fourth request message in the above embodiments; the third response message and the fourth response message are the same as the third response message and the fourth response message in the above embodiments; the third identification information and the fourth identification information are the same as the third identification information and the fourth identification information in the above embodiments; and the security information is the security information in the above embodiments.

[0342] For example, the fourth request message includes: a key request related message; the fourth response message includes: a key response related message; and the security information includes: the security information includes: an intermediate discovery key.

[0343] For example, key request related messages include: an RSC indicating the relay service;

[0344] Key response messages include: an intermediate discovery key for RSC, or an intermediate information key for RSC and identification information of the intermediate information key.

[0345] In some embodiments, step S1202 includes:

[0346] If it is determined that the second UE is authorized to discover relay services, a fourth request message for requesting security information is sent to the first PCF.

[0347] This disclosure provides a relay communication method executed by a second PCF, including: if it is determined that a second UE is authorized to discover a relay service, sending a fourth request message to a first PCF to request security information.

[0348] Here, the second PCF is configured with a mapping table between the RSC and the addresses of the PCFs of potential U2N relays providing RSC indication services. Thus, the second PCF can determine the first PCF that needs to send the fourth request message based on the RSC included in the third request message.

[0349] This disclosure provides a relay communication method executed by a second PCF, comprising: sending a second RSC set to a second AMF; wherein the second RSC set includes: at least one second RSC, the second RSC being an RSC of a relay service that a second UE can obtain.

[0350] The above implementation methods can be specifically described on the first UE, second UE, first AMF, second AMF and / or first PCF side, and will not be repeated here.

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

[0352] The following relay communication method is executed by a network device and is similar to the relay communication method executed by the first UE, second UE, first AMF, second AMF, first PCF and / or second PCF described above. For technical details not disclosed in the embodiments of the relay communication method executed by the network device, please refer to the description of the relay communication method examples executed by the first UE, second UE, first AMF, second AMF, first PCF and / or network device, which will not be described in detail here.

[0353] like Figure 13 As shown, this disclosure provides a relay communication method, executed by a network device, including:

[0354] Step S131: Obtain the request message sent by the UE; wherein, the request message carries the UE's identification information; the request message is used to request security information for relay communication discovery between the UE and the UE;

[0355] Step S132: Send a response message carrying security information to the UE.

[0356] In some embodiments of this disclosure, the UE can be the first UE and / or the second UE in the above embodiments; if the UE is the first UE, the UE's identification information can be the first identification information and / or the second identification information in the above embodiments; if the UE is the second UE, the UE's identification information can be the third identification information and / or the fourth identification information in the above embodiments. If the UE is the first UE, the request message can be the first request message and / or the second request message in the above embodiments; if the UE is the second UE, the request message can be the third request message and / or the fourth request message in the above embodiments. If the UE is the first UE, the response message can be the first response message and / or the second response message in the above embodiments; if the UE is the second UE, the response message can be the third response message and / or the fourth response message in the above embodiments. Security information in some embodiments of this disclosure can be the security information in the above embodiments.

[0357] In some embodiments, the UE includes: a first UE; the network device includes: a first AMF and a first PCF;

[0358] Step S131 includes: the first AMF acquiring a first request message sent by the first UE; and based on the first identification information carried in the first request message, sending a second request message carrying second identification information to the first PCF; wherein the first request message and / or the second request message are used to request security information for relay communication discovery between the first UE and the second UE;

[0359] Step S132 includes: the first AMF obtains the second response message sent by the first PCF, and sends the first response message to the first UE based on the second identification information of the second response message; wherein the first response message and / or the second response message carry security information.

[0360] This disclosure provides a relay communication method executed by a network device, the network device including a first AMF and a first PCF, comprising:

[0361] The first AMF obtains the first request message sent by the first UE; and based on the first identification information carried in the first request message, sends the second request message carrying the second identification information to the first PCF; wherein the first request message and / or the second request message are used to request security information discovered for relay communication between the first UE and the second UE;

[0362] The first AMF obtains the second response message sent by the first PCF, and sends the first response message to the first UE based on the second identification information of the second response message; wherein, the first response message and / or the second response message carry security information.

[0363] In some embodiments, the first request message and / or the second request message includes: a relay service code (RSC) indicating the relay service;

[0364] The first response message and / or the second response message include: an intermediate discovery key for RSC, or an intermediate discovery key for RSC and identification information of the intermediate discovery key.

[0365] In some embodiments, the UE includes a second UE; the network device includes: a second AMF, a first PCF, and a second PCF;

[0366] Step S131 includes:

[0367] The second AMF obtains the third request message sent by the second UE; and based on the third identification information carried in the third request message, sends a fourth request message carrying the fourth identification information to the second PCF; wherein, the third request message and / or the fourth request message are used to request security information discovered for relay communication between the first UE and the second UE;

[0368] The second PFC sends the fourth request message to the first PCF;

[0369] Step S132 includes:

[0370] The first PCF sends the fourth response message to the second PCF;

[0371] The second AMF obtains the fourth response message sent by the second PFC; and based on the fourth identification information of the fourth response message, sends the third response message to the second UE; wherein the third response message and / or the fourth response message carry security information.

[0372] This disclosure provides a relay communication method executed by a network device, the network device including a second AMF, a first PCF, and a second PCF, including:

[0373] The second AMF obtains the third request message sent by the second UE; and based on the third identification information carried in the third request message, sends a fourth request message carrying the fourth identification information to the second PCF; wherein, the third request message and / or the fourth request message are used to request security information discovered for relay communication between the first UE and the second UE;

[0374] The second PFC sends the fourth request message to the first PCF.

[0375] The first PCF sends the fourth response message to the second PCF;

[0376] The second AMF obtains the fourth response message sent by the second PFC; and based on the fourth identification information of the fourth response message, sends the third response message to the second UE; wherein the third response message and / or the fourth response message carry security information.

[0377] In some embodiments, the second PFC sends a fourth request message to the first PCF, including:

[0378] The second PCF determines that the second UE is authorized to discover relay services and sends the fourth request message to the first PCF.

[0379] The first PCF sends a fourth response message to the second PCF, including:

[0380] The first PCF determines that the first UE is authorized to provide relay services to the second UE, and sends a fourth response message to the second PCF.

[0381] This disclosure provides a relay communication method, executed by a network device, the network device including a first PCF and a second PCF, comprising:

[0382] The second PCF determines that the second UE is authorized to discover relay services and sends the fourth request message to the first PCF.

[0383] The first PCF determines that the first UE is authorized to provide relay services to the second UE, and sends a fourth response message to the second PCF.

[0384] In some embodiments, the third request message and / or the fourth request message includes: an RSC indicating relay service;

[0385] The third and / or fourth response messages include: an intermediate discovery key for RSC, or an intermediate discovery key for RSC and identification information of the intermediate discovery key.

[0386] The above implementation methods can be specifically described on the first UE, second UE, first AMF, second AMF and / or first PCF side, and will not be repeated here.

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

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

[0389] Example 1:

[0390] like Figure 14 As shown, this disclosure provides a relay communication method executed by a communication device, which includes: a first UE, a second UE, a first AMF, a second AMF, a first PCF, and a second PCF; here, the first UE is a U2N relay, the second UE is a remote UE, the first AMF is the AMF of the U2N relay, the second AMF is the AMF of the remote UE, the first PCF is the PCF of the U2N relay, and the second PCF is the PCF of the remote UE; the relay communication method includes the following steps:

[0391] Here, the PCF of the remote UE is configured with a mapping table between the RSC and the addresses of the PCFs of potential U2N relays that provide RSC indication services.

[0392] Step S1300a: During the service authorization and information provision process, the U2N relay obtains discovery parameters from the PCF of the U2N relay;

[0393] The parameters discovered in step S1300a include at least one RSC; the parameters discovered in step S1300a may be the first set of RSCs in the above embodiments.

[0394] Step S1300b: During the service authorization and information provision process, the remote UE obtains discovery parameters from the remote UE's PCF;

[0395] The parameters discovered in step S1300b include at least one RSC; the parameters discovered in step S1300b may be the second set of RSCs included in the above embodiments.

[0396] Step S1301: The U2N relay sends a first request message to the AMF of the U2N relay. The first request message includes: an RSC indicating the relay service, type indication information indicating the type of the intermediate discovery key (PRDK) to be requested by the PCF of the U2N relay from the relay discovery service, security indication information indicating the security capabilities of the U2N relay, and the SUCI and / or 5G GUTI of the U2N relay.

[0397] Here, the first request message is used to request the intermediate discovery key for the remote UE to perform relay communication discovery with the U2N relay.

[0398] Step S1302: The AMF of the U2N trunk sends a Namf_Communication_N1 message to the PCF of the U2N trunk. The Namf_Communication_N1 message includes: RSC indicating the trunk service, type indication information, security indication information indicating the security capabilities of the U2N trunk, and SUPI of the U2N trunk.

[0399] Here, the Namf_Communication_N1 message in step S1302 can be the second request message in the above embodiment; the Namf_Communication_N1 message is used to request the intermediate discovery key for the remote UE to perform relay communication discovery with the U2N relay.

[0400] In an optional embodiment, prior to step S1302, the method includes: the AMF of the U2N relay determines the SUPI of the U2N relay based on the SUCI and / or 5G GUTI of the U2N relay and a first mapping relationship; wherein the first mapping relationship includes a predefined correspondence between SUCI and SUPI, and / or a predefined correspondence between GUTI and SUPI.

[0401] Step S1303: The PCF of the U2N relay sends security information to the AMF of the U2N relay;

[0402] The security information includes: the intermediate discovery key, the identification information of the intermediate discovery key, the first algorithm identifier indicating the encryption algorithm, the second algorithm identifier indicating the integrity protection algorithm, and the SUPI of the U2N relay.

[0403] Here, sending security information in step S1303 can be: sending a second response message carrying security information.

[0404] In an optional embodiment, prior to step S1303, the method includes: verifying, based on the received RSC, that the U2N relay is the relay service indicated by the authorized service RSC.

[0405] In one alternative embodiment, the security information includes time-related information, wherein the time-related information includes at least one of the following: current time, maximum offset, and valid timer.

[0406] In one optional embodiment, the PCF of the U2N relay generates an intermediate discovery key (PRDK) and its identification information (ID) based on RSC; the PCF of the U2N relay determines an encryption algorithm and an integrity protection algorithm for protecting the discovery message broadcast between the remote UE and the U2N relay based on the security capabilities of the U2N relay.

[0407] Step S1304: The AMF of the U2N relay sends security information to the U2N relay; the security information includes: intermediate discovery key, identification information of intermediate discovery key, first algorithm identifier indicating encryption algorithm and second algorithm identifier indicating integrity protection algorithm;

[0408] Here, sending security information in step S1304 can be: sending a first response message carrying security information.

[0409] In an optional embodiment, prior to step S1304, the AMF of the U2N relay can send security information to which U2N relay based on the SUPI of the U2N relay.

[0410] Step S1305: The remote UE sends a third request message to the remote UE's AMF. The third request message includes: an RSC indicating relay service, type indication information indicating that the remote UE requests the intermediate discovery key (PRDK) for relay discovery from the remote UE's PCF, security indication information indicating the remote UE's security capabilities, and the remote UE's SUCI and / or 5G GUTI.

[0411] Here, the third request message is used to request the intermediate discovery key for the remote UE to perform relay communication discovery with the U2N relay.

[0412] Step S1306: The AMF of the remote UE sends a Namf_Communication_N1 message to the PCF of the remote UE. The Namf_Communication_N1 message includes: RSC indicating relay service, type indication information, security indication information indicating the security capabilities of the remote UE, and SUPI of the remote UE.

[0413] Here, the Namf_Communication_N1 message in step S1306 can be the fourth request message in the above embodiment; the Namf_Communication_N1 message is used to request the intermediate discovery key for the remote UE to perform relay communication discovery with the U2N relay.

[0414] In an optional embodiment, prior to step S1306, the method includes: the AMF of the remote UE determines the SUPI of the remote UE based on the SUCI and / or 5G GUTI of the remote UE and the second mapping relationship; wherein the second mapping relationship includes a predefined correspondence between SUCI and SUPI, and / or a predefined correspondence between GUTI and SUPI.

[0415] Step S1307: The remote UE's PCF verifies that the remote UE is authorized to request the intermediate discovery key of the relay service indicated by the RSC.

[0416] Step S1308: The PCF of the remote UE determines the PCF of the potential U2N relay based on the received RSC, and sends a Namf_Communication_N1 message to the PCF of the U2N relay;

[0417] The Namf_Communication_N1 message includes: an RSC indicating the relay service, type indication information, security indication information indicating the security capabilities of the U2N relay, and a SUPI for the U2N relay.

[0418] Step S1309: The PCF of the U2N relay sends security information to the PCF of the remote UE; wherein, the security information includes: intermediate discovery key, identification information of intermediate discovery key, first algorithm identifier indicating encryption algorithm, second algorithm identifier indicating integrity protection algorithm and SUPI of remote UE.

[0419] Here, sending security information in step S1309 can be: sending a fourth response message carrying security information.

[0420] In an optional embodiment, prior to step S1309, the process includes: the PCF of the U2N relay determining that the relay service authorized to receive the RSC indication can be served by the PCF of the U2N relay.

[0421] In one optional embodiment, the PCF of the U2N relay generates an intermediate discovery key (PRDK) and its identification information (ID) based on RSC; the PCF of the U2N relay determines an encryption algorithm and an integrity protection algorithm for protecting the discovery message broadcast between the remote UE and the U2N relay based on the security capabilities of the U2N relay.

[0422] Here, the security information obtained in step S1309 can also be obtained directly based on the security information obtained in S1304.

[0423] In one alternative embodiment, the security information includes time-related information, wherein the time-related information includes at least one of the following: current time, maximum offset, and valid timer.

[0424] Step S1310: The PCF of the remote UE sends security information to the AMF of the remote UE; wherein, the security information includes: intermediate discovery key, identification information of intermediate discovery key, first algorithm identifier indicating encryption algorithm, second algorithm identifier indicating integrity protection algorithm and SUPI of remote UE.

[0425] Here, sending security information in step S1310 can be: sending a fourth response message carrying security information.

[0426] Step S1311: The AMF of the remote UE sends security information to the remote UE; wherein, the security information includes: intermediate discovery key, identification information of intermediate discovery key, first algorithm identifier indicating encryption algorithm and second algorithm identifier indicating integrity protection algorithm;

[0427] Here, sending security information in step S1311 can be: sending a third response message carrying security information.

[0428] Step S1312: The U2N relay determines the relay discovery key based on the intermediate discovery key, the first algorithm identifier, and the second algorithm identifier; the relay discovery key includes: DUCK and DUIK;

[0429] In an alternative embodiment, the relay discovery key includes DUSK.

[0430] Step S1313: U2N relay broadcasts discovery announcement messages, wherein the discovery announcement messages include discovery announcement messages encrypted using the relay discovery key and encryption algorithm and protected based on an integrity protection algorithm;

[0431] In step S1313, it is discovered that the announcement message can be the first announcement message in the above embodiment.

[0432] Step S1314: The remote UE determines the relay discovery key based on the intermediate discovery key, the first algorithm identifier, and the second algorithm identifier; the relay discovery key includes: DUCK and DUIK;

[0433] Step S1315: The remote UE verifies and decrypts the discovery announcement message based on the relay discovery key;

[0434] Here, in step S1315, the remote UE verifies and decrypts the discovery announcement message based on the relay discovery key to obtain the discovery message.

[0435] Step S1316: The remote UE and U2N relay continue the remaining process of relay service.

[0436] Example 2:

[0437] like Figure 15As shown, this disclosure provides a relay communication method executed by a communication device, which includes: a first UE, a second UE, a first AMF, a second AMF, a first PCF, and a second PCF; here, the first UE is a U2N relay, the second UE is a remote UE, the first AMF is the AMF of the U2N relay, the second AMF is the AMF of the remote UE, the first PCF is the PCF of the U2N relay, and the second PCF is the PCF of the remote UE; the relay communication method includes the following steps:

[0438] Here, the PCF of the remote UE is configured with a mapping table between the RSC and the addresses of the PCFs of potential U2N relays that provide RSC indication services.

[0439] Steps S1400a to S1411 are the same as steps S1300a to S1311 in the above embodiment;

[0440] Step S1412: The U2N relay determines the relay discovery key based on the intermediate discovery key, the first algorithm identifier, and the second algorithm identifier; the relay discovery key includes: DUCK and DUIK;

[0441] In an alternative embodiment, the relay discovery key may include DUSK.

[0442] Step S1413: The remote UE determines the relay discovery key based on the intermediate discovery key, the first algorithm identifier, and the second algorithm identifier; the relay discovery key includes: DUCK and DUIK;

[0443] Step S1414: The remote UE broadcasts a request announcement message, which includes a discovery request message;

[0444] In step S1414, the request announcement message is the second announcement message in the above embodiment. Here, the discovery request message included in this request announcement message is encrypted using a relay discovery key and encryption algorithm and protected based on an integrity protection algorithm.

[0445] Step S1415: The U2N relay decrypts and verifies the request announcement message based on the relay discovery key;

[0446] Step S1416: The U2N relay broadcasts a response announcement message, which includes a discovery response message;

[0447] In step S1416, the response announcement message is the third announcement message in the above embodiments. Here, the discovery response message included in this response announcement message is encrypted using a relay discovery key and encryption algorithm and protected based on an integrity protection algorithm.

[0448] Step S1417: The remote UE decrypts and verifies the response announcement message based on the relay discovery key;

[0449] Step S1418: The remote UE and U2N relay continue the remaining process of relay service.

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

[0451] like Figure 16 As shown, this embodiment of the disclosure provides a relay communication device, executed by a first UE, comprising:

[0452] The first sending module 21 is configured to send a first request message to the first AMF, wherein the first request message is used to request security information for relay communication discovery between the first UE and the second UE;

[0453] The first request message includes the first identification information of the first UE; the first identification information is used by the first AMF to send the second request information for requesting security information to the first PCF corresponding to the first UE.

[0454] This disclosure provides a relay communication device executed by a first UE, comprising: a first receiving module configured to receive a first response message sent by a first AMF, wherein the first response message includes: security information included in a second response message; the second response message is sent by the first PCF based on the second identification information of the first UE included in the second response message.

[0455] In some embodiments, the first identification information includes at least one of the following: SUCI; and GUTI;

[0456] And / or,

[0457] The second identification information includes the SUPI corresponding to the first identification information.

[0458] In some embodiments, the first request message includes: a key request related message; the first response message includes: a key response related message; and the security information includes: an intermediate discovery key.

[0459] In some embodiments, the key request related message includes: an instruction RSC;

[0460] Key response messages include: the intermediate discovery key for RSC, or the intermediate discovery key for RSC and its identification information.

[0461] In some embodiments, the key request related message further includes at least one of the following:

[0462] Type indication information, used to indicate the type of discovery message in relay communication;

[0463] The first security indication information is used to indicate the security capabilities of the first UE.

[0464] In some embodiments, the key response message may also include at least one of the following:

[0465] Algorithm identifier; wherein the algorithm identifier includes at least one of the following:

[0466] The first algorithm identifier is used to indicate the algorithm of the discovery message in the encryption / decryption relay communication;

[0467] The second algorithm identifier is used to indicate the algorithm that performs integrity protection on the discovery message of the relay communication;

[0468] Time-related information is used to determine whether a discovery message in relay communication has been subjected to a replay attack.

[0469] This disclosure provides a relay communication device executed by a first UE, comprising: a first processing module configured to determine a relay discovery key based on an intermediate discovery key; wherein the relay discovery key includes at least one of the following:

[0470] The encryption key DUCK is used to encrypt and decrypt discovery messages in relay communication;

[0471] The integrity guarantee key DUIK is used to protect the integrity of discovery messages in relay communications.

[0472] This disclosure provides a relay communication device, executed by a first UE, comprising:

[0473] The first processing module is configured to determine the relay discovery key based on the intermediate discovery key and the algorithm identifier; or,

[0474] The first processing module is configured to determine the relay discovery key based on the intermediate discovery key, the algorithm identifier, and the RSC.

[0475] This disclosure provides a relay communication device executed by a first UE, comprising: a first sending module 21 configured to send a first announcement message, wherein the first announcement message includes: a discovery message encrypted based on a relay discovery key and protected for integrity; the discovery message is used to indicate to the first UE that it supports being discovered to provide relay services.

[0476] This disclosure provides a relay communication device, executed by a first UE, comprising:

[0477] The first receiving module is configured to receive a second announcement message, wherein the second announcement message includes: a discovery request message encrypted based on a relay discovery key and protected by integrity; the discovery request message is used to request the second UE to discover the requested relay service;

[0478] The first processing module is configured to decrypt and verify the second announcement message based on the relay discovery key to obtain the discovery request message.

[0479] This disclosure provides a relay communication device executed by a first UE, comprising: a first sending module 21 configured to send a third announcement message, wherein the third announcement message includes: a discovery response message encrypted based on a relay discovery key and protected for integrity, wherein the discovery response message is determined based on a discovery request message.

[0480] This disclosure provides a relay communication device executed by a first UE, comprising: a first receiving module configured to receive a first set of RSCs sent by a first AMF; wherein the first set of RSCs includes: at least one first RSC; the first RSC is an RSC for relay services that the first UE can provide.

[0481] like Figure 17 As shown, this disclosure provides a relay communication device, executed by a first AMF, comprising:

[0482] The second receiving module 31 is configured to receive a first request message sent by the first user equipment UE, wherein the first request message is used to request security information for relay communication between the first UE and the second UE.

[0483] The second sending module 32 is configured to send a second request message for requesting security information to the first policy control function (PCF) corresponding to the first identification information, based on the first identification information of the first UE carried in the first request message.

[0484] This disclosure provides a relay communication device, executed by a first AMF, comprising:

[0485] The second receiving module 31 is configured to receive a second response message sent by the first PCF, wherein the second response message includes security information;

[0486] The second sending module 32 is configured to send a first response message carrying security information to the first UE based on the second identification information of the first UE carried in the second response message.

[0487] This disclosure provides a relay communication device executed by a first AMF, comprising: a second processing module configured to determine second identification information corresponding to a first UE based on first identification information and a first mapping relationship; wherein the first mapping relationship includes: the correspondence between the first identification information and the second identification information.

[0488] In some embodiments, the first identification information includes at least one of the following: SUCI and GUTI;

[0489] The second identifier information includes: the user's permanent identifier SUPI.

[0490] In some embodiments, the second request message includes: a key request related message; the second response message includes: a key response related message; and the security information includes: an intermediate discovery key.

[0491] In some embodiments, the key request related message includes: a relay service code (RSC) indicating the relay service;

[0492] Key response messages include: the intermediate discovery key for RSC, or the intermediate discovery key for RSC and its identification information.

[0493] This disclosure provides a relay communication device, executed by a first AMF, comprising:

[0494] The second receiving module 31 is configured to receive a first set of RSCs sent by the first PCF; wherein the first set of RSCs includes at least one first RSC, and the first RSC is an RSC for relay services that the first UE can provide;

[0495] The second transmitting module 32 is configured to transmit the first RSC set to the first UE.

[0496] like Figure 18 As shown, this disclosure provides a relay communication device, executed by a second UE, comprising:

[0497] The third sending module 41 is configured to send a third request message to the second AMF, wherein the third request message is used to request security information discovered during relay communication between the first UE and the second UE;

[0498] The third request message includes the third identification information of the second UE; the third identification information is used by the second AMF to send the fourth request information for requesting security information to the second PCF corresponding to the second UE.

[0499] This disclosure provides a relay communication device executed by a second UE, comprising: a third receiving module configured to receive a third response message sent by a second AMF, wherein the third response message includes: security information included in a fourth response message; the fourth response message is sent by the second PCF based on the fourth identification information of the second UE included in the third response message.

[0500] In some embodiments, the third identification information includes at least one of the following: SUCI; and GUTI;

[0501] And / or,

[0502] The fourth identification information includes the SUPI corresponding to the third identification information.

[0503] In some embodiments, the third request message includes: a key request related message; the third response message includes: a key response related message; and the security information includes: an intermediate discovery key.

[0504] In some embodiments, the key request related message includes: a relay service code (RSC) indicating the relay service;

[0505] Key response messages include: the intermediate discovery key for RSC, or the intermediate discovery key for RSC and its identification information.

[0506] In some embodiments, the key request message may also include at least one of the following:

[0507] Type indication information, used to indicate the type of discovery message in relay communication;

[0508] The second security indication information is used to indicate the security capabilities of the second UE.

[0509] In some embodiments, the key response related message includes at least one of the following:

[0510] Algorithm identifier; wherein the algorithm identifier includes at least one of the following:

[0511] The first algorithm identifier is used to indicate the algorithm of the discovery message in the encryption / decryption relay communication;

[0512] The second algorithm identifier is used to indicate the algorithm that performs integrity protection on the discovery message of the relay communication;

[0513] Time-related information is used to determine whether a discovery message in relay communication has been subjected to a replay attack.

[0514] This disclosure provides a relay communication device executed by a second UE, comprising: a third processing module configured to determine a relay discovery key based on an intermediate discovery key; wherein the relay discovery key includes at least one of the following:

[0515] The encryption key DUCK is used to encrypt and decrypt discovery messages in relay communication;

[0516] The integrity guarantee key DUIK is used to protect the integrity of discovery messages in relay communications.

[0517] This disclosure provides a relay communication device, executed by a second UE, comprising:

[0518] The third processing module is configured to determine the relay discovery key based on the intermediate discovery key and the algorithm identifier; or,

[0519] The third processing module is configured to determine the relay discovery key based on the intermediate discovery key, algorithm identifier, and RSC.

[0520] This disclosure provides a relay communication device, executed by a second UE, comprising:

[0521] The third receiving module is configured to receive a first announcement message, wherein the first announcement message includes: a discovery message encrypted based on a relay discovery key and protected by integrity; the discovery message is used to indicate that the first UE supports discovery to provide relay services;

[0522] The third processing module is configured to decrypt and verify the first announcement message based on the relay discovery key to obtain the discovery message.

[0523] This disclosure provides a relay communication device executed by a second UE, comprising: a third sending module 41 configured to send a second announcement message, wherein the second announcement message includes: a discovery request message encrypted based on a relay discovery key and protected for integrity; the discovery request message is used to request the second UE to discover the requested relay service.

[0524] This disclosure provides a relay communication device, executed by a second UE, comprising:

[0525] The third receiving module is configured to receive a third announcement message, wherein the third announcement message includes: a discovery response message encrypted based on the relay discovery key and protected by integrity, wherein the discovery response message is determined based on the discovery request message;

[0526] The third processing module is configured to decrypt and verify the third announcement message based on the relay discovery key to obtain the discovery response message.

[0527] This disclosure provides a relay communication device executed by a second UE, comprising: a third receiving module configured to receive a second set of RSCs sent by a second AMF; wherein the second set of RSCs includes: at least one second RSC; the second RSC is an RSC of a relay service that the second UE can obtain.

[0528] like Figure 19 As shown, this disclosure provides a relay communication device, executed by a second AMF, comprising:

[0529] The fourth receiving module 51 is configured to receive a third request message sent by the second user equipment UE, wherein the third request message is used to request security information for relay communication between the first UE and the second UE.

[0530] The fourth sending module 52 is configured to send a fourth request message for requesting security information to the second policy control function PCF corresponding to the third identification information, based on the third identification information of the second UE carried in the third request message.

[0531] This disclosure provides a relay communication device, executed by a second AMF, comprising:

[0532] The fourth receiving module 51 is configured to receive a fourth response message sent by the second PCF, wherein the fourth response message includes security information;

[0533] The fourth sending module 52 is configured to send a third response message carrying security information to the second UE based on the fourth identification information of the second UE carried in the fourth response message.

[0534] This disclosure provides a relay communication device executed by a second AMF, comprising: a fourth processing module configured to determine fourth identification information corresponding to a second UE based on third identification information and a second mapping relationship; wherein the second mapping relationship includes: the correspondence between the third identification information and the fourth identification information.

[0535] In some embodiments, the third identification information includes at least one of the following: SUCI and GUTI;

[0536] The fourth identification information includes: SUPI.

[0537] In some embodiments, the fourth request message includes: a key request related message; the fourth response message includes: a key response related message; and the security information includes: an intermediate discovery key.

[0538] In some embodiments, the key request related message includes: a relay service code (RSC) indicating the relay service;

[0539] Key response messages include: the intermediate discovery key for RSC, or the intermediate discovery key for RSC and its identification information.

[0540] This disclosure provides a relay communication device, executed by a second AMF, comprising:

[0541] The fourth receiving module 51 is configured to receive a second set of RSCs sent by the second PCF; wherein the second set of RSCs includes at least one second RSC, and the second RSC is an RSC of a relay service that the second UE can obtain;

[0542] The fourth transmitting module 52 is configured to transmit the second RSC set to the second UE.

[0543] like Figure 20 As shown, this disclosure provides a relay communication device, executed by a first PCF, comprising:

[0544] The fifth receiving module 61 is configured to receive a second request message sent by the first AMF and / or receive a fourth request message sent by the second PCF, wherein the second request message and / or the fourth request message are used to request security information for relay communication discovery between the first UE and the second UE.

[0545] In some embodiments, the second request message includes second identification information of the first UE.

[0546] This disclosure provides a relay communication device executed by a first PCF, comprising: a fifth transmitting module configured to send a second response message to the first AMF, wherein the second response message includes second identification information and security information.

[0547] In some embodiments, the fourth request message includes the fourth identification information of the second UE;

[0548] This disclosure provides a relay communication device executed by a first PCF, comprising: a fifth transmitting module configured to send a fourth response message to a second PCF, wherein the fourth response message includes fourth identification information and security information.

[0549] In some embodiments, the second request message and / or the fourth request message include: a key request related message; the second response message and / or the fourth response message include: a key response related message; and the security information includes: the security information includes: an intermediate discovery key.

[0550] In some embodiments, the key request related message includes: an RSC indicating the relay service;

[0551] Key response messages include: an intermediate discovery key for RSC, or an intermediate information key for RSC and identification information of the intermediate information key.

[0552] This disclosure provides a relay communication device executed by a first PCF, comprising: a fifth transmitting module configured to send a key response related message to the second PCF in response to determining that an authorization is granted for a first UE to provide relay services to a second UE.

[0553] This disclosure provides a relay communication device executed by a first PCF, comprising: a fifth transmitting module configured to transmit a first RSC set to a first AMF; wherein the first RSC set includes: at least one first RSC, the first RSC being an RSC for relay services that a first UE can provide.

[0554] like Figure 21 As shown, this disclosure provides a relay communication device, executed by a second PCF, comprising:

[0555] The sixth receiving module 71 is configured to receive a fourth request message sent by the second AMF, wherein the fourth request message is used to request security information for relay communication discovery between the first user equipment UE and the second UE;

[0556] The sixth sending module 72 is configured to send a fourth request message to the first PCF for requesting security information.

[0557] This disclosure provides a relay communication device executed by a second PCF, including: a sixth sending module 72 configured to send a fourth request message for requesting security information to a first PCF if it is determined that a second UE is authorized to discover a relay service.

[0558] In some embodiments, the fourth request message includes the fourth identification information of the second UE;

[0559] This disclosure provides a relay communication device executed by a second PCF, including: a sixth transmitting module 72 configured to send a fourth response message to a first AMF, wherein the fourth response information includes fourth identification information and security information.

[0560] In some embodiments, the fourth request message includes: a key request related message; the fourth response message includes: a key response related message; and the security information includes: an intermediate discovery key.

[0561] In some embodiments, the key request related message includes: an RSC indicating the relay service;

[0562] Key response messages include: the intermediate discovery key for RSC, or the intermediate discovery key for RSC and its identification information.

[0563] This disclosure provides a relay communication device executed by a second PCF, comprising: a sixth transmitting module 72 configured to transmit a second RSC set to a second AMF; wherein the second RSC set includes: at least one second RSC, the second RSC being an RSC of a relay service that a second UE can obtain.

[0564] like Figure 22 As shown, this disclosure provides a relay communication device applied to network equipment, including:

[0565] The seventh receiving module 81 is configured to acquire a request message sent by the UE; wherein the request message carries the UE's identification information; the request message is used to request security information for relay communication discovery between the UE and the UE.

[0566] The seventh sending module 82 is configured to send a response message carrying security information to the UE.

[0567] This disclosure provides a relay communication device applied to a network device, the network device including a first AMF and a first PCF; wherein...

[0568] The first AMF obtains a first request message sent by the first UE; and based on the first identification information carried in the first request message, sends a second request message carrying second identification information to the first PCF; wherein the first request message and / or the second request message are used to request security information discovered for relay communication between the first UE and the second UE;

[0569] The first AMF obtains the second response message sent by the first PCF, and sends the first response message to the first UE based on the second identification information of the second response message; wherein, the first response message and / or the second response message carry security information.

[0570] In some embodiments, the first request message and / or the second request message includes: a relay service code (RSC) indicating the relay service;

[0571] The first response message and / or the second response message include: an intermediate discovery key for RSC, or an intermediate discovery key for RSC and identification information of the intermediate discovery key.

[0572] This disclosure provides a relay communication device applied to a network device, the network device including a second AMF, a first PCF, and a second PCF; wherein...

[0573] The second AMF obtains the third request message sent by the second UE; and based on the third identification information carried in the third request message, sends a fourth request message carrying the fourth identification information to the second PCF; wherein, the third request message and / or the fourth request message are used to request security information discovered for relay communication between the first UE and the second UE;

[0574] The second PFC sends the fourth request message to the first PCF;

[0575] The first PCF sends the fourth response message to the second PCF;

[0576] The second AMF obtains the fourth response message sent by the second PFC; and based on the fourth identification information of the fourth response message, sends the third response message to the second UE; wherein the third response message and / or the fourth response message carry security information.

[0577] This disclosure provides a relay communication device applied to a network device, the network device including a first PCF and a second PCF; wherein...

[0578] The second PCF determines that the second UE is authorized to discover relay services and sends the fourth request message to the first PCF.

[0579] The first PCF determines that the first UE is authorized to provide relay services to the second UE, and sends a fourth response message to the second PCF.

[0580] In some embodiments, the third request message and / or the fourth request message includes: an RSC indicating relay service;

[0581] The third and / or fourth response messages include: an intermediate discovery key for RSC, or an intermediate discovery key for RSC and identification information of the intermediate discovery key.

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

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

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

[0585] processor;

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

[0587] The processor is configured to implement the positioning method of any embodiment of this disclosure when running executable instructions.

[0588] In one embodiment, the communication device may include, but is not limited to, at least one of: a core network device, an access network device, and a UE. The UE may be the first UE or the second UE in the above embodiments; the core network device may be the first AMF, the second AMF, the first PCF, or the second PCF in the above embodiments.

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

[0590] The processor can connect to memory via a bus or similar means to read executable programs stored in memory, for example... Figures 4 to 15 At least one of the methods shown.

[0591] This disclosure also provides a computer storage medium storing a computer-executable program, which, when executed by a processor, implements the positioning method of any embodiment of this disclosure. For example, such as... Figures 4 to 15 At least one of the methods shown.

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

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

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

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

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

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

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

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

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

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

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

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

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

[0605] like Figure 24 As shown, one embodiment of this disclosure illustrates the structure of a base station. For example, base station 900 can be provided as a network-side device. (Refer to...) Figure 24 The base station 900 includes a processing component 922, which further includes one or more processors, and memory resources represented by a memory 932 for storing instructions, such as application programs, that can be executed by the processing component 922. The application programs stored in the memory 932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 922 is configured to execute instructions to perform any of the methods described above applied to the base station.

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

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

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

Claims

1. A relay communication method, wherein, Performed by the first user equipment (UE), including: A first request message is sent to the first access and mobility management function (AMF), wherein the first request message is used to request security information for relay communication discovery between the first UE and the second UE; wherein the first request message includes first identification information of the first UE and key request related messages; the first identification information is used by the first AMF to send second request information for requesting the security information to the first policy control function (PCF) corresponding to the first UE; the key request related messages include: a relay service code (RSC) indicating relay service; The system receives a first response message sent by the first AMF, wherein the first response message includes: the security information and key response related message included in the second response message; the security information includes an intermediate discovery key; the key response related message includes: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key; wherein the first response message is sent by the first AMF based on the second identification information of the first UE carried in the second response message; The relay discovery key is determined based on the intermediate discovery key; Send a first announcement message, wherein the first announcement message includes: a discovery message encrypted and protected for integrity based on the relay discovery key; the discovery message is used to indicate that the first UE supports being discovered to provide relay services.

2. The method according to claim 1, wherein, The first identification information includes at least one of the following: User-subscribed identifier SUCI is hidden. Globally unique temporary identifier (GUTI); And / or, The second identification information includes the user's permanent subscription identifier (SUPI) corresponding to the first identification information.

3. The method according to claim 1, wherein, The key request related message also includes at least one of the following: Type indication information, used to indicate the type of discovery message in relay communication; The first security indication information is used to indicate the security capabilities of the first UE.

4. The method according to claim 1, wherein, The key response related message also includes at least one of the following: Algorithm identifier; wherein the algorithm identifier includes at least one of the following: The first algorithm identifier is used to indicate the algorithm of the discovery message in the encryption / decryption relay communication; The second algorithm identifier is used to indicate the algorithm that performs integrity protection on the discovery message of the relay communication; Time-related information is used to determine whether a relay communication discovery message has been subjected to a replay attack.

5. The method according to claim 1, wherein, The relay discovery key includes at least one of the following: The encryption key DUCK is used to encrypt and decrypt discovery messages in relay communication; The integrity guarantee key DUIK is used to protect the integrity of discovery messages in relay communications.

6. The method according to claim 5, wherein, The determination of the relay discovery key based on the intermediate discovery key includes one of the following: The relay discovery key is determined based on the intermediate discovery key and the algorithm identifier; The relay discovery key is determined based on the intermediate discovery key, algorithm identifier, and RSC.

7. The method according to claim 5, wherein, The method includes: Receive a second announcement message, wherein the second announcement message includes: a discovery request message encrypted and protected for integrity based on the relay discovery key; the discovery request message is used to request the second UE to discover the requested relay service; The discovery request message is obtained by decrypting and verifying the second announcement message based on the relay discovery key.

8. The method according to claim 7, wherein, The method includes: Send a third announcement message, wherein the third announcement message includes: a discovery response message encrypted and protected for integrity based on the relay discovery key, wherein the discovery response message is determined based on the discovery request message.

9. The method according to any one of claims 1 to 8, wherein, The method includes: Receive a first set of RSCs sent by the first AMF; wherein the first set of RSCs includes: at least one first RSC; the first RSC is an RSC for relay services that the first UE can provide.

10. A relay communication method, wherein, Performed by the first access and mobility management function (AMF), including: The system receives a first request message sent by a first user equipment (UE), wherein the first request message is used to request security information for relay communication discovery between the first UE and the second UE; the first request message includes first identification information of the first UE and key request related messages; the key request related messages include: a relay service code (RSC) indicating relay service; Based on the first identification information of the first UE carried in the first request message, a second request message for requesting the security information is sent to the first policy control function (PCF) corresponding to the first identification information; the second request message includes: the second identification information of the first UE and a key request related message; the key request related message includes: an RSC indicating relay service; The system receives a second response message sent by the first PCF, wherein the second response message includes: the second identification information, the security information, and a key response related message; the security information includes an intermediate discovery key; the key response related message includes: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key; Based on the second identification information of the first UE carried in the second response message, a first response message carrying the security information and the key response related message is sent to the first UE.

11. The method according to claim 10, wherein, The method includes: Based on the first identification information and the first mapping relationship, the second identification information corresponding to the first UE is determined; wherein, the first mapping relationship includes: the correspondence between the first identification information and the second identification information.

12. The method according to claim 10 or 11, wherein, The first identification information includes at least one of the following: the user-subscribed hidden identifier SUCI, and the globally unique temporary identifier GUTI; The second identification information includes: the user's permanent identification SUPI.

13. The method according to claim 10, wherein, The method includes: Receive a first set of RSCs sent by the first PCF; wherein the first set of RSCs includes: at least one first RSC, the first RSC being an RSC for relay services that the first UE can provide; The first RSC set is sent to the first UE.

14. A relay communication method, wherein, Performed by the second user equipment (UE), including: Send a third request message to the second access and mobility management function (AMF), wherein the third request message is used to request security information for relay communication discovery between the first UE and the second UE; The third request message includes the third identification information of the second UE and a key request related message; the third identification information is used by the second AMF to send a fourth request message for requesting the security information to the second policy control function PCF corresponding to the second UE; the key request related message includes: a relay service code RSC indicating relay service; The system receives a third response message sent by the second AMF, wherein the third response message includes: the security information and key response related message included in the fourth response message; the security information includes an intermediate discovery key; the key response related message includes: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key; wherein the third response message is sent by the second AMF based on the fourth identification information of the second UE carried in the fourth response message; The relay discovery key is determined based on the intermediate discovery key; Receive a first announcement message, wherein the first announcement message includes: a discovery message encrypted and protected for integrity based on the relay discovery key; the discovery message is used to indicate that the first UE supports being discovered to provide relay services; The discovery message is obtained by decrypting and verifying the first announcement message based on the relay discovery key.

15. The method according to claim 14, wherein, The third identification information includes at least one of the following: User-subscribed identifier SUCI is hidden. Globally unique temporary identifier (GUTI); And / or, The fourth identification information includes the user's permanent subscription identifier SUPI, which corresponds to the third identification information.

16. The method of claim 14, wherein, The key request related message also includes at least one of the following: Type indication information, used to indicate the type of discovery message in relay communication; The second security indication information is used to indicate the security capabilities of the second UE.

17. The method of claim 14, wherein, The key response related message includes at least one of the following: Algorithm identifier; wherein the algorithm identifier includes at least one of the following: The first algorithm identifier is used to indicate the algorithm of the discovery message in the encryption / decryption relay communication; The second algorithm identifier is used to indicate the algorithm that performs integrity protection on the discovery message of the relay communication; Time-related information is used to determine whether a relay communication discovery message has been subjected to a replay attack.

18. The method according to claim 14, wherein, The relay discovery key includes at least one of the following: The encryption key DUCK is used to encrypt and decrypt discovery messages in relay communication; The integrity guarantee key DUIK is used to protect the integrity of discovery messages in relay communications.

19. The method according to claim 18, wherein, The determination of the relay discovery key based on the intermediate discovery key includes one of the following: The relay discovery key is determined based on the intermediate discovery key and the algorithm identifier; The relay discovery key is determined based on the intermediate discovery key, algorithm identifier, and RSC.

20. The method according to claim 18, wherein, The method includes: Send a second announcement message, wherein the second announcement message includes: a discovery request message encrypted and protected for integrity based on the relay discovery key; the discovery request message is used to request the second UE to discover the requested relay service.

21. The method according to claim 20, wherein, The method includes: Receive a third announcement message, wherein the third announcement message includes: a discovery response message encrypted and protected for integrity based on the relay discovery key, wherein the discovery response message is determined based on the discovery request message; The discovery response message is obtained by decrypting and verifying the third announcement message based on the relay discovery key.

22. The method according to any one of claims 14 to 21, wherein, The method includes: The second set of RSCs sent by the second AMF is received; wherein the second set of RSCs includes at least one second RSC; the second RSC is an RSC of a relay service that the second UE can obtain.

23. A relay communication method, wherein, Performed by the second access and mobility management function (AMF), including: The system receives a third request message sent by a second user equipment (UE), wherein the third request message is used to request security information for relay communication discovery between the first UE and the second UE; the third request message includes the third identification information of the second UE and a key request related message; the key request related message includes: a relay service code (RSC) indicating relay service; Based on the third identification information of the second UE carried in the third request message, a fourth request message for requesting the security information is sent to the second policy control function (PCF) corresponding to the third identification information; the fourth request message includes: a key request related message; the key request related message includes: a relay service code (RSC) indicating relay service; Receive a fourth response message sent by the second PCF, wherein the fourth response message includes the security information and key response related messages; the security information includes an intermediate discovery key; the key response related messages include: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key; Based on the fourth identification information of the second UE carried in the fourth response message, a third response message carrying the security information and the key response related message is sent to the second UE.

24. The method according to claim 23, wherein, The method includes: Based on the third identification information and the second mapping relationship, the fourth identification information corresponding to the second UE is determined; wherein, the second mapping relationship includes the correspondence between the third identification information and the fourth identification information.

25. The method according to claim 23 or 24, wherein, The third identification information includes at least one of the following: the user-subscribed hidden identifier SUCI, and the globally unique temporary identifier GUTI; The fourth identification information includes: the user's permanent identification SUPI.

26. The method according to claim 23, wherein, The method includes: Receive a second set of RSCs sent by the second PCF; wherein the second set of RSCs includes: at least one second RSC, the second RSC being an RSC of a relay service that the second UE can obtain; The second RSC set is sent to the second UE.

27. A relay communication method, wherein, Performed by the first policy control function (PCF), including: The system receives a second request message sent by a first access and mobility management function (AMF), wherein the second request message is used to request security information for relay communication discovery between a first user equipment (UE) and a second UE; the second request message includes: second identification information of the first UE and key request related messages; the key request related messages include: a relay service code (RSC) indicating relay service; The system receives a fourth request message sent by the second PCF. The fourth request message is used to request security information for relay communication discovery between the first UE and the second UE. The fourth request message includes: the fourth identification information of the second UE and a key request related message. The key request related message includes: a relay service code (RSC) indicating the relay service. A second response message is sent to the first AMF, wherein the second response message includes: the second identification information, the security information, and a key response related message; the security information includes an intermediate discovery key; the key response related message includes: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key.

28. The method of claim 27, wherein the method comprises: A fourth response message is sent to the second PCF, wherein the fourth response message includes the fourth identification information, the security information, and key response related messages; the security information includes an intermediate discovery key; the key response related messages include: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key.

29. The method according to claim 28, wherein, Sending a fourth response message to the second PCF includes: In response to determining that the first UE is authorized to provide the relay service to the second UE, the key response related message is sent to the second PCF.

30. The method according to any one of claims 27 to 29, wherein, The method includes: Send a first set of RSCs to the first AMF; wherein the first set of RSCs includes: at least one first RSC, the first RSC being an RSC for a relay service that the first UE can provide.

31. A relay communication method, wherein, Performed by the second policy control function PCF, including: The system receives a fourth request message from the second access and mobility management function (AMF), wherein the fourth request message is used to request security information for relay communication discovery between the first user equipment (UE) and the second UE; the fourth request message includes the fourth identification information of the second UE and a key request related message; the key request related message includes: a relay service code (RSC) indicating the relay service; Send a fourth request message to the first PCF to request the security information; A fourth response message is sent to the second AMF, wherein the fourth response message includes the fourth identification information, the security information, and a key response related message; the security information includes an intermediate discovery key; and the key response related message includes: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key.

32. The method according to claim 31, wherein, Sending a fourth request message to the first PCF to request the security information includes: If it is determined that the second UE is authorized to discover relay services, the fourth request message for requesting the security information is sent to the first PCF.

33. The method according to claim 31, wherein, The method includes: Send a second set of RSCs to the second AMF; wherein the second set of RSCs includes at least one second RSC, the second RSC being an RSC of a relay service that the second UE can obtain.

34. A relay communication method, wherein, Performed by network devices, including: Obtain a request message sent by a user equipment (UE); wherein the request message carries the identification information of the UE; the request message is used to request security information for relay communication discovery between the UE and the UE; the request message includes: a relay service code (RSC) indicating relay service; Send a response message carrying the security information to the UE; the response message includes: an intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key.

35. The method according to claim 34, wherein, The network device includes: a first access and mobility management function (AMF) and a first policy control function (PCF); The step of obtaining the request message sent by the user equipment (UE) includes: The first AMF acquires a first request message sent by the first UE; and based on the first identification information carried in the first request message, sends a second request message carrying second identification information to the first PCF; wherein, the first request message and / or the second request message are used to request the security information discovered by the first UE and the second UE for relay communication. Sending a response message carrying the security information to the UE includes: The first AMF obtains the second response message sent by the first PCF, and sends the first response message to the first UE based on the second identification information of the second response message; wherein the security information is carried in the first response message and / or the second response message.

36. The method according to claim 35, wherein, The network equipment includes: a second AMF, a first PCF, and a second PCF; The step of obtaining the request message sent by the user equipment (UE) includes: The second AMF obtains the third request message sent by the second UE; and based on the third identification information carried in the third request message, sends a fourth request message carrying fourth identification information to the second PCF; wherein, the third request message and / or the fourth request message are used to request the security information discovered by the first UE and the second UE for relay communication. The second PFC sends the fourth request message to the first PCF; Sending a response message carrying the security information to the UE includes: The first PCF sends the fourth response message to the second PCF; The second AMF acquires the fourth response message sent by the second PFC; and based on the fourth identification information of the fourth response message, sends a third response message to the second UE; wherein the third response message and / or the fourth response message carry the security information.

37. The method of claim 36, wherein, The second PFC sends the fourth request message to the first PCF, including: The second PCF determines that it authorizes the second UE to discover relay services and sends the fourth request message to the first PCF; The first PCF sends a fourth response message to the second PCF, including: The first PCF determines that it authorizes the first UE to provide relay services to the second UE, and sends the fourth response message to the second PCF.

38. A relay communication device, wherein, Applied to the first user equipment (UE), including: A first sending module is configured to send a first request message to a first access and mobility management function (AMF), wherein the first request message is used to request security information for relay communication discovery between the first UE and the second UE; wherein the first request message includes first identification information of the first UE and key request related messages; the first identification information is used by the first AMF to send second request information for requesting the security information to a first policy control function (PCF) corresponding to the first UE; the key request related messages include: a relay service code (RSC) indicating relay service; A first receiving module is configured to receive a first response message sent by the first AMF, wherein the first response message includes: the security information and key response related message included in the second response message; the security information includes an intermediate discovery key; the key response related message includes: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key; wherein the first response message is sent by the first AMF based on the second identification information of the first UE carried in the second response message; The first processing module is configured to determine the relay discovery key based on the intermediate discovery key; The first sending module is further configured to send a first announcement message, wherein the first announcement message includes: a discovery message encrypted based on the relay discovery key and protected by integrity; the discovery message is used to indicate that the first UE supports being discovered to provide relay services.

39. A relay communication device, wherein, Applied to the first access and mobility management function (AMF), including: The second receiving module is configured to receive a first request message sent by a first user equipment (UE), wherein the first request message is used to request security information for relay communication discovery between the first UE and the second UE; the first request message includes first identification information of the first UE and key request related messages; the key request related messages include: a relay service code (RSC) indicating relay service; The second sending module is configured to send a second request message for requesting security information to a first policy control function (PCF) corresponding to the first identification information, based on the first identification information of the first UE carried in the first request message; the second request message includes: the second identification information of the first UE and a key request related message; the key request related message includes: an RSC indicating relay service; The second receiving module is further configured to receive a second response message sent by the first PCF, wherein the second response message includes: the second identification information, the security information, and key response related messages; the security information includes an intermediate discovery key; the key response related messages include: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key; The second sending module is further configured to send a first response message carrying the security information and the key response related message to the first UE based on the second identification information of the first UE carried in the second response message.

40. A relay communication device, wherein, Applied to the second user equipment (UE), including: The third sending module is configured to send a third request message to the second access and mobility management function (AMF), wherein the third request message is used to request security information for relay communication discovery between the first UE and the second UE; wherein the third request message includes the third identification information of the second UE and a key request related message; the third identification information is used by the second AMF to send a fourth request message for requesting the security information to the second policy control function (PCF) corresponding to the second UE; the key request related message includes: a relay service code (RSC) indicating relay service; The third receiving module is configured to receive a third response message sent by the second AMF, wherein the third response message includes: the security information and key response related message included in the fourth response message; the security information includes an intermediate discovery key; the key response related message includes: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key; wherein the third response message is sent by the second AMF based on the fourth identification information of the second UE carried in the fourth response message; The third processing module is configured to determine the relay discovery key based on the intermediate discovery key; The third receiving module is further configured to receive a first announcement message, wherein the first announcement message includes: a discovery message encrypted based on the relay discovery key and protected by integrity; the discovery message is used to indicate that the first UE supports being discovered to provide relay services; The third processing module is further configured to decrypt and verify the first announcement message based on the relay discovery key to obtain the discovery message.

41. A relay communication device, wherein, Applied to the second access and mobility management function (AMF), including: The fourth receiving module is configured to receive a third request message sent by the second user equipment (UE), wherein the third request message is used to request security information for relay communication discovery between the first UE and the second UE; the third request message includes the third identification information of the second UE and a key request related message; the key request related message includes: a relay service code (RSC) indicating relay service; The fourth sending module is configured to send a fourth request message for requesting security information to the second policy control function (PCF) corresponding to the third identification information, based on the third identification information of the second UE carried in the third request message; the fourth request message includes: a key request related message; the key request related message includes: a relay service code (RSC) indicating relay service; The fourth receiving module is further configured to receive a fourth response message sent by the second PCF, wherein the fourth response message includes the security information and key response related messages; the security information includes an intermediate discovery key; the key response related messages include: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key; The fourth sending module is further configured to send a third response message carrying the security information and the key response related message to the second UE based on the fourth identification information of the second UE carried in the fourth response message.

42. A relay communication device, wherein, Applied to the first policy control function (PCF), including: The fifth receiving module is configured to receive a second request message sent by the first access and mobility management function (AMF), wherein the second request message is used to request security information for relay communication discovery between the first user equipment (UE) and the second UE; the second request message includes: second identification information of the first UE and key request related messages; the key request related messages include: a relay service code (RSC) indicating relay service; The fifth receiving module is further configured to receive a fourth request message sent by the second PCF. The fourth request message is used to request security information for relay communication discovery between the first UE and the second UE. The fourth request message includes: the fourth identification information of the second UE and a key request related message. The key request related message includes: a relay service code (RSC) indicating relay service. The fifth sending module is configured to send a second response message to the first AMF, wherein the second response message includes: the second identification information, the security information, and key response related messages; the security information includes an intermediate discovery key; the key response related messages include: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key.

43. A relay communication device, wherein, Applied to the second policy control function PCF, including: The sixth receiving module is configured to receive a fourth request message sent by the second access and mobility management function (AMF), wherein the fourth request message is used to request security information for relay communication discovery between the first user equipment (UE) and the second UE; the fourth request message includes the fourth identification information of the second UE and a key request related message; the key request related message includes: a relay service code (RSC) indicating relay service; The sixth sending module is configured to send a fourth request message to the first PCF for requesting the security information; The sixth sending module is further configured to send a fourth response message to the second AMF, wherein the fourth response message includes the fourth identification information, the security information, and a key response related message; the security information includes an intermediate discovery key; and the key response related message includes: the intermediate discovery key for the RSC, or the intermediate discovery key for the RSC and the identification information of the intermediate discovery key.

44. A communication device, wherein, The communication device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to, when running the executable instructions, implement the relay communication method according to any one of claims 1 to 9, or claims 10 to 13, 14 to 22, 23 to 26, 27 to 29, 31 to 33, or 34 to 37.

45. A computer storage medium, wherein, The computer storage medium stores a computer-executable program, which, when executed by a processor, implements the relay communication method according to any one of claims 1 to 9, or claims 10 to 13, 14 to 22, 23 to 26, 27 to 29, 31 to 33, or 34 to 37.

Citation Information

Patent Citations

  • Method for establishing connection and acquiring relay service code and communication device

    CN113133085A