Information processing method and apparatus, communication device, and storage medium

CN117882350BActive Publication Date: 2026-05-26BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2022-08-11
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In adjacent services, U2U relays, as untrusted communication nodes, may lead to man-in-the-middle attacks (MIMT), and existing technologies are unable to effectively solve this security problem.

Method used

The first UE sends a request message to the network device to obtain the relay service permissions and security parameters indicated by the relay service code RSC, thereby realizing UE-to-UE relay discovery and secure connection.

Benefits of technology

This reduces the risk of man-in-the-middle attacks caused by untrusted nodes during U2U relay communication, thus improving the security of U2U relay communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117882350B_ABST
    Figure CN117882350B_ABST
Patent Text Reader

Abstract

This disclosure provides an information processing method and apparatus, a communication device, and a storage medium. The information processing method executed by a first UE may include: sending a request message to a network device, wherein the request message includes at least an RSC; and receiving a response message returned by the network device based on the request message, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Proximity services (ProSe) allow user equipment (UE) to discover each other via UE-to-UE (U2U) relays (i.e., relay devices). That is, if a source UE cannot communicate directly with a target UE, it can do so by discovering a U2U relay. This process may trigger a discovery process between UEs. However, since a U2U relay is essentially an untrusted communication node, it can potentially lead to man-in-the-middle attacks (MIMT). Summary of the Invention

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

[0004] A first aspect of this disclosure provides an information processing method, executed by a first UE, the method comprising:

[0005] Send a request message to the network device, wherein the request message includes at least: Relay Service Code (RSC);

[0006] The network device receives a response message based on the request message, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery.

[0007] A second aspect of this disclosure provides an information processing method, executed by a network device, the method comprising:

[0008] Receive a request message from a first UE, wherein the request message includes at least: a Relay Service Code (RSC);

[0009] A response message is sent to the first UE according to the RSC, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery.

[0010] A third aspect of this disclosure provides an information processing apparatus, the apparatus comprising:

[0011] The first sending module is configured to send a request message to a network device, wherein the request message includes at least: a Relay Service Code (RSC);

[0012] The first receiving module is configured to receive a response message returned by the network device based on the request message, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery.

[0013] A fourth aspect of this disclosure provides an information processing apparatus, executed by a network device, the apparatus comprising:

[0014] The second receiving module is configured to receive a request message from the first UE, wherein the request message includes at least: a relay service code (RSC).

[0015] The second sending module is configured to send a response message to the first UE according to the RSC, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery.

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

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

[0018] The technical solution provided in this disclosure embodiment allows the first UE to obtain security parameters from the network device. These security parameters can be used by the source UE and the target UE to establish relay connections with the relay UE, thereby reducing problems such as MIMT attacks caused by the relay UE being an untrusted node during U2U relay communication and thus improving the security of U2U relay communication.

[0019] 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

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

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

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

[0023] Figure 3A This is a flowchart illustrating an information processing method according to an exemplary embodiment;

[0024] Figure 3B This is a flowchart illustrating an information processing method according to an exemplary embodiment;

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

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

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

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

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

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

[0031] Figure 10 This is a schematic diagram of the structure of an information processing apparatus according to an exemplary embodiment;

[0032] Figure 11 This is a schematic diagram of the structure of an information processing apparatus according to an exemplary embodiment;

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

[0034] Figure 13 This is a schematic diagram of the structure of a network device according to an exemplary embodiment. Detailed Implementation

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

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

[0037] 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, words used herein may be interpreted as meaning "when," "when," or "in response to a determination."

[0038] It should be noted that, unless otherwise stated, the same parameters / terms have the same meaning in different embodiments, and therefore will not be described separately in each embodiment.

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

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

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

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

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

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

[0045] S1110: Send a request message to the network device, wherein the request message includes at least: a Relay Service Code (RSC). For example, the RSC is used to identify a relay service;

[0046] S1120: Receive a response message returned by the network device based on the request message, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery.

[0047] For example, the request message is used to request security parameters for the network device to establish UE-to-UE relay communication and / or to authenticate whether the first UE has the RSC indication relay service permission carried in the request message. The relay UE can establish connections with both the source UE and the target UE to act as a relay for UE-to-UE relay communication between the source UE and the target UE. For another example, if the response message includes the security parameters, then the response message is used to indicate permission to establish UE-to-UE relay communication.

[0048] The first UE can be a source UE, a target UE, or a relay UE that communicates via a PC5 interface or an SR5 interface. Here, the relay UE is a relay device for U2U communication between the source UE and the target UE. The relay UE can establish connections with both the source UE and the target UE to act as a relay for UE-to-UE relay communication between them.

[0049] In some embodiments, the source UE, the target UE, and the relay UE may be connected to the same network device that can provide security parameters, or they may be connected to different network devices that can provide security parameters.

[0050] For example, in this embodiment of the disclosure, the first UE can send a request message to a network device, which can be any network device that can configure security parameters for the first UE. For example, the network device can be a core network device. This core network device includes, but is not limited to, at least one of the following: Direct Discovery Name Management Function (DDNMF) and / or ProSe Key Management Function (PKMF). That is, core network devices such as DDNMF and / or PKMF provide security parameters for U2U relay discovery, thereby reducing the security risks of discovering untrusted U2U relays and using them for relay communication, and improving the security of U2U relay communication.

[0051] For example, the request message can be any message that the UE can send to the network device, including but not limited to a Relay Discovery key Request message. Correspondingly, the response message can include a Relay Discovery key response message.

[0052] In one implementation of this disclosure, a first UE sends a request message to a network device, wherein the request message includes at least a Relay Service Code (RSC); wherein the RSC is used to identify a relay service; and the first UE receives a response message returned by the network device based on the request message. The response message may include an acceptance message, indicating that the first UE has the service permission for the relay service indicated by the RSC, and in this case, the response message may include security parameters for the U2U relay discovery. It should be noted that this implementation can be implemented by the first UE alone, or it can be implemented in combination with other embodiments or implementations.

[0053] In another implementation of this disclosure, a first UE sends a request message to a network device, wherein the request message includes at least a Relay Service Code (RSC); wherein the RSC is used to identify a relay service; the first UE receives a response message returned by the network device based on the request message. The response message may include a rejection message; the rejection message indicates that the first UE does not have the service permission for the relay service indicated by the RSC, and in this case, the response message will not carry security parameters for U2U relay discovery. It should be noted that this implementation can be implemented by the first UE alone, or it can be implemented in combination with other embodiments or implementations.

[0054] Different trunk services have different RSCs. Security parameters are related to RSCs; therefore, for UEs supporting trunk services with the same RSC indication, the security parameters returned by the network device can be the same.

[0055] For example, the security parameters may include any parameters such as authorization and / or key parameters for U2U relay discovery, in which case these parameters can be used for authorization and / or security verification of subsequent U2U relay discovery.

[0056] After receiving the security parameters, UEs can discover each other using either mode A or mode B.

[0057] If mode A is used, after passing security verification, a declaration message can be sent to enter the relay connection establishment phase or procedure, and finally a direct link communication between the source UE and the target UE can be established based on the relay UE.

[0058] If mode B is used, security verification is required through the interaction of request and response messages. After the security verification is passed, the relay connection establishment phase or procedure is entered, and finally a direct link communication between the source UE and the target UE is established based on the relay UE.

[0059] For example, if the first UE is a source UE or a target UE, the request message may further include: the identifier of the source UE and / or target UE as an optional relay UE.

[0060] The identifiers of the optional relay UEs include, but are not limited to, the Restricted Prose Application User (RPAUID).

[0061] The ID of the optional relay UE includes, but is not limited to, the Restricted Proximity Application User (RPAUID) of the optional relay UE. Of course, the ID of the optional relay UE can also be other forms of ID.

[0062] For example, the source UE and the target UE can obtain the ID of the optional relay UE from the application layer before performing U2U relay discovery. Based on the ID of the optional relay UE, the source UE and the target UE can send a request message containing the ID of the optional relay UE to the network device, and the network device provides the corresponding security parameters.

[0063] like Figure 3A As shown, this disclosure provides an information processing method, executed by a first UE, wherein the first UE is a relay UE, the method comprising:

[0064] S1210: Send a request message to the network device, wherein the request message includes at least: RSC;

[0065] S1220: Receive a response message returned by the network device based on the request message, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery.

[0066] S1230: Send an announcement message after receiving the security parameters.

[0067] The request message is used to request a network device to act as a relay UE; wherein the relay UE is capable of establishing connections with both the source UE and the target UE to enable UE-to-UE relay communication between the source UE and the target UE. The response message indicates permission for the relay UE to act as a relay, and includes security parameters for UE-to-UE relay discovery.

[0068] If the first UE successfully receives the security parameters, it indicates that the first UE is authorized to provide relay services for the relay services indicated by the RSC. If mode A is used to implement mutual discovery and security authentication between UEs based on PC5 or SR5, then the relay UE (i.e., U2U relay) can send an announcement message.

[0069] Of course, using Mode A also allows the source UE to send an announcement message, which is then forwarded by the relay UE. However, since the relay UE is positioned between the source UE and the target UE, the announcement message broadcast by the relay UE can be heard by both the source UE and the target UE simultaneously. This shortens the process of mutual discovery and security verification between UEs, and also shortens the process of establishing a direct link.

[0070] For example, if the first UE has a local security policy configured, and if the security policy indicates that the relay service indicated by the RSC requires security verification, then S1230 may include: the security parameters performing security processing on the announcement message, and broadcasting the announcement message after security processing using the security parameters on the broadcast channel.

[0071] For example, if the first UE has a local security policy configured, and if the security policy indicates that the relay service indicated by the RSC does not require security verification, then S1230 may include: broadcasting a declaration message on the broadcast channel that the security parameters are not used for security processing.

[0072] For example, performing security processing on the announcement message based on the security parameters may include:

[0073] According to the security policy, the security parameters are used to perform integrity protection on the declaration message to obtain an integrity-protected declaration message;

[0074] or,

[0075] According to the security policy, the security parameters are used to protect the confidentiality of the announcement message, resulting in a confidential announcement message.

[0076] or,

[0077] According to the security policy, the security parameters are used to perform confidentiality and integrity protection on the declaration message, resulting in a declaration message that has been protected by confidentiality and integrity.

[0078] After the relay UE broadcasts the announcement message, UEs around the relay UE may or may not successfully listen to the announcement message, and therefore may listen to other UEs' requests to establish relay connections.

[0079] In some embodiments, such as Figure 3B As shown, this disclosure provides an information processing method, executed by a first UE, wherein the first UE is a relay UE, the method comprising:

[0080] S1310: Send a request message to the network device, wherein the request message includes at least: RSC;

[0081] S1320: Receive a response message returned by the network device based on the request message, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery;

[0082] S1330: After receiving the security parameters, send an announcement message, wherein the announcement message includes the RSC;

[0083] S1340: Establish a relay connection with a second UE that supports the relay service corresponding to the RSC carried in the announcement message, wherein the second UE is the source UE and / or target UE of the UE-to-UE relay communication.

[0084] In some embodiments, the announcement message carries an RSC (Relay Service Code). Therefore, the second UE successfully listens to the announcement message and extracts the RSC from it. If the second UE supports the relay service corresponding to the RSC contained in the announcement message, the second UE can initiate a request message to the relay UE to establish a relay connection. For example, this request message may include a Direct Communication Request (DCR), thus initiating the relay connection establishment process.

[0085] The second UE here can be the source UE and the target UE.

[0086] If the announcement message is processed using security parameters, then since the same RSC corresponds to the same security parameters, both the source UE and the target UE can successfully perform security verification, thereby successfully extracting the RSC from the announcement message.

[0087] Security verification here may include integrity verification and / or confidentiality verification.

[0088] If Mode A is used for mutual discovery and security authentication between UEs, then as follows Figure 4 As shown, this disclosure provides an information processing method, executed by a first UE, wherein the first UE is a source UE or a target UE, the method comprising:

[0089] S1410: Send a request message to the network device, wherein the request message includes at least: RSC;

[0090] S1420: Receive a response message returned by the network device based on the request message, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery.

[0091] S1430: After receiving the discovery parameters, listen for the announcement message.

[0092] After receiving the security parameters, the source UE and / or target UE recognize that they are authorized to use the relay services provided by RSC. Therefore, after receiving the discovery parameters, they listen for the announcement message.

[0093] For example, if the announcement message is an integrity-protected message, or a confidentiality-protected message, or a message that is both integrity-protected and confidentiality-protected, then after receiving the announcement message, the source UE and the target UE will use the security parameters to perform integrity and / or confidentiality verification on the announcement message, thereby completing the security verification of the announcement message.

[0094] After the announcement message passes security verification, it is determined whether to establish a relay connection with the relay UE that sent the announcement message.

[0095] In some embodiments, the announcement message includes the RSC, and the method further includes:

[0096] If the first UE supports the relay service indicated by the RSC in the intercepted announcement message, determine whether to establish a relay connection with the second UE that sent the announcement message.

[0097] For example, the announcement message is a plaintext message, meaning it lacks integrity and confidentiality protection. Therefore, the first UE can directly extract the RSC from the plaintext announcement message. If the relay service indicated by the RSC extracted by the first UE from the announcement message is a relay service supported by the first UE, the first UE can further determine whether to respond to the announcement message, thereby establishing a relay connection with the second UE.

[0098] In other embodiments, the method further includes:

[0099] After receiving the announcement message, the security parameters are used to perform security verification on the announcement message;

[0100] If the first UE supports the relay service indicated by the RSC in the intercepted announcement message, determining whether to establish a relay connection with the second UE that sent the announcement message includes:

[0101] If the first UE supports the relay service indicated by the RSC in the intercepted announcement message and the announcement message passes security verification, determine whether to establish a relay connection with the second UE that sent the announcement message.

[0102] For example, the announcement message is an integrity-protected message or a message protected by both integrity and confidentiality. After security verification is completed using the discovery parameters, the first UE can directly extract the RSC from the announcement message. If the relay service indicated by the RSC extracted by the first UE from the announcement message is a relay service supported by the first UE, the first UE can further determine whether to respond to the announcement message, thereby establishing a relay connection with the second UE.

[0103] That is, the security verification includes: integrity verification, or confidentiality verification, or integrity verification and confidentiality verification.

[0104] In some embodiments, the announcement message includes at least one of the following:

[0105] Discover type information;

[0106] The RSC;

[0107] Optional source UE and / or optional target UE IDs.

[0108] The IDs of the optional source UE and / or optional target UE are used by the UE that listens to the announcement message to determine whether to establish a relay connection with the relay UE that sent the announcement message.

[0109] The ID of the optional source UE here may be the RPAUID of the optional source UE, and / or the ID of the optional target UE may be the RPAUID of the optional target UE. The IDs of the optional source UE and / or the optional target UE carried in the announcement message sent by the relay UE may be: the IDs of UEs that the relay UE discovered or communicated with before performing this UE discovery.

[0110] The discovery type information indicates the discovery type, which, for example, may include: U2U discovery and / or U2N discovery, etc.

[0111] In this embodiment of the disclosure, the discovery type information carried by the announcement message indicates a U2U discovery.

[0112] If the first UE is a relay UE, in some embodiments, the request message further includes: the ID of the relay UE;

[0113] or,

[0114] The first UE is either a source UE or a target UE; the request message includes: the ID of the first UE; or, the request message includes: the ID of the first UE and the ID of an optional relay UE.

[0115] The ID here includes, but is not limited to, RPAUID.

[0116] like Figure 5 As shown, this disclosure provides an information processing method executed by a network device, the method comprising:

[0117] S2110: Receive a request message from the first UE, wherein the request message includes at least: RSC;

[0118] S2220: Send a response message to the first UE according to the RSC, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery;

[0119] And / or, send a response message to the first UE according to the RSC, wherein the first UE does not have the relay service permission indicated by the RSC, the response message rejects the request, and the response message does not include the security parameters for UE-to-UE relay discovery.

[0120] The network device can be any network device that can configure security parameters for the first UE. For example, the network device can be a core network device. This core network device includes, but is not limited to, at least one of the following: Direct Discovery Name Management Function (DDNMF) and / or 5G Proximity Service Key Management Function (PKMF). That is, core network devices such as DDNMF and / or PKMF provide security parameters for U2U relay discovery, thereby reducing security risks in U2U relay communication and improving the security of U2U relay communication.

[0121] The first UE can be a source UE, a target UE, or a relay UE communicating via a PC5 interface or an SR5 interface. Here, a relay UE refers to a UE-to-UE relay device between the source UE and the target UE.

[0122] The request message can be any message that the UE can send to the network device, including but not limited to a Relay Discovery key Request message. Correspondingly, the response message can include a Relay Discovery key response message.

[0123] Different trunk services have different RSCs. Security parameters are related to RSCs; therefore, for UEs supporting trunk services with the same RSC indication, the security parameters returned by the network device can be the same.

[0124] For example, the security parameters may include any parameters such as authorization and / or key parameters for U2U relay discovery.

[0125] After the security parameter is returned to the first UE, it can be used by the first UE to complete relay discovery between the source UE and the target UE and the relay UE respectively, based on mode A and / or mode B.

[0126] In some embodiments, the request message further includes: the ID of the first UE;

[0127] The method further includes:

[0128] Based on the ID of the first UE, determine whether the first UE has permission for UE-to-UE relay communication;

[0129] Sending a response message to the first UE according to the RSC includes:

[0130] When the first UE has the authority for UE-to-UE relay communication, a response message is sent to the first UE according to the RSC.

[0131] The ID of the first UE may include, but is not limited to, the Restricted Prose Application User (RPAUID) of the first UE.

[0132] For example, determining whether the first UE has permission for UE-to-UE relay communication based on the ID of the first UE may include: if the first UE is a relay UE, then determining whether the relay UE has the ability to provide relay services based on the ID of the relay UE.

[0133] For example, the relay UE's PKMF and / or DDNMF send authorization requests to other network devices such as application servers and receive authorization responses from other network elements. These other network devices may include, but are not limited to, Prose application servers, Policy Control Functions (PCFs), or Unified Data Management (UDMs).

[0134] For example, determining whether the first UE has permission for UE-to-UE relay communication based on the ID of the first UE may include:

[0135] If the first UE is a source UE or a target UE, then determine whether the source UE or the target UE has a relay service that uses the relay UE to obtain request messages carrying RSC indications based on the relay UE's ID.

[0136] For example, the PKMF and / or DDNMF of the source UE or target UE send an authorization request to other network devices such as the application server, and receive an authorization response from other network elements. These other network devices may include, but are not limited to: Prose application server, Policy Control Function (PCF), or Unified Data Management (UDM).

[0137] If Mode B is used to achieve mutual discovery and authentication between the source UE, target UE, and relay UE, then it can be done as follows: Figure 6 As shown, this disclosure provides an information processing method, executed by a relay UE, the method comprising:

[0138] S3110: Send a request message to the network device, wherein the request message includes at least: RSC;

[0139] S3120: Receive a response message returned by the network device based on the request message, wherein the relay UE has the authority to provide relay communication for the relay service indicated by the RSC, and the response message includes: security parameters for UE-to-UE relay discovery;

[0140] S3130: After receiving the response message, listen for request messages sent by the source UE. For example, the second request message is used to request the discovery of the target UE;

[0141] S3140: When it is detected that the request message sent by the source UE contains the RSC, broadcast the request message according to the request message sent by the source UE and the relay information.

[0142] The request message broadcast by the relay UE can be used by the relay UE to continue finding the target UE.

[0143] The method further includes:

[0144] Receive response messages based on the response returned by the target UE;

[0145] When a response message is received from the target UE, a response message is returned to the source UE.

[0146] In some embodiments, broadcasting a third request message based on the second request message and relay information when the second request message is detected to contain the RSC includes:

[0147] After the second request message contains the RSC and the security verification of the first response message using the security parameters is successful, a third request message is broadcast according to the second request message and the relay information.

[0148] The third request message is used to notify the target UE to establish a connection.

[0149] In some embodiments, the request message sent by the relay UE further includes at least one of the following:

[0150] Discover type information;

[0151] The device information of the source UE;

[0152] Device information of the target UE.

[0153] In some embodiments, the relay information includes at least one of the following:

[0154] The device information of the relay UE;

[0155] Relay instruction.

[0156] The relay indication can be used to indicate that the current request message was sent by a relay UE.

[0157] like Figure 7 As shown, this disclosure provides an information processing method executed by a source UE, the method comprising:

[0158] S4110: Send a request message to the network device, wherein the request message includes at least: RSC;

[0159] S4120: Receive a response message returned by the network device based on the request message, wherein the source UE has the authority for the relay service indicated by the RSC, and the response message includes: security parameters for UE-to-UE relay discovery;

[0160] S4130: After receiving the response message, broadcast a second request message; wherein the second request message is used to communicate with the target UE through the relay UE.

[0161] In this embodiment of the disclosure, the source UE sends a request message to the network device to obtain security parameters related to the RSC. If the source UE obtains the security parameters, it will consider itself to have the authority to obtain the relay service of the RSC, and when it needs to obtain the relay service, it will broadcast a request message on the broadcast channel, thereby enabling communication between the relay UE and the target UE.

[0162] In some embodiments, the method further includes:

[0163] Receive a third response message returned by the relay UE, wherein the response message of the relay UE is: sent by the relay UE after receiving the response message returned by the target UE.

[0164] In some embodiments, the method further includes:

[0165] After receiving the third response message sent by the relay UE, a relay connection is established with the relay UE, wherein the relay connection is used for U2U relay communication between the source UE and the target UE.

[0166] In some embodiments, the method further includes:

[0167] After receiving the response message sent by the network device, the security parameters are used to perform security processing on the broadcast request message;

[0168] The second request message broadcast includes:

[0169] The second request message is broadcast after being securely processed using the aforementioned security parameters.

[0170] like Figure 8 As shown, this disclosure provides an information processing method, which is executed by a target UE, the method comprising:

[0171] S5110: Send a first request message to the network device, wherein the request message includes at least: RSC;

[0172] S5120: Receive a first response message returned by the network device based on the request message, wherein when the target UE has the right to use the relay service indicated by the RSC, the first response message includes: security parameters for UE-to-UE relay discovery;

[0173] S5130: After receiving the first response message, a request message is detected;

[0174] S5140: Return a response message when the target UE supports the relay service indicated by the RSC carried in the first request message being monitored.

[0175] In some embodiments, when the target UE supports the relay service indicated by the RSC carried in the request message being monitored, returning a response message includes:

[0176] When the target UE supports the relay service indicated by the RSC carried in the request message and after the request message is verified by using the security parameters, a response message is returned.

[0177] In some embodiments, the method further includes:

[0178] After sending the first response message, a connection establishment request is received from the relay UE;

[0179] Based on the connection establishment request, a relay connection is established with the relay UE, wherein the relay connection is used for relay communication between the target UE and the source UE.

[0180] This disclosure provides an information processing method to ensure that a source UE and a target UE can securely discover each other via UE-to-UE relay, and to provide the integrity and confidentiality of discovery information transmitted via user equipment to user equipment (UE-to-UE, U2U) relay.

[0181] Suppose that the ProSe application server assigns a restricted ProSe application user ID (RPAUID) to each ProSe UE and returns the RPAUID to the application client in the UE.

[0182] When an application client in a UE intends to discover other UEs, for example, to discover UEs whose accounts are friends of the application, the UE will obtain a list of RPAUIDs of these users (target RPAUID list) and / or a list of relay user IDs that can provide relay services (relay RPAUID list) from the ProSe application server. The UE can then monitor the target UEs or relay UEs in this list. The target RPAUID list and / or the relay RPAUID list are passed to the UE in an application layer container.

[0183] When using a UE for relaying, an RSC needs to be obtained before performing U2U relay discovery. The RSC can be pre-configured on the UE, or it can be issued to the relay UE by the network device during the UE's service authorization process.

[0184] U2U relays can discover other nearby UEs through the aforementioned U2U discovery or U2U communication procedures. U2U relays can cache the RPAUID of discovered UEs, which can be used as the UE ID of the discovered UE. When the cache timer expires, the RPAUID and other parameters of the discovered UE will become invalid, and it will be deleted by the U2U relay UE.

[0185] like Figure 9 As shown, this disclosure provides an information processing method that may include:

[0186] Steps 1-3 refer to the relay UE. In 5G ProSe U2U relay discovery, the U2U relay plays the role of announcing the UE and sends an announcement message.

[0187] In the first phase, the U2U relay executes a discovery key request procedure, which may include:

[0188] 1. The U2U relay sends a relay discovery key request message to the 5G DDNMF / PKMF, containing its restricted ProSe application user ID (RPAUID) and relay service code (RSC), to obtain relevant security materials. Additionally, the U2U relay should provide its own PC5 UE security capabilities. The relay discovery key request message also includes a list of encryption algorithms supported by the UE.

[0189] It is worth noting that 5G PKMF will be used in the user plane of U2U relay based on security procedures. 5G DDNMF will be used in the control plane of U2U relay based on security procedures.

[0190] 2.5G DDNMF / PKMF can check the authorization with the ProSe Application Server / PCF / UDM.

[0191] It is worth noting that if a U2U relay is in roaming mode, the DDNMF in the home public land mobile network (HPLMN) and the DDNMF in the visited public land mobile network (V PLMN) will exchange U2U relay authorizations.

[0192] 3. The 5G DDNMF / PKMF of U2U relay returns security parameters corresponding to the RSC, as well as CURRENT_TIME and MAX_OFFSET. CURRENT_TIME is the current timestamp, and MAX_OFFSET is the time offset. The timestamp and MAX_OFFSET ensure the UE can resist replay attacks. For U2U relay, the security parameter of the RSC can be: Code-Send-SecParams.

[0193] The security parameters are generated based on the RSC and are essential security material during the U2U relay discovery process. The U2U relay's 5G DDNMF / PKMF should include the selected PC5 security algorithm in the relay discovery key response message. The 5G DDNMF / PKMF determines the selected PC5 security algorithm based on the RSC from Step 1 and the received PC5 UE security capabilities. The U2U relay stores the RSC and the selected PC5 security algorithm together. The selected PC5 security algorithm may include a selected PC5 encryption algorithm and / or a selected PC5 integrity algorithm. The PC5 encryption algorithm is used for confidentiality protection. The selected PC5 integrity algorithm is used for PC5 integrity protection.

[0194] It is worth noting that a U2U trunk that supports multiple RSCs can use multiple U2U trunk discovery messages to obtain the corresponding security parameters, and each U2U trunk discovery message carries only one RSC.

[0195] It is important to note that the code-send-secParams are associated with RSC. U2U trunks should use the appropriate code-send-secParams to protect / authenticate all discovery messages under a specific U2U trunk service. The code-send-secParams here refers to the aforementioned security parameters for U2U trunks.

[0196] Steps 4-9 correspond to the source UE / target UE. For 5GProSe UE-to-UE relay discovery, the source UE and target UE can be treated as monitoring UEs.

[0197] 4. The source UE / target UE sends a relay key discovery request message to its own 5G DDNMF / PKMF, which includes RPAUID, RSC, the PC5 UE security capabilities of the source UE / target UE, and the RPAUID of the optional relay UE. The PC5 UE security capabilities of the source UE / target UE may represent the PC5 security algorithms supported by the source UE and / or the target UE.

[0198] It is worth noting that a source UE / target UE that supports multiple RSCs can use multiple relay discovery key messages to obtain security parameters, with each relay discovery key message carrying one RSC. That is, obtaining security parameters for services indicated by different RSCs will use different request messages such as relay discovery key messages.

[0199] 5. The source / target UE's 5G DDNMF / PKMF sends an authorization request to the ProSe Application Server / PCF / UDM. If the source / target UE is allowed to monitor the announcement message under this specific U2U trunk service, the ProSe Application Server / PCF / UDM will return an authorization response.

[0200] 6. If the request is found to be authorized and the PLMN ID in the relay RPAUID represents a different PLMN, the 5G DDNMF / PKMF of the source UE / target UE will contact the 5G DDNMF / PKMF of the specified PLMN, i.e. the 5G DDNMF of the U2U relay, by sending a monitoring request containing the PC5 UE security capabilities received in step 4.

[0201] It is worth noting that if relay RPAUID(s) belong to multiple different PLMNs, the source / target UE's 5G DDNMF / PKMF selects one PLMN and sends a Monitor Request to obtain the Code-Rcv-SecParams security parameters. The Code-Rcv-SecParams security parameters are one of the aforementioned security parameters.

[0202] 7. The 5G DDNMF / PKMF of the U2U relay exchanges authorization messages with the ProSe Application Server / PCF / UDM. The ProSe Application Server checks whether the source UE / target UE and the UE-to-UE relay are authorized to perform U2U discovery under the specified U2U relay service, or checks whether the U2U relay is authorized to provide U2U relay services to the source UE / target UE.

[0203] 8. If the U2U relay is authorized, and the PC5 UE security capabilities in step 4 include the selected PC5 security algorithm, the UE-to-UE relay's 5G DDNMF / PKMF response to the source UE / target UE's 5G DDNMF / PKMF provides a monitoring response message, including the corresponding code reception security parameters and the selected PC5 security algorithm (based on the information / key stored in step 3). The code reception security parameters provide the source UE / target UE with the information required to verify the UE-to-UE relay's protection of the announcement message. The RSC and code reception security parameters are stored in the source / target UE's 5G DDNMF / PKMF.

[0204] 9. 5G DDNMF / PKMF return code reception security parameters for the source UE / target UE, as well as CURRENT_TIME and MAX_OFFSET and the selected PC5 security algorithm. The source UE / target UE stores the code reception security parameters (Code-Rcv-SecParams), the selected PC5 security algorithm, and RSC.

[0205] 10. The U2U relay broadcasts a U2U relay discovery announcement message and protects it with the corresponding transmission code security parameters. The U2U relay discovery announcement message may contain the discovery type (i.e., U2U relay), RSC, and UE ID (i.e., the RPAUID of other nearby UEs). The UE ID included in this announcement message is the ID of a discovered UE. For example, prior to this UE discovery, the relay UE may have undergone multiple direct link communications based on the PC5 and / or SR5 interfaces, and the discovery phase prior to these direct link communications could have discovered other UEs. The discovered UEs here can be one or more source UEs and / or target UEs discovered prior to this discovery phase.

[0206] 11. Based on the timing of the Universal Time Coordinated (UTC) timer associated with the discovery time slot, if the received announcement message falls within the time range corresponding to CURRENT-TIME and MAX_OFFSET, the source UE / target UE listens for and processes the U2U relay discovery message. After the integrity verification of the announcement message passes, the source UE / target UE determines whether it can use the U2U relay based on the RSC and the discovered UE ID. If the UE wishes to communicate with other UEs through this U2U relay, the UE may initiate a U2U relay connection establishment process.

[0207] It is worth noting that the UE can verify the integrity of the discovery message itself, or it can verify the integrity by matching the report.

[0208] like Figure 10 As shown, this disclosure provides an information processing apparatus, the apparatus comprising:

[0209] The first sending module 110 is configured to send a request message to a network device, wherein the request message includes at least: a Relay Service Code (RSC);

[0210] The first receiving module 120 is configured to receive a response message returned by the network device based on the request message, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery.

[0211] The information processing device may be the first UE.

[0212] In some embodiments, the first sending module 110 and the first receiving module 120 may both be program modules; after the program module is executed by the processor, it can perform the above operations.

[0213] In other embodiments, the first transmitting module 110 and the first receiving module 120 may both be hardware-software hybrid modules; the hardware-software hybrid modules include, but are not limited to, programmable arrays; the programmable arrays include, but are not limited to, field-programmable arrays and / or complex programmable arrays.

[0214] In some embodiments, the first transmitting module 110 and the first receiving module 120 may both be pure hardware modules; the pure hardware modules include, but are not limited to, application-specific integrated circuits.

[0215] In some embodiments, the first sending module 110 is configured to send an announcement message after receiving the security parameters if the first UE is a relay UE.

[0216] In some embodiments, the announcement message includes the RSC, and the apparatus further includes:

[0217] The first connection module is configured to establish a relay connection with a second UE that supports the relay service corresponding to the RSC carried in the announcement message, wherein the second UE is the source UE and / or the target UE of the UE-to-UE relay communication.

[0218] In some embodiments, the apparatus further includes:

[0219] The first listening module is configured to listen for announcement messages after receiving the discovery parameters if the first UE is the source UE or target UE of the UE-to-UE relay communication.

[0220] In some embodiments, the announcement message includes the RSC, and the apparatus further includes:

[0221] The first determining module is configured to determine whether to establish a relay connection with the second UE that sent the announcement message if the first UE supports the relay service indicated by the RSC in the monitored announcement message.

[0222] In some embodiments, the apparatus further includes:

[0223] The verification module is configured to perform security verification on the declaration message using the security parameters after receiving the declaration message;

[0224] The determining module is configured to determine whether to establish a relay connection with the second UE that sent the announcement message if the first UE supports the relay service indicated by the RSC in the monitored announcement message and the announcement message passes security verification.

[0225] In some embodiments, the announcement message includes at least one of the following:

[0226] Discover type information;

[0227] The RSC;

[0228] The Restricted Proximity Service Application User ID (RPAU ID) of either the source UE or the target UE is used by the UE that listens to the announcement message to determine whether to establish a relay connection with the relay UE that sent the announcement message.

[0229] In some embodiments, the first UE is a relay UE, and the request message further includes: the identifier ID of the relay UE;

[0230] or,

[0231] The first UE is either a source UE or a target UE; the request message includes: the ID of the first UE; or, the request message includes: the ID of the first UE and the ID of an optional relay UE.

[0232] like Figure 11 As shown, this disclosure provides an information processing apparatus, executed by a network device, the apparatus comprising:

[0233] The second receiving module 210 is configured to receive a request message from the first UE, wherein the request message includes at least: a relay service code (RSC).

[0234] The second sending module 220 is configured to send a response message to the first UE according to the RSC, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery.

[0235] The information processing device can be a network device.

[0236] In some embodiments, the second sending module 220 and the second receiving module 210 may both be program modules; after the program module is executed by the processor, it can perform the above operations.

[0237] In other embodiments, the second transmitting module 220 and the second receiving module 210 may both be hardware-software hybrid modules; the hardware-software hybrid modules include, but are not limited to, programmable arrays; the programmable arrays include, but are not limited to, field-programmable arrays and / or complex programmable arrays.

[0238] In some embodiments, the second transmitting module 220 and the second receiving module 210 may both be pure hardware modules; the pure hardware modules include, but are not limited to, application-specific integrated circuits.

[0239] In some embodiments, the request message further includes: the identifier ID of the first UE;

[0240] The device further includes:

[0241] The second determining module is configured to determine whether the first UE has permission for UE-to-UE relay communication based on the ID of the first UE.

[0242] The second sending module 220 is configured to send a response message to the first UE according to the RSC when the first UE has the permission for UE-to-UE relay communication.

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

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

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

[0246] The processor is configured to execute the information processing method provided by any of the aforementioned technical solutions, which may include an information processing method executed by the first UE or by a network device.

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

[0248] Here, the communication device includes: UE or network device, which can be any of the aforementioned core network network devices.

[0249] The processor can be connected to the memory via a bus or similar means to read executable programs stored in the memory, for example, Figure 2 , Figures 3A to 3B , Figures 4 to 9 At least one of the information processing methods shown.

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

[0251] Reference Figure 12 The UE 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.

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

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

[0254] Power supply component 806 provides power to various components of UE 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 UE 800.

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

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

[0257] 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.

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

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

[0260] In an exemplary embodiment, UE 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.

[0261] 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 the UE 800 to generate the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0262] like Figure 13 As shown in the figure, one embodiment of this disclosure illustrates the structure of a network device. The network device is 900. This communication device can be the aforementioned core network device.

[0263] Referring to Figure 3, the network device 900 includes a processing component 922, which further includes one or more processors, and memory resources represented by a memory 932 for storing instructions, such as application programs, that can be executed by the processing component 922. The application programs stored in the memory 932 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 922 is configured to execute instructions to perform any of the methods described above applied to the access device, for example, Figure 2 , Figures 3A to 3B , Figures 4 to 9 At least one of the information processing methods shown.

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

[0265] This disclosure provides a computer storage medium storing an executable program; when executed by a processor, the executable program can implement the information processing method provided by any of the foregoing technical solutions, for example... Figure 2 , Figures 3A to 3B , Figures 4 to 9 At least one of the information processing methods shown.

[0266] The computer storage medium may be a non-transitory computer-readable storage medium. 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.

[0267] 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.

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

Claims

1. An information processing method, executed by a first UE, wherein, The method includes: Send a request message to a network device, wherein the request message includes at least: a Relay Service Code (RSC); wherein the RSC is used to identify a relay service; The network device receives a response message based on the request message, wherein the first UE has permission for the relay service indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery. Wherein, the first UE is a relay UE, which can establish connections with both the source UE and the target UE to act as a relay for UE-to-UE relay communication between the source UE and the target UE. The method further includes: sending an announcement message after receiving the security parameters; wherein the announcement message is protected by the security parameters; and / or, The first UE is either the source UE or the target UE. The source UE or the target UE respectively connects to a relay UE to realize UE-to-UE relay communication through the relay UE. The method further includes: after receiving the discovery parameter, listening to the announcement message, the announcement message being protected by the security parameter.

2. The method according to claim 1, wherein, The first UE is a relay UE, the announcement message includes the RSC, and the method further includes: Establish a relay connection with a second UE that supports the relay service corresponding to the RSC carried in the announcement message, wherein the second UE is the source UE and / or target UE of the UE-to-UE relay communication.

3. The method according to claim 1, wherein, The first UE is either the source UE or the target UE in UE-to-UE relay communication, the announcement message includes the RSC, and the method further includes: If the first UE supports the relay service indicated by the RSC in the monitored announcement message, determine whether to establish a relay connection with the relay UE that sent the announcement message.

4. The method according to claim 3, wherein, The method further includes: After receiving the announcement message, the security parameters are used to perform security verification on the announcement message; If the first UE supports the relay service indicated by the RSC in the detected announcement message, determining whether to establish a relay connection with the relay UE that sent the announcement message includes: If the first UE supports the relay service indicated by the RSC in the monitored announcement message and the announcement message passes security verification, determine whether to establish a relay connection with the relay UE that sent the announcement message.

5. The method according to any one of claims 1 to 4, wherein, The announcement message includes at least one of the following: Discover type information; The RSC; The identifier ID of either the source UE or the target UE can be selected and used by the UE that listens to the announcement message to determine whether to establish a relay connection with the relay UE that sent the announcement message.

6. The method according to any one of claims 1 to 5, wherein, When the first UE is a relay UE, the request message further includes: the identifier ID of the relay UE; or, When the first UE is the source UE or the target UE, the request message includes: the ID of the first UE; or, the request message includes: the ID of the first UE and the ID of an optional relay UE.

7. An information processing method, executed by a network device, wherein, The method includes: Receive a request message from a first UE, wherein the request message includes at least: a Relay Service Code (RSC); wherein the RSC is used to identify a relay service; A response message is sent to the first UE according to the RSC, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery; The security parameters are used by the first UE to protect the announcement message when sending the announcement message. The first UE is a relay UE, which can establish connections with both the source UE and the target UE to act as a relay for UE-to-UE relay communication between the source UE and the target UE; and / or, The security parameter is used by the first UE to listen to the announcement message protected by the security parameter after receiving the security parameter. The first UE is the source UE or the target UE in UE-to-UE relay communication. The source UE or the target UE respectively connects to the relay UE to realize UE-to-UE relay communication through the relay UE.

8. The method according to claim 7, wherein, The request message also includes: the identifier ID of the first UE; The method further includes: Based on the ID of the first UE, determine whether the first UE has permission for UE-to-UE relay communication; Sending a response message to the first UE according to the RSC includes: When the first UE has the authority for UE-to-UE relay communication, a response message is sent to the first UE according to the RSC.

9. An information processing apparatus, wherein, The device includes: The first sending module is configured to send a request message to a network device, wherein the request message includes at least: a Relay Service Code (RSC); The first receiving module is configured to receive a response message returned by the network device based on the request message, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery. The first transmitting module is further configured such that the first UE is a relay UE, the relay UE can establish connections with both the source UE and the target UE to act as a relay for UE-to-UE relay communication between the source UE and the target UE, and sends an announcement message after receiving the security parameters, the announcement message being protected by the security parameters; and / or, The first receiving module is further configured such that the first UE is either the source UE or the target UE, the source UE or the target UE respectively connects to a relay UE to realize UE-to-UE relay communication through the relay UE, and after receiving the discovery parameter, it listens for the announcement message, the announcement message being protected by the security parameter.

10. The apparatus according to claim 9, wherein, The first UE is a relay UE, the announcement message includes the RSC, and the device further includes: The first connection module is configured to establish a relay connection with a second UE that supports the relay service corresponding to the RSC carried in the announcement message, wherein the second UE is the source UE and / or the target UE of the UE-to-UE relay communication.

11. The apparatus according to claim 9, wherein, The first UE is either the source UE or the target UE in UE-to-UE relay communication, the announcement message includes the RSC, and the device further includes: The first determining module is configured to determine whether to establish a relay connection with the relay UE that sent the announcement message if the first UE supports the relay service indicated by the RSC in the monitored announcement message.

12. The apparatus according to claim 11, wherein, The device further includes: The verification module is configured to perform security verification on the declaration message using the security parameters after receiving the declaration message; The determining module is configured to determine whether to establish a relay connection with the relay UE that sent the announcement message if the first UE supports the relay service indicated by the RSC in the monitored announcement message and the announcement message passes security verification.

13. The apparatus according to any one of claims 9 to 12, wherein, The announcement message includes at least one of the following: Discover type information; The RSC; The identifier ID of either the source UE or the target UE can be selected and used by the UE that listens to the announcement message to determine whether to establish a relay connection with the relay UE that sent the announcement message.

14. The apparatus according to any one of claims 9 to 13, wherein, When the first UE is a relay UE, the request message further includes: the Restricted Proximity Service Application User Identifier (RPAUID) of the relay UE; or, When the first UE is the source UE or the target UE, the request message includes: the ID of the first UE; or, the request message includes: the ID of the first UE and the ID of an optional relay UE.

15. An information processing apparatus, executed by a network device, wherein, The device includes: The second receiving module is configured to receive a request message from the first UE, wherein the request message includes at least: a Relay Service Code (RSC); wherein the RSC is used to identify a relay service. The second sending module is configured to send a response message to the first UE according to the RSC, wherein the first UE has the relay service permission indicated by the RSC, and the response message includes security parameters for UE-to-UE relay discovery; The security parameters are used by the first UE to protect the announcement message when sending the announcement message. The first UE is a relay UE, which can establish connections with both the source UE and the target UE to act as a relay for UE-to-UE relay communication between the source UE and the target UE; and / or, The security parameter is used by the first UE to listen to the announcement message protected by the security parameter after receiving the security parameter. The first UE is the source UE or the target UE in UE-to-UE relay communication. The source UE or the target UE respectively connects to the relay UE to realize UE-to-UE relay communication through the relay UE.

16. The apparatus according to claim 15, wherein, The request message also includes: the identifier ID of the first UE; The device further includes: The second determining module is configured to determine whether the first UE has permission for UE-to-UE relay communication based on the ID of the first UE. The second sending module is configured to send a response message to the first UE according to the RSC when the first UE has the permission for UE-to-UE relay communication.

17. A communication device comprising a processor, a transceiver, a memory, and an executable program stored in the memory and executable by the processor, wherein, When the processor runs the executable program, it performs the method provided as claimed in any one of claims 1 to 6 or 7 to 8.

18. A computer storage medium storing an executable program; the executable program, when executed by a processor, is capable of implementing the method provided in any one of claims 1 to 6 or 7 to 8.