Information transmission method and apparatus, and terminal and relay device
By determining the target security scheme in 5G ProSe and carrying identification information and valid time in the relay discovery message, the synchronization and security issues of relay discovery messages are solved, and the effectiveness and flexible protection of information transmission are achieved.
Patent Information
- Application Number
- PCT/CN2024/085147
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-11
- Filing Date
- 2024-04-01
- Publication Date
- 2024-11-14
AI Technical Summary
In 5G ProSe, the relay discovery message 2 generated by the Relay UE contains multiple contents of different Announcing UEs, resulting in incomplete synchronization of sending and receiving. How to ensure the validity of the message is an urgent problem; at the same time, U2U relay discovery During the process, the security protection requirements for relay discovery messages are insufficient. Especially with the limited computing and energy capabilities of IoT devices, how to perform appropriate message protection is also a challenge.
By determining the target security plan, the relay discovery message is securely protected, and the target security plan identification information and effective time are carried in the message, so that the receiver can accurately parse and verify the message, ensuring the validity and flexible protection of the message. Specific measures include receiving relay discovery security policy indication information sent by the key management function, selecting appropriate key sets and protection methods based on the policy, and protecting the direct and U2U discovery data sets in the relay discovery message.
It realizes the effectiveness and flexible protection of relay discovery messages, ensures that messages can be accurately parsed and verified in different application scenarios, and improves the reliability and security of information transmission.
Smart Images

Figure CN2024085147_14112024_PF_FP_ABST
Abstract
Description
Information transmission method, device, terminal and relay equipment
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 11, 2023, with application number 202310529892.3 and application name “Information Transmission Method, Device, Terminal and Relay Equipment”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present disclosure relates to the field of communication technology, and in particular to an information transmission method, apparatus, terminal, and relay equipment. Background Art
[0003] Fifth Generation Mobile Communication Technology (5G) Proximity-Based Communications (5G ProSe) will support UE-to-UE relay (U2U Relay) communications in Release 18. SA2 has defined the basic parameters for U2U Model A relay discovery, specifically the discovery messages that should include the Announcer UE ID and Relay UE ID.
[0004] The U2U Model A relay discovery process involves two relay discovery messages, namely, relay discovery message 1 from the Announcing UE to the Relay UE, and relay discovery message 2 from the Relay UE to the Monitoring UE.
[0005] The related art has at least one of the following problems:
[0006] Because the Relay Discovery Message 2 generated by the Relay UE contains multiple discovery message contents from different Announcing UEs, the Relay UE's sending of the Relay Discovery Message 2 and receiving of the Relay Discovery Message 1 are not completely synchronized. How to ensure the validity of the sent messages is an urgent problem to be solved;
[0007] During the U2U relay discovery process, the security protection requirements for relay discovery messages vary in different application scenarios. For example, the computing power and energy capacity of IoT devices may be limited. In this case, only basic security capabilities may be required, or no security capabilities may be used. How to flexibly protect relay discovery messages is also an urgent problem to be solved.
[0008] Summary of the Invention
[0009] The embodiments of the present disclosure provide an information transmission method, apparatus, terminal, and relay device to achieve the purpose of ensuring the effectiveness of message sending and / or flexibly protecting messages.
[0010] In order to solve the above technical problems, an embodiment of the present disclosure provides an information transmission method, which is executed by a first terminal, including:
[0011] Determine the target security scheme for securing relay discovery messages;
[0012] Performing security protection on the generated first relay discovery message according to the target security scheme;
[0013] Sending the first relay discovery message with security protection to the relay device;
[0014] The first relay discovery message includes at least one of the following:
[0015] identification information of the target security solution;
[0016] The validity period of the first relay discovery message.
[0017] In some embodiments, determining a target security scheme for protecting the relay discovery message includes:
[0018] Receive relay discovery security policy indication information sent by the key management function, the relay discovery security policy indication information including: at least one relay discovery security scheme and identification information of a security scheme corresponding to the at least one relay discovery security scheme, the relay discovery security scheme being associated with a relay service code RSC;
[0019] Based on the at least one relay discovery security scheme, a security scheme for performing security protection on the relay discovery message is determined as a target security scheme.
[0020] In some embodiments, the relay discovery security scheme includes at least one of the following:
[0021] an indication that the relay discovery message is protected using the first key set and the second key set;
[0022] an indication of using a second key set to protect the relay discovery message;
[0023] an indication of whether to enable privacy protection for the first terminal and / or the second terminal;
[0024] Indication of whether to enable privacy protection for relay devices;
[0025] An indication of whether to enable privacy protection for the first terminal and / or the second terminal and the relay device;
[0026] Indication of whether to enable integrity protection of the directly discovered dataset;
[0027] Indication of whether to enable integrity protection of relay discovery messages;
[0028] The first key set is used to protect direct messages sent between the first terminal and the second terminal, and the second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
[0029] In some embodiments, the first relay discovery message further includes:
[0030] Directly discover datasets;
[0031] A first device-to-device U2U discovery data set.
[0032] In some embodiments, when the first relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the first U2U discovery data set.
[0033] In some embodiments, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
[0034] In some embodiments, the first relay discovery message also includes: identification information of the first terminal.
[0035] In some embodiments, the identification information of the first terminal satisfies at least one of the following:
[0036] The identification information of the first terminal is located in the direct discovery data set;
[0037] The identification information of the first terminal is encrypted using a key in a first key set.
[0038] In some embodiments, the performing security protection on the generated first relay discovery message according to the target security scheme includes at least one of the following:
[0039] Protecting a direct discovery data set in the first relay discovery message using a first key set;
[0040] Protecting the first U2U discovery data set in the first relay discovery message using a second key set;
[0041] The first relay discovery message is protected using a second key set.
[0042] The present disclosure also provides an information transmission method, which is performed by a relay device and includes:
[0043] receiving a first relay discovery message sent by a first terminal, where the first relay discovery message is security protected by the first terminal based on a target security scheme;
[0044] Generate a second relay discovery message according to the first relay discovery message;
[0045] Performing security protection on the second relay discovery message;
[0046] Sending a second relay discovery message for security protection to the second terminal;
[0047] The first relay discovery message includes at least one of the following:
[0048] identification information of the target security solution;
[0049] The validity period of the first relay discovery message.
[0050] In some embodiments, the first relay discovery message further includes:
[0051] Directly discover datasets;
[0052] A first device-to-device U2U discovery data set.
[0053] In some embodiments, when the first relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the first U2U discovery data set.
[0054] In some embodiments, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
[0055] In some embodiments, the first relay discovery message also includes: identification information of the first terminal.
[0056] In some embodiments, generating a second relay discovery message according to the first relay discovery message includes:
[0057] Determining a target security scheme for security protection of the first relay discovery message by the first terminal;
[0058] verifying and decrypting the first relay discovery message according to the target security scheme;
[0059] A second relay discovery message is generated according to the decrypted first relay discovery message.
[0060] In some embodiments, determining a target security scheme for the first terminal to perform security protection on the first relay discovery message includes:
[0061] Obtaining identification information of the target security scheme in the first relay discovery message;
[0062] A target security solution is determined based on the identification information.
[0063] In some embodiments, the second relay discovery message includes at least one of the following:
[0064] identification information of the target security solution;
[0065] The validity period of the first relay discovery message.
[0066] In some embodiments, the second relay discovery message further includes:
[0067] Second, U2U discovery dataset and direct discovery dataset list.
[0068] In some embodiments, when the second relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the second U2U discovery data set.
[0069] In some embodiments, when the second relay discovery message includes: the validity time of the first relay discovery message, the validity time of the first relay discovery message is located in the direct discovery data set list.
[0070] In some embodiments, the direct discovery data set list includes: a direct discovery data set in a first relay discovery message sent by at least one first terminal.
[0071] In some embodiments, when the second relay discovery message includes: the validity period of the first relay discovery message, the method further includes:
[0072] Determining whether the first relay discovery message is valid according to the validity period of the first relay discovery message;
[0073] If the first relay discovery message is valid, it is determined that the direct discovery data set list includes the direct discovery data set in the first relay discovery message.
[0074] In some embodiments, the second relay discovery message also includes: identification information of the relay device.
[0075] In some embodiments, the identification information of the relay device satisfies at least one of the following:
[0076] The identification information of the relay device is located in the U2U discovery data set;
[0077] The identification information of the relay device is encrypted by a key in the second key set;
[0078] The second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
[0079] In some embodiments, the performing security protection on the second relay discovery message includes at least one of the following:
[0080] Protecting a second U2U discovery data set in the second relay discovery message using a second key set;
[0081] The second relay discovery message is protected using a second key set.
[0082] The present disclosure also provides a terminal, which is a first terminal and includes a memory, a transceiver, and a processor.
[0083] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0084] Determine the target security scheme for securing relay discovery messages;
[0085] Performing security protection on the generated first relay discovery message according to the target security scheme;
[0086] Sending the first relay discovery message with security protection to the relay device;
[0087] The first relay discovery message includes at least one of the following:
[0088] identification information of the target security solution;
[0089] The validity period of the first relay discovery message.
[0090] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:
[0091] Receive relay discovery security policy indication information sent by the key management function, the relay discovery security policy indication information including: at least one relay discovery security scheme and identification information of a security scheme corresponding to the at least one relay discovery security scheme, the relay discovery security scheme being associated with a relay service code RSC;
[0092] Based on the at least one relay discovery security scheme, a security scheme for performing security protection on the relay discovery message is determined as a target security scheme.
[0093] In some embodiments, the relay discovery security scheme includes at least one of the following:
[0094] an indication that the relay discovery message is protected using the first key set and the second key set;
[0095] an indication of using a second key set to protect the relay discovery message;
[0096] an indication of whether to enable privacy protection for the first terminal and / or the second terminal;
[0097] Indication of whether to enable privacy protection for relay devices;
[0098] An indication of whether to enable privacy protection for the first terminal and / or the second terminal and the relay device;
[0099] Indication of whether to enable integrity protection of the directly discovered dataset;
[0100] Indication of whether to enable integrity protection of relay discovery messages;
[0101] The first key set is used to protect direct messages sent between the first terminal and the second terminal, and the second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
[0102] In some embodiments, the first relay discovery message further includes:
[0103] Directly discover datasets;
[0104] A first device-to-device U2U discovery data set.
[0105] In some embodiments, when the first relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the first U2U discovery data set.
[0106] In some embodiments, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
[0107] In some embodiments, the first relay discovery message also includes: identification information of the first terminal.
[0108] In some embodiments, the identification information of the first terminal satisfies at least one of the following:
[0109] The identification information of the first terminal is located in the direct discovery data set;
[0110] The identification information of the first terminal is encrypted using a key in a first key set.
[0111] In some embodiments, the processor is configured to read the computer program in the memory and perform at least one of the following operations:
[0112] Protecting a direct discovery data set in the first relay discovery message using a first key set;
[0113] Protecting the first U2U discovery data set in the first relay discovery message using a second key set;
[0114] The first relay discovery message is protected using a second key set.
[0115] The present disclosure also provides a relay device, including a memory, a transceiver, and a processor:
[0116] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0117] receiving a first relay discovery message sent by a first terminal, where the first relay discovery message is security protected by the first terminal based on a target security scheme;
[0118] Generate a second relay discovery message according to the first relay discovery message;
[0119] Performing security protection on the second relay discovery message;
[0120] Sending a second relay discovery message for security protection to the second terminal;
[0121] The first relay discovery message includes at least one of the following:
[0122] identification information of the target security solution;
[0123] The validity period of the first relay discovery message.
[0124] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:
[0125] Determining a target security scheme for security protection of the first relay discovery message by the first terminal;
[0126] verifying and decrypting the first relay discovery message according to the target security scheme;
[0127] A second relay discovery message is generated according to the decrypted first relay discovery message.
[0128] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:
[0129] Obtaining identification information of the target security scheme in the first relay discovery message;
[0130] A target security solution is determined based on the identification information.
[0131] In some embodiments, the processor is configured to read the computer program in the memory and perform at least one of the following operations:
[0132] Protecting a second U2U discovery data set in the second relay discovery message using a second key set;
[0133] The second relay discovery message is protected using a second key set.
[0134] The present disclosure also provides an information transmission device, applied to a first terminal, including:
[0135] A first determining unit, configured to determine a target security scheme for security protection of the relay discovery message;
[0136] A first processing unit, configured to perform security protection on the generated first relay discovery message according to the target security scheme;
[0137] A first sending unit, configured to send the first relay discovery message for security protection to a relay device;
[0138] The first relay discovery message includes at least one of the following:
[0139] identification information of the target security solution;
[0140] The validity period of the first relay discovery message.
[0141] The present disclosure also provides an information transmission device, which is applied to a relay device and includes:
[0142] A receiving unit, configured to receive a first relay discovery message sent by a first terminal, where the first relay discovery message is security protected by the first terminal based on a target security scheme;
[0143] A generating unit, configured to generate a second relay discovery message according to the first relay discovery message;
[0144] A second processing unit, configured to perform security protection on the second relay discovery message;
[0145] A second sending unit, configured to send a second relay discovery message with security protection to a second terminal;
[0146] The first relay discovery message includes at least one of the following:
[0147] identification information of the target security solution;
[0148] The validity period of the first relay discovery message.
[0149] An embodiment of the present disclosure further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the above method.
[0150] The beneficial effects of the present disclosure are:
[0151] The above-mentioned scheme first determines the target security scheme for security protection, and then carries the identification information of the target security scheme used and / or the validity period of the first relay discovery message in the relay discovery message sent, so that the recipient can accurately parse the relay discovery message and / or determine whether the received relay discovery message is valid, thereby achieving the purpose of ensuring the effectiveness of message sending and / or flexibly protecting messages. BRIEF DESCRIPTION OF THE DRAWINGS
[0152] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments recorded in the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0153] FIG1 shows a schematic diagram of a flow chart of an information transmission method according to an embodiment of the present disclosure;
[0154] FIG2 is a schematic diagram showing a specific implementation process of an embodiment of the present disclosure;
[0155] FIG3 shows one of the format diagrams of the first relay discovery message;
[0156] FIG4 shows a second schematic diagram of the format of the first relay discovery message;
[0157] FIG5 shows one of the format diagrams of the second relay discovery message;
[0158] FIG6 shows a second schematic diagram of the format of the second relay discovery message;
[0159] FIG7 shows a second flow chart of the information transmission method according to an embodiment of the present disclosure;
[0160] FIG8 shows one of the unit schematic diagrams of the information transmission device according to an embodiment of the present disclosure;
[0161] FIG9 shows a structural diagram of a terminal according to an embodiment of the present disclosure;
[0162] FIG10 shows a second schematic diagram of a unit of the information transmission device according to an embodiment of the present disclosure;
[0163] FIG11 is a structural diagram of a relay device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0164] The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0165] The terms "first," "second," and the like in the specification and claims of the present disclosure are used to distinguish similar objects and are not necessarily used to describe a particular order or sequential sequence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments of the present disclosure described herein may be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such processes, methods, products, or apparatus.
[0166] In the embodiments of the present disclosure, the term "and / or" describes the relationship between associated objects, indicating that three possible relationships exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship. In the embodiments of the present disclosure, the term "plurality" refers to two or more, and other quantifiers are similar.
[0167] In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0168] The relevant concepts mentioned in this disclosure are briefly described below.
[0169] 5G Proximity Sequencing (5G ProSe) supports two discovery modes:
[0170] Model A: The announcing UE sends an announcement message to announce its presence. The monitoring UE does not need to reply to the announcement message. The monitoring UE can establish a communication connection with the announcing UE as needed.
[0171] Model B: The discoverer UE proactively sends a discovery solicitation message to find the discoveree UE. Upon receiving the message, the discoverer UE must reply to the discoverer UE. The discoverer UE then establishes a communication connection with the discoveree UE.
[0172] 5G ProSe will support UE-to-UE relay (U2U Relay) communication scenarios, where a source UE (Source UE) establishes a communication connection with a target UE (Target UE) via a relay UE (Relay UE). U2U relay communication first involves the end UEs (source UE, target UE) discovering each other through the relay UE and then establishing a communication connection. In relay communication scenarios, the source UE can be the Monitoring UE or Discoverer UE during the discovery process, and the target UE can be the Announcing UE or Discoveree UE during the discovery process.
[0173] The U2U relay discovery message contains two parts: the data required for interaction between the source UE / target UE and the relay UE, called the relay discovery data set (U2U discovery set); the data required for interaction between the source UE and the target UE, called the direct discovery data set (direct discovery set).
[0174] The following describes embodiments of the present disclosure in conjunction with the accompanying drawings. The information transmission method, apparatus, terminal, and relay device provided in the embodiments of the present disclosure can be applied to a wireless communication system. The wireless communication system can be a system using fifth-generation (5G) mobile communication technology (hereinafter referred to as a 5G system). Those skilled in the art will appreciate that the 5G New Radio (NR) system is only an example and not a limitation.
[0175] The embodiments of the present disclosure provide an information transmission method, apparatus, terminal, and relay device to achieve the purpose of ensuring the effectiveness of message sending and / or flexibly protecting messages.
[0176] Among them, the method and the device are based on the same application concept. Since the principles of solving problems by the method and the device are similar, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.
[0177] As shown in FIG1 , an embodiment of the present disclosure provides an information transmission method, which is executed by a first terminal and includes:
[0178] Step S101, determining a target security scheme for protecting relay discovery messages;
[0179] Step S102: performing security protection on the generated first relay discovery message according to the target security solution;
[0180] Step S103: Send the first relay discovery message for security protection to the relay device;
[0181] The first relay discovery message includes at least one of the following:
[0182] A11. identification information of the target security solution;
[0183] It should be noted that, through the indication of the identification information, the receiver (receiving end) can clearly know what the target security scheme used by the sender is, thereby ensuring that the receiver accurately parses the received relay discovery message.
[0184] A12, the validity period of the first relay discovery message;
[0185] It should be noted that the indication of the validity time allows the receiver to determine whether the received message is valid, thereby ensuring the reliability of the subsequently transmitted message.
[0186] In some embodiments, the first terminal referred to in the embodiments of the present disclosure generally refers to an announcement UE, which is used to announce its presence during the Model A discovery process. The relay device can be regarded as a relay terminal, that is, in the Model A U2U relay discovery process, it is located between the announcement UE and the monitoring UE (the monitoring UE is used to monitor the announcement messages sent by the announcement UE during the Model A discovery process), and processes and forwards the announcement messages sent by the announcement UE.
[0187] In some embodiments, in one implementation, determining a specific implementation of a target security scheme for protecting relay discovery messages includes:
[0188] Step a1: receiving relay discovery security policy indication information sent by a key management function, wherein the relay discovery security policy indication information includes: at least one relay discovery security scheme and identification information of a security scheme corresponding to the at least one relay discovery security scheme, wherein the relay discovery security scheme is associated with a relay service code (RSC);
[0189] In some embodiments, the RSC is used to identify a specific relay service.
[0190] Step a2: Based on the at least one relay discovery security scheme, determine a security scheme for performing security protection on the relay discovery message as a target security scheme.
[0191] It should be noted that the key management function is used to allocate and distribute keys and security schemes (also known as security policies). In the disclosed embodiment, the key management function can allocate one relay discovery security scheme to the first terminal, or it can allocate two or more relay discovery security schemes to the first terminal. The first terminal needs to determine the security scheme to be used based on its own usage requirements.
[0192] For example, in some embodiments, a specific implementation method is that the key management function only configures one security scheme for the first terminal. When the first terminal is actually used, the first terminal can decide whether to use the security scheme configured by the key management function. If the first terminal uses the security scheme configured by the key management function, then if the first relay discovery message sent by the first terminal includes identification information of the target security scheme, then the identification information is the identification information corresponding to the security scheme configured by the key management function; if the first terminal does not use the security scheme configured by the key management function, then the first terminal can be pre-configured to perform relatively loose protection measures or no protection measures on the first relay discovery message sent when the security scheme configured by the key management function is not used. When the first terminal determines not to perform protection measures on the first relay discovery message sent, it can be understood as performing the weakest security protection on the first relay discovery message sent. Then, if the first relay discovery message sent by the first terminal includes identification information of the target security scheme, the identification information is a bit indication pre-configured for use when the security scheme configured by the key management function is not used.
[0193] In some embodiments, another specific implementation method is that the key management function configures at least two security schemes for the first terminal. When the first terminal is actually used, it can select a security scheme from at least two security schemes based on usage requirements to achieve security protection for the first relay discovery message to be sent.
[0194] In some embodiments, in one implementation, the relay discovery security solution includes at least one of the following:
[0195] B11, an indication of using the first key set and the second key set to protect the relay discovery message;
[0196] It should be noted that the first key set is used to protect direct messages sent between the first terminal and the second terminal, and the first key set includes at least one of the following: a confidentiality protection key, an integrity protection key, and an information scrambling key.
[0197] The second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device, and the second key set includes at least one of the following: a confidentiality protection key, an integrity protection key, and an information scrambling key.
[0198] For example, the second key set is used to protect the relay discovery message between the first terminal and the relay device; for example, the second key set is used to protect the relay discovery message between the second terminal and the relay device; for another example, the second key set is used to protect the relay discovery message between the second terminal and the relay device and to protect the relay discovery message between the first terminal and the relay device.
[0199] It should be noted here that: since symmetric key technology is used in the embodiments of the present disclosure, the key value of the message sender and the key value of the message receiver are the same.
[0200] In this case, it can be understood that the first key set and the second key set need to be used simultaneously to protect the relay discovery message.
[0201] B12, an indication of using a second key set to protect the relay discovery message;
[0202] In this case, it can be understood that only the second key set needs to be used to protect the relay discovery message.
[0203] B13. Indication of whether to enable privacy protection for the first terminal and / or the second terminal;
[0204] For example, the indication may be an indication of whether to enable privacy protection for the first terminal, an indication of whether to enable privacy protection for the second terminal, or an indication of whether to enable privacy protection for both the second terminal and the first terminal.
[0205] B14, indication of whether to enable privacy protection for relay devices;
[0206] B15, an indication of whether to enable privacy protection for the first terminal and / or the second terminal and the relay device;
[0207] For example, in this case, it can be understood as whether to enable privacy protection for the first terminal and the relay device at the same time; or whether to enable privacy protection for the second terminal and the relay device at the same time; or whether to enable privacy protection for the first terminal, the second terminal and the relay device at the same time.
[0208] B16, an indication of whether to enable integrity protection of the directly discovered data set;
[0209] B17: Indication of whether to enable integrity protection of relay discovery messages.
[0210] It should be noted that different relay discovery security schemes are determined by at least one of B11-B17, and different relay discovery security schemes contain different specific contents.
[0211] In some embodiments, in one implementation, the first relay discovery message further includes:
[0212] C11, Direct discovery set;
[0213] It should be noted that, in the relay discovery process, the first terminal and the second terminal exchange the required data through the direct discovery data set.
[0214] In some embodiments, the direct discovery dataset typically includes at least one of the following:
[0215] C111, the number of bits of the UTC-based counter from the low bit (UTC-based Counter LSB1),
[0216] It should be noted that the UTC-based Counter LSB in the direct discovery data set is a time parameter associated with the first key set, which is used to allow the sender's clock and the receiver's clock to have a certain amount of asynchronous space, but must be within the specified range of this value to avoid possible replay attacks.
[0217] C112, ProSe restricted code (ProSe Restricted Code);
[0218] This code is associated with ProSe applications and ProSe users. Part of it allows the receiver to monitor the sender's identification information for messages sent, and this part is unencrypted. Another part may be privacy-related and requires encryption. It should be noted that the key protecting direct discovery messages is associated with the ProSe restricted code.
[0219] C113, Message Integrity Check (MIC);
[0220] It should be noted that the MIC in the direct discovery data set is generated using the first key set.
[0221] C12, first end-to-end (U2U) discovery dataset;
[0222] It should be noted that, during the relay discovery process, the first terminal and the relay device exchange data required for use through the first U2U discovery data set.
[0223] In some embodiments, the first U2U discovery data set generally includes at least one of the following:
[0224] C121, Message Type;
[0225] C122, RSC;
[0226] C123, the number of bits of the UTC-based counter from the low order (UTC-based Counter LSB);
[0227] It should be noted that the UTC-based Counter LSB in the first U2U discovery data set is a time parameter associated with the second key set, which is used to allow the sender's clock and the receiver's clock to have a certain amount of asynchronous space, but must be within the specified range of this value to avoid possible replay attacks.
[0228] In some embodiments, in one implementation, when the first relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in a first U2U discovery data set.
[0229] It should be noted that by including the identification information of the target security scheme in the first relay discovery message, since the identification information accounts for a relatively small proportion, the length of the first relay discovery message can be reduced and the signaling overhead can be reduced.
[0230] In some embodiments, in one implementation, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
[0231] In some embodiments, in one implementation, the first relay discovery message further includes: identification information of the first terminal; in some embodiments, the identification information of the first terminal is located in a direct discovery data set.
[0232] In some embodiments, in one implementation, in order to ensure that the identification of the first terminal is not leaked, the identification information of the first terminal is encrypted by a key in the first key set; further in some embodiments, the key used to encrypt the identification information of the first terminal is a key that provides confidentiality protection in the first key set.
[0233] In some embodiments, in one implementation, the implementation of performing security protection on the generated first relay discovery message according to the target security scheme includes at least one of the following:
[0234] D11. Protect the direct discovery data set in the first relay discovery message using a first key set;
[0235] For example, the confidentiality protection key in the first key set can be used to encrypt part or all of the information in the direct discovery data set, the integrity protection key in the first key set can be used to protect the integrity of the direct discovery data set, and the information scrambling key in the first key set can be used to scramble the direct discovery data set; of course, the above-mentioned method of using the first key set to protect the direct discovery data set in the first relay discovery message is only an example and does not constitute a limitation on the protection scope of the embodiment of the present disclosure.
[0236] It is particularly important to note here that when the direct discovery data set includes the effective time of the first relay discovery message, the effective time cannot be encrypted and scrambled for protection.
[0237] D12. Protect the first U2U discovery data set in the first relay discovery message using a second key set;
[0238] For example, the confidentiality protection key in the second key set can be used to encrypt part or all of the information in the first U2U discovery data set, the integrity protection key in the second key set can be used to protect the integrity of the first U2U discovery data set, and the information scrambling key in the second key set can be used to scramble the first U2U discovery data set; of course, the above-mentioned method of using the second key set to protect the first U2U discovery data set in the first relay discovery message is only an example and does not constitute a limitation on the scope of protection of the embodiments of the present disclosure.
[0239] It is particularly important to note that when the first U2U discovery data set includes the identification information of the target security scheme, the identification information of the target security scheme cannot be encrypted or scrambled. When the first U2U discovery data set includes the validity period of the first relay discovery message, the validity period may not be encrypted or scrambled.
[0240] D13. Protect the first relay discovery message using a second key set;
[0241] For example, the integrity protection key in the second key set can be used to perform integrity protection on the first relay discovery message, and the information scrambling key in the second key set can also be used to scramble the first relay discovery message; of course, the above-mentioned method of using the second key set to protect the first relay discovery message is only an example and does not constitute a limitation on the protection scope of the embodiment of the present disclosure.
[0242] In some embodiments, in one implementation, after receiving a first relay discovery message, the relay device generates a second relay discovery message based on the first relay discovery message; performs security protection on the second relay discovery message; and sends the second relay discovery message with security protection to a second terminal.
[0243] It should be noted that the second terminal referred to in the embodiment of the present disclosure refers to a monitoring UE, which is used to monitor the announcement message sent by the announcement UE during the Model A discovery process.
[0244] It should be noted that the first relay discovery message is a discovery message sent by the announcement terminal to the relay device, which can also be called relay discovery message 1; the second relay discovery message is a discovery message sent by the relay device to the monitoring terminal, which can also be called relay discovery message 2.
[0245] In some embodiments, in one implementation, the specific implementation of generating the second relay discovery message according to the first relay discovery message includes:
[0246] Determining a target security scheme for security protection of the first relay discovery message by the first terminal;
[0247] verifying and decrypting the first relay discovery message according to the target security scheme;
[0248] A second relay discovery message is generated according to the decrypted first relay discovery message.
[0249] It should be noted that, after decrypting the first relay discovery message, the relay device can obtain a direct discovery data set, and the relay device obtains the second relay discovery message based on the direct discovery data set.
[0250] Further in some embodiments, determining a target security scheme for the first terminal to perform security protection on the first relay discovery message includes:
[0251] Obtaining identification information of the target security scheme in the first relay discovery message;
[0252] A target security solution is determined based on the identification information.
[0253] It should be noted that the relay device obtains the identification information of the target security scheme from the first U2U discovery data set, and the key management function will also send the relay discovery security policy indication information to the relay device when sending the relay discovery security policy indication information to the first terminal. When the relay device receives the relay discovery security policy indication information, it will store at least one relay discovery security scheme and the identification information of the security scheme corresponding to the at least one relay discovery security scheme. After obtaining the identification information of the target security scheme in the first U2U discovery data set, the relay device can search the local storage based on the identification information to determine what specific content the target security scheme contains.
[0254] In some embodiments, in one implementation, the second relay discovery message includes at least one of the following:
[0255] E11. Identification information of the target security solution;
[0256] In some embodiments, when the first relay-sent message includes identification information of the target security scheme, the second relay-sent message generated by the relay device should also include identification information of the target security scheme to ensure that the second terminal can accurately parse the second relay-sent message.
[0257] E12, the validity period of the first relay discovery message;
[0258] It should be noted that when the first relay discovery message includes the validity time of the first relay discovery message, the validity time generally indicates the validity of the direct discovery data set in the first relay message. When the second relay discovery message includes the validity time, the second terminal can determine the validity of the direct discovery data set of a first terminal contained in the second relay discovery message based on the validity time when receiving the second relay discovery message.
[0259] In some embodiments, the second relay discovery message further includes:
[0260] E21, the second U2U discovery dataset;
[0261] In some embodiments, the second U2U discovery data set generally includes at least one of the following:
[0262] C121, Message Type;
[0263] C122, RSC;
[0264] C123, the number of bits of the UTC-based counter starting from the low order (UTC-based Counter LSB2);
[0265] It should be noted that the UTC-based Counter LSB in the second U2U discovery data set is a time parameter associated with the second key set.
[0266] E22, directly find the dataset list;
[0267] It should be noted that the direct discovery data set list includes: a direct discovery data set in a first relay discovery message sent by at least one first terminal.
[0268] In some embodiments, when the second relay discovery message includes: the validity period of the first relay discovery message, the method further includes:
[0269] Determining whether the first relay discovery message is valid according to the validity period of the first relay discovery message;
[0270] If the first relay discovery message is valid, it is determined that the direct discovery data set list includes the direct discovery data set in the first relay discovery message.
[0271] That is, all directly discovered datasets included in the directly discovered dataset list are within the valid time.
[0272] For example, the effective time is the target time slot. When the moment when the relay device receives the first relay discovery message is before the target time slot, the relay device determines that the direct discovery data set in the first relay discovery message is valid, and places the direct discovery data set in the direct discovery data set list in the second relay discovery message.
[0273] In some embodiments, when the second relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the second U2U discovery data set.
[0274] In some embodiments, when the second relay discovery message includes: the validity time of the first relay discovery message, the validity time of the first relay discovery message is located in the direct discovery data set list.
[0275] It should be noted here that if the valid time in the first relay discovery message is located in the direct discovery data set, then each direct discovery data set in the direct discovery data set list in the second relay discovery message includes the valid time; if the valid time in the first relay discovery message is located in the first U2U discovery data set, then the second relay discovery message does not include the valid time, that is, in this case, the valid time in the first relay discovery message is used to determine whether to include the direct discovery data set in the first relay discovery message in the direct discovery data set list of the second relay discovery message.
[0276] In some embodiments, in one implementation, the second relay discovery message further includes: identification information of the relay device. In some embodiments, the identification information of the relay device is located in a U2U discovery data set.
[0277] In some embodiments, in one implementation, in order to ensure that the identification of the relay device is not leaked, the identification information of the relay device is encrypted by a key in the second key set; further in some embodiments, the key used to encrypt the identification information of the relay device is a key in the second key set that provides confidentiality protection.
[0278] In some embodiments, in one implementation, the implementation of security protection for the second relay discovery message includes at least one of the following:
[0279] F11. Protect the second U2U discovery data set in the second relay discovery message using a second key set;
[0280] For example, the confidentiality protection key in the second key set can be used to encrypt part or all of the information in the second U2U discovery data set, the integrity protection key in the second key set can be used to protect the integrity of the second U2U discovery data set, and the information scrambling key in the second key set can be used to scramble the second U2U discovery data set; of course, the above-mentioned method of using the second key set to protect the second U2U discovery data set in the second relay discovery message is only an example and does not constitute a limitation on the scope of protection of the embodiments of the present disclosure.
[0281] It is particularly important to note that when the second U2U discovery data set includes identification information of the target security scheme, the identification information of the target security scheme cannot be encrypted or scrambled.
[0282] F12. Protect the second relay discovery message using a second key set;
[0283] For example, the integrity protection key in the second key set can be used to protect the integrity of the second relay discovery message, and the information scrambling key in the second key set can also be used to scramble the second relay discovery message; of course, the above-mentioned method of using the second key set to protect the second relay discovery message is only an example and does not constitute a limitation on the protection scope of the embodiment of the present disclosure.
[0284] In some embodiments, after receiving the second relay discovery message, the second terminal determines the target security scheme for the relay terminal to perform security protection on the first relay discovery message; and verifies and decrypts the second relay discovery message according to the target security scheme. It should be noted that the relay device obtains the identification information of the target security scheme in the second U2U discovery data set, and the key management function will also send the relay discovery security policy indication information to the second terminal when sending the relay discovery security policy indication information to the first terminal. When the second terminal receives the relay discovery security policy indication information, it will store the identification information of at least one relay discovery security scheme and the security scheme corresponding to the at least one relay discovery security scheme. After obtaining the identification information of the target security scheme in the second U2U discovery data set, the second terminal can search the local storage based on the identification information to determine what specific content the target security scheme contains.
[0285] The following takes the announcement UE, monitoring UE and relay UE communication as an example to illustrate the specific implementation of the embodiment of the present disclosure.
[0286] As shown in Figure 2, the specific implementation process includes:
[0287] Step 21: The key management function sends the first key set (Key Set 1), the second key set (Key Set 2), and the relay discovery security policy indication information to the announcing UE.
[0288] It should be noted that the announcement UE may include one or more UEs.
[0289] Step 22: The key management function sends the first key set (Key Set 1), the second key set (Key Set 2), and the relay discovery security policy indication information to the monitoring UE.
[0290] It should be noted that the monitoring UE may include one or more UEs.
[0291] Step 23: The key management function sends the second key set (Key Set 2) and relay discovery security policy indication information to the relay UE.
[0292] It should be noted that there is no obvious order for the above steps 21 to 23, and the three steps can be executed simultaneously.
[0293] It should be noted that the relay discovery security policy indication information may include one or more relay discovery security schemes (Security Schemes) and their identifiers (Security Scheme IDs). Each Security Scheme describes a security policy for relay discovery messages. Specifically, the content of the security policy can be found in the above description and will not be repeated here.
[0294] It should be noted that after receiving the relay discovery security policy indication information, the announcing UE, monitoring UE, and relay terminal store the relay discovery security solution locally for subsequent use.
[0295] Step 24: Announce that the UE selects a security scheme, generates a first relay discovery message, and provides security protection for the first relay discovery message based on the security scheme.
[0296] It should be noted that, in this application scenario, the first relay discovery message contains a direct discovery data set and a first U2U discovery data set, as well as a Security Scheme ID that describes the security scheme used by the relay discovery message. The identifier of the announcing UE (Announcing UE ID) is included in the direct discovery data set. The valid time (Valid Time) is included in the direct discovery data set. The Valid Time describes the valid time of the first relay discovery message. If this valid time is exceeded, the message will be invalid, and the relay UE does not need to continue to process and forward the content related to this message. The first relay discovery message carries the identifier (Security Scheme ID) of the security scheme used by the announcing UE. The recipient searches for the locally stored security scheme based on the Security Scheme ID in the message, and then verifies and decrypts the received message based on the specific content described in the security scheme, and performs corresponding security processing on the subsequently generated messages (relay forwarding messages) based on the security scheme.
[0297] For example, if the security solution specifies that privacy security of the announcing UE is enabled, the identity of the announcing UE is encrypted with the confidentiality protection key in Key Set 1. For example, based on the provisions of the security solution, the announcing UE uses Key Set 1 to further protect the direct discovery data set and uses Key Set 2 to further protect the first U2U discovery data set and the first relay discovery message.
[0298] Step 25: Announce that the UE sends a first relay discovery message.
[0299] In some embodiments, in the first case, the specific format of the first relay discovery message is shown in FIG3 .
[0300] Specifically: the first relay discovery message includes a direct discovery data set and a first U2U discovery data set. The first U2U discovery data set includes: Message Type, Security Scheme ID, RSC and UTC-based Counter LSB2; the direct discovery data set includes: UTC-based Counter LSB1, ProSe Restricted Code, Announcing UE ID, Valid Time and MIC1; the first relay discovery message also includes MIC2.
[0301] It should be noted that UTC-based Counter LSB1 is a time parameter associated with Key Set 1, UTC-based Counter LSB2 is a time parameter associated with Key Set 2, MIC1 is generated using Key Set 1, and MIC2 is generated using Key Set 2.
[0302] In some embodiments, in the second case, the specific format of the first relay discovery message is shown in FIG4 .
[0303] Specifically: the first relay discovery message includes a direct discovery data set and a first U2U discovery data set. The first U2U discovery data set includes: Message Type, Security Scheme ID, RSC and UTC-based Counter LSB2, Valid Time; the direct discovery data set includes: UTC-based Counter LSB1, ProSe Restricted Code, Announcing UE ID and MIC1; the first relay discovery message also includes MIC2.
[0304] As can be seen, the first relay discovery message includes the Security Scheme ID. The Announcing UE ID is included in the Direct Discovery Data Set and can be encrypted with Key Set 1. The Valid Time is included in either the Direct Discovery Data Set or the first U2U Discovery Data Set. The Direct Discovery Data Set is integrity protected with Key Set 1. The first relay discovery request message, consisting of the first U2U Discovery Data Set and the Direct Discovery Data Set, is integrity protected with Key Set 2.
[0305] Step 26: The relay UE generates a second relay discovery message;
[0306] It should be noted that the relay UE receives the first relay discovery message, uses the Security Scheme ID in the first relay discovery message to obtain the locally stored Security Scheme, and then verifies and decrypts the first relay discovery message based on the Security Scheme.
[0307] Before generating the second relay discovery message, the relay UE first needs to check the Valid Time in the first relay discovery message to determine whether the message is still valid. If so, the direct discovery data set therein can be included in the direct discovery data set list (Direct Discovery Set List) of the second relay discovery message.
[0308] The second relay discovery message includes a second U2U discovery data set generated by the relay UE, a direct discovery data set list (Direct discovery set list), and a Security Scheme ID from the first relay discovery message. The Direct discovery set list is generated by the relay UE, which includes the direct discovery data sets in the first relay discovery message sent by each announcement UE and received by the relay UE. The relay UE identifier (Relay UE ID) is included in the second U2U discovery data set. If the Security Scheme stipulates that the relay UE privacy security is enabled, the Relay UE ID is encrypted by the encryption key in Key Set2. The relay UE can also use Key Set2 to provide further protection for the second U2U discovery data set and the second relay discovery message based on the provisions of the Security Scheme.
[0309] Step 27: The relay UE sends a second relay discovery message.
[0310] In some embodiments, corresponding to the first case of the first relay discovery message, the specific format of the second relay discovery message is shown in FIG5 .
[0311] The second relay discovery message consists of a second U2U discovery data set and a direct discovery data set list. The second U2U discovery data set includes: Message Type, Security Scheme ID, RSC and UTC-based Counter LSB2, Relay UE ID; the direct discovery data set list includes: at least one direct discovery data set, each of which includes: UTC-based Counter LSB1, ProSe Restricted Code, Announcing UE ID, Valid Time and MIC1; the second relay discovery message also includes MIC2.
[0312] It should be noted that UTC-based Counter LSB1 is a time parameter associated with Key Set 1, UTC-based Counter LSB2 is a time parameter associated with Key Set 2, MIC1 is generated using Key Set 1, and MIC2 is generated using Key Set 2.
[0313] In some embodiments, corresponding to the second case of the first relay discovery message, the specific format of the second relay discovery message is shown in FIG6 .
[0314] The second relay discovery message consists of a second U2U discovery data set and a direct discovery data set list. The second U2U discovery data set includes: Message Type, Security Scheme ID, RSC and UTC-based Counter LSB2, Relay UE ID; the direct discovery data set list includes: at least one direct discovery data set, each of which includes: UTC-based Counter LSB1, ProSe Restricted Code, Announcing UE ID and MIC1; the second relay discovery message also includes MIC2.
[0315] As can be seen, the second relay discovery message includes the Security Scheme ID. The Relay UE ID is included in the second U2U discovery data set generated by the Relay UE and can be encrypted by Key Set 2. The second relay discovery message is integrity protected by Key Set 2.
[0316] Step 28: The monitoring UE verifies the second relay discovery message;
[0317] It should be noted that the monitoring UE receives the second relay discovery message, uses the Security Scheme ID in the second relay discovery message to obtain the locally stored Security Scheme, and then uses Key Set2 to verify and decrypt the second relay discovery message sent by the relay UE based on the Security Scheme, and uses Key Set1 to verify and decrypt each direct discovery data set in the direct discovery data set list.
[0318] The monitoring UE also needs to check the Valid Time in the second relay discovery message to determine whether the message is still valid, then obtain the content in the second relay discovery message and perform subsequent processing.
[0319] It should be noted that at least one embodiment of the present disclosure first determines the target security scheme for security protection, and then carries the identification information of the target security scheme used and / or the validity period of the first relay discovery message in the relay discovery message sent, so that the recipient can accurately parse the relay discovery message and / or determine whether the received relay discovery message is valid, thereby achieving the purpose of ensuring the effectiveness of message sending and / or flexibly performing message protection.
[0320] The technical solution provided by the embodiments of the present disclosure can be applicable to a variety of systems, especially 5G systems. For example, the applicable system can be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) general packet radio service (GPRS) system, a long term evolution (LTE) system, a LTE frequency division duplex (FDD) system, a LTE time division duplex (TDD) system, an advanced long term evolution (LTE-A) system, a universal mobile telecommunication system (UMTS), a world-wide interoperability for microwave access (WiMAX) system, a 5G new air interface (NR) system, etc. These various systems include terminals (also referred to as terminal devices) and network devices. The system may also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), etc.
[0321] The terminal involved in the embodiments of the present disclosure may also be referred to as a terminal device, which may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connection function, or other processing devices connected to a wireless modem. In different systems, the name of the terminal device may also be different. For example, in a 5G system, the terminal device may be referred to as a user equipment (UE). A wireless terminal device can communicate with one or more core networks (CN) via a radio access network (RAN). The wireless terminal device may be a mobile terminal device, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal device. For example, it may be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges voice and / or data with a radio access network. For example, a personal communication service (PCS) phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), and other devices. The wireless terminal device may also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, a remote terminal device, an access terminal device, a user terminal device, a user agent, or a user device, but is not limited in the embodiments of the present disclosure.
[0322] The network device involved in the embodiments of the present disclosure may be a base station, which may include multiple cells providing services to terminals. Depending on the specific application scenario, the base station may also be called an access point, or may be a device in an access network that communicates with a wireless terminal device through one or more sectors on an air interface, or may be called another name. The network device may be used to interchange received air frames with Internet Protocol (IP) packets, acting as a router between the wireless terminal device and the rest of the access network, wherein the rest of the access network may include an Internet Protocol (IP) communication network. The network device may also coordinate the attribute management of the air interface. For example, the network device involved in the embodiments of the present disclosure may be a base transceiver station (BTS) in the Global System for Mobile communications (GSM) or code division multiple access (CDMA), a network device (NodeB) in wide-band code division multiple access (WCDMA), an evolutionary Node B (eNB or e-NodeB) in the long term evolution (LTE) system, a 5G base station (gNB) in the 5G network architecture (next generation system), a home evolved Node B (HeNB), a relay node, a femto, a pico, etc., and is not limited in the embodiments of the present disclosure. In some network structures, the network device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be geographically separated.
[0323] Network devices and terminal devices can each use one or more antennas for Multiple Input Multiple Output (MIMO) transmission. MIMO transmission can be single-user MIMO (SU-MIMO) or multi-user MIMO (MU-MIMO). Depending on the configuration and number of antenna combinations, MIMO transmission can be two-dimensional MIMO (2D-MIMO), three-dimensional MIMO (3D-MIMO), full-dimensional MIMO (FD-MIMO), or massive MIMO. It can also use diversity transmission, precoding, or beamforming.
[0324] As shown in FIG7 , an embodiment of the present disclosure provides an information transmission method, which is performed by a relay device and includes:
[0325] Step S701: receiving a first relay discovery message sent by a first terminal, where the first relay discovery message is security protected by the first terminal based on a target security solution;
[0326] Step S702: Generate a second relay discovery message according to the first relay discovery message;
[0327] Step S703: Perform security protection on the second relay discovery message;
[0328] Step S704: Sending a second relay discovery message for security protection to the second terminal;
[0329] The first relay discovery message includes at least one of the following:
[0330] identification information of the target security solution;
[0331] The validity period of the first relay discovery message.
[0332] In some embodiments, the first relay discovery message further includes:
[0333] Directly discover datasets;
[0334] A first device-to-device U2U discovery data set.
[0335] In some embodiments, when the first relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the first U2U discovery data set.
[0336] In some embodiments, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
[0337] In some embodiments, the first relay discovery message also includes: identification information of the first terminal.
[0338] In some embodiments, generating a second relay discovery message according to the first relay discovery message includes:
[0339] Determining a target security scheme for security protection of the first relay discovery message by the first terminal;
[0340] verifying and decrypting the first relay discovery message according to the target security scheme;
[0341] A second relay discovery message is generated according to the decrypted first relay discovery message.
[0342] In some embodiments, determining a target security scheme for the first terminal to perform security protection on the first relay discovery message includes:
[0343] Obtaining identification information of the target security scheme in the first relay discovery message;
[0344] A target security solution is determined based on the identification information.
[0345] In some embodiments, the second relay discovery message includes at least one of the following:
[0346] identification information of the target security solution;
[0347] The validity period of the first relay discovery message.
[0348] In some embodiments, the second relay discovery message further includes:
[0349] Second, U2U discovery dataset and direct discovery dataset list.
[0350] In some embodiments, when the second relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the second U2U discovery data set.
[0351] In some embodiments, when the second relay discovery message includes: the validity time of the first relay discovery message, the validity time of the first relay discovery message is located in the direct discovery data set list.
[0352] In some embodiments, the direct discovery data set list includes: a direct discovery data set in a first relay discovery message sent by at least one first terminal.
[0353] In some embodiments, when the second relay discovery message includes: the validity period of the first relay discovery message, the method further includes:
[0354] Determining whether the first relay discovery message is valid according to the validity period of the first relay discovery message;
[0355] If the first relay discovery message is valid, it is determined that the direct discovery data set list includes the direct discovery data set in the first relay discovery message.
[0356] In some embodiments, the second relay discovery message also includes: identification information of the relay device.
[0357] In some embodiments, the identification information of the relay device satisfies at least one of the following:
[0358] The identification information of the relay device is located in the U2U discovery data set;
[0359] The identification information of the relay device is encrypted by a key in the second key set;
[0360] The second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
[0361] In some embodiments, the performing security protection on the second relay discovery message includes at least one of the following:
[0362] Protecting a second U2U discovery data set in the second relay discovery message using a second key set;
[0363] The second relay discovery message is protected using a second key set.
[0364] It should be noted that all implementation methods in the above embodiments are applicable to the embodiments of the information transmission method applied to the relay device side, and can achieve the same technical effects, so they will not be repeated here.
[0365] As shown in FIG8 , an embodiment of the present disclosure provides an information transmission device 800, which is applied to a first terminal and includes:
[0366] The first determining unit 801 is configured to determine a target security scheme for protecting the relay discovery message;
[0367] A first processing unit 802 is configured to perform security protection on the generated first relay discovery message according to the target security scheme;
[0368] A first sending unit 803 is configured to send the first relay discovery message for security protection to a relay device;
[0369] The first relay discovery message includes at least one of the following:
[0370] identification information of the target security solution;
[0371] The validity period of the first relay discovery message.
[0372] In some embodiments, the first determining unit 801 is configured to:
[0373] Receive relay discovery security policy indication information sent by the key management function, the relay discovery security policy indication information including: at least one relay discovery security scheme and identification information of a security scheme corresponding to the at least one relay discovery security scheme, the relay discovery security scheme being associated with a relay service code RSC;
[0374] Based on the at least one relay discovery security scheme, a security scheme for performing security protection on the relay discovery message is determined as a target security scheme.
[0375] In some embodiments, the relay discovery security scheme includes at least one of the following:
[0376] an indication that the relay discovery message is protected using the first key set and the second key set;
[0377] an indication of using a second key set to protect the relay discovery message;
[0378] an indication of whether to enable privacy protection for the first terminal and / or the second terminal;
[0379] Indication of whether to enable privacy protection for relay devices;
[0380] An indication of whether to enable privacy protection for the first terminal and / or the second terminal and the relay device;
[0381] Indication of whether to enable integrity protection of the directly discovered dataset;
[0382] Indication of whether to enable integrity protection of relay discovery messages;
[0383] The first key set is used to protect direct messages sent between the first terminal and the second terminal, and the second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
[0384] In some embodiments, the first relay discovery message further includes:
[0385] Directly discover datasets;
[0386] A first device-to-device U2U discovery data set.
[0387] In some embodiments, when the first relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the first U2U discovery data set.
[0388] In some embodiments, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
[0389] In some embodiments, the first relay discovery message also includes: identification information of the first terminal.
[0390] In some embodiments, the identification information of the first terminal satisfies at least one of the following:
[0391] The identification information of the first terminal is located in the direct discovery data set;
[0392] The identification information of the first terminal is encrypted using a key in a first key set.
[0393] In some embodiments, the first processing unit 802 is configured to implement at least one of the following:
[0394] Protecting a direct discovery data set in the first relay discovery message using a first key set;
[0395] Protecting the first U2U discovery data set in the first relay discovery message using a second key set;
[0396] The first relay discovery message is protected using a second key set.
[0397] It should be noted that the device embodiment is a device that corresponds one-to-one to the above-mentioned method embodiment. All implementation methods in the above-mentioned method embodiment are applicable to the device embodiment and can achieve the same technical effects.
[0398] It should be noted that the division of units in the embodiments of the present disclosure is schematic and is merely a logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of the present disclosure may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0399] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0400] As shown in FIG9 , an embodiment of the present disclosure further provides a terminal, which is a first terminal and includes a processor 900, a transceiver 910, a memory 920, and a program stored in the memory 920 and executable on the processor 900. The transceiver 910 is connected to the processor 900 and the memory 920 via a bus interface. The processor 900 is configured to read the program in the memory and execute the following process:
[0401] Determine the target security scheme for securing relay discovery messages;
[0402] Performing security protection on the generated first relay discovery message according to the target security scheme;
[0403] Sending the first relay discovery message with security protection to the relay device;
[0404] The first relay discovery message includes at least one of the following:
[0405] identification information of the target security solution;
[0406] The validity period of the first relay discovery message.
[0407] The transceiver 910 is configured to receive and send data under the control of the processor 900 .
[0408] In FIG9 , the bus architecture may include any number of interconnected buses and bridges, specifically various circuits connected together by one or more processors represented by processor 900 and memory represented by memory 920. The bus architecture may also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 910 may be a plurality of components, i.e., a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, such as a wireless channel, a wired channel, an optical cable, and the like. For different user devices, the user interface 930 may also be an interface capable of connecting external or internal devices as required, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.
[0409] The processor 900 is responsible for managing the bus architecture and general processing, and the memory 920 can store data used by the processor 900 when performing operations.
[0410] In some embodiments, the processor 900 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.
[0411] The processor calls the computer program stored in the memory to execute any of the methods provided by the embodiments of the present disclosure according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.
[0412] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:
[0413] Receive relay discovery security policy indication information sent by the key management function, the relay discovery security policy indication information including: at least one relay discovery security scheme and identification information of a security scheme corresponding to the at least one relay discovery security scheme, the relay discovery security scheme being associated with a relay service code RSC;
[0414] Based on the at least one relay discovery security scheme, a security scheme for performing security protection on the relay discovery message is determined as a target security scheme.
[0415] In some embodiments, the relay discovery security scheme includes at least one of the following:
[0416] an indication that the relay discovery message is protected using the first key set and the second key set;
[0417] an indication of using a second key set to protect the relay discovery message;
[0418] an indication of whether to enable privacy protection for the first terminal and / or the second terminal;
[0419] Indication of whether to enable privacy protection for relay devices;
[0420] An indication of whether to enable privacy protection for the first terminal and / or the second terminal and the relay device;
[0421] Indication of whether to enable integrity protection of the directly discovered dataset;
[0422] Indication of whether to enable integrity protection of relay discovery messages;
[0423] The first key set is used to protect direct messages sent between the first terminal and the second terminal, and the second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
[0424] In some embodiments, the first relay discovery message further includes:
[0425] Directly discover datasets;
[0426] A first device-to-device U2U discovery data set.
[0427] In some embodiments, when the first relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the first U2U discovery data set.
[0428] In some embodiments, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
[0429] In some embodiments, the first relay discovery message also includes: identification information of the first terminal.
[0430] In some embodiments, the identification information of the first terminal satisfies at least one of the following:
[0431] The identification information of the first terminal is located in the direct discovery data set;
[0432] The identification information of the first terminal is encrypted using a key in a first key set.
[0433] In some embodiments, the processor is configured to read the computer program in the memory and perform at least one of the following operations:
[0434] Protecting a direct discovery data set in the first relay discovery message using a first key set;
[0435] Protecting the first U2U discovery data set in the first relay discovery message using a second key set;
[0436] The first relay discovery message is protected using a second key set.
[0437] It should be noted here that the above-mentioned terminal provided in the embodiment of the present disclosure can implement all the method steps implemented in the above-mentioned method embodiment and can achieve the same technical effects. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.
[0438] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the information transmission method applied to the first terminal are implemented. The processor-readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (such as a floppy disk, a hard disk, a magnetic tape, a magneto-optical disk (MO), etc.), optical storage (such as a compact disk (CD), a digital video disc (DVD), a Blu-ray disc (BD), a high-definition versatile disc (HVD), etc.), and semiconductor memory (such as read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), non-volatile memory (NAND FLASH), solid-state disk (SSD), etc.).
[0439] As shown in FIG10 , an embodiment of the present disclosure provides an information transmission apparatus 1000, which is applied to a relay device and includes:
[0440] The receiving unit 1001 is configured to receive a first relay discovery message sent by a first terminal, where the first relay discovery message is security protected by the first terminal based on a target security scheme;
[0441] A generating unit 1002 is configured to generate a second relay discovery message according to the first relay discovery message;
[0442] The second processing unit 1003 is configured to perform security protection on the second relay discovery message;
[0443] The second sending unit 1004 is configured to send a second relay discovery message with security protection to a second terminal;
[0444] The first relay discovery message includes at least one of the following:
[0445] identification information of the target security solution;
[0446] The validity period of the first relay discovery message.
[0447] In some embodiments, the first relay discovery message further includes:
[0448] Directly discover datasets;
[0449] A first device-to-device U2U discovery data set.
[0450] In some embodiments, when the first relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the first U2U discovery data set.
[0451] In some embodiments, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
[0452] In some embodiments, the first relay discovery message also includes: identification information of the first terminal.
[0453] In some embodiments, the generating unit 1002 is configured to:
[0454] Determining a target security scheme for security protection of the first relay discovery message by the first terminal;
[0455] verifying and decrypting the first relay discovery message according to the target security scheme;
[0456] A second relay discovery message is generated according to the decrypted first relay discovery message.
[0457] In some embodiments, determining an implementation method of a target security solution for the first terminal to securely protect the first relay discovery message includes:
[0458] Obtaining identification information of the target security scheme in the first relay discovery message;
[0459] A target security solution is determined based on the identification information.
[0460] In some embodiments, the second relay discovery message includes at least one of the following:
[0461] identification information of the target security solution;
[0462] The validity period of the first relay discovery message.
[0463] In some embodiments, the second relay discovery message further includes:
[0464] Second, U2U discovery dataset and direct discovery dataset list.
[0465] In some embodiments, when the second relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the second U2U discovery data set.
[0466] In some embodiments, when the second relay discovery message includes: the validity time of the first relay discovery message, the validity time of the first relay discovery message is located in the direct discovery data set list.
[0467] In some embodiments, the direct discovery data set list includes: a direct discovery data set in a first relay discovery message sent by at least one first terminal.
[0468] In some embodiments, when the second relay discovery message includes: the validity period of the first relay discovery message, the apparatus further includes:
[0469] a judging unit, configured to judge whether the first relay discovery message is valid according to the validity period of the first relay discovery message;
[0470] The second determining unit is configured to determine, if the first relay discovery message is valid, whether the direct discovery data set list includes the direct discovery data set in the first relay discovery message.
[0471] In some embodiments, the second relay discovery message also includes: identification information of the relay device.
[0472] In some embodiments, the identification information of the relay device satisfies at least one of the following:
[0473] The identification information of the relay device is located in the U2U discovery data set;
[0474] The identification information of the relay device is encrypted by a key in the second key set;
[0475] The second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
[0476] In some embodiments, the second processing unit 1003 is configured to implement at least one of the following:
[0477] Protecting a second U2U discovery data set in the second relay discovery message using a second key set;
[0478] The second relay discovery message is protected using a second key set.
[0479] It should be noted that the device embodiment is a device that corresponds one-to-one to the above-mentioned method embodiment. All implementation methods in the above-mentioned method embodiment are applicable to the device embodiment and can achieve the same technical effects.
[0480] It should be noted that the division of units in the embodiments of the present disclosure is schematic and is merely a logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of the present disclosure may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0481] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the relevant technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0482] As shown in FIG11 , an embodiment of the present disclosure further provides a relay device, including a processor 1100, a transceiver 1110, a memory 1120, and a program stored in the memory 1120 and executable on the processor 1100. The transceiver 1110 is connected to the processor 1100 and the memory 1120 via a bus interface. The processor 1100 is configured to read the program in the memory and execute the following process:
[0483] receiving a first relay discovery message sent by a first terminal, where the first relay discovery message is security protected by the first terminal based on a target security scheme;
[0484] Generate a second relay discovery message according to the first relay discovery message;
[0485] Performing security protection on the second relay discovery message;
[0486] Sending a second relay discovery message for security protection to the second terminal;
[0487] The first relay discovery message includes at least one of the following:
[0488] identification information of the target security solution;
[0489] The validity period of the first relay discovery message.
[0490] The transceiver 1110 is configured to receive and send data under the control of the processor 1100 .
[0491] In FIG11 , the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 1100 and memory represented by memory 1120. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, all of which are well known in the art and, therefore, will not be further described herein. The bus interface provides an interface. The transceiver 1110 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices over a transmission medium, such as a wireless channel, a wired channel, an optical cable, or the like.
[0492] The processor 1100 is responsible for managing the bus architecture and general processing, and the memory 1120 can store data used by the processor 1100 when performing operations.
[0493] In some embodiments, the processor 1100 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.
[0494] The processor calls the computer program stored in the memory to execute any of the methods provided by the embodiments of the present disclosure according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.
[0495] In some embodiments, the first relay discovery message further includes:
[0496] Directly discover datasets;
[0497] A first device-to-device U2U discovery data set.
[0498] In some embodiments, when the first relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the first U2U discovery data set.
[0499] In some embodiments, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
[0500] In some embodiments, the first relay discovery message also includes: identification information of the first terminal.
[0501] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:
[0502] Determining a target security scheme for security protection of the first relay discovery message by the first terminal;
[0503] verifying and decrypting the first relay discovery message according to the target security scheme;
[0504] A second relay discovery message is generated according to the decrypted first relay discovery message.
[0505] In some embodiments, the processor is configured to read the computer program in the memory and perform the following operations:
[0506] Obtaining identification information of the target security scheme in the first relay discovery message;
[0507] A target security solution is determined based on the identification information.
[0508] In some embodiments, the second relay discovery message includes at least one of the following:
[0509] identification information of the target security solution;
[0510] The validity period of the first relay discovery message.
[0511] In some embodiments, the second relay discovery message further includes:
[0512] Second, U2U discovery dataset and direct discovery dataset list.
[0513] In some embodiments, when the second relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the second U2U discovery data set.
[0514] In some embodiments, when the second relay discovery message includes: the validity time of the first relay discovery message, the validity time of the first relay discovery message is located in the direct discovery data set list.
[0515] In some embodiments, the direct discovery data set list includes: a direct discovery data set in a first relay discovery message sent by at least one first terminal.
[0516] In some embodiments, when the second relay discovery message includes: the validity period of the first relay discovery message, the processor, configured to read the computer program in the memory, further performs the following operations:
[0517] Determining whether the first relay discovery message is valid according to the validity period of the first relay discovery message;
[0518] If the first relay discovery message is valid, it is determined that the direct discovery data set list includes the direct discovery data set in the first relay discovery message.
[0519] In some embodiments, the second relay discovery message also includes: identification information of the relay device.
[0520] In some embodiments, the identification information of the relay device satisfies at least one of the following:
[0521] The identification information of the relay device is located in the U2U discovery data set;
[0522] The identification information of the relay device is encrypted by a key in the second key set;
[0523] The second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
[0524] In some embodiments, the processor is configured to read the computer program in the memory and perform at least one of the following operations:
[0525] Protecting a second U2U discovery data set in the second relay discovery message using a second key set;
[0526] The second relay discovery message is protected using a second key set.
[0527] It should be noted here that the above-mentioned relay device provided in the embodiment of the present disclosure can implement all the method steps implemented in the above-mentioned method embodiment and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.
[0528] The present disclosure also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of the information transmission method applied to the relay device. The processor-readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (such as a floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.
[0529] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage and optical storage, etc.) containing computer-usable program code.
[0530] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0531] These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0532] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0533] It should be noted that it should be understood that the division of the above modules is merely a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. Moreover, these modules can all be implemented in the form of software called by a processing element; or they can all be implemented in the form of hardware; or some modules can be implemented in the form of software called by a processing element, and some modules can be implemented in the form of hardware. For example, the determination module can be a separately established processing element, or it can be integrated into a chip of the above-mentioned device. In addition, it can also be stored in the memory of the above-mentioned device in the form of program code, and called by a processing element of the above-mentioned device to perform the functions of the above-mentioned determination module. The implementation of other modules is similar. In addition, these modules can all or partly be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed by the hardware integrated logic circuit in the processor element or by instructions in the form of software.
[0534] For example, each module, unit, sub-unit or sub-module may be one or more integrated circuits configured to implement the above method, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented by scheduling program code through a processing element, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0535] The terms "first," "second," and the like in the specification and claims of the present disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of the present disclosure described herein may be implemented in a sequence other than that illustrated or described herein. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units need not be limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or devices. In addition, the use of "and / or" in the specification and claims to indicate at least one of the connected objects, for example, A and / or B and / or C, means that seven situations are included: A alone, B alone, C alone, both A and B present, both B and C present, both A and C present, and all A, B, and C present. Similarly, the use of "at least one of A and B" in the specification and claims should be understood to mean "A alone, B alone, or both A and B present."
[0536] Obviously, those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include these modifications and variations.
Claims
1. An information transmission method, performed by a first terminal, comprising: Determine the target security scheme for securing relay discovery messages; According to the target security scheme, security protection is performed on the generated first relay discovery message; Sending the first relay discovery message for security protection to the relay device; The first relay discovery message includes at least one of the following: Identification information of the target security solution; The validity period of the first relay discovery message.
2. The method according to claim 1, wherein: The determining of a target security scheme for performing security protection on the relay discovery message includes: Receiving relay discovery security policy indication information sent by a key management function, the relay discovery security policy indication information including: at least one relay discovery security scheme and identification information of a security scheme corresponding to the at least one relay discovery security scheme, the relay discovery security scheme being associated with a relay service code RSC; Based on the at least one relay discovery security scheme, a security scheme for performing security protection on the relay discovery message is determined as a target security scheme.
3. The method according to claim 1 or 2, wherein: The relay discovery security solution includes at least one of the following: an indication of protecting the relay discovery message using the first key set and the second key set; an indication of using a second key set to protect the relay discovery message; an indication of whether to enable privacy protection for the first terminal and / or the second terminal; Indication of whether to enable privacy protection for relay devices; An indication of whether to enable privacy protection for the first terminal and / or the second terminal and the relay device; An indication of whether to enable integrity protection of the direct discovery dataset; An indication of whether to enable integrity protection of relay discovery messages; The first key set is used to protect messages sent directly from the first terminal to the second terminal, and the second key set is used to protect relay discovery messages from the first terminal and / or the second terminal to a relay device.
4. The method according to any one of claims 1 to 3, wherein: The first relay discovery message also includes: Direct discovery of datasets; A first device-to-device U2U discovery data set.
5. The method according to claim 4, wherein: In a case where the first relay discovery message includes: identification information of the target security solution, the identification information of the target security solution is located in the first U2U discovery data set.
6. The method according to claim 4, wherein: In a case where the first relay discovery message includes the validity time of the first relay discovery message, the validity time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
7. The method according to claim 4, wherein: The first relay discovery message also includes: identification information of the first terminal.
8. The method according to claim 7, wherein: The identification information of the first terminal satisfies at least one of the following: The identification information of the first terminal is located in the direct discovery data set; The identification information of the first terminal is encrypted by a key in a first key set.
9. The method according to any one of claims 1 to 8, wherein: The step of performing security protection on the generated first relay discovery message according to the target security scheme includes at least one of the following: Protecting a direct discovery data set in the first relay discovery message using a first key set; Protecting a first U2U discovery data set in the first relay discovery message using a second key set; The first relay discovery message is protected using a second key set.
10. An information transmission method, performed by a relay device, comprising: Receiving a first relay discovery message sent by a first terminal, where the first relay discovery message is security protected by the first terminal based on a target security scheme; Generate a second relay discovery message according to the first relay discovery message; Performing security protection on the second relay discovery message; Sending a second relay discovery message for security protection to the second terminal; The first relay discovery message includes at least one of the following: Identification information of the target security solution; The validity period of the first relay discovery message.
11. The method according to claim 10, wherein: The first relay discovery message also includes: Direct discovery of datasets; A first device-to-device U2U discovery data set.
12. The method according to claim 11, wherein: In a case where the first relay discovery message includes: identification information of the target security solution, the identification information of the target security solution is located in the first U2U discovery data set.
13. The method according to claim 11, wherein: In a case where the first relay discovery message includes the validity time of the first relay discovery message, the validity time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
14. The method according to claim 11, wherein: The first relay discovery message also includes: identification information of the first terminal.
15. The method according to any one of claims 10 to 14, wherein: The generating a second relay discovery message according to the first relay discovery message includes: Determine a target security scheme for security protection of the first relay discovery message by the first terminal; verifying and decrypting the first relay discovery message according to the target security scheme; A second relay discovery message is generated according to the decrypted first relay discovery message.
16. The method according to claim 15, wherein: The determining a target security scheme for the first terminal to perform security protection on the first relay discovery message includes: Obtaining identification information of the target security scheme in the first relay discovery message; A target security solution is determined according to the identification information.
17. The method according to any one of claims 10 to 16, wherein: The second relay discovery message includes at least one of the following: Identification information of the target security solution; The validity period of the first relay discovery message.
18. The method according to claim 17, wherein: The second relay discovery message also includes: Second, U2U discovered datasets and directly discovered dataset lists.
19. The method according to claim 18, wherein: In a case where the second relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the second U2U discovery data set.
20. The method according to claim 18, wherein: In a case where the second relay discovery message includes: the validity period of the first relay discovery message, the validity period of the first relay discovery message is located in a direct discovery data set list.
21. The method according to claim 18, wherein: The direct discovery data set list includes: a direct discovery data set in a first relay discovery message sent by at least one first terminal.
22. The method according to claim 18, wherein: In a case where the second relay discovery message includes: a valid time of the first relay discovery message, the method further includes: Determining whether the first relay discovery message is valid according to the validity period of the first relay discovery message; If the first relay discovery message is valid, it is determined that the direct discovery data set list includes the direct discovery data set in the first relay discovery message.
23. The method according to claim 17, wherein: The second relay discovery message also includes: identification information of the relay device.
24. The method of claim 17, wherein: The identification information of the relay device satisfies at least one of the following: The identification information of the relay device is located in the U2U discovery data set; The identification information of the relay device is encrypted by a key in a second key set; The second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
25. The method according to any one of claims 10 to 24, wherein: The performing security protection on the second relay discovery message includes at least one of the following: Protecting a second U2U discovery data set in the second relay discovery message using a second key set; The second relay discovery message is protected using a second key set.
26. A terminal, the terminal being a first terminal, comprising a memory, a transceiver, and a processor: a memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; A processor is configured to read the computer program in the memory and perform the following operations: Determine the target security scheme for securing relay discovery messages; According to the target security scheme, security protection is performed on the generated first relay discovery message; Sending the first relay discovery message for security protection to the relay device; The first relay discovery message includes at least one of the following: Identification information of the target security solution; The validity period of the first relay discovery message.
27. The terminal according to claim 26, wherein: The processor is configured to read the computer program in the memory and perform the following operations: Receiving relay discovery security policy indication information sent by a key management function, the relay discovery security policy indication information including: at least one relay discovery security scheme and identification information of a security scheme corresponding to the at least one relay discovery security scheme, the relay discovery security scheme being associated with a relay service code RSC; Based on the at least one relay discovery security scheme, a security scheme for performing security protection on the relay discovery message is determined as a target security scheme.
28. The terminal according to claim 26 or 27, wherein: The relay discovery security solution includes at least one of the following: an indication of protecting the relay discovery message using the first key set and the second key set; an indication of using a second key set to protect the relay discovery message; an indication of whether to enable privacy protection for the first terminal and / or the second terminal; Indication of whether to enable privacy protection for relay devices; An indication of whether to enable privacy protection for the first terminal and / or the second terminal and the relay device; An indication of whether to enable integrity protection of the direct discovery dataset; An indication of whether to enable integrity protection of relay discovery messages; The first key set is used to protect messages sent directly from the first terminal to the second terminal, and the second key set is used to protect relay discovery messages from the first terminal and / or the second terminal to a relay device.
29. The terminal according to any one of claims 26 to 28, wherein: The first relay discovery message also includes: Direct discovery of datasets; A first device-to-device U2U discovery data set.
30. The terminal according to claim 29, wherein: In a case where the first relay discovery message includes: identification information of the target security solution, the identification information of the target security solution is located in the first U2U discovery data set.
31. The terminal according to claim 29, wherein: In a case where the first relay discovery message includes the validity time of the first relay discovery message, the validity time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
32. The terminal according to claim 29, wherein: The first relay discovery message also includes: identification information of the first terminal.
33. The terminal according to claim 32, wherein: The identification information of the first terminal satisfies at least one of the following: The identification information of the first terminal is located in the direct discovery data set; The identification information of the first terminal is encrypted by a key in a first key set.
34. The terminal according to any one of claims 26 to 32, wherein: The processor is configured to read the computer program in the memory and perform at least one of the following operations: Protecting a direct discovery data set in the first relay discovery message using a first key set; Protecting a first U2U discovery data set in the first relay discovery message using a second key set; The first relay discovery message is protected using a second key set.
35. A relay device, comprising a memory, a transceiver, and a processor: A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations: Receiving a first relay discovery message sent by a first terminal, where the first relay discovery message is security protected by the first terminal based on a target security scheme; Generate a second relay discovery message according to the first relay discovery message; Performing security protection on the second relay discovery message; Sending a second relay discovery message for security protection to the second terminal; The first relay discovery message includes at least one of the following: Identification information of the target security solution; The validity period of the first relay discovery message.
36. The relay device according to claim 35, wherein: The first relay discovery message also includes: Direct discovery of datasets; A first device-to-device U2U discovery data set.
37. The relay device according to claim 36, wherein: In a case where the first relay discovery message includes: identification information of the target security solution, the identification information of the target security solution is located in the first U2U discovery data set.
38. The relay device according to claim 36, wherein, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
39. The relay device according to claim 36, wherein: The first relay discovery message also includes: identification information of the first terminal.
40. The relay device according to any one of claims 36 to 39, wherein: The processor is configured to read the computer program in the memory and perform the following operations: Determine a target security scheme for security protection of the first relay discovery message by the first terminal; verifying and decrypting the first relay discovery message according to the target security scheme; A second relay discovery message is generated according to the decrypted first relay discovery message.
41. The relay device according to claim 40, wherein: The processor is configured to read the computer program in the memory and perform the following operations: Obtaining identification information of the target security scheme in the first relay discovery message; A target security solution is determined according to the identification information.
42. The relay device according to any one of claims 36 to 41, wherein: The second relay discovery message includes at least one of the following: Identification information of the target security solution; The validity period of the first relay discovery message.
43. The relay device according to claim 42, wherein: The second relay discovery message also includes: Second, U2U discovered datasets and directly discovered dataset lists.
44. The relay device according to claim 43, wherein: In a case where the second relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the second U2U discovery data set.
45. The relay device according to claim 43, wherein: In a case where the second relay discovery message includes: the validity period of the first relay discovery message, the validity period of the first relay discovery message is located in the direct discovery data set list.
46. The relay device according to claim 43, wherein: The direct discovery data set list includes: a direct discovery data set in a first relay discovery message sent by at least one first terminal.
47. The relay device according to claim 43, wherein: In a case where the second relay discovery message includes: the validity period of the first relay discovery message, the processor is configured to read the computer program in the memory and further perform the following operations: Determining whether the first relay discovery message is valid according to the validity period of the first relay discovery message; If the first relay discovery message is valid, it is determined that the direct discovery data set list includes the direct discovery data set in the first relay discovery message.
48. The relay device according to claim 42, wherein: The second relay discovery message also includes: identification information of the relay device.
49. The relay device according to claim 42, wherein: The identification information of the relay device satisfies at least one of the following: The identification information of the relay device is located in the U2U discovery data set; The identification information of the relay device is encrypted by a key in a second key set; The second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
50. The relay device according to any one of claims 35 to 37, wherein: The processor is configured to read the computer program in the memory and perform at least one of the following operations: Protecting a second U2U discovery data set in the second relay discovery message using a second key set; The second relay discovery message is protected using a second key set.
51. An information transmission device, applied to a first terminal, comprising: A first determining unit, configured to determine a target security scheme for performing security protection on a relay discovery message; A first processing unit, configured to perform security protection on the generated first relay discovery message according to the target security scheme; A first sending unit, configured to send the first relay discovery message for security protection to a relay device; The first relay discovery message includes at least one of the following: Identification information of the target security solution; The validity period of the first relay discovery message.
52. The apparatus of claim 51, wherein: The first determining unit is configured to: Receiving relay discovery security policy indication information sent by a key management function, the relay discovery security policy indication information including: at least one relay discovery security scheme and identification information of a security scheme corresponding to the at least one relay discovery security scheme, the relay discovery security scheme being associated with a relay service code RSC; Based on the at least one relay discovery security scheme, a security scheme for performing security protection on the relay discovery message is determined as a target security scheme.
53. The device according to claim 51 or 52, wherein: The relay discovery security solution includes at least one of the following: an indication of protecting the relay discovery message using the first key set and the second key set; an indication of using a second key set to protect the relay discovery message; an indication of whether to enable privacy protection for the first terminal and / or the second terminal; Indication of whether to enable privacy protection for relay devices; An indication of whether to enable privacy protection for the first terminal and / or the second terminal and the relay device; An indication of whether to enable integrity protection of the direct discovery dataset; An indication of whether to enable integrity protection of relay discovery messages; The first key set is used to protect messages sent directly from the first terminal to the second terminal, and the second key set is used to protect relay discovery messages from the first terminal and / or the second terminal to a relay device.
54. The device according to any one of claims 51 to 53, wherein: The first relay discovery message also includes: Direct discovery of datasets; A first device-to-device U2U discovery data set.
55. The apparatus of claim 54, wherein: In a case where the first relay discovery message includes: identification information of the target security solution, the identification information of the target security solution is located in the first U2U discovery data set.
56. The apparatus of claim 54, wherein: In a case where the first relay discovery message includes the validity time of the first relay discovery message, the validity time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
57. The apparatus of claim 54, wherein: The first relay discovery message also includes: identification information of the first terminal.
58. The apparatus of claim 57, wherein: The identification information of the first terminal satisfies at least one of the following: The identification information of the first terminal is located in the direct discovery data set; The identification information of the first terminal is encrypted by a key in a first key set.
59. The device according to any one of claims 51 to 57, wherein: The first processing unit is configured to implement at least one of the following: Protecting a direct discovery data set in the first relay discovery message using a first key set; Protecting a first U2U discovery data set in the first relay discovery message using a second key set; The first relay discovery message is protected using a second key set.
60. An information transmission device, applied to a relay device, comprising: A receiving unit, configured to receive a first relay discovery message sent by a first terminal, wherein the first relay discovery message is security protected by the first terminal based on a target security scheme; A generating unit, configured to generate a second relay discovery message according to the first relay discovery message; A second processing unit, configured to perform security protection on the second relay discovery message; A second sending unit, configured to send a second relay discovery message with security protection to a second terminal; The first relay discovery message includes at least one of the following: Identification information of the target security solution; The validity period of the first relay discovery message.
61. The apparatus of claim 60, wherein: The first relay discovery message also includes: Direct discovery of datasets; A first device-to-device U2U discovery data set.
62. The device according to claim 61, wherein In a case where the first relay discovery message includes: identification information of the target security solution, the identification information of the target security solution is located in the first U2U discovery data set.
63. The apparatus according to claim 61, wherein, when the first relay discovery message includes a valid time of the first relay discovery message, the valid time of the first relay discovery message is located in the direct discovery data set or the first U2U discovery data set.
64. The apparatus of claim 61, wherein: The first relay discovery message also includes: identification information of the first terminal.
65. The device according to any one of claims 61 to 64, wherein: The generating unit is used for: Determine a target security scheme for security protection of the first relay discovery message by the first terminal; verifying and decrypting the first relay discovery message according to the target security scheme; A second relay discovery message is generated according to the decrypted first relay discovery message.
66. The apparatus of claim 65, wherein: The determining of an implementation method of a target security solution for the first terminal to perform security protection on the first relay discovery message includes: Obtaining identification information of the target security scheme in the first relay discovery message; A target security solution is determined according to the identification information.
67. The device according to any one of claims 61 to 66, wherein: The second relay discovery message includes at least one of the following: Identification information of the target security solution; The validity period of the first relay discovery message.
68. The apparatus of claim 67, wherein: The second relay discovery message also includes: Second, U2U discovered datasets and directly discovered dataset lists.
69. The apparatus of claim 68, wherein: In a case where the second relay discovery message includes: identification information of the target security scheme, the identification information of the target security scheme is located in the second U2U discovery data set.
70. The apparatus of claim 68, wherein: In a case where the second relay discovery message includes: the validity period of the first relay discovery message, the validity period of the first relay discovery message is located in the direct discovery data set list.
71. The apparatus of claim 68, wherein: The direct discovery data set list includes: a direct discovery data set in a first relay discovery message sent by at least one first terminal.
72. The apparatus of claim 68, wherein: In a case where the second relay discovery message includes: a valid time of the first relay discovery message, the apparatus further includes: A judging unit, configured to judge whether the first relay discovery message is valid according to the validity period of the first relay discovery message; A second determining unit is configured to determine, if the first relay discovery message is valid, that the direct discovery data set list includes the direct discovery data set in the first relay discovery message.
73. The apparatus of claim 67, wherein: The second relay discovery message also includes: identification information of the relay device.
74. The apparatus of claim 67, wherein: The identification information of the relay device satisfies at least one of the following: The identification information of the relay device is located in the U2U discovery data set; The identification information of the relay device is encrypted by a key in a second key set; The second key set is used to protect relay discovery messages between the first terminal and / or the second terminal and the relay device.
75. The device according to any one of claims 60 to 62, wherein: The second processing unit is configured to implement at least one of the following: Protecting a second U2U discovery data set in the second relay discovery message using a second key set; The second relay discovery message is protected using a second key set.
76. A processor-readable storage medium storing a computer program, wherein the computer program is used to cause the processor to execute the method according to any one of claims 1 to 25.
Citation Information
Patent Citations
Relay communication method and device, communication equipment and storage medium
CN115152254A
Data transmission method, device and equipment
CN117858028A
Technologies for user equipment relay discover
US20230097664A1
