Methods for resource processing and devices
A method for resource processing is provided. The method includes the following. A terminal device determines a first transmission resource set in a resource selection window. The first transmission resource set does not include a transmission resource in a slot in which a first transmission resource allocated to the terminal device by a network device is located, and a transmission resource in the first transmission resource set is used by the terminal device for transmission of a sidelink (SL) service. Other methods for resource processing and devices are further provided.
1. A method for resource processing, comprising:
determining, by a terminal device, a first transmission resource set in a resource selection window, wherein
the first transmission resource set does not comprise a transmission resource in a slot in which a first transmission resource allocated to the terminal device by a network device is located, and a transmission resource in the first transmission resource set is used by the terminal device for transmission of a sidelink (SL) service;
wherein determining, by the terminal device, the first transmission resource set in the resource selection window comprises:
determining, by the terminal device, a second transmission resource set in the resource selection window; and
excluding, by the terminal device, from the second transmission resource set, all transmission resources that are in the same slot as the first transmission resource;
wherein the method further comprises:
excluding, by the terminal device, a third transmission resource from the second transmission resource set, on condition that the terminal device selects the third transmission resource from the second transmission resource set and reserves at least one fourth transmission resource, and the at least one fourth transmission resource is in the same slot as a fifth transmission resource allocated to the terminal device by the network device.
2. The method of claim 1 , further comprising:
transmitting, by the terminal device, first information to the network device, wherein the first information is indicative of information of a transmission resource which is selected by the terminal device for transmission of an SL service.
3. The method of claim 2 , further comprising:
transmitting, by the terminal device, second information to the network device, wherein the second information is used for determining one of:
a time domain interval between a transmission resource selected by the terminal device and a transmission resource reserved by the terminal device; or
a service period of an SL service transmitted by the terminal device in a second mode, wherein in the second mode, a transmission resource used by the terminal device is autonomously selected by the terminal device.
4. A terminal device, comprising:
a memory storing computer programs; and
a processor configured to execute the computer programs to determine a first transmission resource set in a resource selection window, wherein
the first transmission resource set does not comprise a transmission resource in a slot in which a first transmission resource allocated to the terminal device by a network device is located, and a transmission resource in the first transmission resource set is used by the terminal device for transmission of a sidelink (SL) service;
wherein the processor is configured to:
determine a second transmission resource set in the resource selection window; and
exclude, from the second transmission resource set, all transmission resources that are in the same slot as the first transmission resource;
wherein the processor is further configured to:
exclude a third transmission resource from the second transmission resource set, on condition that the terminal device selects the third transmission resource from the second transmission resource set and reserves at least one fourth transmission resource, and the at least one fourth transmission resource is in the same slot as a fifth transmission resource allocated to the terminal device by the network device.