Method for determining resource, communication apparatus, and non-transitory computer-readable storage medium
A method for determining a resource, performed by a sending-end device in a sidelink communication, and including: determining that first sidelink control information (SCI) is monitored; determining that a sending resource reserved by the first SCI is a target resource; determining that second SCI is monitored; determining that a sending resource reserved by the second SCI is the target resource; and determining whether the target resource is an available sending resource according to a first signal intensity value and a second signal intensity value; where, the first signal intensity value is obtained by measuring a physical sidelink control channel (PSCCH) when the first SCI is monitored, and the second signal intensity value is obtained by measuring the PSCCH when the second SCI is monitored.
1 . A method for determining a resource, performed by a sending-end device in a sidelink communication, and comprising:
determining that first sidelink control information (SCI) is monitored;
determining that a sending resource reserved by the first SCI is a target resource;
determining that second SCI is monitored;
determining that a sending resource reserved by the second SCI is the target resource; and
determining whether the target resource is an available sending resource according to a first signal intensity value and a second signal intensity value;
wherein, the first signal intensity value is obtained by measuring a physical sidelink control channel (PSCCH) when the first SCI is monitored, and the second signal intensity value is obtained by measuring the PSCCH when the second SCI is monitored.
2 . The method according to claim 1 , wherein determining whether the target resource is the available sending resource according to the first signal intensity value and the second signal intensity value comprises:
determining that a sum of the first signal intensity value and the second signal intensity value is less than a first threshold; and
determining that the target resource is the available sending resource.
3 . The method according to claim 1 , wherein determining whether the target resource is the available sending resource according to the first signal intensity value and the second signal intensity value comprises:
determining that a sum of the first signal intensity value and the second signal intensity value is greater than a first threshold; and
determining that the target resource is an unavailable sending resource.
4 . The method according to claim 1 , further comprising:
determining that the first signal intensity value is less than a second threshold; and
determining that the second signal intensity value is less than the second threshold.
5 . The method according to claim 4 , further comprising:
receiving radio resource control (RRC) signaling sent by a base station; and
determining the first threshold and the second threshold based on a threshold comprised in the RRC signaling.
6 . The method according to claim 5 , wherein, the RRC signaling comprises one threshold, and determining the first threshold and the second threshold based on the threshold comprised in the RRC signaling comprises:
determining that the first threshold is the threshold comprised in the RRC signaling; and
determining that the second threshold is the threshold comprised in the RRC signaling.
7 . The method according to claim 5 , wherein the RRC signaling comprises two thresholds, and determining the first threshold and the second threshold based on the threshold comprised in the RRC signaling comprises:
determining that the first threshold is a threshold corresponding to a sending resource reservation performed by more than one SCI comprised in the RRC signaling; and
determining that the second threshold is a threshold corresponding to a sending resource reservation performed by a single SCI comprised in the RRC signaling.
8 . A non-transitory computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program, when executed, is configured to;
determine that first sidelink control information (SCI) is monitored;
determine that a sending resource reserved by the first SCI is a target resource;
determine that second SCI is monitored;
determine that a sending resource reserved by the second SCI is the target resource; and
determine whether the target resource is an available sending resource according to a first signal intensity value and a second signal intensity value;
wherein, the first signal intensity value is obtained by measuring a physical sidelink control channel (PSCCH) when the first SCI is monitored, and the second signal intensity value is obtained by measuring the PSCCH when the second SCI is monitored.
9 . The non-transitory computer-readable storage medium according to claim 8 , wherein the computer program is further configured to:
determine that a sum of the first signal intensity value and the second signal intensity value is less than a first threshold; and
determine that the target resource is the available sending resource.
10 . The non-transitory computer-readable storage medium according to claim 8 , wherein the computer program is further configured to:
determine that a sum of the first signal intensity value and the second signal intensity value is greater than a first threshold; and
determine that the target resource is an unavailable sending resource.
11 . The non-transitory computer-readable storage medium according to claim 8 , wherein, the computer program is further configured to:
determine that the first signal intensity value is less than a second threshold; and
determine that the second signal intensity value is less than the second threshold.
12 . The non-transitory computer-readable storage medium according to claim 11 , wherein, the computer program is further configured to:
receive radio resource control (RRC) signaling sent by a base station; and
determine the first threshold and the second threshold based on a threshold comprised in the RRC signaling.
13 . The non-transitory computer-readable storage medium according to claim 12 , wherein, the computer program is further configured to:
determine that the first threshold is the threshold comprised in the RRC signaling; and
determine that the second threshold is the threshold comprised in the RRC signaling.
14 . A communication apparatus, comprising:
a processor;
a memory, having stored thereon an instruction executable by the processor;
wherein the processor, when executing the instruction, is configured to:
determine that first sidelink control information (SCI) is monitored;
determine that a sending resource reserved by the first SCI is a target resource;
determine that second SCI is monitored;
determine that a sending resource reserved by the second SCI is the target resource; and
determine whether the target resource is an available sending resource according to a first signal intensity value and a second signal intensity value;
wherein, the first signal intensity value is obtained by measuring a physical sidelink control channel (PSCCH) when the first SCI is monitored, and the second signal intensity value is obtained by measuring the PSCCH when the second SCI is monitored.
15 . The communication apparatus according to claim 14 , wherein the processor is further configured to:
determine that a sum of the first signal intensity value and the second signal intensity value is less than a first threshold; and
determine that the target resource is the available sending resource.
16 . The communication apparatus according to claim 14 , wherein the processor is further configured to:
determine that a sum of the first signal intensity value and the second signal intensity value is greater than a first threshold; and
determine that the target resource is an unavailable sending resource.
17 . The communication apparatus according to claim 14 , wherein, the processor is further configured to:
determine that the first signal intensity value is less than a second threshold; and
determine that the second signal intensity value is less than the second threshold.
18 . The communication apparatus according to claim 17 , wherein, the processor is further configured to:
receive radio resource control (RRC) signaling sent by a base station; and
determine the first threshold and the second threshold based on a threshold comprised in the RRC signaling.
19 . The communication apparatus according to claim 18 , wherein, the processor is further configured to:
determine that the first threshold is the threshold comprised in the RRC signaling; and
determine that the second threshold is the threshold comprised in the RRC signaling.
20 . The communication apparatus according to claim 18 , wherein the processor is further configured to:
determine that the first threshold is a threshold corresponding to a sending resource reservation performed by more than one SCI comprised in the RRC signaling; and
determine that the second threshold is a threshold corresponding to a sending resource reservation performed by a single SCI comprised in the RRC signaling.