Relay processing method and device, terminal and readable storage medium

By triggering relay selection or reselection based on the measurement results of the reference signal corresponding to the edge link discovery message and data in the first terminal, the problem of unclear measurement conditions in the prior art is solved, and appropriate relay selection and service forwarding are achieved.

CN115150907BActive Publication Date: 2025-05-23VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110349425.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-31
Publication Date
2025-05-23
Estimated Expiration
2041-03-31

AI Technical Summary

Technical Problem

In the prior art, it is not clear whether the measurement situation of selecting a data-based reference signal or the measurement situation based on the discovery message is used as the basis for selection or reselecting of the relay terminal.

Method used

A relay processing method is provided, which triggers relay selection or relay reselection by at least one of a first measurement result of a reference signal corresponding to an edge link discovery message and a second measurement result of a reference signal corresponding to an edge link data in the first terminal. The target content includes whether the relay terminal and the relay terminal have established a PC5 connection, whether there is data transmission, whether there is available edge link discovery message or reference signal measurement results corresponding to the data, etc.

Benefits of technology

It is realized that relay selection or relay reselection is triggered under appropriate conditions, so that the terminal can forward services between the appropriate relay and the network-side device, solving the problem of unclear measurement conditions based on the selection in the prior art.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115150907B_ABST
    Figure CN115150907B_ABST
Patent Text Reader

Abstract

The present application discloses a relay processing method and device, a terminal and a readable storage medium, belonging to the field of communication technology, the method comprising: a first terminal performs a first operation according to a target content; wherein the first operation triggers relay selection or relay reselection based on at least one of a first measurement result of a reference signal corresponding to an edge link discovery message and a second measurement result of a reference signal corresponding to edge link data. Through the present application, the problem in the prior art of whether to select the measurement of a reference signal based on data or the measurement of a discovery message as the basis for selecting or reselecting a relay terminal is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a relay processing method and device, a terminal and a readable storage medium. Background Art

[0002] In relay selection or relay reselection, the measurement of the reference signal based on data and the measurement of the discovery message can be used to determine the relay selection or relay reselection. However, in the prior art, it is not clear whether to select the measurement of the reference signal based on data or the measurement of the discovery message as the basis for selecting or reselecting the relay terminal. Summary of the invention

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

[0004] In the first aspect, a relay processing method is provided, including: a first terminal performs a first operation based on a target content; wherein the first operation triggers relay selection or relay reselection based on at least one of a first measurement result of a reference signal corresponding to an edge link discovery message and a second measurement result of a reference signal corresponding to edge link data; the target content includes at least one of the following: whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, whether there is an available reference signal measurement result corresponding to the edge link discovery message, whether there is an available reference signal measurement result corresponding to the edge link data, whether a discovery message can be received, a first indication message of a network side device is received, a second indication message of a peer terminal is received, a comparison result of the first measurement result with the second measurement result, a comparison result of the first measurement result with a first preset threshold, and a comparison result of the second measurement result with a second preset threshold.

[0005] In the second aspect, a relay processing device is provided, which is applied to a first terminal, including: an execution module, used to perform a first operation according to a 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 an edge link discovery message and a second measurement result of a reference signal corresponding to edge link data; the target content includes at least one of the following: whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, whether there is an available reference signal measurement result corresponding to the edge link discovery message, whether there is an available reference signal measurement result corresponding to the edge link data, whether a discovery message can be received, a first indication information of a network side device is received, a second indication information of a peer terminal is received, a comparison result of the first measurement result with the second measurement result, a comparison result of the first measurement result with a first preset threshold, and a comparison result of the second measurement result with a second preset threshold.

[0006] In a third aspect, a terminal is provided, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0007] In a fourth aspect, a terminal is provided, comprising a processor and a communication interface, wherein the processor is used to perform a first operation based on a target content; the communication interface is used to obtain resources for performing the first operation; 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 an edge link discovery message and a second measurement result of a reference signal corresponding to edge link data; the target content comprises at least one of the following: whether the first terminal has established a PC5 connection with the relay terminal, whether there is data transmission, whether there is an available reference signal measurement result corresponding to the edge link discovery message, whether there is an available reference signal measurement result corresponding to the edge link data, whether a discovery message can be received, a first indication message of a network side device is received, a second indication message of a peer terminal is received, a comparison result of the first measurement result with the second measurement result, a comparison result of the first measurement result with a first preset threshold, and a comparison result of the second measurement result with a second preset threshold.

[0008] In a fifth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the third aspect are implemented.

[0009] In a sixth aspect, a chip is provided, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is configured to run programs or instructions to implement the method described in the first aspect.

[0010] In a seventh aspect, a computer program / program product is provided. The computer program / program product is stored in a non-volatile storage medium, and the program / program product is executed by at least one processor to implement the method steps described in the first aspect.

[0011] In the embodiments of the present application, whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, whether there are available reference signal measurement results corresponding to sidelink discovery messages, whether there are available reference signal measurement results corresponding to sidelink data, whether a discovery message can be received, the first indication information received from the network side device, the second indication information received from the peer terminal, the comparison result between the first measurement result and the second measurement result, the comparison result between the first measurement result and the first preset threshold, and the comparison result between the second measurement result and the second preset threshold are used as the basis for selecting the first measurement result of the reference signal corresponding to the sidelink discovery message and the second measurement result of the reference signal corresponding to the sidelink data to trigger relay selection or selected re-selection. That is to say, the terminal can trigger relay selection or relay re-selection under appropriate conditions, so that the terminal can forward services between the network side device through an appropriate relay, thereby solving the problem in the prior art that it is not clear whether to select the measurement of the reference signal based on data or the measurement of the discovery message as the basis for the selection or re-selection of the relay terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A block diagram of a wireless communication system to which the embodiments of the present application can be applied is shown;

[0013] Figure 2 A schematic diagram of sidelink transmission in the embodiments of the present application;

[0014] Figure 3 A schematic diagram of the UE-to-network application scenario in the embodiments of the present application;

[0015] Figure 4 A flowchart of the relay processing method in the embodiments of the present application;

[0016] Figure 5 A schematic structural diagram of the relay processing device in the embodiments of the present application;

[0017] Figure 6 A schematic structural diagram of the communication device in the embodiments of the present application;

[0018] Figure 7It is a schematic diagram of the structure of the terminal of an embodiment of the present application. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

[0020] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first" and "second" are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.

[0021] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, 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 described technology can be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following descriptions, but these technologies can also be applied to applications other than NR system applications, such as the 6th generation (6 th Generation, 6G) communication system.

[0022] Figure 1 A block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12. Among them, the terminal 11 can also be called a terminal device or a user terminal (User Equipment, UE), and the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device (VUE), a pedestrian terminal (PUE) and other terminal side devices, and the wearable device includes: a smart watch, a bracelet, a headset, 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 device 12 can be a base station or a core network, wherein the base station can be referred to as a node B, an evolved node B, an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (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 and receiving point (Transmitting Receiving Point, TRP) or some other suitable term in the field. As long as the same technical effect is achieved, the base station is not limited to a specific technical vocabulary. It should be noted that in the embodiment of the present application, only the base station in the NR system is taken as an example, but the specific type of the base station is not limited.

[0023] First, the relevant terms in this application are explained.

[0024] 1. Introduction to Sidelink

[0025] The Long Term Evolution (LTE) system supports side links starting from the 12th release, such as Figure 2 As shown, Sidelink is used for direct data transmission between end user equipment (UE) without going through network equipment.

[0026] LTE Sidelink is designed for specific public safety matters (such as emergency communications at fire sites or disaster sites such as earthquakes), or vehicle to everything (V2X) communications. Vehicle to everything communications include various services, such as basic safety communications, advanced (autonomous) driving, platooning, sensor expansion, etc. Since LTE Sidelink only supports broadcast communications, it is mainly used for basic safety communications. Other advanced V2X services with strict Quality of Service (QoS) requirements in terms of latency, reliability, etc. will be supported by NR Sidelink.

[0027] The 5G NR system can be used in the operating frequency band above 6 GHz, which is not supported by LTE, and supports a larger operating bandwidth. In addition, the Sidelink interface can also be called the PC5 interface.

[0028] 2. Relay Mechanism

[0029] Relay technology in wireless communication systems is to add one or more relay nodes between the base station and the terminal, which is responsible for forwarding the wireless signal once or multiple 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 in cell coverage blind spots, but also to increase cell capacity through spatial resource reuse. For indoor coverage, Relay technology can also overcome penetration loss and improve indoor coverage quality.

[0030] Taking the simpler two-hop relay as an example, wireless relay splits a base station-terminal link into two links: base station-relay station and relay station-terminal. This provides the opportunity to replace a link with poor quality with two links with better quality to obtain higher link capacity and better coverage.

[0031] The relay currently 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. The UE connected to the relay is called remote UE.

[0032] In the existing mechanism, Figure 3 As shown in the figure, this is a UE-to-network application scenario. The remote UE needs to transmit data with the network side, but due to poor coverage, it finds a relay UE to transfer the data. The Uu interface is between the relay UE and the base station, and the Sidelink interface is between the relay UE and the remote UE. Generally speaking, the relay UE is open and can serve any remote UE.

[0033] 3. Terminal Selection and Reselection

[0034] In LTE, when the remote UE meets certain conditions, it will select or reselect the relay UE. The current selection is mainly based on the link between the UE and the base station and the signal quality on the sidelink. At present, it is mainly when the remote UE determines that the measurement result of the sidelink discovery reference signal received power (SD-RSRP) is less than a certain threshold value, or the upper layer of the remote UE triggers the relay reselection.

[0035] The relay processing method provided in the embodiment of the present application is described in detail below through some embodiments and their application scenarios in combination with the accompanying drawings.

[0036] like Figure 4 As shown, the steps of the relay processing method include:

[0037] Step 402, the first terminal performs a first operation according to the target content;

[0038] 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 the side link discovery message and a second measurement result of a reference signal corresponding to the side link data;

[0039] The target content includes at least one of the following: whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, whether there is an available reference signal measurement result corresponding to the edge link discovery message, whether there is an available reference signal measurement result corresponding to the edge link data, whether the discovery message can be received, the first indication information of the network side device is received, the second indication information of the opposite terminal is received, the comparison result of the first measurement result and the second measurement result, the comparison result of the first measurement result and the first preset threshold, and the comparison result of the second measurement result and the second preset threshold.

[0040] It can be known from the above step 402 that at least one of the following contents: whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, whether there is an available reference signal corresponding to the side link discovery message, whether there is an available reference signal corresponding to the side link data, whether the discovery message can be received, the first indication information of the network side device is received, the second indication information of the opposite terminal is received, the comparison result of the first measurement result and the second measurement result, the comparison result of the first measurement result and the first preset threshold, and the comparison result of the second measurement result and the second preset threshold, can be used as a basis for selecting the first measurement result based on the reference signal corresponding to the side link discovery message and the second measurement result based on the reference signal corresponding to the side link data to trigger relay selection or reselection. That is to say, the terminal can trigger relay selection or relay reselection under appropriate conditions, so that the terminal can forward the service between the network side device and the network side device through an appropriate relay, thereby solving the problem in the prior art that it is unclear whether to select the measurement situation based on the reference signal of the data or the measurement situation based on the discovery message as the basis for selecting or reselecting the relay terminal.

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

[0042] In an optional implementation manner of the embodiment of the present application, the manner in which the first terminal involved in step 402 performs the first operation according to the target content may further include one of the following:

[0043] Step 402-11, when the first terminal has established a PC5 connection with the relay terminal, the first terminal triggers relay selection or relay reselection based on the second measurement result;

[0044] Among them, for step 402-11, the specific implementation process of triggering relay selection or relay reselection based on the second measurement result can be: when the second measurement result is greater than or equal to the first preset value, perform relay selection; when the second measurement result is less than or equal to the first preset value, perform relay reselection.

[0045] Step 402-12: When the first terminal has established a PC5 connection with the relay terminal, the first terminal triggers relay selection or relay reselection based on the first measurement result and the second measurement result.

[0046] In particular, for step 402-11, the specific implementation process of the first terminal triggering relay selection or relay reselection based on the first measurement result and the second measurement result may be:

[0047] 1) At least one of the first measurement result and the second measurement result meets the threshold condition. For example, the first case is that the first measurement result or the second measurement result is greater than or equal to the second preset threshold; the second case is that the first measurement result is greater than or equal to the third preset threshold, or the second measurement result is greater than or equal to the third preset threshold, or both the first measurement result and the second measurement result are greater than or equal to the third preset threshold.

[0048] 2) Both the first measurement result and the second measurement result meet the threshold conditions, for example, both the first measurement result and the second measurement result are greater than or equal to the second preset threshold, the first measurement result is greater than or equal to the third preset threshold, and the second measurement result is greater than or equal to the third preset threshold.

[0049] It should be noted that the relay selection or relay reselection is triggered based on the first measurement result and the second measurement result. When the first measurement result or the second measurement result is greater than or equal to the second preset value, the relay selection is performed, and when the first measurement result or the second measurement result is less than or equal to the second preset value, the relay reselection is performed. The third preset threshold is processed in the same manner.

[0050] The PC5 connection involved in the embodiments of the present application may refer to a PC5-S connection, a PC5-RRC connection, etc.

[0051] In an optional implementation manner of the embodiment of the present application, when the first terminal has established a PC5 connection with the relay terminal and there is no service data transmission, the method of the embodiment of the present application may further include one of the following:

[0052] Step 404, the first terminal stops evaluating relay selection or relay reselection;

[0053] Step 406: The first terminal receives a data packet sent by the relay terminal, wherein the data packet is used by the first terminal to measure a reference signal corresponding to the side link data.

[0054] In another optional implementation of the embodiment of the present application, the manner in which the first terminal involved in step 402 performs the first operation according to the target content may further include at least one of the following:

[0055] Step 402-21: when there is data transmission, the first terminal triggers relay selection or relay reselection based on the second measurement result;

[0056] Step 402-22: 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;

[0057] Step 402-23: In the absence of data transmission, the first terminal triggers relay selection or relay reselection based on the first measurement result.

[0058] It can be seen that through the above steps 402-21 to 402-23, it can be known that in the case of data or no data, relay selection or relay reselection can be triggered based on the first measurement result or the second measurement result. In a specific application scenario, it is preferred that the first terminal triggers relay selection when the first measurement result or the second measurement result is greater than or equal to the fourth preset value; and the first terminal triggers relay reselection when the first measurement result or the second measurement result is less than or equal to the fifth preset 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 through an appropriate relay.

[0059] 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: periodically transmitting the discovery message between the first terminal and the relay terminal; transmitting the discovery message only when there is no data.

[0060] In another optional implementation of the embodiment of the present application, the manner in which a terminal involved in step 402 performs the first operation according to the target content may further include at least one of the following:

[0061] Step 402-31, when there is a reference signal corresponding to the available side link data, the first terminal triggers relay selection or relay reselection based on the second measurement result;

[0062] Step 402-32: When there is no available reference signal corresponding to the side link data, the first terminal triggers relay selection or relay reselection based on the first measurement result.

[0063] It can be seen that through the above steps 402-31 to 402-32, it can also be known that relay selection or relay reselection can be triggered based on the first measurement result and the second measurement result according to whether there is a reference signal corresponding to the available side link data. When the first measurement result or the second measurement result is greater than or equal to the sixth preset value, relay selection is performed, and when the first measurement result or the second measurement result is less than or equal to the sixth preset value, relay reselection is performed. The same processing method is used for the seventh preset 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 through an appropriate relay.

[0064] Among them, for the above steps 402-31 to 402-32, the method of transmitting the discovery message in the embodiment of the present application includes one of the following: 1) periodically transmitting the discovery message between the first terminal and the relay terminal;

[0065] 2) Transmitting a discovery message when there is no reference signal corresponding to the available side link data.

[0066] In another optional implementation of the embodiment of the present application, the manner in which a terminal involved in step 402 performs the first operation according to the target content may further include at least one of the following:

[0067] Step 402-41, when there is an available reference signal corresponding to the edge link discovery message, the first terminal triggers relay selection or relay reselection based on the first measurement result;

[0068] Step 402-42: When there is no available reference signal corresponding to the edge link discovery message, the first terminal triggers relay selection or relay reselection based on the second measurement result.

[0069] It can be seen that through the above steps 402-41 to 402-42, it can also be known that relay selection or relay reselection can be triggered based on the first measurement result and the second measurement result according to whether there is an available reference signal corresponding to the edge link discovery message. When the first measurement result or the second measurement result is greater than or equal to the eighth preset value, relay selection is performed, and when the first measurement result or the second measurement result is less than or equal to the sixth preset value, relay reselection is performed. The same processing method is used for the ninth preset 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 through an appropriate relay.

[0070] In another optional implementation of the embodiment of the present application, the manner in which the first terminal performs the first operation according to the target content involved in step 402 may further include:

[0071] Step 402-51, when receiving the discovery message, the first terminal triggers relay selection or relay reselection based on the first measurement result;

[0072] Step 402-52: When no discovery message is received, the first terminal triggers relay selection or relay reselection based on the second measurement result.

[0073] It can be seen that in the present application, the corresponding measurement results can also be used to trigger relay selection or relay reselection based on whether the discovery message is received. The specific selection of relay selection or relay reselection is similar to the other methods of triggering relay selection or relay reselection mentioned above.

[0074] It should be noted that, in an optional implementation manner of the embodiment of the present application, when the reference signal corresponding to the discovery message and the reference signal corresponding to the data are not received, the first terminal stops evaluating the relay selection or relay reselection.

[0075] In another optional implementation manner of the embodiment of the present application, the first indication information in the embodiment of the present application is used to indicate one of the following: 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; 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.

[0076] It can be seen that in the embodiment of the present application, the first terminal can determine whether the relay selection or relay reselection is triggered based on the second measurement result or the first measurement result, or the second measurement result and the first measurement result according to the received first indication information. Wherein, the first indication information sent by the network side device corresponds to at least one of the following: a pair of source ID and destination ID, destination ID, unicast link ID, terminal, service type, and group ID in multicast.

[0077] For example, when the first indication information corresponds to a pair of source ID and destination ID, it indicates that the first indication information is used to indicate that pair of IDs. In other words, whether the pair of source ID and destination ID needs to be based on the second measurement result or the first measurement result, or whether the second measurement result and the first measurement result trigger relay selection or relay reselection. Similar processing is used for other IDs or service types.

[0078] In another optional implementation manner of the embodiment of the present application, the second indication information in the embodiment of the present application is used to indicate one of the following: 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; 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.

[0079] It can be seen that the second indication information sent by the opposite terminal may also directly indicate whether the relay selection or relay reselection is triggered based on the second measurement result or the first measurement result, or the second measurement result and the first measurement result.

[0080] In another optional implementation of the embodiment of the present application, the first terminal involved in step 402 performs the first operation according to the target content, including one of the following:

[0081] Step 402-61, when the first measurement result is greater than or equal to the first preset threshold and the second measurement result is less than the second preset threshold, the first terminal triggers relay selection or relay reselection based on the first measurement result;

[0082] Step 402-62, when the first measurement result is less than the first preset threshold and the second measurement result is greater than or equal to the second preset threshold, the first terminal triggers relay selection or relay reselection based on the second measurement result;

[0083] Step 402-63: when the first measurement result is greater than or equal to the first preset threshold and the second measurement result is greater than or equal to the second preset threshold, the first terminal triggers relay selection or relay reselection.

[0084] It can be known from the above steps 402-61 to 402-63 that relay selection or relay reselection can be triggered according to the measurement result that is greater than or equal to the threshold. It should be noted that the above steps 402-61 to 402-63 are parallel cases, and only one of them needs to meet the condition, that is, after the measurement result is compared with the threshold, the relay selection or relay reselection is triggered when it is greater than or equal to, or less than.

[0085] In another optional implementation of the embodiment of the present application, the first terminal involved in step 402 performs the first operation according to the target content, including at least one of the following:

[0086] Step 402-71: When 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;

[0087] Step 402-72, when 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;

[0088] Step 402-73: when 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;

[0089] Step 402-74: when 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.

[0090] It can be known from the above steps 402-71 to 402-74 that relay selection or relay reselection can be triggered according to 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 cases, and only one of them needs to meet the condition, that is, after the measurement results are compared, relay selection or relay reselection is triggered when the first measurement result is greater than or equal to, or less than the second measurement result; that is, relay selection or relay reselection is triggered when the first measurement result is greater than or equal to, or less than the second measurement result.

[0091] In another optional implementation of the embodiment of the present application, the first terminal involved in step 402 performs the first operation according to the target content, including one of the following:

[0092] Step 402-81, when at least one of the first measurement result and the second measurement result is greater than or equal to a third preset threshold, the first terminal triggers relay selection or relay reselection;

[0093] Step 402-82: When the first measurement result and the second measurement result are both greater than or equal to a fourth preset threshold, the first terminal triggers relay selection or relay reselection.

[0094] The third preset threshold in the above steps 402-81 and 402-82 may be two thresholds, that is, when the third preset threshold includes two thresholds, they are respectively used for comparing the first measurement result with it, and for comparing the second measurement result with it, and then comparing the first measurement result and the second measurement result with another preset threshold.

[0095] In another optional implementation of the embodiment of the present application, the first terminal involved in step 402 performs the first operation according to the target content, including one of the following:

[0096] Step 402-91, when at least one of the first measurement result and the second measurement result is less than or equal to a fifth preset threshold, the first terminal triggers relay selection or relay reselection;

[0097] Step 402-92: When the first measurement result and the second measurement result are both less than or equal to a sixth preset threshold, the first terminal triggers relay selection or relay reselection.

[0098] The fifth preset threshold in the above steps 402-91 and 402-92 may be two thresholds, that is, when the fifth preset threshold includes two thresholds, one is used for comparing the first measurement result with it, and the other is used for comparing the second measurement result with it, and then the first measurement result and the second measurement result are compared with another preset threshold.

[0099] The following is an example in which the first measurement result based on the reference signal corresponding to the side link discovery message can be a measurement result based on SD-RSRP, and the second measurement result based on the reference signal corresponding to the side link data can be a measurement result based on SL-RSRP to illustrate the triggering relay selection or relay reselection method of the present application.

[0100] Optional implementation 1:

[0101] If SL-RSRP is used in relay selection, the method steps in this optional implementation manner include:

[0102] Step 501: A unicast link is established between a remote UE and a relay UE to perform non-relay related services.

[0103] Step 502: The remote UE decides to select a relay for subsequent services based on a judgment criterion. When a suitable relay is evaluated, at least one of the SL-RSRP and SD-RSRP of the relay UE is measured to meet a threshold condition, and the relay UE1 is selected by the remote UE as a suitable relay.

[0104] The fact that at least one of the SL-RSRP and the SD-RSRP satisfies the threshold condition may refer to: SD-RSRP>=TH1 or SL-RSRP>=TH2.

[0105] Step 503: The remote UE performs subsequent communication with the base station based on the forwarding by the relay UE.

[0106] Optional implementation 2:

[0107] In relay reselection, SL-RSRP+SD-RSRP is used, and the method steps in this optional implementation manner include:

[0108] Step 601, the remote UE decides to select a relay to perform service communication with a base station based on a judgment criterion;

[0109] Step 602: The remote UE selects a suitable relay UE based on SD-RSRP and establishes a unicast link with the relay UE.

[0110] Step 603, when the remote UE receives data from the relay UE, it measures the SL-RSRP, and at the same time, the remote UE can also receive the discovery message from the relay UE to measure the SD-RSRP;

[0111] Step 604: When both SD-RSRP and SL-RSRP do not meet the threshold condition, the remote UE triggers the relay reselection process.

[0112] When reselecting a relay UE, the remote UE uses only SD-RSRP to determine whether a new candidate relay UE can be selected, or uses SD-RSRP+SL-RSRP to determine whether a new candidate relay UE can be selected.

[0113] It should be noted that the relay processing method provided in the embodiment of the present application can be executed by a relay processing device, or a control module in the relay processing device for executing the relay processing method. In the embodiment of the present application, the relay processing device provided in the embodiment of the present application is described by taking the relay processing device executing the relay processing method as an example.

[0114] like Figure 5 As shown, the embodiment of the present application further provides a relay processing device, which is applied to a first terminal, and includes:

[0115] An execution module 52, configured to execute a first operation according to the target content;

[0116] 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 the side link discovery message and a second measurement result of a reference signal corresponding to the side link data;

[0117] The target content includes at least one of the following: whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, whether there is an available reference signal measurement result corresponding to the edge link discovery message, whether there is an available reference signal measurement result corresponding to the edge link data, whether the discovery message can be received, the first indication information of the network side device is received, the second indication information of the opposite terminal is received, the comparison result of the first measurement result and the second measurement result, the comparison result of the first measurement result and the first preset threshold, and the comparison result of the second measurement result and the second preset threshold.

[0118] Through the device of the embodiment of the present application, at least one of the following contents: whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, whether there is an available reference signal measurement result corresponding to the side link discovery message, whether there is an available reference signal measurement result corresponding to the side link data, whether the discovery message can be received, the first indication information of the network side device is received, the second indication information of the opposite terminal is received, the comparison result of the first measurement result and the second measurement result, the comparison result of the first measurement result and the first preset threshold, and the comparison result of the second measurement result and the second preset threshold, can be used as a basis for selecting the first measurement result of the reference signal corresponding to the side link discovery message and the second measurement result of the reference signal corresponding to the side link data to trigger relay selection or reselection. That is to say, the terminal can trigger relay selection or relay reselection under appropriate conditions, so that the terminal can forward the service between the network side device and the network side device through an appropriate relay, thereby solving the problem in the prior art that it is unclear whether to select the measurement situation of the reference signal based on the data or the measurement situation based on the discovery message as the basis for selecting or reselecting the relay terminal.

[0119] Optionally, the execution module 52 in the embodiment of the present application may further include one of the following:

[0120] A first triggering unit, configured to trigger relay selection or relay reselection based on a second measurement result when a PC5 connection has been established between the first terminal and the relay terminal;

[0121] The first triggering unit is configured to trigger relay selection or relay reselection based on the first measurement result and the second measurement result when the first terminal has established a PC5 connection with the relay terminal.

[0122] Optionally, when the first terminal has established a PC5 connection with the relay terminal and there is no service data transmission, the device in the embodiment of the present application may further include one of the following:

[0123] A first stopping module, used for stopping the evaluation of relay selection or relay reselection;

[0124] The receiving module is used to receive a data packet sent by a relay terminal, wherein the data packet is used for measuring a reference signal corresponding to the edge link data of the first terminal.

[0125] Optionally, the execution module 52 in the embodiment of the present application may further include one of the following:

[0126] A third triggering unit, configured to trigger relay selection or relay reselection based on the second measurement result when there is data transmission;

[0127] A fourth triggering unit, configured to trigger relay selection or relay reselection based on the first measurement result and the second measurement result when there is data transmission;

[0128] The fifth triggering unit is configured to trigger relay selection or relay reselection based on the first measurement result when there is no data transmission.

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

[0130] Optionally, the execution module 52 in the embodiment of the present application may further include: a sixth trigger unit, used to trigger relay selection or relay reselection based on the second measurement result when there is a reference signal corresponding to the available side link data; a seventh trigger unit, used to trigger relay selection or relay reselection based on the first measurement result when there is no reference signal corresponding to the available side link data.

[0131] Optionally, the method of transmitting the discovery message in the embodiment of the present application includes one of the following: periodically transmitting the discovery message between the first terminal and the relay terminal; transmitting the discovery message when there is no reference signal corresponding to the available side link data.

[0132] Optionally, the execution module 52 in the embodiment of the present application may further include: an eighth trigger unit, used to trigger relay selection or relay reselection based on the first measurement result when there is an available reference signal corresponding to the edge link discovery message; a ninth trigger unit, used to trigger relay selection or relay reselection based on the second measurement result when there is no available reference signal corresponding to the edge link discovery message.

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

[0134] Optionally, the apparatus in the embodiment of the present application may further include: a second stopping module, configured to stop evaluating 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.

[0135] Optionally, the first indication information in the embodiment of the present application is used to indicate one of the following:

[0136] 1) 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;

[0137] 2) 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.

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

[0139] Optionally, the second indication information in the embodiment of the present application is used to indicate one of the following:

[0140] 1) 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;

[0141] 2) 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.

[0142] Optionally, the execution module 52 in the embodiment of the present application may further include one of the following:

[0143] a tenth triggering unit, configured to trigger relay selection or relay reselection based on the first measurement result when the first measurement result is greater than or equal to the first preset threshold and the second measurement result is less than the second preset threshold;

[0144] an eleventh triggering unit, configured to trigger relay selection or relay reselection based on the second measurement result when the first measurement result is less than the first preset threshold and the second measurement result is greater than or equal to the second preset threshold;

[0145] A twelfth triggering unit is used to trigger relay selection or relay reselection when the first measurement result is greater than or equal to the first preset threshold and the second measurement result is greater than or equal to the second preset threshold.

[0146] Optionally, the execution module 52 in the embodiment of the present application may further include one of the following:

[0147] A thirteenth triggering unit, configured to trigger relay selection or relay reselection based on the second measurement result when the first measurement result is greater than or equal to the second measurement result;

[0148] A fourteenth triggering unit, configured to trigger relay selection or relay reselection based on the first measurement result when the first measurement result is less than the second measurement result;

[0149] A fifteenth triggering unit, configured to trigger, by the first terminal, 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;

[0150] A sixteenth triggering unit is configured to trigger relay selection or relay reselection based on the first measurement result when the first measurement result is greater than the second measurement result.

[0151] Optionally, the execution module 52 in the embodiment of the present application may further include one of the following:

[0152] A seventeenth triggering unit, configured to trigger relay selection or relay reselection when at least one of the first measurement result and the second measurement result is greater than or equal to a third preset threshold;

[0153] An eighteenth triggering unit is configured to trigger relay selection or relay reselection when both the first measurement result and the second measurement result are greater than or equal to a fourth preset threshold.

[0154] Optionally, the execution module 52 in the embodiment of the present application may further include one of the following:

[0155] A nineteenth triggering unit, configured to trigger 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 preset threshold;

[0156] A twentieth triggering unit is configured to trigger relay selection or relay reselection when both the first measurement result and the second measurement result are less than or equal to a sixth preset threshold.

[0157] The relay processing device in the embodiment of the present application can be a device, a device or electronic device with an operating system, or a component, an integrated circuit, or a chip in a terminal. The device or electronic device can be a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminal can include but is not limited to the types of terminals 11 listed above, and the non-mobile terminal can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0158] The relay processing device provided in the embodiment of the present application can achieve Figure 4 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0159] Optional, such as Figure 6As shown, the embodiment of the present application further provides a communication device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601. For example, when the communication device 600 is a terminal, the program or instruction is executed by the processor 601 to implement the various processes of the above-mentioned relay processing method embodiment, and can achieve the same technical effect. When the communication device 600 is a network side device, the program or instruction is executed by the processor 601 to implement the various processes of the above-mentioned relay processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0160] The embodiment of the present application also provides a terminal, including a processor and a communication interface, wherein the processor is used to perform a first operation according to the target content, and the communication interface is used to obtain resources for performing the first operation. 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 an edge link discovery message and a second measurement result of a reference signal corresponding to edge link data;

[0161] The target content includes at least one of the following: whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, whether there is an available reference signal measurement result corresponding to the edge link discovery message, whether there is an available reference signal measurement result corresponding to the edge link data, whether the discovery message can be received, the first indication information of the network side device is received, the second indication information of the opposite terminal is received, the comparison result of the first measurement result and the second measurement result, the comparison result of the first measurement result and the first preset threshold, and the comparison result of the second measurement result and the second preset threshold.

[0162] This terminal embodiment corresponds to the above-mentioned terminal side method embodiment, and each implementation process and implementation mode of the above-mentioned method embodiment can be applied to this terminal embodiment and can achieve the same technical effect. Specifically, Figure 7 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0163] The terminal 100 includes 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 at least some of the components of a processor 110.

[0164] Those skilled in the art will appreciate that the terminal 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7The terminal structure shown in the figure does not constitute a limitation on the terminal, and the terminal may include Figure 7 More or fewer components, or combinations of certain components, or different arrangements of components are not described in detail here.

[0165] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as 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 configured 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. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0166] In the embodiment of the present application, the radio frequency unit 101 receives downlink data from the network side device and sends it to the processor 110 for processing; in addition, the uplink data is sent to the network side device. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0167] The memory 109 can be used to store software programs or instructions and various data. The memory 109 can mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, wherein the non-volatile memory can 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.

[0168] The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs or instructions, etc., and the modem processor mainly processes wireless communications, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0169] The processor 110 is used to perform a first operation according to the target content;

[0170] 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 the side link discovery message and a second measurement result of a reference signal corresponding to the side link data;

[0171] The target content includes at least one of the following: whether the first terminal and the relay terminal have established a PC5 connection, whether there is data transmission, whether there is an available reference signal corresponding to the side link discovery message, whether there is an available reference signal corresponding to the side link data, whether the discovery message can be received, the first indication information of the network side device is received, the second indication information of the opposite terminal is received, the comparison result of the first measurement result and the second measurement result, the comparison result of the first measurement result and the first preset threshold, and the comparison result of the second measurement result and the second preset threshold.

[0172] Optionally, the processor 110 is further configured to perform one of the following:

[0173] In the case where the first terminal has established a PC5 connection with the relay terminal, triggering relay selection or relay reselection based on the second measurement result;

[0174] In the case that the first terminal has established a PC5 connection with the relay terminal, relay selection or relay reselection is triggered based on the first measurement result and the second measurement result.

[0175] Optionally, the processor 110 is further configured to, when a PC5 connection has been established between the first terminal and the relay terminal and there is no service data transmission, perform one of the following:

[0176] The first terminal stops evaluating relay selection or relay reselection;

[0177] The first terminal receives a data packet sent by the relay terminal, wherein the data packet is used by the first terminal to measure a reference signal corresponding to the side link data.

[0178] Optionally, the processor 110 is further configured to perform one of the following:

[0179] In case of data transmission, the first terminal triggers relay selection or relay reselection based on the second measurement result;

[0180] In case of data transmission, the first terminal triggers relay selection or relay reselection based on the first measurement result and the second measurement result;

[0181] In the absence of data transmission, the first terminal triggers relay selection or relay reselection based on the first measurement result.

[0182] Optionally, the processor 110 is further configured to perform one of the following:

[0183] In a case where there is a reference signal corresponding to the available side link data, the first terminal triggers relay selection or relay reselection based on the second measurement result;

[0184] In the absence of available reference signals corresponding to the side link data, the first terminal triggers relay selection or relay reselection based on the first measurement result.

[0185] Optionally, the processor 110 is further configured to perform one of the following:

[0186] In a case where there is an available reference signal corresponding to the edge link discovery message, the first terminal triggers relay selection or relay reselection based on the first measurement result;

[0187] In the case where there is no available reference signal corresponding to the side link discovery message, the first terminal triggers relay selection or relay reselection based on the second measurement result.

[0188] Optionally, the processor 110 is further configured to perform one of the following:

[0189] In case of receiving the discovery message, the first terminal triggers relay selection or relay reselection based on the first measurement result;

[0190] In a case where the discovery message is not received, the first terminal triggers relay selection or relay reselection based on the second measurement result.

[0191] Optionally, the processor 110 is further configured to perform one of the following:

[0192] When the first measurement result is greater than or equal to the first preset threshold and the second measurement result is less than the second preset threshold, the first terminal triggers relay selection or relay reselection based on the first measurement result;

[0193] When the first measurement result is less than the first preset threshold and the second measurement result is greater than or equal to the second preset threshold, the first terminal triggers relay selection or relay reselection based on the second measurement result;

[0194] When the first measurement result is greater than or equal to a first preset threshold, and the second measurement result is greater than or equal to a second preset threshold, the first terminal triggers relay selection or relay reselection.

[0195] Optionally, the processor 110 is further configured to perform one of the following:

[0196] When 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;

[0197] When 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;

[0198] When 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;

[0199] When 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.

[0200] Optionally, the processor 110 is further configured to perform one of the following:

[0201] When at least one of the first measurement result and the second measurement result is greater than or equal to a third preset threshold, the first terminal triggers relay selection or relay reselection;

[0202] When the first measurement result and the second measurement result are both greater than or equal to a fourth preset threshold, the first terminal triggers relay selection or relay reselection.

[0203] Optionally, the processor 110 is further configured to perform one of the following:

[0204] When at least one of the first measurement result and the second measurement result is less than or equal to a fifth preset threshold, the first terminal triggers relay selection or relay reselection;

[0205] When the first measurement result and the second measurement result are both smaller than or equal to a sixth preset threshold, the first terminal triggers relay selection or relay reselection.

[0206] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned relay processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0207] The processor is the 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.

[0208] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned relay processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0209] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0210] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0211] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0212] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A relay processing method, It is characterized in that include: The first terminal performs a first operation according to the target content; 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 the side link discovery message and a second measurement result of a reference signal corresponding to the side link data; The target content includes at least one of the following: whether the first terminal has established a PC5 connection with the relay terminal, whether there is data transmission, whether there is an available reference signal measurement result corresponding to the side link discovery message, whether there is an available reference signal measurement result corresponding to the side link data, whether a discovery message can be received, first indication information of a network side device is received, second indication information of a peer terminal is received, a comparison result of the first measurement result and the second measurement result, a comparison result of the first measurement result and a first preset threshold, and a comparison result of the second measurement result and a second preset threshold; The method of transmitting the discovery message includes: In the absence of an available reference signal corresponding to the side link data, transmitting the discovery message; In the case that the first terminal has established a PC5 connection with the relay terminal and there is no service data transmission, the method includes: the first terminal stops evaluating the relay selection or the relay reselection.

2. The method according to claim 1, It is characterized in that The first terminal performs a first operation according to the target content, including one of the following: In a case where the first terminal has established a PC5 connection with the relay terminal, the first terminal triggers the relay selection or the relay reselection based on the second measurement result; In a case where the first terminal has established a PC5 connection with the relay terminal, the first terminal triggers the relay selection or the relay reselection based on the first measurement result and the second measurement result.

3. The method according to claim 1, It is characterized in that The first terminal performs a first operation according to the target content, including at least one of the following: In the case of data transmission, the first terminal triggers the relay selection or the relay reselection based on the second measurement result; In the case of data transmission, the first terminal triggers the relay selection or the relay reselection based on the first measurement result and the second measurement result; In the absence of data transmission, the first terminal triggers relay selection or relay reselection based on the first measurement result.

4. The method according to claim 1, It is characterized in that The first terminal performs a first operation according to the target content, including: In a case where there is an available reference signal corresponding to the side link data, the first terminal triggers the relay selection or the relay reselection based on the second measurement result; In a case where there is no available reference signal corresponding to the side link data, the first terminal triggers relay selection or the relay reselection based on the first measurement result.

5. The method according to claim 1, It is characterized in that The first terminal performs a first operation according to the target content, including: In a case where a reference signal corresponding to the edge link discovery message is available, the first terminal triggers the relay selection or the relay reselection based on the first measurement result; In a case where there is no available reference signal corresponding to the side link discovery message, the first terminal triggers the relay selection or the relay reselection based on the second measurement result.

6. The method according to claim 1, It is characterized in that The first terminal performs a first operation according to the target content, including: In case of receiving the discovery message, the first terminal triggers relay selection or relay reselection based on the first measurement result; In a case where the discovery message is not received, the first terminal triggers the relay selection or relay reselection based on the second measurement result.

7. The method according to claim 6, It is characterized in that The method further comprises: In a case where the reference signal corresponding to the discovery message and the reference signal corresponding to the data are not received, the first terminal stops evaluating the relay selection or the relay reselection.

8. The method according to claim 1, It is characterized in that The first indication information is used to indicate one of the following: triggering the relay selection or the relay reselection based on the first measurement result, or triggering the relay selection or the relay reselection based on the second measurement result; The relay selection or the relay reselection is triggered based on the first measurement result, or the relay selection or the relay reselection is triggered based on the second measurement result and the first measurement result.

9. The method according to claim 1, It is characterized in that The first indication information corresponds to at least one of the following: A pair of source ID and destination ID, destination ID, unicast link ID, terminal, service type, and group ID in multicast.

10. The method according to claim 1, It is characterized in that The second indication information is used to indicate one of the following: triggering the relay selection or the relay reselection based on the first measurement result, or triggering the relay selection or the relay reselection based on the second measurement result; The relay selection or the relay reselection is triggered based on the first measurement result, or the relay selection or the relay reselection is triggered based on the first measurement result and the second measurement result.

11. The method according to claim 1, It is characterized in that The first terminal performing a first operation according to the target content includes one of the following: When the first measurement result is greater than or equal to the first preset threshold, and the second measurement result is less than the second preset threshold, the first terminal triggers the relay selection or the relay reselection based on the first measurement result; When the first measurement result is less than the first preset threshold and the second measurement result is greater than or equal to the second preset threshold, the first terminal triggers the relay selection or the relay reselection based on the second measurement result; When the first measurement result is greater than or equal to the first preset threshold, and the second measurement result is greater than or equal to the second preset threshold, the first terminal triggers the relay selection or the relay reselection.

12. The method according to claim 1, It is characterized in that The first terminal performing a first operation according to the target content includes at least one of the following: When the first measurement result is greater than or equal to the second measurement result, the first terminal triggers the relay selection or relay reselection based on the second measurement result; When 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; When the first measurement result is less than or equal to the second measurement result, the first terminal triggers the relay selection or relay reselection based on the second measurement result; In a case where 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.

13. The method according to claim 1, It is characterized in that The first terminal performing a first operation according to the target content includes one of the following: When at least one of the first measurement result and the second measurement result is greater than or equal to a third preset threshold, the first terminal triggers the relay selection or the relay reselection; When the first measurement result and the second measurement result are both greater than or equal to a fourth preset threshold, the first terminal triggers the relay selection or the relay reselection.

14. The method according to claim 1, It is characterized in that The first terminal performing a first operation according to the target content includes one of the following: When at least one of the first measurement result and the second measurement result is less than or equal to a fifth preset threshold, the first terminal triggers the relay selection or the relay reselection; When the first measurement result and the second measurement result are both smaller than or equal to a sixth preset threshold, the first terminal triggers the relay selection or the relay reselection.

15. A relay processing device, applied to a first terminal, It is characterized in that include: An execution module, used for executing a first operation according to the target content; 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 the side link discovery message and a second measurement result of a reference signal corresponding to the side link data; The target content includes at least one of the following: whether the first terminal has established a PC5 connection with the relay terminal, whether there is data transmission, whether there is an available reference signal measurement result corresponding to the side link discovery message, whether there is an available reference signal measurement result corresponding to the side link data, whether a discovery message can be received, first indication information of a network side device is received, second indication information of a peer terminal is received, a comparison result of the first measurement result and the second measurement result, a comparison result of the first measurement result and a first preset threshold, and a comparison result of the second measurement result and a second preset threshold; The method of transmitting the discovery message includes: In the absence of an available reference signal corresponding to the side link data, transmitting the discovery message; When the first terminal has established a PC5 connection with the relay terminal and there is no service data transmission, the device includes: The first stopping module is used to stop the evaluation of the relay selection or the relay reselection.

16. The device according to claim 15, It is characterized in that The execution module includes one of the following: A first triggering unit, configured to trigger the relay selection or the relay reselection based on the second measurement result when the first terminal has established a PC5 connection with the relay terminal; The first triggering unit is configured to trigger the relay selection or the relay reselection based on the first measurement result and the second measurement result when the first terminal has established a PC5 connection with the relay terminal.

17. The device according to claim 15, It is characterized in that The execution module includes at least one of the following: A third triggering unit, configured to trigger the relay selection or the relay reselection based on the second measurement result when there is data transmission; a fourth triggering unit, configured to trigger the relay selection or the relay reselection based on the first measurement result and the second measurement result when there is data transmission; A fifth triggering unit is configured to trigger relay selection or relay reselection based on the first measurement result when there is no data transmission.

18. The device according to claim 15, It is characterized in that The execution module includes: a sixth triggering unit, configured to trigger the relay selection or the relay reselection based on the second measurement result when there is an available reference signal corresponding to the side link data; A seventh triggering unit is used to trigger the relay selection or the relay reselection based on the first measurement result when there is no available reference signal corresponding to the side link data.

19. The device according to claim 15, It is characterized in that The execution module includes: an eighth triggering unit, configured to trigger the relay selection or the relay reselection based on the first measurement result when there is an available reference signal corresponding to the edge link discovery message; A ninth triggering unit is configured to trigger the relay selection or the relay reselection based on the second measurement result when there is no available reference signal corresponding to the edge link discovery message.

20. The device according to claim 15, It is characterized in that The execution module includes: In case of receiving the discovery message, the first terminal triggers relay selection or relay reselection based on the first measurement result; In a case where the discovery message is not received, the first terminal triggers the relay selection or relay reselection based on the second measurement result.

21. The device according to claim 20, It is characterized in that The device also includes: The second stopping module is used to stop the evaluation of the relay selection or the relay reselection when the reference signal corresponding to the discovery message and the reference signal corresponding to the data are not received.

22. The device according to claim 15, It is characterized in that The first indication information is used to indicate one of the following: triggering the relay selection or the relay reselection based on the first measurement result, or triggering the relay selection or the relay reselection based on the second measurement result; The relay selection or the relay reselection is triggered based on the first measurement result, or the relay selection or the relay reselection is triggered based on the second measurement result and the first measurement result.

23. The device according to claim 15, It is characterized in that The first indication information corresponds to at least one of the following: A pair of source ID and destination ID, destination ID, unicast link ID, terminal, service type, and group ID in multicast.

24. The device according to claim 15, It is characterized in that The second indication information is used to indicate one of the following: triggering the relay selection or the relay reselection based on the first measurement result, or triggering the relay selection or the relay reselection based on the second measurement result; The relay selection or the relay reselection is triggered based on the first measurement result, or the relay selection or the relay reselection is triggered based on the first measurement result and the second measurement result.

25. The device according to claim 15, It is characterized in that The execution module includes one of the following: a tenth triggering unit, configured to trigger the relay selection or the relay reselection based on the first measurement result when the first measurement result is greater than or equal to the first preset threshold and the second measurement result is less than the second preset threshold; an eleventh triggering unit, configured to trigger the relay selection or the relay reselection based on the second measurement result when the first measurement result is less than the first preset threshold and the second measurement result is greater than or equal to the second preset threshold; A twelfth triggering unit is used to trigger the relay selection or the relay reselection when the first measurement result is greater than or equal to the first preset threshold and the second measurement result is greater than or equal to the second preset threshold.

26. The device according to claim 15, It is characterized in that The execution module includes at least one of the following: A thirteenth triggering unit, configured to trigger the relay selection or relay reselection based on the second measurement result when the first measurement result is greater than or equal to the second measurement result; A fourteenth triggering unit, configured to trigger 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 triggering unit, configured to trigger, by the first terminal, the 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; A sixteenth triggering unit is configured to trigger relay selection or relay reselection based on the first measurement result when the first measurement result is greater than the second measurement result.

27. The device according to claim 15, It is characterized in that The execution module includes one of the following: A seventeenth triggering unit, configured to trigger the relay selection or the relay reselection when at least one of the first measurement result and the second measurement result is greater than or equal to a third preset threshold; An eighteenth triggering unit is configured to trigger the relay selection or the relay reselection when both the first measurement result and the second measurement result are greater than or equal to a fourth preset threshold.

28. The device according to claim 15, It is characterized in that The execution module includes one of the following: A nineteenth triggering unit, configured to trigger the relay selection or the relay reselection when at least one of the first measurement result and the second measurement result is less than or equal to a fifth preset threshold; A twentieth triggering unit is configured to trigger the relay selection or the relay reselection when both the first measurement result and the second measurement result are less than or equal to a sixth preset threshold.

29. A terminal, It is characterized in that The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the method steps as claimed in any one of claims 1 to 14.

30. A readable storage medium, It is characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the method steps according to any one of claims 1 to 14 are implemented.