Data transmission method and communication device
By determining data packets that meet specific CAPC and priority thresholds in the communication device, optimizing resource selection and allocation of unauthorized spectrum, the problems of low resource utilization and transmission efficiency in the prior art are solved, and more efficient communication is achieved.
Patent Information
- Application Number
- CN202311287126.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-08-11
- Filing Date
- 2023-09-28
- Publication Date
- 2025-02-25
AI Technical Summary
When existing communication equipment uses unauthorized spectrum, resource utilization and transmission efficiency are low, mainly due to problems in resource selection and allocation mechanisms, resulting in communication interference and resource waste.
By determining M packets in K packets, it is ensured that the channel access priority value (CAPC) corresponding to at least one of the M packets is greater than or equal to the first CAPC, and/or the priority value is less than or equal to the first priority threshold, thereby optimizing resource selection and allocation.
It improves the resource utilization and transmission efficiency of communication equipment on the unauthorized spectrum, reduces communication interference and resource waste, and enhances the overall performance of the system.
Smart Images

Figure CN119521175A_ABST
Abstract
Description
[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on August 11, 2023, with application number 202311018734.8 and application name “Data Transmission Method and Communication Device”, all contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the field of communications, and more specifically, to a data transmission method and a communication device. Background Art
[0003] Unlicensed spectrum is a public communication resource in wireless communication resources that can be used without authorization. Unlicensed spectrum is distributed in 2.4 gigahertz (GHz), 5GHz, 6GHz, etc. Compared with limited licensed frequency band resources, it has the advantages of abundant resources and low cost. Communication equipment needs to follow the rules for the use of unlicensed spectrum. Before using unlicensed spectrum, it is necessary to perform channel idle detection. If the detection result meets the requirements, the unlicensed spectrum is used for transmission, so that each communication device can use unlicensed spectrum resources fairly and try to avoid communication interference on the unlicensed spectrum.
[0004] The communication device triggers resource selection based on at least one data packet to be transmitted, such as determining available transmission resources in the unlicensed spectrum by performing channel idle detection, and then allocating transmission resources to the data packet. However, the data packet that triggers the communication device to perform resource selection may be different from the data packet of the resources to be allocated when performing resource allocation. If the communication device obtains other data packets after the data packet that triggers the resource selection, based on the current resource allocation mechanism, there is still a problem of low resource utilization and transmission efficiency of the unlicensed spectrum resources occupied by the communication device. Summary of the invention
[0005] The embodiments of the present application provide a data transmission method and a communication device, which can improve resource utilization and transmission efficiency.
[0006] In a first aspect, a data transmission method is provided, which can be executed by a communication device or a module (such as a chip or a chip module, etc.) configured in (or used for) a communication device.
[0007] The method includes: determining M data packets among K data packets, K and M are positive integers, and M≤K; sending first side information on a first resource, the first side information including the M data packets; wherein the K data packets include N data packets in second side information, the second side information is side information that triggers the first communication device to perform resource selection or triggers the first communication device to perform channel idle detection LBT, N is a positive integer, and N<K.
[0008] The channel access priority value CAPC corresponding to at least one of the M data packets is greater than or equal to the first CAPC; and / or the priority value of the data packet in the M data packets is less than or equal to the first priority threshold.
[0009] According to the above scheme, for the new data packets (i.e., data packets other than N data packets among K data packets) arriving after the first communication device performs resource selection (or performs LBT), the CAPC and priority values corresponding to the data packets to be transmitted are determined, and the data packets that meet the threshold conditions are determined to be transmitted, that is, the data packets are transmitted when the CAPC of the data packets to be transmitted is large enough (i.e., the channel access priority level is small enough). That is to say, in the LCP process, the CAPC of the initial COT is made as consistent as possible with the CAPC used for performing resource selection (or performing LBT) through the above scheme. In addition, the problem that the second communication device cannot share the initial COT of the first communication device or the first communication device cannot transmit continuously within the COT due to the change of the CAPC of the initial COT can be avoided. The above scheme can increase the probability that the initial COT of the first communication device shares COT resources with other communication devices, thereby improving resource utilization. And / or transmit the data packet when the priority value of the data packet to be transmitted is small enough (i.e., the priority level of the data packet is high enough) so that data packets with high priority levels can be transmitted first, so as to meet the transmission requirements of high priority data packets, taking into account the continuous transmission of the communication device within the COT and the priority transmission of more important services, and improving the transmission efficiency of the communication system.
[0010] It should be noted that the first communication device first performs resource selection and then performs resource allocation (such as performing resource allocation through the LCP process), wherein the side information when triggering the resource selection is the second side information, and the side information determined after performing resource allocation (i.e., performing the LCP process) is the first side information. In other words, the first communication device selects the first resource based on the information of the second side information, and what is actually transmitted on the first resource is the first side information.
[0011] In the present application, the K data packets are available data packets in the process of executing LCP by the first communication device. The data packet may be a MAC SDU or a MAC CE; or, the data packet may be a logical channel or a MAC CE. The logical channel carries the MAC SDU. In the present application, the logical channel and the MAC SDU may be interchangeable. As described above, the K data packets may all be MAC SDUs, or all be MAC CEs, or some of the K data packets may be MAC SDUs and some may be MAC CEs. If a data packet is a MAC SDU, the priority value of the data packet is the priority value of the MAC SDU, or the priority value of the logical channel corresponding to the MAC SDU, or the priority value of the logical channel carrying the MAC SDU. If a data packet is a MAC CE, the priority value of the data packet is the priority value of the MAC CE. Similarly, if a data packet is a MAC SDU, the CAPC corresponding to the data packet is the CAPC of the MAC SDU, or the CAPC of the logical channel corresponding to the MAC SDU, or the CAPC corresponding to the logical channel carrying the MAC SDU. If a data packet is a MAC CE, the CAPC corresponding to the data packet is the CAPC of the MAC CE. In this application, the MAC SDU can be referred to as sidelink data.
[0012] The N data packets are the side information included in the second side information. The first communication device performs resource selection according to the parameters (such as priority and / or CAPC) of the second side information. The priority value of the second side information is the minimum value among the priority values of the data packets included in the second side information. The CAPC of the second side information is the maximum value among the CAPCs of the data packets included in the second side information.
[0013] In combination with the first aspect, in some implementations of the first aspect, the K data packets include data packets acquired after the N data packets.
[0014] It should be noted that the K data packets are available data packets for resource allocation (such as executing the LCP process), the N data packets are data packets that trigger the first communication device to perform resource selection (or trigger the first communication device to perform LBT), and the data packets other than the N data packets among the K data packets are data packets obtained after the N data packets (referred to as new data packets in the embodiment of the present application), that is, the data packets obtained before executing resource allocation (such as the LCP process).
[0015] If the K data packets include L data packets in addition to the N data packets, the L data packets may be referred to as new data packets, and the new data packets include any of the following: a new data packet refers to a data packet obtained by the first communication device after the data packet triggering resource selection and before the LCP process; or a new data packet refers to a data packet obtained by the first communication device after completing resource selection and before the LCP process; or a new data packet refers to a data packet obtained by the first communication device after the data packet triggering LBT and before the LCP process; or a new data packet refers to a data packet obtained by the first communication device after LBT is successful and before the LCP process; or a data packet obtained by the first communication device after determining to let the second communication device share COT and before the LCP process. If the first communication device obtains L data packets after N data packets before executing the LCP process, the available data packets (i.e., the K data packets) for the first communication device to execute the LCP process include the N data packets and the L data packets.
[0016] In one example, among K data packets, for a data packet having a CAPC greater than or equal to a first CAPC, and / or for a data packet having a priority value less than or equal to a first priority threshold, the first communication device determines that the data packet belongs to M data packets.
[0017] Among them, the first communication device determines that the data packet belongs to M data packets, which can also be understood as the first communication device selecting the data packet in the LCP process, or the first communication device allocates SL authorization resources for the data packet, or the first side information sent by the first communication device on the first resource includes the data packet.
[0018] In another example, among L new data packets among K data packets, for data packets whose CAPC is less than or equal to the first CAPC, and / or, for data packets whose priority value is greater than or equal to the first priority threshold, the first communication device determines that the new data packet does not belong to the M data packets.
[0019] In combination with the first aspect, in some implementations of the first aspect, the first CAPC is the maximum CAPC among the CAPCs corresponding to the data packets included in the second sideline information; or,
[0020] The first CAPC is the maximum CAPC among the CAPCs of P sideline information transmitted by the second communication device, the P sideline information is transmitted within an initial channel occupancy time COT of the first communication device, the first resource belongs to the COT, and P is a positive integer; or
[0021] The first CAPC is preconfigured or predefined, such as the first CAPC may be a CAPC threshold configured to the first communication device by the network communication device, a CAPC threshold preconfigured to the first communication device, a CAPC threshold predefined by a protocol, or a CAPC threshold determined by the first communication device; or,
[0022] The first CAPC is a same channel access priority threshold corresponding to any priority of the data packet; or,
[0023] Different priorities of data packets correspond to different channel access priority thresholds, and the first CAPC is the channel access priority threshold corresponding to the priority of the corresponding data packet; or,
[0024] The first CAPC is the CAPC adopted by the first communication device to perform LBT; or,
[0025] The first CAPC is the CAPC used by the first communication device to perform LBT and successfully occupy a channel.
[0026] In one example, the CAPC used by the first communication device to perform LBT may be:
[0027] the maximum CAPC among the CAPCs corresponding to the data packets that trigger the first communication device to perform LBT, that is, the first CAPC is the maximum CAPC corresponding to the data packets that trigger the first communication device to perform LBT; or,
[0028] the minimum CAPC among the CAPCs corresponding to the data packets that trigger the first communication device to perform LBT, that is, the first CAPC is the minimum CAPC corresponding to the data packets that trigger the first communication device to perform LBT; or,
[0029] the minimum CAPC among the CAPCs corresponding to the data packet that triggers the first communication device to perform resource selection, that is, the first CAPC is the minimum CAPC corresponding to the data packet that triggers the first communication device to perform resource selection; or,
[0030] The CAPC used for selecting resources for transmitting the first sideline information or the second sideline information, that is, the first CAPC is the CAPC used for selecting resources for transmitting the first sideline information or the second sideline information by the first communication device.
[0031] According to the above scheme, by defining the first CAPC as the CAPC threshold for determining the M data packets, the first communication device can determine, based on the first CAPC, that the CAPC of the data packet in the M data packets among the K data packets is large enough (the CAPC is large enough means that the CAPC of the data packet is greater than or equal to the first CAPC, and the specific implementation of the first CAPC can refer to the introduction below), that is, the channel access priority level is low enough. This can avoid the problem of being unable to share with the second communication device, or avoid the problem of the first communication device being unable to transmit continuously.
[0032] In another example, the CAPC adopted by the first communication device to perform LBT may be:
[0033] The maximum CAPC corresponding to the data packets included in the first sideline information (that is, the maximum CAPC corresponding to the M data packets included in the first sideline information); or, the maximum CAPC corresponding to the data packets allocated to the first resource.
[0034] Optionally, the CAPC value of the first sideline information is less than or equal to the CAPC adopted by the first communication device to perform LBT.
[0035] That is, if the CAPC value of the first side information is less than or equal to the CAPC used by the first communication device to perform LBT, the first communication device sends the first side information on the first resource. If the CAPC value of the first side information is greater than or equal to the CAPC used by the first communication device to perform LBT, the first communication device does not send the first side information on the first resource.
[0036] Optionally, the side control information sent by the first communication device is used to indicate the first CAPC. For example, the first CAPC is a CAPC for the first communication device to perform LBT, and the side control information sent by the first communication device indicates that the first communication device performs LBT.
[0037] Specifically, the sideline control information for indicating the first CAPC may be carried on the first resource, that is, the sideline control information sent by the first communication device on the first resource indicates the first CAPC.
[0038] Optionally, the CAPC value of the first sideline information is less than or equal to the first CAPC. That is, the CAPC value of the first sideline information carried on the first resource is less than or equal to the first CAPC indicated by the first control sideline information carried on the first resource.
[0039] If the CAPC of the first sideline information is less than or equal to the first CAPC, the sideline control information sent by the first communication device indicates the first CAPC or indicates the CAPC of the first sideline information.
[0040] If the CAPC of the first sideline information is greater than the CAPC for performing LBT, the sideline control information sent by the first communication device indicates the CAPC for performing LBT or indicates the CAPC of the first sideline information.
[0041] In combination with the first aspect, in some implementations of the first aspect, the first priority threshold is a priority threshold corresponding to any CAPC of the data packet; or,
[0042] Different CAPCs of the data packet correspond to different priority thresholds, and the first priority value is the priority threshold corresponding to the CAPC corresponding to the data packet.
[0043] According to the above scheme, by defining the first priority value, the first communication device can allocate resources in the first resource to the data packets with a sufficiently high priority level (i.e., a sufficiently small priority value) among the K data packets, so that the data packets with a higher priority level can be transmitted first to meet the transmission requirements of the data packets with a higher priority level, thereby ensuring the efficiency of the entire communication system.
[0044] In combination with the first aspect, in some implementations of the first aspect, the first resource belongs to a first time unit in an initial COT of the first communication device,
[0045] The first time unit carries a data packet whose CAPC is greater than or equal to the first CAPC among the K data packets; and / or,
[0046] The time units other than the first time unit in the COT carry data packets whose CAPC is smaller than the first CAPC among the K data packets.
[0047] It can be understood that the first resource belongs to the xth time unit in the initial COT of the first communication device, and the xth time unit carries a data packet whose CAPC is greater than or equal to the first CAPC among the K data packets. x is a positive integer, for example, x=1. The second resource belongs to the yth time unit in the COT, and the yth time unit carries a data packet whose CAPC is less than the first CAPC among the K data packets. y is an integer greater than 1, for example, y=2.
[0048] According to the above scheme, in addition to allocating the first resource to the M data packets determined among the K data packets, the first communication device also allocates resources of other time units in the COT to the data packets among the K data packets whose CAPC is less than the first CAPC. Since the CAPC of the data packets carried on the resources is less than the first CAPC, the first communication device can achieve continuous transmission in the COT, thereby improving transmission efficiency and resource utilization.
[0049] In combination with the first aspect, in some implementations of the first aspect, the M data packets include a data packet whose HARQ attribute is a first HARQ attribute, and the first HARQ attribute is a HARQ attribute of a data packet with a minimum priority value among the N data packets.
[0050] In combination with the first aspect, in some implementations of the first aspect, if the minimum priority value among the priority values of the K data packets is less than the minimum priority value among the priority values of the N data packets, the HARQ attribute of the M data packets is the first HARQ attribute. That is, allocating resources to the new data packet during the LCP process will not cause the HARQ attribute of the actually transmitted first sidelink information to be different from the HARQ attribute of the to-be-transmitted data packet with the minimum priority value when the first communication device performs resource selection.
[0051] In combination with the first aspect, in some implementations of the first aspect, the first communication device determines M data packets from K data packets, including at least one of manner 1 to manner 8:
[0052] Mode 1: In the LCP process, the first communication device sets the SB of the data packets whose CAPC is less than or equal to the first CAPC in the L new data packets to 0, and then determines M data packets from the data packets whose SB is greater than 0 in the K data packets.
[0053] That is, in the LCP process, the first communication device sets the SB of the data packets whose CAPC is greater than or equal to the first CAPC among the L new data packets to a value greater than 0.
[0054] Mode 2: When selecting a data packet, the first communication device selects a data packet whose CAPC is greater than or equal to the first CAPC among the L new data packets.
[0055] That is, the first communication device does not select a data packet whose CAPC is less than or equal to the first CAPC among the L new data packets.
[0056] Mode 3: When allocating SL authorized resources to data packets, the first communication device allocates resources in the first resource to the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the L new data packets in ascending order of the priority value of the data packets. Among them, M data packets are allocated to resources in the first resource.
[0057] That is, when allocating SL authorized resources to a data packet, for a data packet whose CAPC is smaller than the first CAPC, no resources in the first resource are allocated to the data packet.
[0058] Mode 4: When allocating SL authorized resources to data packets, the first communication device allocates resources in the first resource to the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the L new data packets in the ascending order of the priority values of the data packets. After the first communication device has allocated resources to all the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the L new data packets, if there are still remaining resources in the first resource, the first communication device allocates resources in the first resource to the data packets whose resources are not allocated and whose CAPC is greater than or equal to the first CAPC among the L new data packets in the ascending order of the priority values of the data packets, wherein M data packets are allocated resources in the first resource.
[0059] That is to say, when the first communication device allocates SL authorized resources to a data packet, for a data packet whose CAPC is smaller than the first CAPC, no resources in the first resources are allocated to the data packet.
[0060] Mode 5: After the first communication device sets the SB of the data packets whose CAPC is less than or equal to the first CAPC in the LCP process to 0 among the K new data packets, it determines M data packets among the data packets whose SB is greater than 0 among the K data packets.
[0061] That is, the first communication device sets the SB of the data packets whose CAPC is greater than the first CAPC among the K new data packets to a value greater than 0 during the LCP process.
[0062] Mode 6: When selecting a data packet, the first communication device selects a data packet whose CAPC is greater than or equal to the first CAPC among the K new data packets.
[0063] That is, the first communication device does not select a data packet whose CAPC is smaller than the first CAPC among the K new data packets.
[0064] Mode 7: When allocating SL authorized resources to data packets, the first communication device allocates resources in the first resource to the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the K new data packets in ascending order of the priority value of the data packets. Among them, M data packets are allocated to resources in the first resource.
[0065] That is, when allocating SL authorized resources to a data packet, for a data packet whose CAPC is less than or equal to the first CAPC, no resources in the first resources are allocated to the data packet.
[0066] Mode 8: When allocating SL authorized resources to data packets, the first communication device allocates resources in the first resource to the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the K new data packets in the ascending order of the priority values of the data packets. After the first communication device has allocated resources to all the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the K new data packets, if there are still remaining resources in the first resource, the first communication device allocates resources in the first resource to the data packets whose resources are not allocated and whose CAPC is greater than or equal to the first CAPC among the K new data packets in the ascending order of the priority values of the data packets, wherein M data packets are allocated resources in the first resource.
[0067] That is to say, when the first communication device allocates SL authorized resources to a data packet, for a data packet whose CAPC is less than or equal to the first CAPC, no resources in the first resources are allocated to the data packet.
[0068] In combination with the first aspect, in certain implementations of the first aspect, the first side information includes a data packet with a maximum channel access priority value CAPC among the K data packets, or the first side information includes a data packet with a maximum CAPC among the N data packets.
[0069] In combination with the first aspect, in some implementations of the first aspect, the first resource belongs to a first time unit in an initial channel occupancy time COT of the first communication device, and the method further includes: sending third sideline information on the second resource,
[0070] Among them, the second resource belongs to the time unit other than the first time unit in the initial COT of the first communication device, the first sideline information and the third sideline information respectively carry data packets in the K data packets, and the CAPC of the first sideline information is greater than or equal to the CAPC of the third sideline information.
[0071] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: allocating the first resource to the data packets among the K data packets in the order of decreasing CAPC of the data packets and then increasing priority values of the data packets; and / or allocating the second resource to the data packets among the K data packets in the order of increasing CAPC of the data packets and then increasing priority values of the data packets, the second resource being a time unit in the COT other than the first time unit.
[0072] In combination with the first aspect, in some implementations of the first aspect, the first resource and the second resource belong to the same multi-time unit candidate resource, and the multi-time unit candidate resource includes resources of multiple consecutive time units.
[0073] Exemplarily, the multi-time unit candidate resource is a multi-slot candidate resource (candidate multi-slotresource).
[0074] Optionally, the multi-time unit candidate resource is determined based on the second sidewalk information, and / or the multi-time unit candidate resource is determined in a sidewalk process.
[0075] The multi-time unit candidate resource is determined according to the second side information, which may specifically include: the multi-time unit candidate resource is obtained by performing resource selection according to the parameters of the second side information. The multi-time unit candidate resource is determined in a side process, which may specifically include: the multi-time unit candidate resource is obtained by performing resource selection in a side process.
[0076] In combination with the first aspect, in some implementations of the first aspect, the time unit to which the first resource belongs and the time unit to which the second resource belongs are continuous time units.
[0077] Optionally, the first resource and the second resource are determined in the same side process.
[0078] In a second aspect, a data transmission method is provided, which can be executed by a communication device or a module (such as a chip or a chip module, etc.) configured in (or used for) a communication device.
[0079] The method comprises: determining M data packets from K data packets, K and M are positive integers, M≤K; sending first side information on a first resource, the first side information comprising the M data packets; wherein the K data packets comprise N data packets from second side information, the second side information is side information for triggering the first communication device to perform resource selection or triggering the first communication device to perform channel idle detection LBT, N is a positive integer, and K>N,
[0080] The first side information includes a data packet having a maximum channel access priority value CAPC among the K data packets, or the first side information includes a data packet having a maximum CAPC among the N data packets.
[0081] According to the above scheme, the data packet with the largest CAPC among the K data packets or the data packet with the largest CAPC among the N data packets included in the second side information can be allocated with resources in the first resource, so that the CAPC of the data packet carried by the first resource is not less than the CAPC selected by the resource, which can reduce the situation where other communication devices cannot share COT for transmission due to the reduction of CAPC or reduce the situation where the first communication device cannot transmit continuously, thereby improving resource utilization and improving system transmission efficiency.
[0082] In combination with the second aspect, in certain implementations of the second aspect, the first resource belongs to the first time unit in the initial channel occupancy time COT of the first communication device.
[0083] In conjunction with the second aspect, in some implementations of the second aspect, the method further includes:
[0084] The first communication device sends third sideline information on the second resource,
[0085] Among them, the second resource belongs to the time unit other than the first time unit in the initial COT of the first communication device, the first sideline information and the third sideline information respectively carry data packets in the K data packets, and the CAPC of the first sideline information is greater than or equal to the CAPC of the third sideline information.
[0086] Exemplarily, the first resource belongs to the first time unit in the initial COT of the first communication device, and the second resource belongs to the yth time unit in the COT, where y is an integer greater than 1, for example, y=2.
[0087] In combination with the second aspect, in some implementations of the second aspect, the first resource and the second resource belong to the same multi-time unit candidate resource, and the multi-time unit candidate resource includes resources of multiple consecutive time units.
[0088] Optionally, the multi-time unit candidate resource is determined according to the second sideline information, and / or the multi-time unit candidate resource is determined in a sideline process (SL process).
[0089] The multi-time unit candidate resource is determined according to the second side information, and specifically may include: the multi-time unit candidate resource is obtained by performing resource selection according to the parameters of the second side information (such as priority and / or CAPC). The multi-time unit candidate resource is determined in a side process, and specifically may include: the multi-time unit candidate resource is obtained by performing resource selection in a side process. A side process creates a group of SL authorized resources. The SL authorized resources include at least one multi-time unit candidate resource.
[0090] In combination with the second aspect, in some implementations of the second aspect, the time unit to which the first resource belongs and the time unit to which the second resource belongs are continuous time units.
[0091] Optionally, the first resource and the second resource are determined in the same side process. For example, a side process creates a group of SL authorized resources. The SL authorized resources include the first resource and the second resource.
[0092] In conjunction with the second aspect, in some implementations of the second aspect, the method further includes:
[0093] Allocating the first resource to the data packets among the K data packets in the order of decreasing CAPC values of the data packets and increasing priority values of the data packets; and / or,
[0094] The second resource is allocated to the data packets among the K data packets in the order of increasing CAPC of the data packets first and then increasing priority values of the data packets, and the second resource is a time unit in the COT except the first time unit.
[0095] In combination with the second aspect, in some implementations of the second aspect, the M data packets determined by the first communication device include a data packet with the largest CAPC among the K data packets, and the method further includes:
[0096] The first communication device first allocates resources from the first resource to the data packet with the largest CAPC among the K data packets, and then allocates resources from the first resource to the data packets among the K data packets that have not been allocated resources in ascending order of priority of the data packets, wherein M data packets are allocated resources from the first resource; and / or,
[0097] The first communication device allocates the first resource to the data packets among the K data packets in the order of decreasing CAPC values of the data packets and increasing priority values of the data packets, wherein M data packets are allocated resources among the first resources; and / or,
[0098] The first communication device first allocates resources in the first resource and then allocates resources in the second resource to the data packets among the K data packets in descending order of CAPC, so that the data packet with the largest CAPC among the K data packets is carried on the first resource, wherein the data packets carried on the first resource include the M data packets; and / or,
[0099] The first communication device first allocates resources in the second resources to the data packets in the K data packets in the order of increasing CAPC, and then allocates resources in the first resources; and / or,
[0100] The first communication device determines that the data packet with the largest CAPC among the K data packets is carried on the first resource, and the first communication device determines that the data packet with the largest CAPC among the K data packets is carried on the first resource, and the first communication device first allocates resources in the second resource to the data packets among the K data packets in ascending order of priority of the data packets, and then allocates resources in the first resource; and / or,
[0101] The first communication device allocates resources in the third resource and the fourth resource to the data packets in the K data packets respectively. After the resources are allocated, the sideline information carried on the third resource is the Ath sideline information, and the CAPC of the Ath sideline information is the Ath value; the sideline information carried on the fourth resource is the Bth sideline information, and the CAPC of the Bth sideline information is the Bth value. The resource where the sideline information corresponding to the maximum value between the Ath value and the Bth value is located is the first resource; the resource where the sideline information corresponding to the smaller value between the Ath value and the Bth value is located is the second resource, wherein the data packet included in the sideline information corresponding to the maximum value between the Ath value and the Bth value is the M data packets; and / or,
[0102] The first communication device first allocates resources from the second resources to the data packets in the K data packets in the order of increasing CAPC and then in the order of decreasing priority values of the data packets, and then allocates resources from the first resources; and / or,
[0103] The first communication device first allocates resources from the second resources to the data packets in the K data packets in the order of increasing CAPC and then in the order of increasing priority values of the data packets, and then allocates resources from the first resources; and / or,
[0104] The first communication device determines that a data packet with a CAPC greater than or equal to the first CAPC among the L new data packets is carried on the first resource, and a data packet with a CAPC less than the first CAPC among the L new data packets is carried on the second resource, and the first communication device first allocates resources in the first resource to the data packets among the K data packets in ascending order of priority of the data packets, and then allocates resources in the second resource; and / or,
[0105] The first communication device determines that the data packets among the K data packets whose CAPC is greater than or equal to the first CAPC are carried on the first resource, and the data packets among the K data packets whose CAPC is less than the first CAPC are carried on the second resource. The first communication device first allocates resources in the first resource to the data packets among the K data packets in ascending order of priority of the data packets, and then allocates resources in the second resource.
[0106] In combination with the second aspect, in some implementations of the second aspect, the M data packets determined by the first communication device include a data packet having the largest CAPC among the N data packets included in the second sideline information, and the method further includes:
[0107] The first communication device allocates resources from the first resource to the data packets in the N data packets in ascending order of priority values of the data packets, and then allocates resources from the second resource to the data packets whose CAPC is less than or equal to the first CAPC in the L new data packets, wherein the second resource is a resource in a time unit other than the first time unit in the COT to which the first resource belongs; and / or,
[0108] The first communication device allocates resources from the first resource to data packets among the N data packets in ascending order of priority values of the data packets, and then allocates resources from the second resource to data packets whose CAPC is less than or equal to the first CAPC among the K new data packets that have not been allocated resources (i.e., except for data packets that have been allocated resources from the first resource), wherein the second resource is a resource in a time unit other than the first time unit in the COT to which the first resource belongs; and / or,
[0109] The first communication device allocates resources from the first resources first and then resources from the second resources in the order of decreasing CAPC and then increasing priority of the data packets, among the N data packets and the L new data packets, whose CAPC is less than or equal to the first CAPC.
[0110] In conjunction with the second aspect, in some implementations of the second aspect, the method further includes:
[0111] The first resource is allocated to a data packet whose CAPC is greater than or equal to a first CAPC among the K data packets.
[0112] Among them, the first CAPC can refer to the description of the first aspect, which will not be repeated here for the sake of brevity.
[0113] In conjunction with the second aspect, in some implementations of the second aspect, the CAPC adopted by the first communication device to perform LBT may be:
[0114] The maximum CAPC corresponding to the data packets included in the first sideline information (that is, the maximum CAPC corresponding to the M data packets included in the first sideline information); or, the maximum CAPC corresponding to the data packets allocated to the first resource.
[0115] Optionally, the CAPC value of the first sideline information is less than or equal to the CAPC adopted by the first communication device to perform LBT.
[0116] That is, if the CAPC value of the first side information is less than or equal to the CAPC used by the first communication device to perform LBT, the first communication device sends the first side information on the first resource. If the CAPC value of the first side information is greater than or equal to the CAPC used by the first communication device to perform LBT, the first communication device does not send the first side information on the first resource.
[0117] Optionally, the side control information sent by the first communication device is used to indicate the first CAPC. For example, the first CAPC is a CAPC for the first communication device to perform LBT, and the side control information sent by the first communication device indicates that the first communication device performs LBT.
[0118] Specifically, the sideline control information for indicating the first CAPC may be carried on the first resource, that is, the sideline control information sent by the first communication device on the first resource indicates the first CAPC.
[0119] Optionally, the CAPC value of the first sideline information is less than or equal to the first CAPC. That is, the CAPC value of the first sideline information carried on the first resource is less than or equal to the first CAPC indicated by the first control sideline information carried on the first resource.
[0120] If the CAPC of the first sideline information is less than or equal to the first CAPC, the sideline control information sent by the first communication device indicates the first CAPC or indicates the CAPC of the first sideline information.
[0121] If the CAPC of the first sideline information is greater than the CAPC for performing LBT, the sideline control information sent by the first communication device indicates the CAPC for performing LBT or indicates the CAPC of the first sideline information.
[0122] According to a third aspect, a data transmission method is provided, which can be executed by a communication device or a module (such as a chip or a chip module, etc.) configured in (or used for) a communication device.
[0123] The method comprises: a first communication device determines, among K data packets, data packets carried on a first resource and a second resource respectively;
[0124] The first communication device sends first sideline information and third sideline information on a first resource and a second resource, respectively, the first sideline information including at least one data packet among the K data packets, the second resource being located after the first resource in time, the third sideline information including data packets whose channel access priority value CAPC among the K data packets is less than or equal to a first CAPC, the first CAPC being any one of the following:
[0125] triggering the first communication device to perform a CAPC for resource selection; or,
[0126] triggering the first communication device to perform a CAPC of LBT; or,
[0127] The first communication device performs a CAPC with successful LBT; or,
[0128] The CAPC of the first side information; or
[0129] The maximum CAPC among the CAPCs of P sideline information transmitted by the second communication device, the P sideline information is transmitted within the initial COT of the first communication device, P is a positive integer; or
[0130] A preconfigured or predefined CAPC; or,
[0131] The channel access priority threshold corresponding to the priority of the data packet.
[0132] Among them, the channel access priority threshold corresponding to the priority of the data packet includes: the first CAPC is the same channel access priority threshold corresponding to any priority of the data packet; or, the channel access priority thresholds corresponding to different priorities of the data packets are different, and the first CAPC is the channel access priority threshold corresponding to the priority of the corresponding data packet.
[0133] Specifically, the first CAPC can refer to the introduction of the first aspect, which will not be described here for brevity.
[0134] For example, taking the first CAPC as the CAPC of the data packet that triggers the first communication device to perform resource selection, the first communication device determines that the CAPC of the data packet contained in the third side information is less than or equal to the CAPC of the data packet that triggers the first communication device to perform resource selection, so that the first communication device can share the resources in the initial COT of the first communication device and continuously transmit the third side information within the time unit after the first time unit.
[0135] According to the above solution, the situation where the first communication device cannot transmit continuously in its initial COT can be reduced, resource utilization can be improved, and the transmission efficiency of the system can be improved.
[0136] In one example, for L new data packets among the K data packets acquired by the first communication device, the first communication device determines the new data packets whose CAPC is less than or equal to the first CAPC among the L new data packets, and allocates resources in the second resource to them. That is, the third sidelink information sent by the first communication device on the second resource includes the new data packets whose CAPC is less than or equal to the first CAPC among the L new data packets.
[0137] In another example, for the K data packets acquired by the first communication device, the first communication device determines the data packets whose CAPC is less than or equal to the first CAPC among the K data packets, and allocates resources in the second resource to the data packets. That is, the third sidelink information sent by the first communication device on the second resource includes the data packets whose CAPC is less than or equal to the first CAPC among the K data packets.
[0138] In combination with the third aspect, in certain implementations of the third aspect, the first resource belongs to the first time unit in the initial COT of the first communication device, and the second resource belongs to a time unit other than the first time unit in the COT.
[0139] In combination with the third aspect, in some implementations of the third aspect, the first communication device determines, from the K data packets, data packets respectively carried on the first resource and the second resource, including:
[0140] Determine, among the K data packets, a data packet carried by the first sideline information and sent on the first resource;
[0141] Among the remaining data packets in the K data packets, determine data packets whose CAPC carried in the third sideline information sent on the second resource is less than or equal to the first CAPC, and the first CAPC is the CAPC of the first sideline information.
[0142] In combination with the third aspect, in some implementations of the third aspect, the CAPC of the data packet carried by the second resource is less than or equal to the first CAPC.
[0143] In conjunction with the third aspect, in certain implementations of the third aspect, the CAPC adopted by the first communication device to perform LBT may be:
[0144] The maximum CAPC corresponding to the data packets included in the first sideline information (that is, the maximum CAPC corresponding to the M data packets included in the first sideline information); or, the maximum CAPC corresponding to the data packets allocated to the first resource.
[0145] Optionally, the CAPC value of the first sideline information is less than or equal to the CAPC adopted by the first communication device to perform LBT.
[0146] That is, if the CAPC value of the first side information is less than or equal to the CAPC used by the first communication device to perform LBT, the first communication device sends the first side information on the first resource. If the CAPC value of the first side information is greater than or equal to the CAPC used by the first communication device to perform LBT, the first communication device does not send the first side information on the first resource.
[0147] Optionally, the side control information sent by the first communication device is used to indicate the first CAPC. For example, the first CAPC is a CAPC for the first communication device to perform LBT, and the side control information sent by the first communication device indicates that the first communication device performs LBT.
[0148] Specifically, the sideline control information for indicating the first CAPC may be carried on the first resource, that is, the sideline control information sent by the first communication device on the first resource indicates the first CAPC.
[0149] Optionally, the CAPC value of the first sideline information is less than or equal to the first CAPC. That is, the CAPC value of the first sideline information carried on the first resource is less than or equal to the first CAPC indicated by the first control sideline information carried on the first resource.
[0150] If the CAPC of the first sideline information is less than or equal to the first CAPC, the sideline control information sent by the first communication device indicates the first CAPC or indicates the CAPC of the first sideline information.
[0151] If the CAPC of the first sideline information is greater than the CAPC for performing LBT, the sideline control information sent by the first communication device indicates the CAPC for performing LBT or indicates the CAPC of the first sideline information.
[0152] In conjunction with the third aspect, in some implementations of the third aspect, the first resource and the second resource belong to the same multi-time unit candidate resource, and the multi-time unit candidate resource includes resources of multiple consecutive time units. Exemplarily, the multi-time unit candidate resource is a multi-time slot candidate resource.
[0153] Optionally, the multi-time unit candidate resource is determined according to the second sideline information, and / or the multi-time unit candidate resource is determined in a sideline process (SL process).
[0154] The multi-time unit candidate resource is determined according to the second side information, and specifically may include: the multi-time unit candidate resource is obtained by performing resource selection according to the parameters of the second side information (such as priority and / or CAPC). The multi-time unit candidate resource is determined in a side process, and specifically may include: the multi-time unit candidate resource is obtained by performing resource selection in a side process. A side process creates a group of SL authorized resources. The SL authorized resources include at least one multi-time unit candidate resource.
[0155] In combination with the second aspect, in some implementations of the second aspect, the time unit to which the first resource belongs and the time unit to which the second resource belongs are continuous time units.
[0156] Optionally, the first resource and the second resource are determined in the same side process. For example, a side process creates a group of SL authorized resources. The SL authorized resources include the first resource and the second resource.
[0157] In a fourth aspect, a data transmission method is provided, which can be executed by a communication device or a module (such as a chip or a chip module, etc.) configured in (or used for) a communication device.
[0158] The method includes: the second communication device transmits shared fourth sideline information within the initial COT of the first communication device according to the COT indication information of the first communication device.
[0159] According to the above scheme, the first communication device and the second communication device can transmit continuously in the COT, reducing the time for the second communication device to execute LBT, improving resource utilization, and improving the transmission efficiency of the system.
[0160] In one example, the CAPC of the fourth side control information is the CAPC indicated by the COT indication information. The CAPC indicated by the COT indication information is the CAPC of the LBT performed by the first communication device. Alternatively, the CAPC indicated by the COT indication information is the CAPC of the LBT performed by the first communication device when the COT is initialized.
[0161] Optionally, if the CAPC of the fourth side information is less than or equal to the CAPC indicated by the COT indication information, the side control information of the second communication device indicates the CAPC of the fourth side information. If the CAPC of the fourth side information is greater than the CAPC indicated by the COT indication information, the side control information of the second communication device indicates the CAPC indicated by the COT indication information.
[0162] In a fifth aspect, a communication device is provided. In one design, the device may include a module corresponding to the method / operation / step / action described in the first aspect or any one of the embodiments of the first aspect. The module may be a hardware circuit, or software, or a combination of a hardware circuit and software. In one design, the device includes: a processing unit, configured to determine M data packets from K data packets, K and M are positive integers, and M≤K;
[0163] A transceiver unit, configured to send first sideline information on a first resource, wherein the first sideline information includes the M data packets;
[0164] The K data packets include N data packets in the second side information, the second side information is the side information that triggers the first communication device to perform resource selection or triggers the first communication device to perform channel idle detection LBT, N is a positive integer, and N<K,
[0165] The channel access priority value CAPC corresponding to at least one of the M data packets is greater than or equal to the first CAPC; and / or,
[0166] The priority value of a data packet in the M data packets is less than or equal to a first priority threshold.
[0167] In combination with the fifth aspect, in certain implementations of the fifth aspect, the K data packets include data packets acquired after the N data packets.
[0168] In combination with the fifth aspect, in some implementations of the fifth aspect, the first CAPC is the maximum CAPC among the CAPCs corresponding to the data packets included in the second sideline information; or,
[0169] The first CAPC is the CAPC adopted by the first communication device to perform LBT; or,
[0170] The first CAPC is the CAPC used by the first communication device to perform LBT and successfully occupy a channel; or,
[0171] The first CAPC is the maximum CAPC among the CAPCs of P sideline information transmitted by the second communication device, the P sideline information is transmitted within an initial channel occupancy time COT of the first communication device, the first resource belongs to the COT, and P is a positive integer; or
[0172] The first CAPC is preconfigured or predefined.
[0173] The first CAPC is a same channel access priority threshold corresponding to any priority of the data packet; or,
[0174] Different priorities of data packets correspond to different channel access priority thresholds, and the first CAPC is the channel access priority threshold corresponding to the priority of the corresponding data packet.
[0175] In combination with the fifth aspect, in some implementations of the fifth aspect, the first priority threshold is a priority threshold corresponding to any CAPC of the data packet; or,
[0176] Different CAPCs of the data packet correspond to different priority thresholds, and the first priority value is the priority threshold corresponding to the CAPC corresponding to the data packet.
[0177] In combination with the fifth aspect, in some implementations of the fifth aspect, the first resource belongs to a first time unit in an initial COT of the first communication device,
[0178] The first time unit carries a data packet whose CAPC is greater than or equal to the first CAPC among the K data packets; and / or,
[0179] The second time unit in the COT carries a data packet whose CAPC is smaller than the first CAPC among the K data packets.
[0180] In combination with the fifth aspect, in certain implementations of the fifth aspect, the M data packets include a data packet whose HARQ attribute is a first HARQ attribute, and the first HARQ attribute is the HARQ attribute of the data packet with the smallest priority value among the N data packets.
[0181] In combination with the fifth aspect, in certain implementations of the fifth aspect, if the minimum priority value among the priority values of the K data packets is smaller than the minimum priority value among the priority values of the N data packets, the HARQ attribute of the M data packets is the first HARQ attribute.
[0182] In combination with the fifth aspect, in some implementations of the fifth aspect, the CAPC corresponding to a data packet in the M data packets is greater than or equal to the first CAPC; and the processing unit is specifically configured to:
[0183] After setting the token bucket SB of the data packets whose CAPC is less than or equal to the first CAPC in the logical channel prioritization LCP process to 0 among the K data packets, determining the M data packets; and / or,
[0184] Determine M data packets having a CAPC greater than or equal to the first CAPC among the K data packets; and / or,
[0185] In the LCP process, for the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the K data packets, resources in the first resources are allocated in ascending order of priority values of the data packets, wherein the M data packets are allocated to resources in the first resources; and / or,
[0186] In the LCP process, for the data packets among the K data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC, resources in the first resources are allocated in ascending order of the priority values of the data packets; if there are remaining resources in the first resources, for the data packets among the K data packets to which resources are not allocated, resources in the first resources are allocated in ascending order of the priority values of the data packets, wherein the M data packets are allocated to resources in the first resources.
[0187] In combination with the fifth aspect, in certain implementations of the fifth aspect, the first side information includes a data packet with a largest channel access priority value CAPC among the K data packets, or the first side information includes a data packet with a largest CAPC among the N data packets.
[0188] In combination with the fifth aspect, in some implementations of the fifth aspect, the first resource belongs to a first time unit in an initial channel occupancy time COT of the first communication device,
[0189] The transceiver unit is further configured to send third sideline information on the second resource.
[0190] Among them, the second resource belongs to the time unit other than the first time unit in the initial COT of the first communication device, the first sideline information and the third sideline information respectively carry data packets in the K data packets, and the CAPC of the first sideline information is greater than or equal to the CAPC of the third sideline information.
[0191] In conjunction with the fifth aspect, in some implementations of the fifth aspect, the processing unit is further configured to:
[0192] Allocating the first resource to the data packets among the K data packets in the order of decreasing CAPC values of the data packets and increasing priority values of the data packets; and / or,
[0193] The second resource is allocated to the data packets among the K data packets in the order of increasing CAPC of the data packets first and then increasing priority values of the data packets, and the second resource is a time unit in the COT except the first time unit.
[0194] In a sixth aspect, a communication device is provided. In one design, the device may include a module corresponding to the method / operation / step / action described in the second aspect or any one of the embodiments of the second aspect. The module may be a hardware circuit, or software, or a combination of a hardware circuit and software. In one design, the device includes:
[0195] A processing unit, used for determining M data packets from K data packets, where K and M are positive integers, and M≤K;
[0196] A transceiver unit, configured to send first sideline information on a first resource, wherein the first sideline information includes the M data packets;
[0197] The K data packets include N data packets in the second side information, the second side information is the side information that triggers the first communication device to perform resource selection or triggers the first communication device to perform channel idle detection LBT, N is a positive integer, and K>N,
[0198] The first side information includes a data packet having a maximum channel access priority value CAPC among the K data packets, or the first side information includes a data packet having a maximum CAPC among the N data packets.
[0199] In combination with the sixth aspect, in certain implementations of the sixth aspect, the first resource belongs to the first time unit in the initial channel occupancy time COT of the first communication device.
[0200] In combination with the sixth aspect, in some implementations of the sixth aspect, the transceiver unit is further configured to send third sideline information on the second resource.
[0201] Among them, the second resource belongs to the time unit other than the first time unit in the initial COT of the first communication device, the first sideline information and the third sideline information respectively carry data packets in the K data packets, and the CAPC of the first sideline information is greater than or equal to the CAPC of the third sideline information.
[0202] In conjunction with the sixth aspect, in some implementations of the sixth aspect, the processing unit is further configured to:
[0203] Allocating the first resource to the data packets among the K data packets in the order of decreasing CAPC values of the data packets and increasing priority values of the data packets; and / or,
[0204] The second resource is allocated to the data packets among the K data packets in the order of increasing CAPC of the data packets first and then increasing priority values of the data packets, and the second resource is a time unit in the COT except the first time unit.
[0205] In combination with the sixth aspect, in some implementations of the sixth aspect, the processing unit is further configured to allocate the first resource to a data packet having a CAPC greater than or equal to a first CAPC among the K data packets,
[0206] Among them, the first CAPC can refer to the introduction of the first aspect, and for the sake of brevity, it will not be repeated here.
[0207] In a seventh aspect, a communication device is provided. In one design, the device may include a module corresponding to the method / operation / step / action described in the third aspect or any one of the embodiments of the third aspect. The module may be a hardware circuit, or software, or a combination of a hardware circuit and software. In one design, the device includes:
[0208] A processing unit, configured to determine, among the K data packets, data packets carried on the first resource and the second resource respectively;
[0209] A transceiver unit is used to send first side information and third side information on a first resource and a second resource respectively, the first side information includes at least one data packet among the K data packets, the second resource is located after the first resource in time, and the second side information includes data packets among the K data packets whose channel access priority value CAPC is less than or equal to the first CAPC.
[0210] Among them, the first CAPC can refer to the introduction in the first aspect, and for the sake of brevity, it will not be repeated here.
[0211] In combination with the seventh aspect, in certain implementations of the seventh aspect, the first resource belongs to the first time unit in the initial COT of the first communication device, and the second resource belongs to a time unit in the COT other than the first time unit.
[0212] In conjunction with the seventh aspect, in some implementations of the seventh aspect, the processing unit is specifically configured to:
[0213] Determine, among the K data packets, a data packet carried by the first sideline information and sent on the first resource;
[0214] Among the remaining data packets in the K data packets, determine data packets whose CAPC carried in the third sideline information sent on the second resource is less than or equal to the first CAPC, and the first CAPC is the CAPC of the first sideline information.
[0215] In combination with the seventh aspect, in some implementations of the seventh aspect, the CAPC of the data packet carried by the second resource is less than or equal to the first CAPC.
[0216] In an eighth aspect, a communication device is provided. In one design, the device may include a module corresponding to the method / operation / step / action described in the fourth aspect or any one of the embodiments of the fourth aspect. The module may be a hardware circuit, or software, or a combination of a hardware circuit and software. In one design, the device includes a transceiver unit and a processing unit, and the processing unit is used to control the transceiver unit to share the transmission of the fourth side information within the initial COT of the first communication device according to the COT indication information of the first communication device.
[0217] According to the above scheme, the first communication device and the second communication device can transmit continuously in the COT, reducing the time for the second communication device to execute LBT, improving resource utilization, and improving the transmission efficiency of the system.
[0218] In one example, the CAPC of the fourth side control information is the CAPC indicated by the COT indication information. The CAPC indicated by the COT indication information is the CAPC of the LBT performed by the first communication device. Alternatively, the CAPC indicated by the COT indication information is the CAPC of the LBT performed by the first communication device when the COT is initialized.
[0219] Optionally, if the CAPC of the fourth sideline information is less than or equal to the CAPC indicated by the COT indication information, the sideline control information of the second communication device indicates the CAPC of the fourth sideline information. If the CAPC of the fourth sideline information is greater than the CAPC indicated by the COT indication information, the sideline control information of the second communication device indicates the CAPC indicated by the COT indication information.
[0220] In the ninth aspect, a communication device is provided, comprising a processor. The processor can implement the method in any possible implementation of the first to fourth aspects and the first to fourth aspects. Optionally, the processor is coupled to a memory, and can be used to execute instructions in the memory to implement the method in any possible implementation of the first to fourth aspects and the first to fourth aspects. The memory can be arranged in the communication device or outside the communication device. Optionally, the communication device also includes a communication interface, and the processor is coupled to the communication interface. In an embodiment of the present application, the communication interface can be a transceiver, a pin, a circuit, a bus, a module or other types of communication interfaces, without limitation.
[0221] In one implementation, the communication device is a communication device (such as a terminal device). When the communication device is a communication device, the communication interface may be a transceiver, or an input / output interface.
[0222] In another implementation, the communication device is a chip configured in a communication device. When the communication device is a chip configured in a communication device, the communication interface may be an input / output interface.
[0223] Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.
[0224] In a tenth aspect, a processor is provided, comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is used to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method in any possible implementation of the first to fourth aspects and the first to fourth aspects.
[0225] In the specific implementation process, the processor can be one or more chips, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, a gate circuit, a trigger, and various logic circuits. The input signal received by the input circuit can be, for example, but not limited to, received and input by a receiver, and the signal output by the output circuit can be, for example, but not limited to, output to a transmitter and transmitted by the transmitter, and the input circuit and the output circuit can be the same circuit, which is used as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation methods of the processor and various circuits.
[0226] In the eleventh aspect, a computer program product is provided, which includes: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute the method in the above-mentioned first to fourth aspects and any possible implementation of the first to fourth aspects.
[0227] In the twelfth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions). When the computer-readable storage medium is run on a computer, the computer executes the method in the above-mentioned first to fourth aspects and any possible implementation of the first to fourth aspects.
[0228] In a thirteenth aspect, a communication system is provided, comprising at least one first communication device mentioned above and at least one second communication device mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0229] Figure 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application;
[0230] Figure 2 is a schematic diagram of COT sharing provided in an embodiment of the present application;
[0231] Figure 3 It is a schematic diagram of a new data packet arriving before the LCP process provided in an embodiment of the present application;
[0232] Figure 4 It is a schematic diagram of an embodiment of the present application in which COT sharing cannot be achieved;
[0233] Figure 5 It is a schematic diagram that continuous transmission cannot be achieved within the COT provided in the embodiment of the present application;
[0234] Figure 6 is a schematic flow chart of a data transmission method provided in an embodiment of the present application;
[0235] Figure 7is another schematic flow chart of the data transmission method provided in an embodiment of the present application;
[0236] Figures 8 to 17 It is a schematic diagram of data packet resource allocation provided by this application;
[0237] Fig.18 is another schematic flow chart of the data transmission method provided by an embodiment of the present application;
[0238] Fig.19 is a schematic block diagram of an example of a communication device provided in an embodiment of the present application;
[0239] Fig. 20 It is a schematic structural diagram of another example of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0240] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0241] In the embodiment of the present application, " / " can indicate that the objects associated before and after are in an "or" relationship, for example, A / B can indicate A or B; "and / or" can be used to describe that there are three relationships between the associated objects, for example, A and / or B can indicate: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In order to facilitate the description of the technical solution of the embodiment of the present application, in the embodiment of the present application, the words "first" and "second" can be used to distinguish. The words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit the difference. In the embodiment of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations, and any embodiment or design described as "exemplary" or "for example" should not be interpreted as being more preferred or more advantageous than other embodiments or design. The use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way for easy understanding. In the embodiments of the present application, at least one (kind) can also be described as one (kind) or more (kinds), and more (kinds) can be two (kinds), three (kinds), four (kinds) or more (kinds), and the present application does not impose any limitation.
[0242] Figure 1 FIG. 1 is a schematic diagram showing a possible, non-limiting system. Figure 1 As shown, the communication system 10 includes a radio access network (RAN) 100 and a core network (CN) 200. The RAN 100 includes at least one RAN node (e.g. Figure 1110a and 110b, collectively referred to as 110) and at least one terminal (such as Figure 1 RAN 100 may also include other RAN nodes, such as wireless relay equipment and / or wireless backhaul equipment ( Figure 1 The terminal 120 is connected to the RAN node 110 in a wireless manner. The RAN node 110 is connected to the core network 200 in a wireless or wired manner. The core network device in the core network 200 and the RAN node 110 in the RAN 100 may be different physical devices, or may be the same physical device that integrates the core network logical function and the radio access network logical function.
[0243] RAN 100 may be a cellular system related to the third generation partnership project (3GPP), for example, a 4G, 5G mobile communication system, or a future evolution system (for example, a 6G mobile communication system). RAN 100 may also be an open access network (open RAN, O-RAN or ORAN), a cloud radio access network (cloud radio access network, CRAN), or a wireless fidelity (wireless fidelity, WiFi) system. RAN 100 may also be a communication system that integrates two or more of the above systems.
[0244] The RAN node 110, which may also be sometimes referred to as an access network node, access network device, RAN entity or access node, etc., constitutes a part of the communication system to help the terminal achieve wireless access. The multiple RAN nodes 110 in the communication system 10 can be nodes of the same type or nodes of different types. In some scenarios, the roles of the RAN node 110 and the terminal 120 are relative, for example, Figure 1 The network element 120i may be a helicopter or a drone, which may be configured as a mobile base station. For the terminals 120j that access the RAN 100 through the network element 120i, the network element 120i is a base station; but for the base station 110a, the network element 120i is a terminal. The RAN node 110 and the terminal 120 are sometimes referred to as communication devices, for example Figure 1 The network elements 110a and 110b may be understood as communication devices having base station functions, and the network elements 120a-120j may be understood as communication devices having terminal functions.
[0245] In one possible scenario, a RAN node may be a base station, an evolved NodeB (eNodeB), an access point (AP), a transmission reception point (TRP), a next generation NodeB (gNB), a next generation base station in a sixth generation (6G) mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system. A RAN node may be a macro base station (e.g. Figure 1 110a in), micro base stations or indoor stations (such as Figure 1 110b in the description), a relay node or a donor node, or a wireless controller in a CRAN scenario. Optionally, the RAN node may also be a server, a wearable device, a vehicle or an on-board device, etc. For example, the access network device in the vehicle to everything (V2X) technology may be a road side unit (RSU). All or part of the functions of the RAN node in the present application may also be implemented by software functions running on hardware, or by virtualization functions instantiated on a platform (such as a cloud platform). The RAN node in the present application may also be a logical node, a logical module or software that can implement all or part of the functions of the RAN node.
[0246] In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, and different RAN nodes respectively implement part of the functions of the base station. For example, the RAN node can be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). The CU and DU can be set separately, or can also be included in the same network element, such as a baseband unit (BBU). The RU can be included in a radio frequency device or a radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU) or a remote radio head (RRH).
[0247] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be called O-CU (open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. For the convenience of description, CU, CU-CP, CU-UP, DU and RU are described as examples in this application. Any unit of CU (or CU-CP, CU-UP), DU and RU in this application may be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.
[0248] In the embodiment of the present application, the first communication device and the second communication device may be a terminal, or may be a module / device (such as a chip or a chip module) configured in the terminal. The terminal may also be referred to as a terminal device, a user equipment (UE), a terminal device, a terminal chip, a mobile station, a mobile terminal, a whole vehicle, etc., or a module for realizing the function of a terminal device, such as a chip or a chip system, which may be arranged in a vehicle or in a terminal device, or may be built into a vehicle-mounted module, an on-board unit (OBU) or a vehicle-mounted telematics processing unit (T-box). For another example, the module for realizing the function of a terminal device may also be a vehicle-mounted module, an OBU, a T-box, a road side unit (RSU), etc., which is not limited in the present application.
[0249] The terminal can be widely used in various scenarios, such as device-to-device (D2D), vehicle to everything (V2X) communication, machine-type communication (MTC), Internet of Things (IOT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grid, smart furniture, smart office, smart wear, smart transportation, smart city, etc. The terminal can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a wearable device, a vehicle, a drone, a helicopter, an airplane, a ship, a robot, a robotic arm, a smart home device, etc. This application does not limit the device form of the terminal.
[0250] Wireless communications can be carried out between RAN nodes and terminals, between RAN nodes and RAN nodes, and between terminals through licensed frequency bands, or through unlicensed spectrum, or through both licensed and unlicensed frequency bands.
[0251] It should be understood that in the present application, "sending information / data to... (such as a communication device)" can be understood as the destination end of the information being the communication device. It can include sending information / data directly or indirectly to a terminal. "Receiving information / data from... (such as a communication device)" can be understood as the source end of the information being the communication device, and can include receiving information / data directly or indirectly from the communication device. The information / data may be subjected to necessary processing between the source end and the destination end of the information / data transmission, such as format changes, etc., but the destination end can understand the valid information / data from the source end. Similar expressions in the present application can be understood similarly and will not be repeated here.
[0252] In this application, "sending information / data" only refers to the direction of information / data transmission, including direct transmission via the air interface and indirect transmission via the air interface by the processing unit, and "sending" can also be understood as the "output" of the module interface. "Receiving information / data" only refers to the direction of information / data transmission, including direct reception via the air interface and indirect reception via the air interface by the processing unit, and "receiving" can also be understood as the "input" of the module interface.
[0253] In order to facilitate understanding of the solution of the present application, the technologies and terms related to the present application are first explained below.
[0254] 1. Resources
[0255] In the present application, resources may refer to time resources and / or frequency domain resources, and resources may be referred to as time-frequency resources. For example, resources may be time-frequency resources in which the time domain includes one time slot and the frequency domain includes at least one or more sub-channels. Exemplarily, in sidelink communications, the protocol defines that the scheduling unit of the physical sidelink control channel (PSCCH) / physical sidelink shared channel (PSSCH) in the time domain is one time slot, and the scheduling unit in the frequency domain is one or more consecutive sub-channels.
[0256] The time domain resource unit includes a symbol, a slot, a mini-slot, a partial slot, a sub-frame, a radio frame or a sensing slot, etc.
[0257] Frequency domain resource units include resource elements (RE), resource blocks (RB), RB sets (RB sets), subchannels (subchannel), resource pools (resource pools), bandwidth parts (bandwidth part, BWP), carriers (carriers), channels (channels) or interlaces (interlaces), etc.
[0258] The communication device as the transmitting end can send sidelink information on the resource. The sidelink information includes at least one of PSCCH, PSSCH, physical sidelink feedback channel (PSFCH), media access control protocol data unit (MAC PDU), media access control service data unit (MAC SDU), media access control element (MAC CE), demodulation reference signal (DM-RS), channel state information reference signal (CSI-RS), phase tracking reference signal (PT-RS), sidelink synchronization signal block (S-SSB), sidelink control information (SCI), first-order SCI, second-order SCI, and extended cyclic prefix (CPE). PSCCH carries first-order SCI, PSSCH carries second-order SCI and / or data, and PSFCH carries feedback information. PSCCH / PSSCH includes PSCCH and / or PSSCH.
[0259] Sidelink (SL) communication (or sidelink communication) refers to communication between terminal devices. The terminal device can be understood as a communication device configured at the terminal. The first terminal device sends information to the second terminal device. The information can be recorded as sidelink information.
[0260] The side information may carry data, such as the side information may include at least one data packet, a data packet may be a logical channel or a MAC CE, and it may also be understood that a data packet may be data in a logical channel or data in a MAC CE. The data in the logical channel may also be understood as buffered data in the logical channel or buffered data in the logical channel. Buffer may be translated as buffer, and may also be referred to as cache. The logical channel may also be understood as a MAC SDU. For example, a data packet may be a MAC SDU or may be a MAC CE. Depending on the specific implementation, the data packets in the at least one data packet may all be MAC SDUs, or the data packets in the at least one data packet may all be MAC CEs, or the at least one data packet may include multiple data packets, some of the multiple data packets are MAC SDUs, and some of the data packets are MAC CEs. Data packets may be translated as data, available data, available data for transmission, SL data, available SL data, and available SL data for transmission.
[0261] 2. Source ID and Destination ID
[0262] The layer 2 source identifier (Source Layer-2ID or source L2ID) is 24 bits. The lower 8 bits (LSB part (8 bits)) of the layer 2 source identifier are the layer 1 source identifier, that is, the source ID (source ID) indicated in the SCI; the upper 16 bits (MSB part (16 bits)) are recorded as SRC, which is indicated in the MAC header of the radio access control (medium access control, MAC) control element (control element, CE). The source identifier in the control information can refer to the source ID indicated in the SCI, the SRC in the MAC header, and the layer 2 source identifier.
[0263] The layer 2 destination identifier (Destination Layer-2ID or destination L2ID) is 24 bits. The lower 16 bits (LSB part (16 bits)) of the layer 2 destination identifier are the layer 1 destination identifier, that is, the destination ID (destination ID) indicated in the SCI; the upper 8 bits (MSB part (8 bits)) are recorded as DST, which is indicated in the MAC header of the MAC CE. The destination identifier in the control information can refer to the destination ID indicated in the SCI, the DST in the MAC header, and the layer 2 destination identifier.
[0264] The destination information (Destination) includes at least one of a source identifier and a destination identifier, or includes at least one of a layer 2 source identifier and a layer 2 destination identifier, or includes at least one of a portion of bits in a layer 2 source identifier and a portion of bits in a layer 2 destination identifier. For example, the destination information may represent a pair of a layer 2 source identifier and a layer 2 destination identifier for unicast, and may represent a layer 2 destination identifier for broadcast and multicast.
[0265] 3. Priority
[0266] The service priority of a communication device is specifically the transmission priority of the communication device.
[0267] Priority can also be called service priority, L1 priority, physical layer priority. The priority can be the priority carried in SCI, the priority carried in the first-order SCI, the priority carried in SCI 2-C, the priority corresponding to the PSSCH associated with SCI, the transmission priority, the priority for transmitting PSSCH, the priority for selecting resources, the priority of the logical channel, and the highest level of priority of the logical channel.
[0268] Among them, the priority (or priority level) has a certain corresponding relationship with the priority value. For example, the higher the priority level, the lower the corresponding priority value, or the lower the priority level, the lower the corresponding priority value. Taking the higher the priority level, the lower the corresponding priority value as an example, the priority value range can be an integer of 1-8 or an integer of 0-7. If the priority value range is 1-8, the priority value of 1 represents the highest level of priority.
[0269] In the present application, the solution provided in the present application is specifically described mainly by taking the example that the higher the priority level, the smaller the corresponding priority value.
[0270] 4. Unlicensed spectrum communications
[0271] Communication devices that communicate using unlicensed spectrum need to meet the regulatory requirements set by radio regulatory authorities. For example, communication devices in wireless LAN systems and mobile communication systems can communicate in unlicensed spectrum. In order to ensure fair coexistence of various systems, regulatory requirements stipulate that communication equipment using spectrum resources in this frequency band needs to perform channel clear assessment (CCA) on spectrum resources in units of specified bandwidth, or channel clear assessment can be called listen before talk (LBT). Communication devices can determine whether the channel of the unlicensed spectrum is idle through channel clear assessment, and can only access the channel when it is confirmed that the channel is idle, that is, use unlicensed spectrum resources for transmission. In this application, "unlicensed spectrum" and "shared spectrum" have the same meaning and can be used interchangeably.
[0272] At present, two channel access modes are defined, namely dynamic channel access and semi-static channel access. The communication device determines to adopt a dynamic or semi-static channel access method based on configuration or pre-configuration. Dynamic channel access can also be called frame-based equipment (FBE) channel access. Or it can also be understood as: FBE accesses the channel through a dynamic access mode. Semi-static channel access can also be called load-based equipment (LBE) channel access. Or it can also be understood as: LBE accesses the channel through a semi-static access mode. In sidelink-unlicensed band (SL-U) communications, these two (or one of them) channel access methods can be used.
[0273] Dynamic channel access includes two channel access types, namely channel access type 1 (Type 1 LBT) and channel access type 2 (Type 2 LBT).
[0274] -Type1LBT
[0275] Type 1 LBT is a fallback-based LBT. The fallback time is related to the channel access priority class (CAPC). The channel needs to be idle for a period of time before access. Different CAPCs represent different channel access priorities for Type 1 LBT.
[0276] Among them, the channel access priority (or channel access priority level) has a certain correspondence with the channel access priority value CAPC, for example, the higher the channel access priority level, the smaller the corresponding CAPC, or the lower the channel access priority level, the smaller the corresponding CAPC. The CAPC value range can be an integer from 1 to 4. When a larger CAPC value represents a higher level of channel access priority, a CAPC of 1 represents the highest level of channel access priority. When a smaller CAPC represents a lower level of channel access priority, a CAPC value of 1 represents the lowest level of channel access priority.
[0277] In the present application, the solution provided in the present application is specifically described mainly by taking the example that the higher the channel access priority level, the smaller the corresponding channel access priority value CAPC.
[0278] - Channel occupancy (CO), channel occupancy time (COT) and multi-consecutive slots transmission (MCSt)
[0279] Channel occupancy CO refers to the communication device occupying one or more channels for transmission after performing the channel access process.
[0280] Continuous transmission MCSt means that the communication device transmits in at least one time slot, for example, transmitting sideline information in one or more consecutive time slots.
[0281] After the communication device executes Type1LBT to access the channel, it occupies the channel for transmission for a continuous period of time, which is called the channel occupancy time COT. The frequency domain unit of COT is the channel, and the time domain unit is milliseconds (ms) or time slots. In the present application, COT can be a time concept, which can be understood as the time of side transmission. Or COT can also be a resource concept, that is, the time-frequency resources occupied by SL transmission. In the present application, if no further distinction is made, COT, CO and continuous transmission are the same concept. The communication device can occupy multiple adjacent or non-adjacent channels for transmission through the channel access process. In the present application, the transmission of the communication device on multiple channels can be understood as: the transmission of the communication device occupies 1 COT, and COT occupies multiple channels in the frequency domain; or, the transmission of the communication device occupies multiple COTs, and each COT occupies 1 channel in the frequency domain.
[0282] Continuous transmission may be multi-consecutive slots transmission (MCSt), or may be a transmission string (or transmission burst), or may be transmission on a candidate multi-slot resource. Continuous transmission is transmission that carries multiple side information of a terminal device within a continuous time unit. For example, multi-slot continuous transmission may be transmission on a candidate multi-slot resource.
[0283] In an embodiment of the present application, continuous transmission may be a time concept, that is, the time of SL transmission. For example, continuous transmission includes transmission on N consecutive time slots, where N is a positive integer, or N is an integer greater than 1. Alternatively, continuous transmission may also be a resource concept, that is, the time-frequency resource occupied by SL transmission. For example, the time-frequency resource may include N consecutive time slots in the time domain, and the time-frequency resource may include M1 RB sets, M2 subchannels, or M3 interlaces in the frequency domain. The time-frequency resource may include M3 interlaces in M1 RB sets, or M2 subchannels in M1 RB sets in the frequency domain. Among them, M1, M2 and M3 are positive integers.
[0284] Optionally, the continuous transmission may be understood as COT. In other words, continuous transmission and COT may be the same concept, or continuous transmission and COT may be different concepts. For example, continuous transmission may include A1 COTs, or COT may include A2 continuous transmissions, or COT may include A3 continuous transmissions and A4 single-slot transmissions. Wherein, A1, A2, A3, and A4 are all positive integers.
[0285] Optionally, the continuous transmission may be understood as a multi-slot candidate resource. In other words, continuous transmission and multi-slot candidate resources may be the same concept, or continuous transmission and multi-slot candidate resources may be different concepts. For example, continuous transmission may include B1 multi-slot candidate resources, or multi-slot candidate resources may include B2 continuous transmissions, or multi-slot candidate resources may include B3 continuous transmissions and B4 single-slot transmissions. Wherein, B1, B2, B3, and B4 are all positive integers.
[0286] Optionally, the COT may be understood as a multi-slot candidate resource. In other words, COT and a multi-slot candidate resource may be the same concept, or COT and a multi-slot candidate resource may be different concepts. For example, COT may include C1 multi-slot candidate resources, or a multi-slot candidate resource may include C2 COTs, or COT may include C3 multi-slot candidate resources and C4 single-slot transmissions. Wherein, C1, C2, C3, and C4 are all positive integers.
[0287] The above description uses time slots as time units, and it should be understood that the time slots in the above description can also be replaced by other time units, such as OFDM symbols, OFDM symbol groups, mini-time slots, subframes or frames, etc. This application does not limit this.
[0288] After the communication device successfully accesses the channel based on Type1LBT, it transmits within the COT. This COT can be called the initial COT of the communication device. Based on CAPC=p adopted by Type1LBT, the COT can also be called the COT initialized based on CAPC=p. Among them, initial means initiated, initial, initialization or initiate. The initial COT can also be called the created COT or the initialized COT. The communication device can transmit one or more side information within the COT. For example, the communication device transmits multiple side information in continuous or discontinuous time slots within the COT.
[0289] COT can be shared for transmission between communication devices (COT sharing). The communication device of the initial COT (for example, the first communication device) can share the COT with other communication devices (for example, the second communication device) for the other communication devices to transmit side information. The communication device of the initial COT and the communication device sharing the COT occupy the channel for transmission during a continuous period of time. COT sharing needs to meet corresponding conditions, such as the communication device sharing the COT is a communication device that receives COT indication information; and / or, the communication device of the initial COT is a communication device that receives the side information transmitted in the COT by the communication device sharing the COT; and / or, the communication device of the initial COT and the communication device sharing the COT are members of the same communication group, etc., and this application does not limit this. The COT indication information of a communication device contains information for indicating destination information, such as source identification information, destination identification information and / or additional identification information. Side information that meets the destination information can be transmitted within the COT. Therefore, if another communication device shares the COT for transmission, the communication device sharing the COT should select the logical channel associated with the destination information indicated in the COT indication information when selecting the destination information in the LCP process described below.
[0290] In the present application, COT indication information (COT indication information) may also be referred to as COT sharing information (COT sharing information), which is not limited in the present application.
[0291] -Type 2LBT
[0292] Type 2LBT includes three types, namely Type 2A, Type 2B, and Type 2C. Type2LBT only requires the communication device to detect that the channel is idle for a short time (such as 25us for Type2A, 25us for Type2B, and 0us for Type2C) to access the channel. Type 2LBT is mainly used when the communication device shares the initial COT of other communication devices, and has corresponding execution conditions. For details, please refer to the corresponding conditions that need to be met for COT sharing introduced in the previous article. The corresponding conditions that need to be met for COT sharing introduced in the previous article can also be understood as the conditions of Type2LBT.
[0293] Dynamic channel access may be applicable to a scenario in which a terminal in a sidelink communication transmits with a terminal of a different system on an unlicensed spectrum, but the present application is not limited thereto.
[0294] 5. Logical channel prioritization (LCP) division process
[0295] When there are data packets to be transmitted on multiple logical channels and / or MAC CEs, the communication device may determine which data packets of which logical channels are preferentially transmitted through the LCP process. For example, the communication device may determine to transmit M data packets among the data packets to be transmitted (such as K data packets) through the LCP process, and the M data packets may be preferentially transmitted. The LCP division process may include but is not limited to the following steps:
[0296] 1) Whenever there is a new transmission, the LCP process is executed.
[0297] 2) Maintain parameter token bucket SBj for each logical channel j:
[0298] When a logical channel is established, the MAC entity initializes SBj of logical channel j to zero.
[0299] For each logical channel j, the MAC entity performs the following operations:
[0300] a) Before each instance of the LCP process, SBj is increased by sPBR×T, that is, SBj=SBj+sPBR×T, where T is the time since SBj was last increased, sPBR is the SL Prioritized Bit Rate (sPBR), and sPBR can be predefined, preconfigured, or configured by the network communication device. For example, the network communication device can configure or preconfigure the value of sPBR for each logical channel through RRC signaling.
[0301] b) If the value of SBj is greater than sPBR×sBSD, set SBj to sPBR×sBSD
[0302] Wherein, sBSD is the bucket size duration (sidelink bucket size duration, sBSD) of SL, and sBSD is predefined, preconfigured, or configured by the network communication device. For example, the network communication device can configure or preconfigure the value of sBSD for each logical channel through RRC signaling. sPBR×sBSD is the SL bucket size (sidelink bucket size). If the value of SBj is less than or equal to the SL bucket size (sidelink bucket size) sPBR×sBSD, continue to maintain SBj according to the method in a) above.
[0303] SBj can be understood as the maximum value of resources that can be allocated to the logical channel in each round of resource allocation, or the approximate maximum value of resources that can be allocated.
[0304] 3) Select the destination information and the logical channel:
[0305] The communication device selects destination information for the SL authorization associated with the SCI through step 3). Select a destination information from the destination information (Destination) of the data packet (e.g., information carried in the logical channel and / or MAC CE) that meets all the following conditions, and the logical channel priority and / or MAC CE priority corresponding to the destination information is the highest priority among at least one MAC CE and / or logical channel. The destination information is associated with unicast, multicast or broadcast sideline communication. Among them, for the SL DRX scenario, the logical channel and / or MAC CE corresponding to the destination information needs to be within the SL active time. The conditions include:
[0306] a) a SL data packet is available for transmission, wherein the data packet includes data for communication and / or data for discovery;
[0307] The data packet available for transmission may refer to the presence of a data packet in the cache, a logical channel or a MAC CE having a data packet to be transmitted. In this application, the SL data packet may be referred to as a data packet or data.
[0308] b) SBj>0 (if there is any logical channel with SBj>0);
[0309] c) If the SL authorization is CG type 1, it is necessary to configure the permission of CG type 1 transmission (that is, the configuration value is true);
[0310] d) If a list of allowed CGs is configured, the list includes the configured grantindex associated with the SL authorization.
[0311] e) If the SL grant associated with the SCI is not configured with a PSFCH, the hybrid automatic repeat request (HARQ) enabling information (for example, the information is sl-HARQ-FeedbackEnabled) is set to disabled;
[0312] For unicast, the destination information represents layer 2 source identification information and layer 2 destination identification information; for broadcast and multicast, the destination information represents layer 2 destination identification information.
[0313] Among them, "selecting a destination information from the destination information of the information carried in the logic channel and / or MAC CE that satisfies all the following conditions" can also be written as "selecting a destination information from the destination information of the logic channel and / or MAC CE that satisfies all the following conditions".
[0314] After the destination information is selected, at least one logical channel that satisfies all of the following conditions is selected from the logical channels corresponding to the selected destination information:
[0315] a) a SL data packet is available for transmission, wherein the data packet includes data for communication and / or data for discovery;
[0316] b) SBj>0 (if there is any logical channel with SBj>0);
[0317] c) If the SL authorization is CG type 1, it is necessary to configure the permission of CG type 1 transmission (that is, the configuration value is true);
[0318] d) If a list of allowed CGs is configured, the list includes the configured authorization index associated with the SL authorization.
[0319] e) Configure the value of HARQ enabling information (e.g., sl-HARQ-FeedbackEnabled) according to the following conditions:
[0320] i. If PSFCH is configured for the SL grant associated with the SCI, and the communication device (i.e., the communication device sending the sideline information) is capable of receiving the PSFCH, and if the HARQ enabling information of the highest priority logical channel that meets the above conditions is enabled, then the HARQ enabling information in e) is configured to be enabled; or,
[0321] ii. If PSFCH is configured for the SL grant associated with the SCI, and the communication device (ie, the communication device that sends the sideline information) is capable of receiving the PSFCH, and if the HARQ enabling information of the highest priority logical channel that meets the above conditions is disabled, the HARQ enabling information in e) is configured to be disabled;
[0322] iii. Otherwise, the HARQ enabling information in e) is configured to be disabled.
[0323] Exemplarily, the logical channel with the highest priority among the logical channels shown in Table 1 is logical channel 1 with a priority value of 1, so the destination information corresponding to the logical channel 1 is selected, that is, destination information 1. After the destination information 1 is selected, a logical channel satisfying the above conditions a) to e) is selected from logical channels 1, 3, and 4 corresponding to the destination information 1.
[0324] Table 1
[0325] Logical Channel Destination Information Priority value 1 1 1 2 2 2 3 1 3 4 1 2
[0326] 4) Allocate resources to logical channels in the following manner:
[0327] The MAC entity allocates resources to the logical channel for each SCI corresponding to the new transmission, specifically in the following order:
[0328] a) For the logical channels selected in 3) with SBj>0, resources are allocated to the logical channels in descending order of priority. If the sPBR of a logical channel is set to infinity, resources can be allocated to logical channels with lower priority only after all data that can be transmitted on the logical channel has been allocated resources.
[0329] b) reducing SBj by the size of the MAC SDU of logical channel j (i.e., SBj=SBj-the size of the MAC SDU of logical channel j), where the value of SBj may be a negative number;
[0330] c) If there are remaining resources after the first two steps, all selected logical channels are served in descending order of priority (without comparing the size of Bj). This continues until the logical channel or the SL grant is exhausted, whichever comes first. That is, only when all the packets of the high-priority logical channels have been sent and there are remaining SL grants, can the low-priority logical channels be served. Logical channels configured with the same priority should receive equal service.
[0331] In the present application, "allocating resources to a logical channel" can also be understood as allocating resources to a data packet, for example, allocating resources to M data packets. It can also be understood as allocating resources to data in a logical channel, or allocating resources to transmittable data in a logical channel.
[0332] 5) Multiplex MAC CE and / or MAC SDU into MAC PDU. Among them, the logical channel with HARQ enabling information enabled and the logical channel with HARQ enabling information disabled cannot be multiplexed into the same MAC PDU. It can also be understood that when allocating resources to the selected logical channels in 4), if the HARQ enabling information of the highest priority logical channel is enabled, then only resources are allocated to the selected logical channel with HARQ enabling information enabled. On the contrary, if the HARQ enabling information of the highest priority logical channel is disabled, then only resources are allocated to the selected logical channel with HARQ enabling information disabled.
[0333] The CAPC and priority values of a MAC PDU are determined as follows:
[0334] The CAPC of a MAC PDU is the maximum value of the CAPC of the logical channel contained in the MAC PDU and / or the CAPC of the MAC CE.
[0335] That is to say, the channel access priority of the MAC PDU is the channel access priority level of the lowest priority level among the channel access priority levels of the logical channels contained in the MAC PDU and / or the channel access priority levels of the MAC CE. Among them, the CAPC of the MAC PDU can also be understood as the CAPC of the transport block (TB), the CAPC of the side information, or the CAPC associated with the side information.
[0336] If a MAC PDU includes only MAC CE, the CAPC of the MAC PDU is the minimum value of the CAPCs of the MAC CEs contained in the MAC PDU.
[0337] The priority value of the MAC PDU is the minimum priority value among the priority values of the logical channels included in the MAC PDU and / or the priority values of the MAC CE.
[0338] That is to say, the priority level of the MAC PDU is the highest priority level among the priority levels of the logical channels contained in the MAC PDU and / or the priority levels of the MAC CE. Among them, the priority level of the MAC PDU can also be understood as the priority level of the TB, the priority level of the side information, and the priority level associated or corresponding to the side information.
[0339] Currently, in sidelink communication, if a communication device (such as a second communication device, denoted as UE2) shares the initial COT of another communication device (such as a first communication device, denoted as UE1) for transmission, the CAPC corresponding to the sidelink information transmitted by UE2 needs to be less than or equal to the CAPC of the initial COT of UE1, that is, the channel access priority level corresponding to the sidelink information transmitted by UE2 needs to be higher than the channel access priority level of the initial COT of UE1. For example Figure 2 As shown, the CAPC of the initial COT of UE1 is 3, and the candidate values of the CAPC corresponding to the sideline information shared by UE2 in the COT are 1, 2 or 3, such as the CAPC corresponding to the sideline information shared by UE2 in the COT = 3. In other words, UE2 cannot share the sideline information with CAPC = 4 in the COT. Among them, the COT indication information sent by UE1 in the COT indicates the CAPC of the initial COT of UE1.
[0340] However, the time when the communication device performs resource selection, the time when it starts LBT and the time when it performs the LCP process may be the same or different, which makes the priority corresponding to the above-mentioned data to be sent may be different at different time points, and the CAPC corresponding to the data to be sent may also be different.
[0341] It should be noted that a MAC PDU may include a MAC SDU and / or a MAC CE from a logical channel according to the data to be transmitted. For the convenience of introduction, in this application, MAC SDU and MAC CE are described as data packets, and a data packet can be a MAC SDU or a MAC CE. If the side information (such as MAC PDU) sent by the communication device includes at least one data packet, according to the specific implementation, the data packets in the at least one data packet may all be MAC SDUs, or the data packets in the at least one data packet may all be MAC CEs, or the at least one data packet includes multiple data packets, some of the multiple data packets are MAC SDUs, and some of the data packets are MAC CEs.
[0342] like Figure 3As shown, the communication device performs resource selection based on the existence of three data packets to be transmitted. The priority values (denoted by P) of the three data packets are 1, 2, and 6, respectively, and the corresponding CAPCs are 1, 2, and 3, respectively. The communication device uses the maximum CAPC among the three data packets to perform resource selection. Figure 2 , UE1 can select the resource in the time slot before the resource of UE2, so that UE1 can share the COT with UE2 for transmission. However, before the communication device executes the LCP process, a new data packet with P=1 and CAPC=2 arrives. According to the current LCP process, in the case of priority of the selected resources, the communication device needs to select data packets (i.e., execute the LCP process) from the 3 data packets before the arrival of the new data packet and the 1 new data packet (a total of 4 data packets) in the order of the priority of the data packets from high to low (i.e., the priority values are from small to large), and allocate resources to the selected data packets. Therefore, according to the priority of the data packets, the communication device will select to allocate resources to the 3 data packets with priority values of 1 and 2 in the LCP process, then the CAPC of the MAC PDU composed of the data packets with priority values of 1 and 2 is 2. Therefore, after the LCP process, the CAPC corresponding to the MAC PDU obtained by the communication device is less than the CAPC used by the communication device when selecting resources.
[0343] like Figure 4 As shown, if the communication device (referred to as UE1) needs to share COT with UE2, if no new data packet arrives before the LCP process, UE2 can share the COT initially set by UE1 to transmit the sideline information with CAPC=3. However, since a new data packet with priority value P=1 and CAPC=2 arrives before the LCP process, the CAPC of UE1's initial COT changes from 3 to 2, making it impossible for UE2 to share UE1's initial COT for transmission. In some cases, UE2 has already assembled the MAC PDU in advance (i.e., executed the LCP process) before the COT is reached, and UE2 has no time to re-execute the LCP process according to the CAPC of UE1's actual initial COT. For example, when UE2 shares the COT for retransmission of sideline information, UE2 will not re-assemble the MAC PDU. Before the COT is reached, it is determined that the CAPC corresponding to the sideline information containing the MAC PDU is 3, and UE2 determines that the actual CAPC of UE1's initial COT is 2 based on the COT indication information from UE1, then UE2 determines that it cannot share the COT for transmission. This ultimately results in a waste of resources within the COT, increases the transmission delay of UE2 data, and reduces the efficiency and throughput of the entire communication system.
[0344] In addition, UE1 may also continue to transmit the sideline information in the subsequent time units of UE1's initial COT. Similarly, the CAPC corresponding to the sideline information that UE1 continues to transmit in the subsequent time units needs to be greater than or equal to the CAPC of UE1's initial COT. Figure 5 As shown, since the CAPC of the initial COT is changed from CAPC=3 to CAPC=2, UE1 cannot transmit the sideline information of CAPC=3 in the subsequent time unit within the COT, which may cause a waste of resources within the COT.
[0345] Based on the above description, since new data packets may arrive after the communication device performs resource selection and before the LCP process, the CAPC corresponding to the side information during resource selection may be different from the CAPC corresponding to the side information actually transmitted after the LCP process ends, resulting in problems such as resource waste. If the LCP process is modified not to allocate resources for new data packets arriving after resource selection and before the LCP process, new data packets with higher priority may not be transmitted in time. Therefore, the present application proposes to optimize the LCP process. For the case of new data packets arriving before the communication device performs the LCP process, the CAPC and priority values corresponding to the data packets to be transmitted are judged during the LCP process, and the data packets that meet the threshold conditions are determined to be transmitted, which can improve the transmission efficiency.
[0346] The data transmission method provided by the present application is introduced below in conjunction with the accompanying drawings. It should be noted that the data transmission method provided by the present application can be executed by a communication device, such as a terminal or other communication device, or can be executed by a module / device configured in a communication device, such as a communication device configured in a terminal (or called a terminal device), or a chip, or a chip module. The data transmission method provided by the present application is described below by taking the communication device executing the data transmission method provided by the present application as an example. In the technical solution provided by the present application, the first communication device and the second communication device respectively have the following functions:
[0347] First communication device: the communication device of the initial COT. The first communication device accesses the channel through Type 1 LBT. After accessing the channel, it can transmit one or more sideline messages. It can also instruct the second communication device to share the transmission within the COT.
[0348] The second communication device: a communication device that shares transmission within the COT. The second communication device accesses the channel through type2LBT. After accessing the channel, one or more side information can be transmitted within the COT. The second communication device needs to meet corresponding conditions to share transmission within the COT, such as the communication device that shares the COT is a receiving device of the COT indication information; and / or, the communication device of the initial COT is a receiving device of the side information shared in the COT; and / or, the communication device of the initial COT and the communication device that shares the COT are members of the same communication group, etc. This application does not limit this.
[0349] Figure 6 600 is a schematic flow chart of a data transmission method 600 provided in an embodiment of the present application. The method includes but is not limited to the following steps S601 and S602.
[0350] S601, a first communication device determines M data packets from K data packets, wherein a CAPC corresponding to at least one data packet among the M data packets is greater than or equal to a first CAPC, and / or a priority value of a data packet among the M data packets is less than or equal to a first priority threshold.
[0351] K, M, and N are positive integers, and M≤K, N<K. The K data packets include N data packets in the second sideline information, and the second sideline information is the sideline information that triggers the first communication device to perform resource selection or triggers the first communication device to perform LBT.
[0352] The second side information is data in the logical channel, and the data in the logical channel can also be understood as the existence of buffered data in the logical channel or the buffered data in the logical channel. In other words, the existence of the second side information triggers the first communication device to perform resource selection, or the existence of the second side information triggers the first communication device to perform LBT.
[0353] The K data packets are available data packets in the process of executing LCP by the first communication device. As described above, one of the K data packets may be a MAC SDU or a MAC CE, the K data packets may all be MAC SDUs, or all be MAC CEs, or some of the K data packets may be MAC SDUs and some may be MAC CEs. If a data packet is a MAC SDU, the priority value of the data packet is the priority value of the MAC SDU, or the priority value of the logical channel corresponding to the MAC SDU, or the priority value of the logical channel carrying the MAC SDU. If a data packet is a MAC CE, the priority value of the data packet is the priority value of the MAC CE. Similarly, if a data packet is a MAC SDU, the CAPC corresponding to the data packet is the CAPC of the MAC SDU, or the CAPC of the logical channel corresponding to the MAC SDU, or the CAPC corresponding to the logical channel carrying the MAC SDU. If a data packet is a MAC CE, the CAPC corresponding to the data packet is the CAPC of the MAC CE. In this application, MAC SDU may be referred to as sideline data.
[0354] The K data packets include the N data packets in the second side information, and the K data packets also include the L data packets obtained after the N data packets. The L data packets can be called new data packets, and the new data packets can be any of the following: a new data packet refers to a data packet obtained by the first communication device after the data packet that triggers resource selection and before the LCP process; or a new data packet refers to a data packet obtained by the first communication device after completing resource selection and before the LCP process; or a new data packet refers to a data packet obtained by the first communication device after the data packet that triggers LBT and before the LCP process; or a new data packet refers to a data packet obtained by the first communication device after LBT is successful and before the LCP process; or a data packet obtained by the first communication device after determining to let the second communication device share COT and before the LCP process. Before executing the LCP process, the first communication device obtains L data packets after N data packets, and the available data packets (i.e., the K data packets) for the first communication device to execute the LCP process include the N data packets and the L data packets.
[0355] The N data packets are data packets included in the second side information. The first communication device performs resource selection according to the parameters of the second side information (such as priority and / or CAPC). The priority value of the second side information is the minimum value among the priority values of the data packets included in the second side information. The CAPC of the second side information is the maximum value among the CAPCs of the data packets included in the second side information. The execution of resource selection includes selecting resources for transmission by the first communication device. For example, at least one resource that is continuous in the time domain for transmission by the first communication device is selected. For another example, resources for transmission by the first communication device are selected before the resources of the second communication device and / or after the resources of the second communication device. The resources of the second communication device are resources shared with the second communication device for transmission.
[0356] The first communication device performs LBT according to the parameters of the second side information (such as priority and / or CAPC). The description of the parameters of the second side information is as above. The first communication device performs channel idle detection LBT which may be type 1 LBT or type 2 LBT. After LBT succeeds, the first communication device sends the first side information on the first resource. Among them, LBT success can be understood as the first communication device determining that the first resource is idle through LBT.
[0357] The second side information may include other data packets in addition to the N data packets. The first communication device is triggered to perform resource selection (or triggered to perform LBT) due to the data packets included in the second side information. Before this LCP process, some data packets in the second side information have been allocated other resources or have been transmitted. Only the N data packets are left in the second side information. Then, the available data packets before this LCP process include the N data packets. Alternatively, the second side information may also include only the N data packets but not data packets other than the N data packets, which is not limited in this application.
[0358] The first communication device determines M data packets from the K data packets, and the M data packets are data packets that can be allocated resources and thus transmitted from the K data packets. The first communication device allocates resources from the first resource to the M data packets, and the first resource belongs to the first time unit in the initial COT of the first communication device. The M data packets need to meet at least one of the following conditions:
[0359] The CAPC corresponding to the data packets in the M data packets is greater than or equal to the first CAPC;
[0360] The priority value of a data packet in the M data packets is less than or equal to a first priority threshold.
[0361] The M data packets may also be understood as data packets selected by the first communication device during the LCP process, or data packets that require the first communication device to allocate SL authorization resources, or data packets that need to be included in the first side information, and the first side information is the side information sent by the first communication device on the first resource. Allocating SL authorization resources may be referred to as allocating resources.
[0362] Optionally, the CAPC corresponding to a data packet among the M data packets is greater than or equal to the first CAPC, which can be understood as any one of the following: the CAPC corresponding to at least one data packet among the M data packets is greater than or equal to the first CAPC; or the CAPC corresponding to any data packet among the M data packets is greater than or equal to the first CAPC.
[0363] Optionally, the priority value of a data packet among the M data packets is less than or equal to the first priority threshold, which can be understood as any one of the following: the priority value of at least one data packet among the M data packets is less than or equal to the first priority threshold; or, the priority value of any data packet among the M data packets is less than or equal to the first priority threshold.
[0364] In one example, the conditions that the M data packets need to meet can also be understood as, among the K data packets, for a data packet whose CAPC is greater than or equal to the first CAPC, and / or, for a data packet whose priority value is less than or equal to the first priority threshold, the first communication device determines that the data packet belongs to the M data packets.
[0365] Among them, the first communication device determines that the data packet belongs to M data packets, which can also be understood as the first communication device selecting the data packet in the LCP process, or the first communication device allocates SL authorization resources for the data packet, or the first side information sent by the first communication device on the first resource includes the data packet.
[0366] In another example, the conditions that the M data packets need to meet can also be understood as, among the K data packets, for a data packet whose CAPC is less than or equal to the first CAPC, and / or, for a data packet whose priority value is greater than or equal to the first priority threshold, the first communication device determines that the data packet does not belong to the M data packets.
[0367] Among them, the first communication device determines that the data packet does not belong to M data packets, which can also be understood as the first communication device does not select (exclude) the data packet in the LCP process, or the first communication device does not allocate SL authorization resources for the data packet, or the first sidelink information sent by the first communication device on the first resource does not include the data.
[0368] In another example, since the K data packets include N data packets in the second side information, the conditions that the M data packets need to meet can also be understood as: among the N data packets included in the K data packets, for a data packet whose CAPC is greater than or equal to the first CAPC, and / or, for a data packet whose priority value is less than or equal to the first priority threshold, the first communication device determines that the data packet belongs to the M data packets. That is to say, among the N data packets included in the K data packets, for a data packet whose CAPC is less than or equal to the first CAPC, and / or, for a data packet whose priority value is greater than or equal to the first priority threshold, the first communication device determines that the data packet does not belong to the M data packets. Among them, determining that the data packet belongs to the M data packets and determining that the data packet does not belong to the M data packets can be specifically referred to the description above.
[0369] In another example, the CAPC corresponding to the data packet in the M data packets is greater than or equal to the first CAPC, which can also be understood as the CAPC corresponding to the new data packet in the M data packets is greater than or equal to the first CAPC. The priority value of the data packet in the M data packets is less than or equal to the first priority threshold, which can also be understood as the priority value of the new data packet in the M data packets is less than or equal to the first priority threshold. That is to say, for the new data packet whose CAPC is greater than or equal to the first CAPC, and / or, for the new data packet whose priority value is less than or equal to the first priority threshold, the first communication device determines that the new data packet belongs to the M data packets. Among them, the first communication device determines that the new data packet belongs to the M data packets, which can also be understood as the first communication device selecting the new data packet in the LCP process, or the first communication device allocates SL authorization resources to the new data packet, or the first side information sent by the first communication device on the first resource includes the new data.
[0370] Optionally, for a MAC CE in K data packets, even if the CAPC corresponding to the MAC CE is less than or equal to the first CAPC, the first communication device determines that the MAC CE belongs to the M data packets. Similarly, for a MAC CE in K data packets, even if the MAC CE priority value is greater than or equal to the first priority threshold, the first communication device determines that the data packet belongs to the M data packets.
[0371] In the present application, the determination of M data packets among K data packets by the first communication device can also be understood as the LCP process or the packetization process of the first communication device, that is, the first communication device performs the LCP process on the K data packets, or the packetization process on the M data packets. In this process, the first communication device allocates resources on the first resource to M data packets among the K data packets. For example, the first communication device determines that the first side information sent on the first resource includes the M data packets, and the first communication device allocates the first resource to the M data packets in the first side information. The first resource belongs to the SL authorized resource, or the first resource is the SL authorized resource. Among them, the first resource and / or the SL authorized resource are resources selected by the first communication device performing the resource selection process.
[0372] Specifically, the M data packets need to satisfy: the CAPC corresponding to the data packets in the M data packets is greater than or equal to the first CAPC, and / or the priority value of the data packets in the M data packets is less than or equal to the first priority threshold, which may include but is not limited to the following implementation modes 1 to 4.
[0373] In implementation mode 1, the M data packets need to satisfy: the CAPC corresponding to the data packet in the M data packets is greater than or equal to the first CAPC. That is, the CAPC of the data packet in the M data packets determined by the first communication device in the K data packets is large enough (the CAPC is large enough means that the CAPC of the data packet is greater than or equal to the first CAPC, and the specific implementation mode of the first CAPC can refer to the introduction below), that is, the channel access priority level is low enough. This makes the CAPC corresponding to the first side information large enough to avoid the problem of not being able to share with the second communication device, or avoid the problem of the first communication device being unable to transmit continuously.
[0374] In one example, the CAPC corresponding to a data packet in the M data packets is greater than or equal to the first CAPC, including: if the M data packets include a new data packet in the L new data packets, the CAPC corresponding to the new data packet belonging to the M data packets needs to be greater than or equal to the first CAPC. On the contrary, if the CAPC corresponding to the new data packet is less than or equal to the first CAPC, the new data packet does not belong to the M data packets.
[0375] In another example, among the K data packets, the data packets whose CAPC is greater than or equal to the first CAPC belong to the M data packets. Conversely, among the K data packets, if the CAPC corresponding to the data packet is less than or equal to the first CAPC, the data packet does not belong to the M data packets.
[0376] Specifically, for L new data packets among the K data packets acquired by the first communication device, if the CAPC corresponding to a data packet among the L new data packets is greater than or equal to the first CAPC, the M data packets determined by the first communication device may include the data packet. That is to say, for a new data packet acquired before the LCP process, if the CAPC corresponding to the new data packet is greater than or equal to the first CAPC, the data packet may be allocated resources during the LCP process so as to be transmitted. In this first embodiment, the first communication device can allocate resources to the new data packet only if the CAPC of the new data packet arriving before the LCP process is large enough, which can increase the probability that the initial COT of the first communication device shares COT resources with other communication devices or performs continuous transmission by itself, reduce the situation where resources cannot be shared or continuously transmitted due to the small CAPC of the initial COT, resulting in resource waste, and can improve resource utilization and transmission efficiency.
[0377] The specific implementation of the first CAPC may include but is not limited to at least one of the following implementations 1 to 7.
[0378] Mode 1: The first CAPC is the maximum CAPC among the CAPCs corresponding to the data packets included in the second sideline information.
[0379] That is to say, the first CAPC is the maximum CAPC among the CAPCs corresponding to the data packet that triggers the first communication device to perform resource selection (or triggers the first communication device to perform LBT); or, the first CAPC is the CAPC used by the first communication device to perform resource selection for transmitting the first sideline information or the second sideline information; or, the first CAPC is the maximum CAPC among the CAPCs corresponding to N data packets.
[0380] Optionally, the CAPC used to perform resource selection may be a CAPC used by the first communication device to select resources for carrying sidelink information of the first communication device before the transmission resources of the second communication device and / or after the transmission resources of the second communication device.
[0381] Exemplarily, the first communication device allocates resources to a data packet among L new data packets whose CAPC is greater than or equal to a first CAPC, where the first CAPC is the maximum CAPC corresponding to the data packet that triggers the first communication device to perform resource selection (or triggers the first communication device to perform LBT), that is, the M data packets determined by the first communication device include a data packet among the L new data packets whose CAPC is greater than or equal to the first CAPC.
[0382] In one example, if the L data packets include data packets whose CAPC is greater than or equal to the first CAPC, the M data packets determined by the first communication device include at least L new data packets whose CAPC is greater than or equal to the first CAPC, that is, the first communication device allocates resources from the first resources to at least the data packets whose CAPC is greater than or equal to the first CAPC among the L new data packets.
[0383] For example, the CAPC corresponding to the data packet that triggers the first communication device to perform resource selection (or triggers the first communication device to perform LBT) (i.e., the first CAPC) is 3. If the CAPCs of two data packets in the L new data packets are greater than or equal to 3, such as the CAPC corresponding to one data packet is 4 and the CAPC corresponding to the other data packet is 3, then the M data packets determined by the first communication device include the two new data packets with CAPCs of 3 and 4. Whether the L-2 data packets other than the two data packets in the L new data packets are allocated resources can be determined according to the specific resource allocation situation. The M data packets determined by the first communication device may include data packets in the L-2 data packets or may not include data packets in the L-2 data packets.
[0384] In another example, if the L data packets include data packets whose CAPC is greater than or equal to the first CAPC, the M data packets determined by the first communication device include at least data packets whose CAPC is greater than or equal to the first CAPC among the L new data packets, and do not include data packets whose CAPC is less than the first CAPC among the L new data packets. That is, the first communication device only allocates resources in the first resource to data packets whose CAPC is greater than or equal to the first CAPC among the L new data packets, that is, the first communication device does not allocate resources in the first resource to data packets whose CAPC is less than the first CAPC among the L new data packets.
[0385] For example, the CAPC (i.e., the first CAPC) corresponding to the data packet that triggers the first communication device to execute resource selection (or triggers the first communication device to execute LBT) is 3. If the CAPC of 2 data packets in the L new data packets is greater than or equal to 3, such as the CAPC corresponding to one data packet is 4 and the CAPC corresponding to the other data packet is 3, then the M data packets determined by the first communication device include the two new data packets whose CAPCs are 3 and 4. The first communication device allocates resources in the first resource to the two data packets. The M data packets do not include data packets in the L-2 data packets in the L new data packets other than the two data packets.
[0386] In one example, the M data packets determined by the first communication device include K data packets whose CAPC is greater than or equal to the first CAPC, that is, the first communication device allocates resources in the first resource to the K data packets whose CAPC is greater than or equal to the first CAPC.
[0387] For example, the CAPC (i.e., the first CAPC) corresponding to the data packet that triggers the first communication device to execute resource selection (or triggers the first communication device to execute LBT) is 3. If the CAPC of 2 data packets among the K data packets is greater than or equal to 3, such as the CAPC corresponding to one data packet is 4 and the CAPC corresponding to the other data packet is 3, then the M data packets determined by the first communication device include the two data packets whose CAPCs are 3 and 4. The first communication device allocates resources in the first resource to the two data packets. The M data packets do not include data packets in the K-2 data packets among the K data packets other than the two data packets.
[0388] For another example, the CAPC corresponding to the data packet that triggers the first communication device to perform resource selection (or triggers the first communication device to perform LBT) is 3 (i.e., the first CAPC). Among the K data packets, the CAPC of one data packet among the N data packets included in the second sideline information is greater than or equal to 3, such as the CAPC corresponding to the data packet is 4, and the CAPC of one new data packet among the L new data packets is greater than or equal to 3, such as the CAPC corresponding to the new data packet is 3. Then the M data packets determined by the first communication device include the data packet with the CAPC of 3 among the N data packets and the new data packet with the CAPC of 4 among the L new data packets. The first communication device allocates resources in the first resource to the two data packets, and the M data packets do not include data packets in the K-2 data packets other than the two data packets among the K data packets.
[0389] Mode 2: The first CAPC is the CAPC used by the first communication device to perform LBT.
[0390] In one example, the M data packets determined by the first communication device include: data packets among the L new data packets whose CAPC is greater than or equal to the CAPC adopted by the first communication device to perform LBT, that is, the first communication device determines that among the L data packets, the CAPC is greater than or equal to the CAPC adopted by the first communication device to perform LBT, and allocates resources from the first resources to them.
[0391] In another example, the M data packets determined by the first communication device include: K data packets whose CAPC is greater than or equal to the CAPC adopted by the first communication device to perform LBT, that is, the first communication device determines that the K data packets have a CAPC greater than or equal to the CAPC adopted by the first communication device to perform LBT, and allocates resources from the first resources to them.
[0392] In one example, the CAPC used by the first communication device to perform LBT may be the maximum CAPC among the CAPCs corresponding to the data packet that triggers the first communication device to perform LBT, that is, the first CAPC is the maximum CAPC corresponding to the data packet that triggers the first communication device to perform LBT.
[0393] In another example, the CAPC used by the first communication device to perform LBT may be the minimum CAPC among the CAPCs corresponding to the data packet that triggers the first communication device to perform LBT, that is, the first CAPC is the minimum CAPC corresponding to the data packet that triggers the first communication device to perform LBT.
[0394] In another example, the CAPC used by the first communication device to perform LBT may be the minimum CAPC among the CAPCs corresponding to the data packet that triggers the first communication device to perform resource selection, that is, the first CAPC is the minimum CAPC corresponding to the data packet that triggers the first communication device to perform resource selection.
[0395] In another example, the CAPC used by the first communication device to perform LBT may be a CAPC used to select resources for transmitting the first sideline information or the second sideline information, that is, the first CAPC is a CAPC used by the first communication device to select resources for transmitting the first sideline information or the second sideline information.
[0396] Mode 3: The first CAPC is the CAPC used by the first communication device to perform LBT and successfully occupy the channel.
[0397] It should be noted that executing LBT and successfully occupying a channel can be referred to as successfully occupying a channel through LBT, or as determining that a channel is idle through LBT, or can be simply referred to as LBT success.
[0398] Optionally, in the LBT performed by the first communication device before determining the first resource, if the LBT corresponding to at least one CAPC is successful, the first CAPC is the maximum CAPC among the at least one CAPC. That is, if the first communication device successfully occupies the channel by performing LBT, the first CAPC is the maximum CAPC among the CAPCs used by the LBT performed to successfully occupy the channel. If the first communication device performs LBT using CAPC=1, 2, 3, 4, where the LBT of CAPC=1, 3 successfully occupies the channel, the first CAPC is the maximum CAPC among CAPC=1 and CAPC=3, that is, the first CAPC is 3. The M data packets determined by the first communication device include data packets whose CAPC is greater than or equal to 3 among the L new data packets, that is, the first communication device allocates resources in the first resource to the data packets whose CAPC is greater than or equal to 3 among the L data packets.
[0399] Mode 4, the first CAPC is the maximum CAPC among the CAPCs of P sideline information transmitted by the second communication device, the P sideline information is transmitted within the initial COT of the first communication device, and P is a positive integer.
[0400] The first communication device transmits the first sideline information including the M data packets in the first communication device's initial COT, and the second communication device shares the COT to transmit P sideline information, where P is a positive integer, such as P=1, and M is a positive integer, such as M=1.
[0401] Exemplarily, the first CAPC may be the maximum CAPC among the CAPCs of the P sideline information transmitted by the second communication device. Wherein, when P=1, the first CAPC may be the CAPC of the sideline information transmitted by the second communication device.
[0402] For example, the first communication device determines that the maximum CAPC among the CAPCs of the P sideline information to be transmitted by the second communication device is 3, then the first communication device can determine a new data packet with a CAPC greater than or equal to 3 among the L new data packets, and allocate resources in the first resource to the new data packet with a CAPC greater than or equal to 3. That is, the M data packets determined by the first communication device include: a new data packet with a CAPC greater than or equal to 3 among the L new data packets.
[0403] For another example, the first communication device determines that the maximum CAPC of the P sideline information to be transmitted by the second communication device is 3, then the first communication device can determine the data packet with a CAPC greater than or equal to 3 among the K data packets, and allocate resources in the first resource to the data packet with a CAPC greater than or equal to 3. That is, the M data packets determined by the first communication device include: the data packet with a CAPC greater than or equal to 3 among the K data packets.
[0404] Through the above method, the CAPC of the initial COT of the first communication device is greater than or equal to 3, and the CAPC is greater than or equal to the maximum CAPC of P side information of the second communication device. The second communication device can share the COT to transmit the P side information, thereby reducing the situation where the second communication device cannot share the COT to transmit P side information due to the CAPC of the initial COT of the first communication device being less than the CAPC of P side information, reducing resource waste, and improving resource utilization and transmission efficiency.
[0405] Mode 5: The first CAPC is preconfigured or predefined.
[0406] In this mode 5, the first CAPC may be a CAPC threshold configured for the first communication device by the network communication device, a CAPC threshold preconfigured for the first communication device, a CAPC threshold predefined by a protocol, or a CAPC threshold determined by the first communication device.
[0407] In one example, the first communication device determines whether to allocate resources in the first resource to a new data packet arriving before the LCP process according to the CAPC threshold. The first communication device allocates resources in the first resource to a data packet whose CAPC is greater than or equal to the CAPC threshold among the L new data packets. That is, the M data packets determined by the first communication device include: a new data packet whose CAPC is greater than or equal to the CAPC threshold among the L new data packets.
[0408] In another example, the first communication device determines whether to allocate resources in the first resource to the data packet arriving before the LCP process according to the CAPC threshold. The first communication device allocates resources in the first resource to the data packet whose CAPC is greater than or equal to the CAPC threshold among the K data packets. That is, the M data packets determined by the first communication device include: the data packet whose CAPC is greater than or equal to the CAPC threshold among the K data packets.
[0409] Mode 6: The first CAPC is the same channel access priority threshold corresponding to any priority of the data packet.
[0410] The first CAPC is a channel access priority threshold corresponding to the priority of the data packet, and the channel access priority threshold corresponding to any priority of the data packet is the first CAPC, such as the first CAPC is 4. That is to say, no matter what the priority value of the data packet is, the channel access priority threshold corresponding to the priority value of each data packet is the first CAPC, that is, 4. The M data packets include data packets whose CAPC is greater than or equal to 4 among the L new data packets, and the first communication device allocates resources in the first resource to the data packets whose CAPC is greater than or equal to 4 among the L new data packets.
[0411] Mode 7: Different priorities of data packets correspond to different channel access priority thresholds, and the first CAPC is the channel access priority threshold corresponding to the priority of the corresponding data packet.
[0412] Each priority of a data packet corresponds to a channel access priority threshold. For a data packet, the channel access priority threshold corresponding to the data packet, that is, the first CAPC corresponding to the data packet, can be determined according to the priority of the data packet, so as to compare the size of the CAPC corresponding to the data packet with the first CAPC.
[0413] In one example, the priority value corresponding to the data packet is a second priority value, and the second priority value corresponds to a second CAPC threshold (i.e., an example of the first CAPC). If the priority value of a data packet is the second priority value, and the CAPC of the data packet is greater than or equal to the second CAPC threshold, the M data packets determined by the first communication device include the data packet. Similarly, if the priority of a data packet is the second priority value, and the CAPC of the data packet is less than or equal to the second CAPC threshold, the M data packets determined by the first communication device do not include the data packet.
[0414] Optionally, a priority value less than or equal to the second priority value corresponds to a third CAPC threshold (ie, another example of the first CAPC); a priority value greater than the second priority value corresponds to a fourth CAPC threshold.
[0415] In another example, the first priority value interval corresponds to a third CAPC threshold; the second priority interval corresponds to a fourth CAPC threshold. For example, if the priority value of a data packet belongs to the first priority value interval, the priority value of the data packet corresponds to the third CAPC threshold, and if the CAPC of the data packet is greater than or equal to the third CAPC threshold, the M data packets determined by the first communication device include the data packet, and if the CAPC of the data packet is less than the third CAPC threshold, the M data packets determined by the first communication device do not include the data packet.
[0416] Exemplarily, the value of the CAPC threshold may be a value in {1, 2, 3, 4}. For example, the CAPC threshold defaults to 4 or 1. The CAPC threshold may be at least one of the first CAPC threshold, the second CAPC threshold, the third CAPC threshold, or the fourth CAPC threshold.
[0417] Optionally, the smaller the priority value, the smaller the corresponding CAPC threshold, or the smaller the priority value in the priority interval, the smaller the corresponding CAPC threshold. Similarly, the larger the priority value, the larger the corresponding CAPC threshold, or the larger the priority value in the priority interval, the larger the corresponding CAPC threshold.
[0418] For example, if the priority value of data packet 1 among the L data packets is 1 and the corresponding CAPC is 3, according to the predefined corresponding relationship, the channel access priority threshold corresponding to the priority value of the data packet of 1 is 3, then for the data packet 1, the first CAPC is 3. Therefore, if the CAPC of data packet 1 is greater than or equal to 3, resources in the first resource are allocated to the data packet 1, that is, the M data packets determined by the first communication device include the data packet 1. If the CAPC of data packet 1 is less than 3, resources in the first resource are not allocated to the data packet 1, that is, the M data packets determined by the first communication device do not include the data packet 1.
[0419] For example, if the priority value of data packet 2 among the L data packets is 3 and the corresponding CAPC is 1, and the channel access priority threshold corresponding to the priority value of the data packet is 4, then for the data packet 2, the first CAPC is 4. However, the CAPC corresponding to the data packet 2 is 1, which is less than the channel access priority threshold 4, so the first communication device does not allocate resources from the first resource to the data packet 2, and the M data packets determined by the first communication device do not include the data packet 2.
[0420] Optionally, the CAPC adopted by the first communication device to perform LBT may be:
[0421] The maximum CAPC corresponding to the data packets included in the first sideline information (that is, the maximum CAPC corresponding to the M data packets included in the first sideline information); or, the maximum CAPC corresponding to the data packets allocated to the first resource.
[0422] Optionally, the CAPC value of the first sideline information is less than or equal to the CAPC adopted by the first communication device to perform LBT.
[0423] That is, if the CAPC value of the first side information is less than or equal to the CAPC used by the first communication device to perform LBT, the first communication device sends the first side information on the first resource. If the CAPC value of the first side information is greater than or equal to the CAPC used by the first communication device to perform LBT, the first communication device does not send the first side information on the first resource.
[0424] Optionally, the side control information sent by the first communication device is used to indicate the first CAPC. For example, the first CAPC is a CAPC for the first communication device to perform LBT, and the side control information sent by the first communication device indicates that the first communication device performs LBT.
[0425] Specifically, the sideline control information for indicating the first CAPC may be carried on the first resource, that is, the sideline control information sent by the first communication device on the first resource indicates the first CAPC.
[0426] Optionally, the CAPC value of the first sideline information is less than or equal to the first CAPC. That is, the CAPC value of the first sideline information carried on the first resource is less than or equal to the first CAPC indicated by the first control sideline information carried on the first resource.
[0427] If the CAPC of the first sideline information is less than or equal to the first CAPC, the sideline control information sent by the first communication device indicates the first CAPC or indicates the CAPC of the first sideline information.
[0428] If the CAPC of the first sideline information is greater than the CAPC for performing LBT, the sideline control information sent by the first communication device indicates the CAPC for performing LBT or indicates the CAPC of the first sideline information.
[0429] In implementation mode 2, the M data packets need to satisfy: the priority value of the data packet in the M data packets is less than or equal to the first priority threshold.
[0430] In one example, the priority value of a data packet in the M data packets is less than or equal to the first priority threshold, which can be specifically understood as follows: among the L new data packets, if the priority value of the new data packet is less than or equal to the first priority threshold, the new data packet belongs to the M data packets. Conversely, among the L new data packets, if the priority value of the new data packet is greater than the first priority threshold, the new data packet does not belong to the M data packets. For details on belonging to the M data packets and not belonging to the M data packets, see Implementation Method 1. In other words, if the priority value of a data packet in the L new data packets is small enough (the priority value is small enough means that the priority value of the data packet is less than or equal to the first priority threshold), that is, the priority level of the new data packet is high enough, the first communication device allocates resources from the first resources to the new data packet.
[0431] Specifically, for L new data packets among K data packets acquired by the first communication device, if the priority value of one of the L new data packets is less than or equal to the first priority threshold, the M data packets determined by the first communication device may include the data packet. That is to say, for a new data packet acquired before the LCP process, if the priority value of the new data packet is less than or equal to the first priority threshold, the data packet will be allocated resources in the first resource during the LCP process and thus transmitted. That is to say, in this second embodiment, the first communication device can allocate resources in the first resource to the new data packet only if the priority level of the new data packet arriving before the LCP process is high enough (that is, the priority value is small enough), so that data packets with higher priority levels can be transmitted first to meet the transmission requirements of data packets with higher priority levels. Thereby ensuring the efficiency of the entire communication system.
[0432] In another example, the priority value of a data packet in the M data packets is less than or equal to the first priority threshold, which can be specifically understood as follows: among the K data packets, if the priority value of the data packet is less than or equal to the first priority threshold, the data packet belongs to the M data packets. Conversely, among the K data packets, if the priority value of the data packet is greater than or equal to the first priority threshold, the data packet does not belong to the M data packets. For details on belonging to the M data packets and not belonging to the M data packets, see Implementation Method 1. In other words, if the priority value of a data packet in the K data packets is small enough (the priority value is small enough means that the priority value of the data packet is less than or equal to the first priority threshold), that is, the priority level of the data packet is high enough, the first communication device allocates resources from the first resources to the data packet.
[0433] Specific implementations of the first priority threshold may include but are not limited to the following implementation 1 or implementation 2.
[0434] Mode 1: The first priority threshold is a priority threshold corresponding to any CAPC of the data packet.
[0435] The first priority threshold is the priority threshold corresponding to the CAPC of the data packet, and the priority threshold corresponding to any CAPC of the data packet is the first priority threshold. If the first priority threshold is 5, no matter what the CAPC of the data packet is, the priority threshold corresponding to the CAPC of each data packet is 5. If the CAPC of the data packet is 1 and the priority value is 3, the first priority threshold corresponding to the CAPC of the data packet is 5. The first communication device determines to allocate resources in the first resource to the data packet based on the priority value 3 of the data packet being less than the first priority threshold 5, and the M data packets include the data packet. If the CAPC of the data packet is 2 and the priority value is 7, the first priority threshold corresponding to the CAPC of the data packet is still 5. The first communication device determines not to allocate resources in the first resource to the data packet based on the priority value 7 of the data packet being greater than the first priority threshold 5, and the M data packets determined by the first communication device do not include the data packet.
[0436] Mode 2: Different CAPCs of a data packet correspond to different priority thresholds, and the first priority threshold is the priority threshold corresponding to the CAPC corresponding to the data packet.
[0437] Each CAPC of a data packet corresponds to a priority threshold. For a data packet, the priority threshold corresponding to the data packet, that is, the first priority threshold corresponding to the data packet, can be determined according to the CAPC of the data packet, so as to compare the priority value of the data packet with the first priority threshold.
[0438] In one example, the first priority threshold corresponding to the second CAPC is a first value. If the CAPC of a data packet is the second CAPC and the priority value of the data packet is less than or equal to the first value, the M data packets determined by the first communication device include the data packet. Similarly, if the CAPC of a data packet is the second CAPC and the priority value of the data packet is greater than the first value, the M data packets determined by the first communication device do not include the data packet.
[0439] Optionally, the first priority threshold corresponding to a CAPC that is greater than or equal to the second CAPC is the second value; and the first priority threshold corresponding to a CAPC that is less than the second CAPC is the third value.
[0440] In another example, the first priority threshold corresponding to the first CAPC interval is the second value; the first priority threshold corresponding to the second CAPC interval is the third value. For example, if the CAPC of a data packet belongs to the second CAPC interval, the first priority threshold corresponding to the CAPC of the data packet is the third value, and if the priority value of the data packet is less than or equal to the third value, the M data packets determined by the first communication device include the data packet; if the priority value of the data packet is greater than the third value, the M data packets determined by the first communication device do not include the data packet.
[0441] Exemplarily, the value of the first priority threshold may be a value in {1, 2, 3, 4, 5, 6, 7, 8}. For example, the first priority threshold defaults to 8 or 1. The first priority threshold may be at least one of the first value, the second value, or the third value.
[0442] Optionally, the smaller the CAPC is, the larger the corresponding priority threshold is, or the smaller the value in the CAPC interval is, the larger the corresponding priority threshold is. Similarly, the larger the CAPC is, the smaller the corresponding priority threshold is, or the larger the value in the CAPC interval is, the smaller the corresponding priority threshold is.
[0443] In one example, if the priority value of data packet 1 among the L data packets is 1 and the corresponding CAPC is 3, according to the predefined correspondence, the priority threshold corresponding to the CAPC of the data packet is 3 is 4, then for the data packet 1, the first priority threshold is 4, therefore, the first communication device can determine that the priority value of data packet 1 is less than the first priority threshold 4, thereby allocating resources from the first resource to the data packet 1, and the M data packets determined by the first communication device include the data packet 1. If the priority value of data packet 2 among the L data packets is 3 and the corresponding CAPC is 1, according to the predefined correspondence, the priority threshold corresponding to the CAPC of the data packet is 1 is 2, then for the data packet 2, the first priority threshold is 2. However, the priority value corresponding to the data packet 2 is 3, which is greater than the first priority threshold 2, therefore, the first communication device does not allocate resources from the first resource to the data packet 2, and the M data packets determined by the first communication device do not include the data packet 2.
[0444] In another example, if the priority value of data packet 1 among the K data packets is 1 and the corresponding CAPC is 3, according to the predefined correspondence, the priority threshold corresponding to the CAPC of the data packet is 3 is 4, then for the data packet 1, the first priority threshold is 4, therefore, the first communication device can determine that the priority value of data packet 1 is less than the first priority threshold 4, thereby allocating resources from the first resource to the data packet 1, and the M data packets determined by the first communication device include the data packet 1. If the priority value of data packet 2 among the K data packets is 3 and the corresponding CAPC is 1, according to the predefined correspondence, the priority threshold corresponding to the CAPC of the data packet is 1 is 2, then for the data packet 2, the first priority threshold is 2. However, the priority value corresponding to the data packet 2 is 3, which is greater than the first priority threshold 2, therefore, the first communication device does not allocate resources from the first resource to the data packet 2, and the M data packets determined by the first communication device do not include the data packet 2.
[0445] In implementation mode three, a data packet among the M data packets needs to satisfy at least one of the two conditions, that is, the M data packets need to satisfy: the CAPC corresponding to the data packet among the M data packets is greater than or equal to the first CAPC, and / or the priority value of the new data packet among the M data packets is less than or equal to the first priority threshold.
[0446] In one example, when a first communication device acquires L new data packets among K data packets, if the CAPC corresponding to one of the L new data packets is greater than or equal to the first CAPC, the first communication device determines to allocate resources in the first resource to the data packet, and the M data packets determined by the first communication device include the data packet; if the CAPC corresponding to one of the L new data packets is less than the first CAPC, the first communication device determines the difference between the priority value of the data packet and the first priority threshold, and if the priority value of the data packet is less than or equal to the first priority threshold, the first communication device determines to allocate resources in the first resource to the data packet, and the M data packets determined by the first communication device include the data packet. If the priority value of the data packet is greater than the first priority threshold, the first communication device determines not to allocate resources in the first resource to the data packet, and the M data packets determined by the first communication device do not include the data packet. Alternatively, the first communication device may preferentially compare the priority value of the new data packet with the first priority threshold. If the priority value of the new data packet is less than or equal to the first priority threshold, the first communication device determines to allocate resources from the first resource to the data packet, and the M data packets determined by the first communication device include the data packet. If the priority value of the new data packet is greater than the first priority threshold, the first communication device determines the size of the CAPC corresponding to the data packet and the first CAPC. If the CAPC corresponding to the new data packet is greater than or equal to the first CAPC, the first communication device determines to allocate resources from the first resource to the data packet, and the M data packets determined by the first communication device include the data packet. If the CAPC corresponding to the new data packet is less than the first CAPC, the first communication device determines not to allocate resources from the first resource to the data packet, and the M data packets determined by the first communication device do not include the data packet.
[0447] In another example, for K data packets acquired by the first communication device, if the CAPC corresponding to one of the K data packets is greater than or equal to the first CAPC, the first communication device determines to allocate resources in the first resource to the data packet, and the M data packets determined by the first communication device include the data packet; if the CAPC corresponding to one of the K data packets is less than the first CAPC, the first communication device determines the difference between the priority value of the data packet and the first priority threshold, and if the priority value of the data packet is less than or equal to the first priority threshold, the first communication device determines to allocate resources in the first resource to the data packet, and the M data packets determined by the first communication device include the data packet. If the priority value of the data packet is greater than the first priority threshold, the first communication device determines not to allocate resources in the first resource to the data packet, and the M data packets determined by the first communication device do not include the data packet. Alternatively, the first communication device may preferentially compare the priority value of a data packet among the K data packets with the first priority threshold value. If the priority value of the data packet is less than or equal to the first priority threshold value, the first communication device determines to allocate resources from the first resource to the data packet, and the M data packets determined by the first communication device include the data packet. If the priority value of the data packet is greater than the first priority threshold value, the first communication device determines the size of the CAPC corresponding to the data packet and the first CAPC. If the CAPC corresponding to the data packet is greater than or equal to the first CAPC, the first communication device determines to allocate resources from the first resource to the data packet, and the M data packets determined by the first communication device include the data packet. If the CAPC corresponding to the data packet is less than the first CAPC, the first communication device determines not to allocate resources from the first resource to the data packet, and the M data packets determined by the first communication device do not include the data packet.
[0448] In the third embodiment, the same terms as those in the first or second embodiment refer to the previous description.
[0449] In implementation mode four, the M data packets need to satisfy two conditions at the same time, that is, the M data packets need to satisfy that the CAPC corresponding to the data packets in the M data packets is greater than or equal to the first CAPC, and that the priority value of the new data packet in the M data packets is less than or equal to the first priority threshold.
[0450] In one example, for L new data packets among the K data packets acquired by the first communication device, if the CAPC corresponding to one of the L new data packets is greater than or equal to the first CAPC, and the priority value of the data packet is less than or equal to the first priority threshold, the first communication device determines to allocate resources from the first resource to the data packet, and the M data packets determined by the first communication device include the data packet. If the CAPC corresponding to one of the L new data packets is less than the first CAPC, or the priority value of the data packet is greater than the first priority value, the first communication device determines not to allocate resources from the first resource to the data packet, and the M data packets determined by the first communication device do not include the data packet.
[0451] In another example, for K data packets acquired by the first communication device, if the CAPC corresponding to one of the K data packets is greater than or equal to the first CAPC, and the priority value of the data packet is less than or equal to the first priority threshold, the first communication device determines to allocate resources from the first resource to the data packet, and the M data packets determined by the first communication device include the data packet. If the CAPC corresponding to one of the K data packets is less than the first CAPC, or the priority value of the data packet is greater than the first priority value, the first communication device determines not to allocate resources from the first resource to the data packet, and the M data packets determined by the first communication device do not include the data packet.
[0452] The first communication device determines M data packets from the K data packets, including but not limited to at least one of the following methods 1 to 8:
[0453] Mode 1: In the LCP process, the first communication device sets the SB of the data packets whose CAPC is less than or equal to the first CAPC in the L new data packets to 0, and then determines M data packets from the data packets whose SB is greater than 0 in the K data packets.
[0454] That is, in the LCP process, the first communication device sets the SB of the data packets whose CAPC is greater than or equal to the first CAPC among the L new data packets to a value greater than 0.
[0455] Mode 2: When selecting a data packet, the first communication device selects a data packet whose CAPC is greater than or equal to the first CAPC among the L new data packets.
[0456] That is, the first communication device does not select a data packet whose CAPC is less than or equal to the first CAPC among the L new data packets.
[0457] Mode 3: When allocating SL authorized resources to data packets, the first communication device allocates resources in the first resource to the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the L new data packets in ascending order of the priority value of the data packets. Among them, M data packets are allocated to resources in the first resource.
[0458] That is, when allocating SL authorized resources to a data packet, for a data packet whose CAPC is smaller than the first CAPC, no resources in the first resource are allocated to the data packet.
[0459] Mode 4: When allocating SL authorized resources to data packets, the first communication device allocates resources in the first resource to the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the L new data packets in the ascending order of the priority values of the data packets. After the first communication device has allocated resources to all the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the L new data packets, if there are still remaining resources in the first resource, the first communication device allocates resources in the first resource to the data packets whose resources are not allocated and whose CAPC is greater than or equal to the first CAPC among the L new data packets in the ascending order of the priority values of the data packets, wherein M data packets are allocated resources in the first resource.
[0460] That is to say, when the first communication device allocates SL authorized resources to a data packet, for a data packet whose CAPC is smaller than the first CAPC, no resources in the first resources are allocated to the data packet.
[0461] Mode 5: After the first communication device sets the SB of the data packets whose CAPC is less than or equal to the first CAPC in the LCP process to 0 among the K new data packets, it determines M data packets among the data packets whose SB is greater than 0 among the K data packets.
[0462] That is, the first communication device sets the SB of the data packets whose CAPC is greater than the first CAPC among the K new data packets to a value greater than 0 during the LCP process.
[0463] Mode 6: When selecting a data packet, the first communication device selects a data packet whose CAPC is greater than or equal to the first CAPC among the K new data packets.
[0464] That is, the first communication device does not select a data packet whose CAPC is smaller than the first CAPC among the K new data packets.
[0465] Mode 7: When allocating SL authorized resources to data packets, the first communication device allocates resources in the first resource to the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the K new data packets in ascending order of the priority value of the data packets. Among them, M data packets are allocated to resources in the first resource.
[0466] That is, when allocating SL authorized resources to a data packet, for a data packet whose CAPC is less than or equal to the first CAPC, no resources in the first resources are allocated to the data packet.
[0467] Mode 8: When allocating SL authorized resources to data packets, the first communication device allocates resources in the first resource to the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the K new data packets in the ascending order of the priority values of the data packets. After the first communication device has allocated resources to all the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the K new data packets, if there are still remaining resources in the first resource, the first communication device allocates resources in the first resource to the data packets whose resources are not allocated and whose CAPC is greater than or equal to the first CAPC among the K new data packets in the ascending order of the priority values of the data packets, wherein M data packets are allocated resources in the first resource.
[0468] That is, when allocating SL authorized resources for a data packet, for a data packet whose CAPC is less than or equal to the first CAPC, no resources in the first resources are allocated to the data packet.
[0469] In one implementation, the M data packets include: a data packet whose HARQ attribute is a first HARQ attribute, wherein the first HARQ attribute is the HARQ attribute of the data packet with the smallest priority value among the N data packets, or the first HARQ attribute is the HARQ attribute of the data packet with the smallest priority value among the K data packets.
[0470] The HARQ attribute includes HARQ enablement and HARQ disablement. The first HARQ attribute may be HARQ enablement or HARQ disablement.
[0471] In one example, the first communication device allocates the first resource to the data packets whose HARQ attribute is the first HARQ attribute among the K data packets, or the first communication device allocates the first resource to the data packets whose HARQ attribute is the first HARQ attribute among the L new data packets.
[0472] That is, the first communication device does not allocate the first resource to the data packets whose HARQ attribute is not the first HARQ attribute among the K data packets, or the first communication device does not allocate the first resource to the data packets whose HARQ attribute is not the first HARQ attribute among the L new data packets.
[0473] Optionally, for a data packet whose HARQ attribute is not the first HARQ attribute among the K data packets, if the priority value of the data packet is less than or equal to the minimum priority value among the N data packets, the first communication device should not allocate the first resource to the data packet. In other words, if the priority value of the data packet is greater than the minimum priority value among the N data packets, the first communication device may allocate the first resource to the data packet.
[0474] Examples of this example are as follows: Example 1 can be combined with Example 2; or Example 1 can be combined with Example 3.
[0475] Example 1: The first HARQ attribute is disabled, and the first communication device does not allocate the first resource to the data packet whose HARQ attribute is enabled among the K data packets, or the first communication device does not allocate the first resource to the data packet whose HARQ attribute is enabled among the L data packets. That is, the first communication device determines that the data packet whose HARQ attribute is enabled does not belong to the M data packets.
[0476] Example 2: The first HARQ attribute is enabled, and the first communication device does not allocate the first resource to the data packet whose HARQ attribute is disabled among the K data packets, or the first communication device does not allocate the first resource to the data packet whose HARQ attribute is disabled among the L data packets. That is, the first communication device determines that the data packet whose HARQ attribute is disabled does not belong to the M data packets.
[0477] Example 3: When the first HARQ attribute is enabled, the first communication device may allocate the first resource to the data packet whose HARQ attribute is disabled among the K data packets, or the first communication device may allocate the first resource to the data packet whose HARQ attribute is disabled among the L data packets. That is, the first communication device determines that the data packet whose HARQ attribute is disabled belongs to the M data packets.
[0478] In another example, the first HARQ attribute is the HARQ attribute of a data packet with a minimum priority value among N data packets in the second sidelink information included in the K data packets.
[0479] S602: The first communication device sends first sidelink information on a first resource, where the first sidelink information includes the M data packets.
[0480] After the first communication device allocates resources in the first resource to M data packets in the LCP process, the first communication device sends first side information on the first resource, and the first side information includes the M data packets. It should be understood that the second side information is the side information that triggers the first communication device to perform resource selection (or triggers the first communication device to perform LBT). The first side information is the first side information of the M data packets that are determined after the first communication device performs the LCP process and includes the resources in the first resource allocated, that is, the side information actually transmitted on the first resource.
[0481] The M data packets determined by the first communication device in S601 are data packets included in the first side information. The first communication device transmits the first side information in the x-th time slot of the COT, that is, the first resource belongs to the x-th time slot. Wherein, x is a positive integer, for example, x=1. The resource (i.e., the first resource) on which the first communication device transmits the first side information is the resource successfully occupied by the first communication device through LBT and / or the resource selected by the first communication device through resource selection.
[0482] The M data packets have the same destination information. For example, the destination information of the M data packets is the destination information corresponding to the data packet with the smallest priority value among the K data packets. For another example, the destination information of the M data packets is the destination information corresponding to the data packet with the smallest priority value among the first data packet set, wherein the first data packet set is the set of data packets among the K data packets whose CAPC is greater than or equal to the first CAPC and / or whose priority value is less than or equal to the first priority threshold.
[0483] The first side information may include other data packets in addition to the M data packets. For example, the first side information may also include the data packets in the second side information, or may also include N data packets in the second side information.
[0484] Optionally, the method 600 may further include the following S603.
[0485] S603: The first communication device sends third sidelink information on the second resource, where the third sidelink information includes at least one data packet among the K data packets except the M data packets.
[0486] The third sideline information is the sideline information transmitted continuously by the first communication device after the first sideline information.
[0487] In one embodiment, the first resource belongs to the xth time unit in the initial COT of the first communication device, and the xth time unit carries a data packet whose CAPC is greater than or equal to the first CAPC among the K data packets. x is a positive integer, for example, x=1. The yth time unit in the COT carries a data packet whose CAPC is less than the first CAPC among the K data packets. y is an integer greater than 1, for example, y=2.
[0488] Exemplarily, the time unit is a time slot, and the first CAPC is the maximum CAPC among the CAPCs corresponding to the data packets contained in the second side information, that is, the first CAPC is the maximum CAPC among the CAPCs corresponding to the data packets that trigger the first communication device to perform resource selection (or trigger the first communication device to perform LBT).
[0489] In one example, for L new data packets among the K data packets acquired by the first communication device, if the L new data packets include a data packet whose CAPC is greater than or equal to the first CAPC, the first communication device allocates resources in the first resource (i.e., the first time slot in the initial COT of the first communication device) to the data packet whose CAPC is greater than or equal to the first CAPC among the L new data packets. The first communication device can allocate resources in the second time slot in the COT to the data packet whose CAPC is less than the first CAPC among the L data packets. Specifically, the first communication device determines M data packets, and the M data packets include a data packet whose CAPC is greater than or equal to the first CAPC among the L new data packets, and the first communication device allocates resources in the first time slot in the COT to the M data packets. The first communication device then allocates resources in the second time slot in the COT to the data packets among the K data packets except the M data packets. The first communication device sends first side information in the first time slot in the COT, and the first side information includes M data packets. The first communication device sends third side information in the second time slot in the COT, and the third side information includes at least one data packet among the K data packets except the M data packets carried by the first time unit.
[0490] In another example, when the first communication device acquires K data packets, if the K data packets include data packets whose CAPC is greater than or equal to the first CAPC, the first communication device allocates resources in the first resource (i.e., the first time slot in the initial COT of the first communication device) to the data packets whose CAPC is greater than or equal to the first CAPC among the K new data packets. The first communication device may allocate resources in the second time slot in the COT to the data packets whose CAPC is less than the first CAPC among the K data packets. Specifically, the first communication device determines M data packets, the M data packets include data packets whose CAPC is greater than or equal to the first CAPC among the K new data packets, and the first communication device allocates resources in the first time slot in the COT to the M data packets. The first communication device then allocates resources in the second time slot in the COT to the data packets other than the M data packets among the K data packets. The first communication device sends first sideline information in the first time slot in the COT, the first sideline information includes M data packets, and the first communication device sends third sideline information in the second time slot in the COT, the third sideline information includes at least one data packet among the K data packets other than the M data packets carried by the first time unit.
[0491] According to the above scheme, for a new data packet arriving before the first communication device executes the LCP process, the first communication device determines the CAPC corresponding to the data packet to be transmitted and / or the priority value of the data packet, determines to transmit the data packet that meets the threshold condition and allocates resources to it, which can improve the transmission efficiency and resource utilization. And it can improve the transmission efficiency of the system.
[0492] The first communication device selects the first resource and the second resource based on the parameters of the second side information. If there is no new data packet, the second resource can transmit the retransmission of the first side information; if there is new data, the second resource can transmit the third side information. For the latter, it is equivalent to the first communication device selecting at least two resources with the unified parameters of the second side information, but different side information can be transmitted on these at least two resources. This overcomes the problem that only part of the data packets (i.e., M data packets out of K data packets) can be transmitted in the traditional LCP, and improves the transmission efficiency of the entire system.
[0493] It should be noted that in each embodiment of the present application, the first communication device allocating a first resource to a data packet, the first communication device allocating a resource on the first resource to a data packet, and the first communication device allocating an SL-authorized resource on the first resource to a data packet have the same meaning. Also, the first communication device allocating a second resource to a data packet, the first communication device allocating a resource on the second resource to a data packet, and the first communication device allocating an SL-authorized resource on the second resource to a data packet have the same meaning. The data packet being allocated resources in the first resource may be equivalent to the first communication device allocating the first resource to the data packet. The data packet being allocated resources in the second resource may be equivalent to the first communication device allocating the second resource to the data packet.
[0494] In one implementation, the time unit to which the first resource belongs and the time unit to which the second resource belongs are continuous time units. That is, the first resource and the second resource are respectively located in continuous time units. If the first resource is a resource on the xth time slot in the COT to which it belongs, and x is a positive integer, then the second resource is a resource on the yth time slot in the COT to which the first resource belongs, and y=x+1. For example, x=1, y=2. For another example, x=1, y={2,3,4}.
[0495] It can be understood that the first resource and the second resource can be determined in the same SL process. For example, the first resource and the second resource can be obtained by executing resource selection in the same SL process.
[0496] In one implementation, the first resource and the second resource may belong to the same multi-time unit candidate resource, and the multi-time unit candidate resource includes a plurality of consecutive time units.
[0497] For example, the time unit may be a time slot, a mini-slot, a subframe or a frame. If the time unit is a time slot, the multi-time unit candidate resource may be referred to as a candidate multi-slot resource or a multi-slot candidate resource.
[0498] Optionally, the multi-time unit candidate resource is determined based on the second sideline information. For example, the multi-time unit candidate resource is obtained by performing resource selection based on parameters (such as priority and / or CAPC) of the second sideline information.
[0499] The multi-time unit candidate resources including the first resource and the second resource are determined in a side process. For example, the multi-time unit candidate resources including the first resource and the second resource are obtained by executing resource selection in a side process.
[0500] The multiple time unit candidate resources may include multiple second resources, or in other words, the second resources may include resources of multiple time units, and the time unit where the first resource is located is continuous with the time unit included in the second resource.
[0501] Optionally, the first resource carries the first sideline information, and the second resource carries the third sideline information, wherein the third sideline information is the sideline information transmitted continuously by the first communication device after the first sideline information.
[0502] Optionally, the source ID of the first side information is the same as the source ID of the second side information, and / or the destination ID of the first side information is the same as the destination ID of the second side information.
[0503] That is, if the source ID and / or the destination ID of one sidelink information is the same as that of the second sidelink information, the first communication device may allocate resources obtained by performing resource selection based on the parameters of the second sidelink information to the sidelink information.
[0504] For example, the second resource includes 1 time unit, then when allocating resources on the second resource to data packets, data packets with the same source ID as the first side information are allocated, and / or data packets with the same destination ID as the first side information are allocated.
[0505] For another example, if the second resource includes multiple time units, when allocating resources on the second resource to data packets, data packets with the same source ID as the first side information are allocated first, and / or data packets with the same destination ID as the first side information are allocated first, and data packets with different source IDs from the first side information are allocated second, and / or data packets with different destination IDs from the first side information are allocated second.
[0506] The multi-time unit candidate resources determined in a side process may include resources of A time units, where A is an integer greater than or equal to 1. For example, A may be any value in the set {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}.
[0507] Optionally, the number A of time units included in the multi-time unit candidate resource may be related to one or more of the following:
[0508] The number of destination information of K data packets, the number of destination information of M data packets, the number of destination information of N data packets, the total data volume of K data packets, the total data volume of M data packets, the total data volume of N data packets, and the minimum HARQ round trip time (RTT) interval between two adjacent sideline authorized resources.
[0509] Optionally, the number A of time units included in the multi-time unit candidate resource may be obtained by rounding up the result of dividing the total data volume of K data packets by the data volume threshold; or, A may be obtained by rounding up the result of dividing the total data volume of M data packets by the data volume threshold; or, A may be obtained by rounding up the result of dividing the total data volume of N data packets by the data volume threshold. Optionally, the data volume threshold is the amount of data that the first resource can carry.
[0510] Optionally, A is greater than 1 if one or more of the following conditions are met:
[0511] The number of destination information corresponding to K data packets is greater than 1;
[0512] The number of destination information corresponding to M data packets is greater than 1;
[0513] The number of destination information corresponding to N data packets is greater than 1;
[0514] The HARQ enabling information of the data packet with the smallest priority value among the K data packets is enabled;
[0515] The HARQ enabling information of the data packet with the smallest priority value among the M data packets is enabled;
[0516] The HARQ enabling information of the data packet with the smallest priority value among the N data packets is enabled;
[0517] The sidelink control information of the first sidelink information indicates HARQ enabling;
[0518] The sidelink control information of the second sidelink information indicates HARQ enabling;
[0519] The resource pool is configured with PSFCH resources.
[0520] Figure 7 is a schematic flow chart of a data transmission method 700 provided in an embodiment of the present application. The method 700 includes but is not limited to the following steps S701 and S702. It should be noted that: Figure 7 In the embodiment shown Figure 6 The same parts in the embodiments shown can be referred to in Figure 6 The description in the illustrated embodiment will not be repeated here for the sake of brevity.
[0521] S701, the first communication device determines M data packets among K data packets, wherein the M data packets include a data packet with the largest CAPC among the K data packets, or the M data packets include a data packet with the largest CAPC among the N data packets.
[0522] Wherein, K, M, and N are positive integers, and M≤K, N<K. The K data packets include N data packets in the second side information, and the second side information is the side information that triggers the first communication device to perform resource selection or triggers the first communication device to perform LBT. The first communication device determines M data packets carried on the first resource from the K data packets, and the first resource is the first time unit in the initial COT of the first communication device.
[0523] Optionally, the K data packets include L new data packets and N data packets that trigger the first communication device to perform resource selection (or trigger the first communication device to perform LBT). For details about the K data packets, N data packets and L new data packets, please refer to Figure 6 The description of the illustrated embodiment will not be repeated here.
[0524] The first resource carries the first side information. The first resource is a resource in the xth time slot of the COT. x is a positive integer, such as x=1. The second resource carries the third side information. The second resource is a resource in the yth time slot of the COT to which the first resource belongs. y is an integer greater than 1, such as y=2.
[0525] In one implementation, the time unit to which the first resource belongs and the time unit to which the second resource belongs are continuous time units. That is, the first resource and the second resource are respectively located in continuous time units. That is, y=x+1.
[0526] It can be understood that the first resource and the second resource can be determined in the same SL process. For example, the first resource and the second resource can be obtained by executing resource selection in the same SL process.
[0527] In one implementation, the first resource and the second resource may belong to the same multi-time unit candidate resource, and the multi-time unit candidate resource includes a plurality of consecutive time units.
[0528] For example, the time unit may be a time slot, a mini-slot, a subframe or a frame. If the time unit is a time slot, the multi-time unit candidate resource may be referred to as a candidate multi-slot resource or a multi-slot candidate resource.
[0529] Optionally, the multi-time unit candidate resource is determined based on the second sideline information. For example, the multi-time unit candidate resource is obtained by performing resource selection based on parameters (such as priority and / or CAPC) of the second sideline information.
[0530] The multi-time unit candidate resources including the first resource and the second resource are determined in a side process. For example, the multi-time unit candidate resources including the first resource and the second resource are obtained by executing resource selection in a side process.
[0531] The multiple time unit candidate resources may include multiple second resources, or in other words, the second resources may include resources of multiple time units, and the time unit where the first resource is located is continuous with the time unit included in the second resource.
[0532] Optionally, the first resource carries the first sideline information, and the second resource carries the third sideline information, wherein the third sideline information is the sideline information transmitted continuously by the first communication device after the first sideline information.
[0533] Optionally, the source ID of the first side information is the same as the source ID of the second side information, and / or the destination ID of the first side information is the same as the destination ID of the second side information.
[0534] That is, if the source ID and / or the destination ID of one sidelink information is the same as that of the second sidelink information, the first communication device may allocate resources obtained by performing resource selection based on the parameters of the second sidelink information to the sidelink information.
[0535] For example, the second resource includes 1 time unit, then when allocating resources on the second resource to data packets, data packets with the same source ID as the first side information are allocated, and / or data packets with the same destination ID as the first side information are allocated.
[0536] For another example, if the second resource includes multiple time units, when allocating resources on the second resource to data packets, data packets with the same source ID as the first side information are allocated first, and / or data packets with the same destination ID as the first side information are allocated first, and data packets with different source IDs from the first side information are allocated second, and / or data packets with different destination IDs from the first side information are allocated second.
[0537] The multi-time unit candidate resources determined in a side process may include resources of A time units, where A is an integer greater than or equal to 1. For example, A may be any value in the set {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}.
[0538] Optionally, the number A of time units included in the multi-time unit candidate resource may be related to one or more of the following:
[0539] The number of destination information of K data packets, the number of destination information of M data packets, the number of destination information of N data packets, the total data volume of K data packets, the total data volume of M data packets, the total data volume of N data packets, and the minimum HARQ RTT (hybrid automatic repeat request round triptime) interval between two adjacent sideline authorized resources.
[0540] Optionally, the number A of time units included in the multi-time unit candidate resource may be obtained by rounding up the result of dividing the total data volume of K data packets by the data volume threshold; or, A may be obtained by rounding up the result of dividing the total data volume of M data packets by the data volume threshold; or, A may be obtained by rounding up the result of dividing the total data volume of N data packets by the data volume threshold. Optionally, the data volume threshold is the amount of data that the first resource can carry.
[0541] Optionally, A is greater than 1 if one or more of the following conditions are met:
[0542] The number of destination information corresponding to K data packets is greater than 1;
[0543] The number of destination information corresponding to M data packets is greater than 1;
[0544] The number of destination information corresponding to N data packets is greater than 1;
[0545] The HARQ enabling information of the data packet with the smallest priority value among the K data packets is enabled;
[0546] The HARQ enabling information of the data packet with the smallest priority value among the M data packets is enabled;
[0547] The HARQ enabling information of the data packet with the smallest priority value among the N data packets is enabled;
[0548] The sidelink control information of the first sidelink information indicates HARQ enabling;
[0549] The sidelink control information of the second sidelink information indicates HARQ enabling;
[0550] The resource pool is configured with PSFCH resources.
[0551] The first side information, the second side information, the third side information, the K data packets, the M data packets, and the L data packets are described in detail in Figure 6 The description in the illustrated embodiment will not be repeated here.
[0552] The first communication device may determine the data packet to be allocated the second resource according to the first CAPC. For example, the first communication device may allocate resources in the second resource to the data packet whose CAPC is less than or equal to the first CAPC. The first CAPC may include Figure 6 At least one of the methods 1 to 7 described in the method involved may also be the following method 8. That is, the specific implementation of the first CAPC may include but is not limited to at least one of the above methods 1 to 7 and method 8.
[0553] Mode 8: The first CAPC is the maximum CAPC among the CAPCs corresponding to the data packets included in the first sidelink information.
[0554] That is, the first CAPC is the maximum CAPC among the CAPCs corresponding to the M data packets.
[0555] In one example, in addition to the data packets allocated with the first resource, there are other data packets (i.e., data packets that are not allocated with resources, or referred to as remaining data packets in the L new data packets) in the L new data packets. If the remaining data packets include data packets whose CAPC is less than or equal to the first CAPC, the first communication device determines that the data packets carried on the second resource include data packets whose CAPC is less than or equal to the first CAPC in the remaining data packets. That is, the first communication device allocates resources in the second resource to at least the data packets whose CAPC is less than or equal to the first CAPC contained in the remaining data packets in the L data packets.
[0556] In one example, if there are other data packets in the K data packets in addition to the data packets allocated to the first resource (i.e., data packets to which resources are not allocated, or remaining data packets in the K new data packets), if the remaining data packets include data packets whose CAPC is less than or equal to the first CAPC, the first communication device determines that the data packets carried on the second resource include data packets whose CAPC is less than or equal to the first CAPC in the remaining data packets. That is, the first communication device allocates resources in the second resource at least for the data packets whose CAPC is less than or equal to the first CAPC contained in the remaining data packets in the K data packets.
[0557] In one implementation, the M data packets determined by the first communication device include a data packet having the largest CAPC among the K data packets.
[0558] This implementation manner may also be understood as: the M data packets determined by the first communication device include a data packet whose CAPC is greater than or equal to the largest CAPC among the N data packets included in the second sidelink information.
[0559] The data packet with the largest CAPC among the N data packets can also be understood as: the data packet with the maximum CAPC among the N data packets. The data packet with the maximum CAPC can be a data packet among the N data packets, or a data packet among the K data packets except the N data packets (that is, it can be a data packet among the L data packets).
[0560] Several examples of this implementation are introduced below. The following examples can be implemented individually or in combination.
[0561] In one example, a first communication device determines M data packets among K data packets, including: the first communication device first allocates resources from the first resources to the data packet with the largest CAPC among the K data packets, and then allocates resources from the first resources to the data packets among the K data packets that have not been allocated resources in ascending order of priority of the data packets, wherein M data packets are allocated resources from the first resources.
[0562] That is to say, when allocating SL authorized resources to data packets, the first communication device first allocates resources in the first resources to the data packet with the largest CAPC among the K data packets.
[0563] Optionally, the SB of the data packet with the largest CAPC among the K data packets is greater than or equal to 0 in the LCP process.
[0564] Optionally, the first communication device allocates resources from the first resources to the data packets among the K data packets to which resources have not been allocated and whose SB is greater than or equal to 0, in ascending order of priority of the data packets.
[0565] For example, before the first communication device performs the LCP process, the first communication device has K=5 data packets to be sent, which are a data packet with CAPC=1 and a priority value of P=1, a data packet with CAPC=1 and P=3, a data packet with CAPC=1 and P=5, a data packet with CAPC=2 and P=2, and a data packet with CAPC=3 and P=6. The first communication device performs the LCP process on K=5 data packets. In various examples of the present application, P represents a priority value.
[0566] For example, Figure 8 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are all 1, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device performs the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively. The first communication device performs the LCP process on 5 data packets, namely K=5.
[0567] In any of the above examples, the first communication device first determines to allocate resources in the first resource to the data packet with the largest CAPC among the five data packets (i.e., CAPC=3 and P=6). The first communication device then allocates resources in the first resource to the data packets that have not been allocated resources among the K data packets in the order of increasing priority values of the data packets. After the first communication device allocates resources in the first resource to the data packet with the smallest priority value P=1 and CAPC=1, it allocates resources in the first resource to the data packet with the priority value P=2 and CAPC=2. At this time, the resources in the first resource are allocated, and the first communication device allocates resources in the first resource to three of the five data packets, M=3. In this way, the data packet with the largest CAPC among the K data packets can be allocated resources in the first resource, so that the CAPC of the data packet carried by the first resource is not less than the CAPC selected by the resource, which can reduce the situation where other communication devices cannot share COT for transmission due to the reduction of CAPC, thereby improving resource utilization.
[0568] Optionally, after the first communication device allocates resources from the first resource to the M data packets, the first communication device allocates resources from the second resource to the data packets that have not been allocated resources among the K data packets in ascending order of priority values of the data packets. The second resource is a resource in a time unit other than the first time unit in the COT to which the first resource belongs.
[0569] Optionally, when allocating resources in the second resource to the data packets, the first communication device first allocates resources to the data packets whose SB is greater than 0 in the order of increasing priority values of the data packets. If there are still SL authorized resources remaining, resources are allocated to the data packets whose SB is equal to 0 in the order of increasing priority values of the data packets.
[0570] For example, Figure 8 In the example, the first communication device continues to allocate time units other than the first time unit in the COT for the remaining two data packets that have not been allocated resources in the five data packets, such as the second resources are resources in the second time unit. Fig. 9 As shown, the first communication device allocates resources in the second resources to the data packets with P=3 and CAPC=1 and the data packets with P=5 and CAPC=1 in ascending order of priority values of the data packets.
[0571] In another example, the first communication device determines M data packets among K data packets, including: the first communication device allocates first resources to the data packets among the K data packets in order of decreasing CAPC of the data packets and increasing priority values of the data packets, wherein the M data packets are allocated resources among the first resources.
[0572] The order of decreasing CAPC of the data packets and increasing priority values of the data packets may include: first decreasing CAPC of the data packets and then increasing priority values of the data packets, or first increasing priority values of the data packets and then decreasing CAPC of the data packets.
[0573] For example, before the first communication device performs the LCP process, the first communication device has K=5 data packets to be sent, which are a data packet with CAPC=1 and P=1, a data packet with CAPC=1 and P=3, a data packet with CAPC=1 and P=5, a data packet with CAPC=2 and P=2, and a data packet with CAPC=3 and P=6. The first communication device performs the LCP process on the K=5 data packets.
[0574] For example, Fig.10 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are all 1, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0575] In any of the above examples, the first communication device first allocates resources in the first resource to the data packets in the five data packets in the order of decreasing CAPC of the data packets, that is, the first communication device first allocates resources in the first resource to the data packet with the largest CAPC of P=6 and CAPC=3, and then allocates resources in the first resource to the data packet with the second largest CAPC of P=2 and CAPC=2. Then, the CAPC is reduced to allocate resources to the data packet with CAPC=1, and the five data packets include three data packets with CAPC=1. The first communication device allocates resources in the first resource to the three data packets in the order of increasing priority value. Then, the first communication device allocates resources in the first resource to the data packets with P=1 and CAPC=1. At this time, the resources in the first resource are allocated, and the first communication device allocates resources in the first resource to three data packets among the five data packets, M=3. In this way, the data packet with the largest CAPC can be allocated resources in the first resource, which can reduce the situation where other communication devices cannot share COT for transmission, and improve resource utilization.
[0576] Optionally, after the first communication device allocates resources from the first resource to M data packets, the first communication device may continue to allocate resources from the second resource to the data packets that have not been allocated resources among the K data packets in the order of decreasing CAPC first and then increasing priority values of the data packets. Alternatively, after the first communication device allocates resources from the first resource to M data packets, the first communication device may continue to allocate resources from the second resource to the data packets that have not been allocated resources among the K data packets in the order of increasing priority values of the data packets. The second resource is a resource in a time unit other than the first time unit in the COT to which the first resource belongs, or the second resource is a resource in the yth time unit in the COT to which the first resource belongs. y is an integer greater than 1, for example, y=2.
[0577] Optionally, when allocating resources on the second resource to data packets, first allocate resources to data packets whose SB is greater than 0 in ascending order of priority values of the data packets. If SL authorized resources are still remaining, allocate resources to data packets whose SB is equal to 0 in ascending order of priority values of the data packets.
[0578] For example, for Fig.10 In the example shown, the first communication device may continue to allocate resources in the second resource to the data packets that have not been allocated resources in the 5 data packets, such as the second resource being the second time unit in the COT. Fig.11 As shown, since the remaining two data packets have the same CAPC, the first communication device first allocates resources to the data packet with P=3 and CAPC=1, and then allocates resources to the data packet with P=5 and CAPC=1 in ascending order of priority values of the data packets.
[0579] In another example, the first communication device allocates resources in the first resource and then allocates resources in the second resource to the data packets in the K data packets in descending order of CAPC, so that the data packet with the largest CAPC among the K data packets is carried on the first resource. The data packets carried on the first resource include the M data packets.
[0580] The first communication device allocating resources in the order of decreasing CAPC may also include: the first communication device allocating resources in the order of decreasing CAPC of the data packet and increasing priority value of the data packet.
[0581] The order of decreasing CAPC of the data packets and increasing priority values of the data packets may include: first decreasing CAPC of the data packets and then increasing priority values of the data packets, or first increasing priority values of the data packets and then decreasing CAPC of the data packets.
[0582] For example, before the first communication device performs the LCP process, the first communication device has K=5 data packets to be sent, which are a data packet with CAPC=1 and P=1, a data packet with CAPC=1 and P=3, a data packet with CAPC=1 and P=5, a data packet with CAPC=2 and P=2, and a data packet with CAPC=3 and P=6. The first communication device performs the LCP process on the K=5 data packets.
[0583] For example, Fig.11 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are all 1, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0584] In any of the above examples, the first communication device first allocates resources from the first resource to the data packets in the five data packets in the order of decreasing CAPC of the data packets, that is, the first communication device first allocates resources from the first resource to the data packet with the largest CAPC of P=6 and CAPC=3, and then allocates resources from the first resource to the data packet with the second largest CAPC of P=2 and CAPC=2. Then, the CAPC is reduced to allocate resources to the data packet with CAPC=1, and the five data packets include three data packets with CAPC=1. The first communication device allocates resources from the first resource to the three data packets in the order of increasing priority value. Then, the first communication device allocates resources from the first resource to the data packets with P=1 and CAPC=1. At this time, the resources in the first resource are allocated, and the first communication device allocates resources from the first resource to three data packets in the five data packets, M=3. The first communication device can continue to allocate resources from the second resource to the data packets that have not been allocated resources among the five data packets, such as the second resource is the second time unit in the COT. Since the CAPC of the remaining two data packets is the same, the first communication device first allocates resources to the data packet with P=3 and CAPC=1 in ascending order of priority value of the data packets, and then allocates resources to the data packet with P=5 and CAPC=1. In this way, the data packet with the largest CAPC can be allocated resources in the first resource, which can reduce the situation where other communication devices cannot share COT for transmission and improve resource utilization.
[0585] In another example, the first communication device determines M data packets from K data packets, including: the first communication device first allocates resources from the second resource to the data packets from the K data packets in the order of increasing CAPC, and then allocates resources from the first resource. Thus, the data packet with the largest CAPC among the K data packets is carried on the first resource. The data packets carried on the first resource include the M data packets.
[0586] Optionally, the order in increasing CAPC includes: the order in which the priority values of the data packets increase and the CAPCs of the data packets increase, or the order in which the priority values of the data packets decrease and the CAPCs of the data packets increase.
[0587] The order of increasing the priority value of the data packet and the CAPC of the data packet includes: first increasing the priority value of the data packet and then increasing the CAPC of the data packet, or first increasing the CAPC of the data packet and then increasing the priority value of the data packet.
[0588] The order of decreasing priority values of data packets and increasing CAPC of data packets includes: first decreasing priority values of data packets and then increasing CAPC of data packets, or first increasing CAPC of data packets and then decreasing priority values of data packets.
[0589] For example, before the first communication device performs the LCP process, the first communication device has K=5 data packets to be sent, which are a data packet with CAPC=1 and P=1, a data packet with CAPC=1 and P=3, a data packet with CAPC=1 and P=5, a data packet with CAPC=2 and P=2, and a data packet with CAPC=3 and P=6. The first communication device performs the LCP process on the K=5 data packets.
[0590] For example, Fig.11 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are all 1, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0591] In any of the above examples, the first communication device first allocates resources in the second resource to the data packets among the five data packets in the order of increasing CAPC of the data packets. The first communication device determines the data packet with the smallest CAPC among the five data packets, and the smallest CAPC among the five data packets is 1, including three data packets with CAPC=1. The first communication device can allocate resources in the second resource to the two data packets with the largest priority values among the three data packets, i.e., the data packet with P=5 and CAPC=1 and the data packet with P=3 and CAPC=1, according to the order of decreasing priority values of the data packets, and then allocate resources in the first resource to the data packet with P=1 and CAPC=1. The first communication device determines that the second smallest CAPC among the five data packets is CAPC=2, and allocates resources in the first resource to the data packet with P=2 and CAPC=2, and finally allocates resources in the first resource to the remaining data packet, i.e., the data packet with P=6 and CAPC=3. In this way, the data packet with the largest CAPC can be allocated resources in the first resource, which can reduce the situation where other communication devices cannot share COT for transmission, and improve resource utilization.
[0592] In another example, the first communication device determines M data packets among K data packets, including: the first communication device determines that the data packet with the largest CAPC among the K data packets is carried on the first resource, the first communication device determines that the data packet with the largest CAPC among the K data packets is carried on the first resource, and the first communication device first allocates resources in the second resource to the data packets among the K data packets in the order of increasing priority of the data packets, and then allocates resources in the first resource. Thus, the data packet with the largest CAPC among the K data packets is carried on the first resource. The data packets carried on the first resource include the M data packets.
[0593] The order in which the priorities of the data packets are increasing includes: the order in which the priorities of the data packets are increasing and the CAPC of the data packets are increasing, or the order in which the priorities of the data packets are increasing and the CAPC of the data packets are decreasing.
[0594] The order of increasing the priority of the data packet and increasing the CAPC of the data packet includes: firstly increasing the priority of the data packet and then increasing the CAPC of the data packet, or firstly increasing the CAPC of the data packet and then increasing the priority of the data packet.
[0595] The order of increasing the priority of the data packet and decreasing the CAPC of the data packet includes: firstly increasing the priority of the data packet and then decreasing the CAPC of the data packet, or firstly decreasing the CAPC of the data packet and then increasing the priority of the data packet.
[0596] For example, before the first communication device performs the LCP process, the first communication device has K=5 data packets to be sent, which are a data packet with CAPC=1 and P=1, a data packet with CAPC=1 and P=3, a data packet with CAPC=1 and P=5, a data packet with CAPC=2 and P=2, and a data packet with CAPC=3 and P=6. The first communication device performs the LCP process on the K=5 data packets.
[0597] For example, Fig.12 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are all 1, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0598] In any of the above examples, the first communication device first determines the data packet with the largest CAPC among the five data packets, that is, the data packet with P=6 and CAPC=3, and carries it in the first resource. The first communication device allocates resources in the first resource to the data packet. The first communication device then allocates resources in the second resource to the data packet with the smallest priority value P=1 and CAPC=1 in the ascending order of the priority values of the data packets, and then allocates resources in the second resource to the data packet with the second smallest priority value P=2 and CAPC=2. Then, resources in the second resource are allocated to the data packet with P=3 and CAPC=1. After the resources in the second resource are allocated, the first communication device continues to allocate resources in the first resource to the data packet with P=5 and CAPC=1 in the descending order of the priority value. At this point, all five data packets are allocated resources. In this way, the data packet with the largest CAPC can be allocated resources in the first resource, which can reduce the situation where other communication devices cannot share COT for transmission and improve resource utilization.
[0599] In another example, the first communication device determines M data packets among K data packets, including: the first communication device allocates resources from the third resource and the fourth resource to the data packets in the K data packets respectively. After the resources are allocated, the sideline information carried on the third resource is the Ath sideline information, and the CAPC of the Ath sideline information is the Ath value; the sideline information carried on the fourth resource is the Bth sideline information, and the CAPC of the Bth sideline information is the Bth value. The resource where the sideline information corresponding to the maximum value of the Ath value and the Bth value is located is the first resource; the resource where the sideline information corresponding to the smaller value of the Ath value and the Bth value is located is the second resource. Among them, the data packets included in the sideline information corresponding to the maximum value of the Ath value and the Bth value are the M data packets.
[0600] That is, if the Ath value is greater than or equal to the Bth value, the third resource is the first resource, the first resource carries the Ath side information, and the fourth resource is the second resource, the second resource carries the Bth side information. If the Ath value is less than the Bth value, the fourth resource is the first resource, the first resource carries the Bth side information, and the third resource is the second resource, the second resource carries the Ath side information.
[0601] For example, before the first communication device performs the LCP process, the first communication device has K=5 data packets to be sent, which are a data packet with CAPC=1 and P=1, a data packet with CAPC=1 and P=3, a data packet with CAPC=1 and P=5, a data packet with CAPC=2 and P=2, and a data packet with CAPC=3 and P=6. The first communication device performs the LCP process on the K=5 data packets.
[0602] For example, Fig.12 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are all 1, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0603] In any of the above examples, the first communication device allocates resources on the third resource and the fourth resource for the K=5 data packets. The first communication device allocates the third resource to the data packets with P=1 and CAPC=1, P=2 and CAPC=2, and P=3 and CAPC=1 in the order of increasing priority values, and the CAPC of the Ath side line information carried on the third resource is the Ath value=2. The first communication device allocates the fourth resource to the data packets with P=5 and CAPC=1, P=6 and CAPC=3, and the CAPC of the Bth side line information carried on the fourth resource is the Bth value=3. Since the Bth value is greater than the Ath value, the fourth resource where the Bth side line information corresponding to the Bth value is located is the first resource, and the third resource where the Ath side line information corresponding to the Ath value is located is the second resource. Among them, the data packets with P=5 and CAPC=1, P=6 and CAPC=3 are M data packets. In this way, the data packet with the largest CAPC can be allocated resources in the first resource, which can reduce the situation where other communication devices cannot share COT for transmission and improve resource utilization.
[0604] In another example, the first communication device determines M data packets among K data packets, including: the first communication device first allocates resources in the second resources to the data packets among the K data packets in ascending order of CAPC and then in descending order of priority values of the data packets, and then allocates resources in the first resources.
[0605] For example, before the first communication device performs the LCP process, the first communication device has K = 5 data packets to be sent, which are a data packet with P = 1 and CAPC = 1, a data packet with P = 2 and CAPC = 2, a data packet with P = 3 and CAPC = 1, a data packet with P = 5 and CAPC = 1, and a data packet with P = 6 and CAPC = 3. The first communication device performs the LCP process on K = 5 data packets.
[0606] For example, Fig.13 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are all 1, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0607] In any of the above examples, the first communication device first allocates resources in the second resource to the data packet with the smallest CAPC among the five data packets in the order of increasing CAPC, wherein the smallest CAPC is CAPC=1, and the five data packets include three data packets with CAPC=1. Then the first communication device allocates resources in the second resource to the data packets with P=5 and CAPC=1, the data packets with P=3 and CAPC=1, and the data packets with P=1 and CAPC=1 in descending order of priority value. After the resources in the second resource are allocated, the first communication device allocates resources in the first resource to the data packets with P=2 and CAPC=2, and the data packets with P=6 and CAPC=3 in the order of increasing CAPC. In this way, the data packet with the largest CAPC can be allocated resources in the first resource, which can reduce the situation where other communication devices cannot share COT for transmission and improve resource utilization.
[0608] In another example, the first communication device determines M data packets among K data packets, including: the first communication device first allocates resources in the second resources to the data packets among the K data packets in ascending order of CAPC, and then in ascending order of priority values of the data packets, and then allocates resources in the first resources.
[0609] For example, before the first communication device performs the LCP process, the first communication device has K = 5 data packets to be sent, which are a data packet with P = 1 and CAPC = 1, a data packet with P = 2 and CAPC = 2, a data packet with P = 3 and CAPC = 1, a data packet with P = 5 and CAPC = 1, and a data packet with P = 6 and CAPC = 3. The first communication device performs the LCP process on K = 5 data packets.
[0610] For example, Fig.14 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are all 1, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0611] In any of the above examples, the first communication device first allocates resources in the second resource to the data packet with the smallest CAPC among the five data packets in the order of increasing CAPC, wherein the smallest CAPC is CAPC=1, and the five data packets include three data packets with CAPC=1. Then, the first communication device allocates resources in the second resource to the data packets with P=1 and CAPC=1, the data packets with P=3 and CAPC=1, and the data packets with P=5 and CAPC=1 in the order of increasing priority values. After the resources in the second resource are allocated, the first communication device allocates resources in the first resource to the data packets with P=2 and CAPC=2, and the data packets with P=6 and CAPC=3 in the order of increasing CAPC. In this way, the data packet with the largest CAPC can be allocated resources in the first resource, which can reduce the situation where other communication devices cannot share COT for transmission and improve resource utilization.
[0612] In another example, the first communication device determines M data packets among K data packets, including: the first communication device determines that data packets among L new data packets whose CAPC is greater than or equal to the first CAPC are carried on the first resource, and data packets among the L new data packets whose CAPC is less than the first CAPC are carried on the second resource, and the first communication device first allocates resources in the first resource and then allocates resources in the second resource to the data packets among the K data packets in ascending order of priority of the data packets.
[0613] For example, before the first communication device performs the LCP process, the first communication device has K = 5 data packets to be sent, which are a data packet with P = 1 and CAPC = 1, a data packet with P = 2 and CAPC = 2, a data packet with P = 5 and CAPC = 1, a data packet with P = 2 and CAPC = 2, and a data packet with P = 6 and CAPC = 3. The first communication device performs the LCP process on K = 5 data packets.
[0614] For example, Fig.15 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are 1, 2, and 1 respectively, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0615] In any of the above examples, if the first CAPC is the CAPC of the second side information, that is, the first CAPC is 2, the first communication device compares the CAPC of the two new data packets with the size of the first CAPC, and determines that the CAPC of the data packet with P=6 and CAPC=3 in the two new data packets is greater than the first CAPC, then the data packet is carried in the first resource, and the CAPC of the data packet with P=2 and CAPC=2 in the two new data packets is less than the first CAPC, then the data packet is carried in the second resource. The first communication device allocates resources in the first resource to the five data packets in the order of increasing priority of the data packets, and then allocates resources in the second resource. Then the first communication device allocates resources in the first resource to the data packet with P=1 and CAPC=1, the data packet with P=2 and CAPC=2, and the data packet with P=6 and CAPC=3 in turn, and then allocates resources in the second resource to the data packet with P=2 and CAPC=2 and the data packet with P=5 and CAPC=1 in turn. In this way, the data packet with the largest CAPC can be allocated resources in the first resource, which can reduce the situation where other communication devices cannot share COT for transmission and improve resource utilization.
[0616] In another example, the first communication device determines M data packets among K data packets, including: the first communication device determines that data packets among the K data packets whose CAPC is greater than or equal to the first CAPC are carried on the first resource, and data packets among the K data packets whose CAPC is less than the first CAPC are carried on the second resource, and the first communication device first allocates resources in the first resource and then allocates resources in the second resource to the data packets among the K data packets in ascending order of priority of the data packets.
[0617] For example, before the first communication device performs the LCP process, the first communication device has K=5 data packets to be sent, which are a data packet with P=1 and CAPC=1, a data packet with P=2 and CAPC=2, a data packet with P=5 and CAPC=1, a data packet with P=2 and CAPC=2, and a data packet with P=6 and CAPC=3. The first communication device performs the LCP process on K=5 data packets. If the first CAPC is the CAPC of the second side information, that is, the first CAPC is 2, the first communication device compares the CAPC of the 5 new data packets with the size of the first CAPC, and determines that the CAPC of the data packet with P=2 and CAPC=2, the data packet with P=2 and CAPC=2, and the data packet with P=6 and CAPC=3 is greater than the first CAPC, then the data packet is carried in the first resource. If the CAPC of the data packet with P=1 and CAPC=1 and the data packet with P=5 and CAPC=1 is less than the first CAPC, then the data packet is carried in the second resource. In this way, the largest CAPC data packet can be allocated resources in the first resource, which can reduce the situation where other communication devices cannot share COT for transmission, thereby improving resource utilization.
[0618] In another implementation manner, the M data packets determined by the first communication device include a data packet having the largest CAPC among the N data packets included in the second sidelink information.
[0619] The data packet with the largest CAPC among the N data packets can also be understood as: the data packet with the largest CAPC among the N data packets. The data packet with the largest CAPC can be a data packet among the N data packets, or a data packet among the K data packets except the N data packets (that is, it can be a data packet among the L data packets).
[0620] Several examples of this implementation are introduced below. The following examples can be implemented individually or in combination.
[0621] In one example, a first communication device determines M data packets among K data packets, including: the first communication device allocates resources from the first resources to the data packets among the N data packets in ascending order of priority values of the data packets, and then allocates resources from the second resources to the data packets among the L new data packets whose CAPC is less than or equal to the first CAPC, wherein the second resources are resources in time units other than the first time unit in the COT to which the first resources belong.
[0622] For example, before the first communication device performs the LCP process, the first communication device has K = 5 data packets to be sent, which are a data packet with P = 1 and CAPC = 1, a data packet with P = 2 and CAPC = 2, a data packet with P = 5 and CAPC = 1, a data packet with P = 2 and CAPC = 2, and a data packet with P = 6 and CAPC = 3. The first communication device performs the LCP process on K = 5 data packets.
[0623] For example, Fig.16 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are 1, 2, and 1 respectively, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0624] In any of the above examples, the first communication device first allocates resources from the first resource to the three data packets included in the second side information in the ascending order of the priority values of the data packets, namely, the data packet with P=1 and CAPC=1, the data packet with P=3 and CAPC=1, and the data packet with P=5 and CAPC=1. If the first CAPC is the CAPC of the second side information, that is, CAPC=2, the first communication device then determines whether the two new data packets include a data packet with CAPC less than or equal to 2, wherein the new data packet includes a data packet with CAPC=2, then the first communication device allocates resources from the second resource to the data packet, such as the second resource is the resource in the second time unit in the COT. If the new data packet also includes a data packet with P=6 and CAPC=3, since the CAPC of the data packet is greater than the CAPC of the second side information, the first communication device does not allocate resources to the data packet. In this way, the CAPC of the data packet carried by the first time unit in the initial COT of the first communication device is not less than the CAPC of the data packet that triggers resource selection, and the CAPC of the data packet transmitted on the second resource thereafter is not greater than the data packet in the first time unit. This can reduce the situation where other communication devices cannot share the COT for transmission, thereby improving resource utilization.
[0625] In one example, a first communication device determines M data packets among K data packets, including: the first communication device allocates resources from the first resource to the data packets among the N data packets in ascending order of priority values of the data packets, and then allocates resources from the second resource to the data packets among the K new data packets that have not been allocated resources (i.e., except the data packets that have been allocated resources among the first resource) and whose CAPC is less than or equal to the first CAPC, wherein the second resource is a resource in a time unit other than the first time unit in the COT to which the first resource belongs.
[0626] For example Fig.16 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are 1, 2, and 1 respectively, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0627] The first communication device first allocates resources from the first resource to the three data packets included in the second side information, namely, the data packet with P=1 and CAPC=1, the data packet with P=3 and CAPC=1, and the data packet with P=5 and CAPC=1, in the ascending order of the priority values of the data packets. If the first CAPC is the CAPC of the second side information, that is, CAPC=2, the first communication device then determines whether the two new data packets to which resources have not been allocated among the five data packets include data packets with CAPC less than or equal to 2, wherein the new data packets include a data packet with CAPC=2, then the first communication device allocates resources from the second resource to the data packet, such as the second resource is the resource in the second time unit in the COT. If the new data packets also include a data packet with P=6 and CAPC=3, since the CAPC of the data packet is greater than the CAPC of the second side information, the first communication device does not allocate resources to the data packet. In this way, the CAPC of the data packet carried by the first time unit in the initial COT of the first communication device is not less than the CAPC of the data packet that triggers resource selection, and the CAPC of the data packet transmitted on the second resource thereafter is not greater than the data packet in the first time unit. This can reduce the situation where other communication devices cannot share the COT for transmission, thereby improving resource utilization.
[0628] In another example, the first communication device determines M data packets from K data packets, including: the first communication device allocates resources from the first resources first and then resources from the second resources to the data packets whose CAPC is less than or equal to the first CAPC among the N data packets and the L new data packets, in the order of decreasing CAPC first and then increasing priority of the data packets.
[0629] For example, before the first communication device performs the LCP process, the first communication device has K = 5 data packets to be sent, which are a data packet with P = 1 and CAPC = 1, a data packet with P = 2 and CAPC = 2, a data packet with P = 5 and CAPC = 1, a data packet with P = 2 and CAPC = 2, and a data packet with P = 6 and CAPC = 3. The first communication device performs the LCP process on K = 5 data packets.
[0630] For example, Fig.17 As shown, the second side information includes 3 data packets, namely N=3, the priority values of the 3 data packets are 1, 3, and 5 respectively, and the corresponding CAPCs are 1, 2, and 1 respectively, and the CAPC corresponding to the second side information is 1. The first communication device triggers resource selection (triggering LBT) based on the second side information. Before the first communication device executes the LCP process, the first communication device obtains 2 new data packets, namely L=2, the priority values of the 2 new data packets are 2 and 6 respectively, and the corresponding CAPCs are 2 and 3 respectively.
[0631] In any of the above examples, if the first CAPC is the CAPC of the second side information, that is, the first CAPC is 2, the first communication device determines the data packets whose CAPC is less than or equal to the first CAPC among the L new data packets, that is, the new data packets with P=2 and CAPC=2, and the first communication device allocates resources in the first resource first for the three data packets in the second side information and the new data packet with CAPC equal to the first CAPC in the order of decreasing CAPC first and then increasing priority of the data packets, that is, the data packets with P=2 and CAPC=2 in the second side information, the data packets with P=2 and CAPC=2, and the data packets with P=1 and CAPC=1 in the second side information are allocated resources in the first resource in sequence, and the data packets with P=5 and CAPC=1 are allocated resources in the second resource. The new data packet with P=6 and CAPC=3 is not allocated resources. This method ensures that the CAPC of the data packet carried in the first time unit in the initial COT of the first communication device is not less than the CAPC of the data packet that triggers resource selection, and the CAPC of the data packet subsequently transmitted on the second resource is not greater than the data packet in the first time unit. This can reduce the situation where other communication devices cannot share the COT for transmission, thereby improving resource utilization.
[0632] S702: The first communication device sends first sidelink information on a first resource, where the first sidelink information includes the M data packets.
[0633] Optionally, the first communication device sends a third side information on the second resource, and the third side information includes data packets in the K data packets except M data packets. Specifically, the data packets included in the third side information are data packets of resources that are allocated the second resource by the first communication device among the K data packets, which can be determined based on the description in the foregoing text and will not be repeated here.
[0634] According to the above scheme, before executing the LCP process, the first communication device obtains a new data packet, and the first communication device can determine the data packet with a larger CAPC (such as the data packet with the largest CAPC among the K data packets or the data packet with the largest CAPC in the second side information) among the available data packets (i.e., K data packets) to be carried on the first resource, so that the arrival of the new data packet does not reduce the CAPC of the data packet in the first time unit of the initial COT of the first communication device, which can reduce the situation where other communication devices cannot share the COT for transmission, improve resource utilization, and improve the transmission efficiency of the system.
[0635] Fig.18 is a schematic flow chart of a data transmission method 1800 provided in an embodiment of the present application. The method 1800 includes but is not limited to the following steps S1801 and S1802. It should be noted that: Fig.18 In the embodiment shown Figure 6 , Figure 7 The same parts in the embodiments shown can be referred to in Figure 6 , Figure 7 The description in the illustrated embodiment will not be repeated here for the sake of brevity.
[0636] S1801: A first communication device determines, among K data packets, data packets carried on first resources and second resources, respectively.
[0637] The first resource belongs to the xth time unit in the initial COT of the first communication device. Where x is a positive integer, for example, x=1. The second resource is a resource on the yth time unit in the COT. y is an integer greater than 1, for example, y=2. The second resource can be a resource on a time unit or multiple resources on multiple time units. That is, the second resource is located after the first resource in time.
[0638] The first communication device obtains K data packets before LCP, and the first communication device can allocate resources from the first resource and the second resource to data packets in the K data packets through the LCP process.
[0639] The first side information, the second side information, the third side information, the K data packets, the M data packets, and the L data packets are described in detail in Figure 6 , Figure 7 The description of the method will not be repeated here.
[0640] In one implementation, the time unit to which the first resource belongs and the time unit to which the second resource belongs are continuous time units. That is, the first resource and the second resource are respectively located in continuous time units. That is, y=x+1.
[0641] It can be understood that the first resource and the second resource can be determined in the same SL process. For example, the first resource and the second resource can be obtained by executing resource selection in the same SL process.
[0642] In one implementation, the first resource and the second resource may belong to the same multi-time unit candidate resource, and the multi-time unit candidate resource includes a plurality of consecutive time units.
[0643] For example, the time unit may be a time slot, a mini-slot, a subframe or a frame. If the time unit is a time slot, the multi-time unit candidate resource may be referred to as a candidate multi-slot resource or a multi-slot candidate resource.
[0644] Optionally, the multi-time unit candidate resource is determined based on the second sideline information. For example, the multi-time unit candidate resource is obtained by performing resource selection based on parameters (such as priority and / or CAPC) of the second sideline information.
[0645] The multi-time unit candidate resources including the first resource and the second resource are determined in a side process. For example, the multi-time unit candidate resources including the first resource and the second resource are obtained by executing resource selection in a side process.
[0646] The multiple time unit candidate resources may include multiple second resources, or in other words, the second resources may include resources of multiple time units, and the time unit where the first resource is located is continuous with the time unit included in the second resource.
[0647] Optionally, the first resource carries the first sideline information, and the second resource carries the third sideline information, wherein the third sideline information is the sideline information transmitted continuously by the first communication device after the first sideline information.
[0648] Optionally, the source ID of the first side information is the same as the source ID of the second side information, and / or the destination ID of the first side information is the same as the destination ID of the second side information.
[0649] That is, if the source ID and / or the destination ID of one sidelink information is the same as that of the second sidelink information, the first communication device may allocate resources obtained by performing resource selection based on the parameters of the second sidelink information to the sidelink information.
[0650] For example, the second resource includes 1 time unit, then when allocating resources on the second resource to data packets, data packets with the same source ID as the first side information are allocated, and / or data packets with the same destination ID as the first side information are allocated.
[0651] For another example, if the second resource includes multiple time units, when allocating resources on the second resource to data packets, data packets with the same source ID as the first side information are allocated first, and / or data packets with the same destination ID as the first side information are allocated first, and data packets with different source IDs from the first side information are allocated second, and / or data packets with different destination IDs from the first side information are allocated second.
[0652] The multi-time unit candidate resources determined in a side-line process may include resources of A time units, where A is an integer greater than or equal to 1. Specifically, the value range of A and how to determine the value of A can refer to the description in the previous text and will not be repeated here. In one embodiment, the first communication device determines the data packets respectively carried on the first resource and the second resource in K data packets, including: the first communication device determines the data packets carried by the first side-line information sent on the first resource in the K data packets. And, the first communication device determines, among the remaining data packets in the K data packets, the data packets whose CAPC carried in the third side-line information sent on the second resource is less than or equal to the first CAPC. The remaining data packets refer to the data packets remaining in the K data packets except the data packets allocated to the first resource.
[0653] Among them, the first CAPC can refer to the previous article Figure 6 , Figure 7 At least one of the methods 1 to 8 introduced in the illustrated embodiment will not be described in detail here for the sake of brevity.
[0654] In one example, for L new data packets among the K data packets acquired by the first communication device, the first communication device determines the new data packets whose CAPC is less than or equal to the first CAPC among the L new data packets, and allocates resources in the second resource to them. That is, the third sidelink information sent by the first communication device on the second resource includes the new data packets whose CAPC is less than or equal to the first CAPC among the L new data packets.
[0655] In another example, for the K data packets acquired by the first communication device, the first communication device determines the data packets whose CAPC is less than or equal to the first CAPC among the K data packets, and allocates resources in the second resource to the data packets. That is, the third sidelink information sent by the first communication device on the second resource includes the data packets whose CAPC is less than or equal to the first CAPC among the K data packets.
[0656] The method for the first communication device to determine to allocate resources in the second resource to a data packet whose CAPC is less than or equal to the first CAPC among the K data packets includes but is not limited to at least any one of the following methods 1 to 4:
[0657] Mode 1: In the LCP process, the first communication device sets the SB of the data packets whose CAPC is greater than or equal to the first CAPC among the K data packets to 0, and then allocates resources in the second resource to the data packets whose SB is greater than 0 among the remaining data packets.
[0658] That is, in the LCP process, the first communication device sets the SB of the data packets whose CAPC is less than or equal to the first CAPC in the remaining data packets to a value greater than 0.
[0659] Mode 2: When selecting a data packet, the first communication device selects a data packet whose CAPC is less than or equal to the first CAPC from among the remaining data packets.
[0660] That is, the first communication device does not select a data packet whose CAPC is greater than or equal to the first CAPC among the remaining data packets.
[0661] The remaining data packets refer to the remaining data packets among the K data packets except the data packets allocated to the first resource.
[0662] Mode 3: When allocating SL authorized resources to data packets, the first communication device allocates resources in the second resources to the remaining data packets whose SB is greater than 0 and whose CAPC is less than or equal to the first CAPC in ascending order of the priority values of the data packets.
[0663] That is to say, when the first communication device allocates SL authorized resources to a data packet, for a data packet whose CAPC is greater than the first CAPC, no resources in the second resources are allocated to the data packet.
[0664] The remaining data packets refer to the remaining data packets among the K data packets except the data packets allocated to the first resource.
[0665] Mode 4: When allocating SL authorized resources to data packets, the first communication device allocates resources in the second resources to the data packets whose SB is greater than 0 and whose CAPC is less than or equal to the first CAPC in the remaining data packets in the ascending order of the priority values of the data packets. After the first communication device has allocated resources to all the data packets whose SB is greater than 0 and whose CAPC is less than or equal to the first CAPC in the remaining data packets, if there are still remaining resources in the second resources, the first communication device allocates resources in the second resources to the data packets in the remaining data packets that have not been allocated resources and whose CAPC is less than or equal to the first CAPC in the ascending order of the priority values of the data packets.
[0666] The remaining data packets refer to the remaining data packets among the K data packets except the data packets allocated to the first resource.
[0667] The above methods can be combined, for example, method 1 is combined with method 2, or method 1 is combined with method 3, or method 1 is combined with method 4.
[0668] That is to say, when the first communication device allocates SL authorized resources to a data packet, for a data packet whose CAPC is greater than the first CAPC, no resources in the second resources are allocated to the data packet.
[0669] S1802, the first communication device sends first side information and third side information on the first resource and the second resource respectively, the first side information includes at least one data packet among K data packets, and the third side information includes data packets among the K data packets whose CAPC is less than or equal to the first CAPC.
[0670] For example, taking the first CAPC as the CAPC of the data packet that triggers the first communication device to perform resource selection, the first communication device determines that the CAPC of the data packet contained in the third side information is less than or equal to the CAPC of the data packet that triggers the first communication device to perform resource selection, so that the first communication device can share the resources in the initial COT of the first communication device and continuously transmit the third side information within the time unit after the first time unit.
[0671] According to the above solution, the situation where the first communication device cannot transmit continuously in its initial COT can be reduced, resource utilization can be improved, and the transmission efficiency of the system can be improved.
[0672] The present application also provides another solution, in which the first communication device obtains L new data packets before executing the LCP process. If the first communication device determines among the K data packets that the CAPC of the M data packets carried on the first resource is inconsistent with the CAPC of the second side information, the first communication device sends COT indication information, and the COT indication information is used to indicate that the CAPC of the data packet carried by the first resource (i.e., the CAPC of the first side information) is inconsistent with the CAPC of the second side information, such as specifically indicating that the CAPC of the first side information is greater than, less than or equal to the CAPC of the second side information. So that the receiving end device of the COT indication information can determine whether the COT can be shared for transmission.
[0673] An embodiment of the present application also provides a solution, in which the first communication device obtains L new data packets before executing the LCP process, and the first communication device determines whether to allocate resources in the first resource to the new data packets based on the data size of the new data packets in the L new data packets.
[0674] Exemplarily, if the data volume of a new data packet among the L new data packets is less than or equal to the data volume threshold, the first communication device allocates a resource in the first resource to the new data packet.
[0675] If the data volume of a new data packet in the L new data packets is greater than the data volume threshold, the first communication device does not allocate resources in the first resource to the new data packet. Optionally, if the data volume of a new data packet in the L new data packets is greater than the data volume threshold, the first communication device allocates resources in the second resource to the new data packet.
[0676] Optionally, the data volume threshold may be predefined, or may be determined according to the priority value and / or CBR of the data packet. Alternatively, the data volume threshold is related to the number of subchannels contained in the first resource and / or the number of physical resource blocks (PRBs) contained in the first resource; or, the data volume threshold is related to the number of subchannels of the first resource, the number of subchannels of the second resource, and / or the number of PRBs contained in the first resource, the number of PRBs contained in the second resource.
[0677] Exemplarily, if the total data volume of the K data packets is less than or equal to the data volume threshold, the first communication device allocates resources in the first resources to the K data packets.
[0678] Optionally, if the total data volume of the K data packets is greater than a data volume threshold, the first communication device allocates a resource from the first resource and the second resource to a data packet in the K data packets. The data volume threshold is described above.
[0679] Exemplarily, if the total data volume of the data packets satisfying the following conditions among the K data packets is less than or equal to the data volume threshold, the first communication device allocates resources in the first resource to the data packets satisfying the conditions. The condition may include but is not limited to at least one of the following:
[0680] The SB of the data packet is greater than 0, the CAPC corresponding to the data packet is greater than or equal to the first CAPC, the HARQ attribute of the data packet is the same as the HARQ attribute of the data packet with a small priority value among the K data packets, and the destination information of the data packet is the same as the destination information of the data packet with a small priority value among the K data packets.
[0681] Among them, the HARQ attributes include two attributes: HARQ enable and HARQ disable.
[0682] Optionally, if the total amount of data packets in the K data packets that meet the above conditions is greater than a data amount threshold, the first communication device allocates resources from the first resource and the second resource to the data packets in the K data packets. The data amount threshold is described above.
[0683] An embodiment of the present application also provides a solution, whereby the first communication device obtains L new data packets before executing the LCP process, and the first communication device determines whether to allocate resources in the first resource to the new data packet based on the modulation order of the data carried on the first resource after the new data packet in the L new data packets is allocated resources in the first resource.
[0684] Exemplarily, if after the first communication device allocates resources in the first resource to a new data packet, the modulation order of the data carried on the first resource is less than or equal to the modulation order threshold, the first communication device allocates resources in the first resource to the new data packet.
[0685] If the modulation order of the data carried on the first resource is greater than the modulation order threshold after the first communication device allocates resources from the first resource to a new data packet, the first communication device does not allocate resources from the first resource to the new data packet. Alternatively, if the modulation order of the data carried on the first resource is greater than the modulation order threshold after the first communication device allocates resources from the first resource to a new data packet, the first communication device allocates resources from the second resource to the new data packet.
[0686] An embodiment of the present application also provides a solution in which different CAPCs correspond to different sPBRs and / or sBSDs, and the first communication device can determine the sPBR and / or sBSD of the data packet according to the CAPC corresponding to the data packet and the priority value of the data packet.
[0687] It should be noted that Figure 6 , Figure 7 and Fig.18The illustrated embodiments may be implemented individually or in combination with each other in part or in whole. Any technician familiar with the technical field may easily conceive of changes or substitutions within the technical scope disclosed in this application, which should be included in the protection scope of this application.
[0688] It is understandable that, in order to implement the functions in the above embodiments, the first communication device / the second communication device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.
[0689] Fig.19 and Fig. 20 The following is a schematic diagram of the structure of possible communication devices provided in the embodiments of the present application. These communication devices can be used to implement the functions of the first communication device and / or in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments. In the embodiments of the present application, the communication device can be a communication device or configured in a communication device, and the communication device can be such as Figure 1 The terminals 120a-120j shown in the figure may also be terminals such as Figure 1 The communication device in the network device 110a or 110b shown in the figure may also be a module (such as a chip or a chip system) applied to a terminal or a network device.
[0690] The communication device 1900 includes a transceiver unit 1920, which can be used to receive or send information. The communication device 1900 may also include a processing unit 1910, which can be used to process instructions or data to implement corresponding operations.
[0691] It should be understood that when the communication device 1900 is a chip configured in (or used in) a communication device, the transceiver unit 1920 in the communication device 1900 can be an input / output interface or circuit of the chip, and the processing unit 1910 in the communication device 1900 can be a processor in the chip.
[0692] Optionally, the communication device 1900 may further include a storage unit 1930, which may be used to store instructions or data, and the processing unit 1910 may execute the instructions or data stored in the storage unit to enable the communication device to implement corresponding operations.
[0693] The communication device 1900 can be used to implement the above Figure 6 , Figure 7 or Fig.18 The functions of the first communication device or the second communication device in the method embodiment shown in FIG.
[0694] When the communication device 1900 is used to implement Figure 6 When the function of the first communication device in the method embodiment shown is: the processing unit 1910 is used to determine M data packets among K data packets, K and M are positive integers, and M≤K. The transceiver unit 1920 is used to send a first side information on a first resource, and the first side information includes the M data packets. Among them, the K data packets include N data packets in the second side information, and the second side information is the side information that triggers the first communication device to perform resource selection or triggers the first communication device to perform channel idle detection LBT, N is a positive integer, and N<K. The channel access priority value CAPC corresponding to at least one data packet among the M data packets is greater than or equal to the first CAPC; and / or the priority value of a data packet among the M data packets is less than or equal to the first priority threshold.
[0695] When the communication device 1900 is used to implement Figure 7 When the function of the first communication device in the method embodiment shown is: the processing unit 1910 is used to determine M data packets among K data packets, K and M are positive integers, and M≤K. The transceiver unit 1920 is used to send a first side information on a first resource, and the first side information includes the M data packets. Among them, the K data packets include N data packets in the second side information, and the second side information is the side information that triggers the first communication device to perform resource selection or triggers the first communication device to perform channel idle detection LBT, N is a positive integer, and K>N. The first side information includes the data packet with the largest channel access priority value CAPC among the K data packets, or the first side information includes the data packet with the largest CAPC among the N data packets.
[0696] When the communication device 1900 is used to implement Fig.18 The functions of the first communication device in the method embodiment shown are: a processing unit 1910, configured to determine the data packets carried on the first resource and the second resource respectively among the K data packets. A transceiver unit 1920, configured to send first side information and third side information on the first resource and the second resource respectively, the first side information including at least one data packet among the K data packets, the second resource being located after the first resource in time, and the second side information including data packets having a channel access priority value CAPC less than or equal to the first CAPC among the K data packets.
[0697] For more detailed description of the processing unit 1910 and the transceiver unit 1920, please refer to Figure 6 , Figure 7 , Fig.18 The method embodiment shown is described in detail.
[0698] It should be understood that the transceiver unit 1920 in the communication device 1900 can be implemented through a communication interface (such as a transceiver, a transceiver circuit, an input / output interface, or a pin, etc.). When the communication interface is a transceiver, the transceiver can be composed of a receiver and / or a transmitter. The processing unit 1910 in the communication device 1900 can be implemented by at least one processor, and the processing unit 1910 in the communication device 1900 can also be implemented by at least one logic circuit. Optionally, the communication device 1900 also includes a storage unit, which can be implemented by a memory.
[0699] like Fig. 20 As shown, the communication device 2000 includes a processor 2010 and an interface circuit 2020. The processor 2010 and the interface circuit 2020 are coupled to each other. It is understood that the interface circuit 2020 can be a transceiver or an input-output interface. Optionally, the communication device 2000 may also include a memory 2030 for storing instructions executed by the processor 2010 or storing input data required by the processor 2010 to execute instructions or storing data generated after the processor 2010 executes instructions.
[0700] In one implementation, the memory 2030 may also be integrated into the processor 2010 or independent of the processor 2010 .
[0701] When the communication device 2000 is used to implement Figure 6 , Figure 7 , Fig.18 When the method is shown, the processor 2010 is used to implement the functions of the above-mentioned processing unit 1910, and the interface circuit 2020 is used to implement the functions of the above-mentioned transceiver unit 1920.
[0702] When the above communication device is a chip applied to a terminal, the terminal chip can implement the function of the first communication device in the above method embodiment. The terminal chip receives information from other modules (such as a radio frequency module or an antenna) in the terminal, and the information is sent to the terminal by other communication devices (such as other terminals or network devices); or the terminal chip sends information to other modules (such as a radio frequency module or an antenna) in the terminal, and the information is sent by the terminal to other communication devices (such as other terminals or network devices).
[0703] It is understandable that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.
[0704] The method steps in the embodiments of the present application can be implemented in hardware or in software instructions that can be executed by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, register, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. The storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in an access network device or a terminal. The processor and the storage medium can also be present in an access network device or a terminal as discrete components.
[0705] According to the method provided in the embodiment of the application, the embodiment of the application also provides a computer program product, which includes: computer program code, when the computer program code is executed by one or more processors, the device including the processor executes as follows Figure 6 , Figure 7 , Fig.18 The method shown.
[0706] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using 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 programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device.
[0707] According to the method provided in the embodiment of the present application, the embodiment of the present application also provides a computer-readable storage medium, which stores the above-mentioned computer program or instruction. When the computer program or instruction is executed by one or more processors, the device including the processor executes the following Figure 6 , Figure 7 , Fig.18 The method shown.
[0708] As described above, the computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instruction may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disc; it may also be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0709] According to the method provided in the embodiment of the present application, the embodiment of the present application also provides a communication system, including the one or more first communication devices mentioned above. The system may further include the one or more second communication devices mentioned above.
[0710] In the several provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the devices described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0711] 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, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of this solution.
[0712] In the various embodiments of the present application, unless otherwise specified or provided in a logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.
[0713] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A data transmission method, characterized in that: include: Determine M data packets from K data packets, where K and M are positive integers and M≤K; Sending first sideline information on a first resource, wherein the first sideline information includes the M data packets; The K data packets include N data packets in the second side information, the second side information is the side information that triggers the first communication device to perform resource selection or triggers the first communication device to perform channel idle detection LBT, N is a positive integer, and N<K, The channel access priority value CAPC corresponding to at least one of the M data packets is greater than or equal to the first CAPC; and / or, The priority value of a data packet in the M data packets is less than or equal to a first priority threshold.
2. The method according to claim 1, characterized in that The K data packets include data packets acquired after the N data packets.
3. The method according to claim 1 or 2, characterized in that: The first CAPC is the maximum CAPC among the CAPCs corresponding to the data packets included in the second sideline information; or, The first CAPC is the CAPC adopted by the first communication device to perform LBT; or, The first CAPC is the CAPC used by the first communication device to perform LBT and successfully occupy a channel; or, The first CAPC is the maximum CAPC among the CAPCs of P side information transmitted by the second communication device, the P side information is transmitted within an initial channel occupancy time COT of the first communication device, the first resource belongs to the COT, and P is a positive integer; or, The first CAPC is preconfigured or predefined; The first CAPC is a same channel access priority threshold corresponding to any priority of the data packet; or, Different priorities of data packets correspond to different channel access priority thresholds, and the first CAPC is the channel access priority threshold corresponding to the priority of the corresponding data packet.
4. The method according to any one of claims 1 to 3, characterized in that The first priority threshold is a priority threshold corresponding to any CAPC of the data packet; or, Different CAPCs of the data packet correspond to different priority thresholds, and the first priority value is the priority threshold corresponding to the CAPC corresponding to the data packet.
5. The method according to any one of claims 1 to 4, characterized in that The first resource belongs to the first time unit in the initial COT of the first communication device, The first time unit carries a data packet whose CAPC is greater than or equal to the first CAPC among the K data packets; and / or, The second time unit in the COT carries a data packet whose CAPC is smaller than the first CAPC among the K data packets.
6. The method according to any one of claims 1 to 5, characterized in that The M data packets include a data packet whose HARQ attribute is a first HARQ attribute, and the first HARQ attribute is a HARQ attribute of a data packet with a minimum priority value among the N data packets.
7. The method according to claim 6, characterized in that If the minimum priority value among the priority values of the K data packets is smaller than the minimum priority value among the priority values of the N data packets, the HARQ attribute of the M data packets is the first HARQ attribute.
8. The method according to any one of claims 1 to 7, characterized in that The CAPC corresponding to the data packets in the M data packets is greater than or equal to the first CAPC; The first communication device determines M data packets from K data packets, including: After setting the token bucket SB of the data packets whose CAPC is less than or equal to the first CAPC in the logical channel prioritization LCP process to 0 among the K data packets, determining the M data packets; and / or, Determine M data packets having a CAPC greater than or equal to the first CAPC among the K data packets; and / or, In the LCP process, for the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the K data packets, resources in the first resources are allocated in ascending order of priority values of the data packets, wherein the M data packets are allocated to resources in the first resources; and / or, In the LCP process, for the data packets among the K data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC, resources in the first resources are allocated in ascending order of the priority values of the data packets; if there are remaining resources in the first resources, for the data packets among the K data packets to which resources are not allocated, resources in the first resources are allocated in ascending order of the priority values of the data packets, wherein the M data packets are allocated to resources in the first resources.
9. The method according to any one of claims 1 to 8, characterized in that The first side information includes a data packet having a maximum channel access priority value CAPC among the K data packets, or the first side information includes a data packet having a maximum CAPC among the N data packets.
10. The method according to claim 9, characterized in that The first resource belongs to the first time unit in the initial channel occupancy time COT of the first communication device, and the method further includes: sending a third sideline message on the second resource, Among them, the second resource belongs to the time unit other than the first time unit in the initial COT of the first communication device, the first sideline information and the third sideline information respectively carry data packets in the K data packets, and the CAPC of the first sideline information is greater than or equal to the CAPC of the third sideline information.
11. The method according to claim 10, characterized in that The method further comprises: Allocating the first resource to the data packets among the K data packets in the order of decreasing CAPC values of the data packets and increasing priority values of the data packets; and / or, The second resource is allocated to the data packets among the K data packets in the order of increasing CAPC of the data packets first and then increasing priority values of the data packets, and the second resource is a time unit in the COT except the first time unit.
12. The method according to claim 10 or 11, characterized in that: The first resource and the second resource belong to the same multi-time unit candidate resource, and the multi-time unit candidate resource includes resources of multiple consecutive time units.
13. The method according to claim 12, characterized in that The multi-time unit candidate resource is determined based on the second sidewalk information, and / or the multi-time unit candidate resource is determined in a sidewalk process.
14. The method according to any one of claims 10 to 13, characterized in that The time unit to which the first resource belongs and the time unit to which the second resource belongs are continuous time units.
15. The method according to claim 14, characterized in that The first resource and the second resource are determined in the same sideline process.
16. A data transmission device, characterized in that: include: A processing unit, used for determining M data packets from K data packets, where K and M are positive integers and M≤K; A transceiver unit, configured to send first sideline information on a first resource, wherein the first sideline information includes the M data packets; The K data packets include N data packets in the second side information, the second side information is the side information that triggers the first communication device to perform resource selection or triggers the first communication device to perform channel idle detection LBT, N is a positive integer, and N<K, The channel access priority value CAPC corresponding to at least one of the M data packets is greater than or equal to the first CAPC; and / or, The priority value of a data packet in the M data packets is less than or equal to a first priority threshold.
17. The device according to claim 16, characterized in that The K data packets include data packets acquired after the N data packets.
18. The device according to claim 16 or 17, characterized in that The first CAPC is the maximum CAPC among the CAPCs corresponding to the data packets included in the second sideline information; or, The first CAPC is the CAPC adopted by the first communication device to perform LBT; or, The first CAPC is the CAPC used by the first communication device to perform LBT and successfully occupy a channel; or, The first CAPC is the maximum CAPC among the CAPCs of P side information transmitted by the second communication device, the P side information is transmitted within an initial channel occupancy time COT of the first communication device, the first resource belongs to the COT, and P is a positive integer; or, The first CAPC is preconfigured or predefined; The first CAPC is a same channel access priority threshold corresponding to any priority of the data packet; or, Different priorities of data packets correspond to different channel access priority thresholds, and the first CAPC is the channel access priority threshold corresponding to the priority of the corresponding data packet.
19. The device according to any one of claims 16 to 18, characterized in that The first priority threshold is a priority threshold corresponding to any CAPC of the data packet; or, Different CAPCs of the data packet correspond to different priority thresholds, and the first priority value is the priority threshold corresponding to the CAPC corresponding to the data packet.
20. The device according to any one of claims 16 to 19, characterized in that The first resource belongs to the first time unit in the initial COT of the first communication device, The first time unit carries a data packet whose CAPC is greater than or equal to the first CAPC among the K data packets; and / or, The second time unit in the COT carries a data packet whose CAPC is smaller than the first CAPC among the K data packets.
21. The device according to any one of claims 16 to 20, characterized in that The M data packets include a data packet whose HARQ attribute is a first HARQ attribute, and the first HARQ attribute is a HARQ attribute of a data packet with a minimum priority value among the N data packets.
22. The device according to claim 21, characterized in that If the minimum priority value among the priority values of the K data packets is smaller than the minimum priority value among the priority values of the N data packets, the HARQ attribute of the M data packets is the first HARQ attribute.
23. The device according to any one of claims 16 to 22, characterized in that The CAPC corresponding to the data packet in the M data packets is greater than or equal to the first CAPC; the processing unit is specifically configured to: After setting the token bucket SB of the data packets whose CAPC is less than or equal to the first CAPC in the logical channel priority partitioning LCP process to 0, the M data packets are determined; and / or, Determine, among the K data packets, M data packets whose CAPC is greater than or equal to the first CAPC; and / or, In the LCP process, for the data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC among the K data packets, resources in the first resources are allocated in ascending order of priority values of the data packets, wherein the M data packets are allocated to resources in the first resources; and / or, In the LCP process, for the data packets among the K data packets whose SB is greater than 0 and whose CAPC is greater than or equal to the first CAPC, resources in the first resources are allocated in ascending order of the priority values of the data packets; if there are remaining resources in the first resources, for the data packets among the K data packets to which resources are not allocated, resources in the first resources are allocated in ascending order of the priority values of the data packets, wherein the M data packets are allocated to resources in the first resources.
24. The device according to any one of claims 16 to 23, characterized in that The first side information includes a data packet having a maximum channel access priority value CAPC among the K data packets, or the first side information includes a data packet having a maximum CAPC among the N data packets.
25. The device according to claim 24, characterized in that The first resource belongs to the first time unit in the initial channel occupancy time COT of the first communication device, The transceiver unit is further configured to send third sideline information on the second resource. Among them, the second resource belongs to the time unit other than the first time unit in the initial COT of the first communication device, the first sideline information and the third sideline information respectively carry data packets in the K data packets, and the CAPC of the first sideline information is greater than or equal to the CAPC of the third sideline information.
26. The device according to claim 25, characterized in that The processing unit is also used for: Allocating the first resource to the data packets among the K data packets in the order of decreasing CAPC values of the data packets and increasing priority values of the data packets; and / or, The second resource is allocated to the data packets among the K data packets in the order of increasing CAPC of the data packets first and then increasing priority values of the data packets, and the second resource is a time unit in the COT except the first time unit.
27. The device according to claim 25 or 26, characterized in that The first resource and the second resource belong to the same multi-time unit candidate resource, and the multi-time unit candidate resource includes resources of multiple consecutive time units.
28. The device according to claim 27, characterized in that The multi-time unit candidate resource is determined based on the second sidewalk information, and / or the multi-time unit candidate resource is determined in a sidewalk process.
29. The device according to any one of claims 25 to 28, characterized in that The time unit to which the first resource belongs and the time unit to which the second resource belongs are continuous time units.
30. The device according to claim 29, characterized in that The first resource and the second resource are determined in the same sideline process.
31. A communication device, characterized in that: The device comprises a processor, wherein the processor is configured to execute a computer program stored in a memory so as to enable the communication device to perform the method according to any one of claims 1 to 15.
32. The device according to claim 31, characterized in that The processor includes the memory.
33. A communication device, characterized in that: include: A logic circuit and a communication interface, wherein the logic circuit is used to process information to be processed to obtain processed information, and the communication interface is used to obtain the information to be processed, and / or output the processed information, so that the communication device executes the method described in any one of claims 1 to 15.
34. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 15 is implemented.