WO2022222764A1 - Resource determination method and communication apparatus - Google Patents

Resource determination method and communication apparatus Download PDF

Info

Publication number
WO2022222764A1
WO2022222764A1 PCT/CN2022/085619 CN2022085619W WO2022222764A1 WO 2022222764 A1 WO2022222764 A1 WO 2022222764A1 CN 2022085619 W CN2022085619 W CN 2022085619W WO 2022222764 A1 WO2022222764 A1 WO 2022222764A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
terminal device
selection window
resources
time
Prior art date
Application number
PCT/CN2022/085619
Other languages
French (fr)
Chinese (zh)
Inventor
刘云
徐海博
薛丽霞
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022222764A1 publication Critical patent/WO2022222764A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a resource determination method and a communication device.
  • the second terminal device receives auxiliary information from the first terminal device.
  • the auxiliary information indicates a resource recommended to be used (or not recommended to be used) by the first terminal device.
  • the resources indicated by the auxiliary information are determined based on the interference degree and resource occupation status on the side of the first terminal device, so as to assist the second terminal device to select resources through a perception mechanism.
  • auxiliary information may be located outside the resource selection window of the second terminal device, resulting in insufficient utilization of the auxiliary information, and thus the resources selected by the second terminal device cannot fully take into account the conditions of the first terminal device , which affects the reliability of data transmission.
  • the embodiments of the present application provide a resource determination method and a communication device, which can ensure the reliability of data transmission.
  • an embodiment of the present application provides a method for determining a resource, where the execution body of the method may be a second terminal device, or may be a chip applied in the second terminal device.
  • the following description will be given by taking the execution subject being the second terminal device as an example.
  • the method includes: the second terminal device sends first information to the first terminal device, wherein the first information indicates a second time-domain resource set, and the second time-domain resource set includes at least two time-domain resource units, two time-domain resource units At least one time domain resource unit between resource units does not belong to the second time domain resource set.
  • the second terminal device receives second information from the first terminal device, where the second information indicates at least one first resource, and the time domain resource unit where each first resource in the at least one first resource is located belongs to the second time domain Collection of domain resources. Afterwards, the second terminal device determines a target resource according to the at least one first resource, where the target resource is used for transmitting service data.
  • the second terminal device sends the first information to the first terminal device, so that the first terminal device is more targeted when determining the first resource, that is, the time when each first resource in the at least one first resource is located.
  • the domain resource unit belongs to the second time domain resource set. Since the second time-domain resource set is a set of time-domain resource units known to the second terminal device, the second terminal device determines, on the known time-domain resource units, the target resource according to at least one first resource, that is, The second terminal equipment makes full use of the second information when performing resource selection, so as to take into account the interference status of the first terminal equipment, thereby ensuring the reliability of data transmission.
  • the second time-domain resource set is determined based on a second resource selection window, and the second resource selection window is used for the second terminal device to select resources. That is, the time domain resource elements in the second time domain resource set are within the second resource selection window.
  • the first information indicates the location of the starting time-domain resource unit and the interval from the starting time-domain resource unit . That is, the first information indicates the specific position of each time domain resource unit in the second time domain resource set.
  • the first information includes at least one of the following: indication information, the first a business information.
  • the indication information indicates that the second terminal device is a partial sensing terminal, and the first service is a service corresponding to the service data.
  • the first The resources include resources recommended for use by the first terminal device. That is to say, with respect to the resources other than the at least one first resource in the first resource selection window, the interference degree of the at least one first resource is relatively low.
  • the first resource includes a resource recommended not to be used by the first terminal device. That is to say, with respect to the resources other than the at least one first resource in the first resource selection window, the interference degree of the at least one first resource is relatively high.
  • the first The resources include resources that the first terminal device tends to use.
  • the first resource includes resources that the first terminal device tends not to use.
  • an embodiment of the present application provides a method for determining a resource, where the execution body of the method may be a first terminal device, or may be a chip applied in the first terminal device.
  • the following description will be given by taking the execution subject as the first terminal device as an example.
  • the method includes: a first terminal device receiving first information from a second terminal device, wherein the first information indicates a second time domain resource set, and the second time domain resource set includes at least two time domain resource units, two time domain resource units. At least one time domain resource unit between the domain resource units does not belong to the second time domain resource set.
  • the first terminal device determines at least one first resource within the second set of time domain resources.
  • the first terminal device sends second information to the second terminal device, wherein the second information indicates at least one first resource.
  • the first terminal device determining at least one first resource in the second time domain resource set includes: the first terminal device determining a candidate resource in the second time domain resource set, wherein the candidate resource The time domain resource unit where it is located belongs to the first time domain resource set, the first time domain resource set is determined based on the first resource selection window, and the first resource selection window is used for the first terminal device to select resources. Then, the first terminal device determines a second resource among the candidate resources, wherein the second resource belongs to at least one first resource.
  • the first terminal device processes the resources on the intersection to obtain the second resource.
  • the first terminal device then feeds back the information of the second resource to the second terminal device, which avoids the problem that the first terminal device and the second terminal device are not aligned on the resource selection window.
  • the first terminal device determines at least one first resource in the second time domain resource set, including: the first terminal device determines a candidate resource in the second time domain resource set, wherein the candidate resource The time domain resource unit where it is located does not belong to the first time domain resource set, the first time domain resource set is determined based on the first resource selection window, and the first resource selection window is used for the first terminal device to select resources. Then, the first terminal device determines a third resource among the candidate resources, wherein the third resource belongs to at least one first resource.
  • the first terminal device determines the third resource from the resources within the second resource selection window but outside the first resource selection window, so that the third resource is within the second resource selection window, so that the third resource can be Assist the second terminal device in resource selection.
  • the first terminal device determines candidate resources in the second time domain resource set, including: when the resource amount of the second resource is less than a threshold Next, the first terminal device determines candidate resources in the second time domain resource set.
  • the second resource belongs to at least one first resource, and the time domain resource unit where the second resource is located belongs to the first time domain resource set.
  • the second resource is within both the first resource selection window and the second resource selection window, the second resource is the most preferred resource.
  • the first terminal device determines the third resource, which is beneficial to ensure the reliability of data transmission.
  • the first terminal device determines the third resource among the candidate resources, including: the first The terminal device performs resource detection to obtain the perception result of the candidate resource. Then, the first terminal device determines the third resource according to the sensing result.
  • the first terminal device determines the third resource by adding a perceptual time domain resource unit, thereby ensuring the reliability of data transmission to a certain extent.
  • the first terminal device determines a third resource among the candidate resources, including: the first terminal The device determines the third resource according to the candidate resource and the preset ratio. That is to say, the first terminal device extracts a certain proportion of resources from the candidate resources as the third resources.
  • the preset ratio is determined based on the resource amount of the second resource.
  • the second resource belongs to at least one first resource
  • the time domain resource unit where the second resource is located belongs to the first time domain resource set, so as to ensure that the resource amount of the target resource meets the requirements.
  • the second time domain resource set is based on the second resource selection window It is determined that the second resource selection window is used for the second terminal device to perform resource selection.
  • the first information indicates the location of the starting time domain resource unit, and the interval from the starting time domain resource unit.
  • the first information includes at least one of the following: indication information, the first a business information.
  • the indication information indicates that the second terminal device is a partial sensing terminal, and the first service is a service corresponding to the service data.
  • the first resources include resources recommended for use by the first terminal device.
  • the first resource includes a resource recommended not to be used by the first terminal device.
  • an embodiment of the present application provides a method for determining a resource, where the execution body of the method may be a second terminal device, or may be a chip applied in the second terminal device.
  • the following description will be given by taking the execution subject being the second terminal device as an example.
  • the method includes: the second terminal device receives second information from the first terminal device, wherein the second information indicates at least one first resource and a first time domain resource set, where each first resource in the at least one first resource is located The time domain resource unit belongs to the first time domain resource set. Then, the second terminal device determines a target resource according to the at least one first resource and the first set of time domain resources, where the target resource is used for transmitting service data.
  • the second terminal device receives the second information from the first terminal device for reference by the second terminal device when determining the target resource.
  • the second information also indicates a first set of time domain resources. Therefore, the first time-domain resource set is also a set of time-domain resource units known to the second terminal device, and the second terminal device determines, on the known time-domain resource units, the target resource according to at least one first resource, that is, the first resource.
  • the second terminal equipment makes full use of the second information when selecting resources, so as to take into account the interference status of the first terminal equipment, so as to ensure the reliability of data transmission.
  • the first time-domain resource set is determined based on a first resource selection window, and the first resource selection window is used for the first terminal device to select resources. That is, the time domain resource units in the first time domain resource set are within the first resource selection window.
  • the second information indicates the location of the starting time-domain resource unit, and the relationship with the starting time-domain resource unit. interval. That is to say, the second information also indicates the specific location of the time domain resource unit in the first time domain resource set.
  • the first resource selection window is used for the first terminal device to select resources.
  • the second The information includes indication information, wherein the indication information indicates that the first terminal device is a partially aware terminal.
  • the target resource includes the second resource.
  • the second resource is determined based on at least one first resource and belongs to a second time-frequency resource set
  • the second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window.
  • the second resource is not only recommended for use by the first terminal device, but also a resource recommended for use by the second terminal device. misalignment problem.
  • the target resource includes at least one of the following:
  • the first item is the third resource, where the third resource is determined based on at least one first resource and does not belong to the second time-frequency resource set, and the second time-frequency resource set is the resource selected by the second terminal device based on the second resource selection window A collection of resources determined by the perception result.
  • the second item is the fourth resource, where the fourth resource belongs to the second time-frequency resource set, and the time-domain resource unit where the fourth resource is located does not belong to the first time-domain resource set.
  • the third resource is a resource recommended by the first terminal device but not recommended by the second terminal device, which ensures the reliability of data transmission to a certain extent.
  • the fourth resource is a resource recommended by the second terminal device, but the first terminal device does not indicate whether to use the recommended resource, which ensures the reliability of data transmission to a certain extent.
  • the third resource is a resource filtered according to the first preset ratio.
  • the fourth resource is a resource filtered according to the second preset ratio.
  • the target resource also includes the second resource, and the resource amount of the second resource is lower than the first threshold.
  • the second resource is determined based on at least one first resource and belongs to the second time-frequency resource set.
  • the second resource is both recommended for use by the first terminal device and a resource recommended for use by the second terminal device, the second resource is the most preferred resource.
  • the second terminal device determines at least one of the third resource and the fourth resource, which is beneficial to ensure the reliability of data transmission.
  • the target resource includes the fifth resource in the second resource selection window .
  • the second resource selection window is used for resource selection by the second terminal device, and the fifth resource is a resource determined based on at least one first resource and satisfying a preset condition.
  • the fifth resource is not only recommended for use by the first terminal device, but also a resource recommended for use by the second terminal device. misalignment problem.
  • the target resource includes at least one of the following:
  • the first item is the sixth resource in the second resource selection window.
  • the second resource selection window is used for resource selection by the second terminal device, the time domain resource unit where the sixth resource is located does not belong to the first time domain resource set, and the sixth resource satisfies a preset condition.
  • the second item, the second resource selects the seventh resource outside the window.
  • the seventh resource is determined based on at least one first resource.
  • the target resource includes the sixth resource
  • the sixth resource is a resource recommended by the second terminal device, but the first terminal device does not indicate whether it is recommended to be used, which ensures the reliability of data transmission to a certain extent.
  • the seventh resource is a resource recommended by the first terminal device, but the second terminal device does not indicate whether it is recommended to be used, which ensures the reliability of data transmission to a certain extent.
  • the resource amount of the seventh resource is determined based on at least one of the following:
  • the first item the preconfigured scale value.
  • the second item is the resource amount difference between the fifth resource and the target resource, where the fifth resource is located in the second resource selection window.
  • the fifth resource is a resource determined based on at least one first resource and satisfying a preset condition.
  • the seventh resource may be a resource filtered according to a preset ratio value, so as to simplify the operation process of the second terminal device.
  • the seventh resource may also be a resource determined in combination with the resource amount difference, so as to ensure that the resource amount of the target resource meets the requirements.
  • the target resource further includes the fifth resource in the second resource selection window , and the resource amount of the fifth resource is lower than the second threshold.
  • the fifth resource is a resource determined based on at least one first resource and satisfying a preset condition.
  • the fifth resource is both recommended for use by the first terminal device and a resource recommended for use by the second terminal device, the fifth resource is the optimal resource.
  • the second terminal device Only determining at least one of the sixth resource and the seventh resource is beneficial to ensure the reliability of data transmission.
  • the target resource It also includes the fifth resource and the sixth resource in the second resource selection window, and the sum of the resource amounts of the fifth resource and the sixth resource is lower than the third threshold.
  • the fifth resource is a resource determined based on at least one first resource and satisfying a preset condition.
  • both the fifth resource and the sixth resource are resources that the first terminal device does not explicitly indicate to recommend not to use, and the seventh resource is a resource that the first terminal device indicates to recommend not to use, therefore, compared with the seventh resource, The interference degree of the fifth resource and the sixth resource is lower, which is beneficial to ensure the reliability of data transmission.
  • the second terminal device determines the seventh resource only when the sum of the resource amounts of the fifth resource and the sixth resource is insufficient, which is beneficial to ensure the reliability of data transmission.
  • the first resource includes the recommended use of the first terminal device. resource.
  • the first resource includes a resource recommended not to be used by the first terminal device.
  • an embodiment of the present application provides a method for determining a resource, where the execution body of the method may be the first terminal device, or may be a chip applied in the first terminal device.
  • the following description will be given by taking the execution subject as the first terminal device as an example.
  • the method includes: the first terminal device determines at least one first resource in the first time domain resource set, wherein a time domain resource unit where each first resource in the at least one first resource is located belongs to the first time domain resource set. Then, the first terminal device sends second information to the second terminal device, where the second information indicates at least one first resource and a first set of time domain resources.
  • the first time-domain resource set is determined based on a first resource selection window, and the first resource selection window is used for the first terminal device to select resources.
  • the second information indicates the location of the starting time-domain resource unit and the interval from the starting time-domain resource unit .
  • the second information includes at least one of the following: a first resource selection window , the window length of the first resource selection window, or the number of time-domain resource units in the first resource selection window.
  • the first resource selection window is used for the first terminal device to select resources.
  • the second information Including indication information, wherein the indication information indicates that the first terminal device is a partially aware terminal.
  • the first resource includes a resource recommended for use by the first terminal device.
  • the first resource includes a resource recommended not to be used by the first terminal device.
  • an embodiment of the present application provides a method for determining a resource, where the execution body of the method may be a second terminal device, or may be a chip applied in the second terminal device.
  • the following description will be given by taking the execution subject being the second terminal device as an example.
  • the method includes: the second terminal device receives second information from the first terminal device, wherein the second information indicates at least one first resource, the at least one first resource is located outside the second resource selection window, and the second resource selection window is used for The second terminal device performs resource selection. Then, the second terminal device determines a target resource according to the at least one first resource, where the target resource is located outside the second resource selection window and is used for transmitting service data.
  • the second terminal device after the second terminal device receives the second information from the first terminal device, even if the second information indicates the first resource located outside the second resource selection window, the second terminal device can also indicate in combination with the second information
  • the target resource is determined by the first resource, and the target resource outside the second resource selection window is used to transmit service data. Since the second terminal equipment makes full use of the second information when selecting resources, the interference status of the first terminal equipment is taken into account, thereby ensuring the reliability of data transmission.
  • the second terminal device determining the target resource according to the at least one first resource includes: the second terminal device determining the target resource in the at least one first resource according to the ratio value. That is to say, the second terminal device extracts a certain amount of resources from the first resources as target resources.
  • the second terminal device determines the target resource according to the at least one first resource, including: the second terminal device performs resource detection to obtain a perception result of the at least one first resource. Then, the second terminal device determines the target resource according to the sensing result.
  • the second terminal device selects a certain number of resources from the first resources as target resources by increasing the sensing time domain resource unit.
  • the second terminal device determines the target resource according to at least one first resource, including: In the case of the preset condition, the second terminal device determines the target resource according to the at least one first resource.
  • the first preset condition includes at least one of the following:
  • the first item is that the resource amount of the second resource is less than the first preset value, where the second resource is a resource determined based on at least one first resource within the second resource selection window.
  • the resource amount of the third resource is less than the second preset value, where the third resource is a resource that satisfies the second preset condition among the second resources.
  • the third item, the resource amount of the fourth resource is less than the third preset value, wherein the fourth resource belongs to the second resource and belongs to the second time-frequency resource set, and the second time-frequency resource set is the second terminal device based on the second The resource set determined by the resource sensing result of the resource selection window.
  • the second terminal device preferentially determines the resource amount of the second resource.
  • the amount of resources of the second resource is insufficient, the second terminal device is outside the second resource selection window, and the resources recommended by the first terminal device (ie, the first resource) are screened for resources, so as to obtain the target resource for use
  • the amount of resources for transmitting service data meets the requirements.
  • the second terminal device When the first preset condition includes the second item, since the second resource is a resource recommended by the first terminal device within the second resource selection window, the second terminal device preferentially determines the resource amount of the second resource. In the case where the resources satisfying the second preset condition in the second resources are insufficient, the second terminal device is outside the second resource selection window, and the resources recommended by the first terminal device (ie, the first resources) are screened for resources, thereby The target resource is obtained, so that the amount of resources used for transmitting service data can meet the requirements.
  • the second terminal The device preferentially determines the fourth resource, and only when the amount of resources of the fourth resource is insufficient, the second terminal device is outside the second resource selection window, and the first terminal device recommends to use resources (ie, the first resource) to filter resources, Thereby, target resources are obtained, so that the amount of resources used for transmitting service data can meet the requirements.
  • the resource determination method in this embodiment of the present application further includes: a second terminal The device determines the fourth resource in the second resource selection window.
  • the fourth resource is used to transmit service data to the first terminal device, and satisfies the following two items:
  • the first item, the fourth resource is determined based on the at least one first resource.
  • the time domain resource unit where the fourth resource is located belongs to the second time-frequency resource set, where the second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window.
  • the second terminal device can also determine the fourth resource within the second resource selection window.
  • the fourth resource is a resource supported by both the first terminal device and the second terminal device, which is beneficial to ensure the reliability of data transmission.
  • the resource determination method in this embodiment of the present application further includes: a second terminal The device determines a fifth resource in the second resource selection window, where the fifth resource is used to transmit service data to the first terminal device, and the fifth resource satisfies the following two items:
  • the first item, the fifth resource does not belong to at least one first resource.
  • the time domain resource unit where the fifth resource is located belongs to the second time-frequency resource set, where the second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window.
  • the second terminal device can also determine the fifth resource in the second resource selection window. Since the fifth resource is not indicated by the first terminal device to be recommended for use, but recommended by the second terminal device, to a certain extent The reliability of data transmission is guaranteed.
  • the second terminal device determines the fifth resource within the second resource selection window, including: when the resource amount of the fourth resource is lower than the threshold In the case of , the second terminal device determines the fifth resource within the second resource selection window.
  • the fourth resource is used to transmit service data to the first terminal device and satisfies the following two items:
  • the first item, the fourth resource is determined based on the at least one first resource.
  • the time domain resource unit where the fourth resource is located belongs to the second time-frequency resource set.
  • the fourth resource belongs to the resource on the intersection of the first resource selection window and the second resource selection window, it is a preferred resource.
  • the second terminal device determines the fifth resource so that the resource amount of the resource for transmitting service data meets the requirement.
  • the first resource includes a resource recommended for use by the first terminal device.
  • the second terminal device determines the target resource according to the at least one first resource, including: the second terminal device determines the target resource among the candidate resources according to the proportional value, wherein the candidate The resources include resources other than the at least one first resource outside the second resource selection window.
  • the second terminal device determines the target resource from resources other than the first resource outside the second resource selection window, and This ensures the reliability of data transmission to a certain extent.
  • the second terminal device determines the target resource according to at least one first resource, including: the second terminal device performs resource detection to obtain a perception result of the candidate resource, wherein the candidate resource
  • the resources include resources other than the at least one first resource outside the second resource selection window. Then, the second terminal device determines the target resource according to the sensing result.
  • the second terminal device selects a certain number of resources from resources outside the second resource selection window and other than the above-mentioned first resource by adding a perceptual time domain resource unit as the target resource.
  • the second terminal device determines the target resource according to at least one first resource, including: In the case of setting the conditions, the second terminal device determines the target resource according to the at least one first resource.
  • the third preset condition includes at least one of the following:
  • the first item is that the resource amount of the second resource is less than the first preset value, wherein the second resource does not belong to at least one first resource, but belongs to the second time-frequency resource set, and the second time-frequency resource set is the second terminal equipment.
  • the resource set determined based on the resource perception result of the second resource selection window.
  • the resource amount of the second time-frequency resource set is smaller than the second preset value.
  • the second terminal device preferentially determines the resource amount of the second resource.
  • the second terminal device selects the resources outside the window from the second resource, and the resources other than the above-mentioned first resource are selected. In order to ensure the reliability of data transmission to a certain extent, the target resource is determined.
  • the second terminal device since the resources in the second time-frequency resource set belong to the resources recommended by the second terminal device, the second terminal device preferentially determines the resources in the second time-frequency resource set resource, in the case of insufficient resources in the second time-frequency resource set, the second terminal device determines the target resource from the resources outside the second resource selection window and in addition to the above-mentioned first resource, so that to a certain extent to ensure the reliability of data transmission.
  • the resource determination method in this embodiment of the present application further includes: a second The terminal device determines the second resource.
  • the second resource is used to transmit service data to the first terminal device, the second resource does not belong to at least one first resource, but belongs to a second time-frequency resource set, and the second time-frequency resource set is the second terminal device based on the second The resource set determined by the resource sensing result of the resource selection window.
  • the second terminal device can also determine the second resource within the second resource selection window.
  • the second resource does not belong to the above-mentioned first resource, that is, the first terminal device does not indicate a resource recommended not to be used, and the second resource belongs to the resource recommended to be used by the second terminal device, which can ensure the reliability of data transmission.
  • the first resource includes that the first terminal device recommends not to use Resources.
  • an embodiment of the present application provides a communication device.
  • the communication device may be the second terminal device in the first aspect or any possible design of the first aspect, or the communication device may be the third terminal device described above.
  • the second terminal device in any possible design of the aspect or the third aspect, or the communication device may be the second terminal device in the fifth aspect or any possible design of the fifth aspect;
  • the communication device includes a module, unit, or means (means) corresponding to the above-mentioned method, and the module, unit, or means can be implemented through hardware.
  • the hardware or software includes one or more modules or units corresponding to the above functions.
  • an embodiment of the present application provides a communication device.
  • the communication device may be the first terminal device in the second aspect or any possible design of the second aspect, or the communication device may be the fourth terminal described above.
  • the first terminal device in any possible design of the aspect or the fourth aspect; or a device arranged in the above-mentioned first terminal device, or a chip implementing the function of the above-mentioned first terminal device; the communication device includes implementing the above-mentioned method
  • Corresponding modules, units, or means, the modules, units, or means may be implemented by hardware, software, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules or units corresponding to the above functions.
  • an embodiment of the present application provides a communication device, including: a processor and a memory; the memory is used to store a computer instruction, and when the processor executes the instruction, the communication device is made to perform any one of the above-mentioned aspects or any
  • the method performed by the second terminal device in any possible design.
  • the communication apparatus may be the second terminal device in the first aspect or any possible design of the first aspect, or a chip that implements the functions of the second terminal device.
  • the communication device may be the second terminal device in the third aspect or any possible design of the third aspect, or a chip that implements the functions of the second terminal device.
  • the communication device may be the second terminal device in the fifth aspect or any possible design of the fifth aspect, or a chip that implements the functions of the second terminal device.
  • the communication device may be the first terminal device in the second aspect or any possible design of the second aspect, or a chip that implements the function of the first terminal device.
  • the communication device may be the first terminal device in the fourth aspect or any possible design of the fourth aspect, or a chip that implements the function of the first terminal device.
  • an embodiment of the present application provides a communication device, including: a processor; the processor is coupled to a memory, and is configured to read and execute instructions in the memory, so that the communication device performs any of the above-mentioned aspects Or a method executed by the second terminal device in any possible design of any aspect.
  • the communication apparatus may be the second terminal device in the first aspect or any possible design of the first aspect, or a chip that implements the functions of the second terminal device.
  • the communication device may be the second terminal device in the third aspect or any possible design of the third aspect, or a chip that implements the functions of the second terminal device.
  • the communication device may be the second terminal device in the fifth aspect or any possible design of the fifth aspect, or a chip that implements the functions of the second terminal device.
  • the communication device may be the first terminal device in the second aspect or any possible design of the second aspect, or a chip that implements the function of the first terminal device.
  • the communication device may be the first terminal device in the fourth aspect or any possible design of the fourth aspect, or a chip that implements the function of the first terminal device.
  • an embodiment of the present application provides a chip, including a logic circuit and an input and output interface.
  • the input and output interfaces are used for communication with modules other than the chip.
  • the chip may be a chip that implements the function of the second terminal device in the first aspect or any possible design of the first aspect.
  • the input and output interface is used for inputting the second information and for outputting the first information.
  • a logic circuit is used to run a computer program or instructions to implement the method in the above first aspect or any possible design of the first aspect.
  • the chip may be a chip that implements the function of the second terminal device in the third aspect or any possible design of the third aspect.
  • the input and output interface is used for inputting the second information.
  • a logic circuit is used to run a computer program or instructions to implement the method in the above third aspect or any possible design of the third aspect.
  • the chip may be a chip that implements the function of the second terminal device in the fifth aspect or any possible design of the fifth aspect.
  • the input and output interface is used for inputting the second information.
  • the logic circuit is used to run the computer program or instructions to implement the method in the above fifth aspect or any possible design of the fifth aspect.
  • the chip may be a chip that implements the function of the first terminal device in the second aspect or any possible design of the second aspect.
  • the input and output interface is used for inputting the first information and for outputting the second information.
  • a logic circuit is used to run a computer program or instructions to implement the method in the above second aspect or any possible design of the second aspect.
  • the chip may be a chip that implements the function of the first terminal device in the fourth aspect or any possible design of the fourth aspect.
  • the input and output interface is used for outputting the second information.
  • the logic circuit is used to run the computer program or instructions to implement the method in the above fourth aspect or any possible design of the fourth aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on a computer, the computer can execute any one of the preceding aspects. method.
  • embodiments of the present application provide a computer program product including instructions, which, when run on a computer, enables the computer to execute the method in any one of the foregoing aspects.
  • embodiments of the present application provide a circuit system, where the circuit system includes a processing circuit configured to perform the method according to any one of the foregoing aspects.
  • an embodiment of the present application provides a communication system, where the communication system includes the first terminal device and the second terminal device in any one of the foregoing aspects.
  • FIG. 1 is a schematic diagram of resource distribution of a full perception mechanism provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of resource distribution of a partial sensing mechanism provided by an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a resource determination method provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of the architecture of still another communication system provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a resource determination method provided by an embodiment of the present application.
  • FIG. 7a is a schematic flowchart of still another resource determination method provided by an embodiment of the present application.
  • FIG. 7b is a schematic flowchart of another resource determination method provided by an embodiment of the present application.
  • FIG. 8a is a schematic flowchart of another resource determination method provided by an embodiment of the present application.
  • FIG. 8b is a schematic diagram of resource distribution provided by an embodiment of the present application.
  • FIG. 9a is a schematic flowchart of another resource determination method provided by an embodiment of the present application.
  • FIG. 9b is still another schematic diagram of resource distribution provided by an embodiment of the present application.
  • FIG. 9c is a schematic flowchart of another resource determination method provided by an embodiment of the present application.
  • FIG. 9d is another schematic diagram of resource distribution provided by an embodiment of the present application.
  • FIG. 10 is a schematic flowchart of another resource determination method provided by an embodiment of the present application.
  • FIG. 11a is another schematic diagram of resource distribution provided by an embodiment of the present application.
  • FIG. 11b is a schematic flowchart of another resource determination method provided by an embodiment of the present application.
  • FIG. 11c is a schematic flowchart of another resource determination method provided by an embodiment of the present application.
  • FIG. 11d is another schematic diagram of resource distribution provided by an embodiment of the present application.
  • FIG. 12a is another schematic diagram of resource distribution provided by an embodiment of the present application.
  • FIG. 12b is a schematic flowchart of another resource determination method provided by an embodiment of the present application.
  • FIG. 12c is a schematic flowchart of another resource determination method provided by an embodiment of the present application.
  • FIG. 12d is another schematic diagram of resource distribution provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of still another communication apparatus provided by an embodiment of the present application.
  • references to the terms “comprising” and “having” in the description of this application, and any variations thereof, are intended to cover non-exclusive inclusion.
  • a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes other unlisted steps or units, or optionally also Include other steps or units inherent to these processes, methods, products or devices.
  • "a plurality of" includes two or more.
  • words such as “exemplary” or “for example” are used to represent examples, illustrations or illustrations. Any embodiments or designs described in the embodiments of the present application as “exemplary” or “such as” should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as “exemplary” or “such as” is intended to present the related concepts in a specific manner.
  • “transmit” may include “send” or “receive”, and may also include both sending and receiving, depending on the specific situation.
  • Step 1 The second terminal device acquires the service data to be sent.
  • the second terminal device has new service data arriving at or near time n, and needs to send service data to other terminal devices (eg, the first terminal device).
  • Step 2 The second terminal device determines a sensing window (sensing window) and a resource selection window (resource selection window).
  • the perception window is a preset duration before time n, such as 1000 ms.
  • the start time of the perception window can be recorded as: nT 0
  • the end time of the perception window can be recorded as: nT proc,0 .
  • the resources in the perception window include resources for periodic traffic and resources for aperiodic traffic.
  • the interval between periodically transmitted resources is identified as a gap, that is, a transmission period.
  • the transmission period is generally an integer multiple of 100ms, and may also be 20ms or 50ms.
  • the sensing window may also be described as a listening window, which is not limited in this embodiment of the present application.
  • the resource selection window is a preset duration after time n.
  • the start time of the resource selection window can be recorded as: n+T 1
  • the end time of the resource selection window can be recorded as: n+T 2 .
  • the resources in the resource selection window belong to candidate resources.
  • Step 3 The second terminal device selects a transmission resource in the resource selection window according to the perception result of the perception window, and reports to the medium access control (Medium Access Control, MAC) layer.
  • Medium Access Control Medium Access Control
  • the second terminal device senses all resources within the sensing window to obtain sensing results.
  • the second terminal device senses resources within the sensing window (eg, resources for periodic transmission and resources for aperiodic transmission). Then, the second terminal device selects the resources in the resource selection window according to the sensing result. For example, the second terminal device selects resources based on the reference signal received power (RSRP) threshold of the sidelink (SL), so as to filter out X% resources from the resource selection window, and report to the MAC layer .
  • RSRP reference signal received power
  • the reference signal received power threshold may also be replaced with a reference signal received power threshold, which is denoted as SL-Thres-RSRP-List.
  • the reference signal received power threshold is determined based on pi and pj.
  • pi is the priority of the service to be transmitted on the second terminal device
  • pj is the priority of the service to be transmitted on the resource of the perception window. If the RSRP measurement value of a certain resource exceeds the reference signal received power threshold, the second terminal device determines that the resource is unavailable; otherwise, if the RSRP measurement value of a certain resource does not exceed the reference signal received power threshold, Then, the second terminal device determines that the resource is available and belongs to the resource to be selected, so that further processing steps such as random selection can be performed subsequently.
  • the higher the priority of the service to be transmitted on the second terminal device the lower the requirement for interference, that is, the higher the value of the reference signal received power threshold value, so that more resources can be covered.
  • the second terminal device may adopt a partial sensing mechanism.
  • the sensing window and the resource selection window still meet certain periodicity requirements, but the resources (eg, time slots) within the sensing window and the resource selection window are discontinuous.
  • the time slots within the resource selection window are spaced with a period T1. In this way, the number of time slots available to the second terminal device is reduced, and the number of perceived time slots is also reduced, thereby reducing the power consumption of the second terminal device.
  • the second terminal device sends a trigger message to the first terminal device.
  • the first terminal device receives the trigger message from the second terminal device.
  • the trigger message carries information such as priority of the service data to be transmitted, delay requirements and the like.
  • the first terminal device selects resources in the resource selection window according to the information carried in the trigger message, so as to obtain resources recommended by the first terminal device (or not recommended to be used).
  • the first terminal device sends auxiliary information to the second terminal device.
  • the second terminal device receives the auxiliary information from the first terminal device.
  • the auxiliary information indicates a resource recommended to be used (or not recommended to be used) by the first terminal device.
  • the resources indicated by the auxiliary information are determined based on the interference degree and resource occupation status on the side of the first terminal device, so as to assist the second terminal device to select resources through a full sensing mechanism or a partial sensing mechanism.
  • auxiliary information may be located outside the resource selection window of the second terminal device, resulting in insufficient utilization of the auxiliary information, and thus the resources selected by the second terminal device cannot fully take into account the interference of the first terminal device condition, which affects the reliability of data transmission.
  • the misalignment may mean that at least one resource among the resources indicated by the auxiliary information is not in the resource selection window of the second terminal device (or at least one resource among the resources indicated by the auxiliary information is outside the resource selection window of the second terminal device), Or, the resource selection window where the resource indicated by the auxiliary information is located is completely or partially overlapped with the resource selection window of the second terminal device (or the resource selection window where the resource indicated by the auxiliary information is located and the resource selection window of the second terminal device are not completely overlapped. coincide).
  • an embodiment of the present application provides a resource determination method, and the resource determination method of the embodiment of the present application can be applied to a system for communication between terminal devices, such as a V2X communication system and a device to device (device to device, D2D) system.
  • the communication system includes at least two terminal devices 40, and the two terminal devices 40 can communicate directly through a side link.
  • the communication system further includes a network device 50 .
  • the terminal device 40 can also communicate with the network device 50 (only two terminal devices 40 are shown in Figures 4 and 5).
  • the terminal device 40 is mainly used for receiving or sending data.
  • the terminal device 40 involved in the embodiments of the present application may be a device or a component in the device that implements the function of the terminal device 40.
  • the terminal device 40 includes, for example, but not limited to, various handheld devices with wireless communication functions.
  • in-vehicle device, wearable device, computing device, or other processing device connected to a wireless modem may also include subscriber units, cellular phones, smart phones, wireless data cards, personal digital Assistant (personal digital assistant, PDA) computer, tablet computer, handheld device (handheld), laptop computer (laptop computer), machine type communication (machine type communication, MTC) terminal (terminal), user equipment (user equipment, UE), mobile terminal, etc.
  • PDA personal digital assistant
  • MTC machine type communication
  • terminal terminal
  • user equipment user equipment
  • UE mobile terminal
  • the terminal device 40 may be a component in any of the above-mentioned devices (for example, the terminal device 40 may refer to a chip system in any of the above-mentioned devices).
  • the terminal device 40 involved in the embodiments of the present application may also be an on-board module, on-board module, on-board component, on-board chip or on-board unit built into the vehicle as one or more components or units.
  • An on-board module, on-board module, on-board component, on-board chip or on-board unit may implement the method of the present application.
  • the terminal device may also be referred to as a terminal, which is described in a unified manner here, and will not be repeated below.
  • the network device 50 is a device deployed in a radio access network to provide a wireless communication function.
  • the network device 50 may refer to a device on the air interface of the access network that communicates with the wireless terminal device 40 through one or more cells, wherein the device implementing the functions of the network device 50 may be the network device 50 or A device (such as a chip in the network device 50 ) that supports the network device 50 to implement this function.
  • the network device 50 may perform attribute management on the air interface.
  • the base station equipment may also coordinate attribute management of the air interface.
  • the network device 50 includes various forms of macro base stations, micro base stations (also called small cells), relay devices such as relay stations or chips of relay devices, transmission reception points (TRPs), evolved network nodes ( evolved Node B, eNB), next generation network node (generation Node B, gNB), evolved node (ng evolved Node B, ng-eNB) connected to the next generation core network, etc.
  • the network device 50 may be a base band unit (BBU) and a remote radio unit (RRU), and in a cloud radio access network (cloud radio access Netowrk, CRAN)
  • BBU pool baseband pool
  • RRU cloud radio access Netowrk
  • the communication systems shown in FIG. 4 and FIG. 5 can be applied to current long term evolution (LTE) or advanced long term evolution (LTE advanced, LTE-A) systems, and can also be applied to 5G networks currently being developed Or in other networks in the future, of course, it may also be applied to a system of mixed LTE and 5G networking, or other systems, which are not specifically limited in this embodiment of the present application.
  • LTE long term evolution
  • LTE advanced, LTE-A advanced long term evolution
  • 5G networks currently being developed Or in other networks in the future, of course, it may also be applied to a system of mixed LTE and 5G networking, or other systems, which are not specifically limited in this embodiment of the present application.
  • the network device 50 and the terminal device 40 in the above communication system may correspond to different names, and those skilled in the art can understand that the names do not limit the devices themselves.
  • the names of messages between network elements or the names of parameters in the messages in the following embodiments of the present application are just an example, and other names may also be used in specific implementations.
  • the resources indicated by the auxiliary information may include resources recommended to be used by the first terminal device, and may also include resources recommended not to be used by the first terminal device. Among them, recommendation can also be replaced with tending or expecting. That is, the resources indicated by the auxiliary information may include resources that the first terminal device tends to use, or resources that the first terminal device tends not to use. "Recommended” can also be replaced with "Can be used", and "Not recommended” can also be replaced with "Cannot be used”.
  • the resources indicated by the auxiliary information may include resources that can be used by the first terminal device, or resources that cannot be used by the first terminal device.
  • the expression "recommended" is used as an example for introduction.
  • the first resource selection window is used for the first terminal device to select resources
  • the second resource selection window is used for the second terminal device to select resources.
  • Time domain resource units may include one of the following: slots, symbols, and so on.
  • a trigger message is used as an example for introduction.
  • the interval between A and B refers to a difference value determined based on the indices of the time-domain resource units where A and B are located. For example, in the same time slot, the index of the time slot occupied by A is 1, and the index of the time slot occupied by B is 6, then the interval between A and B is 5 time slots. It should be understood that the interval between A and B can also be equally replaced by the number of time-domain resource units located between A and B, but the difference in value is 1. For example, in the same time slot, the index of the time slot occupied by A is 1, and the index of the time slot occupied by B is 6, then the interval between A and B is 4 time slots.
  • a unified description is provided, and details are not repeated below.
  • the embodiment of the present application provides a resource determination method 600, and the resource determination method is applied in the data transmission process of the sidelink.
  • the method includes the following steps:
  • the second terminal device sends first information to the first terminal device.
  • the first terminal device receives the first information from the second terminal device.
  • the first information indicates the second time domain resource set.
  • the second time-domain resource set includes at least two time-domain resource units, and at least one time-domain resource unit between the two time-domain resource units does not belong to the second time-domain resource gather. That is, the time domain resource units in the second time domain resource set are discontinuous in the time domain. For example, taking the time domain resource unit as a time slot as an example, the second time domain resource set includes time slots with indices 1, 3, 5, and 7, or the second time domain resource set includes indices 1, 3, 5, 6 and 7 time slots.
  • the second time domain resource set is determined based on the second resource selection window, that is, the time domain resource units in the second time domain resource set are located within the second resource selection window.
  • the first information indicates the location of the starting time-domain resource unit and the interval from the starting time-domain resource unit.
  • the second time domain resource set may include the initial time domain resource unit, or may not include the initial time domain resource unit.
  • the first information may include a bitmap.
  • One bitmap corresponds to one second resource selection window, one bitmap includes at least one bit, and one bit in the bitmap corresponds to one time slot. If a bit takes a value of "1", the time slot corresponding to this bit belongs to the second time domain resource set. Conversely, if a bit takes a value of "0", the time slot corresponding to this bit does not belong to the second time domain resource set.
  • the value of the bitmap is: 01010101, that is, the value of the bit corresponding to the initial time slot is "0", which does not belong to the second time domain resource set, and the time slot corresponding to the bit valued as "1" in the bitmap
  • the indices are 1, 3, 5 and 7. That is, the second time-domain resource set includes time slots with indices 1, 3, 5, and 7.
  • the value of the bitmap is: 11010111, that is, the value of the corresponding bit of the initial time slot is “1”, which belongs to the second time domain resource set, and the time slot corresponding to the bit valued as “1” in the bitmap
  • the indices are 0, 1, 3, 5, 6 and 7. That is, the second time-domain resource set includes time slots with indices of 0, 1, 3, 5, 6, and 7.
  • the first information further includes at least one of the following:
  • the first item indicating information.
  • the indication information indicates that the second terminal device is a partial sensing terminal, that is, the second terminal device uses a partial sensing mechanism to select resources.
  • the indication information may be a preset number of bits, for example, the indication information is implemented as 1 bit, and when the value of the bit is "1", the indication information indicates that the second terminal device is a partial sensing terminal. In this way, the first terminal device can determine that the time domain resource units in the second time domain resource set are discontinuous in the time domain. On the contrary, when the value of this bit is "0", the indication information indicates that the second terminal device is a fully aware terminal. In this way, the first terminal device can determine that the time domain resource units in the second resource selection window are continuous in the time domain.
  • the second item is the information of the first business.
  • the first service is a service corresponding to the above service data.
  • the information of the first service includes information such as a period of the first service, a start time slot of the first service, and the like.
  • the third item is the starting position of the second resource selection window.
  • the first information indicates the starting time slot position of the second resource selection window through a preset number of bits.
  • the first information indicates N time-domain resource units through a preset number of bits.
  • N refers to the number of time-domain resource units in the interval between the start position of the second resource selection window and the time-domain resource resource for sending the first information.
  • the information indicating the position of the initial time slot of the second resource selection window by the first information is determined according to the interval between the initial position of the second resource selection window and the time domain resource unit for sending the first information.
  • the fourth item is the window length of the second resource selection window.
  • the window length can also be replaced by the window size.
  • the window length of the second resource selection window may be characterized by the number of time-domain resource units in the second resource selection window.
  • the fifth item is the number of time-domain resource units in the second resource selection window. Still taking the time domain resource unit as a time slot as an example, when the value of the bitmap is 01010101, the number of time slots in the second resource selection window is 4. When the value of the bitmap is 11010111, the number of time slots in the second resource selection window is 6.
  • the sixth item is the period of the second resource selection window.
  • the first information may be a trigger message.
  • the trigger message belongs to sidelink control signaling, which can be carried in sidelink control information (SCI)-2, or can be carried in MAC layer signaling.
  • SCI sidelink control information
  • MAC MAC layer signaling.
  • the first information may also be implemented as other messages, such as a configuration message of radio resource control (radio resource control, RRC) signaling, which is not limited in this embodiment of the present application.
  • RRC radio resource control
  • the first terminal device determines at least one first resource in the second time domain resource set.
  • the number of the first resource may be one, or may be multiple.
  • the time domain resource unit where each first resource in the at least one first resource is located belongs to the second time domain resource set.
  • the interference degree of the at least one first resource is relatively low compared to the resources in the first resource selection window other than the at least one first resource.
  • the degree of interference of the at least one first resource relative to the resources other than the at least one first resource in the first resource selection window Relatively high.
  • the first terminal device when it selects resources, it can adopt a full sensing mode or a partial sensing mode.
  • a full sensing mode when it selects resources, it can adopt a full sensing mode or a partial sensing mode.
  • Example 1 The first terminal device uses the full perception mode to select resources.
  • the specific implementation process of S602 is as follows: First, the first terminal device performs resource detection to determine a perception result 1 .
  • the object of resource detection includes at least one of the following: resources in the second time-domain resource set, and resources within a preset duration before the second time-domain resource set. Then, based on the sensing result 1, the first terminal device determines at least one first resource from the second time domain resource set.
  • the process of determining the perception result 1 and the process of determining at least one first resource according to the perception result 1 can be referred to the relevant introduction of the full perception mechanism, which will not be repeated here.
  • Example 2 The first terminal device uses the partial sensing mode to select resources. For details, please refer to the introduction of the following three methods:
  • S602 includes S602a and S602b:
  • S602a The first terminal device determines candidate resource 1 in the second time domain resource set.
  • the number of candidate resources 1 may be one or multiple.
  • the time domain resource unit where the candidate resource 1 is located belongs to the first time domain resource set, and the first time domain resource set is determined based on the first resource selection window.
  • the first terminal device regards the time-domain resource unit as a resource that belongs to both the first time-domain resource set and the second time-domain resource set as candidate resource 1 .
  • candidate resource 1 is within both the first resource selection window and the second resource selection window.
  • the first terminal device determines the second resource in candidate resource 1.
  • the number of the second resource may be one, or may be multiple.
  • the second resource belongs to at least one first resource.
  • the first terminal device determines the second resource according to the candidate resource 1 and the preset ratio 1. For example, the first terminal device selects a certain number of resources from the candidate resource 1 according to the preset ratio 1 as the second resource. . Alternatively, the first terminal device performs resource detection on candidate resource 1 and/or resources before candidate resource 1 to determine perception result 2. The first terminal device determines the second resource according to the sensing result 2 . Wherein, the sensing result 2 indicates the RSRP measurement value of each resource in the candidate resource 1. For the process of determining the sensing result 2, and the process of determining the second resource according to the sensing result 2, reference may be made to the relevant descriptions of some sensing mechanisms, which will not be repeated here.
  • the first terminal device processes the resources on the intersection to obtain the second resource.
  • the first terminal device then feeds back the information of the second resource to the second terminal device, which avoids the problem that the first terminal device and the second terminal device are not aligned on the resource selection window.
  • the first resource selection window and the second resource selection window completely overlap. That is to say, the window size, start time, and end time of the first resource selection window and the second resource selection window are the same.
  • the window sizes of the first resource selection window and the second resource selection window are different, and the first resource selection window is located within the second resource selection window.
  • the first resource selection window and the second resource selection window have different window sizes, and the second resource selection window is located within the first resource selection window.
  • the first resource selection window partially overlaps with the second resource selection window.
  • the window sizes of the first resource selection window and the second resource selection window may be the same or different.
  • the window sizes of the first resource selection window and the second resource selection window may be the same or different.
  • mode 1 is an optional mode.
  • the first terminal device may determine the first resource by adopting method 1, or may not use method 1 to determine the first resource, This embodiment of the present application does not limit this.
  • the first terminal device does not use the method 1 to determine the first resource, and can Mode 2 is used to determine the first resource.
  • S602 includes S602c and S602d:
  • S602c The first terminal device determines candidate resource 2 in the second time domain resource set.
  • the number of candidate resources 2 may be one or multiple. Moreover, the time domain resource unit where the candidate resource 2 is located does not belong to the first time domain resource set.
  • the first terminal device uses the time domain resource unit that does not belong to the first time domain resource set, but belongs to the second time domain resource set, as the candidate resource 2 .
  • candidate resource 2 is outside the first resource selection window, but within the second resource selection window.
  • the first terminal device determines a third resource in candidate resource 2.
  • the quantity of the third resource may be one, or may be multiple.
  • the third resource belongs to at least one first resource.
  • the specific implementation process of S602d includes: the first terminal device performs resource detection to obtain the perception result 3 of the candidate resource 2 .
  • the object of resource detection includes at least one of the following: candidate resource 2, and resources within a period of time before candidate resource 2.
  • the sensing result 3 indicates the RSRP measurement value of each resource in the candidate resource 2.
  • the first terminal device determines the third resource according to the sensing result 3 .
  • the first terminal device uses the resource that meets the preset condition as the third resource.
  • the preset condition may be: the RSRP measurement value of the third resource is less than or equal to the reference signal received power threshold value.
  • the specific implementation process of S602d includes: the first terminal device determines the third resource according to the candidate resource 2 and the preset ratio 2 .
  • the first terminal device selects a certain number of resources from the candidate resources 2 according to the preset ratio 2 to be used as the third resources.
  • the first terminal device determines the first resource (ie, the third resource in S602d) from the resources within the second resource selection window but outside the first resource selection window, so that the first resource is within the second resource selection window so that the first resource can assist the second terminal device in resource selection.
  • the first resource ie, the third resource in S602d
  • Mode 2 is an optional mode.
  • the first resource selection window and the second resource selection window satisfy the above-mentioned first situation (that is, the first resource selection window and the second resource selection window completely overlap),
  • the third case that is, the window sizes of the first resource selection window and the second resource selection window are different, and the second resource selection window is located in the first resource selection window
  • Resources in the resource selection window. Therefore, the first terminal device does not use Mode 2 to determine the first resource.
  • the second situation above is satisfied in the first resource selection window and the second resource selection window (that is, the window sizes of the first resource selection window and the second resource selection window are different, and the first resource selection window is located in the second resource selection window) , in the fourth case (that is, the first resource selection window and the second resource selection window partially overlap) or the fifth case (the first resource selection window and the second resource selection window do not have an intersection), there is a Resources outside the resource selection window, but within the second resource selection window.
  • the first terminal device may determine the first resource by using Mode 2, or may not determine the first resource by using Mode 2, which is not limited in this embodiment of the present application.
  • S602c is specifically implemented as: when the resource amount of the second resource is less than the threshold value 1, the first terminal device determines the candidate resource 2 in the second time domain resource set.
  • the threshold value 1 may be a preconfigured value. That is to say, the first terminal device preferentially executes S602a and S602b, and then executes S602c and S602d, that is, the first terminal device preferentially determines the second resource, and the first terminal device determines the second resource only when the resource amount of the second resource is insufficient.
  • Three resources Since the second resource is both within the first resource selection window and within the second resource selection window, the second resource is the most preferred resource, which is conducive to ensuring data transmission reliability.
  • the value of the preset ratio 2 is related to the resource amount of the second resource, that is, the preset ratio 2 is related to the resource amount of the second resource.
  • the ratio 2 is determined based on the resource amount of the second resource. For example, when the difference between the resource amount of the second resource and the threshold value 1 is larger, the value of the preset ratio 2 is larger to increase the resource amount of the third resource, thereby ensuring that the resource amount of the first resource reaches the threshold value 1 . Conversely, when the difference between the resource amount of the second resource and the threshold value 1 is smaller, the value of the preset ratio 2 is smaller, so as to reduce the resource amount of the third resource, so that the resource amount of the first resource does not exceed the threshold value 1.
  • the first terminal device sends the second information to the second terminal device.
  • the second terminal device receives the second information from the first terminal device.
  • the second information indicates at least one first resource.
  • the second information may be auxiliary information, and for details, reference may be made to the relevant description of FIG. 3 , which will not be repeated here.
  • the auxiliary information belongs to the sideline control signaling, which can be carried in the SCI-2 or in the MAC layer signaling.
  • the second information may also be implemented as other messages, such as feedback information carried by the auxiliary information on a physical layer sidelink feedback channel (PSFCH), which is not limited in this embodiment of the present application.
  • PSFCH physical layer sidelink feedback channel
  • the second terminal device determines the target resource according to the at least one first resource.
  • the target resource is used to transmit service data to other terminal devices (eg, the first terminal device).
  • the service corresponding to the service data is the above-mentioned first service.
  • the second terminal device performs resource selection according to the sensing result of the resources in the second resource selection window and the at least one first resource to determine the target resource.
  • the target resource may include one or more of the above-mentioned at least one first resource.
  • the target resource does not include any one of the above at least one first resource.
  • the second terminal device sends the first information to the first terminal device, so that the first terminal device is more targeted when determining the first resource, that is, at least one first resource
  • the time domain resource unit in which each first resource is located belongs to the second time domain resource set. Since the second time-domain resource set is a set of time-domain resource units known to the second terminal device, the second terminal device determines, on the known time-domain resource units, the target resource according to at least one first resource, that is, The second terminal equipment makes full use of the second information when performing resource selection, so as to take into account the interference status of the first terminal equipment, thereby ensuring the reliability of data transmission.
  • the embodiment of the present application provides a resource determination method 800, and the resource determination method is applied in the data transmission process of the sidelink.
  • the method includes the following steps:
  • the second terminal device sends a trigger message to the first terminal device.
  • the first terminal device receives the trigger message from the second terminal device.
  • S801 is an optional step. For example, after the first terminal device establishes a communication connection with the second terminal device, and the second terminal device sends service data to the first terminal device for the first time, S801 is performed. The second terminal device executes S802 in response to the trigger message. For another example, after the first terminal device sends the message X to the second terminal device, the first terminal device waits for feedback information from the second terminal device, such as a hybrid automatic repeat request (HARQ) message, to learn the message. The reception status of X. That is to say, when the first terminal device has learned that it is to receive information from the second terminal device, the first terminal device executes S802.
  • HARQ hybrid automatic repeat request
  • the trigger message in S801 belongs to sideline control signaling, which may be carried in SCI-2 or in MAC layer signaling.
  • the trigger message may also be replaced with other messages, such as a configuration message of RRC signaling, which is not limited in this embodiment of the present application.
  • the first terminal device determines at least one first resource in the first resource selection window.
  • the number of the first resource may be one, or may be multiple.
  • the interference degree of the at least one first resource is relatively low compared to the resources in the first resource selection window other than the at least one first resource.
  • the degree of interference of the at least one first resource relative to the resources other than the at least one first resource in the first resource selection window Relatively high.
  • the time domain resource unit where each first resource in the at least one first resource is located belongs to the first time domain resource set.
  • the introduction of the first time domain resource set is as follows:
  • the first time domain resource set is determined based on the first resource selection window, that is, the time domain resource units in the first time domain resource set are located within the first resource selection window.
  • the first time domain resource set includes at least two time domain resource units, and at least one time domain resource unit between the two time domain resource units does not belong to the first time domain resource set. That is, the time domain resource units in the first time domain resource set are discontinuous in the time domain.
  • the partial sensing mode is adopted. For example, taking the time domain resource unit as a time slot as an example, when the value of the bitmap is: 01010101, the first time domain resource set includes time slots with indices 1, 3, 5 and 7. The number of time slots in the first resource selection window is 4, and the window size of the first resource selection window is 4 time slots.
  • the first time domain resource set includes time slots with indices of 0, 1, 3, 5, 6 and 7.
  • the number of time slots in the first resource selection window is 6, and the window size of the first resource selection window is 6 time slots.
  • the time-domain resource units in the first time-domain resource set are continuous in the time domain, that is, the first time-domain resource set includes at least two time-domain resource units, and the above two time-domain resource units The time-domain resource units in between also belong to the first time-domain resource set.
  • a full sensing mode or a partial sensing mode may be used.
  • the first time domain resource set includes time slots with indexes 1 to 7.
  • the number of time slots in the first resource selection window is 7, and the window size of the first resource selection window is 7 time slots.
  • the first time-domain resource set may be determined based on the starting position of the first resource selection window and the window length of the first resource selection window. Exemplarily, there are 5 time slots between the starting position of the first resource selection window and the time slot where the second information is located, and the window length of the first resource selection window is 10 time slots, then the first time domain resource set includes: : a time slot between 5 and 14 between the time slot and the time slot where the second information is located.
  • the time-domain resource units in the first time-domain resource set may be continuous or discontinuous in the time domain.
  • the time-domain resource units in the first time-domain resource set may be continuous or discontinuous in the time domain.
  • the first terminal device sends the second information to the second terminal device.
  • the second terminal device receives the second information from the first terminal device.
  • the second information indicates at least one first resource and a first time domain resource set.
  • the second information includes information of the first resource selection window.
  • the information of the first resource selection window includes at least one of the following:
  • the first item the starting position of the first resource selection window.
  • the second information indicates the starting time slot position of the first resource selection window through a preset number of bits.
  • the second information indicates N time-domain resource units through a preset number of bits.
  • N refers to the number of time-domain resource units in the interval between the start position of the first resource selection window and the time-domain resource resource for sending the second information.
  • the information indicating the position of the initial time slot of the first resource selection window by the second information is determined according to the interval between the initial position of the first resource selection window and the time domain resource unit for sending the second information.
  • the second item is the window length of the first resource selection window.
  • the window length can also be replaced by the window size.
  • the window length of the first resource selection window may be characterized by the number of time-domain resource units in the first resource selection window.
  • the third item is the number of time-domain resource units in the first resource selection window. Still taking the time domain resource unit as a time slot as an example, when the value of the bitmap is 01010101, the number of time slots in the first resource selection window is 4. When the value of the bitmap is 11010111, the number of time slots in the first resource selection window is 6.
  • the fourth item the specific location of the time domain resource unit in the first resource selection window.
  • the second information indicates the position of the starting time-domain resource unit and the interval from the starting time-domain resource unit.
  • the first time domain resource set may include the initial time domain resource unit, or may not include the initial time domain resource unit.
  • the second information may be a bitmap. One bitmap corresponds to one first resource selection window, one bitmap includes at least one bit, and one bit in the bitmap corresponds to one time slot. When a bit takes a value of "1", the time slot corresponding to this bit belongs to the first time domain resource set.
  • the time slot corresponding to this bit does not belong to the first time domain resource set.
  • the value of the bitmap is: 01010101, that is, the value of the bit corresponding to the initial time slot is "0", which does not belong to the first time domain resource set, and the time slot corresponding to the bit valued as "1" in the bitmap
  • the indices are 1, 3, 5 and 7. That is, the first time domain resource set includes time slots with indices 1, 3, 5, and 7.
  • the value of the bitmap is: 11010111, that is, the value of the corresponding bit of the initial time slot is "1", which belongs to the first time domain resource set, and the time slot corresponding to the bit whose value is "1" in the bitmap
  • the indices are 0, 1, 3, 5, 6 and 7. That is, the first time-domain resource set includes time slots with indices of 0, 1, 3, 5, 6, and 7.
  • the value of the bitmap is: 01111111, that is, the value of the bit corresponding to the initial time slot is “0”, which does not belong to the first time domain resource set, and the time corresponding to the bit valued as “1” in the bitmap
  • the slot indices are 1 to 7. That is, the first time domain resource set includes time slots with indices 1 to 7.
  • the fifth item the period of the second resource selection window.
  • the sixth item instruction information.
  • the indication information indicates that the first terminal device is a partial sensing terminal, that is, the first terminal device adopts a partial sensing mechanism to select resources.
  • the indication information may be a preset number of bits, for example, the indication information is implemented as 1 bit, and when the value of the bit is "1", the indication information indicates that the first terminal device is a partial sensing terminal. In this way, the second terminal device can determine that the time domain resource units in the first time domain resource set are discontinuous in the time domain. On the contrary, when the value of this bit is "0", the indication information indicates that the first terminal device is a fully aware terminal. In this way, the second terminal device can determine that the time domain resource units in the first resource selection window are continuous in the time domain.
  • the second information when the second information includes the above-mentioned first item and the second item, the second information can also indicate the position of the first resource selection window. In other words, the second information further includes location information of the first resource selection window.
  • the second information may be auxiliary information, and for details, reference may be made to the relevant description of FIG. 3 , which will not be repeated here.
  • the auxiliary information belongs to the sideline control signaling, which can be carried in the SCI-2 or in the MAC layer signaling.
  • the second information may also be implemented as other messages, such as feedback information of the PSFCH, which is not limited in this embodiment of the present application.
  • the second terminal device determines the target resource according to the at least one first resource and the first time domain resource set.
  • the target resource is used to transmit service data to other terminal devices (eg, the first terminal device).
  • the service corresponding to the service data is the above-mentioned first service.
  • the second terminal device may determine the following three types of resources based on the at least one first resource and the first set of time domain resources:
  • the first type of resources are denoted as set A1.
  • the set A1 is the set of the first resources.
  • the set A1 is the complement of the first resource in the first time domain resource set, that is, in the first resource selection window In the set A1, resources other than the first resource belong to the set A1, in other words, the time domain resource unit where each resource in the set A1 is located belongs to the first time domain resource set, but is different from the time domain resource unit where the first resource is located.
  • Fig. 8b shows the distribution of the first type of resources in the first resource selection window.
  • the second type of resources are recorded as set A2.
  • the set A2 is the set of the first resources.
  • the set A2 is the complement of the first resource in the first time domain resource set, that is, within the first resource selection window.
  • the resources except the first resource belong to the set A2, in other words, the time domain resource unit where each resource in the set A2 is located belongs to the first time domain resource set, but is different from the time domain resource unit where the first resource is located.
  • Fig. 8b shows the distribution of the second type of resources in the first resource selection window. It can be seen from Fig. 8b that there are two types of resources in the first resource selection window, namely the above-mentioned first type of resources and second type of resources.
  • the third type of resources are denoted as set A3. That is to say, the resources outside the first resource selection window all belong to the resources without recommendation information, that is, the resources outside the first resource selection window all belong to the set A3. In other words, the time domain resource unit where the resources in the set A3 are located does not belong to the first time domain resource set.
  • Fig. 8b shows the distribution of the third type of resources outside the first resource selection window. It can be seen from FIG. 8b that the resources outside the first resource selection window are the above-mentioned third type of resources.
  • the implementation process of S804 includes:
  • Example 1 referring to FIG. 9a, the implementation process of S804 includes S8041 to S8043:
  • the second terminal device performs resource detection to obtain a perception result 1 .
  • the object of resource detection in S8041 includes at least one of the following: resources in the second resource selection window, and resources within a period of time before the second resource selection window.
  • the second terminal device performs RSRP measurement to obtain sensing result 1.
  • the second terminal device selects resources from the resources in the second resource selection window according to the sensing result 1, so as to obtain a second set of time-frequency resources.
  • the second terminal device selects X% resources from the resources in the second resource selection window as the second time-frequency resource set.
  • the second time-frequency resource set may be recorded as set B.
  • the value of X% can be one of the following: 20%, 30%, 50%, or 100%.
  • Referring to Fig. 9b, (2) in Fig. 9b shows the distribution of the resources in the set B within the second resource selection window.
  • the second terminal device determines the target resource according to the at least one first resource, the first time-domain resource set, and the second time-frequency resource set.
  • the implementation process of S8043 is introduced through the following three steps:
  • the second terminal device uses the resources belonging to the first type of resources and the second set of time-frequency resources as the second resources. That is, the second resource is determined based on at least one first resource and belongs to the second time-frequency resource set. Exemplarily, in the case that the set A1 and the set B have an intersection, the second resource belongs to the resource of the intersection of the set A1 and the set B. Referring to Fig. 9b, (3) in Fig. 9b shows the distribution of the second resource. Wherein, the filling pattern in the "rectangular box representing the second resource" is consistent with the filling pattern in the "rectangular box representing the resource in the set A1", to reflect that the second resource is selected from the set A1.
  • the "rectangular box representing the second resource” and the “rectangular box representing the resource in set B” are both bold lines to indicate that the second resource is selected from set B.
  • the resources of the set A1 can be referred to (1) in FIG. 9b. In this way, the second resource is not only recommended for use by the first terminal device, but also a resource recommended for use by the second terminal device. Alignment issue.
  • the second terminal device uses the resources that belong to the above-mentioned first type of resources but do not belong to the second time-frequency resource set as the third resources. That is, the third resource is determined based on at least one first resource and does not belong to the second time-frequency resource set.
  • the third resource belongs to the resources other than the set B in the set A1.
  • the third resource is a resource selected from the resources in the set A1 except the set B according to the preset ratio 1.
  • there are 30 resources in the set A1 except the set B the preset ratio 1 is 20%
  • the third resource is the selected resource
  • the number of the third resource is 6. Referring to Fig.
  • Fig. 9b shows the distribution of the third resource.
  • the filling pattern in the "rectangular box representing the third resource” is consistent with the filling pattern in the "rectangular box representing the resource in the set A1", to reflect that the third resource is selected from the set A1.
  • the position of the "rectangular box representing the third resource” is different from the position of the "rectangular box representing any resource in the set B", to show that the third resource is not selected from the set B.
  • the third resource is a resource recommended by the first terminal device but not recommended by the second terminal device, which ensures the reliability of data transmission to a certain extent.
  • the second terminal device uses the resources that belong to the second time-frequency resource set but do not belong to the first time-frequency resource set as the fourth resource.
  • the fourth resource belongs to the resources in the set B other than the sets A1 and A2.
  • the fourth resource is a resource selected from the resources in the set B except the set A1 and the set A2 according to the preset ratio 2.
  • the preset ratio 2 is 30%
  • the fourth resource is a filtered resource
  • the number of fourth resources is 12. Referring to Fig. 9b, (3) in Fig. 9b shows the distribution of the fourth resource.
  • the filling pattern in the "rectangular box representing the fourth resource” is consistent with the filling pattern in the "rectangular box representing the resource in the set A3", to reflect that the fourth resource is selected from the set A3.
  • the "rectangular box representing the fourth resource” and the “rectangular box representing some resources in the set B” are both bold lines to indicate that the fourth resource is selected from the set B.
  • the resources of the set A3 may refer to (1) in Fig. 9b. In this way, the fourth resource is recommended for use by the second terminal device, but the first terminal device does not indicate whether the resource is recommended for use (that is, a resource without recommendation information), which ensures the reliability of data transmission to a certain extent.
  • S804 is implemented as at least one of step a, step b, and step c.
  • the target resource includes the second resource.
  • the target resource includes the second resource and the third resource.
  • the target resource includes the second resource, the third resource and the fourth resource.
  • the second resource is the most preferred resource, that is, the resource recommended by both the first terminal device and the second terminal device.
  • the second terminal device also determines the resource amount of the second resource.
  • the second terminal device performs at least one of step b and step c in addition to step a. That is, the target resource includes the second resource, and the resource amount of the second resource is lower than the threshold 1.
  • the target resource further includes a third resource.
  • the target resource further includes a fourth resource.
  • the threshold value 1 may be X% in S8042.
  • Example 2 referring to Fig. 9c, the implementation process of S804 includes S8044 and S8045:
  • the second terminal device compares the first type of resources and the third type of resources with the second resource selection window respectively to obtain a comparison result.
  • the second terminal device denote the resources of the first type of resources in the second resource selection window as the set A1in, the resources of the first type of resources outside the second resource selection window as the set A1out, and set the The resources of the third type of resources in the second resource selection window are denoted as set A3in, and the resources of the third type of resources outside the second resource selection window are denoted as set A3out.
  • (1) in FIG. 9d shows the distribution of resources in the set A1in, the set A1out, the set A3in, and the set A3out.
  • S8045 The second terminal device determines the target resource according to the comparison result.
  • the implementation process of S8045 is introduced through the following three steps:
  • Step d the second terminal device performs resource detection to obtain a perception result 2 .
  • the object of resource detection in step d includes at least one of the following: resources in the set A1in, and resources within a period of time before the set A1in.
  • the second terminal device uses the resources in the set A1in that meet the preset conditions as the fifth resources.
  • the preset condition may be: the RSRP measurement value is less than or equal to the reference signal received power threshold value. That is to say, the fifth resource is a resource within the second resource selection window, determined based on at least one first resource, and satisfying a preset condition. In other words, the fifth resource is a resource selected from the set A1in according to a preset condition.
  • (2) in FIG. 9d shows the distribution status of the fifth resource.
  • there are two "rectangular boxes representing the fifth resource” and the filling images of the two rectangular boxes are consistent with the filling pattern of the "rectangular box representing the resources in the set A1in", to reflect that the fifth resource is selected from the set A1in.
  • the fifth resource is not only recommended for use by the first terminal device, but also a resource recommended for use by the second terminal device. Alignment issues.
  • Step e the second terminal device performs resource detection to obtain a perception result 3 .
  • the object of resource detection in step e includes at least one of the following: the resources in the set A3in, and the resources within a period of time before the set A3in.
  • the second terminal device uses the resources in the set A3in that meet the preset conditions as the sixth resource.
  • the sixth resource is the resource in the second resource selection window.
  • the time domain resource unit where the sixth resource is located does not belong to the first time domain resource set and is a resource that satisfies a preset condition.
  • the sixth resource is a resource selected from the set A3in according to a preset condition.
  • (2) in FIG. 9d shows the distribution status of the sixth resource.
  • there are two "rectangular boxes representing the sixth resource” and the filling patterns of the two rectangular boxes are consistent with the filling pattern of the "rectangular box representing the resources in the set A3in", so as to reflect that the sixth resource is selected from the set A3in.
  • the sixth resource is recommended to be used by the second terminal device, but the first terminal device does not indicate whether the resource is recommended to be used (ie, belongs to the resource without recommended information), which ensures the reliability of data transmission to a certain extent.
  • Step f the second terminal device determines the seventh resource from the set A1out. That is, the seventh resource is a resource determined based on the at least one first resource. As shown in (2) in FIG. 9d, (2) in FIG. 9d shows the distribution of the seventh resource. Among them, there is one "rectangular box representing the seventh resource", and the filling pattern is consistent with the filling pattern of the "rectangular box representing the resource in the set A1out", to reflect that the seventh resource is selected from the set A1out. Exemplarily, the second terminal device selects a certain resource from the set A1out according to a preset ratio value of 3, as the seventh resource.
  • the second terminal device selects a certain resource from the set A1out according to the resource amount difference and the ratio value 4, as the seventh resource.
  • the resource amount difference is the difference between the fifth resource and the target resource in resource amount. Since the time domain resource unit where the resources in the set A1out are located does not belong to the second time domain resource set, and the seventh resource is a resource selected from the set A1out, the seventh resource is recommended by the first terminal device, but the second terminal device It is recommended not to use resources, which ensures the reliability of data transmission to a certain extent.
  • S804 is implemented as at least one of step d, step e and step f.
  • the target resource includes the fifth resource.
  • the target resources include fifth resources and sixth resources.
  • the target resource includes the fifth resource, the sixth resource and the seventh resource.
  • the fifth resource is the most preferred resource, that is, the resource recommended by both the first terminal device and the second terminal device.
  • the second terminal device also determines the resource amount of the fifth resource. In the case that the resource amount of the fifth resource is lower than the threshold 2, the second terminal device performs at least one of step e and step f. That is, the target resource includes the fifth resource, and the resource amount of the fifth resource is lower than the threshold 2 . In the case that the second terminal device also performs step e, the target resource further includes a sixth resource. In the case where the second terminal device also performs step f, the target resource further includes a seventh resource.
  • the threshold 2 may be X% in S8042.
  • the second terminal device preferentially selects the resources that satisfy the preset condition from the set A1in, that is, determines the fifth resource.
  • the second terminal device determines at least one of the sixth resource and the seventh resource. Since both the sixth resource and the seventh resource are resources recommended for use by one of the two terminal devices (ie, the first terminal device and the second terminal device), data transmission reliability is guaranteed to a certain extent.
  • the second terminal device further determines the resource amount of the fifth resource and the resource amount of the sixth resource.
  • the second terminal device performs step f. That is, the second terminal device performs step f only when the target resource includes the fifth resource and the sixth resource, and the sum of the resource amounts of the fifth resource and the sixth resource is lower than the threshold 3.
  • the threshold 3 may be X% in S8042.
  • the second terminal device preferentially selects the resources satisfying the preset condition from the set A1in and the set A3in, that is, preferentially determines the fifth resource and the sixth resource.
  • the second terminal device determines the seventh resource only when the sum of the resource amounts of the fifth resource and the sixth resource is insufficient. Since both the fifth resource and the sixth resource are resources that the first terminal device does not explicitly indicate to recommend not to use, and the seventh resource is a resource that the first terminal device indicates to recommend not to use, therefore, compared with the seventh resource, The interference degree of the fifth resource and the sixth resource is lower, which is beneficial to ensure the reliability of data transmission.
  • the second terminal device receives the second information from the first terminal device, which is used for reference by the second terminal device when determining the target resource.
  • the second information also indicates a first set of time domain resources. Therefore, the first time-domain resource set is also a set of time-domain resource units known to the second terminal device, and the second terminal device determines, on the known time-domain resource units, the target resource according to at least one first resource, that is, the first resource.
  • the second terminal equipment makes full use of the second information when selecting resources, so as to take into account the interference status of the first terminal equipment, so as to ensure the reliability of data transmission.
  • the embodiment of the present application provides a resource determination method 1000, and the resource determination method is applied in the data transmission process of the sidelink.
  • the method includes the following steps:
  • the second terminal device sends a trigger message to the first terminal device.
  • the first terminal device receives the trigger message from the second terminal device.
  • S1001 is an optional step.
  • S801 which will not be repeated here.
  • the first terminal device determines at least one first resource in the first resource selection window.
  • the first terminal device sends the second information to the second terminal device.
  • the second terminal device receives the second information from the first terminal device.
  • the second information indicates at least one first resource.
  • the time domain resource unit where each first resource in the at least one first resource is located belongs to the first time domain resource set.
  • the second information may be auxiliary information, and for details, reference may be made to the relevant description of FIG. 3 , which will not be repeated here.
  • the second information may also be implemented as other messages, which is not limited in this embodiment of the present application.
  • the second terminal device determines a target resource according to at least one first resource.
  • the target resource is used to transmit service data to other terminal devices (eg, the first terminal device).
  • the service corresponding to the service data is the above-mentioned first service.
  • the target resource determined in S1004 is also located outside the second resource selection window.
  • the set of first resources located outside the second resource selection window may be recorded as set Aout.
  • Example 1 when the first resource is the resource recommended by the first terminal device, in the notation of set Aout, A represents the resource recommended by the first terminal device, and out refers to the resource outside the second resource selection window.
  • A represents the resources recommended by the first terminal device, and in refers to the resources in the second resource selection window, as shown in (1) in Figure 11a, and (1) in Figure 11a
  • the distribution of resources in the sets Ain and Aout is shown.
  • the implementation process of S1004 includes the following two ways:
  • S1004 is implemented as S1004a:
  • the second terminal device determines a target resource in at least one first resource according to the ratio value 1.
  • the second terminal device selects a certain number of resources from at least one first resource according to a ratio value of 1, as the target resource.
  • the value of the ratio value 1 may be less than 1, that is, the second terminal device uses a part of the resources in the at least one first resource as the target resource.
  • the value of the ratio value 1 may also be equal to 1, that is, the second terminal device uses all of the above at least one first resource as the target resource.
  • (2) in FIG. 11a shows the distribution of target resources.
  • there are two "rectangular boxes representing the target resource” and the filling pattern of the two rectangular boxes is consistent with the filling pattern of the "rectangular box representing the resources in the set Aout", to reflect that the target resource is selected from the set Aout.
  • the second terminal device uses part or all of the first resources as the target resources. Since the first resource is a resource recommended for use by the first terminal device, the second terminal device takes into account the interference degree and resource occupation status of the opposite side, and can ensure data transmission reliability.
  • S1004 is implemented as S1004b and S1004c:
  • the second terminal device performs resource detection to obtain a perception result 1 of at least one first resource.
  • the object of resource detection in S1004b includes at least one of the following: the above-mentioned at least one first resource, and a resource within a period of time before the above-mentioned at least one first resource.
  • Perception result 1 includes the measured value of the RSRP of the first resource.
  • the second terminal device determines the target resource according to the sensing result 1.
  • the second terminal device uses the first resource whose RSRP measured value is lower than the reference signal received power threshold value as the first resource. target resource.
  • the second terminal device executes the foregoing manner 1 or manner 2.
  • the first preset condition includes at least one of the following:
  • the resource amount of the second resource is less than the first preset value.
  • the second resource is a resource within the second resource selection window and determined based on at least one first resource. That is to say, the second resource is the resource recommended by the first terminal device in the second resource selection window, which may be recorded as the set Ain. That is, the second terminal device preferentially determines the second resource.
  • the current situation is represented as: in the second resource selection window, the resources recommended by the first terminal device are insufficient. .
  • the second terminal device only executes the above-mentioned way 1 or way 2, that is, outside the second resource selection window, and the resources recommended by the first terminal device (ie, the first resource) are screened for resources, so as to obtain the target resource, In order to make the amount of resources reported to the MAC layer meet the requirements.
  • the resource amount of the third resource is less than the second preset value.
  • the third resource is a resource that satisfies the second preset condition in the second resource.
  • the second preset condition may refer to a resource whose RSRP measurement value is less than or equal to a reference signal received power threshold value. That is, the second terminal device performs resource detection to obtain a perception result 2 of the second resource. Then, the second terminal device filters resources from the second resources according to the sensing result 2, and uses the filtered resources as the third resources.
  • the second terminal device preferentially determines the set Ain, and in the case that the amount of resources in the set Ain that is less than or equal to the reference signal received power threshold value is less than the second preset value, the current situation is represented as: within the second resource selection window , the resources that meet the second preset condition among the resources recommended by the first terminal device are insufficient.
  • the second terminal device only executes the above-mentioned way 1 or way 2, that is, outside the second resource selection window, and the resources recommended by the first terminal device (ie, the first resource) are screened for resources, so as to obtain the target resource, In order to make the amount of resources reported to the MAC layer meet the requirements.
  • the resource amount of the fourth resource is less than the third preset value.
  • the fourth resource belongs to the second resource and belongs to the second time-frequency resource set.
  • the second time-frequency resource set is the resource set determined by the second terminal device based on the resource sensing result of the second resource selection window.
  • the fourth resource belongs to the resource on the intersection of the first resource selection window and the second resource selection window, that is, the fourth resource is the most preferred resource.
  • the second terminal device preferentially determines the fourth resource, and only when the resource amount of the fourth resource is less than the third preset value, the second terminal device executes the above-mentioned method 1 or method 2, thereby obtaining the target resource, so as to report The resources of the MAC layer meet the requirements.
  • the second terminal device preferentially determines whether the first preset condition satisfies the third item, that is, the second terminal device preferentially determines whether the resource amount of the fourth resource is less than the third preset value.
  • the resources for reporting the MAC layer are resources supported by both terminal devices (ie, the first terminal device and the second terminal device), which is beneficial to ensure the reliability of data transmission.
  • the second information further indicates the resources located in the second resource selection window, namely the set Ain, as shown in (1) in FIG. 11d , and (1) in FIG. 11d shows the resources in the set Ain distribution.
  • the second terminal device further includes at least one of S1005 and S1006.
  • the second terminal device executes S1005:
  • the second terminal device determines a fourth resource in the second resource selection window.
  • the fourth resource is used to transmit service data to other terminal equipment (such as the first terminal equipment), and satisfies the following two items:
  • the fourth resource is determined based on the at least one first resource. That is to say, the fourth resource is a resource recommended for use by the first terminal device.
  • the fourth resource is a resource recommended for use by the first terminal device.
  • (3) in FIG. 11d shows the distribution status of the fourth resource.
  • the filling pattern in the "rectangular box representing the fourth resource” is consistent with the filling pattern in the "rectangular box representing the resource in the set Ain", to reflect that the fourth resource is selected from the set Ain.
  • the time domain resource unit where the fourth resource is located belongs to the second time-frequency resource set.
  • the second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window.
  • (3) in FIG. 11d shows the distribution status of the fourth resource.
  • the "rectangular box representing the fourth resource” and the “rectangular box representing the resources in the second time-frequency resource set” are both bold lines to indicate that the fourth resource is selected from the second time-frequency resource set.
  • (2) in FIG. 11d shows the distribution of resources in the second time-frequency resource set.
  • the fourth resource is a resource supported by both terminal devices (ie, the first terminal device and the second terminal device), which is beneficial to ensure the reliability of data transmission.
  • the second terminal device executes S1006:
  • the second terminal device determines a fifth resource in the second resource selection window.
  • the fifth resource is used to transmit service data to the first terminal device and satisfies the following two items:
  • the fifth resource does not belong to the above-mentioned at least one first resource. That is to say, the fifth resource is a resource that is not indicated by the first terminal device to be recommended for use. In other words, the fifth resource is not in the set Ain.
  • the fifth resource may be a resource other than the first resource within the first resource selection window.
  • the fifth resource may also be a resource outside the first resource selection window.
  • (3) in FIG. 11d shows the distribution status of the fifth resource. Wherein, the "rectangular frame representing the fifth resource" is outside the first resource selection window, indicating that the fifth resource is not in the set Ain.
  • the time domain resource unit where the fifth resource is located belongs to the second time-frequency resource set. That is to say, the fifth resource is a resource recommended for use by the second terminal device. In other words, the fifth resource is in the X% resource set within the second resource selection window.
  • (3) in FIG. 11d shows the distribution status of the fifth resource.
  • the "rectangular box representing the fifth resource” and the “rectangular box representing some resources in the second time-frequency resource set” are both bold lines, to indicate that the fifth resource is selected from the second time-frequency resource set.
  • the fifth resource is a resource that is not indicated by the first terminal device to be recommended for use, but is recommended to be used by the second terminal device, which ensures the reliability of data transmission to a certain extent.
  • the second terminal device executes S1005 and S1006.
  • the implementation process of S1006 includes: when the resource amount of the fourth resource is lower than the threshold, the second terminal device determines the fifth resource within the second resource selection window.
  • the fourth resource For the introduction of the fourth resource, reference may be made to the relevant description of S1005, which will not be repeated here. That is to say, when the resource amount of the fourth resource is insufficient, the second terminal device determines the fifth resource from the resources outside the set Ain and within the second resource selection window, so as to report to the MAC layer resources meet the requirements.
  • Example 2 in the case where the first resource is a resource recommended not to be used by the first terminal device, in the notation of the set Aout, A represents the resource recommended not to be used by the first terminal device, and out refers to the resource outside the second resource selection window. resource.
  • A represents the resources recommended not to be used by the first terminal device, and in refers to the resources in the second resource selection window, as shown in (1) in Figure 12a, (1) in Figure 12a
  • the distribution of resources in the sets Ain and Aout is shown.
  • the implementation process of S1004 includes the following two ways:
  • S1004 is implemented as S1004d and S1004e:
  • the second terminal device determines candidate resources.
  • the candidate resources include resources outside the second resource selection window and other than the at least one first resource.
  • the second terminal device determines the target resource from the candidate resources according to the ratio value 2.
  • the second terminal device selects a certain number of resources from the candidate resources according to the ratio value of 2, as the target resources.
  • the value of the ratio value 2 may be less than 1, that is, the second terminal device uses a part of the candidate resources as the target resource.
  • the value of the ratio value 2 may also be equal to 1, that is, the second terminal device uses all the resources in the candidate resources as the target resources.
  • the second terminal device takes part or all of the candidate resources as the target resource. Since the candidate resources are outside the second resource selection window, but do not include the resources recommended for use by the first terminal device, the candidate resources can ensure the reliability of data transmission to a certain extent.
  • S1004 is implemented as S1004d, S1004f and S1004g.
  • S1004f and S1004g are as follows:
  • the second terminal device performs resource detection to obtain the perception result 2 of the candidate resource.
  • the object of resource detection in S1004f includes at least one of the following: candidate resources, resources within a period of time before the candidate resources.
  • Perception result 2 includes a measure of the RSRP of the candidate resource.
  • the second terminal device determines the target resource according to the sensing result 2.
  • the second terminal device uses the candidate resource whose RSRP measurement value is lower than the reference signal received power threshold value as the target resource. .
  • (2) in FIG. 12a shows the distribution of target resources.
  • there are two "rectangular boxes representing the target resource” and the positions of the two rectangular boxes are outside the second resource selection window, and are different from the positions of the "rectangular boxes representing any resource in the set Aout" to reflect the target resource. is not selected from the set Aout, and is outside the second resource selection window.
  • the second terminal device executes S1004f and S1004g only when the third preset condition is satisfied.
  • the third preset condition includes at least one of the following:
  • the resource amount of the second resource is less than the default value of 4.
  • the second resource does not belong to the at least one first resource, but belongs to the second time-frequency resource set.
  • the second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window.
  • S8041 and S8042 in the resource determination method 800 in this embodiment of the present application. It is not repeated here. That is, the second resource is not in the set Ain, but is in X% of the resources in the second resource selection window.
  • the second terminal device executes S1004f and S1004g only when the third preset condition satisfies the first item, that is, outside the second resource selection window, and the first terminal device does not indicate whether it is among the recommended resources (ie, candidate resources) Screen resources to obtain target resources, so that the amount of resources reported to the MAC layer meets the requirements.
  • the recommended resources ie, candidate resources
  • the resource amount of the second time-frequency resource set is less than the preset value of 5. That is to say, within the second resource selection window, the amount of resources whose RSRP measurement value is lower than the reference signal received power threshold value is less than the preset value of 5.
  • the second terminal device executes S1004f and S1004g, that is, outside the second resource selection window, and the first terminal device does not indicate whether to filter resources among recommended resources (ie, the first resource), so as to obtain the target resource, In order to make the amount of resources reported to the MAC layer meet the requirements.
  • the second information further indicates the resources located in the second resource selection window, namely the set Ain, as shown in (1) in FIG. 12d , and (1) in FIG. 12d shows the resources in the set Ain distribution.
  • the second terminal device further includes S1007:
  • the second terminal device determines the second resource.
  • the second resource is used to transmit service data to the first terminal device, and satisfies the following two items:
  • the second resource does not belong to the at least one first resource. That is to say, the second resource is a resource for which the first terminal device does not indicate whether it is recommended to be used.
  • the second resource is a resource for which the first terminal device does not indicate whether it is recommended to be used.
  • the time domain resource unit where the second resource is located belongs to the second time-frequency resource set.
  • the time domain resource unit where the second resource is located belongs to the second time-frequency resource set.
  • FIG. 12d in (3) in FIG. 12d , there is one “rectangular frame representing the second resource”, which is the same as the “rectangular frame representing the resource in the second time-frequency resource set”.
  • Bold lines indicate that the second resource is selected from the second time-frequency resource set.
  • the resources in the second time-frequency resource set are shown in (2) in FIG. 12d.
  • the second resource is a resource that the first terminal device does not indicate whether it is recommended to be used, but is recommended to be used by the second terminal device, which ensures the reliability of data transmission to a certain extent.
  • the second terminal device after the second terminal device receives the second information from the first terminal device, even if the second information indicates the first resource located outside the second resource selection window, the second The terminal device can also determine the target resource in combination with the first resource indicated by the second information, and use the target resource outside the second resource selection window to transmit service data. Since the second terminal device makes full use of the second information when selecting resources, the interference status of the first terminal device is taken into consideration, thereby ensuring the reliability of data transmission.
  • an embodiment of the present application further provides a communication device, and the communication device may be a network element in the foregoing method embodiments, or a device including the foregoing network element, or a component usable for a network element.
  • the communication apparatus includes corresponding hardware structures and/or software modules for executing each function.
  • the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
  • FIG. 13 shows a schematic structural diagram of a communication apparatus 1300 .
  • the communication device 1300 includes a processing unit 1301 , a sending unit 1302 and a receiving unit 1303 .
  • the processing unit 1301 is configured to support the second terminal device to perform S604 in FIG. 6 , S804 in FIG. 8a , S1004 in FIG. 10 , and/ Or other processing operations that need to be performed by the second terminal device in this embodiment of the present application.
  • the sending unit 1302 is configured to support the second terminal device to perform S601 in FIG. 6 , S801 in FIG. 8a , S1001 in FIG. 10 , and/or other sending operations that the second terminal device needs to perform in this embodiment of the present application.
  • the receiving unit 1303 is configured to support the second terminal device to perform S603 in FIG. 6 , S803 in FIG. 8a , S1003 in FIG. 10 , and/or other receiving operations that the second terminal device needs to perform in this embodiment of the present application.
  • the processing unit 1301 is configured to support the first terminal device to perform S602 in FIG. 6 , S802 in FIG. 8a , S1002 in FIG. 10 , and /or other processing operations that need to be performed by the first terminal device in this embodiment of the present application.
  • the receiving unit 1303 is configured to support the first terminal device to perform S601 in FIG. 6 , S801 in FIG. 8a , S1001 in FIG. 10 , and/or other receiving operations that the first terminal device needs to perform in this embodiment of the present application.
  • the sending unit 1302 is configured to support the first terminal device to perform S603 in FIG. 6 , S803 in FIG. 8a , S1003 in FIG. 10 , and/or other sending operations that the first terminal device needs to perform in this embodiment of the present application.
  • the communication device 1300 may further include a storage unit 1304 for storing program codes and data of the communication device, and the data may include but not limited to original data or intermediate data.
  • the processing unit 1301 may be a processor or a controller, such as a CPU, a general-purpose processor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other Programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure.
  • a processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
  • the sending unit 1302 may be a communication interface, a sending or sending circuit, etc., where the communication interface is a general term, and in a specific implementation, the communication interface may include multiple interfaces, for example, may include: an interface between terminal devices and/or other interface.
  • the receiving unit 1303 may be a communication interface, a receiver or a receiving circuit, etc., where the communication interface is a general term, and in a specific implementation, the communication interface may include multiple interfaces, for example, may include: an interface between terminal devices and/or other interfaces.
  • the storage unit 1304 may be a memory.
  • the processing unit 1301 is a processor
  • the sending unit 1302 and the receiving unit 1303 are communication interfaces
  • the storage unit 1304 is a memory
  • the communication device involved in the embodiment of the present application may be as shown in FIG. 14 .
  • the communication device includes: a processor 1401 , a communication interface 1402 , and a memory 1403 .
  • the communication device may further include a bus 1404 .
  • the communication interface 1402, the processor 1401 and the memory 1403 can be connected to each other through a bus 1404; the bus 1404 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus etc.
  • the bus 1404 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is shown in FIG. 14, but it does not mean that there is only one bus or one type of bus.
  • the embodiment of the present application further provides a computer program product carrying computer instructions, when the computer instructions are executed on the computer, the computer is made to execute the method described in the foregoing embodiments.
  • an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the methods described in the foregoing embodiments.
  • an embodiment of the present application further provides a chip, including: a processing circuit and a transceiver pin, where the processing circuit and the transceiver pin are used to implement the method introduced in the foregoing embodiment.
  • the processing circuit is used for executing the processing actions in the corresponding method
  • the transceiver pins are used for executing the actions of receiving/transmitting in the corresponding method.
  • the computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line, DSL) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital video disc (DVD)), or semiconductor media (eg, solid state disk (SSD)) Wait.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the modules is only a logical function division. In actual implementation, there may be other division methods.
  • multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple devices. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • the present application can be implemented by means of software plus necessary general-purpose hardware, and of course hardware can also be used, but in many cases the former is a better implementation manner .
  • the technical solutions of the present application can be embodied in the form of software products in essence or contributed parts, and the computer software products are stored in a readable storage medium, such as a floppy disk, a hard disk or an optical disk of a computer etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.

Abstract

The present application provides a resource determination method and a communication apparatus, which relate to the technical field of communications, and which can ensure the reliability of data transmission. The method comprises: a second terminal device receives second information from a first terminal device, wherein the second information indicates at least one first resource and a first time domain resource set, and time domain resource units in which each first resource among the at least one first resource is located belongs to the first time domain resource set; then, according to the at least one first resource and the first time domain resource set, the second terminal device determines a target resource, the target resource being used to transmit service data.

Description

资源确定方法及通信装置Resource determination method and communication device
本申请要求于2021年04月23日提交国家知识产权局、申请号为202110444568.2、发明名称为“一种接收预约资源的UE判断冲突的方法”的中国专利申请的优先权,以及要求于2021年05月10日提交国家知识产权局、申请号为202110507834.1、发明名称为“资源确定方法及通信装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the State Intellectual Property Office on April 23, 2021, the application number is 202110444568.2, and the invention title is "a method for UE that receives reserved resources to determine conflict", and the application is claimed in 2021 On May 10th, the priority of the Chinese patent application with the application number of 202110507834.1 and the invention title of "Resource Determination Method and Communication Device" was submitted to the State Intellectual Property Office, the entire contents of which are incorporated in this application by reference.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种资源确定方法及通信装置。The present application relates to the field of communication technologies, and in particular, to a resource determination method and a communication device.
背景技术Background technique
在第一终端设备与第二终端设备之间通信时,第二终端设备接收来自第一终端设备的辅助信息。其中,辅助信息指示第一终端设备推荐使用(或推荐不使用)的资源。辅助信息指示的资源是基于第一终端设备侧的干扰程度和资源占用状况确定的,以辅助第二终端设备通过感知机制来选择资源。During communication between the first terminal device and the second terminal device, the second terminal device receives auxiliary information from the first terminal device. Wherein, the auxiliary information indicates a resource recommended to be used (or not recommended to be used) by the first terminal device. The resources indicated by the auxiliary information are determined based on the interference degree and resource occupation status on the side of the first terminal device, so as to assist the second terminal device to select resources through a perception mechanism.
然而,辅助信息指示的全部资源或部分资源可能位于第二终端设备的资源选择窗口外,导致辅助信息未被充分地利用,从而导致第二终端设备选择的资源无法充分兼顾第一终端设备的状况,影响数据传输可靠性。However, all or part of the resources indicated by the auxiliary information may be located outside the resource selection window of the second terminal device, resulting in insufficient utilization of the auxiliary information, and thus the resources selected by the second terminal device cannot fully take into account the conditions of the first terminal device , which affects the reliability of data transmission.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种资源确定方法及通信装置,能够保障数据传输可靠性。The embodiments of the present application provide a resource determination method and a communication device, which can ensure the reliability of data transmission.
为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
第一方面,本申请实施例提供一种资源确定方法,该方法的执行主体可以是第二终端设备,也可以是应用于第二终端设备中的芯片。下面以执行主体是第二终端设备为例进行描述。该方法包括:第二终端设备向第一终端设备发送第一信息,其中,第一信息指示第二时域资源集合,第二时域资源集合至少包括两个时域资源单元,两个时域资源单元之间的至少一个时域资源单元不属于第二时域资源集合。然后,第二终端设备接收来自第一终端设备的第二信息,其中,第二信息指示至少一个第一资源,至少一个第一资源中每一第一资源所在的时域资源单元属于第二时域资源集合。之后,第二终端设备根据至少一个第一资源,确定目标资源,其中,目标资源用于传输业务数据。In a first aspect, an embodiment of the present application provides a method for determining a resource, where the execution body of the method may be a second terminal device, or may be a chip applied in the second terminal device. The following description will be given by taking the execution subject being the second terminal device as an example. The method includes: the second terminal device sends first information to the first terminal device, wherein the first information indicates a second time-domain resource set, and the second time-domain resource set includes at least two time-domain resource units, two time-domain resource units At least one time domain resource unit between resource units does not belong to the second time domain resource set. Then, the second terminal device receives second information from the first terminal device, where the second information indicates at least one first resource, and the time domain resource unit where each first resource in the at least one first resource is located belongs to the second time domain Collection of domain resources. Afterwards, the second terminal device determines a target resource according to the at least one first resource, where the target resource is used for transmitting service data.
也就是说,第二终端设备向第一终端设备发送第一信息,以使第一终端设备在确定第一资源时更有针对性,即至少一个第一资源中每一第一资源所在的时域资源单元属于第二时域资源集合。由于第二时域资源集合是第二终端设备已知的时域资源单元的集合,所以,第二终端设备在已知的时域资源单元上,根据至少一个第一资源,确定目标资源,即第二终端设备在进行资源选择时充分利用第二信息,以兼顾第一终端设备的干扰状况,从而保障数据传输可靠性。That is to say, the second terminal device sends the first information to the first terminal device, so that the first terminal device is more targeted when determining the first resource, that is, the time when each first resource in the at least one first resource is located. The domain resource unit belongs to the second time domain resource set. Since the second time-domain resource set is a set of time-domain resource units known to the second terminal device, the second terminal device determines, on the known time-domain resource units, the target resource according to at least one first resource, that is, The second terminal equipment makes full use of the second information when performing resource selection, so as to take into account the interference status of the first terminal equipment, thereby ensuring the reliability of data transmission.
在第一种可能的设计中,第二时域资源集合是基于第二资源选择窗确定的,第二资源选择窗用于第二终端设备进行资源选择。也就是说,第二时域资源集合中的时域资源单元 在第二资源选择窗内。In a first possible design, the second time-domain resource set is determined based on a second resource selection window, and the second resource selection window is used for the second terminal device to select resources. That is, the time domain resource elements in the second time domain resource set are within the second resource selection window.
结合第一方面或第一方面的第一种可能的设计,在第二种可能的设计中,第一信息指示起始时域资源单元的位置,以及与起始时域资源单元之间的间隔。也就是说,第一信息指示第二时域资源集合中每一时域资源单元的具体位置。With reference to the first aspect or the first possible design of the first aspect, in the second possible design, the first information indicates the location of the starting time-domain resource unit and the interval from the starting time-domain resource unit . That is, the first information indicates the specific position of each time domain resource unit in the second time domain resource set.
结合第一方面、第一方面的第一种可能的设计、或第一方面的第二种可能的设计,在第三种可能的设计中,第一信息包括以下至少一项:指示信息,第一业务的信息。其中,指示信息指示第二终端设备为部分感知终端,第一业务为业务数据对应的业务。With reference to the first aspect, the first possible design of the first aspect, or the second possible design of the first aspect, in a third possible design, the first information includes at least one of the following: indication information, the first a business information. The indication information indicates that the second terminal device is a partial sensing terminal, and the first service is a service corresponding to the service data.
结合第一方面、第一方面的第一种可能的设计、第一方面的第二种可能的设计、或第一方面的第三种可能的设计,在第四种可能的设计中,第一资源包括第一终端设备推荐使用的资源。也就是说,相对于第一资源选择窗中除上述至少一个第一资源之外的资源而言,至少一个第一资源的干扰程度相对较低。或者,第一资源包括第一终端设备推荐不使用的资源。也就是说,相对于第一资源选择窗中除上述至少一个第一资源之外的资源而言,至少一个第一资源的干扰程度相对较高。In combination with the first aspect, the first possible design of the first aspect, the second possible design of the first aspect, or the third possible design of the first aspect, in the fourth possible design, the first The resources include resources recommended for use by the first terminal device. That is to say, with respect to the resources other than the at least one first resource in the first resource selection window, the interference degree of the at least one first resource is relatively low. Alternatively, the first resource includes a resource recommended not to be used by the first terminal device. That is to say, with respect to the resources other than the at least one first resource in the first resource selection window, the interference degree of the at least one first resource is relatively high.
结合第一方面、第一方面的第一种可能的设计、第一方面的第二种可能的设计、或第一方面的第三种可能的设计,在第五种可能的设计中,第一资源包括第一终端设备倾向于使用的资源。或者,第一资源包括第一终端设备倾向于不使用的资源。Combining the first aspect, the first possible design of the first aspect, the second possible design of the first aspect, or the third possible design of the first aspect, in the fifth possible design, the first The resources include resources that the first terminal device tends to use. Alternatively, the first resource includes resources that the first terminal device tends not to use.
第二方面,本申请实施例提供一种资源确定方法,该方法的执行主体可以是第一终端设备,也可以是应用于第一终端设备中的芯片。下面以执行主体是第一终端设备为例进行描述。该方法包括:第一终端设备接收来自第二终端设备的第一信息,其中,第一信息指示第二时域资源集合,第二时域资源集合至少包括两个时域资源单元,两个时域资源单元之间的至少一个时域资源单元不属于第二时域资源集合。然后,第一终端设备在第二时域资源集合内确定至少一个第一资源。之后,第一终端设备向第二终端设备发送第二信息,其中,第二信息指示至少一个第一资源。In a second aspect, an embodiment of the present application provides a method for determining a resource, where the execution body of the method may be a first terminal device, or may be a chip applied in the first terminal device. The following description will be given by taking the execution subject as the first terminal device as an example. The method includes: a first terminal device receiving first information from a second terminal device, wherein the first information indicates a second time domain resource set, and the second time domain resource set includes at least two time domain resource units, two time domain resource units. At least one time domain resource unit between the domain resource units does not belong to the second time domain resource set. Then, the first terminal device determines at least one first resource within the second set of time domain resources. Afterwards, the first terminal device sends second information to the second terminal device, wherein the second information indicates at least one first resource.
在第一种可能的设计中,第一终端设备在第二时域资源集合内确定至少一个第一资源,包括:第一终端设备在第二时域资源集合内确定候选资源,其中,候选资源所在的时域资源单元属于第一时域资源集合,第一时域资源集合是基于第一资源选择窗确定的,且第一资源选择窗用于第一终端设备进行资源选择。然后,第一终端设备在候选资源中确定第二资源,其中,第二资源属于至少一个第一资源。In a first possible design, the first terminal device determining at least one first resource in the second time domain resource set includes: the first terminal device determining a candidate resource in the second time domain resource set, wherein the candidate resource The time domain resource unit where it is located belongs to the first time domain resource set, the first time domain resource set is determined based on the first resource selection window, and the first resource selection window is used for the first terminal device to select resources. Then, the first terminal device determines a second resource among the candidate resources, wherein the second resource belongs to at least one first resource.
也就是说,在第一资源选择窗与第二资源选择窗存在交集的情况下,第一终端设备对交集上的资源进行处理,以得到第二资源。第一终端设备再将第二资源的信息反馈给第二终端设备,也就避免了第一终端设备与第二终端设备在资源选择窗上不对齐的问题。That is to say, in the case where there is an intersection between the first resource selection window and the second resource selection window, the first terminal device processes the resources on the intersection to obtain the second resource. The first terminal device then feeds back the information of the second resource to the second terminal device, which avoids the problem that the first terminal device and the second terminal device are not aligned on the resource selection window.
在第二种可能的设计中,第一终端设备在第二时域资源集合内确定至少一个第一资源,包括:第一终端设备在第二时域资源集合内确定候选资源,其中,候选资源所在的时域资源单元不属于第一时域资源集合,第一时域资源集合是基于第一资源选择窗确定的,且第一资源选择窗用于第一终端设备进行资源选择。然后,第一终端设备在候选资源中确定第三资源,其中,第三资源属于至少一个第一资源。In a second possible design, the first terminal device determines at least one first resource in the second time domain resource set, including: the first terminal device determines a candidate resource in the second time domain resource set, wherein the candidate resource The time domain resource unit where it is located does not belong to the first time domain resource set, the first time domain resource set is determined based on the first resource selection window, and the first resource selection window is used for the first terminal device to select resources. Then, the first terminal device determines a third resource among the candidate resources, wherein the third resource belongs to at least one first resource.
也就是说,第一终端设备从第二资源选择窗内,但第一资源选择窗外的资源中,确定第三资源,以使第三资源在第二资源选择窗内,从而使得第三资源能够辅助第二终端设备进行资源选择。That is to say, the first terminal device determines the third resource from the resources within the second resource selection window but outside the first resource selection window, so that the third resource is within the second resource selection window, so that the third resource can be Assist the second terminal device in resource selection.
结合第二方面的第二种可能的设计,在第三种可能的设计中,第一终端设备在第二时域资源集合内确定候选资源,包括:在第二资源的资源量小于阈值的情况下,第一终端设备在第二时域资源集合内确定候选资源。其中,第二资源属于至少一个第一资源,且第二资源所在的时域资源单元属于第一时域资源集合。With reference to the second possible design of the second aspect, in a third possible design, the first terminal device determines candidate resources in the second time domain resource set, including: when the resource amount of the second resource is less than a threshold Next, the first terminal device determines candidate resources in the second time domain resource set. The second resource belongs to at least one first resource, and the time domain resource unit where the second resource is located belongs to the first time domain resource set.
也就是说,由于第二资源既在第一资源选择窗内,又在第二资源选择窗内,所以,第二资源是最优选的资源。在第二资源的资源量不足的情况下,第一终端设备才确定第三资源,有利于保证数据传输可靠性。That is to say, since the second resource is within both the first resource selection window and the second resource selection window, the second resource is the most preferred resource. When the resource amount of the second resource is insufficient, the first terminal device determines the third resource, which is beneficial to ensure the reliability of data transmission.
结合第二方面的第二种可能的设计、或第二方面的第三种可能的设计,在第四种可能的设计中,第一终端设备在候选资源中确定第三资源,包括:第一终端设备进行资源检测,以得到候选资源的感知结果。然后,第一终端设备根据感知结果,确定第三资源。With reference to the second possible design of the second aspect, or the third possible design of the second aspect, in a fourth possible design, the first terminal device determines the third resource among the candidate resources, including: the first The terminal device performs resource detection to obtain the perception result of the candidate resource. Then, the first terminal device determines the third resource according to the sensing result.
也就是说,第一终端设备采用增加感知时域资源单元的方式来确定第三资源,从而在一定程度上保证了数据传输可靠性。That is to say, the first terminal device determines the third resource by adding a perceptual time domain resource unit, thereby ensuring the reliability of data transmission to a certain extent.
结合第二方面的第二种可能的设计或第二方面的第三种可能的设计,在第五种可能的设计中,第一终端设备在候选资源中确定第三资源,包括:第一终端设备根据候选资源和预设比例,确定第三资源。也就是说,第一终端设备从候选资源中抽取一定比例的资源,以作为第三资源。With reference to the second possible design of the second aspect or the third possible design of the second aspect, in a fifth possible design, the first terminal device determines a third resource among the candidate resources, including: the first terminal The device determines the third resource according to the candidate resource and the preset ratio. That is to say, the first terminal device extracts a certain proportion of resources from the candidate resources as the third resources.
结合第二方面的第五种可能的设计,在第六种可能的设计中,预设比例是基于第二资源的资源量确定的。其中,第二资源属于至少一个第一资源,且第二资源所在的时域资源单元属于第一时域资源集合,以保证目标资源的资源量满足要求。With reference to the fifth possible design of the second aspect, in the sixth possible design, the preset ratio is determined based on the resource amount of the second resource. Wherein, the second resource belongs to at least one first resource, and the time domain resource unit where the second resource is located belongs to the first time domain resource set, so as to ensure that the resource amount of the target resource meets the requirements.
结合第二方面、第二方面的第一种可能的设计至第六种可能的设计中的任意一项,在第七种可能的设计中,第二时域资源集合是基于第二资源选择窗确定的,第二资源选择窗用于第二终端设备进行资源选择。Combining the second aspect and any one of the first possible design to the sixth possible design of the second aspect, in the seventh possible design, the second time domain resource set is based on the second resource selection window It is determined that the second resource selection window is used for the second terminal device to perform resource selection.
结合第二方面、第二方面的第一种可能的设计至第七种可能的设计中的任意一项,在第八种可能的设计中,第一信息指示起始时域资源单元的位置,以及与起始时域资源单元之间的间隔。With reference to the second aspect and any one of the first possible design to the seventh possible design of the second aspect, in the eighth possible design, the first information indicates the location of the starting time domain resource unit, and the interval from the starting time domain resource unit.
结合第二方面、第二方面的第一种可能的设计至第八种可能的设计中的任意一项,在第九种可能的设计中,第一信息包括以下至少一项:指示信息,第一业务的信息。其中,指示信息指示第二终端设备为部分感知终端,第一业务为业务数据对应的业务。With reference to the second aspect and any one of the first possible design to the eighth possible design of the second aspect, in the ninth possible design, the first information includes at least one of the following: indication information, the first a business information. The indication information indicates that the second terminal device is a partial sensing terminal, and the first service is a service corresponding to the service data.
结合第二方面、第二方面的第一种可能的设计至第九种可能的设计中的任意一项,在第十种可能的设计中,第一资源包括第一终端设备推荐使用的资源。或者,第一资源包括第一终端设备推荐不使用的资源。With reference to the second aspect and any one of the first possible designs to the ninth possible designs of the second aspect, in the tenth possible design, the first resources include resources recommended for use by the first terminal device. Alternatively, the first resource includes a resource recommended not to be used by the first terminal device.
第三方面,本申请实施例提供一种资源确定方法,该方法的执行主体可以是第二终端设备,也可以是应用于第二终端设备中的芯片。下面以执行主体是第二终端设备为例进行描述。该方法包括:第二终端设备接收来自第一终端设备的第二信息,其中,第二信息指示至少一个第一资源和第一时域资源集合,至少一个第一资源中每一第一资源所在的时域资源单元属于第一时域资源集合。然后,第二终端设备根据至少一个第一资源和第一时域资源集合,确定目标资源,其中,目标资源用于传输业务数据。In a third aspect, an embodiment of the present application provides a method for determining a resource, where the execution body of the method may be a second terminal device, or may be a chip applied in the second terminal device. The following description will be given by taking the execution subject being the second terminal device as an example. The method includes: the second terminal device receives second information from the first terminal device, wherein the second information indicates at least one first resource and a first time domain resource set, where each first resource in the at least one first resource is located The time domain resource unit belongs to the first time domain resource set. Then, the second terminal device determines a target resource according to the at least one first resource and the first set of time domain resources, where the target resource is used for transmitting service data.
也就是说,第二终端设备接收来自第一终端设备的第二信息,以供第二终端设备在确定目标资源时参考。第二信息除了指示至少一个第一资源之外,还指示第一时域资源集合。 所以,第一时域资源集合也是第二终端设备已知的时域资源单元的集合,第二终端设备在已知的时域资源单元上,根据至少一个第一资源,确定目标资源,即第二终端设备在进行资源选择时充分利用第二信息,以兼顾第一终端设备的干扰状况,从而保障数据传输可靠性。That is, the second terminal device receives the second information from the first terminal device for reference by the second terminal device when determining the target resource. In addition to indicating at least one first resource, the second information also indicates a first set of time domain resources. Therefore, the first time-domain resource set is also a set of time-domain resource units known to the second terminal device, and the second terminal device determines, on the known time-domain resource units, the target resource according to at least one first resource, that is, the first resource. The second terminal equipment makes full use of the second information when selecting resources, so as to take into account the interference status of the first terminal equipment, so as to ensure the reliability of data transmission.
在第一种可能的设计中,第一时域资源集合是基于第一资源选择窗确定的,第一资源选择窗用于第一终端设备进行资源选择。也就是说,第一时域资源集合中的时域资源单元在第一资源选择窗内。In a first possible design, the first time-domain resource set is determined based on a first resource selection window, and the first resource selection window is used for the first terminal device to select resources. That is, the time domain resource units in the first time domain resource set are within the first resource selection window.
结合第三方面、或第三方面的第一种可能的设计,在第二种可能的设计中,第二信息指示起始时域资源单元的位置,以及与起始时域资源单元之间的间隔。也就是说,第二信息还指示第一时域资源集合中时域资源单元的具体位置。With reference to the third aspect, or the first possible design of the third aspect, in the second possible design, the second information indicates the location of the starting time-domain resource unit, and the relationship with the starting time-domain resource unit. interval. That is to say, the second information also indicates the specific location of the time domain resource unit in the first time domain resource set.
结合第三方面、第三方面的第一种可能的设计、或第三方面的第二种可能的设计,在第三种可能的设计中,第二信息包括以下至少一项:第一资源选择窗的起始位置、第一资源选择窗的窗口长度、或第一资源选择窗内的时域资源单元数量。其中,第一资源选择窗用于第一终端设备进行资源选择。With reference to the third aspect, the first possible design of the third aspect, or the second possible design of the third aspect, in the third possible design, the second information includes at least one of the following: a first resource selection The starting position of the window, the window length of the first resource selection window, or the number of time-domain resource units in the first resource selection window. The first resource selection window is used for the first terminal device to select resources.
结合第三方面、第三方面的第一种可能的设计、第三方面的第二种可能的设计、或第三方面的第三种可能的设计,在第四种可能的设计中,第二信息包括指示信息,其中,指示信息指示第一终端设备为部分感知终端。In combination with the third aspect, the first possible design of the third aspect, the second possible design of the third aspect, or the third possible design of the third aspect, in the fourth possible design, the second The information includes indication information, wherein the indication information indicates that the first terminal device is a partially aware terminal.
结合第三方面、第三方面的第一种可能的设计至第四种可能的设计中的任意一项,在第五种可能的设计中,目标资源包括第二资源。其中,第二资源基于至少一个第一资源确定,且属于第二时频资源集合,第二时频资源集合为第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合。With reference to the third aspect and any one of the first possible design to the fourth possible design of the third aspect, in the fifth possible design, the target resource includes the second resource. Wherein, the second resource is determined based on at least one first resource and belongs to a second time-frequency resource set, and the second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window.
也就是说,第二资源既是第一终端设备推荐使用,又是第二终端设备推荐使用的资源,有利于保证数据传输可靠性,又能够避免第一终端设备和第二终端设备在资源选择窗上不对齐的问题。That is to say, the second resource is not only recommended for use by the first terminal device, but also a resource recommended for use by the second terminal device. misalignment problem.
结合第三方面、第三方面的第一种可能的设计至第五种可能的设计中的任意一项,在第六种可能的设计中,目标资源包括以下至少一项:With reference to the third aspect and any one of the first possible designs to the fifth possible designs of the third aspect, in the sixth possible design, the target resource includes at least one of the following:
第一项,第三资源,其中,第三资源基于至少一个第一资源确定,且不属于第二时频资源集合,第二时频资源集合为第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合。The first item is the third resource, where the third resource is determined based on at least one first resource and does not belong to the second time-frequency resource set, and the second time-frequency resource set is the resource selected by the second terminal device based on the second resource selection window A collection of resources determined by the perception result.
第二项,第四资源,其中,第四资源属于第二时频资源集合,且第四资源所在的时域资源单元不属于第一时域资源集合。The second item is the fourth resource, where the fourth resource belongs to the second time-frequency resource set, and the time-domain resource unit where the fourth resource is located does not belong to the first time-domain resource set.
如此,在目标资源包括第三资源的情况下,第三资源是第一终端设备推荐使用,但第二终端设备推荐不使用的资源,在一定程度上保证了数据传输可靠性。在目标资源包括第四资源的情况下,第四资源是第二终端设备推荐使用,但是第一终端设备未指示推荐是否使用的资源,在一定程度上保证了数据传输可靠性。In this way, when the target resource includes the third resource, the third resource is a resource recommended by the first terminal device but not recommended by the second terminal device, which ensures the reliability of data transmission to a certain extent. In the case where the target resource includes the fourth resource, the fourth resource is a resource recommended by the second terminal device, but the first terminal device does not indicate whether to use the recommended resource, which ensures the reliability of data transmission to a certain extent.
结合第三方面的第六种可能的设计,在第七种可能的设计中,第三资源是按照第一预设比例筛选后的资源。In combination with the sixth possible design of the third aspect, in the seventh possible design, the third resource is a resource filtered according to the first preset ratio.
结合第三方面的第六种可能的设计,在第八种可能的设计中,第四资源是按照第二预设比例筛选后的资源。In combination with the sixth possible design of the third aspect, in the eighth possible design, the fourth resource is a resource filtered according to the second preset ratio.
结合第三方面的第六种可能的设计、第三方面的第七种可能的设计、或第三方面的第八种可能的设计,在第九种可能的设计中,目标资源还包括第二资源,且第二资源的资源量低于第一阈值。其中,第二资源基于至少一个第一资源确定,且属于第二时频资源集合。In combination with the sixth possible design of the third aspect, the seventh possible design of the third aspect, or the eighth possible design of the third aspect, in the ninth possible design, the target resource also includes the second resource, and the resource amount of the second resource is lower than the first threshold. The second resource is determined based on at least one first resource and belongs to the second time-frequency resource set.
由于第二资源既是第一终端设备推荐使用,又是第二终端设备推荐使用的资源,所以,第二资源是最优选的资源。在第二资源的资源量不足的情况下,第二终端设备才确定第三资源和第四资源中的至少一种,有利于保证数据传输可靠性。Since the second resource is both recommended for use by the first terminal device and a resource recommended for use by the second terminal device, the second resource is the most preferred resource. When the resource amount of the second resource is insufficient, the second terminal device determines at least one of the third resource and the fourth resource, which is beneficial to ensure the reliability of data transmission.
结合第三方面、第三方面的第一种可能的设计至第四种可能的设计中的任意一项,在第十种可能的设计中,目标资源包括第二资源选择窗内的第五资源。其中,第二资源选择窗用于第二终端设备进行资源选择,第五资源是基于至少一个第一资源确定的、且满足预设条件的资源。Combining the third aspect and any one of the first possible design to the fourth possible design in the third aspect, in the tenth possible design, the target resource includes the fifth resource in the second resource selection window . The second resource selection window is used for resource selection by the second terminal device, and the fifth resource is a resource determined based on at least one first resource and satisfying a preset condition.
也就是说,第五资源既是第一终端设备推荐使用,又是第二终端设备推荐使用的资源,有利于保证数据传输可靠性,又能够避免第一终端设备和第二终端设备在资源选择窗上不对齐的问题。That is to say, the fifth resource is not only recommended for use by the first terminal device, but also a resource recommended for use by the second terminal device. misalignment problem.
结合第三方面、第三方面的第一种可能的设计、第三方面的第二种可能的设计、第三方面的第三种可能的设计、第三方面的第四种可能的设计、或第三方面的第十种可能的设计,在第十一种可能的设计中,目标资源包括以下至少一项:In combination with the third aspect, the first possible design of the third aspect, the second possible design of the third aspect, the third possible design of the third aspect, the fourth possible design of the third aspect, or In a tenth possible design of the third aspect, in the eleventh possible design, the target resource includes at least one of the following:
第一项,第二资源选择窗内的第六资源。其中,第二资源选择窗用于第二终端设备进行资源选择,第六资源所在的时域资源单元不属于第一时域资源集合,且第六资源满足预设条件。The first item is the sixth resource in the second resource selection window. The second resource selection window is used for resource selection by the second terminal device, the time domain resource unit where the sixth resource is located does not belong to the first time domain resource set, and the sixth resource satisfies a preset condition.
第二项,第二资源选择窗外的第七资源。其中,第七资源基于至少一个第一资源确定。The second item, the second resource selects the seventh resource outside the window. Wherein, the seventh resource is determined based on at least one first resource.
也就是说,在目标资源包括第六资源的情况下,第六资源是第二终端设备推荐使用,但是第一终端设备未指示推荐是否使用的资源,在一定程度上保证了数据传输可靠性。在目标资源包括第七资源的情况下,第七资源是第一终端设备推荐使用,但第二终端设备未指示推荐是否使用的资源,在一定程度上保证了数据传输可靠性。That is to say, when the target resource includes the sixth resource, the sixth resource is a resource recommended by the second terminal device, but the first terminal device does not indicate whether it is recommended to be used, which ensures the reliability of data transmission to a certain extent. In the case where the target resource includes the seventh resource, the seventh resource is a resource recommended by the first terminal device, but the second terminal device does not indicate whether it is recommended to be used, which ensures the reliability of data transmission to a certain extent.
结合第三方面的第十一种可能的设计,在第十二种可能的设计中,第七资源的资源量至少是基于以下其中一项确定的:With reference to the eleventh possible design of the third aspect, in the twelfth possible design, the resource amount of the seventh resource is determined based on at least one of the following:
第一项,预配置的比例值。The first item, the preconfigured scale value.
第二项,第五资源与目标资源之间的资源量差值,其中,第五资源位于第二资源选择窗内。第五资源是基于至少一个第一资源确定、且满足预设条件的资源。The second item is the resource amount difference between the fifth resource and the target resource, where the fifth resource is located in the second resource selection window. The fifth resource is a resource determined based on at least one first resource and satisfying a preset condition.
也就是说,第七资源可以是按照预设的比例值筛选后的资源,以简化第二终端设备的运算过程。或者,第七资源也可以是结合资源量差值所确定的资源,以保证目标资源的资源量满足要求。That is to say, the seventh resource may be a resource filtered according to a preset ratio value, so as to simplify the operation process of the second terminal device. Alternatively, the seventh resource may also be a resource determined in combination with the resource amount difference, so as to ensure that the resource amount of the target resource meets the requirements.
结合第三方面的第十一种可能的设计、或第三方面的第十二种可能的设计,在第十三种可能的设计中,目标资源还包括第二资源选择窗内的第五资源,且第五资源的资源量低于第二阈值。其中,第五资源是基于至少一个第一资源确定的、且满足预设条件的资源。With reference to the eleventh possible design of the third aspect, or the twelfth possible design of the third aspect, in the thirteenth possible design, the target resource further includes the fifth resource in the second resource selection window , and the resource amount of the fifth resource is lower than the second threshold. The fifth resource is a resource determined based on at least one first resource and satisfying a preset condition.
由于第五资源既是第一终端设备推荐使用,又是第二终端设备推荐使用的资源,所以,第五资源是最优的资源,在第五资源的资源量不足的情况下,第二终端设备才确定第六资源和第七资源中的至少一项,有利于保证数据传输可靠性。Since the fifth resource is both recommended for use by the first terminal device and a resource recommended for use by the second terminal device, the fifth resource is the optimal resource. In the case of insufficient resources of the fifth resource, the second terminal device Only determining at least one of the sixth resource and the seventh resource is beneficial to ensure the reliability of data transmission.
结合第三方面的第十一种可能的设计、第三方面的第十二种可能的设计、或第三方面 的第十三种可能的设计,在第十四种可能的设计中,目标资源还包括第二资源选择窗内的第五资源和第六资源,第五资源和第六资源的资源量之和低于第三阈值。其中,第五资源是基于至少一个第一资源确定的、且满足预设条件的资源。In combination with the eleventh possible design of the third aspect, the twelfth possible design of the third aspect, or the thirteenth possible design of the third aspect, in the fourteenth possible design, the target resource It also includes the fifth resource and the sixth resource in the second resource selection window, and the sum of the resource amounts of the fifth resource and the sixth resource is lower than the third threshold. The fifth resource is a resource determined based on at least one first resource and satisfying a preset condition.
由于第五资源和第六资源均是第一终端设备未明确指示推荐不使用的资源,且第七资源是第一终端设备指示推荐不使用的资源,所以,相比于第七资源而言,第五资源和第六资源的干扰程度更低,从而有利于保证数据传输可靠性。在第五资源和第六资源的资源量之和不足的情况下,第二终端设备才确定第七资源,有利于保证数据传输可靠性。Since both the fifth resource and the sixth resource are resources that the first terminal device does not explicitly indicate to recommend not to use, and the seventh resource is a resource that the first terminal device indicates to recommend not to use, therefore, compared with the seventh resource, The interference degree of the fifth resource and the sixth resource is lower, which is beneficial to ensure the reliability of data transmission. The second terminal device determines the seventh resource only when the sum of the resource amounts of the fifth resource and the sixth resource is insufficient, which is beneficial to ensure the reliability of data transmission.
结合第三方面、第三方面的第一种可能的设计至第十四种可能的设计中的任意一项,在第十五种可能的设计中,第一资源包括第一终端设备推荐使用的资源。或者,第一资源包括第一终端设备推荐不使用的资源。With reference to the third aspect, any one of the first possible design to the fourteenth possible design of the third aspect, in the fifteenth possible design, the first resource includes the recommended use of the first terminal device. resource. Alternatively, the first resource includes a resource recommended not to be used by the first terminal device.
第四方面,本申请实施例提供一种资源确定方法,该方法的执行主体可以是第一终端设备,也可以是应用于第一终端设备中的芯片。下面以执行主体是第一终端设备为例进行描述。该方法包括:第一终端设备在第一时域资源集合内确定至少一个第一资源,其中,至少一个第一资源中每一第一资源所在的时域资源单元属于第一时域资源集合。然后,第一终端设备向第二终端设备发送第二信息,其中,第二信息指示至少一个第一资源和第一时域资源集合。In a fourth aspect, an embodiment of the present application provides a method for determining a resource, where the execution body of the method may be the first terminal device, or may be a chip applied in the first terminal device. The following description will be given by taking the execution subject as the first terminal device as an example. The method includes: the first terminal device determines at least one first resource in the first time domain resource set, wherein a time domain resource unit where each first resource in the at least one first resource is located belongs to the first time domain resource set. Then, the first terminal device sends second information to the second terminal device, where the second information indicates at least one first resource and a first set of time domain resources.
在第一种可能的设计中,第一时域资源集合是基于第一资源选择窗确定的,第一资源选择窗用于第一终端设备进行资源选择。In a first possible design, the first time-domain resource set is determined based on a first resource selection window, and the first resource selection window is used for the first terminal device to select resources.
结合第四方面、或第四方面的第一种可能的设计,在第二种可能的设计,第二信息指示起始时域资源单元的位置,以及与起始时域资源单元之间的间隔。With reference to the fourth aspect, or the first possible design of the fourth aspect, in the second possible design, the second information indicates the location of the starting time-domain resource unit and the interval from the starting time-domain resource unit .
结合第四方面、第四方面的第一种可能的设计、或第四方面的第二种可能的设计,在第三种可能的设计,第二信息包括以下至少一项:第一资源选择窗的起始位置、第一资源选择窗的窗口长度、或第一资源选择窗内的时域资源单元数量。其中,第一资源选择窗用于第一终端设备进行资源选择。With reference to the fourth aspect, the first possible design of the fourth aspect, or the second possible design of the fourth aspect, in the third possible design, the second information includes at least one of the following: a first resource selection window , the window length of the first resource selection window, or the number of time-domain resource units in the first resource selection window. The first resource selection window is used for the first terminal device to select resources.
结合第四方面、第四方面的第一种可能的设计、第四方面的第二种可能的设计、或第四方面的第三种可能的设计,在第四种可能的设计,第二信息包括指示信息,其中,指示信息指示第一终端设备为部分感知终端。In combination with the fourth aspect, the first possible design of the fourth aspect, the second possible design of the fourth aspect, or the third possible design of the fourth aspect, in the fourth possible design, the second information Including indication information, wherein the indication information indicates that the first terminal device is a partially aware terminal.
结合第四方面、第四方面的第一种可能的设计至第四种可能的设计中的任意一项,在第五种可能的设计,第一资源包括第一终端设备推荐使用的资源。或者,第一资源包括第一终端设备推荐不使用的资源。With reference to the fourth aspect and any one of the first possible design to the fourth possible design of the fourth aspect, in the fifth possible design, the first resource includes a resource recommended for use by the first terminal device. Alternatively, the first resource includes a resource recommended not to be used by the first terminal device.
第五方面,本申请实施例提供一种资源确定方法,该方法的执行主体可以是第二终端设备,也可以是应用于第二终端设备中的芯片。下面以执行主体是第二终端设备为例进行描述。该方法包括:第二终端设备接收来自第一终端设备的第二信息,其中,第二信息指示至少一个第一资源,至少一个第一资源位于第二资源选择窗外,第二资源选择窗用于第二终端设备进行资源选择。然后,第二终端设备根据至少一个第一资源,确定目标资源,其中,目标资源位于第二资源选择窗外,且用于传输业务数据。In a fifth aspect, an embodiment of the present application provides a method for determining a resource, where the execution body of the method may be a second terminal device, or may be a chip applied in the second terminal device. The following description will be given by taking the execution subject being the second terminal device as an example. The method includes: the second terminal device receives second information from the first terminal device, wherein the second information indicates at least one first resource, the at least one first resource is located outside the second resource selection window, and the second resource selection window is used for The second terminal device performs resource selection. Then, the second terminal device determines a target resource according to the at least one first resource, where the target resource is located outside the second resource selection window and is used for transmitting service data.
也就是说,第二终端设备接收来自第一终端设备的第二信息之后,即使第二信息指示了位于第二资源选择窗之外的第一资源,第二终端设备也能够结合第二信息指示的第一资源确定目标资源,采用第二资源选择窗外的目标资源传输业务数据。由于第二终端设备在 进行资源选择时充分利用了第二信息,以兼顾第一终端设备的干扰状况,从而保障数据传输可靠性。That is to say, after the second terminal device receives the second information from the first terminal device, even if the second information indicates the first resource located outside the second resource selection window, the second terminal device can also indicate in combination with the second information The target resource is determined by the first resource, and the target resource outside the second resource selection window is used to transmit service data. Since the second terminal equipment makes full use of the second information when selecting resources, the interference status of the first terminal equipment is taken into account, thereby ensuring the reliability of data transmission.
在第一种可能的设计中,第二终端设备根据至少一个第一资源,确定目标资源,包括:第二终端设备根据比例值,在至少一个第一资源中确定目标资源。也就是说,第二终端设备从第一资源中抽取一定数量的资源,以作为目标资源。In a first possible design, the second terminal device determining the target resource according to the at least one first resource includes: the second terminal device determining the target resource in the at least one first resource according to the ratio value. That is to say, the second terminal device extracts a certain amount of resources from the first resources as target resources.
在第二种可能的设计中,第二终端设备根据至少一个第一资源,确定目标资源,包括:第二终端设备进行资源检测,以得到至少一个第一资源的感知结果。然后,第二终端设备根据感知结果,确定目标资源。In a second possible design, the second terminal device determines the target resource according to the at least one first resource, including: the second terminal device performs resource detection to obtain a perception result of the at least one first resource. Then, the second terminal device determines the target resource according to the sensing result.
也就是说,第二终端设备采用增加感知时域资源单元的方式,从第一资源中筛选出一定数量的资源,以作为目标资源。That is, the second terminal device selects a certain number of resources from the first resources as target resources by increasing the sensing time domain resource unit.
结合第五方面的第一种可能的设计、或第二种可能的设计,在第三种可能的设计中,第二终端设备根据至少一个第一资源,确定目标资源,包括:在满足第一预设条件的情况下,第二终端设备根据至少一个第一资源,确定目标资源。第一预设条件包括以下至少一项:With reference to the first possible design or the second possible design of the fifth aspect, in a third possible design, the second terminal device determines the target resource according to at least one first resource, including: In the case of the preset condition, the second terminal device determines the target resource according to the at least one first resource. The first preset condition includes at least one of the following:
第一项,第二资源的资源量小于第一预设值,其中,第二资源是在第二资源选择窗内,基于至少一个第一资源确定的资源。The first item is that the resource amount of the second resource is less than the first preset value, where the second resource is a resource determined based on at least one first resource within the second resource selection window.
第二项,第三资源的资源量小于第二预设值,其中,第三资源为第二资源中满足第二预设条件的资源。In the second item, the resource amount of the third resource is less than the second preset value, where the third resource is a resource that satisfies the second preset condition among the second resources.
第三项,第四资源的资源量小于第三预设值,其中,第四资源属于第二资源,且属于第二时频资源集合,第二时频资源集合为第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合。The third item, the resource amount of the fourth resource is less than the third preset value, wherein the fourth resource belongs to the second resource and belongs to the second time-frequency resource set, and the second time-frequency resource set is the second terminal device based on the second The resource set determined by the resource sensing result of the resource selection window.
在第一预设条件包括第一项的情况下,由于第二资源是第二资源选择窗内,第一终端设备推荐使用的资源,所以,第二终端设备优先确定第二资源的资源量。在第二资源的资源量不足的情况下,第二终端设备才在第二资源选择窗外,且第一终端设备推荐使用的资源(即第一资源)中筛选资源,从而得到目标资源,以使用于传输业务数据的资源量达到要求。When the first preset condition includes the first item, since the second resource is a resource recommended by the first terminal device within the second resource selection window, the second terminal device preferentially determines the resource amount of the second resource. When the amount of resources of the second resource is insufficient, the second terminal device is outside the second resource selection window, and the resources recommended by the first terminal device (ie, the first resource) are screened for resources, so as to obtain the target resource for use The amount of resources for transmitting service data meets the requirements.
在第一预设条件包括第二项的情况下,由于第二资源是第二资源选择窗内,第一终端设备推荐使用的资源,所以,第二终端设备优先确定第二资源的资源量。在第二资源中满足第二预设条件的资源不足的情况下,第二终端设备才在第二资源选择窗外,且第一终端设备推荐使用的资源(即第一资源)中筛选资源,从而得到目标资源,以使用于传输业务数据的资源量达到要求。When the first preset condition includes the second item, since the second resource is a resource recommended by the first terminal device within the second resource selection window, the second terminal device preferentially determines the resource amount of the second resource. In the case where the resources satisfying the second preset condition in the second resources are insufficient, the second terminal device is outside the second resource selection window, and the resources recommended by the first terminal device (ie, the first resources) are screened for resources, thereby The target resource is obtained, so that the amount of resources used for transmitting service data can meet the requirements.
在第一预设条件包括第三项的情况下,由于第四资源属于第一资源选择窗与第二资源选择窗交集上的资源,即第四资源是最优选的资源,所以,第二终端设备优先确定第四资源,在第四资源的资源量不足的情况下,第二终端设备才在第二资源选择窗外,且第一终端设备推荐使用的资源(即第一资源)中筛选资源,从而得到目标资源,以使用于传输业务数据的资源量达到要求。In the case where the first preset condition includes the third item, since the fourth resource belongs to the resource at the intersection of the first resource selection window and the second resource selection window, that is, the fourth resource is the most preferred resource, the second terminal The device preferentially determines the fourth resource, and only when the amount of resources of the fourth resource is insufficient, the second terminal device is outside the second resource selection window, and the first terminal device recommends to use resources (ie, the first resource) to filter resources, Thereby, target resources are obtained, so that the amount of resources used for transmitting service data can meet the requirements.
结合第五方面、第五方面的第一种可能的设计至第三种可能的设计中的任意一项,在第四种可能的设计中,本申请实施例资源确定方法还包括:第二终端设备在第二资源选择窗内,确定第四资源。其中,第四资源用于向第一终端设备传输业务数据,且满足以下两 项:With reference to the fifth aspect and any one of the first possible design to the third possible design of the fifth aspect, in the fourth possible design, the resource determination method in this embodiment of the present application further includes: a second terminal The device determines the fourth resource in the second resource selection window. Wherein, the fourth resource is used to transmit service data to the first terminal device, and satisfies the following two items:
第一项,第四资源基于至少一个第一资源确定。The first item, the fourth resource is determined based on the at least one first resource.
第二项,第四资源所在的时域资源单元属于第二时频资源集合,其中,第二时频资源集合为第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合。In the second item, the time domain resource unit where the fourth resource is located belongs to the second time-frequency resource set, where the second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window.
也就是说,第二终端设备还能够确定第二资源选择窗内的第四资源。其中,第四资源是第一终端设备和第二终端设备均支持的资源,有利于保证数据传输的可靠性。That is, the second terminal device can also determine the fourth resource within the second resource selection window. The fourth resource is a resource supported by both the first terminal device and the second terminal device, which is beneficial to ensure the reliability of data transmission.
结合第五方面、第五方面的第一种可能的设计至第三种可能的设计中的任意一项,在第五种可能的设计中,本申请实施例资源确定方法还包括:第二终端设备在第二资源选择窗内,确定第五资源,其中,第五资源用于向第一终端设备传输业务数据,第五资源满足以下两项:With reference to the fifth aspect and any one of the first possible design to the third possible design of the fifth aspect, in the fifth possible design, the resource determination method in this embodiment of the present application further includes: a second terminal The device determines a fifth resource in the second resource selection window, where the fifth resource is used to transmit service data to the first terminal device, and the fifth resource satisfies the following two items:
第一项,第五资源不属于至少一个第一资源。The first item, the fifth resource does not belong to at least one first resource.
第二项,第五资源所在的时域资源单元属于第二时频资源集合,其中,第二时频资源集合为第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合。In the second item, the time domain resource unit where the fifth resource is located belongs to the second time-frequency resource set, where the second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window.
也就是说,第二终端设备还能够确定第二资源选择窗内的第五资源,由于第五资源是第一终端设备未指示推荐使用,但第二终端设备推荐使用的资源,在一定程度上保证了数据传输的可靠性。That is to say, the second terminal device can also determine the fifth resource in the second resource selection window. Since the fifth resource is not indicated by the first terminal device to be recommended for use, but recommended by the second terminal device, to a certain extent The reliability of data transmission is guaranteed.
结合第五方面的第五种可能的设计,在第六种可能的设计中,第二终端设备在第二资源选择窗内,确定第五资源,包括:在第四资源的资源量低于阈值的情况下,第二终端设备在第二资源选择窗内,确定第五资源。其中,第四资源用于向第一终端设备传输业务数据,且满足以下两项:With reference to the fifth possible design of the fifth aspect, in a sixth possible design, the second terminal device determines the fifth resource within the second resource selection window, including: when the resource amount of the fourth resource is lower than the threshold In the case of , the second terminal device determines the fifth resource within the second resource selection window. The fourth resource is used to transmit service data to the first terminal device and satisfies the following two items:
第一项,第四资源基于至少一个第一资源确定。The first item, the fourth resource is determined based on the at least one first resource.
第二项,第四资源所在的时域资源单元属于第二时频资源集合。In the second item, the time domain resource unit where the fourth resource is located belongs to the second time-frequency resource set.
由于第四资源属于第一资源选择窗与第二资源选择窗交集上的资源,是优选的资源。在第四资源的资源量不足的情况下,第二终端设备才确定第五资源,以使用于传输业务数据的资源的资源量满足要求。Since the fourth resource belongs to the resource on the intersection of the first resource selection window and the second resource selection window, it is a preferred resource. When the resource amount of the fourth resource is insufficient, the second terminal device determines the fifth resource so that the resource amount of the resource for transmitting service data meets the requirement.
结合第五方面、第五方面的第一种可能的设计至第六种可能的设计中的任意一项,在第七种可能的设计中,第一资源包括第一终端设备推荐使用的资源。With reference to the fifth aspect and any one of the first possible design to the sixth possible design of the fifth aspect, in the seventh possible design, the first resource includes a resource recommended for use by the first terminal device.
结合第五方面,在第八种可能的设计中,第二终端设备根据至少一个第一资源,确定目标资源,包括:第二终端设备根据比例值,在候选资源中确定目标资源,其中,候选资源包括第二资源选择窗口外,且除至少一个第一资源外的资源。With reference to the fifth aspect, in an eighth possible design, the second terminal device determines the target resource according to the at least one first resource, including: the second terminal device determines the target resource among the candidate resources according to the proportional value, wherein the candidate The resources include resources other than the at least one first resource outside the second resource selection window.
也就是说,在第一资源是第一终端设备推荐不使用的资源的情况下,第二终端设备从第二资源选择窗口外,且除上述第一资源之外的资源中,确定目标资源,从而在一定程度上保证数据传输可靠性。That is to say, in the case where the first resource is a resource recommended not to be used by the first terminal device, the second terminal device determines the target resource from resources other than the first resource outside the second resource selection window, and This ensures the reliability of data transmission to a certain extent.
结合第五方面,在第九种可能的设计中,第二终端设备根据至少一个第一资源,确定目标资源,包括:第二终端设备进行资源检测,以得到候选资源的感知结果,其中,候选资源包括第二资源选择窗口外,且除至少一个第一资源外的资源。然后,第二终端设备根据感知结果,确定目标资源。With reference to the fifth aspect, in a ninth possible design, the second terminal device determines the target resource according to at least one first resource, including: the second terminal device performs resource detection to obtain a perception result of the candidate resource, wherein the candidate resource The resources include resources other than the at least one first resource outside the second resource selection window. Then, the second terminal device determines the target resource according to the sensing result.
也就是说,第二终端设备采用增加感知时域资源单元的方式,从第二资源选择窗口外,且除上述第一资源之外的资源中,筛选出一定数量的资源,以作为目标资源。That is to say, the second terminal device selects a certain number of resources from resources outside the second resource selection window and other than the above-mentioned first resource by adding a perceptual time domain resource unit as the target resource.
结合第五方面的第八种可能的设计或第九种可能的设计,在第十种可能的设计中,第二终端设备根据至少一个第一资源,确定目标资源,包括:在满足第三预设条件的情况下,第二终端设备根据至少一个第一资源,确定目标资源。其中,第三预设条件包括以下至少一项:With reference to the eighth possible design or the ninth possible design of the fifth aspect, in the tenth possible design, the second terminal device determines the target resource according to at least one first resource, including: In the case of setting the conditions, the second terminal device determines the target resource according to the at least one first resource. Wherein, the third preset condition includes at least one of the following:
第一项,第二资源的资源量小于第一预设值,其中,第二资源不属于至少一个第一资源,但属于第二时频资源集合,第二时频资源集合为第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合。The first item is that the resource amount of the second resource is less than the first preset value, wherein the second resource does not belong to at least one first resource, but belongs to the second time-frequency resource set, and the second time-frequency resource set is the second terminal equipment. The resource set determined based on the resource perception result of the second resource selection window.
第二项,第二时频资源集合的资源量小于第二预设值。In the second item, the resource amount of the second time-frequency resource set is smaller than the second preset value.
在第三预设条件包括第一项的情况下,由于第二资源不属于上述第一资源,即第一终端设备未指示推荐不使用的资源,并且,第二资源属于第二终端设备推荐使用的资源,所以,第二终端设备优先确定第二资源的资源量,在第二资源不足的情况下,第二终端设备才从第二资源选择窗口外,且除上述第一资源之外的资源中,确定目标资源,从而在一定程度上保证数据传输可靠性。In the case where the third preset condition includes the first item, because the second resource does not belong to the above-mentioned first resource, that is, the first terminal device does not indicate a resource that is not recommended to be used, and the second resource belongs to the second terminal device recommended to use Therefore, the second terminal device preferentially determines the resource amount of the second resource. In the case that the second resource is insufficient, the second terminal device selects the resources outside the window from the second resource, and the resources other than the above-mentioned first resource are selected. In order to ensure the reliability of data transmission to a certain extent, the target resource is determined.
在第三预设条件包括第二项的情况下,由于第二时频资源集合中的资源属于第二终端设备推荐使用的资源,所以,第二终端设备优先确定第二时频资源集合中的资源,在第二时频资源集合中的资源不足的情况下,第二终端设备才从第二资源选择窗口外,且除上述第一资源之外的资源中,确定目标资源,从而在一定程度上保证数据传输可靠性。In the case where the third preset condition includes the second item, since the resources in the second time-frequency resource set belong to the resources recommended by the second terminal device, the second terminal device preferentially determines the resources in the second time-frequency resource set resource, in the case of insufficient resources in the second time-frequency resource set, the second terminal device determines the target resource from the resources outside the second resource selection window and in addition to the above-mentioned first resource, so that to a certain extent to ensure the reliability of data transmission.
结合第五方面、第五方面的第八种可能的设计至第十种可能的设计中的任意一项,在第十一种可能的设计中,本申请实施例资源确定方法还包括:第二终端设备确定第二资源。其中,第二资源用于向第一终端设备传输业务数据,第二资源不属于至少一个第一资源,但属于第二时频资源集合,第二时频资源集合为第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合。With reference to the fifth aspect and any one of the eighth possible design to the tenth possible design of the fifth aspect, in the eleventh possible design, the resource determination method in this embodiment of the present application further includes: a second The terminal device determines the second resource. The second resource is used to transmit service data to the first terminal device, the second resource does not belong to at least one first resource, but belongs to a second time-frequency resource set, and the second time-frequency resource set is the second terminal device based on the second The resource set determined by the resource sensing result of the resource selection window.
也就是说,第二终端设备还能够确定第二资源选择窗内的第二资源。其中,第二资源不属于上述第一资源,即第一终端设备未指示推荐不使用的资源,并且,第二资源属于第二终端设备推荐使用的资源,能够保证数据传输的可靠性。That is, the second terminal device can also determine the second resource within the second resource selection window. The second resource does not belong to the above-mentioned first resource, that is, the first terminal device does not indicate a resource recommended not to be used, and the second resource belongs to the resource recommended to be used by the second terminal device, which can ensure the reliability of data transmission.
结合第五方面、第五方面的第八种可能的设计至第十一种可能的设计中的任意一项,在第十二种可能的设计中,第一资源包括第一终端设备推荐不使用的资源。With reference to the fifth aspect and any one of the eighth possible design to the eleventh possible design of the fifth aspect, in the twelfth possible design, the first resource includes that the first terminal device recommends not to use Resources.
第六方面,本申请实施例提供一种通信装置,该通信装置可以为上述第一方面或第一方面任一种可能的设计中的第二终端设备,或者,该通信装置可以为上述第三方面或第三方面任一种可能的设计中的第二终端设备,或者,该通信装置可以为上述第五方面或第五方面任一种可能的设计中的第二终端设备;或者为设置于上述第二终端设备内的装置,或者实现上述第二终端设备功能的芯片;所述通信装置包括实现上述方法相应的模块、单元、或手段(means),该模块、单元、或means可以通过硬件实现,软件实现,或者通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块或单元。In a sixth aspect, an embodiment of the present application provides a communication device. The communication device may be the second terminal device in the first aspect or any possible design of the first aspect, or the communication device may be the third terminal device described above. The second terminal device in any possible design of the aspect or the third aspect, or the communication device may be the second terminal device in the fifth aspect or any possible design of the fifth aspect; A device in the above-mentioned second terminal device, or a chip that implements the function of the above-mentioned second terminal device; the communication device includes a module, unit, or means (means) corresponding to the above-mentioned method, and the module, unit, or means can be implemented through hardware. Implementation, software implementation, or corresponding software implementation through hardware execution. The hardware or software includes one or more modules or units corresponding to the above functions.
第七方面,本申请实施例提供一种通信装置,该通信装置可以为上述第二方面或第二方面任一种可能的设计中的第一终端设备,或者,该通信装置可以为上述第四方面或第四方面任一种可能的设计中的第一终端设备;或者为设置于上述第一终端设备内的装置,或者实现上述第一终端设备功能的芯片;所述通信装置包括实现上述方法相应的模块、单元、或手段(means),该模块、单元、或means可以通过硬件实现,软件实现,或者通过硬件 执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块或单元。In a seventh aspect, an embodiment of the present application provides a communication device. The communication device may be the first terminal device in the second aspect or any possible design of the second aspect, or the communication device may be the fourth terminal described above. The first terminal device in any possible design of the aspect or the fourth aspect; or a device arranged in the above-mentioned first terminal device, or a chip implementing the function of the above-mentioned first terminal device; the communication device includes implementing the above-mentioned method Corresponding modules, units, or means, the modules, units, or means may be implemented by hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.
第八方面,本申请实施例提供了一种通信装置,包括:处理器和存储器;该存储器用于存储计算机指令,当该处理器执行该指令时,使得该通信装置执行上述任一方面或任一方面任一种可能的设计中第二终端设备所执行的方法。该通信装置可以为上述第一方面或第一方面任一种可能的设计中的第二终端设备,或者实现上述第二终端设备功能的芯片。或者,该通信装置可以为上述第三方面或第三方面任一种可能的设计中的第二终端设备,或者实现上述第二终端设备功能的芯片。或者,该通信装置可以为上述第五方面或第五方面任一种可能的设计中的第二终端设备,或者实现上述第二终端设备功能的芯片。或者,该通信装置可以为上述第二方面或第二方面任一种可能的设计中的第一终端设备,或者实现上述第一终端设备功能的芯片。或者,该通信装置可以为上述第四方面或第四方面任一种可能的设计中的第一终端设备,或者实现上述第一终端设备功能的芯片。In an eighth aspect, an embodiment of the present application provides a communication device, including: a processor and a memory; the memory is used to store a computer instruction, and when the processor executes the instruction, the communication device is made to perform any one of the above-mentioned aspects or any In one aspect, the method performed by the second terminal device in any possible design. The communication apparatus may be the second terminal device in the first aspect or any possible design of the first aspect, or a chip that implements the functions of the second terminal device. Alternatively, the communication device may be the second terminal device in the third aspect or any possible design of the third aspect, or a chip that implements the functions of the second terminal device. Alternatively, the communication device may be the second terminal device in the fifth aspect or any possible design of the fifth aspect, or a chip that implements the functions of the second terminal device. Alternatively, the communication device may be the first terminal device in the second aspect or any possible design of the second aspect, or a chip that implements the function of the first terminal device. Alternatively, the communication device may be the first terminal device in the fourth aspect or any possible design of the fourth aspect, or a chip that implements the function of the first terminal device.
第九方面,本申请实施例提供了一种通信装置,包括:处理器;所述处理器与存储器耦合,用于读取存储器中的指令并执行,以使该通信装置执行如上述任一方面或任一方面任一种可能的设计中的第二终端设备所执行的方法。该通信装置可以为上述第一方面或第一方面任一种可能的设计中的第二终端设备,或者实现上述第二终端设备功能的芯片。或者,该通信装置可以为上述第三方面或第三方面任一种可能的设计中的第二终端设备,或者实现上述第二终端设备功能的芯片。或者,该通信装置可以为上述第五方面或第五方面任一种可能的设计中的第二终端设备,或者实现上述第二终端设备功能的芯片。或者,该通信装置可以为上述第二方面或第二方面任一种可能的设计中的第一终端设备,或者实现上述第一终端设备功能的芯片。或者,该通信装置可以为上述第四方面或第四方面任一种可能的设计中的第一终端设备,或者实现上述第一终端设备功能的芯片。In a ninth aspect, an embodiment of the present application provides a communication device, including: a processor; the processor is coupled to a memory, and is configured to read and execute instructions in the memory, so that the communication device performs any of the above-mentioned aspects Or a method executed by the second terminal device in any possible design of any aspect. The communication apparatus may be the second terminal device in the first aspect or any possible design of the first aspect, or a chip that implements the functions of the second terminal device. Alternatively, the communication device may be the second terminal device in the third aspect or any possible design of the third aspect, or a chip that implements the functions of the second terminal device. Alternatively, the communication device may be the second terminal device in the fifth aspect or any possible design of the fifth aspect, or a chip that implements the functions of the second terminal device. Alternatively, the communication device may be the first terminal device in the second aspect or any possible design of the second aspect, or a chip that implements the function of the first terminal device. Alternatively, the communication device may be the first terminal device in the fourth aspect or any possible design of the fourth aspect, or a chip that implements the function of the first terminal device.
第十方面,本申请实施例提供一种芯片,包括逻辑电路和输入输出接口。其中,输入输出接口用于与芯片之外的模块通信,例如,该芯片可以为实现上述第一方面或第一方面任一种可能的设计中的第二终端设备功能的芯片。输入输出接口用于输入第二信息,以及用于输出第一信息。逻辑电路用于运行计算机程序或指令,以实现以上第一方面或第一方面任一种可能的设计中的方法。再如,该芯片可以为实现上述第三方面或第三方面任一种可能的设计中的第二终端设备功能的芯片。输入输出接口用于输入第二信息。逻辑电路用于运行计算机程序或指令,以实现以上第三方面或第三方面任一种可能的设计中的方法。又如,该芯片可以为实现上述第五方面或第五方面任一种可能的设计中的第二终端设备功能的芯片。输入输出接口用于输入第二信息。逻辑电路用于运行计算机程序或指令,以实现以上第五方面或第五方面任一种可能的设计中的方法。又如,该芯片可以为实现上述第二方面或第二方面任一种可能的设计中的第一终端设备功能的芯片。输入输出接口用于输入第一信息,以及用于输出第二信息。逻辑电路用于运行计算机程序或指令,以实现以上第二方面或第二方面任一种可能的设计中的方法。又如,该芯片可以为实现上述第四方面或第四方面任一种可能的设计中的第一终端设备功能的芯片。输入输出接口用于用于输出第二信息。逻辑电路用于运行计算机程序或指令,以实现以上第四方面或第四方面任一种可能的设计中的方法。In a tenth aspect, an embodiment of the present application provides a chip, including a logic circuit and an input and output interface. The input and output interfaces are used for communication with modules other than the chip. For example, the chip may be a chip that implements the function of the second terminal device in the first aspect or any possible design of the first aspect. The input and output interface is used for inputting the second information and for outputting the first information. A logic circuit is used to run a computer program or instructions to implement the method in the above first aspect or any possible design of the first aspect. For another example, the chip may be a chip that implements the function of the second terminal device in the third aspect or any possible design of the third aspect. The input and output interface is used for inputting the second information. A logic circuit is used to run a computer program or instructions to implement the method in the above third aspect or any possible design of the third aspect. For another example, the chip may be a chip that implements the function of the second terminal device in the fifth aspect or any possible design of the fifth aspect. The input and output interface is used for inputting the second information. The logic circuit is used to run the computer program or instructions to implement the method in the above fifth aspect or any possible design of the fifth aspect. For another example, the chip may be a chip that implements the function of the first terminal device in the second aspect or any possible design of the second aspect. The input and output interface is used for inputting the first information and for outputting the second information. A logic circuit is used to run a computer program or instructions to implement the method in the above second aspect or any possible design of the second aspect. For another example, the chip may be a chip that implements the function of the first terminal device in the fourth aspect or any possible design of the fourth aspect. The input and output interface is used for outputting the second information. The logic circuit is used to run the computer program or instructions to implement the method in the above fourth aspect or any possible design of the fourth aspect.
第十一方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述任一方面中任一项的方法。In an eleventh aspect, an embodiment of the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium runs on a computer, the computer can execute any one of the preceding aspects. method.
第十二方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述任一方面中任一项的方法。In a twelfth aspect, embodiments of the present application provide a computer program product including instructions, which, when run on a computer, enables the computer to execute the method in any one of the foregoing aspects.
第十三方面,本申请实施例提供一种电路系统,电路系统包括处理电路,处理电路被配置为执行如上述任一方面中任一项的方法。In a thirteenth aspect, embodiments of the present application provide a circuit system, where the circuit system includes a processing circuit configured to perform the method according to any one of the foregoing aspects.
第十四方面,本申请实施例提供一种通信系统,该通信系统包括上述各个方面中任一项中的第一终端设备和第二终端设备。In a fourteenth aspect, an embodiment of the present application provides a communication system, where the communication system includes the first terminal device and the second terminal device in any one of the foregoing aspects.
其中,第六方面至第十四方面中任一种设计所带来的技术效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。Wherein, the technical effect brought by any one of the designs in the sixth aspect to the fourteenth aspect may refer to the beneficial effects in the corresponding method provided above, which will not be repeated here.
附图说明Description of drawings
图1为本申请实施例提供的一种全感知机制的资源分布示意图;FIG. 1 is a schematic diagram of resource distribution of a full perception mechanism provided by an embodiment of the present application;
图2为本申请实施例提供的一种部分感知机制的资源分布示意图;FIG. 2 is a schematic diagram of resource distribution of a partial sensing mechanism provided by an embodiment of the present application;
图3为本申请实施例提供的一种资源确定方法的流程示意图;3 is a schematic flowchart of a resource determination method provided by an embodiment of the present application;
图4为本申请实施例提供的一种通信系统的架构示意图;FIG. 4 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application;
图5为本申请实施例提供的再一种通信系统的架构示意图;FIG. 5 is a schematic diagram of the architecture of still another communication system provided by an embodiment of the present application;
图6为本申请实施例提供的一种资源确定方法的流程示意图;FIG. 6 is a schematic flowchart of a resource determination method provided by an embodiment of the present application;
图7a为本申请实施例提供的再一种资源确定方法的流程示意图;FIG. 7a is a schematic flowchart of still another resource determination method provided by an embodiment of the present application;
图7b为本申请实施例提供的又一种资源确定方法的流程示意图;FIG. 7b is a schematic flowchart of another resource determination method provided by an embodiment of the present application;
图8a为本申请实施例提供的又一种资源确定方法的流程示意图;FIG. 8a is a schematic flowchart of another resource determination method provided by an embodiment of the present application;
图8b为本申请实施例提供的一种资源分布示意图;FIG. 8b is a schematic diagram of resource distribution provided by an embodiment of the present application;
图9a为本申请实施例提供的又一种资源确定方法的流程示意图;FIG. 9a is a schematic flowchart of another resource determination method provided by an embodiment of the present application;
图9b为本申请实施例提供的再一种资源分布示意图;FIG. 9b is still another schematic diagram of resource distribution provided by an embodiment of the present application;
图9c为本申请实施例提供的又一种资源确定方法的流程示意图;FIG. 9c is a schematic flowchart of another resource determination method provided by an embodiment of the present application;
图9d为本申请实施例提供的又一种资源分布示意图;FIG. 9d is another schematic diagram of resource distribution provided by an embodiment of the present application;
图10为本申请实施例提供的又一种资源确定方法的流程示意图;FIG. 10 is a schematic flowchart of another resource determination method provided by an embodiment of the present application;
图11a为本申请实施例提供的又一种资源分布示意图;FIG. 11a is another schematic diagram of resource distribution provided by an embodiment of the present application;
图11b为本申请实施例提供的又一种资源确定方法的流程示意图;FIG. 11b is a schematic flowchart of another resource determination method provided by an embodiment of the present application;
图11c为本申请实施例提供的又一种资源确定方法的流程示意图;FIG. 11c is a schematic flowchart of another resource determination method provided by an embodiment of the present application;
图11d为本申请实施例提供的又一种资源分布示意图;FIG. 11d is another schematic diagram of resource distribution provided by an embodiment of the present application;
图12a为本申请实施例提供的又一种资源分布示意图;FIG. 12a is another schematic diagram of resource distribution provided by an embodiment of the present application;
图12b为本申请实施例提供的又一种资源确定方法的流程示意图;FIG. 12b is a schematic flowchart of another resource determination method provided by an embodiment of the present application;
图12c为本申请实施例提供的又一种资源确定方法的流程示意图;FIG. 12c is a schematic flowchart of another resource determination method provided by an embodiment of the present application;
图12d为本申请实施例提供的又一种资源分布示意图;FIG. 12d is another schematic diagram of resource distribution provided by an embodiment of the present application;
图13为本申请实施例提供的一种通信装置的结构示意图;FIG. 13 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图14为本申请实施例提供的再一种通信装置的结构示意图。FIG. 14 is a schematic structural diagram of still another communication apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,或者用于区别对同一对象的不同处理,而不是用于描述对象的特定顺序。此外,本申请的描述中所提到的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。例如包 含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。本申请实施例中,“多个”包括两个或两个以上。本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。在本申请实施例中,“传输”视具体情况,可以包括“发送”或“接收”,还可以包括发送和接收。The terms "first" and "second" in the description and drawings of the present application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of the objects. Furthermore, references to the terms "comprising" and "having" in the description of this application, and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes other unlisted steps or units, or optionally also Include other steps or units inherent to these processes, methods, products or devices. In the embodiments of the present application, "a plurality of" includes two or more. In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or illustrations. Any embodiments or designs described in the embodiments of the present application as "exemplary" or "such as" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present the related concepts in a specific manner. In this embodiment of the present application, "transmit" may include "send" or "receive", and may also include both sending and receiving, depending on the specific situation.
首先,介绍本申请中所涉及的全感知机制。First, the full perception mechanism involved in this application is introduced.
在协议第14版本(release 14,R14)中,车与万物(vehicle to X,V2X)引入了全感知机制,具体处理过程如下:In the 14th version of the protocol (release 14, R14), the vehicle and all things (vehicle to X, V2X) introduced a full perception mechanism, the specific processing process is as follows:
步骤一、第二终端设备获取待发送的业务数据。Step 1: The second terminal device acquires the service data to be sent.
示例性的,参见图1,第二终端设备在时刻n或时刻n附近有新的业务数据到达,需要向其他终端设备(如第一终端设备)发送业务数据。Exemplarily, referring to FIG. 1 , the second terminal device has new service data arriving at or near time n, and needs to send service data to other terminal devices (eg, the first terminal device).
步骤二、第二终端设备确定感知窗(sensing window)和资源选择窗(resource selection window)。Step 2: The second terminal device determines a sensing window (sensing window) and a resource selection window (resource selection window).
示例性的,参见图1,感知窗即为n时刻之前的预设时长,如1000ms。感知窗的起始时刻可以记为:n-T 0,感知窗的结束时刻可以记为:n-T proc,0。感知窗中的资源包括周期性传输(periodic traffic)的资源,以及非周期性传输(aperiodic traffic)的资源。其中,周期性传输的资源之间的间隔被标识为gap,即传输周期。传输周期一般为100ms的整数倍,也可以是20ms或50ms。感知窗也可以描述为侦听窗,本申请实施例对此不作限定。 Exemplarily, referring to FIG. 1 , the perception window is a preset duration before time n, such as 1000 ms. The start time of the perception window can be recorded as: nT 0 , and the end time of the perception window can be recorded as: nT proc,0 . The resources in the perception window include resources for periodic traffic and resources for aperiodic traffic. The interval between periodically transmitted resources is identified as a gap, that is, a transmission period. The transmission period is generally an integer multiple of 100ms, and may also be 20ms or 50ms. The sensing window may also be described as a listening window, which is not limited in this embodiment of the present application.
示例性的,参见图1,资源选择窗即为n时刻之后的预设时长。资源选择窗的起始时刻可以记为:n+T 1,资源选择窗的结束时刻可以记为:n+T 2。资源选择窗中的资源属于候选的资源(candidate resource)。 Exemplarily, referring to FIG. 1 , the resource selection window is a preset duration after time n. The start time of the resource selection window can be recorded as: n+T 1 , and the end time of the resource selection window can be recorded as: n+T 2 . The resources in the resource selection window belong to candidate resources.
步骤三、第二终端设备根据感知窗的感知结果,在资源选择窗中选择传输资源,以上报媒体接入控制(medium access control,MAC)层。Step 3: The second terminal device selects a transmission resource in the resource selection window according to the perception result of the perception window, and reports to the medium access control (Medium Access Control, MAC) layer.
示例性的,在全感知机制中,第二终端设备对感知窗内的所有资源进行感知,以得到感知结果。如图1所示,第二终端设备对感知窗内的资源(如周期性传输的资源、非周期性传输的资源)进行感知。然后,第二终端设备根据感知结果,对处于资源选择窗中的资源进行选择。例如,第二终端设备基于侧行链路(sidelink,SL)的参考信号接收功率(reference signal received power,RSRP)阈值进行资源选择,以从资源选择窗内筛选出X%的资源,上报MAC层。其中,参考信号接收功率阈值,也可以替换为参考信号接收功率门限值,记为SL-Thres-RSRP-List。参考信号接收功率门限值是基于pi和pj确定的。其中,pi是第二终端设备上待传输业务的优先级,pj是感知窗的资源上传输业务的优先级。若某一资源的RSRP测量值超过该参考信号接收功率门限值,则第二终端设备确定该资源不可用,反之,若某一资源的RSRP测量值未超过该参考信号接收功率门限值,则第二终端设备确定该资源可用,属于待选择的资源,以便后续做进一步的随机选择等处理步骤。通常,第二终端设备上待传输业务的优先级越高,对于干扰的要求越低,即参考信号接收功率门限值的取值越高,以便能够涵盖更多的资源。Exemplarily, in the full sensing mechanism, the second terminal device senses all resources within the sensing window to obtain sensing results. As shown in FIG. 1 , the second terminal device senses resources within the sensing window (eg, resources for periodic transmission and resources for aperiodic transmission). Then, the second terminal device selects the resources in the resource selection window according to the sensing result. For example, the second terminal device selects resources based on the reference signal received power (RSRP) threshold of the sidelink (SL), so as to filter out X% resources from the resource selection window, and report to the MAC layer . The reference signal received power threshold may also be replaced with a reference signal received power threshold, which is denoted as SL-Thres-RSRP-List. The reference signal received power threshold is determined based on pi and pj. Wherein, pi is the priority of the service to be transmitted on the second terminal device, and pj is the priority of the service to be transmitted on the resource of the perception window. If the RSRP measurement value of a certain resource exceeds the reference signal received power threshold, the second terminal device determines that the resource is unavailable; otherwise, if the RSRP measurement value of a certain resource does not exceed the reference signal received power threshold, Then, the second terminal device determines that the resource is available and belongs to the resource to be selected, so that further processing steps such as random selection can be performed subsequently. Generally, the higher the priority of the service to be transmitted on the second terminal device, the lower the requirement for interference, that is, the higher the value of the reference signal received power threshold value, so that more resources can be covered.
为了进一步降低终端设备侧的功耗,第二终端设备可以采用部分感知机制。示例性的, 感知窗和资源选择窗仍满足一定的周期性要求,但感知窗和资源选择窗内的资源(如时隙)是不连续的。例如,参见图2,资源选择窗内的时隙按照周期T 1间隔分布。如此,第二终端设备可用的时隙数量减少,且感知的时隙数量也减少了,从而降低了第二终端设备的功耗。 In order to further reduce the power consumption on the side of the terminal device, the second terminal device may adopt a partial sensing mechanism. Exemplarily, the sensing window and the resource selection window still meet certain periodicity requirements, but the resources (eg, time slots) within the sensing window and the resource selection window are discontinuous. For example, referring to FIG. 2, the time slots within the resource selection window are spaced with a period T1. In this way, the number of time slots available to the second terminal device is reduced, and the number of perceived time slots is also reduced, thereby reducing the power consumption of the second terminal device.
为了进一步提高数据传输的可靠性,第二终端设备在进行资源选择时,兼顾第一终端设备侧的干扰情况。示例性的,参见图3,第二终端设备向第一终端设备发送触发消息。相应的,第一终端设备接收来自第二终端设备的触发消息。其中,触发消息携带待传输业务数据的优先级、时延要求等信息。第一终端设备根据触发消息中携带的信息,在资源选择窗中进行资源选择,以得到第一终端设备推荐使用(或推荐不使用)的资源。之后,第一终端设备向第二终端设备发送辅助信息。相应的,第二终端设备接收来自第一终端设备的辅助信息。其中,辅助信息指示第一终端设备推荐使用(或推荐不使用)的资源。辅助信息指示的资源是基于第一终端设备侧的干扰程度和资源占用状况确定的,以辅助第二终端设备通过全感知机制或部分感知机制来选择资源。In order to further improve the reliability of data transmission, when the second terminal device selects resources, the interference situation on the side of the first terminal device is taken into consideration. Exemplarily, referring to FIG. 3 , the second terminal device sends a trigger message to the first terminal device. Correspondingly, the first terminal device receives the trigger message from the second terminal device. The trigger message carries information such as priority of the service data to be transmitted, delay requirements and the like. The first terminal device selects resources in the resource selection window according to the information carried in the trigger message, so as to obtain resources recommended by the first terminal device (or not recommended to be used). After that, the first terminal device sends auxiliary information to the second terminal device. Correspondingly, the second terminal device receives the auxiliary information from the first terminal device. Wherein, the auxiliary information indicates a resource recommended to be used (or not recommended to be used) by the first terminal device. The resources indicated by the auxiliary information are determined based on the interference degree and resource occupation status on the side of the first terminal device, so as to assist the second terminal device to select resources through a full sensing mechanism or a partial sensing mechanism.
然而,辅助信息指示的全部资源或部分资源可能位于第二终端设备的资源选择窗口外,导致辅助信息未被充分地利用,从而导致第二终端设备选择的资源无法充分兼顾第一终端设备的干扰状况,影响数据传输可靠性。However, all or part of the resources indicated by the auxiliary information may be located outside the resource selection window of the second terminal device, resulting in insufficient utilization of the auxiliary information, and thus the resources selected by the second terminal device cannot fully take into account the interference of the first terminal device condition, which affects the reliability of data transmission.
也就是说,辅助信息对应的资源选择窗与第二终端设备的资源选择窗不对齐时,影响数据传输可靠性。其中,不对齐,可以是指,辅助信息指示的资源中至少一个资源不在第二终端设备的资源选择窗中(或辅助信息指示的资源中至少一个资源在第二终端设备的资源选择窗外),或者,辅助信息指示的资源所在的资源选择窗与第二终端设备的资源选择窗完全不重合或部分重合(或辅助信息指示的资源所在的资源选择窗与第二终端设备的资源选择窗未完全重合)。That is to say, when the resource selection window corresponding to the auxiliary information is not aligned with the resource selection window of the second terminal device, the reliability of data transmission is affected. Wherein, the misalignment may mean that at least one resource among the resources indicated by the auxiliary information is not in the resource selection window of the second terminal device (or at least one resource among the resources indicated by the auxiliary information is outside the resource selection window of the second terminal device), Or, the resource selection window where the resource indicated by the auxiliary information is located is completely or partially overlapped with the resource selection window of the second terminal device (or the resource selection window where the resource indicated by the auxiliary information is located and the resource selection window of the second terminal device are not completely overlapped. coincide).
有鉴于此,本申请实施例提供一种资源确定方法,本申请实施例资源确定方法可以适用于终端设备之间通信的系统,如V2X通信系统、设备到设备(device to device,D2D)系统。参见图4,该通信系统包括至少两个终端设备40,两个终端设备40之间能够通过侧行链路直接进行通信。可选的,参见图5,该通信系统还包括网络设备50。终端设备40还可以与网络设备50进行通信(图4和图5中仅示出了两个终端设备40)。In view of this, an embodiment of the present application provides a resource determination method, and the resource determination method of the embodiment of the present application can be applied to a system for communication between terminal devices, such as a V2X communication system and a device to device (device to device, D2D) system. Referring to FIG. 4 , the communication system includes at least two terminal devices 40, and the two terminal devices 40 can communicate directly through a side link. Optionally, referring to FIG. 5 , the communication system further includes a network device 50 . The terminal device 40 can also communicate with the network device 50 (only two terminal devices 40 are shown in Figures 4 and 5).
其中,终端设备40主要用于接收或者发送数据。可选的,本申请实施例中所涉及到的终端设备40可以是实现终端设备40功能的设备或设备中的组件,比如,终端设备40包括例如但不限于各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备;还可以包括用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、手持设备(handheld)、膝上型电脑(laptop computer)、机器类型通信(machine type communication,MTC)终端(terminal)、用户设备(user equipment,UE)、移动终端等。又比如,终端设备40可以是上述任一设备中的组件(比如,终端设备40可以指上述任一设备中的芯片系统)。本申请实施例中所涉及到的终端设备40还可以是作为一个或多个部件或者单元而内置于车辆的车载模块、车载模组、车载部件、车载芯片或者车载单元,车辆通过内置的所述车载模块、车载模组、车载部件、车载芯片或者车载单元可以实施本申请的方法。在本申请一些实施例中,终端设备还可以称为终端,在此统 一说明,下文不再赘述。The terminal device 40 is mainly used for receiving or sending data. Optionally, the terminal device 40 involved in the embodiments of the present application may be a device or a component in the device that implements the function of the terminal device 40. For example, the terminal device 40 includes, for example, but not limited to, various handheld devices with wireless communication functions. , in-vehicle device, wearable device, computing device, or other processing device connected to a wireless modem; may also include subscriber units, cellular phones, smart phones, wireless data cards, personal digital Assistant (personal digital assistant, PDA) computer, tablet computer, handheld device (handheld), laptop computer (laptop computer), machine type communication (machine type communication, MTC) terminal (terminal), user equipment (user equipment, UE), mobile terminal, etc. For another example, the terminal device 40 may be a component in any of the above-mentioned devices (for example, the terminal device 40 may refer to a chip system in any of the above-mentioned devices). The terminal device 40 involved in the embodiments of the present application may also be an on-board module, on-board module, on-board component, on-board chip or on-board unit built into the vehicle as one or more components or units. An on-board module, on-board module, on-board component, on-board chip or on-board unit may implement the method of the present application. In some embodiments of the present application, the terminal device may also be referred to as a terminal, which is described in a unified manner here, and will not be repeated below.
网络设备50是一种部署在无线接入网用以提供无线通信功能的装置。可选的,网络设备50可以指接入网的空中接口上通过一个或多个小区与无线终端设备40通信的设备,其中,实现网络设备50的功能的装置可以是网络设备50,也可以是支持网络设备50实现该功能的装置(比如网络设备50中的芯片)。可选的,网络设备50可对空中接口进行属性管理。基站设备还可协调对空中接口的属性管理。网络设备50包括各种形式的宏基站,微基站(也称为小站),诸如中继站的中继设备或中继设备的芯片,发送接收点(transmission reception point,TRP),演进型网络节点(evolved Node B,eNB),下一代网络节点(generation Node B,gNB)、连接下一代核心网的演进型节点(ng evolved Node B,ng-eNB)等。或者,在分布式基站场景下,网络设备50可以是基带单元(base band unit,BBU)和射频拉远单元(remote radio unit,RRU),在云无线接入网(cloud radio access Netowrk,CRAN)场景下,网络设备50可以是基带池(BBU pool)和RRU。The network device 50 is a device deployed in a radio access network to provide a wireless communication function. Optionally, the network device 50 may refer to a device on the air interface of the access network that communicates with the wireless terminal device 40 through one or more cells, wherein the device implementing the functions of the network device 50 may be the network device 50 or A device (such as a chip in the network device 50 ) that supports the network device 50 to implement this function. Optionally, the network device 50 may perform attribute management on the air interface. The base station equipment may also coordinate attribute management of the air interface. The network device 50 includes various forms of macro base stations, micro base stations (also called small cells), relay devices such as relay stations or chips of relay devices, transmission reception points (TRPs), evolved network nodes ( evolved Node B, eNB), next generation network node (generation Node B, gNB), evolved node (ng evolved Node B, ng-eNB) connected to the next generation core network, etc. Alternatively, in a distributed base station scenario, the network device 50 may be a base band unit (BBU) and a remote radio unit (RRU), and in a cloud radio access network (cloud radio access Netowrk, CRAN) In the scenario, the network device 50 may be a baseband pool (BBU pool) and an RRU.
图4和图5所示的通信系统可以应用于目前的长期演进(long term evolution,LTE)或者高级的长期演进(LTE advanced,LTE-A)系统中,也可以应用于目前正在制定的5G网络或者未来的其它网络中,当然,还可以应用于LTE和5G混合组网的系统中,或者其他系统中,本申请实施例对此不作具体限定。其中,在不同的网络中,上述通信系统中的网络设备50、终端设备40可能对应不同的名字,本领域技术人员可以理解的是,名字对设备本身不构成限定。The communication systems shown in FIG. 4 and FIG. 5 can be applied to current long term evolution (LTE) or advanced long term evolution (LTE advanced, LTE-A) systems, and can also be applied to 5G networks currently being developed Or in other networks in the future, of course, it may also be applied to a system of mixed LTE and 5G networking, or other systems, which are not specifically limited in this embodiment of the present application. Wherein, in different networks, the network device 50 and the terminal device 40 in the above communication system may correspond to different names, and those skilled in the art can understand that the names do not limit the devices themselves.
本申请实施例描述的通信系统以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定。本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The communication systems and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those of ordinary skill in the art know that with the evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
下面对本申请实施例提供的资源确定方法进行具体阐述。The resource determination method provided by the embodiment of the present application will be specifically described below.
需要说明的是,本申请下述实施例中各个网元之间的消息名字或消息中各参数的名字等只是一个示例,具体实现中也可以是其他的名字。在本申请实施例中,辅助信息指示的资源可以包括第一终端设备推荐使用的资源,也可以包括第一终端设备推荐不使用的资源。其中,推荐,也可以替换为倾向于、或期待于。即辅助信息指示的资源可以包括第一终端设备倾向于使用的资源,也可以包括第一终端设备倾向于不使用的资源。“推荐使用”还可以替换为“能使用”,“推荐不使用”还可以替换为“不能使用”。即辅助信息指示的资源可以包括第一终端设备能使用的资源,也可以包括第一终端设备不能使用的资源。在本申请实施例中,以“推荐”这一表述为例进行介绍。第一资源选择窗用于第一终端设备进行资源选择,第二资源选择窗用于第二终端设备进行资源选择。其中,资源选择的实现过程可以参见全感知机制或部分感知机制的相关说明。时域资源单元可以包括以下其中一项:时隙、符号等。在本申请中,以触发消息为例进行介绍。在本申请实施例中,A与B之间的间隔,是指,以A和B所在的时域资源单元的索引为基准来确定的差值。例如,同一时隙中,A占用时隙的索引为1,B占用时隙的索引为6,则A与B之间的间隔为5个时隙。应理解,A与B之间的间隔,也可以同等替换为,位于A与B之间的时域资源单元数量,但在数值上相差1。例如,同一时隙中,A占用时隙的索引为1,B占用时隙的索引为6,则A与B之间的间隔为4个时隙。在此统一说明,以下不再赘述。It should be noted that the names of messages between network elements or the names of parameters in the messages in the following embodiments of the present application are just an example, and other names may also be used in specific implementations. In this embodiment of the present application, the resources indicated by the auxiliary information may include resources recommended to be used by the first terminal device, and may also include resources recommended not to be used by the first terminal device. Among them, recommendation can also be replaced with tending or expecting. That is, the resources indicated by the auxiliary information may include resources that the first terminal device tends to use, or resources that the first terminal device tends not to use. "Recommended" can also be replaced with "Can be used", and "Not recommended" can also be replaced with "Cannot be used". That is, the resources indicated by the auxiliary information may include resources that can be used by the first terminal device, or resources that cannot be used by the first terminal device. In the embodiments of the present application, the expression "recommended" is used as an example for introduction. The first resource selection window is used for the first terminal device to select resources, and the second resource selection window is used for the second terminal device to select resources. For the implementation process of resource selection, please refer to the relevant description of the full-sensing mechanism or the partial-sensing mechanism. Time domain resource units may include one of the following: slots, symbols, and so on. In this application, a trigger message is used as an example for introduction. In the embodiment of the present application, the interval between A and B refers to a difference value determined based on the indices of the time-domain resource units where A and B are located. For example, in the same time slot, the index of the time slot occupied by A is 1, and the index of the time slot occupied by B is 6, then the interval between A and B is 5 time slots. It should be understood that the interval between A and B can also be equally replaced by the number of time-domain resource units located between A and B, but the difference in value is 1. For example, in the same time slot, the index of the time slot occupied by A is 1, and the index of the time slot occupied by B is 6, then the interval between A and B is 4 time slots. Here, a unified description is provided, and details are not repeated below.
本申请实施例提供一种资源确定方法600,该资源确定方法应用在侧行链路的数据传输过程中。参见图6,该方法包括如下步骤:The embodiment of the present application provides a resource determination method 600, and the resource determination method is applied in the data transmission process of the sidelink. Referring to Figure 6, the method includes the following steps:
S601、第二终端设备向第一终端设备发送第一信息。相应的,第一终端设备接收来自第二终端设备的第一信息。S601. The second terminal device sends first information to the first terminal device. Correspondingly, the first terminal device receives the first information from the second terminal device.
其中,第一信息指示第二时域资源集合。Wherein, the first information indicates the second time domain resource set.
其中,第二时域资源集合的介绍如下:第二时域资源集合至少包括两个时域资源单元,上述两个时域资源单元之间的至少一个时域资源单元不属于第二时域资源集合。也就是说,第二时域资源集合中的时域资源单元在时域上是不连续的。例如,以时域资源单元是时隙为例,第二时域资源集合包括索引为1、3、5和7的时隙,或者,第二时域资源集合包括索引为1、3、5、6和7的时隙。示例性的,第二时域资源集合是基于第二资源选择窗确定的,即第二时域资源集合中的时域资源单元位于第二资源选择窗内。The introduction of the second time-domain resource set is as follows: the second time-domain resource set includes at least two time-domain resource units, and at least one time-domain resource unit between the two time-domain resource units does not belong to the second time-domain resource gather. That is, the time domain resource units in the second time domain resource set are discontinuous in the time domain. For example, taking the time domain resource unit as a time slot as an example, the second time domain resource set includes time slots with indices 1, 3, 5, and 7, or the second time domain resource set includes indices 1, 3, 5, 6 and 7 time slots. Exemplarily, the second time domain resource set is determined based on the second resource selection window, that is, the time domain resource units in the second time domain resource set are located within the second resource selection window.
其中,第一信息的介绍如下:Among them, the introduction of the first information is as follows:
示例性的,第一信息指示起始时域资源单元的位置,以及与起始时域资源单元之间的间隔。其中,第二时域资源集合可以包括起始时域资源单元,也可以不包括起始时域资源单元。示例性的,仍以时域资源单元是时隙为例,第一信息可以包括位图。其中,一个位图对应一个第二资源选择窗,一个位图包括至少一个比特,位图中的一个比特对应一个时隙。一个比特取值为“1”,则该比特对应的时隙属于第二时域资源集合。反之,一个比特取值为“0”,则该比特对应的时隙不属于第二时域资源集合。例如,位图的取值为:01010101,即起始时隙对应比特的取值为“0”,不属于第二时域资源集合,位图中取值为“1”的比特对应的时隙索引为1、3、5和7。也就是说,第二时域资源集合包括索引为1、3、5和7的时隙。再如,位图的取值为:11010111,即起始时隙对应比特的取值为“1”,属于第二时域资源集合,位图中取值为“1”的比特对应的时隙索引为0、1、3、5、6和7。也就是说,第二时域资源集合包括索引为0、1、3、5、6和7的时隙。Exemplarily, the first information indicates the location of the starting time-domain resource unit and the interval from the starting time-domain resource unit. Wherein, the second time domain resource set may include the initial time domain resource unit, or may not include the initial time domain resource unit. Exemplarily, still taking the example that the time domain resource unit is a time slot, the first information may include a bitmap. One bitmap corresponds to one second resource selection window, one bitmap includes at least one bit, and one bit in the bitmap corresponds to one time slot. If a bit takes a value of "1", the time slot corresponding to this bit belongs to the second time domain resource set. Conversely, if a bit takes a value of "0", the time slot corresponding to this bit does not belong to the second time domain resource set. For example, the value of the bitmap is: 01010101, that is, the value of the bit corresponding to the initial time slot is "0", which does not belong to the second time domain resource set, and the time slot corresponding to the bit valued as "1" in the bitmap The indices are 1, 3, 5 and 7. That is, the second time-domain resource set includes time slots with indices 1, 3, 5, and 7. For another example, the value of the bitmap is: 11010111, that is, the value of the corresponding bit of the initial time slot is “1”, which belongs to the second time domain resource set, and the time slot corresponding to the bit valued as “1” in the bitmap The indices are 0, 1, 3, 5, 6 and 7. That is, the second time-domain resource set includes time slots with indices of 0, 1, 3, 5, 6, and 7.
示例性的,第一信息还包括以下至少一项:Exemplarily, the first information further includes at least one of the following:
第一项,指示信息。其中,指示信息指示第二终端设备为部分感知终端,即第二终端设备采用部分感知机制进行资源选择。示例性的,指示信息可以为预设数量的比特,如指示信息实现为1个比特,在该比特的取值为“1”的情况下,指示信息指示第二终端设备为部分感知终端。如此,第一终端设备即可确定第二时域资源集合中的时域资源单元在时域上是不连续的。反之,在该比特的取值为“0”的情况下,指示信息指示第二终端设备为全感知终端。如此,第一终端设备即可确定第二资源选择窗中的时域资源单元在时域上是连续的。The first item, indicating information. The indication information indicates that the second terminal device is a partial sensing terminal, that is, the second terminal device uses a partial sensing mechanism to select resources. Exemplarily, the indication information may be a preset number of bits, for example, the indication information is implemented as 1 bit, and when the value of the bit is "1", the indication information indicates that the second terminal device is a partial sensing terminal. In this way, the first terminal device can determine that the time domain resource units in the second time domain resource set are discontinuous in the time domain. On the contrary, when the value of this bit is "0", the indication information indicates that the second terminal device is a fully aware terminal. In this way, the first terminal device can determine that the time domain resource units in the second resource selection window are continuous in the time domain.
第二项,第一业务的信息。其中,第一业务为上述业务数据对应的业务。例如,第一业务的信息包括第一业务的周期、第一业务的起始时隙等信息。The second item is the information of the first business. The first service is a service corresponding to the above service data. For example, the information of the first service includes information such as a period of the first service, a start time slot of the first service, and the like.
第三项,第二资源选择窗的起始位置。例如,第一信息通过预设数量的比特指示第二资源选择窗的起始时隙位置。作为一种可能的实现方式,第一信息通过预设数量的比特指示N个时域资源单元。其中,N是指,第二资源选择窗的起始位置与发送第一信息的时域资源资源之间间隔的时域资源单元的数量。示例性的,第二资源选择窗的起始位置与第一信息所在时隙之间间隔6个时隙,则N=6,第一信息通过预设数量的比特指示的取值为6。第一信息指示第二资源选择窗的起始时隙位置的信息,是根据所述第二资源选择窗的起始位置和发送第一信息的时域资源单元之间的间隔确定的。The third item is the starting position of the second resource selection window. For example, the first information indicates the starting time slot position of the second resource selection window through a preset number of bits. As a possible implementation manner, the first information indicates N time-domain resource units through a preset number of bits. Wherein, N refers to the number of time-domain resource units in the interval between the start position of the second resource selection window and the time-domain resource resource for sending the first information. Exemplarily, there are 6 time slots between the start position of the second resource selection window and the time slot where the first information is located, so N=6, and the value of the first information indicated by the preset number of bits is 6. The information indicating the position of the initial time slot of the second resource selection window by the first information is determined according to the interval between the initial position of the second resource selection window and the time domain resource unit for sending the first information.
第四项,第二资源选择窗的窗口长度。其中,窗口长度也可以替换为窗口大小。例如,在第二终端设备采用全感知模式的情况下,第二资源选择窗的窗口长度可以通过第二资源选择窗中的时域资源单元数量来表征。The fourth item is the window length of the second resource selection window. The window length can also be replaced by the window size. For example, when the second terminal device adopts the full perception mode, the window length of the second resource selection window may be characterized by the number of time-domain resource units in the second resource selection window.
第五项,第二资源选择窗内的时域资源单元数量。仍以时域资源单元为时隙为例,在位图的取值为01010101时,第二资源选择窗内的时隙数量为4个。在位图的取值为11010111时,第二资源选择窗内的时隙数量为6个。The fifth item is the number of time-domain resource units in the second resource selection window. Still taking the time domain resource unit as a time slot as an example, when the value of the bitmap is 01010101, the number of time slots in the second resource selection window is 4. When the value of the bitmap is 11010111, the number of time slots in the second resource selection window is 6.
第六项,第二资源选择窗的周期。The sixth item is the period of the second resource selection window.
示例性的,第一信息可以是触发消息,具体可以参见图3的相关说明,此处不再赘述。触发消息属于侧行控制信令,可以承载于侧行链路控制信息(sidelink control information,SCI)-2,也可以承载于MAC层信令。当然,第一信息也可以实现为其他的消息,如无线资源控制(radio resource control,RRC)信令的配置消息,本申请实施例对此不作限定。Exemplarily, the first information may be a trigger message. For details, reference may be made to the related description of FIG. 3 , which will not be repeated here. The trigger message belongs to sidelink control signaling, which can be carried in sidelink control information (SCI)-2, or can be carried in MAC layer signaling. Certainly, the first information may also be implemented as other messages, such as a configuration message of radio resource control (radio resource control, RRC) signaling, which is not limited in this embodiment of the present application.
S602、第一终端设备在第二时域资源集合内确定至少一个第一资源。S602. The first terminal device determines at least one first resource in the second time domain resource set.
其中,第一资源的数量可以是一个,也可以是多个。至少一个第一资源中每一第一资源所在的时域资源单元均属于第二时域资源集合。在第一资源为第一终端设备推荐使用的资源的情况下,相对于第一资源选择窗中除上述至少一个第一资源之外的资源而言,至少一个第一资源的干扰程度相对较低。反之,在第一资源为第一终端设备推荐不使用的资源的情况下,相对于第一资源选择窗中除上述至少一个第一资源之外的资源而言,至少一个第一资源的干扰程度相对较高。Wherein, the number of the first resource may be one, or may be multiple. The time domain resource unit where each first resource in the at least one first resource is located belongs to the second time domain resource set. In the case where the first resource is a resource recommended for use by the first terminal device, the interference degree of the at least one first resource is relatively low compared to the resources in the first resource selection window other than the at least one first resource. . Conversely, in the case where the first resource is a resource that is not recommended for use by the first terminal device, the degree of interference of the at least one first resource relative to the resources other than the at least one first resource in the first resource selection window Relatively high.
其中,第一终端设备进行资源选择时,可以采用全感知模式,也可以采用部分感知模式,具体参见如下两种示例的介绍:Wherein, when the first terminal device selects resources, it can adopt a full sensing mode or a partial sensing mode. For details, please refer to the introduction of the following two examples:
示例一、第一终端设备采用全感知模式进行资源选择。示例性的,S602的具体实现过程如下:首先,第一终端设备进行资源检测,以确定感知结果1。其中,资源检测的对象包括以下至少一项:第二时域资源集合内的资源,第二时域资源集合之前预设时长内的资源。然后,第一终端设备基于感知结果1,从第二时域资源集合内确定至少一个第一资源。其中,感知结果1的确定过程,以及根据感知结果1中确定至少一个第一资源的过程,可以参见全感知机制的相关介绍,此处不再赘述。Example 1: The first terminal device uses the full perception mode to select resources. Exemplarily, the specific implementation process of S602 is as follows: First, the first terminal device performs resource detection to determine a perception result 1 . The object of resource detection includes at least one of the following: resources in the second time-domain resource set, and resources within a preset duration before the second time-domain resource set. Then, based on the sensing result 1, the first terminal device determines at least one first resource from the second time domain resource set. The process of determining the perception result 1 and the process of determining at least one first resource according to the perception result 1 can be referred to the relevant introduction of the full perception mechanism, which will not be repeated here.
示例二、第一终端设备采用部分感知模式进行资源选择,具体参见如下三种方式的介绍:Example 2: The first terminal device uses the partial sensing mode to select resources. For details, please refer to the introduction of the following three methods:
方式1,参见图7a,S602的具体实现过程包括S602a和S602b: Mode 1, referring to Fig. 7a, the specific implementation process of S602 includes S602a and S602b:
S602a、第一终端设备在第二时域资源集合内确定候选资源1。S602a: The first terminal device determines candidate resource 1 in the second time domain resource set.
其中,候选资源1的数量可以是一个,也可以是多个。并且,候选资源1所在的时域资源单元属于第一时域资源集合,第一时域资源集合是基于第一资源选择窗确定的。The number of candidate resources 1 may be one or multiple. Moreover, the time domain resource unit where the candidate resource 1 is located belongs to the first time domain resource set, and the first time domain resource set is determined based on the first resource selection window.
示例性的,第一终端设备将时域资源单元既属于第一时域资源集合,又属于第二时域资源集合的资源,作为候选资源1。换言之,候选资源1既在第一资源选择窗内,又在第二资源选择窗内。Exemplarily, the first terminal device regards the time-domain resource unit as a resource that belongs to both the first time-domain resource set and the second time-domain resource set as candidate resource 1 . In other words, candidate resource 1 is within both the first resource selection window and the second resource selection window.
S602b、第一终端设备在候选资源1中确定第二资源。S602b, the first terminal device determines the second resource in candidate resource 1.
其中,第二资源的数量可以是一个,也可以是多个。第二资源属于至少一个第一资源。Wherein, the number of the second resource may be one, or may be multiple. The second resource belongs to at least one first resource.
示例性的,第一终端设备根据候选资源1和预设比例1,确定第二资源,如第一终端设备按照预设比例1,从候选资源1中筛选一定数量的资源,以作为第二资源。或者,第 一终端设备对候选资源1和/或候选资源1之前的资源进行资源检测,以确定感知结果2。第一终端设备根据感知结果2确定第二资源。其中,感知结果2指示候选资源1中每一资源的RSRP测量值。感知结果2的确定过程,以及根据感知结果2中确定第二资源的过程,可以参见部分感知机制的相关说明,此处不再赘述。Exemplarily, the first terminal device determines the second resource according to the candidate resource 1 and the preset ratio 1. For example, the first terminal device selects a certain number of resources from the candidate resource 1 according to the preset ratio 1 as the second resource. . Alternatively, the first terminal device performs resource detection on candidate resource 1 and/or resources before candidate resource 1 to determine perception result 2. The first terminal device determines the second resource according to the sensing result 2 . Wherein, the sensing result 2 indicates the RSRP measurement value of each resource in the candidate resource 1. For the process of determining the sensing result 2, and the process of determining the second resource according to the sensing result 2, reference may be made to the relevant descriptions of some sensing mechanisms, which will not be repeated here.
也就是说,在第一资源选择窗与第二资源选择窗存在交集的情况下,第一终端设备对交集上的资源进行处理,以得到第二资源。第一终端设备再将第二资源的信息反馈给第二终端设备,也就避免了第一终端设备与第二终端设备在资源选择窗上不对齐的问题。That is to say, in the case where there is an intersection between the first resource selection window and the second resource selection window, the first terminal device processes the resources on the intersection to obtain the second resource. The first terminal device then feeds back the information of the second resource to the second terminal device, which avoids the problem that the first terminal device and the second terminal device are not aligned on the resource selection window.
应理解,第一资源选择窗与第二资源选择窗之间可以包括如下情况:It should be understood that the following situations may be included between the first resource selection window and the second resource selection window:
第一种情况,第一资源选择窗与第二资源选择窗完全重合。也就是说,第一资源选择窗与第二资源选择窗的窗口大小、起始时刻、结束时刻均相同。In the first case, the first resource selection window and the second resource selection window completely overlap. That is to say, the window size, start time, and end time of the first resource selection window and the second resource selection window are the same.
第二种情况,第一资源选择窗与第二资源选择窗的窗口大小不同、且第一资源选择窗位于第二资源选择窗内。In the second case, the window sizes of the first resource selection window and the second resource selection window are different, and the first resource selection window is located within the second resource selection window.
第三种情况,第一资源选择窗与第二资源选择窗的窗口大小不同、且第二资源选择窗位于第一资源选择窗内。In the third case, the first resource selection window and the second resource selection window have different window sizes, and the second resource selection window is located within the first resource selection window.
第四种情况,第一资源选择窗与第二资源选择窗部分重合。其中,第一资源选择窗与第二资源选择窗的窗口大小可以相同,也可以不同。In the fourth case, the first resource selection window partially overlaps with the second resource selection window. The window sizes of the first resource selection window and the second resource selection window may be the same or different.
第五种情况,第一资源选择窗与第二资源选择窗不存在重合部分。其中,第一资源选择窗与第二资源选择窗的窗口大小可以相同,也可以不同。In the fifth case, there is no overlap between the first resource selection window and the second resource selection window. The window sizes of the first resource selection window and the second resource selection window may be the same or different.
需要说明的是,方式1是可选的方式。例如,在第一资源选择窗与第二资源选择窗满足上述第一种至第四种情况下,第一终端设备可以采用方式1确定第一资源,也可以不采用方式1确定第一资源,本申请实施例对此不作限定。在第一资源选择窗与第二资源选择窗满足上述第五种情况下,如第一资源选择窗与第二资源选择窗不存在交集,第一终端设备不采用方式1确定第一资源,可以采用方式2确定第一资源。It should be noted that mode 1 is an optional mode. For example, when the first resource selection window and the second resource selection window satisfy the above-mentioned first to fourth cases, the first terminal device may determine the first resource by adopting method 1, or may not use method 1 to determine the first resource, This embodiment of the present application does not limit this. When the first resource selection window and the second resource selection window satisfy the fifth situation above, if there is no intersection between the first resource selection window and the second resource selection window, the first terminal device does not use the method 1 to determine the first resource, and can Mode 2 is used to determine the first resource.
方式2,参见图7b,S602的具体实现过程包括S602c和S602d: Mode 2, see Fig. 7b, the specific implementation process of S602 includes S602c and S602d:
S602c、第一终端设备在第二时域资源集合内确定候选资源2。S602c: The first terminal device determines candidate resource 2 in the second time domain resource set.
其中,候选资源2的数量可以是一个,也可以是多个。并且,候选资源2所在的时域资源单元不属于第一时域资源集合。The number of candidate resources 2 may be one or multiple. Moreover, the time domain resource unit where the candidate resource 2 is located does not belong to the first time domain resource set.
示例性的,第一终端设备将时域资源单元不属于第一时域资源集合,但属于第二时域资源集合的资源,作为候选资源2。换言之,候选资源2在第一资源选择窗外,但在第二资源选择窗内。Exemplarily, the first terminal device uses the time domain resource unit that does not belong to the first time domain resource set, but belongs to the second time domain resource set, as the candidate resource 2 . In other words, candidate resource 2 is outside the first resource selection window, but within the second resource selection window.
S602d、第一终端设备在候选资源2中确定第三资源。S602d, the first terminal device determines a third resource in candidate resource 2.
其中,第三资源的数量可以是一个,也可以是多个。第三资源属于至少一个第一资源。Wherein, the quantity of the third resource may be one, or may be multiple. The third resource belongs to at least one first resource.
示例性的,作为第一种可能的实现方式,S602d的具体实现过程包括:第一终端设备进行资源检测,以得到候选资源2的感知结果3。其中,资源检测的对象包括以下至少一项:候选资源2,候选资源2之前一段时长内的资源。感知结果3的确定过程可以参见部分感知机制的介绍,此处不再赘述。其中,感知结果3指示候选资源2中每一资源的RSRP测量值。然后,第一终端设备根据感知结果3,确定第三资源。例如,第一终端设备将满足预设条件的资源作为第三资源。其中,预设条件可以为:第三资源的RSRP测量值小于或等于参考信号接收功率门限值。Exemplarily, as a first possible implementation manner, the specific implementation process of S602d includes: the first terminal device performs resource detection to obtain the perception result 3 of the candidate resource 2 . The object of resource detection includes at least one of the following: candidate resource 2, and resources within a period of time before candidate resource 2. For the process of determining the perception result 3, reference may be made to the introduction of some perception mechanisms, which will not be repeated here. Wherein, the sensing result 3 indicates the RSRP measurement value of each resource in the candidate resource 2. Then, the first terminal device determines the third resource according to the sensing result 3 . For example, the first terminal device uses the resource that meets the preset condition as the third resource. The preset condition may be: the RSRP measurement value of the third resource is less than or equal to the reference signal received power threshold value.
示例性的,作为第二种可能的实现方式,S602d的具体实现过程包括:第一终端设备根据候选资源2和预设比例2,确定第三资源。例如,第一终端设备按照预设比例2,从候选资源2中筛选一定数量的资源,以作为第三资源。Exemplarily, as a second possible implementation manner, the specific implementation process of S602d includes: the first terminal device determines the third resource according to the candidate resource 2 and the preset ratio 2 . For example, the first terminal device selects a certain number of resources from the candidate resources 2 according to the preset ratio 2 to be used as the third resources.
也就是说,第一终端设备从第二资源选择窗内,但第一资源选择窗外的资源中,确定第一资源(即S602d中第三资源),以使第一资源在第二资源选择窗内,从而使得第一资源能够辅助第二终端设备进行资源选择。That is to say, the first terminal device determines the first resource (ie, the third resource in S602d) from the resources within the second resource selection window but outside the first resource selection window, so that the first resource is within the second resource selection window so that the first resource can assist the second terminal device in resource selection.
需要说明的是,方式2是可选的方式,例如,在第一资源选择窗与第二资源选择窗满足上述第一种情况(即第一资源选择窗与第二资源选择窗完全重合)、第三种情况(即第一资源选择窗与第二资源选择窗的窗口大小不同、且第二资源选择窗位于第一资源选择窗内)下,不存在位于第一资源选择窗外,但位于第二资源选择窗内的资源。所以,第一终端设备不采用方式2确定第一资源。在第一资源选择窗与第二资源选择窗满足上述第二种情况(即第一资源选择窗与第二资源选择窗的窗口大小不同、且第一资源选择窗位于第二资源选择窗内)、第四种情况(即第一资源选择窗与第二资源选择窗部分重合)或第五种情况(第一资源选择窗与第二资源选择窗不存在交集)的情况下,存在位于第一资源选择窗外,但位于第二资源选择窗内的资源。第一终端设备可以采用方式2确定第一资源,也可以不采用方式2确定第一资源,本申请实施例对此不作限定。It should be noted that Mode 2 is an optional mode. For example, the first resource selection window and the second resource selection window satisfy the above-mentioned first situation (that is, the first resource selection window and the second resource selection window completely overlap), In the third case (that is, the window sizes of the first resource selection window and the second resource selection window are different, and the second resource selection window is located in the first resource selection window), there is no window outside the first resource selection window, but is located in the first resource selection window. 2. Resources in the resource selection window. Therefore, the first terminal device does not use Mode 2 to determine the first resource. The second situation above is satisfied in the first resource selection window and the second resource selection window (that is, the window sizes of the first resource selection window and the second resource selection window are different, and the first resource selection window is located in the second resource selection window) , in the fourth case (that is, the first resource selection window and the second resource selection window partially overlap) or the fifth case (the first resource selection window and the second resource selection window do not have an intersection), there is a Resources outside the resource selection window, but within the second resource selection window. The first terminal device may determine the first resource by using Mode 2, or may not determine the first resource by using Mode 2, which is not limited in this embodiment of the present application.
方式3,S602的具体实现过程包括S602a、S602b、S602c和S602d。其中,S602c具体实现为:在第二资源的资源量小于阈值1的情况下,第一终端设备在第二时域资源集合内确定候选资源2。其中,阈值1可以是预配置的数值。也就是说,第一终端设备优先执行S602a和S602b,再执行S602c和S602d,即第一终端设备优先确定第二资源,在第二资源的资源量不足的情况下,第一终端设备才确定第三资源。由于第二资源既在第一资源选择窗内,又在第二资源选择窗内,所以,第二资源是最优选的资源,有利于保证数据传输可靠性。 Mode 3, the specific implementation process of S602 includes S602a, S602b, S602c and S602d. Wherein, S602c is specifically implemented as: when the resource amount of the second resource is less than the threshold value 1, the first terminal device determines the candidate resource 2 in the second time domain resource set. The threshold value 1 may be a preconfigured value. That is to say, the first terminal device preferentially executes S602a and S602b, and then executes S602c and S602d, that is, the first terminal device preferentially determines the second resource, and the first terminal device determines the second resource only when the resource amount of the second resource is insufficient. Three resources. Since the second resource is both within the first resource selection window and within the second resource selection window, the second resource is the most preferred resource, which is conducive to ensuring data transmission reliability.
需要说明的是,在方式3中,若第一终端设备执行S602d时,根据预设比例2来确定第三资源,则预设比例2的取值与第二资源的资源量有关,即预设比例2是基于第二资源的资源量确定的。例如,在第二资源的资源量与阈值1的差值越大时,预设比例2的取值越大,以加大第三资源的资源量,从而保证第一资源的资源量达到阈值1。反之,在第二资源的资源量与阈值1的差值越小时,预设比例2的取值越小,以降低第三资源的资源量,从而使得第一资源的资源量不超过阈值1。It should be noted that, in mode 3, if the first terminal device determines the third resource according to the preset ratio 2 when performing S602d, the value of the preset ratio 2 is related to the resource amount of the second resource, that is, the preset ratio 2 is related to the resource amount of the second resource. The ratio 2 is determined based on the resource amount of the second resource. For example, when the difference between the resource amount of the second resource and the threshold value 1 is larger, the value of the preset ratio 2 is larger to increase the resource amount of the third resource, thereby ensuring that the resource amount of the first resource reaches the threshold value 1 . Conversely, when the difference between the resource amount of the second resource and the threshold value 1 is smaller, the value of the preset ratio 2 is smaller, so as to reduce the resource amount of the third resource, so that the resource amount of the first resource does not exceed the threshold value 1.
S603、第一终端设备向第二终端设备发送第二信息。相应的,第二终端设备接收来自第一终端设备的第二信息。S603. The first terminal device sends the second information to the second terminal device. Correspondingly, the second terminal device receives the second information from the first terminal device.
其中,第二信息指示至少一个第一资源。Wherein, the second information indicates at least one first resource.
示例性的,第二信息可以是辅助信息,具体可以参见图3的相关说明,此处不再赘述。辅助信息属于侧行控制信令,可以承载于SCI-2,也可以承载于MAC层信令。当然,第二信息也可以实现为其他的消息,如辅助信息承载于物理层侧行反馈信道(physical layer sidelink feedback channel,PSFCH)的反馈信息,本申请实施例对此不作限定。Exemplarily, the second information may be auxiliary information, and for details, reference may be made to the relevant description of FIG. 3 , which will not be repeated here. The auxiliary information belongs to the sideline control signaling, which can be carried in the SCI-2 or in the MAC layer signaling. Certainly, the second information may also be implemented as other messages, such as feedback information carried by the auxiliary information on a physical layer sidelink feedback channel (PSFCH), which is not limited in this embodiment of the present application.
S604、第二终端设备根据至少一个第一资源,确定目标资源。S604. The second terminal device determines the target resource according to the at least one first resource.
其中,目标资源用于向其他终端设备(如第一终端设备)传输业务数据。示例性的,业务数据对应的业务为上述第一业务。The target resource is used to transmit service data to other terminal devices (eg, the first terminal device). Exemplarily, the service corresponding to the service data is the above-mentioned first service.
示例性的,第二终端设备根据第二资源选择窗内资源的感知结果和上述至少一个第一资源,进行资源选择,以确定目标资源。例如,在第一资源是第一终端设备推荐使用的资源的情况下,目标资源可以包括上述至少一个第一资源中的一个或多个。反之,在第一资源是第一终端设备推荐不使用的资源的情况下,目标资源不包括上述至少一个第一资源中的任意一个。Exemplarily, the second terminal device performs resource selection according to the sensing result of the resources in the second resource selection window and the at least one first resource to determine the target resource. For example, in the case where the first resource is a resource recommended for use by the first terminal device, the target resource may include one or more of the above-mentioned at least one first resource. Conversely, in the case that the first resource is a resource recommended not to be used by the first terminal device, the target resource does not include any one of the above at least one first resource.
在本申请实施例提供的资源确定方法600中,第二终端设备向第一终端设备发送第一信息,以使第一终端设备在确定第一资源时更有针对性,即至少一个第一资源中每一第一资源所在的时域资源单元属于第二时域资源集合。由于第二时域资源集合是第二终端设备已知的时域资源单元的集合,所以,第二终端设备在已知的时域资源单元上,根据至少一个第一资源,确定目标资源,即第二终端设备在进行资源选择时充分利用第二信息,以兼顾第一终端设备的干扰状况,从而保障数据传输可靠性。In the resource determination method 600 provided in this embodiment of the present application, the second terminal device sends the first information to the first terminal device, so that the first terminal device is more targeted when determining the first resource, that is, at least one first resource The time domain resource unit in which each first resource is located belongs to the second time domain resource set. Since the second time-domain resource set is a set of time-domain resource units known to the second terminal device, the second terminal device determines, on the known time-domain resource units, the target resource according to at least one first resource, that is, The second terminal equipment makes full use of the second information when performing resource selection, so as to take into account the interference status of the first terminal equipment, thereby ensuring the reliability of data transmission.
本申请实施例提供一种资源确定方法800,该资源确定方法应用在侧行链路的数据传输过程中。参见图8a,该方法包括如下步骤:The embodiment of the present application provides a resource determination method 800, and the resource determination method is applied in the data transmission process of the sidelink. Referring to Figure 8a, the method includes the following steps:
S801、第二终端设备向第一终端设备发送触发消息。相应的,第一终端设备接收来自第二终端设备的触发消息。S801. The second terminal device sends a trigger message to the first terminal device. Correspondingly, the first terminal device receives the trigger message from the second terminal device.
示例性的,S801的实现过程可以参见图3的相关说明,此处不再赘述。Exemplarily, for the implementation process of S801, reference may be made to the relevant description of FIG. 3, which will not be repeated here.
需要说明的是,S801是可选的步骤。例如,在第一终端设备与第二终端设备建立通信连接之后,第二终端设备首次向第一终端设备发送业务数据的情况下,S801被执行。第二终端设备响应于触发消息,执行S802。再如,在第一终端设备向第二终端设备发送消息X之后,第一终端设备等待第二终端设备的反馈信息,如混合自动重传请求(hybrid automatic repeat request,HARQ)消息,以获知消息X的接收状况。也就是说,第一终端设备已获知自身待接收来自第二终端设备的信息的情况下,第一终端设备执行S802。It should be noted that S801 is an optional step. For example, after the first terminal device establishes a communication connection with the second terminal device, and the second terminal device sends service data to the first terminal device for the first time, S801 is performed. The second terminal device executes S802 in response to the trigger message. For another example, after the first terminal device sends the message X to the second terminal device, the first terminal device waits for feedback information from the second terminal device, such as a hybrid automatic repeat request (HARQ) message, to learn the message. The reception status of X. That is to say, when the first terminal device has learned that it is to receive information from the second terminal device, the first terminal device executes S802.
示例性的,S801中的触发消息属于侧行控制信令,可以承载于SCI-2,也可以承载于MAC层信令。当然,触发消息也可以替换为其他的消息,如RRC信令的配置消息,本申请实施例对此不作限定。Exemplarily, the trigger message in S801 belongs to sideline control signaling, which may be carried in SCI-2 or in MAC layer signaling. Certainly, the trigger message may also be replaced with other messages, such as a configuration message of RRC signaling, which is not limited in this embodiment of the present application.
S802、第一终端设备在第一资源选择窗内确定至少一个第一资源。S802. The first terminal device determines at least one first resource in the first resource selection window.
其中,第一资源的数量可以是一个,也可以是多个。在第一资源为第一终端设备推荐使用的资源的情况下,相对于第一资源选择窗中除上述至少一个第一资源之外的资源而言,至少一个第一资源的干扰程度相对较低。反之,在第一资源为第一终端设备推荐不使用的资源的情况下,相对于第一资源选择窗中除上述至少一个第一资源之外的资源而言,至少一个第一资源的干扰程度相对较高。至少一个第一资源中每一第一资源所在的时域资源单元均属于第一时域资源集合。Wherein, the number of the first resource may be one, or may be multiple. In the case where the first resource is a resource recommended for use by the first terminal device, the interference degree of the at least one first resource is relatively low compared to the resources in the first resource selection window other than the at least one first resource. . Conversely, in the case where the first resource is a resource that is not recommended for use by the first terminal device, the degree of interference of the at least one first resource relative to the resources other than the at least one first resource in the first resource selection window Relatively high. The time domain resource unit where each first resource in the at least one first resource is located belongs to the first time domain resource set.
其中,第一时域资源集合的介绍如下:The introduction of the first time domain resource set is as follows:
示例性的,第一时域资源集合是基于第一资源选择窗确定的,即第一时域资源集合中的时域资源单元位于第一资源选择窗内。下面,通过两种情况进行说明:Exemplarily, the first time domain resource set is determined based on the first resource selection window, that is, the time domain resource units in the first time domain resource set are located within the first resource selection window. Below, two cases are explained:
作为第一种情况,第一时域资源集合至少包括两个时域资源单元,上述两个时域资源单元之间的至少一个时域资源单元不属于第一时域资源集合。也就是说,第一时域资源集合中的时域资源单元在时域上是不连续的。示例性的,第一终端设备执行S802时,采用部分感知模式。例如,以时域资源单元是时隙为例,在位图的取值为:01010101时,第一时 域资源集合包括索引为1、3、5和7的时隙。第一资源选择窗内的时隙数量为4个,第一资源选择窗的窗口大小为4个时隙。再如,在位图的取值为:11010111时,第一时域资源集合包括索引为0、1、3、5、6和7的时隙。第一资源选择窗内的时隙数量为6个,第一资源选择窗的窗口大小为6个时隙。作为第二种情况,第一时域资源集合中的时域资源单元在时域上是连续的,即第一时域资源集合至少包括两个时域资源单元,且上述两个时域资源单元之间的时域资源单元也属于第一时域资源集合。示例性的,第一终端设备执行S802时,可以采用全感知模式,也可以采用部分感知模式。例如,以时域资源单元是时隙为例,在位图的取值为:01111111时,第一时域资源集合包括索引为1至7的时隙。第一资源选择窗内的时隙数量为7个,第一资源选择窗的窗口大小为7个时隙。在第二种情况下,第一时域资源集合可以基于第一资源选择窗的起始位置和第一资源选择窗的窗口长度确定。示例性的,第一资源选择窗的起始位置与第二信息所在时隙之间间隔5个时隙,第一资源选择窗的窗口长度为10个时隙,则第一时域资源集合包括:与第二信息所在时隙之间间隔为5到14之间的时隙。As a first case, the first time domain resource set includes at least two time domain resource units, and at least one time domain resource unit between the two time domain resource units does not belong to the first time domain resource set. That is, the time domain resource units in the first time domain resource set are discontinuous in the time domain. Exemplarily, when the first terminal device executes S802, the partial sensing mode is adopted. For example, taking the time domain resource unit as a time slot as an example, when the value of the bitmap is: 01010101, the first time domain resource set includes time slots with indices 1, 3, 5 and 7. The number of time slots in the first resource selection window is 4, and the window size of the first resource selection window is 4 time slots. For another example, when the value of the bitmap is: 11010111, the first time domain resource set includes time slots with indices of 0, 1, 3, 5, 6 and 7. The number of time slots in the first resource selection window is 6, and the window size of the first resource selection window is 6 time slots. As the second case, the time-domain resource units in the first time-domain resource set are continuous in the time domain, that is, the first time-domain resource set includes at least two time-domain resource units, and the above two time-domain resource units The time-domain resource units in between also belong to the first time-domain resource set. Exemplarily, when the first terminal device performs S802, a full sensing mode or a partial sensing mode may be used. For example, taking the time domain resource unit as a time slot as an example, when the value of the bitmap is: 01111111, the first time domain resource set includes time slots with indexes 1 to 7. The number of time slots in the first resource selection window is 7, and the window size of the first resource selection window is 7 time slots. In the second case, the first time-domain resource set may be determined based on the starting position of the first resource selection window and the window length of the first resource selection window. Exemplarily, there are 5 time slots between the starting position of the first resource selection window and the time slot where the second information is located, and the window length of the first resource selection window is 10 time slots, then the first time domain resource set includes: : a time slot between 5 and 14 between the time slot and the time slot where the second information is located.
需要说明的是,在部分感知模式下,第一时域资源集合中的时域资源单元在时域上可以是连续的,也可以是不连续的,详见上述两种情况的介绍。It should be noted that in the partial sensing mode, the time-domain resource units in the first time-domain resource set may be continuous or discontinuous in the time domain. For details, please refer to the introduction of the above two cases.
示例性的,S802的实现过程可以参见图3的相关说明,此处不再赘述。Exemplarily, for the implementation process of S802, reference may be made to the relevant description of FIG. 3 , which will not be repeated here.
S803、第一终端设备向第二终端设备发送第二信息。相应的,第二终端设备接收来自第一终端设备的第二信息。S803. The first terminal device sends the second information to the second terminal device. Correspondingly, the second terminal device receives the second information from the first terminal device.
其中,第二信息指示至少一个第一资源和第一时域资源集合。Wherein, the second information indicates at least one first resource and a first time domain resource set.
其中,第二信息的介绍如下:Among them, the introduction of the second information is as follows:
示例性的,第二信息包括第一资源选择窗的信息。其中,第一资源选择窗的信息包括以下至少一项:Exemplarily, the second information includes information of the first resource selection window. Wherein, the information of the first resource selection window includes at least one of the following:
第一项、第一资源选择窗的起始位置。例如,第二信息通过预设数量的比特指示第一资源选择窗的起始时隙位置。作为一种可能的实现方式,第二信息通过预设数量的比特指示N个时域资源单元。其中,N是指,第一资源选择窗的起始位置与发送第二信息的时域资源资源之间间隔的时域资源单元的数量。示例性的,第一资源选择窗的起始位置与第二信息所在时隙之间间隔6个时隙,则N=6,第二信息通过预设数量的比特指示的取值为6。第二信息指示第一资源选择窗的起始时隙位置的信息,是根据所述第一资源选择窗的起始位置和发送第二信息的时域资源单元之间的间隔确定的。The first item, the starting position of the first resource selection window. For example, the second information indicates the starting time slot position of the first resource selection window through a preset number of bits. As a possible implementation manner, the second information indicates N time-domain resource units through a preset number of bits. Wherein, N refers to the number of time-domain resource units in the interval between the start position of the first resource selection window and the time-domain resource resource for sending the second information. Exemplarily, there are 6 time slots between the start position of the first resource selection window and the time slot where the second information is located, then N=6, and the value of the second information indicated by the preset number of bits is 6. The information indicating the position of the initial time slot of the first resource selection window by the second information is determined according to the interval between the initial position of the first resource selection window and the time domain resource unit for sending the second information.
第二项、第一资源选择窗的窗口长度。其中,窗口长度也可以替换为窗口大小。例如,在第一终端设备采用全感知模式的情况下,第一资源选择窗的窗口长度可以通过第一资源选择窗中的时域资源单元数量来表征。The second item is the window length of the first resource selection window. The window length can also be replaced by the window size. For example, when the first terminal device adopts the full perception mode, the window length of the first resource selection window may be characterized by the number of time-domain resource units in the first resource selection window.
第三项、第一资源选择窗内的时域资源单元数量。仍以时域资源单元为时隙为例,在位图的取值为01010101时,第一资源选择窗内的时隙数量为4个。在位图的取值为11010111时,第一资源选择窗内的时隙数量为6个。The third item is the number of time-domain resource units in the first resource selection window. Still taking the time domain resource unit as a time slot as an example, when the value of the bitmap is 01010101, the number of time slots in the first resource selection window is 4. When the value of the bitmap is 11010111, the number of time slots in the first resource selection window is 6.
第四项、第一资源选择窗内的时域资源单元具体位置。示例性的,第二信息指示起始时域资源单元的位置,以及与起始时域资源单元之间的间隔。其中,第一时域资源集合可以包括起始时域资源单元,也可以不包括起始时域资源单元。仍以时域资源单元是时隙为例,第二信息可以为位图。其中,一个位图对应一个第一资源选择窗,一个位图包括至少 一个比特,位图中的一个比特对应一个时隙。一个比特取值为“1”,则该比特对应的时隙属于第一时域资源集合。反之,一个比特取值为“0”,则该比特对应的时隙不属于第一时域资源集合。例如,位图的取值为:01010101,即起始时隙对应比特的取值为“0”,不属于第一时域资源集合,位图中取值为“1”的比特对应的时隙索引为1、3、5和7。也就是说,第一时域资源集合包括索引为1、3、5和7的时隙。再如,位图的取值为:11010111,即起始时隙对应比特的取值为“1”,属于第一时域资源集合,位图中取值为“1”的比特对应的时隙索引为0、1、3、5、6和7。也就是说,第一时域资源集合包括索引为0、1、3、5、6和7的时隙。又如,位图的取值为:01111111,即起始时隙对应比特的取值为“0”,不属于第一时域资源集合,位图中取值为“1”的比特对应的时隙索引为1至7。也就是说,第一时域资源集合包括索引为1至7的时隙。The fourth item, the specific location of the time domain resource unit in the first resource selection window. Exemplarily, the second information indicates the position of the starting time-domain resource unit and the interval from the starting time-domain resource unit. Wherein, the first time domain resource set may include the initial time domain resource unit, or may not include the initial time domain resource unit. Still taking the example that the time domain resource unit is a time slot, the second information may be a bitmap. One bitmap corresponds to one first resource selection window, one bitmap includes at least one bit, and one bit in the bitmap corresponds to one time slot. When a bit takes a value of "1", the time slot corresponding to this bit belongs to the first time domain resource set. Conversely, if a bit takes a value of "0", the time slot corresponding to this bit does not belong to the first time domain resource set. For example, the value of the bitmap is: 01010101, that is, the value of the bit corresponding to the initial time slot is "0", which does not belong to the first time domain resource set, and the time slot corresponding to the bit valued as "1" in the bitmap The indices are 1, 3, 5 and 7. That is, the first time domain resource set includes time slots with indices 1, 3, 5, and 7. For another example, the value of the bitmap is: 11010111, that is, the value of the corresponding bit of the initial time slot is "1", which belongs to the first time domain resource set, and the time slot corresponding to the bit whose value is "1" in the bitmap The indices are 0, 1, 3, 5, 6 and 7. That is, the first time-domain resource set includes time slots with indices of 0, 1, 3, 5, 6, and 7. For another example, the value of the bitmap is: 01111111, that is, the value of the bit corresponding to the initial time slot is “0”, which does not belong to the first time domain resource set, and the time corresponding to the bit valued as “1” in the bitmap The slot indices are 1 to 7. That is, the first time domain resource set includes time slots with indices 1 to 7.
第五项、第二资源选择窗的周期。The fifth item, the period of the second resource selection window.
第六项、指示信息。其中,指示信息指示第一终端设备为部分感知终端,即第一终端设备采用部分感知机制进行资源选择。例如,指示信息可以为预设数量的比特,如指示信息实现为1个比特,在该比特的取值为“1”的情况下,指示信息指示第一终端设备为部分感知终端。如此,第二终端设备即可确定第一时域资源集合中的时域资源单元在时域上是不连续的。反之,在该比特的取值为“0”的情况下,指示信息指示第一终端设备为全感知终端。如此,第二终端设备即可确定第一资源选择窗中的时域资源单元在时域上是连续的。The sixth item, instruction information. The indication information indicates that the first terminal device is a partial sensing terminal, that is, the first terminal device adopts a partial sensing mechanism to select resources. For example, the indication information may be a preset number of bits, for example, the indication information is implemented as 1 bit, and when the value of the bit is "1", the indication information indicates that the first terminal device is a partial sensing terminal. In this way, the second terminal device can determine that the time domain resource units in the first time domain resource set are discontinuous in the time domain. On the contrary, when the value of this bit is "0", the indication information indicates that the first terminal device is a fully aware terminal. In this way, the second terminal device can determine that the time domain resource units in the first resource selection window are continuous in the time domain.
需要说明的是,在第二信息包括上述第一项和第二项的情况下,第二信息也就能够指示第一资源选择窗的位置。换言之,第二信息还包括第一资源选择窗的位置信息。It should be noted that, when the second information includes the above-mentioned first item and the second item, the second information can also indicate the position of the first resource selection window. In other words, the second information further includes location information of the first resource selection window.
示例性的,第二信息可以是辅助信息,具体可以参见图3的相关说明,此处不再赘述。辅助信息属于侧行控制信令,可以承载于SCI-2,也可以承载于MAC层信令。当然,第二信息也可以实现为其他的消息,如PSFCH的反馈信息,本申请实施例对此不作限定。Exemplarily, the second information may be auxiliary information, and for details, reference may be made to the relevant description of FIG. 3 , which will not be repeated here. The auxiliary information belongs to the sideline control signaling, which can be carried in the SCI-2 or in the MAC layer signaling. Certainly, the second information may also be implemented as other messages, such as feedback information of the PSFCH, which is not limited in this embodiment of the present application.
S804、第二终端设备根据至少一个第一资源和第一时域资源集合,确定目标资源。S804. The second terminal device determines the target resource according to the at least one first resource and the first time domain resource set.
其中,目标资源用于向其他终端设备(如第一终端设备)传输业务数据。示例性的,业务数据对应的业务为上述第一业务。The target resource is used to transmit service data to other terminal devices (eg, the first terminal device). Exemplarily, the service corresponding to the service data is the above-mentioned first service.
示例性的,第二终端设备基于上述至少一个第一资源和第一时域资源集合,可以确定如下三类资源:Exemplarily, the second terminal device may determine the following three types of resources based on the at least one first resource and the first set of time domain resources:
第一类资源,第一终端设备推荐使用的资源,记为集合A1。例如,在第一资源为第一终端设备推荐使用的资源的情况下,集合A1即为第一资源的集合。再如,在第一资源为第一终端设备推荐不使用的资源的情况下,集合A1即为第一资源在第一时域资源集合中的补集,也就是说,在第一资源选择窗内,除第一资源之外的资源均属于集合A1,换言之,集合A1中各个资源所在的时域资源单元属于第一时域资源集合,但与第一资源所在的时域资源单元不同。如图8b所示,图8b中示出了第一类资源在第一资源选择窗内的分布状况。The first type of resources, the resources recommended for use by the first terminal device, are denoted as set A1. For example, when the first resource is a resource recommended for use by the first terminal device, the set A1 is the set of the first resources. For another example, in the case where the first resource is a resource that is not recommended for use by the first terminal device, the set A1 is the complement of the first resource in the first time domain resource set, that is, in the first resource selection window In the set A1, resources other than the first resource belong to the set A1, in other words, the time domain resource unit where each resource in the set A1 is located belongs to the first time domain resource set, but is different from the time domain resource unit where the first resource is located. As shown in Fig. 8b, Fig. 8b shows the distribution of the first type of resources in the first resource selection window.
第二类资源,第一终端设备推荐不使用的资源,记为集合A2。例如,在第一资源为第一终端设备推荐不使用的资源的情况下,集合A2即为第一资源的集合。再如,在第一资源为第一终端设备推荐使用的资源的情况下,集合A2即为第一资源在第一时域资源集合中的补集,也就是说,在第一资源选择窗内,除第一资源之外的资源均属于集合A2,换言之,集合A2中各个资源所在的时域资源单元属于第一时域资源集合,但与第一资源所在 的时域资源单元不同。如图8b所示,图8b中示出了第二类资源在第一资源选择窗内的分布状况。从图8b可知,第一资源选择窗内的资源有两类,即上述第一类资源和第二类资源。The second type of resources, the resources recommended not to be used by the first terminal device, are recorded as set A2. For example, in the case that the first resource is a resource recommended not to be used by the first terminal device, the set A2 is the set of the first resources. For another example, when the first resource is a resource recommended by the first terminal device, the set A2 is the complement of the first resource in the first time domain resource set, that is, within the first resource selection window. , the resources except the first resource belong to the set A2, in other words, the time domain resource unit where each resource in the set A2 is located belongs to the first time domain resource set, but is different from the time domain resource unit where the first resource is located. As shown in Fig. 8b, Fig. 8b shows the distribution of the second type of resources in the first resource selection window. It can be seen from Fig. 8b that there are two types of resources in the first resource selection window, namely the above-mentioned first type of resources and second type of resources.
第三类资源,第一终端设备未指示推荐是否使用的资源,记为集合A3。也就是说,在第一资源选择窗外的资源均属于无推荐信息的资源,即第一资源选择窗外的资源均属于集合A3。换言之,集合A3中的资源所在的时域资源单元不属于第一时域资源集合。如图8b所示,图8b中示出了第三类资源在第一资源选择窗外的分布状况。从图8b可知,第一资源选择窗外的资源,即为上述第三类资源。The third type of resources, the resources for which the first terminal device does not indicate whether to recommend to use or not, are denoted as set A3. That is to say, the resources outside the first resource selection window all belong to the resources without recommendation information, that is, the resources outside the first resource selection window all belong to the set A3. In other words, the time domain resource unit where the resources in the set A3 are located does not belong to the first time domain resource set. As shown in Fig. 8b, Fig. 8b shows the distribution of the third type of resources outside the first resource selection window. It can be seen from FIG. 8b that the resources outside the first resource selection window are the above-mentioned third type of resources.
下面,通过两个示例来介绍第二终端设备对上述三类资源的处理过程,即S804的实现过程包括:Below, two examples are used to introduce the processing process of the above three types of resources by the second terminal device, that is, the implementation process of S804 includes:
示例一,参见图9a,S804的实现过程包括S8041至S8043:Example 1, referring to FIG. 9a, the implementation process of S804 includes S8041 to S8043:
S8041、第二终端设备进行资源检测,以得到感知结果1。S8041 , the second terminal device performs resource detection to obtain a perception result 1 .
示例性的,S8041中资源检测的对象包括以下至少一项:第二资源选择窗内的资源,第二资源选择窗之前一段时长内的资源。第二终端设备进行RSRP测量,以得到感知结果1。Exemplarily, the object of resource detection in S8041 includes at least one of the following: resources in the second resource selection window, and resources within a period of time before the second resource selection window. The second terminal device performs RSRP measurement to obtain sensing result 1.
S8042、第二终端设备根据感知结果1,从第二资源选择窗内的资源中进行资源选择,以得到第二时频资源集合。S8042. The second terminal device selects resources from the resources in the second resource selection window according to the sensing result 1, so as to obtain a second set of time-frequency resources.
示例性的,第二终端设备根据感知结果1,从第二资源选择窗内的资源中选择X%的资源,作为第二时频资源集合。其中,第二时频资源集合可以记为集合B。X%的取值可以是以下其中一项:20%、30%、50%、或100%。参见图9b,图9b中的(2)示出了集合B中的资源在第二资源选择窗内的分布状况。Exemplarily, according to the sensing result 1, the second terminal device selects X% resources from the resources in the second resource selection window as the second time-frequency resource set. The second time-frequency resource set may be recorded as set B. The value of X% can be one of the following: 20%, 30%, 50%, or 100%. Referring to Fig. 9b, (2) in Fig. 9b shows the distribution of the resources in the set B within the second resource selection window.
S8043、第二终端设备根据至少一个第一资源、第一时域资源集合和第二时频资源集合,确定目标资源。示例性的,通过如下三个步骤介绍S8043的实现过程:S8043. The second terminal device determines the target resource according to the at least one first resource, the first time-domain resource set, and the second time-frequency resource set. Exemplarily, the implementation process of S8043 is introduced through the following three steps:
步骤a,第二终端设备将属于上述第一类资源和第二时频资源集合的资源,作为第二资源。也就是说,第二资源是基于至少一个第一资源确定的,且属于第二时频资源集合的资源。示例性的,在集合A1与集合B存在交集的情况下,第二资源属于集合A1和集合B交集的资源。参见图9b,图9b中的(3)示出了第二资源的分布状况。其中,“表征第二资源的矩形框”中的填充图案与“表征集合A1中资源的矩形框”中的填充图案一致,以体现第二资源选自集合A1。并且,“表征第二资源的矩形框”与“表征集合B中资源的矩形框”均为加粗的线,以体现第二资源选自集合B。其中,集合A1的资源可以参见图9b中的(1)。如此,第二资源既是第一终端设备推荐使用,又是第二终端设备推荐使用的资源,有利于保证数据传输可靠性,又能够避免第一终端设备和第二终端设备在资源选择窗上不对齐的问题。In step a, the second terminal device uses the resources belonging to the first type of resources and the second set of time-frequency resources as the second resources. That is, the second resource is determined based on at least one first resource and belongs to the second time-frequency resource set. Exemplarily, in the case that the set A1 and the set B have an intersection, the second resource belongs to the resource of the intersection of the set A1 and the set B. Referring to Fig. 9b, (3) in Fig. 9b shows the distribution of the second resource. Wherein, the filling pattern in the "rectangular box representing the second resource" is consistent with the filling pattern in the "rectangular box representing the resource in the set A1", to reflect that the second resource is selected from the set A1. In addition, the "rectangular box representing the second resource" and the "rectangular box representing the resource in set B" are both bold lines to indicate that the second resource is selected from set B. The resources of the set A1 can be referred to (1) in FIG. 9b. In this way, the second resource is not only recommended for use by the first terminal device, but also a resource recommended for use by the second terminal device. Alignment issue.
步骤b,第二终端设备将属于上述第一类资源,但不属于第二时频资源集合的资源,作为第三资源。也就是说,第三资源是基于至少一个第一资源确定的,且不属于第二时频资源集合的资源。示例性的,在集合A1中存在不属于集合B的资源的情况下,第三资源属于集合A1中除集合B之外的资源。或者,第三资源是按照预设比例1,从集合A1中除集合B之外的资源中筛选出来的资源。示例性的,集合A1中除集合B之外的资源有30个,预设比例1为20%,第三资源是筛选出的资源,第三资源的数量为6个。参见图9b, 图9b中的(3)示出了第三资源的分布状况。其中,“表征第三资源的矩形框”中的填充图案与“表征集合A1中资源的矩形框”中的填充图案一致,以体现第三资源选自集合A1。并且,“表征第三资源的矩形框”的位置与“表征集合B中任一资源的矩形框”的位置不同,以体现第三资源不选自集合B。如此,第三资源是第一终端设备推荐使用,但第二终端设备推荐不使用的资源,在一定程度上保证了数据传输可靠性。In step b, the second terminal device uses the resources that belong to the above-mentioned first type of resources but do not belong to the second time-frequency resource set as the third resources. That is, the third resource is determined based on at least one first resource and does not belong to the second time-frequency resource set. Exemplarily, in the case that there are resources in the set A1 that do not belong to the set B, the third resource belongs to the resources other than the set B in the set A1. Or, the third resource is a resource selected from the resources in the set A1 except the set B according to the preset ratio 1. Exemplarily, there are 30 resources in the set A1 except the set B, the preset ratio 1 is 20%, the third resource is the selected resource, and the number of the third resource is 6. Referring to Fig. 9b, (3) in Fig. 9b shows the distribution of the third resource. Wherein, the filling pattern in the "rectangular box representing the third resource" is consistent with the filling pattern in the "rectangular box representing the resource in the set A1", to reflect that the third resource is selected from the set A1. Moreover, the position of the "rectangular box representing the third resource" is different from the position of the "rectangular box representing any resource in the set B", to show that the third resource is not selected from the set B. In this way, the third resource is a resource recommended by the first terminal device but not recommended by the second terminal device, which ensures the reliability of data transmission to a certain extent.
步骤c,第二终端设备将属于上述第二时频资源集合,但不属于第一时频资源集合的资源,作为第四资源。示例性的,在集合B中存在不属于集合A1和集合A2的资源的情况下,第四资源属于集合B中除集合A1和集合A2之外的资源。或者,第四资源是按照预设比例2,从集合B中除集合A1和集合A2之外的资源中筛选出来的资源。示例性的,集合B中除集合A1和集合A2之外的资源有40个,预设比例2为30%,第四资源是筛选出的资源,第四资源的数量为12个。参见图9b,图9b中的(3)示出了第四资源的分布状况。其中,“表征第四资源的矩形框”中的填充图案与“表征集合A3中资源的矩形框”中的填充图案一致,以体现第四资源选自集合A3。并且,“表征第四资源的矩形框”与“表征集合B中部分资源的矩形框”均是加粗的线,以体现第四资源选自集合B。其中,集合A3的资源可以参见图9b中的(1)。如此,第四资源是第二终端设备推荐使用,但是第一终端设备未指示推荐是否使用的资源(即属于无推荐信息的资源),在一定程度上保证了数据传输可靠性。In step c, the second terminal device uses the resources that belong to the second time-frequency resource set but do not belong to the first time-frequency resource set as the fourth resource. Exemplarily, in the case that there are resources in the set B that do not belong to the sets A1 and A2, the fourth resource belongs to the resources in the set B other than the sets A1 and A2. Or, the fourth resource is a resource selected from the resources in the set B except the set A1 and the set A2 according to the preset ratio 2. Exemplarily, there are 40 resources in set B except set A1 and set A2, the preset ratio 2 is 30%, the fourth resource is a filtered resource, and the number of fourth resources is 12. Referring to Fig. 9b, (3) in Fig. 9b shows the distribution of the fourth resource. Wherein, the filling pattern in the "rectangular box representing the fourth resource" is consistent with the filling pattern in the "rectangular box representing the resource in the set A3", to reflect that the fourth resource is selected from the set A3. In addition, the "rectangular box representing the fourth resource" and the "rectangular box representing some resources in the set B" are both bold lines to indicate that the fourth resource is selected from the set B. The resources of the set A3 may refer to (1) in Fig. 9b. In this way, the fourth resource is recommended for use by the second terminal device, but the first terminal device does not indicate whether the resource is recommended for use (that is, a resource without recommendation information), which ensures the reliability of data transmission to a certain extent.
示例性的,S804实现为步骤a、步骤b和步骤c中的至少一个步骤。例如,在第二终端设备执行步骤a的情况下,目标资源包括第二资源。在第二终端设备执行步骤a和步骤b的情况下,目标资源包括第二资源和第三资源。在第二终端设备执行步骤a、步骤b和步骤c的情况下,目标资源包括第二资源、第三资源和第四资源。Exemplarily, S804 is implemented as at least one of step a, step b, and step c. For example, when the second terminal device performs step a, the target resource includes the second resource. When the second terminal device performs step a and step b, the target resource includes the second resource and the third resource. When the second terminal device performs step a, step b and step c, the target resource includes the second resource, the third resource and the fourth resource.
应理解,第二资源是最优选的资源,即第一终端设备和第二终端设备均推荐使用的资源。第二终端设备还确定第二资源的资源量。在第二资源的资源量低于阈值1的情况下,第二终端设备除了执行步骤a之外,还执行步骤b和步骤c中至少一个步骤。也就是说,目标资源包括第二资源,且第二资源的资源量低于阈值1。在第二终端设备还执行步骤b的情况下,目标资源还包括第三资源。在第二终端设备还执行步骤c的情况下,目标资源还包括第四资源。其中,阈值1可以是S8042中的X%。It should be understood that the second resource is the most preferred resource, that is, the resource recommended by both the first terminal device and the second terminal device. The second terminal device also determines the resource amount of the second resource. When the resource amount of the second resource is lower than the threshold value 1, the second terminal device performs at least one of step b and step c in addition to step a. That is, the target resource includes the second resource, and the resource amount of the second resource is lower than the threshold 1. In the case where the second terminal device also performs step b, the target resource further includes a third resource. In the case that the second terminal device also performs step c, the target resource further includes a fourth resource. Wherein, the threshold value 1 may be X% in S8042.
示例二,参见图9c,S804的实现过程包括S8044和S8045:Example 2, referring to Fig. 9c, the implementation process of S804 includes S8044 and S8045:
S8044、第二终端设备将第一类资源和第三类资源分别与第二资源选择窗进行比较,以得到比较结果。S8044. The second terminal device compares the first type of resources and the third type of resources with the second resource selection window respectively to obtain a comparison result.
示例性的,第二终端设备将第一类资源中在第二资源选择窗内的资源,记为集合A1in,将第一类资源中在第二资源选择窗外的资源,记为集合A1out,将第三类资源中在第二资源选择窗内的资源,记为集合A3in,将第三类资源中在第二资源选择窗外的资源,记为集合A3out。如图9d中的(1)所示,图9d中的(1)示出了集合A1in、集合A1out、集合A3in和集合A3out中资源的分布状况。Exemplarily, the second terminal device denote the resources of the first type of resources in the second resource selection window as the set A1in, the resources of the first type of resources outside the second resource selection window as the set A1out, and set the The resources of the third type of resources in the second resource selection window are denoted as set A3in, and the resources of the third type of resources outside the second resource selection window are denoted as set A3out. As shown in (1) in FIG. 9d, (1) in FIG. 9d shows the distribution of resources in the set A1in, the set A1out, the set A3in, and the set A3out.
S8045、第二终端设备根据比较结果,确定目标资源。示例性的,通过如下三个步骤介绍S8045的实现过程:S8045. The second terminal device determines the target resource according to the comparison result. Exemplarily, the implementation process of S8045 is introduced through the following three steps:
步骤d,第二终端设备进行资源检测,以得到感知结果2。其中,步骤d中资源检测的对象包括以下至少一项:集合A1in中的资源,集合A1in之前的一段时长内的资源。然后, 第二终端设备根据感知结果2,将集合A1in中满足预设条件的资源,作为第五资源。其中,预设条件可以是:RSRP测量值小于或等于参考信号接收功率门限值。也就是说,第五资源是第二资源选择窗内,基于至少一个第一资源确定的、且满足预设条件的资源。换言之,第五资源是在集合A1in中根据预设条件筛选出的资源。如图9d中的(2)所示,图9d中的(2)示出了第五资源的分布状况。其中,“表征第五资源的矩形框”有两个,且两个矩形框的填充图像与“表征集合A1in中资源的矩形框”的填充图案一致,以体现第五资源选自集合A1in。如此,第五资源既是第一终端设备推荐使用,又是第二终端设备推荐使用的资源,有利于保证数据传输可靠性,又能够避免第一终端设备和第二终端设备在资源选择窗上不对齐的问题。Step d, the second terminal device performs resource detection to obtain a perception result 2 . Wherein, the object of resource detection in step d includes at least one of the following: resources in the set A1in, and resources within a period of time before the set A1in. Then, according to the sensing result 2, the second terminal device uses the resources in the set A1in that meet the preset conditions as the fifth resources. The preset condition may be: the RSRP measurement value is less than or equal to the reference signal received power threshold value. That is to say, the fifth resource is a resource within the second resource selection window, determined based on at least one first resource, and satisfying a preset condition. In other words, the fifth resource is a resource selected from the set A1in according to a preset condition. As shown in (2) in FIG. 9d, (2) in FIG. 9d shows the distribution status of the fifth resource. Among them, there are two "rectangular boxes representing the fifth resource", and the filling images of the two rectangular boxes are consistent with the filling pattern of the "rectangular box representing the resources in the set A1in", to reflect that the fifth resource is selected from the set A1in. In this way, the fifth resource is not only recommended for use by the first terminal device, but also a resource recommended for use by the second terminal device. Alignment issues.
步骤e,第二终端设备进行资源检测,以得到感知结果3。其中,步骤e中资源检测的对象包括以下至少一项:集合A3in中的资源,集合A3in之前的一段时长内的资源。然后,第二终端设备根据感知结果3,将集合A3in中满足预设条件的资源,作为第六资源。其中,预设条件的说明可以参见步骤d的介绍,此处不再赘述。也就是说,第六资源是第二资源选择窗内的资源。第六资源所在的时域资源单元不属于第一时域资源集合,且满足预设条件的资源。换言之,第六资源是在集合A3in中根据预设条件筛选出的资源。如图9d中的(2)所示,图9d中的(2)示出了第六资源的分布状况。其中,“表征第六资源的矩形框”有两个,且两个矩形框的填充图案与“表征集合A3in中资源的矩形框”的填充图案一致,以体现第六资源选自集合A3in。如此,第六资源是第二终端设备推荐使用,但是第一终端设备未指示推荐是否使用的资源(即属于无推荐信息的资源),在一定程度上保证了数据传输可靠性。Step e, the second terminal device performs resource detection to obtain a perception result 3 . Wherein, the object of resource detection in step e includes at least one of the following: the resources in the set A3in, and the resources within a period of time before the set A3in. Then, according to the sensing result 3, the second terminal device uses the resources in the set A3in that meet the preset conditions as the sixth resource. For the description of the preset conditions, reference may be made to the introduction of step d, which will not be repeated here. That is, the sixth resource is the resource in the second resource selection window. The time domain resource unit where the sixth resource is located does not belong to the first time domain resource set and is a resource that satisfies a preset condition. In other words, the sixth resource is a resource selected from the set A3in according to a preset condition. As shown in (2) in FIG. 9d, (2) in FIG. 9d shows the distribution status of the sixth resource. Among them, there are two "rectangular boxes representing the sixth resource", and the filling patterns of the two rectangular boxes are consistent with the filling pattern of the "rectangular box representing the resources in the set A3in", so as to reflect that the sixth resource is selected from the set A3in. In this way, the sixth resource is recommended to be used by the second terminal device, but the first terminal device does not indicate whether the resource is recommended to be used (ie, belongs to the resource without recommended information), which ensures the reliability of data transmission to a certain extent.
步骤f,第二终端设备从集合A1out中确定第七资源。也就是说,第七资源是基于至少一个第一资源确定的资源。如图9d中的(2)所示,图9d中的(2)示出了第七资源的分布状况。其中,“表征第七资源的矩形框”有1个,且填充图案与“表征集合A1out中资源的矩形框”的填充图案一致,以体现第七资源选自集合A1out。示例性的,第二终端设备按照预设的比例值3,从集合A1out中筛选一定的资源,作为第七资源。或者,第二终端设备根据资源量差值和比例值4,从集合A1out中筛选一定的资源,作为第七资源。其中,资源量差值是第五资源与目标资源在资源量上的差值。由于集合A1out中资源所在的时域资源单元不属于第二时域资源集合,且第七资源是选自集合A1out的资源,所以,第七资源是第一终端设备推荐使用,但是第二终端设备推荐不使用的资源,在一定程度上保证了数据传输可靠性。Step f, the second terminal device determines the seventh resource from the set A1out. That is, the seventh resource is a resource determined based on the at least one first resource. As shown in (2) in FIG. 9d, (2) in FIG. 9d shows the distribution of the seventh resource. Among them, there is one "rectangular box representing the seventh resource", and the filling pattern is consistent with the filling pattern of the "rectangular box representing the resource in the set A1out", to reflect that the seventh resource is selected from the set A1out. Exemplarily, the second terminal device selects a certain resource from the set A1out according to a preset ratio value of 3, as the seventh resource. Alternatively, the second terminal device selects a certain resource from the set A1out according to the resource amount difference and the ratio value 4, as the seventh resource. The resource amount difference is the difference between the fifth resource and the target resource in resource amount. Since the time domain resource unit where the resources in the set A1out are located does not belong to the second time domain resource set, and the seventh resource is a resource selected from the set A1out, the seventh resource is recommended by the first terminal device, but the second terminal device It is recommended not to use resources, which ensures the reliability of data transmission to a certain extent.
示例性的,S804实现为步骤d、步骤e和步骤f中的至少一个步骤。例如,在第二终端设备执行步骤d的情况下,目标资源包括第五资源。在第二终端设备执行步骤d和步骤e的情况下,目标资源包括第五资源和第六资源。在第二终端设备执行步骤d、步骤e和步骤f的情况下,目标资源包括第五资源、第六资源和第七资源。Exemplarily, S804 is implemented as at least one of step d, step e and step f. For example, when the second terminal device performs step d, the target resource includes the fifth resource. When the second terminal device performs steps d and e, the target resources include fifth resources and sixth resources. When the second terminal device performs step d, step e and step f, the target resource includes the fifth resource, the sixth resource and the seventh resource.
应理解,第五资源是最优选的资源,即第一终端设备和第二终端设备均推荐使用的资源。It should be understood that the fifth resource is the most preferred resource, that is, the resource recommended by both the first terminal device and the second terminal device.
进一步地,第二终端设备还确定第五资源的资源量。在第五资源的资源量低于阈值2的情况下,第二终端设备执行步骤e和步骤f中的至少一个步骤。也就是说,目标资源包括第五资源,且第五资源的资源量低于阈值2。在第二终端设备还执行步骤e的情况下, 目标资源还包括第六资源。在第二终端设备还执行步骤f的情况下,目标资源还包括第七资源。其中,阈值2可以是S8042中的X%。Further, the second terminal device also determines the resource amount of the fifth resource. In the case that the resource amount of the fifth resource is lower than the threshold 2, the second terminal device performs at least one of step e and step f. That is, the target resource includes the fifth resource, and the resource amount of the fifth resource is lower than the threshold 2 . In the case that the second terminal device also performs step e, the target resource further includes a sixth resource. In the case where the second terminal device also performs step f, the target resource further includes a seventh resource. Wherein, the threshold 2 may be X% in S8042.
也就是说,第二终端设备优先从集合A1in中筛选满足预设条件的资源,即确定第五资源。在第五资源不足的情况下,第二终端设备才确定第六资源和第七资源中的至少一项。由于第六资源和第七资源均是两个终端设备(即第一终端设备和第二终端设备)中一个终端设备推荐使用的资源,在一定程度上保证了数据传输可靠性。That is to say, the second terminal device preferentially selects the resources that satisfy the preset condition from the set A1in, that is, determines the fifth resource. When the fifth resource is insufficient, the second terminal device determines at least one of the sixth resource and the seventh resource. Since both the sixth resource and the seventh resource are resources recommended for use by one of the two terminal devices (ie, the first terminal device and the second terminal device), data transmission reliability is guaranteed to a certain extent.
进一步地,在第二终端设备还执行步骤e的情况下,第二终端设备还确定第五资源的资源量和第六资源的资源量。在第五资源和第六资源的资源量之和低于阈值3的情况下,第二终端设备执行步骤f。也就是说,目标资源包括第五资源和第六资源,且第五资源和第六资源的资源量之和低于阈值3的情况下,第二终端设备才执行步骤f。其中,阈值3可以是S8042中的X%。Further, in the case that the second terminal device also performs step e, the second terminal device further determines the resource amount of the fifth resource and the resource amount of the sixth resource. In the case that the sum of the resource amounts of the fifth resource and the sixth resource is lower than the threshold value 3, the second terminal device performs step f. That is, the second terminal device performs step f only when the target resource includes the fifth resource and the sixth resource, and the sum of the resource amounts of the fifth resource and the sixth resource is lower than the threshold 3. Wherein, the threshold 3 may be X% in S8042.
也就是说,第二终端设备优先从集合A1in和集合A3in中筛选满足预设条件的资源,即优先确定第五资源和第六资源。在第五资源和第六资源的资源量之和不足的情况下,第二终端设备才确定第七资源。由于第五资源和第六资源均是第一终端设备未明确指示推荐不使用的资源,且第七资源是第一终端设备指示推荐不使用的资源,所以,相比于第七资源而言,第五资源和第六资源的干扰程度更低,从而有利于保证数据传输可靠性。That is to say, the second terminal device preferentially selects the resources satisfying the preset condition from the set A1in and the set A3in, that is, preferentially determines the fifth resource and the sixth resource. The second terminal device determines the seventh resource only when the sum of the resource amounts of the fifth resource and the sixth resource is insufficient. Since both the fifth resource and the sixth resource are resources that the first terminal device does not explicitly indicate to recommend not to use, and the seventh resource is a resource that the first terminal device indicates to recommend not to use, therefore, compared with the seventh resource, The interference degree of the fifth resource and the sixth resource is lower, which is beneficial to ensure the reliability of data transmission.
在本申请实施例提供的资源确定方法800中,第二终端设备接收来自第一终端设备的第二信息,以供第二终端设备在确定目标资源时参考。第二信息除了指示至少一个第一资源之外,还指示第一时域资源集合。所以,第一时域资源集合也是第二终端设备已知的时域资源单元的集合,第二终端设备在已知的时域资源单元上,根据至少一个第一资源,确定目标资源,即第二终端设备在进行资源选择时充分利用第二信息,以兼顾第一终端设备的干扰状况,从而保障数据传输可靠性。In the resource determination method 800 provided in the embodiment of the present application, the second terminal device receives the second information from the first terminal device, which is used for reference by the second terminal device when determining the target resource. In addition to indicating at least one first resource, the second information also indicates a first set of time domain resources. Therefore, the first time-domain resource set is also a set of time-domain resource units known to the second terminal device, and the second terminal device determines, on the known time-domain resource units, the target resource according to at least one first resource, that is, the first resource. The second terminal equipment makes full use of the second information when selecting resources, so as to take into account the interference status of the first terminal equipment, so as to ensure the reliability of data transmission.
本申请实施例提供一种资源确定方法1000,该资源确定方法应用在侧行链路的数据传输过程中。参见图10,该方法包括如下步骤:The embodiment of the present application provides a resource determination method 1000, and the resource determination method is applied in the data transmission process of the sidelink. Referring to Figure 10, the method includes the following steps:
S1001、第二终端设备向第一终端设备发送触发消息。相应的,第一终端设备接收来自第二终端设备的触发消息。S1001. The second terminal device sends a trigger message to the first terminal device. Correspondingly, the first terminal device receives the trigger message from the second terminal device.
示例性的,S1001的实现过程可以参见图3的相关说明,此处不再赘述。Exemplarily, for the implementation process of S1001, reference may be made to the relevant description of FIG. 3 , which will not be repeated here.
需要说明的是,S1001是可选的步骤,具体可以参见S801的相关说明,此处不再赘述。It should be noted that S1001 is an optional step. For details, please refer to the relevant description of S801, which will not be repeated here.
S1002、第一终端设备在第一资源选择窗内确定至少一个第一资源。S1002. The first terminal device determines at least one first resource in the first resource selection window.
示例性的,S1002的实现过程可以参见S802的介绍,此处不再赘述。Exemplarily, for the implementation process of S1002, reference may be made to the introduction of S802, which will not be repeated here.
S1003、第一终端设备向第二终端设备发送第二信息。相应的,第二终端设备接收来自第一终端设备的第二信息。S1003. The first terminal device sends the second information to the second terminal device. Correspondingly, the second terminal device receives the second information from the first terminal device.
其中,第二信息指示至少一个第一资源。至少一个第一资源中每一第一资源所在的时域资源单元属于第一时域资源集合。Wherein, the second information indicates at least one first resource. The time domain resource unit where each first resource in the at least one first resource is located belongs to the first time domain resource set.
示例性的,第二信息可以是辅助信息,具体可以参见图3的相关说明,此处不再赘述。当然,第二信息也可以实现为其他的消息,本申请实施例对此不作限定。Exemplarily, the second information may be auxiliary information, and for details, reference may be made to the relevant description of FIG. 3 , which will not be repeated here. Certainly, the second information may also be implemented as other messages, which is not limited in this embodiment of the present application.
S1004、第二终端设备根据至少一个第一资源,确定目标资源。S1004. The second terminal device determines a target resource according to at least one first resource.
其中,目标资源用于向其他终端设备(如第一终端设备)传输业务数据。示例性的,业务数据对应的业务为上述第一业务。The target resource is used to transmit service data to other terminal devices (eg, the first terminal device). Exemplarily, the service corresponding to the service data is the above-mentioned first service.
示例性的,以上述至少一个第一资源位于第二资源选择窗外为例,S1004中确定的目标资源也位于第二资源选择窗外。其中,位于第二资源选择窗外的第一资源的集合,可以记为集合Aout。下面,通过两个示例介绍S1004的实现过程:Exemplarily, taking the above-mentioned at least one first resource located outside the second resource selection window as an example, the target resource determined in S1004 is also located outside the second resource selection window. The set of first resources located outside the second resource selection window may be recorded as set Aout. Below, the implementation process of S1004 is introduced through two examples:
示例一,在第一资源是第一终端设备推荐使用的资源的情况下,集合Aout这一记法中,A表征第一终端设备推荐使用的资源,out指在第二资源选择窗外的资源。集合Ain这一记法中,A表征第一终端设备推荐使用的资源,in指在第二资源选择窗内的资源,如图11a中的(1)所示,图11a中的(1)示出了集合Ain和Aout中资源的分布状况。S1004的实现过程包括如下两种方式:Example 1, when the first resource is the resource recommended by the first terminal device, in the notation of set Aout, A represents the resource recommended by the first terminal device, and out refers to the resource outside the second resource selection window. In the notation of the set Ain, A represents the resources recommended by the first terminal device, and in refers to the resources in the second resource selection window, as shown in (1) in Figure 11a, and (1) in Figure 11a The distribution of resources in the sets Ain and Aout is shown. The implementation process of S1004 includes the following two ways:
方式一,参见图11b,S1004实现为S1004a: Mode 1, see Figure 11b, S1004 is implemented as S1004a:
S1004a、第二终端设备根据比例值1,在至少一个第一资源中确定目标资源。S1004a, the second terminal device determines a target resource in at least one first resource according to the ratio value 1.
示例性的,第二终端设备按照比例值1,从至少一个第一资源中筛选一定数量的资源,作为目标资源。其中,比例值1的取值可以小于1,即第二终端设备将至少一个第一资源中的一部分资源,作为目标资源。或者,比例值1的取值也可以等于1,即第二终端设备将上述至少一个第一资源全部作为目标资源。Exemplarily, the second terminal device selects a certain number of resources from at least one first resource according to a ratio value of 1, as the target resource. The value of the ratio value 1 may be less than 1, that is, the second terminal device uses a part of the resources in the at least one first resource as the target resource. Alternatively, the value of the ratio value 1 may also be equal to 1, that is, the second terminal device uses all of the above at least one first resource as the target resource.
示例性的,图11a中的(2)示出了目标资源的分布状况。其中,“表征目标资源的矩形框”有两个,且两个矩形框的填充图案与“表征集合Aout中资源的矩形框”的填充图案一致,以体现目标资源选自集合Aout。Exemplarily, (2) in FIG. 11a shows the distribution of target resources. Among them, there are two "rectangular boxes representing the target resource", and the filling pattern of the two rectangular boxes is consistent with the filling pattern of the "rectangular box representing the resources in the set Aout", to reflect that the target resource is selected from the set Aout.
也就是说,第二终端设备将第一资源中的部分资源或全部资源,作为目标资源。由于第一资源是第一终端设备推荐使用的资源,所以,第二终端设备兼顾了对侧的干扰程度和资源占用状况,能够保证数据传输可靠性。That is to say, the second terminal device uses part or all of the first resources as the target resources. Since the first resource is a resource recommended for use by the first terminal device, the second terminal device takes into account the interference degree and resource occupation status of the opposite side, and can ensure data transmission reliability.
方式二,参见图11b,S1004实现为S1004b和S1004c: Mode 2, see Figure 11b, S1004 is implemented as S1004b and S1004c:
S1004b、第二终端设备进行资源检测,以得到至少一个第一资源的感知结果1。S1004b, the second terminal device performs resource detection to obtain a perception result 1 of at least one first resource.
示例性的,S1004b中资源检测的对象包括以下至少一项:上述至少一个第一资源,上述至少一个第一资源之前的一段时长内的资源。感知结果1包括第一资源的RSRP的测量值。Exemplarily, the object of resource detection in S1004b includes at least one of the following: the above-mentioned at least one first resource, and a resource within a period of time before the above-mentioned at least one first resource. Perception result 1 includes the measured value of the RSRP of the first resource.
S1004c、第二终端设备根据感知结果1,确定目标资源。S1004c, the second terminal device determines the target resource according to the sensing result 1.
示例性的,第二终端设备根据感知结果1中第一资源的RSRP的测量值,以及参考信号接收功率门限值,将RSRP测量值低于参考信号接收功率门限值的第一资源,作为目标资源。Exemplarily, according to the measured value of the RSRP of the first resource in the sensing result 1 and the reference signal received power threshold value, the second terminal device uses the first resource whose RSRP measured value is lower than the reference signal received power threshold value as the first resource. target resource.
示例性的,在满足第一预设条件的情况下,第二终端设备执行上述方式一或方式二。其中,第一预设条件包括以下至少一项:Exemplarily, in the case that the first preset condition is satisfied, the second terminal device executes the foregoing manner 1 or manner 2. Wherein, the first preset condition includes at least one of the following:
第一项,第二资源的资源量小于第一预设值。其中,第二资源是在第二资源选择窗内,且基于至少一个第一资源确定的资源。也就是说,第二资源是第二资源选择窗内,第一终端设备推荐使用的资源,可以记为集合Ain。即第二终端设备优先确定第二资源,在第二资源的资源量小于第一预设值的情况下,表征当前状况为:在第二资源选择窗内,第一终端设备推荐使用的资源不足。此种情况下,第二终端设备才执行上述方式一或方式二,即在第二资源选择窗外,且第一终端设备推荐使用的资源(即第一资源)中筛选资源,从而得到目标资源,以使上报MAC层的资源量达到要求。In the first item, the resource amount of the second resource is less than the first preset value. The second resource is a resource within the second resource selection window and determined based on at least one first resource. That is to say, the second resource is the resource recommended by the first terminal device in the second resource selection window, which may be recorded as the set Ain. That is, the second terminal device preferentially determines the second resource. In the case that the resource amount of the second resource is less than the first preset value, the current situation is represented as: in the second resource selection window, the resources recommended by the first terminal device are insufficient. . In this case, the second terminal device only executes the above-mentioned way 1 or way 2, that is, outside the second resource selection window, and the resources recommended by the first terminal device (ie, the first resource) are screened for resources, so as to obtain the target resource, In order to make the amount of resources reported to the MAC layer meet the requirements.
第二项,第三资源的资源量小于第二预设值。其中,第三资源为第二资源中满足第二 预设条件的资源。其中,第二预设条件可以是指:RSRP测量值小于或等于参考信号接收功率门限值的资源。也就是说,第二终端设备进行资源检测,以得到第二资源的感知结果2。然后,第二终端设备根据感知结果2,从第二资源中筛选资源,将筛选出的资源作为第三资源。即第二终端设备优先确定集合Ain,在集合Ain中满足小于或等于参考信号接收功率门限值的资源量小于第二预设值的情况下,表征当前状况为:在第二资源选择窗内,第一终端设备推荐使用的资源中满足第二预设条件的资源不足。此种情况下,第二终端设备才执行上述方式一或方式二,即在第二资源选择窗外,且第一终端设备推荐使用的资源(即第一资源)中筛选资源,从而得到目标资源,以使上报MAC层的资源量达到要求。In the second item, the resource amount of the third resource is less than the second preset value. The third resource is a resource that satisfies the second preset condition in the second resource. Wherein, the second preset condition may refer to a resource whose RSRP measurement value is less than or equal to a reference signal received power threshold value. That is, the second terminal device performs resource detection to obtain a perception result 2 of the second resource. Then, the second terminal device filters resources from the second resources according to the sensing result 2, and uses the filtered resources as the third resources. That is, the second terminal device preferentially determines the set Ain, and in the case that the amount of resources in the set Ain that is less than or equal to the reference signal received power threshold value is less than the second preset value, the current situation is represented as: within the second resource selection window , the resources that meet the second preset condition among the resources recommended by the first terminal device are insufficient. In this case, the second terminal device only executes the above-mentioned way 1 or way 2, that is, outside the second resource selection window, and the resources recommended by the first terminal device (ie, the first resource) are screened for resources, so as to obtain the target resource, In order to make the amount of resources reported to the MAC layer meet the requirements.
第三项,第四资源的资源量小于第三预设值。其中,第四资源属于第二资源,且属于第二时频资源集合,第二时频资源集合为第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合,具体确定过程可以参见本申请实施例资源确定方法800中S8041和S8042的相关说明,此处不再赘述。也就是说,第四资源属于第一资源选择窗与第二资源选择窗交集上的资源,即第四资源是最优选的资源。如此,第二终端设备优先确定第四资源,在第四资源的资源量小于第三预设值的情况下,第二终端设备才执行上述方式一或方式二,从而得到目标资源,以使上报MAC层的资源量达到要求。In the third item, the resource amount of the fourth resource is less than the third preset value. The fourth resource belongs to the second resource and belongs to the second time-frequency resource set. The second time-frequency resource set is the resource set determined by the second terminal device based on the resource sensing result of the second resource selection window. For the specific determination process, please refer to The relevant descriptions of S8041 and S8042 in the resource determination method 800 in this embodiment of the present application will not be repeated here. That is, the fourth resource belongs to the resource on the intersection of the first resource selection window and the second resource selection window, that is, the fourth resource is the most preferred resource. In this way, the second terminal device preferentially determines the fourth resource, and only when the resource amount of the fourth resource is less than the third preset value, the second terminal device executes the above-mentioned method 1 or method 2, thereby obtaining the target resource, so as to report The resources of the MAC layer meet the requirements.
需要说明的是,作为一种可能的实现方式,第二终端设备优先确定第一预设条件是否满足第三项,即第二终端设备优先确定第四资源的资源量是否小于第三预设值,以使上报MAC层的资源是两个终端设备(即第一终端设备和第二终端设备)均支持的资源,有利于保证数据传输的可靠性。It should be noted that, as a possible implementation manner, the second terminal device preferentially determines whether the first preset condition satisfies the third item, that is, the second terminal device preferentially determines whether the resource amount of the fourth resource is less than the third preset value. , so that the resources for reporting the MAC layer are resources supported by both terminal devices (ie, the first terminal device and the second terminal device), which is beneficial to ensure the reliability of data transmission.
在一些实施例中,第二信息还指示位于第二资源选择窗内的资源,即集合Ain,如图11d中的(1)所示,图11d中的(1)示出了集合Ain中资源的分布状况。参见图11c,第二终端设备还包括S1005和S1006中的至少一项。In some embodiments, the second information further indicates the resources located in the second resource selection window, namely the set Ain, as shown in (1) in FIG. 11d , and (1) in FIG. 11d shows the resources in the set Ain distribution. Referring to Fig. 11c, the second terminal device further includes at least one of S1005 and S1006.
作为第一种实现方式,第二终端设备执行S1005:As a first implementation manner, the second terminal device executes S1005:
S1005、第二终端设备在第二资源选择窗内,确定第四资源。S1005. The second terminal device determines a fourth resource in the second resource selection window.
其中,第四资源用于向其他终端设备(如第一终端设备)传输业务数据,且满足以下两项:Wherein, the fourth resource is used to transmit service data to other terminal equipment (such as the first terminal equipment), and satisfies the following two items:
第一项,第四资源基于至少一个第一资源确定。也就是说,第四资源是第一终端设备推荐使用的资源。示例性的,如图11d中的(3)所示,图11d中的(3)示出了第四资源的分布状况。其中,“表征第四资源的矩形框”中的填充图案与“表征集合Ain中资源的矩形框”中的填充图案一致,以体现第四资源选自集合Ain。The first item, the fourth resource is determined based on the at least one first resource. That is to say, the fourth resource is a resource recommended for use by the first terminal device. Exemplarily, as shown in (3) in FIG. 11d , (3) in FIG. 11d shows the distribution status of the fourth resource. Wherein, the filling pattern in the "rectangular box representing the fourth resource" is consistent with the filling pattern in the "rectangular box representing the resource in the set Ain", to reflect that the fourth resource is selected from the set Ain.
第二项,第四资源所在的时域资源单元属于第二时频资源集合。其中,第二时频资源集合为第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合。示例性的,如图11d中的(3)所示,图11d中的(3)示出了第四资源的分布状况。其中,“表征第四资源的矩形框”与“表征第二时频资源集合中资源的矩形框”均为加粗的线,以体现第四资源选自第二时频资源集合。其中,图11d中的(2)示出了第二时频资源集合中资源的分布状况。In the second item, the time domain resource unit where the fourth resource is located belongs to the second time-frequency resource set. The second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window. Exemplarily, as shown in (3) in FIG. 11d , (3) in FIG. 11d shows the distribution status of the fourth resource. Wherein, the "rectangular box representing the fourth resource" and the "rectangular box representing the resources in the second time-frequency resource set" are both bold lines to indicate that the fourth resource is selected from the second time-frequency resource set. Wherein, (2) in FIG. 11d shows the distribution of resources in the second time-frequency resource set.
也就是说,第四资源是两个终端设备(即第一终端设备和第二终端设备)均支持的资源,有利于保证数据传输的可靠性。That is to say, the fourth resource is a resource supported by both terminal devices (ie, the first terminal device and the second terminal device), which is beneficial to ensure the reliability of data transmission.
作为第二种实现方式,第二终端设备执行S1006:As a second implementation manner, the second terminal device executes S1006:
S1006、第二终端设备在第二资源选择窗内,确定第五资源。S1006. The second terminal device determines a fifth resource in the second resource selection window.
其中,第五资源用于向第一终端设备传输业务数据,且满足以下两项:Wherein, the fifth resource is used to transmit service data to the first terminal device and satisfies the following two items:
第一项,第五资源不属于上述至少一个第一资源确定。也就是说,第五资源是第一终端设备未指示推荐使用的资源。换言之,第五资源不在集合Ain中。示例性的,第五资源可以是第一资源选择窗内,除第一资源之外的资源。或者,第五资源也可以是第一资源选择窗外的资源。示例性的,如图11d中的(3)所示,图11d中的(3)示出了第五资源的分布状况。其中,“表征第五资源的矩形框”在第一资源选择窗之外,以体现第五资源不在集合Ain中。In the first item, it is determined that the fifth resource does not belong to the above-mentioned at least one first resource. That is to say, the fifth resource is a resource that is not indicated by the first terminal device to be recommended for use. In other words, the fifth resource is not in the set Ain. Exemplarily, the fifth resource may be a resource other than the first resource within the first resource selection window. Alternatively, the fifth resource may also be a resource outside the first resource selection window. Exemplarily, as shown in (3) in FIG. 11d , (3) in FIG. 11d shows the distribution status of the fifth resource. Wherein, the "rectangular frame representing the fifth resource" is outside the first resource selection window, indicating that the fifth resource is not in the set Ain.
第二项,第五资源所在的时域资源单元属于第二时频资源集合。也就是说,第五资源是第二终端设备推荐使用的资源。换言之,第五资源在第二资源选择窗内的X%资源集合中。示例性的,如图11d中的(3)所示,图11d中的(3)示出了第五资源的分布状况。其中,“表征第五资源的矩形框”与“表征第二时频资源集合中部分资源的矩形框”均为加粗的线,以体现第五资源选自第二时频资源集合。In the second item, the time domain resource unit where the fifth resource is located belongs to the second time-frequency resource set. That is to say, the fifth resource is a resource recommended for use by the second terminal device. In other words, the fifth resource is in the X% resource set within the second resource selection window. Exemplarily, as shown in (3) in FIG. 11d , (3) in FIG. 11d shows the distribution status of the fifth resource. Wherein, the "rectangular box representing the fifth resource" and the "rectangular box representing some resources in the second time-frequency resource set" are both bold lines, to indicate that the fifth resource is selected from the second time-frequency resource set.
如此,第五资源是第一终端设备未指示推荐使用,但第二终端设备推荐使用的资源,在一定程度上保证了数据传输的可靠性。In this way, the fifth resource is a resource that is not indicated by the first terminal device to be recommended for use, but is recommended to be used by the second terminal device, which ensures the reliability of data transmission to a certain extent.
作为第三种实现方式,第二终端设备即执行S1005和S1006。此种情况下,S1006的实现过程包括:在第四资源的资源量低于阈值的情况下,第二终端设备在第二资源选择窗内,确定第五资源。其中,第四资源的介绍可以参见S1005的相关说明,此处不再赘述。也就是说,在第四资源的资源量不足的情况下,第二终端设备才从集合Ain之外,且在第二资源选择窗之内的资源中,确定第五资源,以使上报MAC层的资源量满足要求。As a third implementation manner, the second terminal device executes S1005 and S1006. In this case, the implementation process of S1006 includes: when the resource amount of the fourth resource is lower than the threshold, the second terminal device determines the fifth resource within the second resource selection window. For the introduction of the fourth resource, reference may be made to the relevant description of S1005, which will not be repeated here. That is to say, when the resource amount of the fourth resource is insufficient, the second terminal device determines the fifth resource from the resources outside the set Ain and within the second resource selection window, so as to report to the MAC layer resources meet the requirements.
示例二,在第一资源是第一终端设备推荐不使用的资源的情况下,集合Aout这一记法中,A表征第一终端设备推荐不使用的资源,out指在第二资源选择窗外的资源。集合Ain这一记法中,A表征第一终端设备推荐不使用的资源,in指在第二资源选择窗内的资源,如图12a中的(1)所示,图12a中的(1)示出了集合Ain和Aout中资源的分布状况。S1004的实现过程包括如下两种方式:Example 2, in the case where the first resource is a resource recommended not to be used by the first terminal device, in the notation of the set Aout, A represents the resource recommended not to be used by the first terminal device, and out refers to the resource outside the second resource selection window. resource. In the notation of set Ain, A represents the resources recommended not to be used by the first terminal device, and in refers to the resources in the second resource selection window, as shown in (1) in Figure 12a, (1) in Figure 12a The distribution of resources in the sets Ain and Aout is shown. The implementation process of S1004 includes the following two ways:
方式一,参见图12b,S1004实现为S1004d和S1004e: Mode 1, see Figure 12b, S1004 is implemented as S1004d and S1004e:
S1004d、第二终端设备确定候选资源。S1004d, the second terminal device determines candidate resources.
其中,候选资源包括第二资源选择窗口外,且除上述至少一个第一资源之外的资源。The candidate resources include resources outside the second resource selection window and other than the at least one first resource.
S1004e、第二终端设备根据比例值2,在候选资源中确定目标资源。S1004e, the second terminal device determines the target resource from the candidate resources according to the ratio value 2.
示例性的,第二终端设备按照比例值2,从候选资源中筛选一定数量的资源,作为目标资源。其中,比例值2的取值可以小于1,即第二终端设备将候选资源中的一部分资源,作为目标资源。或者,比例值2的取值也可以等于1,即第二终端设备将候选资源中的全部资源,作为目标资源。Exemplarily, the second terminal device selects a certain number of resources from the candidate resources according to the ratio value of 2, as the target resources. The value of the ratio value 2 may be less than 1, that is, the second terminal device uses a part of the candidate resources as the target resource. Alternatively, the value of the ratio value 2 may also be equal to 1, that is, the second terminal device uses all the resources in the candidate resources as the target resources.
也就是说,第二终端设备将候选资源中的部分资源或全部资源,作为目标资源。由于候选资源是第二资源选择窗之外,但不包括第一终端设备推荐使用的资源,所以,候选资源能够在一定程度上保证数据传输可靠性。That is to say, the second terminal device takes part or all of the candidate resources as the target resource. Since the candidate resources are outside the second resource selection window, but do not include the resources recommended for use by the first terminal device, the candidate resources can ensure the reliability of data transmission to a certain extent.
方式二,参见图12b,S1004实现为S1004d、S1004f和S1004g。其中,S1004f和S1004g的说明如下: Mode 2, referring to Fig. 12b, S1004 is implemented as S1004d, S1004f and S1004g. Among them, the descriptions of S1004f and S1004g are as follows:
S1004f、第二终端设备进行资源检测,以得到候选资源的感知结果2。S1004f, the second terminal device performs resource detection to obtain the perception result 2 of the candidate resource.
示例性的,S1004f中资源检测的对象包括以下至少一项:候选资源,候选资源之前一段时长内的资源。感知结果2包括候选资源的RSRP的测量值。Exemplarily, the object of resource detection in S1004f includes at least one of the following: candidate resources, resources within a period of time before the candidate resources. Perception result 2 includes a measure of the RSRP of the candidate resource.
S1004g、第二终端设备根据感知结果2,确定目标资源。S1004g, the second terminal device determines the target resource according to the sensing result 2.
示例性的,第二终端设备根据感知结果2中候选资源的RSRP的测量值,以及参考信号接收功率门限值,将RSRP测量值低于参考信号接收功率门限值的候选资源,作为目标资源。Exemplarily, according to the RSRP measurement value of the candidate resource in the sensing result 2 and the reference signal received power threshold value, the second terminal device uses the candidate resource whose RSRP measurement value is lower than the reference signal received power threshold value as the target resource. .
示例性的,图12a中的(2)示出了目标资源的分布状况。其中,“表征目标资源的矩形框”有两个,且两个矩形框的位置在第二资源选择窗外,且与“表征集合Aout中任一资源的矩形框”的位置不同,以体现目标资源不是选自集合Aout,且位于第二资源选择窗外。Exemplarily, (2) in FIG. 12a shows the distribution of target resources. Among them, there are two "rectangular boxes representing the target resource", and the positions of the two rectangular boxes are outside the second resource selection window, and are different from the positions of the "rectangular boxes representing any resource in the set Aout" to reflect the target resource. is not selected from the set Aout, and is outside the second resource selection window.
示例性的,在满足第三预设条件的情况下,第二终端设备才执行S1004f和S1004g。其中,第三预设条件包括以下至少一项:Exemplarily, the second terminal device executes S1004f and S1004g only when the third preset condition is satisfied. Wherein, the third preset condition includes at least one of the following:
第一项,第二资源的资源量小于预设值4。其中,第二资源不属于上述至少一个第一资源,但属于第二时频资源集合。其中,第二时频资源集合为第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合,具体确定过程可以参见本申请实施例资源确定方法800中S8041和S8042的相关说明,此处不再赘述。也就是说,第二资源不在集合Ain中,但在第二资源选择窗中的X%资源中。在第三预设条件满足第一项的情况下,第二终端设备才执行S1004f和S1004g,即在第二资源选择窗外,且第一终端设备未指示是否推荐使用的资源(即候选资源)中筛选资源,从而得到目标资源,以使上报MAC层的资源量达到要求。In the first item, the resource amount of the second resource is less than the default value of 4. The second resource does not belong to the at least one first resource, but belongs to the second time-frequency resource set. The second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window. For the specific determination process, please refer to the relevant descriptions of S8041 and S8042 in the resource determination method 800 in this embodiment of the present application. It is not repeated here. That is, the second resource is not in the set Ain, but is in X% of the resources in the second resource selection window. The second terminal device executes S1004f and S1004g only when the third preset condition satisfies the first item, that is, outside the second resource selection window, and the first terminal device does not indicate whether it is among the recommended resources (ie, candidate resources) Screen resources to obtain target resources, so that the amount of resources reported to the MAC layer meets the requirements.
第二项,第二时频资源集合的资源量小于预设值5。也就是说,在第二资源选择窗内,RSRP测量值低于参考信号接收功率门限值的资源量小于预设值5。此种情况下,第二终端设备才执行S1004f和S1004g,即在第二资源选择窗外,且第一终端设备未指示是否推荐使用的资源(即第一资源)中筛选资源,从而得到目标资源,以使上报MAC层的资源量达到要求。In the second item, the resource amount of the second time-frequency resource set is less than the preset value of 5. That is to say, within the second resource selection window, the amount of resources whose RSRP measurement value is lower than the reference signal received power threshold value is less than the preset value of 5. In this case, the second terminal device executes S1004f and S1004g, that is, outside the second resource selection window, and the first terminal device does not indicate whether to filter resources among recommended resources (ie, the first resource), so as to obtain the target resource, In order to make the amount of resources reported to the MAC layer meet the requirements.
在一些实施例中,第二信息还指示位于第二资源选择窗内的资源,即集合Ain,如图12d中的(1)所示,图12d中的(1)示出了集合Ain中资源的分布状况。参见图12c,第二终端设备还包括S1007:In some embodiments, the second information further indicates the resources located in the second resource selection window, namely the set Ain, as shown in (1) in FIG. 12d , and (1) in FIG. 12d shows the resources in the set Ain distribution. Referring to Fig. 12c, the second terminal device further includes S1007:
S1007、第二终端设备确定第二资源。S1007. The second terminal device determines the second resource.
其中,第二资源用于向第一终端设备传输业务数据,且满足以下两项:Wherein, the second resource is used to transmit service data to the first terminal device, and satisfies the following two items:
第一项,第二资源不属于上述至少一个第一资源。也就是说,第二资源是第一终端设备未指示是否推荐使用的资源。示例性的,如图12d所示,在图12d中的(3)中,“表征第二资源的矩形框”有一个,且位置与“表征集合Ain中任一资源的矩形框”的位置不同,以体现第二资源不是选自集合Ain。In the first item, the second resource does not belong to the at least one first resource. That is to say, the second resource is a resource for which the first terminal device does not indicate whether it is recommended to be used. Exemplarily, as shown in Figure 12d, in (3) in Figure 12d, there is one "rectangular box representing the second resource", and the position is different from that of the "rectangular box representing any resource in the set Ain". , to reflect that the second resource is not selected from the set Ain.
第二项,第二资源所在的时域资源单元属于第二时频资源集合。示例性的,如图12d所示,在图12d中的(3)中,“表征第二资源的矩形框”有一个,且与“表征第二时频资源集合中资源的矩形框”均为加粗的线,以体现第二资源选自第二时频资源集合。其中,第二时频资源集合中的资源如图12d中的(2)所示。In the second item, the time domain resource unit where the second resource is located belongs to the second time-frequency resource set. Exemplarily, as shown in FIG. 12d , in (3) in FIG. 12d , there is one “rectangular frame representing the second resource”, which is the same as the “rectangular frame representing the resource in the second time-frequency resource set”. Bold lines indicate that the second resource is selected from the second time-frequency resource set. The resources in the second time-frequency resource set are shown in (2) in FIG. 12d.
如此,第二资源是第一终端设备未指示是否推荐使用,但第二终端设备推荐使用的资源,在一定程度上保证了数据传输的可靠性。In this way, the second resource is a resource that the first terminal device does not indicate whether it is recommended to be used, but is recommended to be used by the second terminal device, which ensures the reliability of data transmission to a certain extent.
在本申请实施例提供的资源确定方法1000中,第二终端设备接收来自第一终端设备的第二信息之后,即使第二信息指示了位于第二资源选择窗之外的第一资源,第二终端设备也能够结合第二信息指示的第一资源确定目标资源,采用第二资源选择窗外的目标资源传输业务数据。由于第二终端设备在进行资源选择时充分利用了第二信息,以兼顾第一终端设备的干扰状况,从而保障数据传输可靠性。In the resource determination method 1000 provided by this embodiment of the present application, after the second terminal device receives the second information from the first terminal device, even if the second information indicates the first resource located outside the second resource selection window, the second The terminal device can also determine the target resource in combination with the first resource indicated by the second information, and use the target resource outside the second resource selection window to transmit service data. Since the second terminal device makes full use of the second information when selecting resources, the interference status of the first terminal device is taken into consideration, thereby ensuring the reliability of data transmission.
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。相应的,本申请实施例还提供了通信装置,该通信装置可以为上述方法实施例中的网元,或者包含上述网元的装置,或者为可用于网元的部件。可以理解的是,该通信装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present application from the perspective of interaction between various network elements. Correspondingly, an embodiment of the present application further provides a communication device, and the communication device may be a network element in the foregoing method embodiments, or a device including the foregoing network element, or a component usable for a network element. It can be understood that, in order to realize the above-mentioned functions, the communication apparatus includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
示例性的,图13示出了一种通信装置1300的结构示意图。该通信装置1300包括处理单元1301、发送单元1302和接收单元1303。Exemplarily, FIG. 13 shows a schematic structural diagram of a communication apparatus 1300 . The communication device 1300 includes a processing unit 1301 , a sending unit 1302 and a receiving unit 1303 .
一种可能的示例中,以通信装置1300为第二终端设备为例,处理单元1301用于支持第二终端设备执行图6中的S604,图8a中的S804,图10中的S1004,和/或本申请实施例中第二终端设备需要执行的其他处理操作。发送单元1302用于支持第二终端设备执行图6中的S601,图8a中的S801,图10中的S1001,和/或本申请实施例中第二终端设备需要执行的其他发送操作。接收单元1303用于支持第二终端设备执行图6中的S603,图8a中的S803,图10中的S1003,和/或本申请实施例中第二终端设备需要执行的其他接收操作。In a possible example, taking the communication apparatus 1300 as the second terminal device as an example, the processing unit 1301 is configured to support the second terminal device to perform S604 in FIG. 6 , S804 in FIG. 8a , S1004 in FIG. 10 , and/ Or other processing operations that need to be performed by the second terminal device in this embodiment of the present application. The sending unit 1302 is configured to support the second terminal device to perform S601 in FIG. 6 , S801 in FIG. 8a , S1001 in FIG. 10 , and/or other sending operations that the second terminal device needs to perform in this embodiment of the present application. The receiving unit 1303 is configured to support the second terminal device to perform S603 in FIG. 6 , S803 in FIG. 8a , S1003 in FIG. 10 , and/or other receiving operations that the second terminal device needs to perform in this embodiment of the present application.
再一种可能的示例中,以通信装置1300为第一终端设备为例,处理单元1301用于支持第一终端设备执行图6中的S602,图8a中的S802,图10中的S1002,和/或本申请实施例中第一终端设备需要执行的其他处理操作。接收单元1303用于支持第一终端设备执行图6中的S601,图8a中的S801,图10中的S1001,和/或本申请实施例中第一终端设备需要执行的其他接收操作。发送单元1302用于支持第一终端设备执行图6中的S603,图8a中的S803,图10中的S1003,和/或本申请实施例中第一终端设备需要执行的其他发送操作。In another possible example, taking the communication apparatus 1300 as the first terminal device as an example, the processing unit 1301 is configured to support the first terminal device to perform S602 in FIG. 6 , S802 in FIG. 8a , S1002 in FIG. 10 , and /or other processing operations that need to be performed by the first terminal device in this embodiment of the present application. The receiving unit 1303 is configured to support the first terminal device to perform S601 in FIG. 6 , S801 in FIG. 8a , S1001 in FIG. 10 , and/or other receiving operations that the first terminal device needs to perform in this embodiment of the present application. The sending unit 1302 is configured to support the first terminal device to perform S603 in FIG. 6 , S803 in FIG. 8a , S1003 in FIG. 10 , and/or other sending operations that the first terminal device needs to perform in this embodiment of the present application.
可选的,该通信装置1300还可以包括存储单元1304,用于存储通信装置的程序代码和数据,数据可以包括不限于原始数据或者中间数据等。Optionally, the communication device 1300 may further include a storage unit 1304 for storing program codes and data of the communication device, and the data may include but not limited to original data or intermediate data.
其中,处理单元1301可以是处理器或控制器,例如可以是CPU,通用处理器,专用集成电路(application specific integrated circuit,ASIC),现场可编程逻辑门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processing unit 1301 may be a processor or a controller, such as a CPU, a general-purpose processor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other Programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
发送单元1302可以是通信接口、发送或发送电路等,其中,该通信接口是统称,在具体实现中,该通信接口可以包括多个接口,例如可以包括:终端设备之间的接口和/或其他 接口。The sending unit 1302 may be a communication interface, a sending or sending circuit, etc., where the communication interface is a general term, and in a specific implementation, the communication interface may include multiple interfaces, for example, may include: an interface between terminal devices and/or other interface.
接收单元1303可以是通信接口、接收器或接收电路等,其中,该通信接口是统称,在具体实现中,该通信接口可以包括多个接口,例如可以包括:终端设备之间的接口和/或其他接口。The receiving unit 1303 may be a communication interface, a receiver or a receiving circuit, etc., where the communication interface is a general term, and in a specific implementation, the communication interface may include multiple interfaces, for example, may include: an interface between terminal devices and/or other interfaces.
存储单元1304可以是存储器。The storage unit 1304 may be a memory.
当处理单元1301为处理器,发送单元1302和接收单元1303为通信接口,存储单元1304为存储器时,本申请实施例所涉及的通信装置可以为图14所示。When the processing unit 1301 is a processor, the sending unit 1302 and the receiving unit 1303 are communication interfaces, and the storage unit 1304 is a memory, the communication device involved in the embodiment of the present application may be as shown in FIG. 14 .
参阅图14所示,该通信装置包括:处理器1401、通信接口1402、存储器1403。可选的,通信装置还可以包括总线1404。其中,通信接口1402、处理器1401以及存储器1403可以通过总线1404相互连接;总线1404可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线1404可以分为地址总线、数据总线、控制总线等。为便于表示,图14中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 14 , the communication device includes: a processor 1401 , a communication interface 1402 , and a memory 1403 . Optionally, the communication device may further include a bus 1404 . Wherein, the communication interface 1402, the processor 1401 and the memory 1403 can be connected to each other through a bus 1404; the bus 1404 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus etc. The bus 1404 can be divided into an address bus, a data bus, a control bus, and the like. For ease of presentation, only one thick line is shown in FIG. 14, but it does not mean that there is only one bus or one type of bus.
可选的,本申请实施例还提供一种携带计算机指令的计算机程序产品,当该计算机指令在计算机上运行时,使得计算机执行上述实施例所介绍的方法。Optionally, the embodiment of the present application further provides a computer program product carrying computer instructions, when the computer instructions are executed on the computer, the computer is made to execute the method described in the foregoing embodiments.
可选的,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储计算机指令,当该计算机指令在计算机上运行时,使得计算机执行上述实施例所介绍的方法。Optionally, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes the methods described in the foregoing embodiments.
可选的,本申请实施例还提供一种芯片,包括:处理电路和收发管脚,处理电路和收发管脚用于实现上述实施例所介绍的方法。其中,处理电路用于执行相应方法中的处理动作,收发管脚用于执行相应方法中的接收/发送的动作。Optionally, an embodiment of the present application further provides a chip, including: a processing circuit and a transceiver pin, where the processing circuit and the transceiver pin are used to implement the method introduced in the foregoing embodiment. Wherein, the processing circuit is used for executing the processing actions in the corresponding method, and the transceiver pins are used for executing the actions of receiving/transmitting in the corresponding method.
本领域普通技术人员可以理解:在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(digital video disc,DVD))、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。Those of ordinary skill in the art can understand that: in the above-mentioned embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line, DSL) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server, a data center, or the like that includes an integration of one or more available media. The available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital video disc (DVD)), or semiconductor media (eg, solid state disk (SSD)) Wait.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间 接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个设备上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple devices. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general-purpose hardware, and of course hardware can also be used, but in many cases the former is a better implementation manner . Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence or contributed parts, and the computer software products are stored in a readable storage medium, such as a floppy disk, a hard disk or an optical disk of a computer etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto, and changes or substitutions within the technical scope disclosed in the present application should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (26)

  1. 一种资源确定方法,其特征在于,包括:A method for determining resources, comprising:
    第二终端设备接收来自第一终端设备的第二信息,其中,所述第二信息指示至少一个第一资源和第一时域资源集合,所述至少一个第一资源中每一第一资源所在的时域资源单元属于所述第一时域资源集合;The second terminal device receives second information from the first terminal device, wherein the second information indicates at least one first resource and a first set of time domain resources, where each first resource in the at least one first resource is located The time domain resource unit belongs to the first time domain resource set;
    所述第二终端设备根据所述至少一个第一资源和所述第一时域资源集合,确定目标资源,其中,所述目标资源用于传输业务数据。The second terminal device determines a target resource according to the at least one first resource and the first set of time domain resources, where the target resource is used for transmitting service data.
  2. 根据权利要求1所述的方法,其特征在于,所述第一时域资源集合是基于第一资源选择窗确定的,所述第一资源选择窗用于所述第一终端设备进行资源选择。The method according to claim 1, wherein the first time domain resource set is determined based on a first resource selection window, and the first resource selection window is used for resource selection by the first terminal device.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第二信息指示起始时域资源单元的位置,以及与所述起始时域资源单元之间的间隔。The method according to claim 1 or 2, wherein the second information indicates a position of a starting time-domain resource unit and an interval from the starting time-domain resource unit.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述第二信息包括以下至少一项:所述第一资源选择窗的起始位置、所述第一资源选择窗的窗口长度、或所述第一资源选择窗内的时域资源单元数量;The method according to any one of claims 1 to 3, wherein the second information includes at least one of the following: a start position of the first resource selection window, a window of the first resource selection window length, or the number of time-domain resource units in the first resource selection window;
    其中,所述第一资源选择窗用于所述第一终端设备进行资源选择。Wherein, the first resource selection window is used for resource selection by the first terminal device.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述第二信息包括指示信息,其中,所述指示信息指示所述第一终端设备为部分感知终端。The method according to any one of claims 1 to 4, wherein the second information includes indication information, wherein the indication information indicates that the first terminal device is a partially aware terminal.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述目标资源包括第二资源;其中,所述第二资源基于所述至少一个第一资源确定,且属于第二时频资源集合,所述第二时频资源集合为所述第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合。The method according to any one of claims 1 to 5, wherein the target resource includes a second resource; wherein the second resource is determined based on the at least one first resource and belongs to a second time-frequency A resource set, where the second time-frequency resource set is a resource set determined by the second terminal device based on the resource sensing result of the second resource selection window.
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述目标资源包括以下至少一项:第三资源,其中,所述第三资源基于所述至少一个第一资源确定,且不属于第二时频资源集合,所述第二时频资源集合为所述第二终端设备基于第二资源选择窗的资源感知结果确定的资源集合;The method according to any one of claims 1 to 6, wherein the target resource comprises at least one of the following: a third resource, wherein the third resource is determined based on the at least one first resource, and Does not belong to the second time-frequency resource set, the second time-frequency resource set is the resource set determined by the second terminal device based on the resource sensing result of the second resource selection window;
    第四资源,其中,所述第四资源属于所述第二时频资源集合,且所述第四资源所在的时域资源单元不属于所述第一时域资源集合。A fourth resource, wherein the fourth resource belongs to the second time-frequency resource set, and the time-domain resource unit where the fourth resource is located does not belong to the first time-domain resource set.
  8. 根据权利要求7所述的方法,其特征在于,所述第三资源是按照第一预设比例筛选后的资源。The method according to claim 7, wherein the third resource is a resource filtered according to a first preset ratio.
  9. 根据权利要求7所述的方法,其特征在于,所述第四资源是按照第二预设比例筛选后的资源。The method according to claim 7, wherein the fourth resource is a resource filtered according to a second preset ratio.
  10. 根据权利要求7至9任一项所述的方法,其特征在于,所述目标资源还包括第二资源,且所述第二资源的资源量低于第一阈值;The method according to any one of claims 7 to 9, wherein the target resource further comprises a second resource, and the resource amount of the second resource is lower than a first threshold;
    其中,所述第二资源基于所述至少一个第一资源确定,且属于所述第二时频资源集合。The second resource is determined based on the at least one first resource and belongs to the second time-frequency resource set.
  11. 根据权利要求1至5任一项所述的方法,其特征在于,所述目标资源包括第二资源选择窗内的第五资源;The method according to any one of claims 1 to 5, wherein the target resource comprises a fifth resource in the second resource selection window;
    其中,所述第二资源选择窗用于所述第二终端设备进行资源选择,所述第五资源是基于所述至少一个第一资源确定的、且满足预设条件的资源。The second resource selection window is used for resource selection by the second terminal device, and the fifth resource is a resource determined based on the at least one first resource and satisfying a preset condition.
  12. 根据权利要求1、2、3、4、5或10所述的方法,其特征在于,所述目标资源包括 以下至少一项:The method according to claim 1, 2, 3, 4, 5 or 10, wherein the target resource comprises at least one of the following:
    第二资源选择窗内的第六资源,其中,所述第二资源选择窗用于所述第二终端设备进行资源选择,所述第六资源所在的时域资源单元不属于所述第一时域资源集合,且所述第六资源满足预设条件;The sixth resource in the second resource selection window, wherein the second resource selection window is used for the second terminal device to select resources, and the time domain resource unit where the sixth resource is located does not belong to the first time a set of domain resources, and the sixth resource satisfies a preset condition;
    所述第二资源选择窗外的第七资源,所述第七资源基于所述至少一个第一资源确定。The second resource selects a seventh resource outside the window, where the seventh resource is determined based on the at least one first resource.
  13. 根据权利要求12所述的方法,其特征在于,所述第七资源的资源量至少是基于以下其中一项确定的:The method according to claim 12, wherein the resource amount of the seventh resource is determined based on at least one of the following:
    预配置的比例值;Preconfigured scale values;
    第五资源与所述目标资源之间的资源量差值,其中,所述第五资源位于所述第二资源选择窗内,且基于所述至少一个第一资源确定的、且满足所述预设条件的资源。A resource amount difference between a fifth resource and the target resource, wherein the fifth resource is located within the second resource selection window and is determined based on the at least one first resource and satisfies the predetermined conditioned resources.
  14. 根据权利要求12或13所述的方法,其特征在于,所述目标资源还包括所述第二资源选择窗内的第五资源,且所述第五资源的资源量低于第二阈值;The method according to claim 12 or 13, wherein the target resource further includes a fifth resource in the second resource selection window, and the resource amount of the fifth resource is lower than a second threshold;
    其中,所述第五资源是基于所述至少一个第一资源确定的、且满足所述预设条件的资源。The fifth resource is a resource determined based on the at least one first resource and satisfying the preset condition.
  15. 根据权利要求12至14任一项所述的方法,其特征在于,所述目标资源还包括所述第二资源选择窗内的第五资源和所述第六资源,所述第五资源和所述第六资源的资源量之和低于第三阈值;The method according to any one of claims 12 to 14, wherein the target resource further comprises a fifth resource and the sixth resource in the second resource selection window, the fifth resource and the The sum of the resource amounts of the sixth resource is lower than the third threshold;
    其中,所述第五资源是基于所述至少一个第一资源确定的、且满足所述预设条件的资源。The fifth resource is a resource determined based on the at least one first resource and satisfying the preset condition.
  16. 根据权利要求1至15任一项所述的方法,其特征在于,所述第一资源包括所述第一终端设备推荐使用的资源;The method according to any one of claims 1 to 15, wherein the first resource comprises a resource recommended for use by the first terminal device;
    或者,所述第一资源包括所述第一终端设备推荐不使用的资源。Alternatively, the first resource includes a resource recommended not to be used by the first terminal device.
  17. 一种资源确定方法,其特征在于,包括:A method for determining resources, comprising:
    第一终端设备在第一时域资源集合内确定至少一个第一资源,其中,所述至少一个第一资源中每一第一资源所在的时域资源单元属于所述第一时域资源集合;The first terminal device determines at least one first resource in the first time domain resource set, wherein the time domain resource unit where each first resource in the at least one first resource is located belongs to the first time domain resource set;
    所述第一终端设备向第二终端设备发送第二信息,其中,所述第二信息指示所述至少一个第一资源和所述第一时域资源集合。The first terminal device sends second information to the second terminal device, wherein the second information indicates the at least one first resource and the first set of time domain resources.
  18. 根据权利要求17所述的方法,其特征在于,所述第一时域资源集合是基于第一资源选择窗确定的,所述第一资源选择窗用于所述第一终端设备进行资源选择。The method according to claim 17, wherein the first time domain resource set is determined based on a first resource selection window, and the first resource selection window is used for resource selection by the first terminal device.
  19. 根据权利要求17或18所述的方法,其特征在于,所述第二信息指示起始时域资源单元的位置,以及与所述起始时域资源单元之间的间隔。The method according to claim 17 or 18, wherein the second information indicates a position of a starting time domain resource unit and an interval from the starting time domain resource unit.
  20. 根据权利要求17至19任一项所述的方法,其特征在于,所述第二信息包括以下至少一项:所述第一资源选择窗的起始位置、所述第一资源选择窗的窗口长度、或所述第一资源选择窗内的时域资源单元数量;The method according to any one of claims 17 to 19, wherein the second information includes at least one of the following: a start position of the first resource selection window, a window of the first resource selection window length, or the number of time-domain resource units in the first resource selection window;
    其中,所述第一资源选择窗用于所述第一终端设备进行资源选择。Wherein, the first resource selection window is used for resource selection by the first terminal device.
  21. 根据权利要求17至20任一项所述的方法,其特征在于,所述第二信息包括指示信息,其中,所述指示信息指示所述第一终端设备为部分感知终端。The method according to any one of claims 17 to 20, wherein the second information includes indication information, wherein the indication information indicates that the first terminal device is a partially aware terminal.
  22. 根据权利要求17至21任一项所述的方法,其特征在于,所述第一资源包括所述第一终端设备推荐使用的资源;The method according to any one of claims 17 to 21, wherein the first resource comprises a resource recommended for use by the first terminal device;
    或者,所述第一资源包括所述第一终端设备推荐不使用的资源。Alternatively, the first resource includes a resource recommended not to be used by the first terminal device.
  23. 一种通信装置,其特征在于,包括:处理器,所述处理器和存储器耦合,所述存储器存储有指令,当所述指令被所述处理器执行时,执行如权利要求1至16或权利要求17至22中任一项所述的方法。A communication device, comprising: a processor, wherein the processor is coupled to a memory, the memory stores instructions, and when the instructions are executed by the processor, the instructions are executed as claimed in claims 1 to 16 or claims The method of any one of claims 17 to 22.
  24. 一种芯片,其特征在于,所述芯片包括逻辑电路和输入输出接口,所述输入输出接口用于与所述芯片之外的模块通信,所述逻辑电路用于运行计算机程序或指令,以使得通信设备执行如权利要求1至16或权利要求17至22中任一项所述的方法。A chip, characterized in that the chip includes a logic circuit and an input-output interface, the input-output interface is used for communicating with modules other than the chip, and the logic circuit is used for running a computer program or instruction to make The communication device performs a method as claimed in any one of claims 1 to 16 or claims 17 to 22.
  25. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储程序,所述程序被处理器调用时,权利要求1至16任一项所述的方法被执行,或权利要求17至22任一项所述的方法被执行。A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program, and when the program is called by a processor, the method of any one of claims 1 to 16 is executed, or the method of claim 17 is executed. The method of any one of to 22 is performed.
  26. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机如执行权利要求1至16任一项所述的方法,或者执行如权利要求17至22任一项所述的方法。A computer program product comprising instructions, characterized in that, when the computer program product is run on a computer, the computer is made to perform the method of any one of claims 1 to 16, or to perform the method as claimed in claim 17 The method of any one of to 22.
PCT/CN2022/085619 2021-04-23 2022-04-07 Resource determination method and communication apparatus WO2022222764A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110444568 2021-04-23
CN202110444568.2 2021-04-23
CN202110507834.1A CN115243232A (en) 2021-04-23 2021-05-10 Resource determination method and communication device
CN202110507834.1 2021-05-10

Publications (1)

Publication Number Publication Date
WO2022222764A1 true WO2022222764A1 (en) 2022-10-27

Family

ID=83666362

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/085619 WO2022222764A1 (en) 2021-04-23 2022-04-07 Resource determination method and communication apparatus

Country Status (2)

Country Link
CN (1) CN115243232A (en)
WO (1) WO2022222764A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110972273A (en) * 2018-09-28 2020-04-07 北京展讯高科通信技术有限公司 Transmission resource configuration selection method, device and terminal
CN111246426A (en) * 2020-01-16 2020-06-05 北京展讯高科通信技术有限公司 Resource selection method for auxiliary link communication and communication device
CN112153602A (en) * 2020-09-24 2020-12-29 大唐高鸿数据网络技术股份有限公司 Resource selection method and terminal
CN112438057A (en) * 2020-10-19 2021-03-02 北京小米移动软件有限公司 Method and device for sending and receiving auxiliary resource set and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110972273A (en) * 2018-09-28 2020-04-07 北京展讯高科通信技术有限公司 Transmission resource configuration selection method, device and terminal
CN111246426A (en) * 2020-01-16 2020-06-05 北京展讯高科通信技术有限公司 Resource selection method for auxiliary link communication and communication device
CN112153602A (en) * 2020-09-24 2020-12-29 大唐高鸿数据网络技术股份有限公司 Resource selection method and terminal
CN112438057A (en) * 2020-10-19 2021-03-02 北京小米移动软件有限公司 Method and device for sending and receiving auxiliary resource set and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
INTERDIGITAL INC.: "Resource Allocation Features to Support NR V2X Requirements", 3GPP DRAFT; R2-1814016 (R16 V2X SI A11424 RESOURCE ALLOCATION FEATURES), 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. Chengdu, China; 20181008 - 20181012, 28 September 2018 (2018-09-28), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051523478 *

Also Published As

Publication number Publication date
CN115243232A (en) 2022-10-25

Similar Documents

Publication Publication Date Title
KR102635070B1 (en) Communication methods and communication devices
WO2017166839A1 (en) Methods for configuring and sending preamble, and related devices
JP2022501929A (en) Data transmission method and equipment
EP3965441A1 (en) Direct link transmission method and terminal
WO2022042489A1 (en) Resource indication and selection methods and apparatuses
JP7453422B2 (en) Wireless communication methods and devices, terminals and storage media
WO2021087889A1 (en) Cli measurement configuring method and communication apparatus
WO2019214355A1 (en) Method and device for determining rrm measurement configuration
US20210204312A1 (en) Downlink control information transmission method and apparatus
CN110933758B (en) Interference coordination method and device, and base station
WO2023202397A1 (en) Information transmission method, terminal and storage medium
CN111132223B (en) Data packet transmission method and communication equipment
WO2022222764A1 (en) Resource determination method and communication apparatus
US20230023034A1 (en) Sidelink Communication Method, Apparatus, and System
WO2019157982A1 (en) Method and device for relay transmission
WO2019196066A1 (en) Random access response for bwp
WO2019084860A1 (en) Data transmission method in internet of vehicles and terminal
CN107786310B (en) Data packet transmission method and node
WO2018121220A1 (en) System information transmission method, user terminal, and transmission node
CN111165049A (en) Link reconfiguration processing method and related product
WO2023207660A1 (en) Resource determining method and apparatus
WO2022022402A1 (en) Method and apparatus for determining target resource type, and communication device
CN112203326B (en) Data transmission method and communication device
US20230036718A1 (en) Wi-Fi Communication Method and Electronic Device
US20230163933A1 (en) Information transmission method and communication apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22790873

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE