Relay processing method and device, terminal, and readable storage medium

The method addresses the ambiguity in relay selection by using combined measurement results from sidelink discovery messages and data to trigger relay selection/re-selection, enhancing communication quality and efficiency.

JP2024510654A5Active Publication Date: 2024-11-11VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023557408
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-03-31
Filing Date
2022-03-24
Publication Date
2024-11-11
Estimated Expiration
2042-03-24

AI Technical Summary

Technical Problem

The existing relay selection and re-selection mechanisms in wireless communication systems are unclear about whether to base the decision on a data reference signal or a discovery message, leading to ambiguity in selecting or re-selecting a relay terminal.

Method used

A method and device that trigger relay selection or re-selection based on a combination of measurement results from both sidelink discovery messages and sidelink data, considering factors like connection status, data transmission, and reception of instructions, with threshold comparisons to determine appropriate relay terminals.

Benefits of technology

This approach allows for more accurate and condition-based relay selection/re-selection, ensuring better communication quality and efficiency by selecting appropriate relays for data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The present application discloses a relay processing method and apparatus, a terminal and a readable storage medium, which belong to the technical field of communication. The method includes a step of a first terminal performing a first operation based on a target content, the first operation being to trigger relay selection or relay reselection based on at least one of a first measurement result of a reference signal corresponding to a sidelink discovery message and a second measurement result of a reference signal corresponding to sidelink data.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims priority to China Patent Application No. 202110349425.3, filed in China on March 31, 2021, the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the technical field of communications, and in particular to a relay processing method and device, a terminal, and a readable storage medium. [Background technology]

[0003] In relay selection or relay reselection, the execution of relay selection or relay reselection may be determined using a measurement situation based on a reference signal of data and a measurement situation based on a discovery message. However, in the prior art, it is still unclear at present whether to select the measurement situation based on the reference signal of data or the measurement situation based on the discovery message as the basis for selection or reselection of a relay terminal. Summary of the Invention

[0004] The embodiments of the present application provide a relay processing method and apparatus, a terminal, and a readable storage medium that can solve a problem in the prior art that is currently unclear as to whether to select measurement conditions based on a data reference signal or a discovery message as a basis for selecting or reselecting a relay terminal.

[0005] In a first aspect, the method includes a step of a first terminal performing a first operation based on a target content, the first operation being to trigger relay selection or relay reselection based on at least one of a first measurement result of a reference signal corresponding to a sidelink discovery message and a second measurement result of a reference signal corresponding to sidelink data, the target content being based on whether the first terminal and the relay terminal have established a direct communication interface (PC5) connection, whether there is data transmission, Available corresponding to the sidelink discovery message Reference Signal Whether there are measurement results, Available The sidelink data Reference Signal Provided is a relay processing method including at least one of whether or not there is a measurement result, whether or not a discovery message can be received, reception of first instruction information from a network side device, reception of second instruction information from a counterpart terminal, a comparison result between the first measurement result and the second measurement result, a comparison result between the first measurement result and a first predetermined threshold, and a comparison result between the second measurement result and a second predetermined threshold.

[0006] In a second aspect, a relay processing device applied to a first terminal includes an execution module for performing a first operation based on a target content, the first operation being to trigger relay selection or relay reselection based on at least one of a first measurement result of a reference signal corresponding to a sidelink discovery message and a second measurement result of a reference signal corresponding to sidelink data, the target content being based on whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, Available corresponding to the sidelink discovery message Reference Signal Whether there are measurement results, Available The sidelink data Reference Signal A relay processing device is provided, which includes at least one of: whether or not there is a measurement result, whether or not a discovery message can be received, reception of first instruction information from a network side device, reception of second instruction information from a counterpart terminal, a comparison result between the first measurement result and the second measurement result, a comparison result between the first measurement result and a first predetermined threshold, and a comparison result between the second measurement result and a second predetermined threshold.

[0007] In a third aspect, there is provided a terminal comprising a processor, a memory, and programs or commands stored in the memory and executable on the processor, the programs or commands being executed by the processor to achieve steps of the method according to the first aspect.

[0008] In a fourth aspect, a mobile communication system includes a processor for performing a first operation based on a target content, and a communication interface for obtaining resources for performing the first operation, the first operation being to trigger relay selection or relay reselection based on at least one of a first measurement result of a reference signal corresponding to a sidelink discovery message and a second measurement result of a reference signal corresponding to sidelink data, the target content being based on whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, Available corresponding to the sidelink discovery message Reference Signal Whether there are measurement results, Available The sidelink data Reference Signal A terminal is provided that includes at least one of the following: whether or not there is a measurement result, whether or not a discovery message can be received, reception of first instruction information from a network side device, reception of second instruction information from a counterpart terminal, a comparison result between the first measurement result and the second measurement result, a comparison result between the first measurement result and a first predetermined threshold, and a comparison result between the second measurement result and a second predetermined threshold.

[0009] In a fifth aspect, there is provided a readable storage medium having stored thereon a program or commands which, when executed by a processor, effectuates the steps of the method according to the first aspect.

[0010] In a sixth aspect, there is provided a chip comprising a processor and a communications interface, the communications interface and the processor being coupled to execute a program or command to implement the method according to the first aspect.

[0011] In a seventh aspect, there is provided a computer program / program product stored on a non-volatile storage medium and adapted to implement the steps of the method according to the first aspect when executed by at least one processor.

[0012] In the embodiment of the present application, whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, Available Responding to Sidelink Discovery Messages Reference Signal Whether there are measurement results, Available Supports sidelink data Reference Signal Whether there is a measurement result, whether a discovery message can be received, reception of first instruction information of the network side device, reception of second instruction information of the counterpart terminal, comparison result between the first measurement result and the second measurement result, comparison result between the first measurement result and the first predetermined threshold, and comparison result between the second measurement result and the second predetermined threshold are used as the basis for triggering relay selection or relay reselection based on the first measurement result of a reference signal corresponding to a sidelink discovery message or the second measurement result of a reference signal corresponding to sidelink data, that is, the terminal can trigger relay selection or relay reselection under appropriate conditions, so that the terminal can transfer services between the network side device and the terminal via an appropriate relay, thereby solving the problem in the prior art that it is still unclear at present whether to select the measurement situation based on the reference signal of data or the measurement situation based on the discovery message as the basis for selecting or reselecting a relay terminal. [Brief description of the drawings]

[0013] [Figure 1] 1 shows a block diagram of a wireless communication system to which an embodiment of the present application can be applied. [Diagram 2] FIG. 2 is a schematic diagram of sidelink transmission according to an embodiment of the present application; [Diagram 3] FIG. 2 is a schematic diagram of a UE-to-network application scenario according to an embodiment of the present application; [Figure 4] 2 is a flowchart of a relay processing method according to an embodiment of the present application; [Diagram 5] 1 is a structural schematic diagram of a relay processing device according to an embodiment of the present application; [Figure 6] 1 is a structural schematic diagram of a communication device according to an embodiment of the present application; [Figure 7] FIG. 2 is a structural schematic diagram of a terminal according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, the technical solutions in the embodiments of the present application will be clearly described with reference to the drawings in the embodiments of the present application, and it should be understood that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present application shall fall within the scope of protection of the present application.

[0015] The terms "first", "second", etc. in the specification and claims of the present application are not intended to describe a particular order or sequence, but are intended to distinguish between similar objects. It should be understood that the terms used in this manner may be substituted for each other where appropriate, so that the embodiments of the present application may be performed in an order other than that shown or described herein, and that the objects distinguished by "first" and "second" are generally of one type, and the number of objects is not limited, for example, the first object may be one or more. In addition, "and / or" in the specification and claims means at least one of the objects connected, and the symbol " / " generally means that the related objects before and after are in an "or" relationship.

[0016] It should be noted that the techniques described in the embodiments of the present application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the techniques described can be used in other systems and wireless technologies in addition to those mentioned above. Although the following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in much of the following description, these technologies may be used in other systems and wireless technologies, such as 6th Generation (6G) and 7th Generation (7G) systems. th The present invention can also be applied to applications other than NR system applications, such as 6G (Generation, 6G) communication systems.

[0017] FIG. 1 shows a block diagram of a wireless communication system to which the embodiment of the present application can be applied. The wireless communication system includes a terminal 11 and a network side device 12. The terminal 11 may be called a terminal device or a user terminal (User Equipment, UE), and the terminal 11 may be a terminal side device such as a mobile phone, a tablet personal computer, a laptop computer also called a notebook computer, a personal digital assistant (PDA), a personal digital assistant, a netbook, an ultra-mobile personal computer (UMPC), a mobile Internet device (MID), a wearable device, a vehicle-mounted device (VUE), a pedestrian terminal (PUE), etc., and the wearable device includes a smart watch, a wristband, an earphone, a pair of glasses, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side equipment 12 may be a base station or a core network, in which the base station may be called an access point, a base transceiver station (BTS), a radio base station, a radio transceiver, a basic service set (BSS), an extended service set (ESS), a B node, an evolved B node (eNB), a home B node, a home evolved B node, a WLAN access point, a WiFi node, a transmitting receiving point (TRP), or any other suitable term in the above field, and as long as the same technical effect can be achieved, the base station is not limited to a specific technical term. It should be noted that the embodiments of this application only take a base station in an NR system as an example, but the specific type of the base station is not limited.

[0018] First, relevant terms used in this application will be explained.

[0019] 1. Explanation of Sidelink

[0020] Long Term Evolution (LTE) systems support sidelink from release version 12 onwards. As shown in Figure 2, sidelink allows end-user equipment (UE) to transmit data directly to each other without going through network equipment.

[0021] LTE Sidelink is designed to be applied to certain public safety matters (e.g., emergency communications at disaster sites such as fires or earthquakes) or vehicle-to-everything (V2X) communications. Vehicle-to-everything communications include various services such as basic security communications, advanced (autonomous) driving, platooning, and sensor expansion. Since LTE Sidelink only supports broadcast communications, it is mainly used for basic security communications, and other high-level V2X services with strict Quality of Service (QoS) requirements in terms of latency, reliability, etc. are supported by NR Sidelink.

[0022] 5G NR systems can be used in operating frequency bands above 6 GHz, which LTE does not support, and can support a wider operating bandwidth. The Sidelink link interface may also be referred to as the PC5 interface.

[0023] Second, Relay mechanism

[0024] Relay technology in wireless communication systems refers to adding one or more relay nodes between a base station and a terminal to forward a wireless signal once or several times, that is, the wireless signal needs to go through multiple hops to reach the terminal. Wireless relay technology can not only be used to expand cell coverage and fill blind spots in cell coverage, but also to increase cell capacity by multiplexing spatial resources. For indoor coverage, relay technology can reduce transmission loss and improve indoor coverage quality.

[0025] Taking a simple two-hop relay as an example, wireless relay splits one base station-terminal link into two links: base station-relay and relay-terminal, thereby replacing one low-quality link with two high-quality links, creating the possibility of obtaining higher link capacity and better coverage.

[0026] Currently, the relay supported in LTE is UE-to-network relay, that is, one end of the relay is connected to the UE and the other end is connected to the network side. The UE connected to the relay is called a remote UE.

[0027] In the existing mechanism, as shown in Figure 3, which is a UE-to-network application scenario, a remote UE needs to transmit data to the network side, but due to insufficient coverage, a relay UE is used as a relay, where the cellular network communication interface (Uu interface) is between the relay UE and the base station, and the sidelink interface is between the relay UE and the remote UE. In general, the relay UE is open and can provide services to any remote UE.

[0028] 3. Device selection and reselection

[0029] In LTE, relay UE selection or reselection occurs when a remote UE meets certain conditions. Current selection is mainly based on both the link between the UE and the base station and the signal quality on the sidelink. Currently, relay reselection is mainly triggered when the remote UE determines that the measurement result of the sidelink discovery reference signal received power (SD-RSRP) is below a threshold or by the upper layer of the remote UE.

[0030] In the following, with reference to the drawings, the relay processing method provided in the embodiments of the present application will be described in detail through several embodiments and its application scenarios.

[0031] As shown in FIG. 4, the steps of the relay processing method include: Step 402 includes a first terminal performing a first operation based on the target content; wherein the first operation is to trigger relay selection or relay reselection based on at least one of a first measurement result of a reference signal corresponding to a sidelink discovery message and a second measurement result of a reference signal corresponding to sidelink data; The target content is whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, Available Responding to Sidelink Discovery Messages Reference Signal Whether there are measurement results, Available Supports sidelink data Reference Signal The information includes at least one of whether or not there is a measurement result, whether or not a discovery message can be received, reception of first instruction information from the network side device, reception of second instruction information from the counterpart terminal, a comparison result between the first measurement result and the second measurement result, a comparison result between the first measurement result and a first predetermined threshold, and a comparison result between the second measurement result and a second predetermined threshold.

[0032] As can be seen from step 402 above, whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, AvailableResponding to Sidelink Discovery Messages Reference Signal , Available Supports sidelink data Reference Signal At least one of the following contents can be used as a basis for triggering relay selection or relay reselection based on the first measurement result of a reference signal corresponding to a sidelink discovery message or the second measurement result of a reference signal corresponding to sidelink data: whether a discovery message can be received, reception of first instruction information of the network side device, reception of second instruction information of the counterpart terminal, a comparison result between the first measurement result and the second measurement result, a comparison result between the first measurement result and the first predetermined threshold, and a comparison result between the second measurement result and the second predetermined threshold. In other words, the terminal can trigger relay selection or relay reselection under appropriate conditions, so that the terminal can transfer services between the network side device and the terminal via an appropriate relay. This solves the problem in the prior art that it is still unclear at present whether to select a measurement situation based on a reference signal of data or a measurement situation based on a discovery message as a basis for selecting or reselecting a relay terminal.

[0033] It should be noted that the first terminal in the embodiment of the present application may be a remote terminal of a relay terminal, the first measurement result based on a reference signal corresponding to a sidelink discovery message in the embodiment of the present application may be a measurement result based on an SD-RSRP, and the second measurement result based on a reference signal corresponding to sidelink data may be a measurement result of a sidelink reference signal received power (Sidelink Reference Signal Received Power, SL-RSRP).

[0034] In an optional embodiment of the embodiment of the present application, the manner in which the first terminal performs the first operation based on the target content mentioned in step 402 may further include one of the following steps 402-11 and 402-12.

[0035] In step 402-11, when the first terminal and the relay terminal establish a PC5 connection, the first terminal triggers relay selection or relay reselection based on the second measurement result; Here, with regard to step 402-11, in a specific implementation process of triggering relay selection or relay reselection based on the second measurement result, if the second measurement result is equal to or greater than a first predetermined value, relay selection may be performed, and if the second measurement result is equal to or less than the first predetermined value, relay reselection may be performed.

[0036] In step 402-12, if the first terminal and the relay terminal establish a PC5 connection, the first terminal triggers relay selection or relay reselection based on the first measurement result and the second measurement result.

[0037] Here, in regard to step 402-11, in a specific implementation process in which the first terminal triggers relay selection or relay reselection based on the first measurement result and the second measurement result, the following 1) and 2) may be performed.

[0038] 1) At least one of the first measurement result and the second measurement result satisfies a threshold condition, for example, in a first case, the first measurement result or the second measurement result is equal to or greater than a second predetermined threshold, and in a second case, the first measurement result is equal to or greater than a third predetermined threshold, or the second measurement result is equal to or greater than the third predetermined threshold, or both the first measurement result and the second measurement result are equal to or greater than the third predetermined threshold.

[0039] 2) Both the first measurement result and the second measurement result satisfy the threshold condition, for example, both the first measurement result and the second measurement result are greater than or equal to the second predetermined threshold, the first measurement result is greater than or equal to the third predetermined threshold, and the second measurement result is greater than or equal to the third predetermined threshold.

[0040] It should be noted that, for the above step of triggering relay selection or relay reselection based on the first and second measurement results, relay selection is performed if the first or second measurement result is equal to or greater than a second predetermined value, and relay reselection is performed if the first or second measurement result is equal to or less than the second predetermined value. The same process is performed for the third predetermined threshold.

[0041] The PC5 connection referred to in the embodiments of the present application may mean a PC5-S connection, a PC5-RRC (Radio Resource Control) connection, etc.

[0042] In an optional embodiment of the embodiment of the present application, when the first terminal and the relay terminal establish a PC5 connection and there is no service data transmission, the method of the embodiment of the present application includes: Step 404 in which the first terminal stops evaluating relay selection or relay reselection; and step 406, in which the first terminal receives a packet transmitted from the relay terminal, the packet being for measurement of a reference signal corresponding to the sidelink data by the first terminal.

[0043] In another optional embodiment of the embodiment of the present application, the manner in which the first terminal performs the first operation based on the target content referred to in step 402 is as follows: Step 402-21, in which the first terminal triggers relay selection or relay reselection based on the second measurement result if there is data transmission; Step 402-22, in which the first terminal triggers relay selection or relay reselection based on the first measurement result and the second measurement result if there is data transmission; and step 402-23, in the absence of data transmission, the first terminal triggering relay selection or relay reselection based on the first measurement result.

[0044] As a result, as can be seen from the above steps 402-21 to 402-23, relay selection or relay reselection can be triggered based on the first or second measurement result when data is present or absent. In a specific application scenario, it is preferable that the first terminal triggers relay selection when the first or second measurement result is equal to or greater than a fourth predetermined value, and triggers relay reselection when the first or second measurement result is equal to or less than a fifth predetermined value. In other words, the first terminal can trigger relay selection or relay reselection under appropriate conditions so that the first terminal and the network side device can communicate via an appropriate relay.

[0045] Based on the above steps 402-21 and 402-23, the method of transmitting the discovery message in the embodiment of the present application includes one of the following: a method of periodically transmitting the discovery message between the first terminal and the relay terminal; and a method of transmitting the discovery message only when there is no data.

[0046] In another optional embodiment of the embodiment of the present application, the manner in which the first terminal performs the first operation based on the target content referred to in step 402 is as follows: Available Supports sidelink data Reference Signal if so, the first terminal triggers relay selection or relay reselection based on the second measurement result; Available Supports sidelink data Reference Signal if not, the first terminal triggers relay selection or relay reselection based on the first measurement result.

[0047] As a result, as can be seen from steps 402-31 to 402-32, Available Supports sidelink data Reference SignalDepending on whether there is a relay, relay selection or relay reselection can be triggered based on the first and second measurement results, and relay selection is performed if the first or second measurement result is equal to or greater than a sixth predetermined value, and relay reselection is performed if the first or second measurement result is equal to or less than the sixth predetermined value. The seventh predetermined threshold is processed in a similar manner. In other words, the first terminal can trigger relay selection or relay reselection under appropriate conditions so that the first terminal and the network side device can communicate via an appropriate relay.

[0048] Regarding the above steps 402-31 to 402-32, the transmission method of the discovery message in the embodiment of the present application is: 1) a method of periodically transmitting the discovery message between the first terminal and the relay terminal; and 2) Available Supports sidelink data Reference Signal and a method of transmitting a discovery message when there is no

[0049] In another optional embodiment of the embodiment of the present application, the manner in which the first terminal performs the first operation based on the target content referred to in step 402 is as follows: Available Responding to Sidelink Discovery Messages Reference Signal if so, the first terminal triggers relay selection or relay reselection based on the first measurement result; Available Responding to Sidelink Discovery Messages Reference Signal if not, the first terminal triggers relay selection or relay reselection based on the second measurement result 402-42.

[0050] As a result, as can be seen from steps 402-41 to 402-42, Available Responding to Sidelink Discovery Messages Reference SignalDepending on whether there is a relay, relay selection or relay reselection can be triggered based on the first and second measurement results, and relay selection is performed if the first or second measurement result is equal to or greater than an eighth predetermined value, and relay reselection is performed if the first or second measurement result is equal to or less than the eighth predetermined value. The same process is performed for the ninth predetermined threshold. In other words, the first terminal can trigger relay selection or relay reselection under appropriate conditions so that the first terminal and the network side device can communicate via an appropriate relay.

[0051] In another optional embodiment of the embodiment of the present application, the manner in which the first terminal performs the first operation based on the target content referred to in step 402 is as follows: A step 402-51 in which the first terminal triggers relay selection or relay reselection based on a first measurement result if the discovery message is received; The method may further include step 402-52, in which the first terminal triggers relay selection or relay reselection based on the second measurement result if the discovery message is not received.

[0052] As can be seen from the above, in the present application, relay selection or relay reselection can also be triggered using corresponding measurement results depending on whether a discovery message is received, and the specific relay selection or relay reselection is similar to the other methods of triggering relay selection or relay reselection described above.

[0053] It should be noted that in an optional embodiment of the present application, if the first terminal does not receive a reference signal corresponding to the discovery message and a reference signal corresponding to the data, the first terminal stops evaluating relay selection or relay reselection.

[0054] In another optional embodiment of the embodiment of the present application, the first instruction information in the embodiment of the present application is for instructing one of: triggering relay selection or relay reselection based on a first measurement result, or triggering relay selection or relay reselection based on a second measurement result; and triggering relay selection or relay reselection based on the first measurement result, or triggering relay selection or relay reselection based on the second measurement result and the first measurement result.

[0055] As can be seen from the above, in the embodiment of the present application, the first terminal can determine whether the trigger of relay selection or relay reselection is based on the second measurement result or the first measurement result, or based on the second measurement result and the first measurement result according to the received first indication information, where the first indication information sent from the network side device corresponds to at least one of a source ID and destination ID pair, a destination ID, a unicast link ID, a terminal, a service type, and a group ID in a groupcast.

[0056] For example, if the first indication information corresponds to a source ID and a destination ID pair, it can be seen that the first indication information is for indicating the ID pair, that is, the source ID and the destination ID pair needs to trigger relay selection or relay reselection based on the second measurement result or the first measurement result, or based on the second measurement result and the first measurement result. The same process is performed for other IDs or service types.

[0057] In another optional embodiment of the embodiment of the present application, the second instruction information in the embodiment of the present application is for instructing one of: triggering relay selection or relay reselection based on a first measurement result, or triggering relay selection or relay reselection based on a second measurement result; triggering relay selection or relay reselection based on the first measurement result, or triggering relay selection or relay reselection based on the first measurement result and the second measurement result.

[0058] As can be seen from the above, the second instruction information transmitted from the counterpart terminal can also directly indicate whether the trigger for relay selection or relay reselection is based on the second measurement result or the first measurement result, or based on the second measurement result and the first measurement result.

[0059] In another optional embodiment of the embodiment of the present application, the manner in which the first terminal performs the first operation based on the target content referred to in step 402 is as follows: Step 402-61, in which the first terminal triggers relay selection or relay reselection based on the first measurement result if the first measurement result is equal to or greater than a first predetermined threshold and the second measurement result is less than a second predetermined threshold; a step 402-62 in which the first terminal triggers relay selection or relay reselection based on the second measurement result if the first measurement result is less than a first predetermined threshold and the second measurement result is equal to or greater than a second predetermined threshold; and step 402-63, in which the first terminal triggers relay selection or relay reselection if the first measurement result is greater than or equal to a first predetermined threshold and the second measurement result is greater than or equal to a second predetermined threshold.

[0060] As can be seen from the above steps 402-61 to 402-63, relay selection or relay reselection can be triggered based on the measurement result being equal to or greater than the threshold. It should be noted that the above steps 402-61 to 402-63 are parallel steps, and only one of them needs to satisfy a condition, i.e., the measurement result is compared with the threshold, and relay selection or relay reselection is triggered if it is equal to or greater than the threshold or less than the threshold.

[0061] In another optional embodiment of the embodiment of the present application, the manner in which the first terminal performs the first operation based on the target content referred to in step 402 is as follows: a step 402-71 in which the first terminal triggers relay selection or relay reselection based on the second measurement result if the first measurement result is equal to or greater than the second measurement result; a step 402-72 in which the first terminal triggers relay selection or relay reselection based on the first measurement result if the first measurement result is less than the second measurement result; a step 402-73 in which the first terminal triggers relay selection or relay reselection based on the second measurement result if the first measurement result is less than or equal to the second measurement result; and step 402-74, in which the first terminal triggers relay selection or relay reselection based on the first measurement result if the first measurement result is greater than the second measurement result.

[0062] As can be seen from the above steps 402-71 to 402-74, relay selection or relay reselection can be triggered based on the comparison result between the first measurement result and the second measurement result. It should be noted that the above steps 402-71 to 402-74 are parallel steps, and only one of them needs to satisfy a condition, that is, after comparing the measurement results, if the first measurement result is greater than or less than the second measurement result, relay selection or relay reselection is triggered.

[0063] In another optional embodiment of the embodiment of the present application, the manner in which the first terminal performs the first operation based on the target content referred to in step 402 is as follows: a step 402-81 in which the first terminal triggers relay selection or relay reselection if at least one of the first measurement result and the second measurement result is equal to or greater than a third predetermined threshold; and step 402-82, in which the first terminal triggers relay selection or relay reselection if both the first measurement result and the second measurement result are equal to or greater than a fourth predetermined threshold.

[0064] The third predetermined threshold in steps 402-81 and 402-82 above may be two thresholds, i.e., when the third predetermined threshold includes two thresholds, one for comparison with the first measurement result and one for comparison with the second measurement result, respectively, and the first measurement result and the second measurement result are compared with another predetermined threshold.

[0065] In another optional embodiment of the embodiment of the present application, the manner in which the first terminal performs the first operation based on the target content referred to in step 402 is as follows: a step 402-91 in which the first terminal triggers relay selection or relay reselection if at least one of the first measurement result and the second measurement result is less than or equal to a fifth predetermined threshold; and step 402-92, in which the first terminal triggers relay selection or relay reselection if both the first measurement result and the second measurement result are below a sixth predetermined threshold.

[0066] The fifth predetermined threshold in steps 402-91 and 402-92 above may be two thresholds, i.e., when the fifth predetermined threshold includes two thresholds, one for comparison with the first measurement result and one for comparison with the second measurement result, respectively, and the first measurement result and the second measurement result are compared with another predetermined threshold.

[0067] In the following, the triggering method for relay selection or relay reselection of the present application is described using an example in which the first measurement result based on a reference signal corresponding to a sidelink discovery message may be a measurement result based on an SD-RSRP, and the second measurement result based on a reference signal corresponding to sidelink data may be a measurement result based on an SL-RSRP.

[0068] Optional embodiment 1 When SL-RSRP is used in relay selection, the method steps in this alternative embodiment include: Step 501: a remote UE and a relay UE establish a unicast link to perform a non-relay related service; Step 502: the remote UE decides to select a relay to perform subsequent service based on the criteria, and when there is a relay evaluated as suitable, if at least one of the SL-RSRP and the SD-RSRP of the relay UE is measured to meet the threshold condition, the remote UE selects the relay UE1 as a suitable relay; At least one of the SL-RSRP and the SD-RSRP meeting a threshold condition may mean that the SD-RSRP>=TH1 or the SL-RSRP>=TH2, where TH1 is a first threshold and TH2 is a second threshold; Step 503 includes the remote UE communicating with the subsequent base station based on the relay UE forwarding.

[0069] Optional embodiment 2 When using SL-RSRP+SD-RSRP in relay reselection, the method steps in this alternative embodiment include: Step 601, in which a remote UE determines based on a criterion to select a relay to perform service communication with a base station; In step 602, the remote UE selects an appropriate relay UE based on the SD-RSRP and establishes a unicast link with the relay UE; Step 603, in which the remote UE measures the SL-RSRP when receiving data from the relay UE, and the remote UE can also receive discovery messages from the relay UE to measure the SD-RSRP; and step 604, the remote UE triggering a relay reselection process if both the SD-RSRP and the SL-RSRP do not meet the threshold condition.

[0070] Here, when reselecting a relay UE, the remote UE determines whether it can select a new candidate relay UE using only SD-RSRP, or whether it can select a new candidate relay UE using SD-RSRP+SL-RSRP.

[0071] It should be noted that the execution subject of the relay processing method provided in the embodiment of the present application may be a relay processing device, or may be a control module for executing the relay processing method in the relay processing device. In the embodiment of the present application, the relay processing device provided in the embodiment of the present application will be described by taking as an example that the relay processing device executes the relay processing method.

[0072] As shown in FIG. 5, an embodiment of the present application further provides a relay processing device applied to a first terminal, the relay processing device comprising: an execution module 52 for performing a first operation based on the target content; wherein the first operation is to trigger relay selection or relay reselection based on at least one of a first measurement result of a reference signal corresponding to a sidelink discovery message and a second measurement result of a reference signal corresponding to sidelink data; The target content is whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, Available Responding to Sidelink Discovery Messages Reference Signal Whether there are measurement results, Available Supports sidelink data Reference Signal The information includes at least one of whether or not there is a measurement result, whether or not a discovery message can be received, reception of first instruction information from the network side device, reception of second instruction information from the counterpart terminal, a comparison result between the first measurement result and the second measurement result, a comparison result between the first measurement result and a first predetermined threshold, and a comparison result between the second measurement result and a second predetermined threshold.

[0073] According to the device of the embodiment of the present application, whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, Available Responding to Sidelink Discovery Messages Reference Signal Are there any measurement results? , available Supports sidelink data Reference Signal At least one of the following contents can be used as a basis for triggering relay selection or relay reselection based on the first measurement result of a reference signal corresponding to a sidelink discovery message or the second measurement result of a reference signal corresponding to sidelink data: whether there is a measurement result, whether a discovery message can be received, reception of first instruction information of the network side device, reception of second instruction information of the counterpart terminal, a comparison result between the first measurement result and the second measurement result, a comparison result between the first measurement result and the first predetermined threshold, and a comparison result between the second measurement result and the second predetermined threshold. In other words, the terminal can trigger relay selection or relay reselection under appropriate conditions, so that the terminal can transfer services between the network side device and the terminal via an appropriate relay. This solves the problem in the prior art that it is still unclear at present whether to select a measurement situation based on a reference signal of data or a measurement situation based on a discovery message as a basis for selecting or reselecting a relay terminal.

[0074] Optionally, the execution module 52 in the embodiment of the present application may further include: a first trigger unit for triggering relay selection or relay reselection based on the second measurement result when the first terminal and the relay terminal establish a PC5 connection; and a second trigger unit for triggering relay selection or relay reselection based on the first measurement result and the second measurement result when the first terminal and the relay terminal establish a PC5 connection.

[0075] Optionally, when the first terminal and the relay terminal have established a PC5 connection and there is no service data transmission, the device in the embodiment of the present application may: a first stopping module for stopping evaluation of relay selection or relay reselection; a receiving module for receiving a transmitted packet of the relay terminal, the packet being for measurement of a reference signal corresponding to the sidelink data by the first terminal.

[0076] Optionally, the execution module 52 in the embodiment of the present application may further include: a third triggering unit for triggering relay selection or relay reselection based on the second measurement result when there is data transmission; a fourth trigger unit for triggering relay selection or relay reselection based on the first measurement result and the second measurement result when there is data transmission; and a fifth triggering unit for triggering relay selection or relay reselection based on the first measurement result when there is no data transmission.

[0077] Optionally, the method of transmitting the discovery message in the embodiment of the present application includes one of the following: a method of periodically transmitting the discovery message between the first terminal and the relay terminal; and a method of transmitting the discovery message only when there is no data.

[0078] Optionally, the execution module 52 in the embodiment of the present application may further include: Available Supports sidelink data Reference Signal a sixth triggering unit for triggering relay selection or relay reselection based on the second measurement result if Available Supports sidelink data Reference Signal and a seventh triggering unit for triggering relay selection or relay reselection based on the first measurement result if no relay reselection is detected based on the first measurement result.

[0079] Optionally, the discovery message transmission manner in the embodiment of the present application can include: periodically transmitting the discovery message between the first terminal and the relay terminal; Available Supports sidelink data Reference Signal and a method of transmitting a discovery message when there is no

[0080] Optionally, the execution module 52 in the embodiment of the present application may further include: Available Responding to Sidelink Discovery Messages Reference Signal an eighth triggering unit for triggering relay selection or relay reselection based on the first measurement result if Available Responding to Sidelink Discovery Messages Reference Signal and a ninth triggering unit for triggering relay selection or relay reselection based on the second measurement result if no such measurement is detected.

[0081] Optionally, the execution module 52 in the embodiment of the present application may further be used to perform the following: when a discovery message is received, the first terminal triggers relay selection or relay reselection based on a first measurement result; and when a discovery message is not received, the first terminal triggers relay selection or relay reselection based on a second measurement result.

[0082] Optionally, the device in the embodiment of the present application may further include a second stop module for stopping the evaluation for relay selection or relay reselection when a reference signal corresponding to the discovery message and a reference signal corresponding to the data are not received.

[0083] Optionally, the first instruction information in the embodiment of the present application is: 1) triggering relay selection or relay reselection based on a first measurement result, or triggering relay selection or relay reselection based on a second measurement result; 2) to instruct one of: triggering relay selection or relay reselection based on a first measurement result; or triggering relay selection or relay reselection based on a second measurement result and the first measurement result.

[0084] Optionally, the first indication information in the embodiment of the present application corresponds to at least one of a source ID and destination ID pair, a destination ID, a unicast link ID, a terminal, a service type, and a group ID in a groupcast.

[0085] Optionally, the second instruction information in the embodiment of the present application is: 1) triggering relay selection or relay reselection based on a first measurement result, or triggering relay selection or relay reselection based on a second measurement result; 2) to instruct one of: triggering relay selection or relay reselection based on a first measurement result; or triggering relay selection or relay reselection based on the first measurement result and the second measurement result.

[0086] Optionally, the execution module 52 in the embodiment of the present application may further include: a tenth trigger unit for triggering relay selection or relay reselection based on the first measurement result when the first measurement result is equal to or greater than a first predetermined threshold and the second measurement result is less than a second predetermined threshold; an eleventh trigger unit for triggering relay selection or relay reselection based on the second measurement result when the first measurement result is less than a first predetermined threshold and the second measurement result is equal to or greater than a second predetermined threshold; and a twelfth trigger unit for triggering relay selection or relay reselection when the first measurement result is greater than or equal to a first predetermined threshold and the second measurement result is greater than or equal to a second predetermined threshold.

[0087] Optionally, the execution module 52 in the embodiment of the present application may further include: a thirteenth trigger unit for triggering relay selection or relay reselection based on the second measurement result when the first measurement result is equal to or greater than the second measurement result; a fourteenth trigger unit for triggering relay selection or relay reselection based on the first measurement result when the first measurement result is less than the second measurement result; a fifteenth trigger unit for triggering relay selection or relay reselection based on the second measurement result when the first measurement result is less than or equal to the second measurement result; and a sixteenth trigger unit for triggering relay selection or relay reselection based on the first measurement result if the first measurement result is greater than the second measurement result.

[0088] Optionally, the execution module 52 in the embodiment of the present application may further include: a seventeenth trigger unit for triggering relay selection or relay reselection when at least one of the first measurement result and the second measurement result is equal to or greater than a third predetermined threshold; and an eighteenth trigger unit for triggering relay selection or relay reselection when both the first measurement result and the second measurement result are greater than or equal to a fourth predetermined threshold.

[0089] Optionally, the execution module 52 in the embodiment of the present application may further include: a nineteenth trigger unit for triggering relay selection or relay reselection when at least one of the first measurement result and the second measurement result is less than or equal to a fifth predetermined threshold; and a twentieth trigger unit for triggering relay selection or relay reselection when both the first measurement result and the second measurement result are below a sixth predetermined threshold.

[0090] The relay processing device in the embodiment of the present application may be a device, a device having an operating system, or an electronic device, or may be a component, an integrated circuit, or a chip in a terminal. The device or electronic device may be a portable terminal or a non-portable terminal. By way of example, the portable terminal may include, but is not limited to, the types of remote terminal 11 listed above, and the non-portable terminal may be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an automated teller machine or a kiosk, etc., and is not specifically limited in the embodiment of the present application.

[0091] The relay processing device provided in the embodiment of the present application can realize each process realized in the embodiment of the method of Fig. 4 and achieve the same technical effects. In order to avoid duplication, detailed description will be omitted here.

[0092] Optionally, as shown in FIG. 6, the embodiment of the present application further provides a communication device 600. The communication device 600 includes a processor 601, a memory 602, and a program or command stored in the memory 602 and executable on the processor 601. For example, when the communication device 600 is a terminal, the program or command is executed by the processor 601 to realize each process of the embodiment of the relay processing method, and the same technical effect can be achieved. When the communication device 600 is a network side device, the program or command is executed by the processor 601 to realize each process of the embodiment of the relay processing method, and the same technical effect can be achieved. To avoid duplication, detailed description is omitted here.

[0093] An embodiment of the present application further provides a terminal comprising: a processor for performing a first operation based on a target content; and a communication interface for obtaining resources for performing the first operation, where the first operation is triggering relay selection or relay reselection based on at least one of a first measurement result of a reference signal corresponding to a sidelink discovery message and a second measurement result of a reference signal corresponding to sidelink data; The target content is whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, Available Responding to Sidelink Discovery Messages Reference Signal Whether there are measurement results, Available Supports sidelink data Reference Signal The information includes at least one of whether or not there is a measurement result, whether or not a discovery message can be received, reception of first instruction information from the network side device, reception of second instruction information from the counterpart terminal, a comparison result between the first measurement result and the second measurement result, a comparison result between the first measurement result and a first predetermined threshold, and a comparison result between the second measurement result and a second predetermined threshold.

[0094] This terminal embodiment corresponds to the above-mentioned terminal-side method embodiment, and each implementation process and realization form of the above-mentioned method embodiment can be applied to this terminal embodiment, and the same technical effects can be achieved. Specifically, Figure 7 is a hardware structure schematic diagram of a terminal that realizes the embodiment of this application.

[0095] The terminal 100 includes at least some of the following components, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0096] Those skilled in the art can understand that the terminal 100 may further include a power source (e.g., a battery) for powering each component, and the power source may be logically connected to the processor 110 through a power management system, and the power management system may further realize functions such as charge / discharge management and power consumption management. The structure of the terminal shown in Fig. 7 is not intended to limit the terminal, and the terminal may include more or fewer components than those shown in Fig. 7, or a combination of some components, or a different component arrangement, and detailed descriptions thereof will be omitted here.

[0097] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042 for processing image data of still or video captured by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be arranged in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. The other input devices 1072 may include, but are not limited to, a physical keyboard, a function button (e.g., a volume control button, a switch button, etc.), a trackball, a mouse, and an operation lever, and detailed description thereof will be omitted here.

[0098] In the embodiment of the present application, the high frequency unit 101 receives downlink data from the network side device, processes it in the processor 110, and transmits uplink data to the network side device. Typically, the high frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a receiver-transmitter, a coupler, a low-noise amplifier, a duplexer, etc.

[0099] The memory 109 can be used to store software programs or commands and various data. The memory 109 may mainly include a program or command storage area capable of storing an operating system, an application or command required for at least one function (e.g., a sound playback function, an image playback function, etc.), and a data storage area. The memory 109 may also include a high-speed random access memory, and may further include a non-volatile memory. Here, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), or a flash memory, for example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device.

[0100] The processor 110 may include one or more processing units. Optionally, the processor 110 may integrate an application processor that mainly processes an operating system, a user interface, and applications or commands, etc., and a modem processor that mainly processes wireless communication, such as a baseband processor. It can be understood that the modem processor does not have to be integrated into the processor 110.

[0101] Wherein the processor 110 is used to perform a first operation based on the target content; wherein the first operation is to trigger relay selection or relay reselection based on at least one of a first measurement result of a reference signal corresponding to a sidelink discovery message and a second measurement result of a reference signal corresponding to sidelink data; The target content is whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, Available Responding to Sidelink Discovery Messages Reference Signal Whether there is Available Supports sidelink data Reference Signal the detection result includes at least one of whether there is a detection message, whether a discovery message can be received, reception of first instruction information of the network side device, reception of second instruction information of the counterpart terminal, a comparison result between the first measurement result and the second measurement result, a comparison result between the first measurement result and a first predetermined threshold, and a comparison result between the second measurement result and a second predetermined threshold.

[0102] Optionally, the processor 110 further comprises: Triggering relay selection or relay reselection based on a second measurement result when the first terminal and the relay terminal establish a PC5 connection; and when the first terminal and the relay terminal establish a PC5 connection, triggering relay selection or relay reselection based on the first measurement result and the second measurement result.

[0103] Optionally, the processor 110 further comprises: when the first terminal and the relay terminal establish a PC5 connection and there is no service data transmission: the first terminal ceasing evaluation of relay selection or relay reselection; a step of the first terminal receiving a transmitted packet of the relay terminal, the packet being for measurement of a reference signal corresponding to sidelink data by the first terminal.

[0104] Optionally, the processor 110 further comprises: When there is data transmission, the first terminal triggers relay selection or relay reselection based on the second measurement result; When there is data transmission, the first terminal triggers relay selection or relay reselection based on the first measurement result and the second measurement result; When there is no data transmission, the first terminal triggers relay selection or relay reselection based on the first measurement result.

[0105] Optionally, the processor 110 further comprises: Available Supports sidelink data Reference Signal if so, the first terminal triggers relay selection or relay reselection based on the second measurement result; Available Supports sidelink data Reference Signal if not, the first terminal triggers relay selection or relay reselection based on the first measurement result.

[0106] Optionally, the processor 110 further comprises: Available Responding to Sidelink Discovery Messages Reference Signal if so, the first terminal triggers relay selection or relay reselection based on the first measurement result; Available Responding to Sidelink Discovery Messages Reference Signal if not, the first terminal triggers relay selection or relay reselection based on the second measurement result.

[0107] Optionally, the processor 110 further comprises: triggering relay selection or relay reselection by the first terminal based on a first measurement result when receiving the discovery message; if the discovery message is not received, the first terminal triggers relay selection or relay reselection based on the second measurement result.

[0108] Optionally, the processor 110 further comprises: When the first measurement result is equal to or greater than a first predetermined threshold and the second measurement result is less than a second predetermined threshold, the first terminal triggers relay selection or relay reselection based on the first measurement result; When the first measurement result is less than a first predetermined threshold and the second measurement result is equal to or greater than a second predetermined threshold, the first terminal triggers relay selection or relay reselection based on the second measurement result; and when the first measurement result is greater than or equal to a first predetermined threshold and the second measurement result is greater than or equal to a second predetermined threshold, the first terminal triggers relay selection or relay reselection.

[0109] Optionally, the processor 110 further comprises: if the first measurement result is greater than or equal to the second measurement result, the first terminal triggers relay selection or relay reselection based on the second measurement result; if the first measurement result is less than the second measurement result, the first terminal triggers relay selection or relay reselection based on the first measurement result; if the first measurement result is less than or equal to the second measurement result, the first terminal triggers relay selection or relay reselection based on the second measurement result; if the first measurement result is greater than the second measurement result, the first terminal triggers relay selection or relay reselection based on the first measurement result.

[0110] Optionally, the processor 110 further comprises: triggering relay selection or relay reselection by the first terminal when at least one of the first measurement result and the second measurement result is equal to or greater than a third predetermined threshold; and the first terminal triggering relay selection or relay reselection if both the first measurement result and the second measurement result are equal to or greater than a fourth predetermined threshold.

[0111] Optionally, the processor 110 further comprises: triggering relay selection or relay reselection by the first terminal when at least one of the first measurement result and the second measurement result is less than or equal to a fifth predetermined threshold; and the first terminal triggering relay selection or relay reselection if both the first measurement result and the second measurement result are below a sixth predetermined threshold.

[0112] The embodiments of the present application further provide a readable storage medium, which stores a program or command, and when the program or command is executed by a processor, each process of the embodiment of the relay processing method is realized, and the same technical effect can be achieved. In order to avoid repetition, detailed description is omitted here.

[0113] Wherein, the processor is a processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0114] The embodiment of the present application further provides a chip, which includes a processor and a communication interface, and the communication interface and the processor are coupled to each other, and the processor executes a program or command to realize each process of the embodiment of the relay processing method, and can achieve the same technical effects. In order to avoid duplication, detailed description is omitted here.

[0115] It should be understood that the chips referred to in the embodiments of this application may be referred to as system level chips, system chips, chip systems, or systems on chips, and the like.

[0116] The embodiments of the present application further provide a computer program product, which is stored in a non-volatile storage medium, and when the computer program product is executed by at least one processor, each process of the above relay processing method embodiment is realized, and the same technical effect can be achieved. In order to avoid duplication, detailed description is omitted here.

[0117] It should be noted that in this specification, the terms "comprise", "consist of" or any other variations are intended to include a non-exclusive inclusion, whereby a process, method, article, or apparatus that includes a set of elements includes not only those elements, but also other elements not expressly stated or inherent to such process, method, article, or apparatus. Unless otherwise specified, an element limited by the phrase "comprises a" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element. It should also be noted that the scope of the method and apparatus in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may include performing functions substantially simultaneously or in the reverse order depending on such functions, for example, the described method may be performed in a different order than described, and various steps may be added, omitted, or combined. Also, features described with reference to any example may be combined in other examples.

[0118] From the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be realized in the form of a combination of software and a necessary common hardware platform, and of course, they can be realized by hardware, but in many cases the former is a more preferred embodiment. Based on this view, the technical solution of the present application can be substantially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM / RAM, magnetic disk, optical disk) and includes a number of commands that cause a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present application.

[0119] Although the examples of the present application have been described above with reference to the drawings, the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative and not limiting. Based on the suggestions of the present application, many forms that a person skilled in the art can make without departing from the spirit of the present application and the scope of protection of the claims are all within the scope of protection of the present application.

Claims

1. The first terminal performs a first operation based on the target content; the first operation being to trigger relay reselection based on at least one of a first measurement result of a reference signal corresponding to a sidelink discovery message and a second measurement result of a reference signal corresponding to sidelink data; the target content includes whether there are reference signal measurements corresponding to the sidelink data available; The step of the first terminal performing a first operation based on the target content includes: performing the relay reselection if the first measurement result is less than or equal to a sixth predetermined threshold. Relay processing method.

2. The step of the first terminal performing the first operation based on the target content further includes: triggering, by the first terminal, the relay reselection based on the second measurement result if there is a reference signal corresponding to the sidelink data available; triggering, by the first terminal, the relay reselection based on the first measurement result if no reference signal corresponding to the sidelink data is available; The method of claim 1 , comprising:

3. The method of transmitting the discovery message is as follows: a method of periodically transmitting the discovery message between the first terminal and the relay terminal; a manner of transmitting the discovery message when there is no available reference signal corresponding to the sidelink data; and The method of claim 2 , comprising one of:

4. A terminal comprising a processor, a memory, and programs or commands stored in the memory and executable on the processor, the programs or commands, when executed by the processor, implementing the steps of the method according to any one of claims 1 to 3.

5. A readable storage medium having stored thereon a program or command, the program or command being executed by a processor to implement the steps of the method according to any one of claims 1 to 3.