Sidelink congestion control method and device
Embodiments of this disclosure provide a sidelink congestion control method and a device. The method includes: determining a physical-layer priority mapping rule; and determining a physical-layer priority or physical-layer priority count value of a first terminal according to the physical-layer priority mapping rule; where the physical-layer priority or the physical-layer priority count value is used for determining a transmission resource for the first terminal.
1. A sidelink congestion control method, applied to a first terminal and comprising:
receiving a physical-layer priority mapping rule from a network side device, wherein the physical-layer priority mapping rule comprises at least one of: a mapping relationship between one or more service quality identifiers of the first terminal and physical-layer priorities, and one or more priority values and physical-layer priorities; and
determining a physical-layer priority of the first terminal according to the physical-layer priority mapping rule; wherein
the physical-layer priority is used for determining a transmission resource for the first terminal;
if a measured RSRP value of a resource indicated by a received sidelink control information (SCI) is less than a SL-RSRP threshold, the first terminal does not perform resource reselection;
if the measured RSRP value of the resource indicated by the received SCI is greater than or equal to the SL-RSRP threshold, the first terminal performs resource reselection.
2. The method according to claim 1 , wherein the physical-layer priority mapping rule further comprises: a mapping relationship between one or more of the following higher-layer parameters of the first terminal and the physical-layer priorities:
resource type;
data delay;
packet error rate;
maximum data burst volume; or
averaging window.
3. The method according to claim 1 , wherein the priority of the service quality identifier is higher, the physical-layer priority is higher.
4. The method according to claim 1 , wherein the physical-layer priority of the first terminal is updated according to a first update rule, and the first update rule comprises one or more of the following:
updating the physical-layer priority of the first terminal by the first terminal;
carrying the physical-layer priority of the first terminal in sidelink control information;
updating the physical-layer priority of the first terminal once each time a reserved resource of the first terminal is successfully preempted;
keeping the physical-layer priority of the first terminal unchanged for failed preemption of a reserved resource of the first terminal; and
updating the physical-layer priority of the first terminal per one or more of service, transport block, bandwidth part, carrier, and resource pool.
5. The method according to claim 4 , wherein the updating the physical-layer priority of the first terminal per service or transport block comprises:
if a service or transport block arrives, initializing the physical-layer priority of the first terminal according to the physical-layer priority mapping rule; and
if transmission of a current service or transport block has been completed, resetting the physical-layer priority of the first terminal.
6. A terminal, comprising a processor, a memory, and a program stored in the memory and capable of running on the processor, wherein the terminal is a first terminal, and when the program is executed by the processor, the following steps are implemented:
receiving a physical-layer priority mapping rule from a network side device, wherein the physical-layer priority mapping rule comprises at least one of: a mapping relationship between one or more service quality identifiers of the first terminal and physical-layer priorities, and one or more priority values and physical-layer priorities; and
determining a physical-layer priority of the first terminal according to the physical-layer priority mapping rule; wherein
the physical-layer priority is used for determining a transmission resource for the first terminal;
if a measured RSRP value of a resource indicated by a received sidelink control information (SCI) is less than a SL-RSRP threshold, the first terminal does not perform resource reselection;
if the measured RSRP value of the resource indicated by the received SCI is greater than or equal to the SL-RSRP threshold, the first terminal performs resource reselection.
7. The terminal according to claim 6 , wherein the physical-layer priority mapping rule further comprises: a mapping relationship between one or more of the following higher-layer parameters of the first terminal and the physical-layer priorities:
resource type;
data delay;
packet error rate;
maximum data burst volume; or
averaging window.
8. The terminal according to claim 6 , wherein the priority of the service quality identifier is higher, the physical-layer priority is higher.
9. The terminal according to claim 6 , wherein the physical-layer priority of the first terminal is updated according to a first update rule, and the first update rule comprises one or more of the following:
updating the physical-layer priority of the first terminal by the first terminal;
carrying the physical-layer priority of the first terminal in sidelink control information;
updating the physical-layer priority of the first terminal once each time a reserved resource of the first terminal is successfully preempted;
keeping the physical-layer priority of the first terminal unchanged for failed preemption of a reserved resource of the first terminal; and
updating the physical-layer priority of the first terminal per one or more of service, transport block, bandwidth part, carrier, and resource pool.
10. The terminal according to claim 9 , wherein the updating the physical-layer priority of the first terminal per service or transport block comprises:
if a service or transport block arrives, initializing the physical-layer priority of the first terminal according to the physical-layer priority mapping rule; and
if transmission of a current service or transport block has been completed, resetting the physical-layer priority of the first terminal.
11. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
receiving a physical-layer priority mapping rule from a network side device, wherein the physical-layer priority mapping rule comprises at least one of: a mapping relationship between one or more service quality identifiers of the first terminal and physical-layer priorities, and one or more priority values and physical-layer priorities; and
determining a physical-layer priority of the first terminal according to the physical-layer priority mapping rule; wherein
the physical-layer priority is used for determining a transmission resource for the first terminal;
if a measured RSRP value of a resource indicated by a received sidelink control information (SCI) is less than a SL-RSRP threshold, the first terminal does not perform resource reselection;
if the measured RSRP value of the resource indicated by the received SCI is greater than or equal to the SL-RSRP threshold, the first terminal performs resource reselection.
12. The computer-readable storage medium, according to claim 11 , wherein the physical-layer priority mapping rule further comprises: a mapping relationship between one or more of the following higher-layer parameters of the first terminal and the physical-layer priorities:
resource type;
data delay;
packet error rate;
maximum data burst volume; or
averaging window.
13. The computer-readable storage medium, according to claim 11 , wherein the priority of the service quality identifier is higher, the physical-layer priority is higher.
14. The computer-readable storage medium, according to claim 11 , wherein the physical-layer priority of the first terminal is updated according to a first update rule, and the first update rule comprises one or more of the following:
updating the physical-layer priority of the first terminal by the first terminal;
carrying the physical-layer priority of the first terminal in sidelink control information;
updating the physical-layer priority of the first terminal once each time a reserved resource of the first terminal is successfully preempted;
keeping the physical-layer priority of the first terminal unchanged for failed preemption of a reserved resource of the first terminal; and
updating the physical-layer priority of the first terminal per one or more of service, transport block, bandwidth part, carrier, and resource pool.