Resource selection method and terminal
A resource selection method and a terminal. The resource selection method includes: triggering a resource selection re-evaluation based on a trigger condition, and performing the resource selection re-evaluation to obtain a re-evaluation result; and performing a resource reselection based on the re-evaluation result.
1 . A resource selection method, applied to a terminal and comprising:
triggering a resource selection re-evaluation based on a trigger condition for triggering the resource selection re-evaluation, and performing the resource selection re-evaluation to obtain a re-evaluation result; and
performing a resource reselection based on the re-evaluation result;
wherein the trigger condition comprises an aperiodic trigger condition;
wherein the aperiodic trigger condition comprises at least one of the following:
triggering a resource selection re-evaluation at a first time before a sending time of resource reservation signaling, wherein the first time is a first time length apart from the sending time;
triggering a resource selection re-evaluation at a second time before a starting time of each of the reserved resources, wherein the second time is a second time length apart from the starting time;
triggering a resource selection re-evaluation at a third time before a transmission or retransmission time of each transport block (TB), wherein the third time is a third time length apart from the transmission or retransmission time;
triggering a resource selection re-evaluation at a fourth time after an ending time of a last evaluation or re-evaluation, wherein the fourth time is a fourth time length apart from the ending time;
triggering a resource selection re-evaluation at a fifth time after a trigger time or a re-evaluation time of the resource selection, wherein the fifth time is a fifth time length apart from the trigger time or the re-evaluation time;
triggering a resource selection re-evaluation at a sixth time after a time when pre-emption of a reserved resource is detected, wherein the sixth time is a sixth time length apart from the time when pre-emption of the reserved resource is detected;
triggering a resource selection re-evaluation at a seventh time after negative-acknowledgment (NACK) information is received and no usable resource is left, wherein the seventh time is a seventh time length apart from a reception time of the NACK information and the usable resource is a resource meeting a QoS requirement;
triggering a resource selection re-evaluation at an eighth time after a traffic arrives but no semi-persistently reserved resource is usable in a PDB or a resource selection window, wherein the eighth time is an eighth time length apart from an arrival time of the traffic;
triggering a resource selection re-evaluation at a ninth time after a transmission time of a TB, wherein a number of retransmissions of the TBs exceeds a maximum number of retransmissions and the ninth time is a ninth time length apart from the transmission time;
triggering a resource selection re-evaluation at a tenth time after radio link control (RLC) triggered retransmission information is received, wherein the tenth time is a tenth time length apart from a reception time of the RLC triggered retransmission information;
triggering a resource selection re-evaluation at an eleventh time after a reserved resource is determined based on any one of the following to be no longer usable: a current sidelink (SL) transmission being dropped because of a transmission collision with a Uu interface, a collision between a current SL transmission and an SL transmission of another radio access technology (RAT), and a collision between a current carrier transmission and another carrier transmission, wherein the eleventh time is an eleventh time length apart from a time when the reserved resource is determined to be no longer usable;
triggering based on a measurement feedback of the terminal;
triggering when acknowledgment (ACK) information is received and a resource has been reserved; and
triggering after a default number of pieces of NACK information are successively received.
2 . The method according to claim 1 , wherein a time unit of the first time and the first time length is any one of the following:
slot, subframe, ms, mini-slot, and frame.
3 . The method according to claim 1 , wherein the performing the resource selection re-evaluation to obtain a re-evaluation result comprises:
determining a default percentage of candidate resources in a resource selection window when the resource selection re-evaluation is being performed.
4 . The method according to claim 3 , wherein an SL-RSRP threshold value for determining the default percentage of candidate resources is determined based on any one of the following:
a priority of a current TB; and
a default TB priority.
5 . The method according to claim 3 , wherein the performing a resource reselection based on the re-evaluation result comprises:
performing the resource reselection in a case that at least one of the following is satisfied:
the default percentage of candidate resources comprise none of previously reserved resources or comprise part of the previously reserved resources;
the terminal detects a collision between resources reserved by another terminal and the default percentage of candidate resources; and
a default proportion or more of resources are different between the default percentage of candidate resources and a default percentage of candidate resources obtained in a last evaluation.
6 . The method according to claim 1 , further comprising:
performing a resource reselection in a case that the terminal has triggered a resource selection re-evaluation.
7 . The method according to claim 1 , wherein the performing a resource reselection based on the re-evaluation result comprises:
performing the resource reselection in a case that it is determined based on the re-evaluation result that another terminal with a higher-priority traffic has pre-empted a resource reserved by the terminal, wherein
an associated SL-RSRP threshold value for determining pre-emption of a resource reserved by the terminal is any one of the following: a first threshold value, and a value obtained based on the first threshold value and a default offset; and
the first threshold value is determined based on at least one of the following:
a first RSRP threshold value, wherein the first RSRP threshold value is an SL-RSRP threshold value for the terminal to obtain a default percentage of candidate resources in a last resource selection evaluation or re-evaluation;
a second RSRP threshold value, wherein the second RSRP threshold value is any one of an average value, a largest value, or a smallest value of a plurality of SL-RSRP threshold values for the terminal to obtain a default percentage of candidate resources in a last default number of resource selection evaluations or re-evaluations; and
a third RSRP threshold value, wherein the third RSRP threshold value is an SL-RSRP threshold value for a resource pre-empting terminal with a higher-priority traffic to determine a default percentage of candidate resources.
8 . The method according to claim 7 , wherein when the first threshold value is determined based on at least two RSRP threshold values of the first RSRP threshold value, the second RSRP threshold value, and the third RSRP threshold value,
the first threshold value is one with a higher priority that is selected by the terminal from the at least two RSRP threshold values based on a default priority order.
9 . The method according to claim 8 , wherein
the default priority order comprises: a priority of the first RSRP threshold value being higher than a priority of the second RSRP threshold value and a priority of the third RSRP threshold value.
10 . A terminal, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the following steps are implemented:
triggering a resource selection re-evaluation based on a trigger condition for triggering the resource selection re-evaluation, and performing the resource selection re-evaluation to obtain a re-evaluation result; and
performing a resource reselection based on the re-evaluation result;
wherein the trigger condition comprises an aperiodic trigger condition;
wherein the aperiodic trigger condition comprises at least one of the following:
triggering a resource selection re-evaluation at a first time before a sending time of resource reservation signaling, wherein the first time is a first time length apart from the sending time;
triggering a resource selection re-evaluation at a second time before a starting time of each of the reserved resources, wherein the second time is a second time length apart from the starting time;
triggering a resource selection re-evaluation at a third time before a transmission or retransmission time of each transport block (TB), wherein the third time is a third time length apart from the transmission or retransmission time;
triggering a resource selection re-evaluation at a fourth time after an ending time of a last evaluation or re-evaluation, wherein the fourth time is a fourth time length apart from the ending time;
triggering a resource selection re-evaluation at a fifth time after a trigger time or a re-evaluation time of the resource selection, wherein the fifth time is a fifth time length apart from the trigger time or the re-evaluation time;
triggering a resource selection re-evaluation at a sixth time after a time when pre-emption of a reserved resource is detected, wherein the sixth time is a sixth time length apart from the time when pre-emption of the reserved resource is detected;
triggering a resource selection re-evaluation at a seventh time after negative-acknowledgment (NACK) information is received and no usable resource is left, wherein the seventh time is a seventh time length apart from a reception time of the NACK information and the usable resource is a resource meeting a QoS requirement;
triggering a resource selection re-evaluation at an eighth time after a traffic arrives but no semi-persistently reserved resource is usable in a PDB or a resource selection window, wherein the eighth time is an eighth time length apart from an arrival time of the traffic;
triggering a resource selection re-evaluation at a ninth time after a transmission time of a TB, wherein a number of retransmissions of the TBs exceeds a maximum number of retransmissions and the ninth time is a ninth time length apart from the transmission time;
triggering a resource selection re-evaluation at a tenth time after radio link control (RLC) triggered retransmission information is received, wherein the tenth time is a tenth time length apart from a reception time of the RLC triggered retransmission information;
triggering a resource selection re-evaluation at an eleventh time after a reserved resource is determined based on any one of the following to be no longer usable: a current sidelink (SL) transmission being dropped because of a transmission collision with a Uu interface, a collision between a current SL transmission and an SL transmission of another radio access technology (RAT), and a collision between a current carrier transmission and another carrier transmission, wherein the eleventh time is an eleventh time length apart from a time when the reserved resource is determined to be no longer usable;
triggering based on a measurement feedback of the terminal;
triggering when acknowledgment (ACK) information is received and a resource has been reserved; and
triggering after a default number of pieces of NACK information are successively received.
11 . The terminal according to claim 10 , wherein when the computer program is executed by the processor, the following step is further implemented:
performing a resource reselection in a case that the terminal has triggered a resource selection re-evaluation.
12 . A non-transitory computer-readable storage medium, storing a computer program, wherein when the computer program is executed by a processor, the following steps are implemented:
triggering a resource selection re-evaluation based on a trigger condition for triggering the resource selection re-evaluation, and performing the resource selection re-evaluation to obtain a re-evaluation result; and
performing a resource reselection based on the re-evaluation result;
wherein the trigger condition comprises an aperiodic trigger condition;
wherein the aperiodic trigger condition comprises at least one of the following:
triggering a resource selection re-evaluation at a first time before a sending time of resource reservation signaling, wherein the first time is a first time length apart from the sending time;
triggering a resource selection re-evaluation at a second time before a starting time of each of the reserved resources, wherein the second time is a second time length apart from the starting time;
triggering a resource selection re-evaluation at a third time before a transmission or retransmission time of each transport block (TB), wherein the third time is a third time length apart from the transmission or retransmission time;
triggering a resource selection re-evaluation at a fourth time after an ending time of a last evaluation or re-evaluation, wherein the fourth time is a fourth time length apart from the ending time;
triggering a resource selection re-evaluation at a fifth time after a trigger time or a re-evaluation time of the resource selection, wherein the fifth time is a fifth time length apart from the trigger time or the re-evaluation time;
triggering a resource selection re-evaluation at a sixth time after a time when pre-emption of a reserved resource is detected, wherein the sixth time is a sixth time length apart from the time when pre-emption of the reserved resource is detected;
triggering a resource selection re-evaluation at a seventh time after negative-acknowledgment (NACK) information is received and no usable resource is left, wherein the seventh time is a seventh time length apart from a reception time of the NACK information and the usable resource is a resource meeting a QoS requirement;
triggering a resource selection re-evaluation at an eighth time after a traffic arrives but no semi-persistently reserved resource is usable in a PDB or a resource selection window, wherein the eighth time is an eighth time length apart from an arrival time of the traffic;
triggering a resource selection re-evaluation at a ninth time after a transmission time of a TB, wherein a number of retransmissions of the TBs exceeds a maximum number of retransmissions and the ninth time is a ninth time length apart from the transmission time;
triggering a resource selection re-evaluation at a tenth time after radio link control (RLC) triggered retransmission information is received, wherein the tenth time is a tenth time length apart from a reception time of the RLC triggered retransmission information;
triggering a resource selection re-evaluation at an eleventh time after a reserved resource is determined based on any one of the following to be no longer usable: a current sidelink (SL) transmission being dropped because of a transmission collision with a Uu interface, a collision between a current SL transmission and an SL transmission of another radio access technology (RAT), and a collision between a current carrier transmission and another carrier transmission, wherein the eleventh time is an eleventh time length apart from a time when the reserved resource is determined to be no longer usable;
triggering based on a measurement feedback of the terminal;
triggering when acknowledgment (ACK) information is received and a resource has been reserved; and
triggering after a default number of pieces of NACK information are successively received.