Method for resource exclusion, terminal device, and storage medium
View Patent ↗A method for resource exclusion, a terminal device, and a storage medium are disclosed in the present disclosure. The method includes the following. Obtain a first candidate resource set by performing a first resource exclusion operation on a first resource set in a resource selection window, where the first resource set includes available resources in a resource pool used by the terminal device in the resource selection window, the first resource exclusion operation includes performing resource exclusion according to a non-sensing slot in a resource sensing window, and the non-sensing slot represents a slot in which the terminal device performs no sensing. Determine a second resource set on condition that a first percentage is smaller than X %, where the first percentage is a percentage of number of resources in the first candidate resource set and number M total of resources in the first resource set.
1 . A method for resource exclusion, the method being applied to a terminal device and comprising:
obtaining a first candidate resource set by performing a first resource exclusion operation on a first resource set in a resource selection window, the first resource set comprising available resources in a resource pool used by the terminal device in the resource selection window, and the first resource exclusion operation comprising: performing resource exclusion according to a non-sensing slot in a resource sensing window, the non-sensing slot representing a slot in which the terminal device performs no sensing; and
determining a second resource set on condition that a first percentage is smaller than X %, the first percentage being a percentage of number of resources in the first candidate resource set out of number M total of resources in the first resource set;
wherein the method further comprises:
performing a target operation on a resource selected from the second resource set and selected for a to-be-transmitted data packet when the to-be-transmitted data packet does not satisfy a condition; or
skipping performing of the target operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet when the to-be-transmitted data packet satisfies the condition;
wherein the target operation comprises at least a resource sensing operation.
2 . The method of claim 1 , wherein:
determining the second resource set comprises:
obtaining a second candidate resource set by performing a second resource exclusion operation on the first resource set in the resource selection window, wherein the second resource exclusion operation comprises performing resource exclusion according to a physical sidelink control channel (PSCCH) sensed in the resource sensing window;
the method further comprises:
determining a second percentage, the second percentage being a percentage of number of resources in the second resource set out of the number M total ;
skipping updating of the second resource set in response to the second percentage being not smaller than the X %; and
increasing a reference signal receiving power (RSRP) threshold in response to the second percentage being smaller than the X %; and repeating, according to the RSRP threshold increased, at least one of the first resource exclusion operation or the second resource exclusion operation on the first resource set to update the second resource set, until the second percentage is not smaller than the X %.
3 . The method of claim 2 , wherein repeating at least one of the first resource exclusion operation or the second resource exclusion operation on the first resource set comprises:
repeating the second resource exclusion operation on the first resource set; or
repeating the first resource exclusion operation and the second resource exclusion operation on the first resource set, and abandoning a resource exclusion result of the first resource exclusion operation.
4 . The method of claim 1 , wherein a resource pool configuration for the terminal device comprises a correspondence between values in the value set and priorities of data to be transmitted, wherein the resource pool configuration is configured by a network device or pre-configured.
5 . A terminal device comprising:
a processor; and
a memory storing a computer program;
wherein the computer program being executed by the processor to cause the terminal device to:
obtain a first candidate resource set by performing a first resource exclusion operation on a first resource set in a resource selection window, the first resource set comprising available resources in a resource pool used by the terminal device in the resource selection window, and the first resource exclusion operation comprising performing resource exclusion according to a non-sensing slot in a resource sensing window, the non-sensing slot representing a slot in which the terminal device performs no sensing; and
determine a second resource set on condition that a first percentage is smaller than X %, the first percentage being a percentage of number of resources in the first candidate resource set out of number M total of resources in the first resource set;
wherein the computer program is further executed by the processor to cause the terminal device to:
perform a target operation on a resource selected from the second resource set and selected for a to-be-transmitted data packet when the to-be-transmitted data packet does not satisfy a condition; or
skip performing of the target operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet when the to-be-transmitted data packet satisfies the condition;
wherein the target operation comprises at least a resource sensing operation.
6 . The terminal device of claim 5 , wherein causing the terminal device to determine the second resource set further causes the terminal device to obtain a second candidate resource set by performing a second resource exclusion operation on the first resource set in the resource selection window, wherein the second resource exclusion operation comprises performing resource exclusion according to a physical sidelink control channel (PSCCH) sensed in the resource sensing window;
wherein the computer program is further executed by the processor to cause the terminal device to:
determine a second percentage, wherein the second percentage is a percentage of number of resources in the second resource set out of the number M total ;
skip updating of the second resource set in response to the second percentage being not smaller than the X %; and
increase a reference signal receiving power (RSRP) threshold in response to the second percentage being smaller than the X %; and repeat, according to the RSRP threshold increased, at least one of the first resource exclusion operation or the second resource exclusion operation on the first resource set to update the second resource set, until the second percentage is not smaller than the X %.
7 . The terminal device of claim 6 , wherein the computer program executed by the processor to cause the terminal device to repeat at least one of the first resource exclusion operation or the second resource exclusion operation on the first resource set further causes the terminal device to:
repeat the second resource exclusion operation on the first resource set; or
repeat the first resource exclusion operation and the second resource exclusion operation on the first resource set, and abandon a resource exclusion result of the first resource exclusion operation.
8 . The terminal device of claim 5 , wherein the computer program executed by the processor to cause the terminal device to determine the second resource set further causes the terminal device to:
adjust the X to be β;
obtain the second resource set by performing a second resource exclusion operation on the first candidate resource set; and
determine, according to the β obtained by adjustment, whether to repeat the first resource exclusion operation and the second resource exclusion operation on the first resource set to update the second resource set;
wherein the β satisfies a first condition, and the first condition comprises that the β is not larger than the first percentage *100, and the second resource exclusion operation comprises performing resource exclusion according to a PSCCH sensed in the resource sensing window.
9 . The terminal device of claim 8 , wherein the computer program executed by the processor to cause the terminal device to determine whether to repeat the first resource exclusion operation and the second resource exclusion operation on the first resource set further causes the terminal device to:
determine a second percentage, wherein the second percentage is a percentage of number of resources in the second resource set out of the number M total ;
skip updating of the second resource set in response to the second percentage being not smaller than the β%; and
increase an RSRP threshold in response to the second percentage being smaller than the B %; and repeat, according to the RSRP threshold increased, the first resource exclusion operation and the second resource exclusion operation on the first resource set to update the second resource set, until the second percentage is not smaller than the β%.
10 . The terminal device of claim 5 , wherein a resource pool configuration for the terminal device comprises a correspondence between values in the value set and priorities of data to be transmitted, wherein the resource pool configuration is configured by a network device or pre-configured.
11 . A non-transitory computer-readable storage medium, being configured to store a computer program, which when executed by a processor of a terminal device causes the terminal device to:
obtain a first candidate resource set by performing a first resource exclusion operation on a first resource set in a resource selection window, the first resource set comprising available resources in a resource pool used by the terminal device in the resource selection window, and the first resource exclusion operation comprising: performing resource exclusion according to a non-sensing slot in a resource sensing window, the non-sensing slot representing a slot in which the terminal device performs no sensing; and
determine a second resource set on condition that a first percentage is smaller than X %, the first percentage being a percentage of number of resources in the first candidate resource set out of number M total of resources in the first resource set;
wherein the computer program, which when executed by the processor, further causes the terminal device to:
perform a target operation on a resource selected from the second resource set and selected for a to-be-transmitted data packet when the to-be-transmitted data packet does not satisfy a condition; or
skip performing of the target operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet when the to-be-transmitted data packet satisfies the condition;
wherein the target operation comprises at least a resource sensing operation.
12 . The non-transitory computer-readable storage medium of claim 11 ,
wherein the computer program executed by the terminal device to cause the terminal device to determine the second resource set further causes the terminal device to:
obtain a second candidate resource set by performing a second resource exclusion operation on the first resource set in the resource selection window, wherein the second resource exclusion operation comprises performing resource exclusion according to a physical sidelink control channel (PSCCH) sensed in the resource sensing window;
wherein the computer program is further executed by the processor to cause the terminal device to:
determine a second percentage, the second percentage being a percentage of number of resources in the second resource set out of the number M total ;
skip updating of the second resource set in response to the second percentage being not smaller than the X %; and
increase a reference signal receiving power (RSRP) threshold in response to the second percentage being smaller than the X %; and repeat, according to the RSRP threshold increased, at least one of the first resource exclusion operation or the second resource exclusion operation on the first resource set to update the second resource set, until the second percentage is not smaller than the X %.
13 . The non-transitory computer-readable storage medium of claim 12 , wherein the computer program executed by the processor to cause the terminal device to repeat at least one of the first resource exclusion operation or the second resource exclusion operation on the first resource set further causes the terminal device to perform:
repeat the second resource exclusion operation on the first resource set; or
repeat the first resource exclusion operation and the second resource exclusion operation on the first resource set, and abandoning a resource exclusion result of the first resource exclusion operation.
14 . The non-transitory computer-readable storage medium of claim 12 , wherein a resource pool configuration for the terminal device comprises a correspondence between values in the value set and priorities of data to be transmitted, wherein the resource pool configuration is configured by a network device or pre-configured.
15 . The method of claim 1 , wherein determining the second resource set comprises:
obtaining a second candidate resource set by performing a second resource exclusion operation on the first resource set in the resource selection window;
wherein the second resource exclusion operation comprises performing resource exclusion according to a physical sidelink control channel (PSCCH) sensed in the resource sensing window.
16 . The method of claim 1 , wherein skipping performing of the target operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet when the to-be-transmitted data packet satisfies the condition comprises:
skipping performing of the resource sensing operation on whether the resource selected from the second resource set and selected for the to-be-transmitted data packet is preempted by other terminal devices, on condition that a priority of the to-be-transmitted data packet is a highest priority or higher than a priority threshold.
17 . The method of claim 1 , wherein the target operation further comprises a resource preemption determining operation and a resource exclusion operation, and skipping performing of the target operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet when the to-be-transmitted data packet satisfies the condition comprises:
skipping performing of a resource preemption determining operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet and skipping triggering of a resource exclusion operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet, on condition that a priority of the to-be-transmitted data packet is a highest priority or higher than a priority threshold, wherein the resource preemption determining operation is an operation of determining whether the resource selected from the second resource set and selected for the to-be-transmitted data packet is preempted by other terminal devices.
18 . The method of claim 1 , wherein skipping performing of the target operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet when the to-be-transmitted data packet satisfies the condition comprises:
skipping consecutive performing of a resource sensing operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet after time slot r, on condition that a priority of the to-be-transmitted data packet is a highest priority or higher than a priority threshold, wherein the time slot r is a slot in which the terminal device completes resource indication by transmitting first sidelink control information.
19 . The method of claim 1 , wherein the target operation further comprises a resource preemption determining operation and a resource exclusion operation, and skipping performing of the target operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet when the to-be-transmitted data packet satisfies the condition comprises:
skipping, after time slot r, performing of a resource preemption determining operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet and skipping triggering of a resource exclusion operation on the resource selected from the second resource set and selected for the to-be-transmitted data packet, on condition that a priority of the to-be-transmitted data packet is a highest priority or higher than a priority threshold, wherein the resource preemption determining operation is an operation of determining whether the resource selected from the second resource set and selected for the to-be-transmitted data packet is preempted by other terminal devices, and the time slot r is a slot in which the terminal device completes resource indication by transmitting first sidelink control information.
20 . The method of claim 1 , wherein on condition that a trigger cause of the first resource exclusion operation is that the terminal device determines whether a selected resource is preempted by other terminal devices, a value of a parameter j used by the terminal device to determine a to-be-used resource R (x, y+j*Ptxlg) is 0, wherein R (x, y) represents any resource in the first resource set, j=0, 1, 2, 3 . . . , C−1, C is determined by a random counter value generated by the terminal device, Ptxlg represents a number of logical time slots converted from Ptx, and Ptx represents a resource reservation period determined by the terminal device, wherein the resource reservation period is one of values in a resource reservation period set in resource pool configuration used by the terminal device.