WO2024093908A1 - Communication method and related device - Google Patents

Communication method and related device Download PDF

Info

Publication number
WO2024093908A1
WO2024093908A1 PCT/CN2023/127744 CN2023127744W WO2024093908A1 WO 2024093908 A1 WO2024093908 A1 WO 2024093908A1 CN 2023127744 W CN2023127744 W CN 2023127744W WO 2024093908 A1 WO2024093908 A1 WO 2024093908A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
data set
lch
resources
value
Prior art date
Application number
PCT/CN2023/127744
Other languages
French (fr)
Chinese (zh)
Inventor
刘南南
李秉肇
强鹂
范强
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024093908A1 publication Critical patent/WO2024093908A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies

Definitions

  • the present application relates to the field of communication technology, and in particular to a communication method and related equipment.
  • uplink data/uplink information data/information sent by a terminal device to a network device
  • data/information sent by a terminal device to other terminal devices may carry sidelink (SL) data/sidelink information
  • SL sidelink
  • uplink resources resources used to carry the uplink data
  • a terminal device may determine uplink resources through instructions from a network device.
  • terminal devices can determine which logical channels (LCH) data and/or MAC CE are carried on a resource through the logical channel prioritization (LCP) process. For data on different LCHs, resources are allocated to different LCHs based on the priority of the LCH. Generally speaking, terminal devices will prioritize the allocation of resources to high-priority LCHs. Since the uplink resources indicated by the network device for a certain terminal device are generally limited, this may result in that some data associated with LCHs with lower priority may not be transmitted on the current uplink resources. However, the data associated with the LCH with lower priority does not necessarily mean that the data can be sent later, which means that in the above implementation, it is possible that the data associated with the LCH with lower priority is not transmitted, resulting in the failure of the data to be transmitted.
  • LCH logical channels
  • LCP logical channel prioritization
  • the terminal device can pre-allocate resources in the uplink resources for the data that is about to expire, and then further allocate resources in the remaining resources in the uplink resources for other data based on the priority of LCH, so that the data that is about to expire can be transmitted preferentially in the current uplink resources, thereby avoiding the failure of the data.
  • the above-mentioned implementation method of pre-allocating resources for the data that is about to expire will cause the terminal device to allocate fewer resources for other LCHs, thereby affecting the transmission of other LCHs.
  • the present application provides a communication method for avoiding or reducing the impact on the transmission of other data outside the first data set, in order to improve communication efficiency.
  • the present application provides a communication method, which is executed by a first device, or the method is executed by some components in the first device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the first device.
  • the communication method is described as being executed by a first device, and the first device can be a terminal device.
  • the first device allocates resources to a first data set, and the first data set is associated with a first logical channel LCH; the first device allocates resources to a second data set based on the data volume of the first data set, and sends the first data set and the second data set in the first resource, and the second data set is associated with the first LCH; or, the first device determines not to allocate resources for the first LCH based on the data volume of the first data set, and sends the first data set in the first resource.
  • the first device after the first device allocates resources for the first data set associated with the first LCH, in the case where resources are allocated for the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined not to allocate resources for the first LCH associated with the first data set based on the data volume of the first data set, the first device sends the first data set in the first resource.
  • the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
  • the first device can determine other data (or, second data set) of the first LCH that can be accommodated on the first resource based on the data volume of the first data set, or the first device can determine how much data in the first LCH can be allocated resources based on the data volume of the first data set, or the first device can determine how much resources can be allocated for the data in the first LCH based on the data volume of the first data set. This can avoid the data in the first LCH occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness among LCHs.
  • the first data sent by the first device is a network device.
  • the method provided in the present application is applied to the case where different terminal devices communicate (for example, SL communication), and the receiver of the first data set (or, the first data set and the second data set) sent by the first device is a terminal device.
  • the data set involved in the present application may include one or more data.
  • the data set involved in the present application is associated with the LCH (for example, the first data set is associated with the first LCH, and the second data set appearing later is associated with the first LCH, the third data set is associated with the first LCH, etc.), which means that there is a mapping relationship between the data contained in the data set and the LCH.
  • the mapping relationship can be configured by the second device to the first device, or it can be pre-configured to the first device through a protocol/standard, or it can be determined by the first device through other means. This application does not limit it.
  • the first resource used by the first device may be a periodic first resource configured by the second device, or a non-periodic first resource configured by the second device.
  • the first resource used by the first device may be a first resource configured for the first device by a network device, or, the first resource used by the first device may be a first resource configured for the first device by other terminal devices, or, the first resource used by the first device may be a resource determined by the first device itself.
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on a first priority bit rate (prioritized bit rate, PBR), wherein the first PBR is determined based on the data volume of the first data set and a configured PBR; the remaining resources after resources are allocated to the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • PBR priority bit rate
  • the first device allocates resources to the second data set based on the data volume of the first data set, since the first data set and the second data set are both located in the same LCH (i.e., the first LCH), by limiting the data volume of the second data set to be less than or equal to any of the above items, it is possible to avoid affecting the data to be transmitted in other LCHs other than the first LCH.
  • variable corresponding to the LCH involved in the present application is used to indicate the variable maintained by the first device for the LCH, and the value of the variable can be used to indicate at least one of the following, including:
  • Indicates whether the LCH can carry data indicates the amount of data that the LCH can carry, or indicates the data transmission rate of the LCH when the LCH can carry data.
  • variable may be expressed as B, Bj, or other symbols, which is not limited in this application.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is less than or equal to 0, so that the first device determines not to allocate resources for the first LCH at present.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the value of the first variable corresponding to the first LCH is greater than 0, so that the first device determines that resources can be allocated to the first LCH.
  • the method further includes: allocating resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set.
  • the first device can also allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set, so that other data sets in addition to the first data set and the second data set can be transmitted based on the remaining resources.
  • the second data set is allocated resources according to the priority of one or more LCHs.
  • the first device allocates resources to the data set, wherein the values of the first variables corresponding to the one or more LCHs are all greater than 0.
  • the resources are allocated to the other data sets according to the priority of the one or more LCHs, wherein the values of the first variables corresponding to the one or more LCHs may be greater than 0, or may be less than or equal to 0.
  • a value of a first variable corresponding to the first LCH is greater than 0.
  • the value of the first variable corresponding to the first LCH is greater than 0, so that the first device determines that resources can be allocated to the first data set.
  • the value of the first variable corresponding to the first LCH may also be less than or equal to 0, that is, the first device does not need to consider the value of the first variable corresponding to the first LCH when allocating resources to the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is the first value.
  • the first device may update the value of the first variable corresponding to the first LCH, or may not update the value of the first variable corresponding to the first LCH.
  • the first device may update the value of the first variable corresponding to the first LCH, that is, update the first value to the second value, so that in the above implementation process, before determining not to allocate resources to the first LCH (or determining to allocate resources to the first LCH) based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is the second value.
  • the first device may not update the value of the first variable corresponding to the first LCH, that is, the first value does not need to be updated, so that in the above implementation process, before determining not to allocate resources to the first LCH (or determining to allocate resources to the first LCH) based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is the first value.
  • the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the first device in the process of allocating resources for the first data set by the first device and in the process of allocating resources for the second data set by the first device, can perform at least one update process on the first variable corresponding to the first LCH, so that the first device can allocate resources for other data except the first data set and the second data set based on the at least one updated first variable, so as to avoid or reduce the impact on the transmission of the other data.
  • the first device allocates resources to the second data set based on the data volume of the first data set, or determines not to allocate resources to the first LCH based on the data volume of the first data set, including: the first device allocates resources to the second data set based on a first parameter, or determines not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
  • the first device may allocate resources for the second data set based on the first parameter associated with the resource allocation of the first LCH, or the first device may determine not to allocate resources for the second data set based on the first parameter associated with the resource allocation of the first LCH.
  • the first data set is associated with the first LCH
  • the first parameter is associated with the resource allocation of the first LCH. Therefore, the first parameter can be used as one of the resource allocation bases for the second data set.
  • the first parameter includes any one of the following: a first PBR, which is determined based on the data volume of the first data set and a configured PBR; or, after allocating resources for the first data, a value of a first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, The difference between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
  • the first parameter associated with the resource allocation of the first LCH can be implemented by any of the above items to enhance the flexibility of the solution implementation.
  • the method also includes: the first device receives first indication information, the first indication information indicating that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the first device may also receive first indication information, so that the first device can implement resource allocation based on the indication of the second device.
  • a value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
  • the first PBR can be associated with the data volume of the first data set to which resources have been allocated in the above manner, so that the first PBR serves as one of the bases for allocating resources to the second data set, thereby avoiding or reducing the impact of the resources allocated to the first data set on the transmission of other data.
  • the first data set includes K parts; the first device allocates resources to the first data set including: the first device allocates resources to the first data set based on any of the following items, including: sorting the remaining time lengths corresponding to the K parts from small to large, sorting the ranges of the remaining time lengths corresponding to the K parts from small to large, sorting the data priorities of the K parts from high to low, and sorting the channel priorities of K logical channels corresponding to the K parts from high to low.
  • the first device in the process of allocating resources for the first data set, can allocate resources to the K parts included in the first data set in sequence through the above-mentioned multiple methods to improve the flexibility of the solution implementation.
  • the first device allocates resources to the first data set, including: the first device allocates resources to the first LCH based on the second PBR, and the second PBR is determined based on the data amount of the third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
  • the first device may use the second PBR as one of the resource allocation bases for the first data set, and the second PBR is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to enable part or all of the data sets whose remaining time is less than or equal to the threshold to be successfully transmitted.
  • the remaining time corresponding to the third data set is less than or equal to the threshold, and the first data set is part or all of the third data set, the remaining time corresponding to the first data set is less than or equal to the threshold.
  • the third data set can be understood as a data set whose corresponding remaining time to be sent by the first device is less than or equal to the threshold, and the first data set can be understood as a data set whose corresponding remaining time actually sent by the first device in the first resource is less than or equal to the threshold.
  • the remaining time corresponding to a data set is less than or equal to a threshold value, which can be expressed as follows: the data set is data that is about to expire, the time when the data set is about to expire is less than or equal to the threshold, the remaining valid time of the data set is less than or equal to the threshold, the data in the data set is data whose remaining packet delay budget (remaining packet delay budget, remaining PDB) is less than or equal to the threshold, etc.
  • a threshold value which can be expressed as follows: the data set is data that is about to expire, the time when the data set is about to expire is less than or equal to the threshold, the remaining valid time of the data set is less than or equal to the threshold, the data in the data set is data whose remaining packet delay budget (remaining packet delay budget, remaining PDB) is less than or equal to the threshold, etc.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the value of the second PBR can be achieved through the above-mentioned multiple methods, and since the value of the second PBR is associated with the data volume of the third data set and the configured PBR, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
  • the method also includes: the first device receives second indication information, the second indication information indicating that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  • the first device may also receive second indication information, so that the first device can allocate resources for the first data set based on the indication of the second device.
  • allocating resources to the first data set includes any of the following:
  • condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
  • the data satisfying condition A or the data with a small remaining time can be transmitted on the first resource as much as possible, or the data satisfying condition A or the data with a small remaining time can be transmitted as soon as possible/prioritized, which can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and system capacity. It can also ensure fairness between different LCHs to avoid some LCHs (for example, low-priority LCHs) from being starved.
  • the second aspect of the present application provides a communication method, which is executed by a second device, or the method is executed by some components in the second device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the second device.
  • the communication method is described as being executed by a second device, and the second device can be a terminal device or a network device.
  • the second device determines a first resource; the second device receives a first data set in the first resource, or receives the first data set and a second data set in the first resource; wherein the first data set and the second data set are both associated with a first logical channel LCH, and the resources allocated to the second data set are determined based on the amount of data of the first data set.
  • the second device can receive the first data set in the first resource, or the second device can receive the first data set and the second data set in the first resource.
  • the first data set and the second data set are both associated with the first logical channel LCH, and the resources allocated to the second data set are determined based on the data volume of the first data set.
  • the first device after the first device allocates resources to the first data set associated with the first LCH, in the case where resources are allocated to the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined based on the data volume of the first data set that resources are not allocated to the first LCH associated with the first data set, the first device sends the first data set in the first resource.
  • the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
  • the first device can determine other data (or, second data set) of the first LCH that can be accommodated on the first resource based on the data volume of the first data set, or the first device can determine how much data in the first LCH can be allocated resources based on the data volume of the first data set, or the first device can determine how much resources can be allocated for the data in the first LCH based on the data volume of the first data set. This can avoid the data in the first LCH occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness among LCHs.
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the second device when the second device receives the first data set and the second data set in the first resource, since the first data set and the second data set are both located in the same LCH (i.e., the first LCH), by limiting the data amount of the second data set to be less than or equal to any of the above items, it is possible to avoid affecting the data to be transmitted in other LCHs other than the first LCH.
  • LCH LCH
  • the method also includes: the second device receives other data sets in the first resource, wherein the resources allocated to the other data sets are the remaining resources other than the resources allocated to the first data set and the resources allocated to the second data set.
  • the second device can also receive other data sets in the first resource.
  • the first device after allocating resources to the second data set based on the data volume of the first data set, the first device can also allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set, so that other data sets in addition to the first data set and the second data set can be transmitted based on the remaining resources.
  • the resources allocated for the second data set are determined based on a first parameter, where the first parameter is associated with resource allocation of the first LCH.
  • the resources allocated to the second data set are determined based on the first parameter.
  • the first device after the first device allocates resources to the first data set, the first device can allocate resources to the second data set based on the first parameter associated with the resource allocation of the first LCH, or the first device can determine not to allocate resources to the second data set based on the first parameter associated with the resource allocation of the first LCH.
  • the first data set is associated with the first LCH, and the first parameter is associated with the resource allocation of the first LCH. Therefore, the first parameter can be used as one of the resource allocation bases for the second data set.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the first parameter associated with the resource allocation of the first LCH can be implemented by any of the above items to enhance the flexibility of the solution implementation.
  • the method also includes: sending first indication information, wherein the first indication information indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the second device may also send first indication information, so that the first device can implement resource allocation based on the indication of the second device.
  • a value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
  • the first PBR can be associated with the data volume of the first data set to which resources have been allocated in the above manner, so that the first PBR serves as one of the bases for allocating resources to the second data set, thereby avoiding or reducing the impact of the resources allocated to the first data set on the transmission of other data.
  • the resources allocated to the second data set are determined based on the resources allocated by the second PBR to the first LCH, and the second PBR is determined based on the data amount of the third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
  • the resources allocated to the second data set are determined based on the resources allocated by the second PBR to the first LCH.
  • the first device in the process of allocating resources for the first data set, the first device can use the second PBR as one of the resource allocation bases for the first data set.
  • the second PBR is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to enable part or all of the data set whose remaining time is less than or equal to the threshold to be successfully transmitted.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the value of the second PBR can be achieved through the above-mentioned multiple methods, and since the value of the second PBR is associated with the data volume of the third data set and the configured PBR, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
  • the method also includes: the second device sends second indication information, the second indication information indicating that resources are allocated to the first LCH based on the second PBR, or the second indication information indicating that resources are not allocated to the first LCH based on the second PBR.
  • the second device may also send second indication information, so that the first device can allocate resources for the first data set based on the indication of the second device.
  • allocating resources to the first data set includes any of the following:
  • condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
  • the data satisfying condition A or the data with a small remaining time can be transmitted on the first resource as much as possible, or the data satisfying condition A or the data with a small remaining time can be transmitted as soon as possible/prioritized, which can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and system capacity. It can also ensure fairness between different LCHs to avoid some LCHs (for example, low-priority LCHs) from being starved.
  • the third aspect of the present application provides a communication method, which is executed by a first device, or the method is executed by some components in the first device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the first device.
  • the communication method is described as being executed by a first device, and the first device can be a terminal device.
  • the first device allocates resources to the first LCH based on the second PBR; wherein the second PBR is determined based on the amount of data of a third data set; the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the first device sends a first data set in the first resource, wherein the first data set is part or all of the third data set.
  • the first device in the process of allocating resources for the first data set, can use the second PBR as one of the resource allocation bases for the first data set, and the second PBR is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, so that part or all of the data sets with a remaining time less than or equal to the threshold can be successfully transmitted.
  • the value of the second PBR is associated with the data volume of the third data set, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the value of the second PBR can be achieved through the above-mentioned multiple methods, and since the value of the second PBR is associated with the data volume of the third data set and the configured PBR, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
  • the method also includes: the first device receives second indication information, the second indication information indicating that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  • the first device may also receive second indication information, so that the first device can allocate resources for the first data set based on the indication of the second device.
  • the method also includes: the first device allocates resources to the second data set based on the data volume of the first data set, sends the second data set in the first resources, and the second data set is associated with the first LCH; or, determines not to allocate resources to the first LCH based on the data volume of the first data set.
  • the first device after the first device allocates resources for the first data set associated with the first LCH, in the case where resources are allocated for the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined not to allocate resources for the first LCH associated with the first data set based on the data volume of the first data set, the first device sends the first data set in the first resource.
  • the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
  • the present application provides a communication method, which is executed by a second device, or the method is executed by some components in the second device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the second device.
  • the communication method is described as being executed by the second device, and the second device can be a terminal device or a network device.
  • the second device determines uplink data; the second device receives the uplink data from the first device; The source receives a first data set, which is part or all of the third data set, and the third data set is associated with the first LCH.
  • the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the second PBR, and the second PBR is determined based on the amount of data of the third data set.
  • the second device receives the first data set in the first resource, and the resource carrying the first data set is the resource allocated to the first logical channel LCH based on the second PBR.
  • the first device in the process of allocating resources for the first data set, can use the second PBR as one of the resource allocation bases for the first data set.
  • the second PBR is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to enable part or all of the data sets with a remaining time less than or equal to the threshold to be successfully transmitted.
  • the value of the second PBR is associated with the data volume of the third data set, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the value of the second PBR can be achieved through the above-mentioned multiple methods, and since the value of the second PBR is associated with the data volume of the third data set and the configured PBR, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
  • the method also includes: the second device sends second indication information, the second indication information indicating that resources are allocated to the first LCH based on the second PBR, or the second indication information indicating that resources are not allocated to the first LCH based on the second PBR.
  • the second device may also send second indication information, so that the first device can allocate resources for the first data set based on the indication of the second device.
  • the method further includes: the second device receives a second data set, the second data set is associated with the first LCH; wherein the resources allocated to the second data set are determined based on the data amount of the first data set.
  • the second device can receive the first data set and the second data set in the first resource.
  • the first data set and the second data set are both associated with the first LCH, and the resources allocated to the second data set are determined based on the data volume of the first data set.
  • the first device sends the first data set and the second data set in the first resource; in the case where it is determined based on the data volume of the first data set that resources are not allocated to the first LCH associated with the first data set, the first device sends the first data set in the first resource.
  • the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
  • other data sets such as the second data set
  • the fifth aspect of the present application provides a communication method, which is executed by a first device, or the method is executed by some components in the first device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the first device.
  • the communication method is described as being executed by a first device, and the first device can be a terminal device.
  • the first device allocates resources to a first LCH based on the amount of data of a third data set; wherein the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the priority of the first LCH is determined based on the data in the first LCH; the first device sends a first data set in a first resource, and the first data set is part or all of the third data set.
  • the first device after the first device allocates resources to the first LCH based on the data volume of the third data set, the first device sends part or all of the third data set (i.e., the first data set) in the first resource.
  • the priority of the first LCH carrying the first data set is determined based on the data in the first LCH.
  • the first device may use the priority of the first LCH as one of the resource allocation bases for the first data set, and the priority of the first LCH is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to enable part or all of the data sets with a remaining time less than or equal to a threshold to be successfully transmitted.
  • the resources allocated to the first data set are The resources are associated with the data volume of the third data set, so that the influence of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
  • the data volume of the first data set is the minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes: the remaining resources after allocating resources for other data or other signaling; or, a second PBR, wherein the second PBR is the minimum value of the data volume of the third data set and the configured PBR, or the value of the second PBR is the data volume of the third data set.
  • the data volume of the first data set is the data volume of the third data set.
  • the data volume of the first data set may be the same as the data volume of the third data set, so that all data sets with remaining time less than or equal to the threshold can be successfully transmitted.
  • the method also includes: the first device receives third indication information, the third indication information indicating that resources are allocated to the first LCH based on the data amount of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data amount of the third data set.
  • the first device may also receive third indication information, so that the first device determines whether to allocate resources to the first LCH based on the data volume of the third data set based on the indication of the second device.
  • the method also includes: the first device allocates resources to the second data set based on the data volume of the first data set, sends the second data set in the first resources, and the second data set is associated with the first LCH; or, determines not to allocate resources to the first LCH based on the data volume of the first data set.
  • the first device after the first device allocates resources for the first data set associated with the first LCH, in the case where resources are allocated for the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined not to allocate resources for the first LCH associated with the first data set based on the data volume of the first data set, the first device sends the first data set in the first resource.
  • the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
  • the sixth aspect of the present application provides a communication method, which is executed by a second device, or the method is executed by some components in the second device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the second device.
  • the communication method is described as being executed by the second device, and the second device can be a terminal device or a network device.
  • the second device determines a first resource; the second device receives a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resource carrying the first data set is a resource allocated to the first logical channel LCH based on the amount of data of the third data set, and the priority of the first LCH is determined based on the data in the first LCH.
  • the second device receives the first data set in the first resource, and the resource carrying the first data set is a resource allocated to the first logical channel LCH based on the data volume of the third data set.
  • the first device in the process of allocating resources for the first data set, can use the priority of the first LCH as one of the resource allocation bases for the first data set, and the priority of the first LCH is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to enable part or all of the data sets with a remaining time less than or equal to a threshold to be successfully transmitted.
  • the resources allocated for the first data set are associated with the data volume of the third data set, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
  • the data volume of the first data set is the minimum value of at least one item of information below the data volume of the third data set
  • the at least one item of information includes: the remaining resources after allocating resources for other data or other signaling; or, a second PBR, wherein the second PBR is the minimum value of the data volume of the third data set and the configured PBR, or the value of the second PBR is the data volume of the third data set.
  • the data volume of the first data set is the data volume of the third data set.
  • the data volume of the first data set may be the same as the data volume of the third data set, so that all data sets with remaining time less than or equal to the threshold can be successfully transmitted.
  • the method also includes: the second device sends third indication information, the third indication information indicating that resources are allocated to the first LCH based on the data amount of the third data set, or the third indication information indicating that resources are not allocated to the first LCH based on the data amount of the third data set.
  • the second device may also send third indication information, so that the first device determines whether to allocate resources to the first LCH based on the data volume of the third data set based on the indication of the second device.
  • the method also includes: the second device receives a second data set in the first resource, the second data set is associated with the first LCH, and the resource carrying the second data set is determined based on the data amount of the first data set.
  • the second device can also receive the second data set in the first resource, and the resource carrying the second data set is determined based on the data volume of the first data set.
  • the first device after the first device allocates resources for the first data set associated with the first LCH, in the case where resources are allocated for the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined based on the data volume of the first data set that resources are not allocated for the first LCH associated with the first data set, the first device sends the first data set in the first resource.
  • the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
  • other data sets such as the second data set
  • a communication device which is a first device, or the device is a partial component (such as a processor, a chip or a chip system, etc.) in the first device, or the device can also be a logic module or software that can implement all or part of the functions of the first device.
  • the communication device is described as an example of executing the first device, and the first device can be a terminal device.
  • the device includes a processing unit and a transceiver unit; the processing unit is used to allocate resources for a first data set, and the first data set is associated with a first logical channel LCH; the processing unit is also used to allocate resources for a second data set based on the data volume of the first data set, and the transceiver unit is used to send the first data set and the second data set in the first resource, and the second data set is associated with the first LCH; or, the processing unit is also used to determine not to allocate resources for the first LCH based on the data volume of the first data set, and the transceiver unit is also used to send the first data set in the first resource.
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit after allocating resources to the second data set based on the data amount of the first data set, is also used to allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set.
  • a value of a first variable corresponding to the first LCH is greater than 0.
  • the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit is specifically used to allocate resources to the second data set based on the first parameter, or to determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • a value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
  • the first data set includes K parts; the processing unit is specifically used to allocate resources to the first data set based on any of the following items, including: sorting the remaining time lengths corresponding to the K parts from small to large, sorting the ranges of the remaining time lengths corresponding to the K parts from small to large, sorting the data priorities of the K parts from high to low, and sorting the channel priorities of the K logical channels corresponding to the K parts from high to low.
  • the processing unit is specifically used to: allocate resources to the first LCH based on a second PBR, and the second PBR is determined based on the data amount of a third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the transceiver unit is further used to receive second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  • allocating, by the processing unit, resources for the first data set includes any of the following:
  • condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
  • the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the first aspect and achieve corresponding technical effects.
  • the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the first aspect and achieve corresponding technical effects.
  • a communication device which is a second device, or the device is a partial component (such as a processor, a chip or a chip system, etc.) in the second device, or the device can also be a logic module or software that can implement all or part of the functions of the first device.
  • the communication device is described as an example of executing the second device, and the second device can be a terminal device or a network device.
  • the device includes a processing unit and a transceiver unit; the processing unit is used to determine a first resource; the transceiver unit is used to receive a first data set in the first resource, or, the transceiver unit is used to receive the first data set and a second data set in the first resource; wherein the first data set and the second data set are both associated with a first logical channel LCH, and the resources allocated to the second data set are determined based on the data amount of the first data set.
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit is also used to receive other data sets in the first resource, wherein the resources allocated to the other data sets are the remaining resources other than the resources allocated to the first data set and the resources allocated to the second data set.
  • the resources allocated to the second data set are determined based on a first parameter, and the first parameter is associated with the resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit is also used to send a first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • a value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
  • the resources allocated to the second data set are determined based on the resources allocated by the second PBR to the first LCH, and the second PBR is determined based on the data amount of the third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the transceiver unit is further used to send second indication information, wherein the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  • allocating, by the processing unit, resources for the first data set includes any of the following:
  • condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
  • the component modules of the communication device can also be used to execute the various possible implementation methods of the second aspect.
  • the steps to be executed and the corresponding technical effects to be achieved can be specifically referred to in the second aspect and will not be described in detail here.
  • a communication device which is a first device, or the device is a partial component (such as a processor, a chip or a chip system, etc.) in the first device, or the device can also be a logic module or software that can implement all or part of the functions of the first device.
  • the communication device is described as an example of executing the first device, and the first device can be a terminal device.
  • the device includes a processing unit and a transceiver unit; the processing unit is used to allocate resources to a first logical channel LCH based on a second PBR; wherein the second PBR is determined based on the amount of data of a third data set; the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the transceiver unit is used to send a first data set in a first resource, wherein the first data set is part or all of the third data set.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the transceiver unit is further used to receive second indication information, wherein the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  • the determination unit is also used to allocate resources to a second data set based on the data volume of the first data set, send the second data set in the first resources, and the second data set is associated with the first LCH; or, determine not to allocate resources to the first LCH based on the data volume of the first data set.
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit after allocating resources to the second data set based on the data amount of the first data set, is also used to allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set.
  • a value of the first variable corresponding to the first LCH is greater than 0.
  • the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit is specifically used to allocate resources to the second data set based on the first parameter, or determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
  • the first data set includes K parts; the processing unit is specifically used to allocate resources to the first data set based on any of the following items, including: sorting the remaining time lengths corresponding to the K parts from small to large, sorting the ranges of the remaining time lengths corresponding to the K parts from small to large, sorting the data priorities of the K parts from high to low, and sorting the channel priorities of the K logical channels corresponding to the K parts from high to low.
  • the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the third aspect and achieve corresponding technical effects.
  • the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the third aspect and achieve corresponding technical effects.
  • a communication device which is a second device, or the device is a partial component (such as a processor, a chip or a chip system, etc.) in the second device, or the device can also be a logic module or software that can implement all or part of the functions of the first device.
  • the communication device is described as an example of executing the second device, and the second device can be a terminal device or a network device.
  • the device includes a processing unit and a transceiver unit; the processing unit is used to determine uplink data; the transceiver unit is used to receive a first data set on the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the second PBR, and the second PBR is determined based on the data volume of the third data set.
  • the second PBR is the minimum value between the data volume of the third data set and the configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the transceiver unit is further used to send second indication information, wherein the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  • the transceiver unit is further used to receive a second data set, which is associated with the first LCH; wherein the resources allocated to the second data set are determined based on the data amount of the first data set.
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit is also used to receive other data sets in the first resource, wherein the resources allocated to the other data sets are the remaining resources other than the resources allocated to the first data set and the resources allocated to the second data set.
  • the resources allocated to the second data set are determined based on a first parameter, and the first parameter is associated with the resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit is further used to send first indication information, where the first indication information indicates that resources are allocated to the first LCH based on the amount of data of the first data set, or the first indication information indicates that resources are allocated to the first LCH based on the amount of data of the first data set. The amount is used to allocate resources for the first LCH.
  • the value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
  • the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the fourth aspect and achieve corresponding technical effects.
  • the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the fourth aspect and achieve corresponding technical effects.
  • a communication device which is a first device, or the device is a partial component (such as a processor, a chip or a chip system, etc.) in the first device, or the device can also be a logic module or software that can implement all or part of the functions of the first device.
  • the communication device is described as the first device, and the first device can be a terminal device.
  • the device includes a processing unit and a transceiver unit; the processing unit is used to allocate resources to a first logical channel LCH based on the data volume of a third data set; wherein the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the priority of the first LCH is determined based on the data in the first LCH; the transceiver unit is used to send a first data set in a first resource, and the first data set is part or all of the third data set.
  • the data volume of the first data set is the minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes: the remaining resources after allocating resources for other data or other signaling; or, a second PBR, wherein the second PBR is the minimum value of the data volume of the third data set and the configured PBR, or the value of the second PBR is the data volume of the third data set.
  • the data volume of the first data set is the data volume of the third data set.
  • the transceiver unit is also used to receive third indication information, which indicates that resources are allocated to the first LCH based on the data volume of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data volume of the third data set.
  • the processing unit is also used to allocate resources to a second data set based on the data volume of the first data set, send the second data set in the first resources, and the second data set is associated with the first LCH; or, determine not to allocate resources to the first LCH based on the data volume of the first data set.
  • the data volume of the second data set is less than or equal to any one of the following:
  • the amount of data determined based on a first PBR wherein the first PBR is determined based on the amount of data of the first data set and a configured PBR; the remaining resources after allocating resources to the first data set; or the difference between a first value of a first variable corresponding to the first LCH and the amount of data of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit is further configured to allocate resources to other data sets based on the resources allocated to the first data set and remaining resources other than the resources allocated to the second data set.
  • the value of the first variable corresponding to the first LCH is greater than 0.
  • the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the first LCH corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit is specifically used to allocate resources to the second data set based on the first parameter, or determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
  • the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the fifth aspect and achieve corresponding technical effects.
  • the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the fifth aspect and achieve corresponding technical effects.
  • the twelfth aspect of the present application provides a communication device, which is a second device, or the device is a partial component in the second device (such as a processor, a chip or a chip system, etc.), or the device can also be a logic module or software that can implement all or part of the functions of the first device.
  • the communication device is described as an example of executing the second device, and the second device can be a terminal device or a network device.
  • the device includes a processing unit and a transceiver unit; the processing unit is used to determine a first resource; the transceiver unit is used to receive a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resource carrying the first data set is a resource allocated to the first logical channel LCH based on the data amount of the third data set, and the priority of the first LCH is determined based on the data in the first LCH.
  • the data volume of the first data set is a minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes:
  • the remaining resources after allocating resources for other data or other signaling or, a second PBR, wherein the second PBR is the minimum value between the data amount of the third data set and the configured PBR, or the value of the second PBR is the data amount of the third data set.
  • the data volume of the first data set is the data volume of the third data set.
  • the transceiver unit is also used to send third indication information, wherein the third indication information indicates that resources are allocated to the first LCH based on the data amount of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data amount of the third data set.
  • the transceiver unit is also used to receive a second data set in the first resource, where the second data set is associated with the first LCH, and the resource carrying the second data set is determined based on the data amount of the first data set.
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit is also used to receive other data sets in the first resource, wherein the resources allocated to the other data sets are the remaining resources other than the resources allocated to the first data set and the resources allocated to the second data set.
  • the resources allocated to the second data set are determined based on a first parameter, and the first parameter is associated with the resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit is also used to send a first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
  • the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the sixth aspect and achieve corresponding technical effects.
  • the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the sixth aspect and achieve corresponding technical effects.
  • a thirteenth aspect of an embodiment of the present application provides a communication device, comprising at least one processor, wherein the at least one processor is coupled to a memory; the memory is used to store programs or instructions; wherein the at least one processor is used to execute the program or instructions so that the device implements the method described in any one of the first to sixth aspects and any possible implementation method thereof.
  • a fourteenth aspect of an embodiment of the present application provides a communication device, including at least one logic circuit and an input/output interface; the logic circuit is used to execute the method described in any one of the first to sixth aspects and any possible implementation method thereof.
  • a fifteenth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores instructions.
  • the instructions When the instructions are executed by a processor, the processor executes the method described in any one of the first to sixth aspects above and any possible implementation method thereof.
  • a sixteenth aspect of an embodiment of the present application provides a computer program product (or computer program), which includes a computer program code.
  • the computer program code When the computer program code is executed by a processor, the processor executes the method described in any one of the first to sixth aspects and any possible implementation method thereof.
  • a seventeenth aspect of an embodiment of the present application provides a chip system, which includes at least one processor for supporting a communication device to implement the functions involved in any one of the first to sixth aspects above and any possible implementation methods thereof.
  • the chip system may also include a memory for storing program instructions and data necessary for the first communication device.
  • the chip system may be composed of a chip, or may include a chip and other discrete devices.
  • the chip system also includes an interface circuit, which provides program instructions and/or data for the at least one processor.
  • An eighteenth aspect of an embodiment of the present application provides a communication system, which includes the communication device of the seventh aspect and the communication device of the eighth aspect, and/or the communication system includes the communication device of the ninth aspect and the communication device of the tenth aspect, and/or the communication system includes the communication device of the eleventh aspect and the communication device of the twelfth aspect.
  • the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
  • other data sets such as the second data set
  • the first device may use the second PBR as one of the bases for resource allocation for the first data set, where the second PBR is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the bases for resource allocation for the first data set, in order to enable part or all of the data set whose remaining time is less than or equal to a threshold to be successfully transmitted.
  • the first device in the process of allocating resources for the first data set, may use the priority of the first LCH as one of the resource allocation bases for the first data set, and the priority of the first LCH is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to make the remaining time less than or equal to the portion of the threshold Or the entire data set can be successfully transmitted.
  • FIG1 is a schematic diagram of a communication system provided by the present application.
  • FIG2a is a schematic diagram of a communication scenario provided by the present application.
  • FIG2b is another schematic diagram of a communication scenario involved in the present application.
  • FIG3 is a schematic diagram of a communication method provided by the present application.
  • FIG4 is another schematic diagram of the communication method provided by the present application.
  • FIG5A is a schematic diagram of resource allocation provided by the present application.
  • FIG5B is a schematic diagram of resource allocation provided by the present application.
  • FIG5C is a schematic diagram of resource allocation provided by the present application.
  • FIG5D is a schematic diagram of resource allocation provided by the present application.
  • FIG5E is another schematic diagram of the communication method provided by the present application.
  • FIG6 is another schematic diagram of the communication method provided by the present application.
  • FIG7 is a schematic diagram of a communication device provided by the present application.
  • FIG8 is another schematic diagram of a communication device provided by the present application.
  • FIG9 is another schematic diagram of a communication device provided by the present application.
  • FIG. 10 is another schematic diagram of the communication device provided in the present application.
  • Terminal device It can be a wireless terminal device that can receive network device scheduling and instruction information.
  • the wireless terminal device can be a device that provides voice and/or data connectivity to the user, or a handheld device with wireless connection function, or other processing device connected to a wireless modem.
  • the terminal device can communicate with one or more core networks or the Internet via a radio access network (RAN).
  • the terminal device can be a mobile terminal device, such as a mobile phone (or "cellular" phone, mobile phone), a computer and a data card.
  • the terminal device can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and/or data with the radio access network.
  • the terminal device can be, for example, a personal communication service (PCS) phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a tablet computer (Pad), or a computer with wireless transceiver capabilities.
  • PCS personal communication service
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • Pad tablet computer
  • Wireless terminal equipment may also be referred to as system, subscriber unit, subscriber station, mobile station, mobile station (MS), remote station, access point (AP), remote terminal equipment (remote terminal), access terminal equipment (access terminal), user terminal equipment (user terminal), user agent (user agent), subscriber station (SS), customer premises equipment (CPE), terminal, user equipment (UE), mobile terminal (MT), etc.
  • the terminal equipment may also be a wearable device and a terminal equipment in a next generation communication system, for example, a terminal equipment in a sixth generation (6-Generation, 6G) communication system or a terminal equipment in a future evolved public land mobile network (PLMN), etc.
  • 6G sixth generation
  • PLMN future evolved public land mobile network
  • a network device can be a radio access network (RAN) node (or device) that connects a terminal device to a wireless network, which can also be called a base station.
  • RAN equipment are: the next-generation base station (gNodeB), transmission reception point (TRP), evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home evolved Node B, or home Node B, HNB, and baseband unit (BBU) in a 5G communication system.
  • unit, BBU or wireless fidelity (wireless fidelity, Wi-Fi) access point (access point, AP), etc.
  • the network device may include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including a CU node and a DU node.
  • the network device may also include satellites, aircraft, drones, etc.
  • the network device may be other devices that provide wireless communication functions for the terminal device.
  • This application does not limit the specific technology and specific device form used by the network device. For the convenience of description, this application does not limit.
  • the network equipment may also include core network equipment, the core network equipment may include, for example, access and mobility management function (AMF), user plane function (UPF) or session management function (SMF).
  • AMF access and mobility management function
  • UPF user plane function
  • SMF session management function
  • the device for realizing the function of the network device may be a network device, or a device that can support the network device to realize the function, such as a processor, a chip, a chip system, etc.
  • the device may be installed in the network device or used in combination with the network device.
  • the technical solution provided in the present application is described by taking the device for realizing the function of the network device as a network device as an example.
  • the device for realizing the function of the terminal device may be the terminal device, or may be a device capable of supporting the terminal device to realize the function, such as a processor, a chip, a chip system, etc.
  • the device may be installed in the terminal device or used in combination with the terminal device.
  • the technical solution provided in the present application is described by taking the terminal device as an example in which the device for realizing the function of the terminal device is the terminal device.
  • Configuration and pre-configuration are used in this application.
  • configuration may refer to a network device sending configuration information or parameter values of some parameters to a terminal device through a message or signaling.
  • the terminal device may determine the communication parameters or resources during transmission based on these values or information.
  • pre-configuration may refer to the network device negotiating parameter information or parameter values with the terminal device in advance through signaling or messages, or may refer to parameter information or parameter values used by the network device and/or terminal device as specified by a standard protocol, or may refer to parameter information or parameter values pre-stored in the network device or terminal device. This application does not limit this.
  • system and “network” in this application may be used interchangeably.
  • “At least one” means one or more, and “plurality” means two or more.
  • “And/or” describes the association relationship of associated objects, indicating that three relationships may exist.
  • a and/or B may represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an “or” relationship.
  • At least one of the following” or similar expressions refers to any combination of these items, including any combination of single or plural items.
  • “at least one of A, B and C” includes A, B, C, AB, AC, BC or ABC.
  • the ordinal numbers such as “first” and “second” mentioned in the embodiments of this application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects.
  • XR can refer to various environments that combine reality and virtuality, as well as human-machine interactions, generated by computing technology and wearable devices. It mainly includes virtual reality (VR), augmented reality (AR), and mixed reality (MR) and other virtual-reality interaction technologies. In order to enhance the experience of human interaction with the virtual world, XR services have strict requirements on bandwidth and latency.
  • VR virtual reality
  • AR augmented reality
  • MR mixed reality
  • the server's encoder generates data content at a fixed frequency (e.g., 60Hz or 120Hz, etc.) and transmits it to the XR terminal via the core network and RAN.
  • a fixed frequency e.g. 60Hz or 120Hz, etc.
  • the XR terminal can collect images of the current scene through the built-in camera and continuously upload them to the server at a specific frequency (e.g., 60Hz or 120Hz, etc.).
  • XR services usually generate data periodically at a certain frame rate.
  • the business model for downlink XR services is roughly: AR/VR and cloud game CG.
  • the AR/VR frame rate can be 60fps, that is, 60 frames of video images are generated per second, and one video frame appears approximately every 16.66ms.
  • the AR/VR frame rate can also be 120fps, that is, 120 frames of video images are generated per second, and one video frame appears approximately every 8.33ms.
  • the CG frame rate can be 60fps or 120fps, that is, 60 frames of video images are generated per second or 120 frames of video images per second.
  • the latency requirement of XR services may be 10ms, 30ms, etc.
  • jitter may occur due to data encoding delay, network transmission delay, etc.
  • jitter can be considered to obey a truncated Gaussian distribution, with the truncation range being approximately [-4, 4] ms.
  • the terminal device can receive video from the network device.
  • Data enables the terminal device to provide users with visual, auditory and other XR technology perception information based on the video data.
  • the medium access control (MAC) layer of the terminal device is responsible for multiplexing the data/information of one or more LCHs and/or one or more MAC CEs into the media access control protocol data unit (MAC PDU). This process can be called LCP.
  • LCP media access control protocol data unit
  • the data/information of the above-mentioned one or more LCHs includes one or more of the following: medium access control service data unit (MAC SDU), radio link control service data unit (RLC SDU), radio link control protocol data unit (RLC PDU), or media access control (MAC) control element (CE).
  • MAC SDU medium access control service data unit
  • RLC SDU radio link control service data unit
  • RLC PDU radio link control protocol data unit
  • CE media access control element
  • the terminal device decides which logical channels to place data on and how much data to place on each logical channel based on the uplink resources configured by the base station and the rules specified by the protocol/standard.
  • the LCP first selects the LCH according to the LCP restrictions, and then allocates resources to the LCH according to the starvation avoidance mechanism in descending order of LCH priority (such as the resource allocation described below).
  • the MAC entity in the terminal device shall allocate resources to logical channels as follows:
  • resources are allocated in descending order of priority (for ease of reference in the following text, this process can be called the first round of resource allocation).
  • resources are allocated to the LCH selected according to the LCP restriction in descending order of LCH priority (regardless of the value of Bj) until one of the logical channels or UL authorized data is exhausted (for ease of reference below, this process may be referred to as the second round of resource allocation).
  • the MAC entity in the terminal device will allocate resources for all data available for transmission on the logical channel before satisfying the PBR of a logical channel with a lower priority.
  • the PBR requirement needs to be considered during this round of resource allocation to ensure fairness in resource allocation among LCHs.
  • the maximum resource allocated to each LCH is PBR or Bj.
  • the Bj corresponding to the LCH is subtracted from the amount of data (for example, the data is MAC SDU) provided by the LCH during the first round of resource allocation.
  • logical channels with the same configured priority should be treated equally.
  • the MAC entity in the terminal device shall perform at least one of the following:
  • Bj is increased by PBR ⁇ T, where T is the time elapsed since the last/previous increment of Bj;
  • the bucket size can be expressed as the product between PBR and the bucket size duration (BSD)
  • Bj is set to the bucket size.
  • PBR and BSD are configured by network devices to terminal devices.
  • the MAC entity in the terminal device should perform the selection of the LCH.
  • the terminal device selects a logical channel that satisfies all of the following conditions for an uplink (UL) grant:
  • the set of allowed subcarrier spacing index values in allowSCS-List includes the subcarrier spacing index associated with the UL grant;
  • maxPUSCH-Duration (if configured) is greater than or equal to the PUSCH transmission duration associated with the UL grant
  • allowedServingCells includes cell information associated with the UL grant;
  • allowedCG-List (if configured) includes the configured grant index associated with the UL grant;
  • allowedPHY-PriorityIndex (if configured) includes the priority index associated with the dynamic UL grant;
  • allowedHARQ-mode includes the uplink HARQ mode of the HARQ process associated with the UL grant.
  • LCP-related content please refer to Section 5.4.3.1 (Logical Channel Prioritization) and/or Section 5.22.1.4.1 (Logical channel prioritization) in 3GPP TS 38.321: "NR; Medium Access Control (MAC); Protocol specification", which will not be repeated here.
  • update may include/be understood as: determination.
  • the present application can be applied to a long term evolution (LTE) system, a new radio (NR) system, or a new wireless vehicle to everything (NR V2X) system; or a system with a hybrid networking of multiple access technologies (such as LTE and 5G); or a device-to-device (D2D) communication system, a machine-to-machine (M2M) communication system, an Internet of Things (IoT), or a drone communication system; or a communication system supporting multiple wireless technologies such as LTE technology and NR technology; or a non-ground communication system, such as a satellite communication system, a high-altitude communication platform, etc.
  • LTE long term evolution
  • NR new radio
  • NR V2X new wireless vehicle to everything
  • a system with a hybrid networking of multiple access technologies such as LTE and 5G
  • D2D device-to-device
  • M2M machine-to-machine
  • IoT Internet of Things
  • drone communication system or a communication system supporting multiple wireless technologies such as L
  • NB-IoT narrowband Internet of Things
  • EDGE enhanced data rate for GSM evolution
  • WCDMA wideband code division multiple access
  • CDMA2000 code division multiple access 2000
  • TD-SCDMA time division-synchronization code division multiple access
  • the communication system includes a network device and a terminal device, the network device serves as a configuration information sending entity, and the terminal device serves as a configuration information receiving entity.
  • the communication system there is an entity that sends configuration information to another entity, and sends data to another entity, or receives data sent by another entity; another entity receives the configuration information, and sends data to the configuration information sending entity according to the configuration information, or receives data sent by the configuration information sending entity.
  • the present application can be applied to terminal devices in a connected state or an active state (active), and can also be applied to terminal devices in a non-connected state (inactive) or an idle state (idle).
  • FIG1 is a schematic diagram of an application scenario provided in an embodiment of the present application.
  • the signal sender may be a network device, and the signal receiver may be one or more UEs among UE1-UE6.
  • the network device and any one or more of UE1-UE6 form a communication system.
  • any one or more of UE1-UE6 may send uplink data to the network device, and the network device receives uplink data sent by any one or more of UE1-UE6.
  • the network device may send configuration information to any one or more of UE1-UE6.
  • the signal sender may be one or more UEs among UE1-UE6, and the signal receiver may be a network device.
  • the signal sender may be one or more UEs among UE1-UE6, and the signal receiver may be other UEs among UE1-UE6.
  • both the signal sender and the signal receiver may be network devices.
  • the signal sender may be one of UE1-UE6, and the signal receiver may be one or more other UEs of UE1-UE6.
  • different UEs form a communication system.
  • the communication system may be called a sidelink (SL) communication system.
  • the data/information sent by the terminal device to the network device can be called uplink data/uplink information
  • the data/information sent by the terminal device to other terminal devices can carry sidelink (sidelink, SL) data/sidelink information.
  • the uplink data sent by the terminal device to the network device can be called uplink resources.
  • the terminal device can determine the uplink resource through the indication of the network device. At present, the terminal device can determine which logical channel (logical channel, LCH) data and/or MAC CE are carried on a resource through the logical channel prioritization (logical channel prioritization, LCP) process.
  • LCH logical channel
  • LCP logical channel prioritization
  • the data to be sent by the terminal device is XR service data.
  • the XR service may distinguish the importance of different data. For example, taking the transmission of video frame data by the XR service as an example, when the data of a certain type of frame (recorded as I frame) is more important than the data of another type of frame (recorded as P frame), in a possible implementation, the I frame data and the P frame data are associated with different LCHs and have different LCH priorities; or, data of different importance are associated with different LCHs and have different LCH priorities.
  • images may be encoded in a group of pictures (GOP) encoding mode and/or a slice encoding mode.
  • a video frame may be Contains an I slice and one or more P slices.
  • a GOP may contain an I frame, or a GOP may contain an I frame and one or more P frames.
  • GOP1 (denoted as GOP#1) may include an I frame and multiple P frames
  • GOP2 (denoted as GOP#2) may also include an I frame and multiple P frames.
  • the GOP may also include B frames.
  • an I frame is an internally coded frame (also known as an intra-frame coded frame, a key frame, an important frame, etc.), and an I frame is a reference frame for a P frame and/or a B frame, and has the characteristics of independent encoding and decoding.
  • a P frame is a forward prediction frame (also known as a forward prediction coded frame, a forward reference frame, a dependent frame, a non-key frame, etc.).
  • a P frame can be a reference frame for a subsequent P frame and/or B frame.
  • a B frame is a bi-directional interpolated prediction frame, which can also be known as a dependent frame, a non-key frame, etc.
  • a B frame When decoding a B frame, it is necessary to refer to the most recent I frame or P frame in the front, and the most recent P frame in the back.
  • an I frame is a complete picture, and a P frame records the changes relative to an I frame. If there is no I frame, a P frame cannot be decoded, so the transmission priority of an I frame must be higher than that of a P frame.
  • an I frame fails to be transmitted during the transmission process (for example, it is not transmitted successfully even if its delay requirement is met), even if the subsequent video frames that depend on the I frame (for example, P frames) are transmitted successfully, correct decoding cannot be achieved on the receiving side.
  • data burst may also be referred to as a data burst, which is a group of PDUs generated and sent by an application in a short period of time (for example, A set of data multiple PDUs generated and sent by the application in a short period of time).
  • a PDU set may include one or more PDUs carrying the payload of one unit of information generated at the application level (e.g., a PDU Set is composed of one or more PDUs carrying the payload of one unit of information generated at the application level (e.g., a frame or video slice for XRM Services, as used in TR 26.926[27])).
  • a PDU set contains a frame or a slice.
  • a PDU set contains a frame or a slice.
  • all PDUs in a PDU Set are needed by the application layer to use the corresponding unit of information.
  • the application layer can still recover parts all or of the information unit, when some PDUs are missing.
  • a data burst consists of at least one PDU set.
  • data burst 1 may be associated with one or more data bursts, which are dependent on data burst 1. If data burst 1 is discarded, the one or more data bursts may not be decoded.
  • PDU set 1 may be associated with one or more PDU sets, which are dependent on PDU set 1. If PDU set 1 is discarded, the one or more PDU sets may not be decoded.
  • the uplink resources indicated by the network device for a terminal device are generally limited, some data associated with the LCH with lower priority may not be transmitted in the current uplink resources.
  • the data associated with the LCH with lower priority does not necessarily mean that the data can be sent later, which makes it possible that the data associated with the LCH with lower priority is not transmitted in the above implementation, resulting in the data being invalid.
  • the front low-priority data may not be transmitted yet, and the back high-priority data may arrive.
  • high-priority data will be transmitted first, which will cause the front low-priority data to not be transmitted within its latency requirement.
  • the cycle of the XR service is 16.67ms, but the latency requirement is 30ms. Since the latency of the XR service is larger than the XR cycle, it may happen that the P frame of the previous GOP has not been transmitted yet, and the I frame of the next GOP has arrived.
  • the I frame LCH takes precedence over the P frame LCH, resulting in the P frame possibly not being transmitted within the PDB.
  • the terminal device when executing LCP, can allocate resources to data that is about to expire first, and then allocate resources to other LCHs or data, so that the data that is about to expire can be transmitted first in the current uplink resources, thereby avoiding the expiration of the data.
  • the terminal device taking the data that is about to expire as data with a remaining time less than a threshold as an example, in this improvement scheme, the terminal device first allocates a round of resources to the data with a remaining PDB less than the threshold, and then allocates resources to other data according to the LCP mechanism (such as the first round of resource allocation and the second round of resource allocation mentioned above). In other words, there are three rounds of resource allocation.
  • the implementation method of preferentially allocating resources to the data that is about to expire will result in a decrease in the resources that the terminal device can allocate to other LCHs, thereby affecting the transmission of other LCHs.
  • the Bj corresponding to the LCH where the data with a remaining time less than the threshold is located is greater than 0, causing the resources allocated to the LCH in the first two rounds of resource allocation in the three rounds to exceed the PBR requirement of the LCH, which is unfair to other LCHs and may cause the data in other LCHs to be unable to be transmitted or to be delayed in transmission.
  • FIG3 is a schematic diagram of a communication method provided in the present application. The method includes the following steps.
  • the method is illustrated by taking the first device and the second device as the execution subject of the interactive schematic as an example.
  • the first device may be a terminal device
  • the second device may be a terminal device (or the second device may be a network device), but the present application does not limit the execution subject of the interactive schematic.
  • the first device in FIG3 may also be a chip, a chip system, or a processor that supports the implementation method of the first device, or a logic module or software that can implement all or part of the first device.
  • the second device in FIG3 may also be a chip, a chip system, or a processor that supports the implementation method of the second device, or a logic module or software that can implement all or part of the functions of the second device.
  • a first device allocates resources for a first data set.
  • the first data set is associated with the first LCH.
  • data sets involved in this embodiment and the following embodiments may include one or more data.
  • the terminal device executes step S302 or step S303.
  • the first device sends the first data set and the second data set while allocating resources for the second data set based on the data volume of the first data set.
  • step S302 the second device receives the first data set and the second data set.
  • the second data set is associated with the first LCH.
  • the first device sends the first data set when determining not to allocate resources for the second data set based on the data amount of the first data set.
  • step S303 the second device receives the first data set.
  • the first data set and the second data set in step S302 are carried on the first resource.
  • the first resource when the first resource is a side link resource, the first resource may be a resource configured by a network device for the first device, or a resource configured by other terminal devices for the first device, or a resource determined, selected, or competed for by the first device itself.
  • the first resource when the first resource is an uplink resource, the first resource may be a resource configured by the network device for the first device.
  • the first device after the first device allocates resources for the first data set associated with the first LCH in step S301, in the case where resources are allocated for the second data set based on the data volume of the first data set, in step S302, the first device sends the first data set and the second data set in the first resource; in the case where it is determined not to allocate resources for the first LCH associated with the first data set based on the data volume of the first data set, in step S303, the first device sends the first data set in the first resource.
  • the first device can determine other data (or, second data set) of the first LCH that can be accommodated on the first resource based on the data volume of the first data set, or the first device can determine how much data in the first LCH can be allocated resources based on the data volume of the first data set, or the first device can determine how much resources can be allocated for the data in the first LCH based on the data volume of the first data set, so as to avoid the data in the first LCH from occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness between LCHs.
  • the embodiment shown in FIG. 4 may be an implementation example of the communication method shown in FIG. 3 .
  • the embodiment shown in FIG. 4 will be introduced below.
  • the first device is a terminal device and the second device is a network device.
  • FIG. 4 is another schematic diagram of the communication method provided in the present application.
  • the method includes the following steps.
  • the method is illustrated by taking the terminal device and the network device as the execution subjects of the interactive schematic as an example.
  • the terminal device can be a terminal device or a network device, and the network device can also be a terminal device or a network device, but the present application does not limit the execution subjects of the interactive schematic.
  • the terminal device can be a first device, and the network device can be a second device.
  • the terminal device in FIG4 can also be a chip, a chip system, or a processor that supports the terminal device implementation method, and can also be a logic module or software that can implement all or part of the terminal device.
  • the network device in FIG4 can also be a chip, a chip system, or a processor that supports the network device implementation method, and can also be a logic module or software that can implement all or part of the network device functions.
  • the terminal device obtains a first resource.
  • the first resource may be a new transmission resource.
  • the first resource may be used for new transmission.
  • the terminal device when the terminal device performs a new transmission, or when the terminal device performs a new transmission on the first resource, the terminal device may perform one or more of the following steps.
  • the terminal device updates the third LCH set or the first LCH or the value of the first variable corresponding to the LCH.
  • the third LCH set may include any one or more of the following: the first LCH, the first LCH set, the second LCH set, and all LCHs.
  • the third LCH set is the first LCH.
  • the third LCH set is all LCHs.
  • the third LCH set includes all LCHs.
  • the terminal device updates the value of the first variable corresponding to the LCH is explained by taking the first LCH as an example.
  • the terminal device updates the value of the first variable corresponding to the LCH including: the terminal device increases the value of the first variable of the first LCH by (configured PBR ⁇ T), or the terminal device updates the value of the first variable of the first LCH to (configured PBR ⁇ BSD).
  • T is the time that has passed since the value of the first variable corresponding to the first LCH was last increased.
  • the value of the first variable of the first LCH is greater than (configured PBR ⁇ BSD)
  • the value of the first variable of the first LCH is updated/set to (configured PBR ⁇ BSD).
  • the configured PBR is configured by the network device to the terminal device.
  • BSD Buscket Size Duration
  • the terminal device when/after the first LCH is established, the terminal device initializes/sets the first variable of the first LCH to zero.
  • the value of the first variable of the first LCH is updated to the first value.
  • each LCH or the LCH in the third LCH set may update the value of the corresponding first variable in the above manner.
  • the terminal device determines a first LCH set.
  • determining a first LCH set may include/be understood as: selecting a first LCH set.
  • the first LCH set includes one or more LCHs.
  • the terminal device may determine the first LCH set based on the first LCH restriction set and/or information related to the first resource.
  • the first LCH restriction set may include any one or more of the following: allowedSCS-List, maxPUSCH-Duration, configuredGrantType1Allowed, allowedServingCells, allowedCG-List, allowedPHY-PriorityIndex, and allowedHARQ-mode.
  • the terminal device may determine the first LCH set based on LCH selection of the current standard/protocol (or specified by other means).
  • the terminal device may determine the first LCH set based on a method that is more relaxed than the LCH selection in the current standard/protocol (or specified by other means) (for example, only comparing some LCH restrictions), or the terminal device may not perform step S403. It is understandable that in this way, data that meets condition A or data with a small remaining time can be transmitted on the first resource as much as possible, or data that meets condition A or data with a small remaining time can be transmitted as quickly as possible/prioritized, and timeouts of some data with a small remaining time can be avoided, thereby improving transmission reliability and improving system capacity.
  • LCH restrictions may include: LCP restrictions.
  • S402 and S403 are not limited in this application.
  • S402 can also be executed after S403, or before S403, or simultaneously.
  • the terminal device determines the first LCH set, it can perform one or more of the first round of resource allocation, the second round of resource allocation, and the third round of resource allocation for the LCH in the first LCH set.
  • Other LCHs can be restricted from participating in one or more of the first round of resource allocation, the second round of resource allocation, and the third round of resource allocation.
  • other LCHs may be LCHs that are not suitable for transmission on the first resource (or, the data of other LCHs may be data that is not suitable for transmission on the first resource). If other LCHs are transmitted on the first resource, it may affect their transmission reliability or efficiency, etc. In this way, it can be avoided that the data of LCHs that are not suitable for transmission on the first resource (i.e., other LCHs) is not transmitted on the first resource, and the transmission reliability or efficiency of other LCHs can be guaranteed.
  • the terminal device allocates resources to the first data set.
  • the terminal device allocates resources for the first data set. This may include: the terminal device determines to allocate resources for the first data set.
  • the first data set may include one or more data.
  • the data can be: MAC SDU, or, RLC PDU, or, RLC SDU, MAC subPDU.
  • the resource size allocated to the first data set is not necessarily equal to the data volume of the first data set; they may be equal. They may also be unequal (for example, greater than), which is not limited in this application.
  • the first data set belongs to one or more PDU sets or to one or more data bursts.
  • the first data set belongs to a PDU set or to a data burst.
  • the first data set is associated with the first LCH.
  • the first data set is associated with the first LCH may include/be understood as any one or more of the following:
  • the first data set is associated with the first RLC entity and/or the first PDCP entity.
  • the first data set is cached in the first RLC entity, and the first data set comes from the first RLC entity.
  • the first data set is cached in the first RLC entity and/or the first PDCP entity, or the first data set comes from the first RLC entity and/or the first PDCP entity.
  • the first RLC entity is associated with the first LCH or the ID of the first LCH.
  • the first RLC entity is associated with the first PDCP entity.
  • the remaining time corresponding to the first data set or the data in the first data set is less than or equal to a first threshold.
  • the remaining time corresponding to different data in the first data set may be the same or different, and this application does not limit this.
  • the remaining time may include any one or more of the following: remaining PDB (packet delay budget), remaining PSDB (PDU set delay budget), time/duration to the expiration time.
  • the expiration time may also be a deadline.
  • the remaining time is less than or equal to the first threshold value may include/replace with: the survival time or the cache time is greater than or equal to the second threshold value.
  • the terminal device for example, the AS layer/SDAP layer/PDCP layer/RLC layer of the terminal device
  • obtains data for example, obtains data from the upper layer
  • the upper layer may include an APP layer, an SDAP layer, or a PDCP layer.
  • the sum of the first threshold and the second threshold may be equal to PDB or PSDB.
  • the remaining time corresponding to the data set is less than or equal to the first threshold, which may include any one or more of the following: the data set is data that is about to expire, the time when the data set is about to expire is less than or equal to the first threshold, the remaining valid time of the data set is less than or equal to the first threshold, the remaining packet delay budget (remaining packet delay budget, remaining PDB) of the data in the data set is less than or equal to the first threshold, etc.
  • the first LCH belongs to a first LCH set.
  • the terminal device allocates resources to the first data set.
  • condition 1 may include: the first LCH belongs to the first LCH set.
  • the value of the first variable corresponding to the first LCH is greater than 0.
  • the value of the first variable corresponding to the first LCH is the first value.
  • “before step S404 ” or “before allocating resources to the first data set” may include: before the first round of resource allocation.
  • the terminal device allocates resources to the first data set.
  • condition 2 may include that the value of the first variable corresponding to the first LCH is greater than 0.
  • the terminal device does not allocate resources for the first data set, or the terminal device does not allocate resources for the first LCH, or the terminal device does not allocate resources for the data corresponding to the first LCH.
  • the terminal device allocates resources for the first data set, or the terminal device allocates resources for the first LCH, or the terminal device allocates resources for the data corresponding to the first LCH. It can be understood that fairness between different LCHs can be guaranteed through this implementation, and some LCHs (for example, low-priority LCHs) can be prevented from being starved to death.
  • the data corresponding to LCH may include/be understood as: data in LCH.
  • the value of the first variable corresponding to the first LCH may also be less than or equal to 0, without limitation. It is understandable that the terminal device does not need to consider the value of the first variable corresponding to the first LCH before allocating resources for the first data set or the first LCH or the data corresponding to the first LCH, or the terminal device does not need to consider the value of the first variable corresponding to the LCH during/before the first round of resource allocation. It is understandable that through this implementation, data that meets condition A or data with a small remaining time or the first data set can be transmitted on the first resource as much as possible, or data that meets condition A or data with a small remaining time can be transmitted as soon as possible/prioritized. The data or the first data set can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and increasing system capacity.
  • step S404 or before allocating resources for the first data set data satisfying condition A exists on/in the first LCH.
  • the terminal device allocates resources to the first data set.
  • condition 3 may include the presence of data satisfying condition A on/in the first LCH.
  • condition A may include: the remaining time corresponding to the data is less than or equal to the first threshold, or the remaining time corresponding to the data is smaller.
  • the first threshold may be configured by the network device for the terminal device, or may be preconfigured, or may be predefined by the protocol, or may be stored by the terminal device itself, or may be obtained through other methods/algorithms, and this application does not limit this.
  • the terminal device allocates resources to the first data set.
  • the first condition includes any one or more of the following: condition 1, condition 2, condition 3.
  • the terminal device allocates resources for the first data set
  • the specific implementation method is not limited in this application.
  • implementation method 1, implementation method 2, or other implementation methods may be adopted.
  • Implementation method 1 The terminal device allocates resources for data.
  • the terminal device allocating resources to the first data set may include: the terminal device allocating resources to data that meets condition A.
  • Implementation method 1.1 The terminal device allocates resources to data that meets condition A according to the ascending order of the remaining time corresponding to the data.
  • the terminal device allocates resources to the data satisfying condition A in ascending order of the remaining time corresponding to the data.
  • Implementation method 1.2 The terminal device allocates resources to data satisfying condition A according to the ascending order of the range of the remaining time corresponding to the data.
  • the terminal device allocates resources to the data satisfying condition A in ascending order of the remaining time range corresponding to the data.
  • data belonging to the same remaining time range may correspond to different remaining times or the same remaining time, which is not limited by this application.
  • the remaining time range may be configured by the network device to the terminal device, or may be pre-configured, or may be pre-defined by the protocol, or may be stored by the terminal device itself, or may be obtained by other methods/algorithms, which is not limited by this application.
  • Implementation method 1.3 The terminal device allocates resources to the data that meets condition A according to the priority level corresponding to the data.
  • the terminal device allocates resources to the data satisfying condition A in descending order of priority corresponding to the data.
  • the priority corresponding to the data can be determined based on the remaining time corresponding to the data, or determined based on the range of the remaining time corresponding to the data, which is not limited in this application.
  • mapping relationship between the remaining time corresponding to the data and the priority corresponding to the data.
  • mapping relationship between the range of the remaining time corresponding to the data and the priority corresponding to the data.
  • This application is not limited.
  • Implementation method 1.4 The terminal device allocates resources to data that meets condition A according to the descending order of the priority of the LCH.
  • the terminal device allocates resources to the data satisfying condition A in descending order of priority of the LCHs.
  • the priority of the LCH may include: the priority configured by the network device for the LCH.
  • the priority of the LCH may be referred to as the configured priority of the LCH.
  • Implementation method 2 The terminal device allocates resources for LCH.
  • the terminal device allocating resources to the first data set may include: the terminal device allocating resources to LCHs that meet the first condition based on descending order of priority of the LCHs.
  • the first condition includes any one or more of the following: condition 1a, condition 2a, condition 3a.
  • condition 1a includes: the LCH belongs to the first LCH set.
  • condition 2a includes: the value of the first variable of LCH is greater than 0.
  • condition 3a includes: there is data satisfying condition A on/in the LCH.
  • the first LCH is taken as an example to illustrate "the terminal device allocates resources to the LCH that meets the first condition".
  • the terminal device allocates resources to the first data set may include: the terminal device allocates resources to the first LCH based on the second PBR, or the terminal device allocates resources to the first LCH based on the data volume of the third data set.
  • the value of the second PBR is determined based on the amount of data in the third data set.
  • the value of the second PBR is determined based on the first value.
  • the value of the second PBR is determined based on the data volume of the third data set and the configured PBR.
  • the value of the second PBR is determined based on the first value and the configured PBR.
  • the first value is determined based on the data volume of the third data set.
  • the first value is determined based on the data volume of the third data set
  • this application does not limit how the first value is determined based on the data volume of the third data set.
  • the first value may be equal to (the data volume of the third data set ⁇ 1 second), or other values.
  • the third data set is associated with the first LCH.
  • the third data set is associated with the first LCH
  • the second PBR is associated with the first LCH.
  • the third data set or the remaining time corresponding to the data in the third data set is less than or equal to the first threshold.
  • the third data set may include/be: all data in the first LCH whose remaining time is less than or equal to the first threshold.
  • the value of the second PBR is equal to the amount of data in the third data set; or, the second PBR (eg, the value of the second PBR) is equal to the first value.
  • the terminal device when or before the terminal device allocates resources for the first LCH, if the remaining resources of the first resources can accommodate the entire third data set, the value of the second PBR is equal to the data volume of the third data set, so that the third data set can be transmitted preferentially.
  • the value of the second PBR is equal to the minimum value of the data amount of the third data set and the configured PBR (e.g., the value of the configured PBR); or, the second PBR (e.g., the value of the second PBR) is equal to the minimum value of the first value and the configured PBR (e.g., the value of the configured PBR).
  • implementation 2 takes into account the configured PBR, so that the amount of data that can be allocated resources on the first LCH does not exceed the value of the configured PBR, thereby ensuring the fairness of each LCH and avoiding starvation of low-priority LCHs.
  • the terminal device allocates resources to the first LCH based on the second PBR, and the second PBR is determined based on the configured PBR, which can avoid the data in the first LCH occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness between LCHs.
  • the first data set may be part or all of the third data set.
  • the first data set may include/be: part or all of the data in the first LCH whose remaining time is less than or equal to the first threshold.
  • the method may further include: the terminal device receives second indication information, the second indication information indicating that the configured PBR is considered in implementation mode 2, or the second indication information indicates that the configured PBR is not considered in implementation mode 2.
  • the terminal device can perform resource allocation based on the indication of the network device.
  • “taking into account the configured PBR in implementation 2" may include: allocating resources to the LCH (e.g., the first LCH) based on the second PBR or the configured PBR.
  • “not taking into account the configured PBR in implementation 2” may include: not allocating resources to the LCH (e.g., the first LCH) based on the second PBR or the configured PBR.
  • the configuration granularity of the second indication information may be configured for the terminal device or for the LCH.
  • the terminal device may also allocate resources for other LCHs (eg, the fourth LCH set) or data of other LCHs.
  • the LCH in the fourth LCH set satisfies the first condition.
  • the first condition includes any one or more of the following: condition 1a, condition 2a, and condition 3a.
  • the fourth LCH set is a subset of the first LCH set, or the fourth LCH set is equal to the first LCH set.
  • the process corresponding to step S404 may be referred to as a first round of resource allocation (or referred to as an Xth round of resource allocation).
  • the first round of resource allocation may involve a first data set and may also involve other data, which is not limited in this application.
  • the first round of resource allocation may involve a first LCH and may also involve other LCHs, which is not limited in this application.
  • the first round of resource allocation may allocate resources for data or allocate resources for LCH.
  • step S404 may include: in the first round of resource allocation.
  • step S404 can be used as an independent embodiment and is not dependent on other steps; or, step S404 can be combined with one or more other steps to serve as an independent embodiment.
  • the terminal device may perform resource allocation based on the LCP process in the current standard/protocol (or specified by other means).
  • the amount of data of the first data set is less than or equal to any one or more of the following, or the amount of data of the first data set is determined based on any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH does not exceed any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH in S404 does not exceed any one or more of the following:
  • the terminal device updates the value of the first variable corresponding to the first LCH or fourth LCH set.
  • the terminal device subtracts the amount of data of the first data set from the value of the first variable of the first LCH.
  • the terminal device updates the value of the first variable of the first LCH to (first value-data volume of the first data set), that is, the second value.
  • the terminal device subtracts the amount of data for which resources are allocated on the LCH from the value of the first variable of the LCH.
  • step S405 can be used as an independent embodiment and is not dependent on other steps; or, step S405 can be used as an independent embodiment together with step S404, or, step S405 can be combined with one or more other steps as an independent embodiment.
  • the terminal device determines a second LCH set.
  • determining a second LCH set may include/be understood as: selecting a second LCH set.
  • the second LCH set includes one or more LCHs.
  • the terminal device may determine the second LCH set based on the second LCH restriction set and/or information related to the first resource.
  • the second LCH restriction set may include any one or more of the following: allowedSCS-List, maxPUSCH-Duration, configuredGrantType1Allowed, allowedServingCells, allowedCG-List, allowedPHY-PriorityIndex, and allowedHARQ-mode.
  • first LCH set and the second LCH set may be the same or different, and this application does not limit this.
  • first LCH restriction set and the second LCH restriction set may be the same or different, and this application does not limit this.
  • the terminal device may determine the second LCH set based on LCH selection of the current standard/protocol (or specified by other means).
  • the terminal device may determine the second LCH set based on a stricter method than the LCH selection in step S403 (for example, comparing more LCH restrictions). It is understandable that after the terminal device determines the second LCH set, it may perform one or more of the second round of resource allocation and the third round of resource allocation for the LCH in the second LCH set. Other LCHs may be restricted from participating in one or more of the second round of resource allocation and the third round of resource allocation. For example, other LCHs may be LCHs that are not suitable for transmission on the first resource (or, the data of other LCHs may be data that is not suitable for transmission on the first resource). If other LCHs are transmitted on the first resource, it may affect the transmission reliability or efficiency thereof. This can avoid the data of LCHs that are not suitable for transmission on the first resource (i.e., other LCHs) from not being transmitted on the first resource, and can ensure the transmission reliability or efficiency of other LCHs.
  • S405 and S406 are not limited in this application.
  • S405 may also be executed after S406, or, Before, or at the same time.
  • the terminal device executes step S407-1 or step S407-2.
  • the terminal device executes step S407-1 or step S407-2.
  • the terminal device allocates resources to the second data set based on the data volume of the first data set.
  • the terminal device allocates resources to the second data set based on the data amount of the first data set.
  • the terminal device allocating resources to the second data set based on the data volume of the first data set may include: the terminal device allocating resources to the first LCH based on the data volume of the first data set.
  • the second data set is associated with the first LCH.
  • the second data set is associated with the first LCH
  • the content related to “the first data set is associated with the first LCH” please refer to the content related to “the first data set is associated with the first LCH”, and you can understand it by replacing the first data set with the second data set. It will not be repeated here.
  • the terminal device allocating resources to the second data set based on the data volume of the first data set may include: the terminal device determining to allocate resources to the second data set based on the data volume of the first data set.
  • the terminal device allocating resources to the second data set based on the data volume of the first data set may include: the terminal device determining to allocate resources to the second data set, or, the terminal device allocating resources to the first LCH, or, the terminal device allocating resources to the first LCH based on the configured PBR.
  • Allocating resources for the second data set may include: allocating resources for the first LCH.
  • the first LCH belongs to the second LCH set or the set of the first LCH.
  • condition #1 the terminal device allocates resources to the second data set.
  • condition #1 may include: the first LCH belongs to the second LCH set or the set of the first LCH.
  • the value of the first variable corresponding to the first LCH is greater than 0.
  • the value of the first variable corresponding to the first LCH is the first value or the second value.
  • condition #2 the terminal device allocates resources to the second data set.
  • condition #2 may include that the value of the first variable corresponding to the first LCH is greater than 0.
  • the terminal device does not allocate resources for the second data set, or the terminal device does not allocate resources for the first LCH, or the terminal device does not allocate resources for the data corresponding to the first LCH.
  • the terminal device allocates resources for the second data set, or the terminal device allocates resources for the first LCH, or the terminal device allocates resources for the data corresponding to the first LCH. It can be understood that fairness between different LCHs can be guaranteed through this implementation, and some LCHs (for example, low-priority LCHs) can be prevented from being starved to death.
  • the value of the first variable corresponding to the first LCH may also be less than or equal to 0, without limitation. It is understandable that the terminal device does not need to consider the value of the first variable corresponding to the first LCH before allocating resources for the second data set or the first LCH or the data corresponding to the first LCH, or the terminal device does not need to consider the value of the first variable corresponding to the LCH during/before the second round of resource allocation.
  • the terminal device allocates resources to the second data set.
  • condition #3 may include the first parameter being greater than zero.
  • the terminal device allocates resources to the second data set.
  • the second condition may include any one or more of the following: condition #1, condition #2, condition #3.
  • the amount of data of the second data set is less than or equal to any one or more of the following, or the amount of data of the second data set is determined based on any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH does not exceed any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH in S407 does not exceed any one or more of the following:
  • "after allocating resources to the first data set” may include: after the first round of resource allocation.
  • the amount of data determined based on the first PBR may be equal to the value of the first PBR, or (the first PBR value ⁇ the time domain length), or other values.
  • the time domain length is the duration of the first resource in the time domain. For example, the unit of the time domain length is seconds.
  • the first PBR is determined based on the data amount of the first data set.
  • the first PBR is determined based on the data volume of the first data set and the configured PBR.
  • the first PBR is determined based on the second value.
  • the first PBR is determined based on the second value and the configured PBR.
  • the first PBR is determined based on the second PBR.
  • the first PBR is determined based on the second PBR and the configured PBR.
  • the second value is determined based on the data volume of the first data set.
  • the second value is determined based on the data volume of the first data set
  • this application does not limit how the second value is determined based on the data volume of the first data set.
  • the second value may be equal to (the data volume of the first data set ⁇ 1 second), or other values.
  • the first PBR may include the value of the first PBR.
  • the second PBR may include the value of the second PBR.
  • the first PBR is determined based on the data amount of the first data set
  • this application does not limit how the first PBR is determined based on the data amount of the first data set.
  • the first PBR is determined based on the data volume of the first data set and the configured PBR
  • this application does not limit how the first PBR is determined based on the data volume of the first data set and the configured PBR.
  • the first PBR is determined based on the second value
  • this application does not limit how the first PBR is determined based on the second value.
  • the first PBR is determined based on the second value and the configured PBR
  • this application does not limit how the first PBR is determined based on the second value and the configured PBR.
  • the first PBR is determined based on the second PBR
  • this application does not limit how the first PBR is determined based on the second PBR.
  • the first PBR is determined based on the second PBR and the configured PBR
  • this application does not limit how the first PBR is determined based on the second PBR and the configured PBR.
  • the first PBR may be equal to 0.
  • the first PBR can be equal to (the value of the configured PBR - the data volume of the first data set), or (the value of the configured PBR ⁇ 1 second - the data volume of the first data set), or the maximum value of (the value of the configured PBR - the data volume of the first data set) and 0, or the maximum value of (the value of the configured PBR ⁇ 1 second - the data volume of the first data set) and 0, or other values.
  • the first PBR may be equal to 0.
  • the first PBR may be equal to (the second value - the second PBR).
  • the first PBR may be equal to 0.
  • the first PBR may be equal to (the value of the configured PBR - the second PBR).
  • “remaining resources after allocating resources to the first data set” may include any one or more of the following: remaining resources before allocating resources to the second data set, remaining resources after step S404, or remaining resources of the first resources; remaining resources after the first round of resource allocation.
  • step S404 may include: after the first round of resource allocation.
  • the remaining resources may include/be understood as: the amount of data that the remaining resources can carry.
  • the remaining resources after allocating resources for the first data set may include/be understood as: the amount of data that the remaining resources can carry after allocating resources for the first data set.
  • the terminal device allocating resources to the second data set based on the data volume of the first data set may include/be replaced by: the terminal device The device allocates resources for the second data set based on the first parameter.
  • the first parameter is associated with the first LCH.
  • the first parameter can be used for any one or more of the following: a resource allocation process, an LCP process, a starvation avoidance mechanism, or a token bucket mechanism.
  • the first parameter is associated with resource allocation of the first LCH.
  • the first parameter includes any one or more of the following:
  • the terminal device when the terminal device allocates resources to the second data set/first LCH based on the data volume of the first data set, fairness between the LCHs can be guaranteed, and other LCHs (for example, low-priority LCHs) can be prevented from being starved.
  • other LCHs for example, low-priority LCHs
  • the first device can determine how much data in the first LCH can be allocated resources based on the data volume of the first data set, or the first device can determine how much resources can be allocated for the data in the first LCH based on the data volume of the first data set, so that the data in the first LCH can be prevented from occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness between LCHs.
  • variable corresponding to the LCH involved in this embodiment and the following embodiments is used to indicate the variable maintained by the terminal device for the LCH.
  • the variable corresponding to the LCH can be used to indicate at least one of the following: indicating whether the LCH can carry data, indicating the amount of data that the LCH can carry, or indicating the data transmission rate of the LCH when the LCH can carry data.
  • the variable corresponding to the LCH can be used for any one or more of the following: a resource allocation process, an LCP process, a starvation avoidance mechanism, or a token bucket mechanism.
  • variable can be expressed as B, or Bj, or other symbols, which is not limited in this application.
  • the value of the first variable corresponding to the first LCH is a first value.
  • the value of the first variable corresponding to the first LCH is the first value or the second value.
  • the second value is determined based on the first value and the amount of data in the first data set.
  • the first value is greater than 0.
  • the second value is greater than 0.
  • the terminal device may consider avoiding RLC segmentation as much as possible.
  • the terminal device may consider avoiding RLC segmentation as much as possible based on the above content.
  • the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
  • the terminal device determines not to allocate resources for the second data set based on the data amount of the first data set.
  • the terminal device determines not to allocate resources to the second data set based on the data volume of the first data set, which may include: the terminal device determines not to allocate resources to the first LCH based on the data volume of the first data set.
  • the terminal device determining not to allocate resources for the second data set based on the data volume of the first data set may include: the terminal device determining not to allocate resources for the second data set.
  • “Not allocating resources for the second data set” may include: not allocating resources for the first LCH.
  • the second data set is associated with the first LCH.
  • the first LCH belongs to the second LCH set or the set of the first LCH.
  • condition #1 the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
  • step S407-2 or before step S407 or before determining not to allocate resources for the second data set based on the data amount of the first data set the value of the first variable corresponding to the first LCH is greater than 0.
  • the value of the first variable corresponding to the first LCH is the first value or the second value.
  • condition #2 the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
  • "before step S407-1" or “before step S407” or “before allocating resources for the second data set” or “before step S407-1 ... S407-2" or “before determining not to allocate resources to the second data set based on the data amount of the first data set” may include: before the second round of resource allocation.
  • the terminal device does not allocate resources for the first LCH, or the terminal device does not allocate resources for the data corresponding to the first LCH.
  • the terminal device determines not to allocate resources for the first LCH based on the data volume of the first data set, or the terminal device determines not to allocate resources for the data of the first LCH based on the data volume of the first data set.
  • fairness between different LCHs can be guaranteed through this implementation, and some LCHs (for example, low-priority LCHs) can be prevented from being starved to death.
  • the value of the first variable corresponding to the first LCH may also be less than or equal to 0, without limitation. It is understandable that before the terminal device determines not to allocate resources for the first LCH or the data corresponding to the first LCH based on the data volume of the first data set, or before the terminal device is in/before the second round of resource allocation, it is not necessary to consider the value of the first variable corresponding to the first LCH.
  • the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
  • the fourth condition may include any one or more of the following: condition #1, condition #2.
  • the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set, including/replaced by:
  • the terminal determines not to allocate resources for the second data set; and/or,
  • the terminal device determines not to allocate resources for the second data set based on the second parameter or the first parameter.
  • the second parameter includes any one or more of the following:
  • the third condition includes: the second parameter or the first parameter is less than or equal to 0.
  • the third condition includes: the amount of data determined based on the first PBR is less than or equal to 0.
  • the value of the first variable corresponding to the first LCH is the first value or the second value.
  • the first value is less than or equal to 0.
  • the second value is less than or equal to 0.
  • the method may also include: the terminal device receives first indication information, the first indication information indicates that resources are allocated to the LCH based on the data volume of the first data set, or the first indication information indicates that resources are not allocated to the LCH based on the data volume of the first data set.
  • allocating resources to LCH based on the data volume of the first data set may include: considering the result of the first round of resource allocation in the second round of resource allocation.
  • not allocating resources to LCH based on the data volume of the first data set may include: not considering the result of the first round of resource allocation in the second round of resource allocation.
  • “Based on the amount of data of the first data set” may include/be replaced by: based on the first parameter, or, based on the second parameter.
  • the configuration granularity of the first indication information may be configured for the terminal device, or may be configured for the LCH (eg, the first LCH).
  • the value of the first variable corresponding to the first LCH is the first value or the second value.
  • the value of the first variable corresponding to the first LCH is the first value.
  • the terminal device may update the value of the first variable corresponding to the first LCH, or may not update the value of the first variable corresponding to the first LCH.
  • the terminal device can update the value of the first variable corresponding to the first LCH, that is, update the first value to the second value, so that in the above implementation process, before the terminal device determines not to allocate resources to the first LCH based on the data amount of the first data set in step S407-2 (or the terminal device determines to allocate resources to the first LCH in step S407-1), the value of the first variable corresponding to the first LCH is the second value.
  • the terminal device may not update the value of the first variable corresponding to the first LCH, so that in the above implementation process, before the terminal device determines not to allocate resources for the first LCH based on the data volume of the first data set in step S407-2 (or the terminal device determines to allocate resources for the first LCH in step S407-1), the value of the first variable corresponding to the first LCH is The value is the first value.
  • the value of the first variable corresponding to the first LCH is any one of the following:
  • the terminal device updates the value of the first variable corresponding to the first LCH to any one of the following:
  • the first value is the difference between the amount of data in the first data set and the amount of data in the second data set; or,
  • the value of the first variable corresponding to the first LCH is updated to: the difference between the first value and the data volume of the first data set.
  • the terminal device may update the first variable corresponding to the first LCH at least once. It is understandable that fairness between different LCHs can be guaranteed through this implementation, and certain LCHs (e.g., low-priority LCHs) can be prevented from being starved.
  • the terminal device may also allocate resources for data of certain LCHs (e.g., the fifth LCH set), and/or the terminal device may also determine not to allocate resources for data of certain LCHs (e.g., the sixth LCH set).
  • the LCHs in the fifth LCH set and/or the sixth LCH set meet the second condition.
  • the second condition includes any one or more of the following: condition #1a, condition #2a, condition #3a.
  • condition #1a may include: the LCH belongs to the second LCH set or the first LCH set.
  • condition #2a may include: the value of the first variable of LCH is greater than 0.
  • condition #3a may include: the first parameter of LCH is greater than zero.
  • the fifth LCH set is a subset of the second LCH set, or the fifth LCH set is equal to the second LCH set.
  • the fifth LCH set is a subset of the first LCH set, or the fifth LCH set is equal to the first LCH set.
  • the terminal device performs resource allocation for the LCHs in the fifth LCH set in descending order of priority of the LCHs (eg, priority of the configured LCHs).
  • the terminal device performs resource allocation for the LCHs in the sixth LCH set in descending order of priority of the LCHs (eg, priority of the configured LCHs).
  • the terminal device performs resource allocation for the LCHs in the fifth LCH set and the sixth LCH set in descending order of priority of the LCHs (eg, priority of the configured LCHs).
  • resource allocation is performed in descending order of priority of the LCHs.
  • the process corresponding to step S407 may be referred to as a second round of resource allocation (or referred to as a Yth round of resource allocation).
  • the second round of resource allocation may involve the first LCH or other LCHs, which is not limited in this application.
  • the second round of resource allocation may allocate resources for the LCH.
  • “before, after, or during step S407 ” may include: during the second round of resource allocation.
  • the terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or (the fourth LCH set and the fifth LCH set).
  • the terminal device subtracts the amount of data of the second data set from the value of the first variable of the first LCH.
  • the terminal device updates the value of the first variable of the first LCH to (the second value-the data amount of the second data set), that is, the third value.
  • the terminal device updates the value of the first variable of the first LCH to (the first value - the amount of data in the second data set), that is, Four values.
  • the terminal device subtracts the data volume of the first data set and the data volume of the second data set from the value of the first variable of the first LCH.
  • the terminal device updates the value of the first variable of the first LCH to (first value-(data volume of the first data set+data volume of the second data set)), that is, the third value.
  • the terminal device subtracts the amount of data in the first data set from the value of the first variable of the first LCH.
  • the terminal device updates the value of the first variable of the first LCH to (first value-data volume of the first data set), that is, the second value.
  • the terminal device subtracts the amount of data for which resources are allocated on the LCH in the first round of resource allocation process from the value of the first variable of the LCH.
  • the terminal device subtracts the amount of data for which resources are allocated on the LCH in the second round of resource allocation process from the value of the first variable of the LCH.
  • the terminal device subtracts the sum of the amount of data for which resources are allocated to the LCH in the first round of resource allocation process and the amount of data for which resources are allocated to the LCH in the second round of resource allocation process from the value of the first variable of the LCH.
  • the first variable corresponding to some LCHs may be less than or equal to 0, even if the resources allocated to this LCH have not yet met its PBR requirement, but if only the LCHs with the value of the first variable greater than 0 are considered in step S407, these LCHs with the value of the first variable less than or equal to 0 can no longer be allocated resources in the second round of resource allocation.
  • the PBR requirement of the LCH can be met, which is conducive to improving communication quality and efficiency.
  • the first variable corresponding to the LCH is subtracted from the sum of the amount of data allocated to resources in the first round of resource allocation and the amount of data allocated to resources in the second round of resource allocation. This can ensure fairness among the LCHs and prevent other LCHs (for example, low-priority LCHs) from starving.
  • step S408 can be used as an independent embodiment and is not dependent on other steps; or, step S408 can be combined with one or more other steps (for example, step S404; or, for example, step 407, or, for example, step S404 and step S407) as an independent embodiment.
  • the terminal device allocates resources to the first LCH or the second LCH set (or the LCH in the second LCH set) or the first LCH set (or the LCH in the first LCH set) or the LCH or any LCH.
  • the terminal device executes step S409.
  • the process corresponding to step S409 may be referred to as a third round of resource allocation (or referred to as a Zth round of resource allocation).
  • the third round of resource allocation may involve the first LCH, or may also involve other LCHs, which is not limited in this application.
  • the third round of resource allocation may allocate resources for the LCH.
  • step S409 or in the third round of resource allocation it may not be considered whether the first variable of LCH is greater than 0.
  • resources are allocated in descending order of priority of LCH (regardless of the value of Bj) until the data of the logical channel or one of the first resources is exhausted.
  • logical channels with the same LCH priority may be processed equally.
  • the terminal device may allocate resources for the seventh LCH set.
  • the terminal device may allocate resources for the fourth data set of the first LCH.
  • the seventh LCH set is a subset of the second LCH set, or the seventh LCH set is equal to the second LCH set.
  • the seventh LCH set is a subset of the first LCH set, or the seventh LCH set is equal to the first LCH set.
  • S4010 The terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or the seventh resource set or (the fourth LCH set and the fifth LCH set) or (the fourth LCH set and the seventh LCH set) or (the fifth LCH set and the seventh LCH set) or (the fourth LCH set and the fifth LCH set and the seventh resource set).
  • the first variable corresponding to the first LCH The value of is: the first value, or, the second value, or, the third value, the fourth value.
  • the terminal device subtracts any one or more of the following from the value of the first variable of the first LCH: the amount of data of the first data set, the amount of data of the second data set, and the amount of data of the fourth data set.
  • the terminal device subtracts the sum of the amount of data for which resources are allocated to the LCH in the first round of resource allocation and the amount of data for which resources are allocated to the LCH in the second round of resource allocation from the value of the first variable of the LCH.
  • the first variable corresponding to some LCHs may be less than or equal to 0, even if the resources allocated to this LCH have not yet met its PBR requirement, but if only the LCHs with the value of the first variable greater than 0 are considered in step S407, these LCHs with the value of the first variable less than or equal to 0 can no longer be allocated resources in the second round of resource allocation.
  • the PBR requirement of the LCH can be met, which is conducive to improving communication quality and efficiency.
  • the first variable corresponding to the LCH is subtracted from the sum of any two or more of the data amount allocated to resources in the first round of resource allocation, the data amount allocated to resources in the second round of resource allocation, and the data amount allocated to resources in the third round of resource allocation. This can ensure fairness among the LCHs and prevent other LCHs (for example, low-priority LCHs) from starving to death.
  • the terminal device executes step S4011-1 or step S4011-2.
  • the terminal device sends a first data set and a second data set.
  • the network device receives the first data set and the second data set.
  • the terminal device sends a first data set.
  • the network device receives the first data set.
  • data satisfying condition A or data with a small remaining time can be transmitted on the first resource as much as possible, or data satisfying condition A or data with a small remaining time can be transmitted as soon as possible/prioritized, which can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and system capacity. It can also ensure fairness between different LCHs and avoid starvation of some LCHs (e.g., low-priority LCHs).
  • the terminal device can adjust the PBR of the LCH based on the data that is about to expire during the first round of resource allocation mentioned above, perform the first round of resource allocation based on the adjusted PBR, and then perform the second round of resource allocation.
  • the terminal device can adjust the PBR of the LCH based on the data that is about to expire during the first round of resource allocation mentioned above, perform the first round of resource allocation based on the adjusted PBR, and then perform the second round of resource allocation.
  • the PBR is adjusted based on the data with a remaining time less than the threshold, and then resources are allocated to other data according to the LCP mechanism (such as the first round of resource allocation and the second round of resource allocation mentioned above) based on the adjusted PBR.
  • the above implementation will cause the terminal device to allocate fewer resources for other data, thereby affecting the transmission of other data.
  • the Bj corresponding to the LCH where the data with a remaining time less than the threshold is located is greater than 0, so that the data placed in the LCH during the first round of resource allocation (including data with a remaining time less than the threshold) exceeds the PBR requirement of the LCH, which is unfair to other LCHs and may cause the data in other LCHs to be unable to be transmitted or delayed in transmission.
  • the embodiment of the present application provides a communication method shown in Figure 5E, which will be described in detail below.
  • FIG. 5E is a schematic diagram of a communication method provided in the present application. The method includes the following steps.
  • FIG. 5E uses a terminal device and a network device as an example to illustrate the method as the execution subject of the interactive schematic.
  • the terminal device may be a terminal device or a network device, and the network device may be a terminal device or a network device, but the present application does not limit the execution subject of the interactive schematic.
  • the terminal device may be a first device, and the network device may be a second device.
  • the terminal device in FIG. 5E may also be a chip, a chip system, or a processor that supports the terminal device implementation method, or a logic module or software that can implement all or part of the terminal device.
  • 5E may also be a chip, a chip system, or a processor that supports the network device implementation method, or a logic module or software that can implement all or part of the network device functions.
  • the method illustrated in FIG. 5E includes steps S501 and S502, and each step will be introduced below.
  • the terminal device obtains a first resource.
  • step S501 updates the third LCH set or the first LCH or the value of the first variable corresponding to the LCH.
  • the content of step S501 can refer to the content of S401 and will not be repeated here.
  • the terminal device determines a first LCH set.
  • the terminal device allocates resources to the first LCH based on the second PBR.
  • step S504 can refer to the above “Implementation Method 2” and related descriptions, which will not be repeated here.
  • the terminal device updates the value of the first variable corresponding to the first LCH or fourth LCH set.
  • the terminal device determines a second LCH set.
  • the terminal device executes step S507-1 or step S507-2.
  • the terminal device allocates resources to the second data set based on the data volume of the first data set.
  • the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
  • the terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or (the fourth LCH set and the fifth LCH set).
  • the terminal device allocates resources to the first LCH or the second LCH set (or the LCH in the second LCH set) or the first LCH set (or the LCH in the first LCH set) or the LCH or any LCH.
  • the terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or the seventh resource set or (the fourth LCH set and the fifth LCH set) or (the fourth LCH set and the seventh LCH set) or (the fifth LCH set and the seventh LCH set) or (the fourth LCH set and the fifth LCH set and the seventh resource set).
  • the terminal device executes step S5011-1 or step S5011-2.
  • the terminal device sends a first data set and a second data set.
  • the network device receives the first data set and the second data set.
  • the terminal device sends a first data set.
  • the network device receives the first data set.
  • the method further includes: the terminal device receives second indication information.
  • the content of the embodiment described in FIG. 5E can refer to the content of the embodiment described in FIG. 4, and will not be repeated here.
  • the content of step S50X can refer to the content of S40X and will not be repeated here.
  • X is 1, 2, 3, 4, 5, 6, 7, 7-1, 7-2, 8, 9, 10, 11.
  • data satisfying condition A or data with a small remaining time can be transmitted on the first resource as much as possible, or data satisfying condition A or data with a small remaining time can be transmitted as soon as possible/prioritized, which can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and system capacity. It can also ensure fairness between different LCHs and avoid starvation of some LCHs (e.g., low-priority LCHs).
  • the terminal device can adjust the priority of the LCH where the data is located based on the data that is about to expire during the first round of resource allocation mentioned above, and then respectively perform the first round of resource allocation and the second round of resource allocation process.
  • the LCH priority is adjusted based on the data with a remaining time less than the threshold, and then resources are allocated to other data according to the LCP mechanism (such as the first round of resource allocation and the second round of resource allocation mentioned above).
  • the above implementation will cause the terminal device to allocate fewer resources for other data, thereby affecting the transmission of other data.
  • the LCH with dynamically adjusted priority may contain not only data with a small remaining time, but also data with a large remaining time. It is unreasonable for the terminal device to group/include the data with a large remaining time in the LCH with dynamically adjusted priority when grouping.
  • the embodiment of the present application provides a communication method shown in Figure 6, which will be described in detail below.
  • FIG. 6 is a schematic diagram of a communication method provided in the present application. The method includes the following steps.
  • FIG6 uses the terminal device and the network device as the execution subject of the interactive schematic as an example to illustrate the method.
  • the terminal device can be a terminal device or a network device, and the network device can also be a terminal device or a network device, but the present application does not limit the execution subject of the interactive schematic.
  • the terminal device can be the first device, and the network device can be the second device.
  • the terminal device in FIG6 can also be It is a chip, chip system, or processor that supports the terminal device implementation method, and it can also be a logic module or software that can implement all or part of the terminal device.
  • the network device in Figure 6 can also be a chip, chip system, or processor that supports the network device implementation method, and it can also be a logic module or software that can implement all or part of the network device functions.
  • the method shown in Figure 6 includes steps S601 and S602, and each step will be introduced below.
  • the terminal device obtains a first resource.
  • the terminal device updates the third LCH set or the first LCH or the value of the first variable corresponding to the LCH.
  • the terminal device determines a first LCH set.
  • the terminal device determines the priority of the first LCH or the fourth LCH set.
  • the first LCH or the fourth LCH set belongs to the first LCH set.
  • the terminal device determines the priority of the first LCH or the fourth LCH set.
  • the fifth condition may include: there is data satisfying condition A on/in the first LCH or the fourth LCH set, and, or, the first LCH or the fourth LCH set belongs to the first LCH set.
  • the determined priority of the LCH may be referred to as the adjusted priority of the LCH. It should be noted that the present application does not limit how the priority of the LCH is specifically adjusted/determined.
  • the terminal device can determine the priority of LCH based on the remaining time corresponding to the data in LCH (for example, the minimum remaining time, or the average remaining time), or based on the range of remaining time corresponding to the data in LCH (for example, the range of remaining time corresponding to the minimum remaining time, or the range of remaining time corresponding to the average remaining time).
  • the adjusted priority of the LCH is or is equal to: the priority of the LCH corresponding to the remaining time corresponding to the data in the LCH or the range of the remaining time corresponding to the data in the LCH.
  • mapping relationship between the remaining time corresponding to the data in the LCH or the range of the remaining time corresponding to the data in the LCH and the offset of the priority of the LCH or the offset of the priority value corresponding to the priority of the LCH.
  • the priority of the adjusted LCH is or is equal to: the sum or difference of the priority of the configured LCH and the offset of the priority of the LCH corresponding to the remaining time corresponding to the data in the LCH or the range of the remaining time corresponding to the data in the LCH.
  • the priority value corresponding to the priority of the adjusted LCH is or is equal to: the sum or difference of the priority value corresponding to the priority of the configured LCH and the offset of the priority of the LCH corresponding to the remaining time corresponding to the data in the LCH or the range of the remaining time corresponding to the data in the LCH or the offset of the priority value corresponding to the priority of the LCH.
  • mapping relationship can be configured by the network device to the terminal device, or it can be pre-configured, pre-defined by the protocol, stored by the terminal device itself, or obtained through other methods/algorithms, which is not limited in this application.
  • the terminal device allocates resources to the first LCH.
  • the priority of the first LCH or the fourth LCH set is adjusted.
  • the priority of the first LCH or the fourth LCH set is adjusted based on the remaining time or the range of the remaining time.
  • the priority of the LCH can be referred to as the adjusted priority of the LCH.
  • the priority of the first LCH may be different from the priority of the first LCH configured by the network device.
  • the priority of the adjusted LCH is determined based on the remaining time corresponding to the data in the LCH (for example, the minimum remaining time, or the average remaining time), or based on the range of the remaining time corresponding to the data in the LCH (for example, the range of the remaining time corresponding to the minimum remaining time, or the range of the remaining time corresponding to the average remaining time).
  • the priority of the LCH please refer to the content in S604a, which will not be repeated here.
  • the terminal device allocates resources to the first LCH may include any one or more of the following: the terminal device allocates resources to the first LCH based on the data volume of the third data set or the second PBR; the terminal device allocates resources to the first data set; or the terminal device allocates resources to the first data set based on the data volume of the third data set or the second PBR.
  • the amount of data of the first data set is less than or equal to any one or more of the following, or the amount of data of the first data set is determined based on any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH does not exceed any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH in S604 does not exceed any one or more of the following:
  • the terminal device may also allocate resources for other LCHs (eg, the fourth LCH set) or data of other LCHs.
  • the LCH in the fourth LCH set satisfies the first condition.
  • the first condition includes any one or more of the following: condition 1a, condition 2a, and condition 3a.
  • the fourth LCH set is a subset of the first LCH set, or the fourth LCH set is equal to the first LCH set.
  • the terminal device performs resource allocation for the LCHs in the fourth LCH set in descending order of priority of the LCHs (eg, priority of the adjusted LCHs).
  • the data volume of the first data set sent by the terminal device in step S601 is the minimum value of at least one of the following information, and the at least one information includes: the data volume of the third data set, the remaining resources after allocating resources for other data or other signaling, or the second PBR.
  • the data volume of the first data set is the data volume of the third data set, so that all data sets with remaining time less than or equal to a threshold can be successfully transmitted.
  • the method may further include: the terminal device receives third indication information, the third indication information indicates that resources are allocated to the first LCH based on the data volume of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data volume of the third data set.
  • the terminal device determines whether to allocate resources to the first LCH based on the data volume of the third data set based on the indication of the network device.
  • the terminal device updates the value of the first variable corresponding to the first LCH or fourth LCH set.
  • the terminal device determines a second LCH set.
  • the terminal device executes step S607-1 or step S607-2.
  • the terminal device allocates resources to the second data set based on the data volume of the first data set.
  • the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
  • the terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or (the fourth LCH set and the fifth LCH set).
  • the terminal device allocates resources to the first LCH or the second LCH set (or the LCH in the second LCH set) or the first LCH set (or the LCH in the first LCH set) or the LCH or any LCH.
  • the terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or the seventh resource set or (the fourth LCH set and the fifth LCH set) or (the fourth LCH set and the seventh LCH set) or (the fifth LCH set and the seventh LCH set) or (the fourth LCH set and the fifth LCH set and the seventh resource set).
  • the terminal device executes step S6011-1 or step S6011-2.
  • the terminal device sends a first data set and a second data set.
  • step S6011-1 the network device receives the first data set and the second data set.
  • the terminal device sends a first data set.
  • step S6011-2 the network device receives the first data set.
  • the method further includes: the terminal device receives second indication information.
  • the content of the embodiment described in FIG. 6 can refer to the content of the embodiment described in FIG. 4, and will not be repeated here.
  • the content of step S60X can refer to the content of S40X and will not be repeated here.
  • X is 1, 2, 3, 4, 5, 6, 7, 7-1, 7-2, 8, 9, 10, 11.
  • data satisfying condition A or data with a small remaining time can be transmitted on the first resource as much as possible, or data satisfying condition A or data with a small remaining time can be transmitted as soon as possible/prioritized, which can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and system capacity. It can also ensure fairness between different LCHs and avoid starvation of some LCHs (e.g., low-priority LCHs).
  • words such as “exemplary” or “for example” are used to indicate examples, illustrations or descriptions. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as “exemplary” or “for example” is intended to present related concepts in a concrete way for easy understanding.
  • the embodiment of the present application provides a communication device 700, which can implement the functions of the first device or the second device in the above method embodiment, and thus can also achieve the beneficial effects of the above method embodiment.
  • the communication device 700 can be the first device or the second device, or it can be an integrated circuit or component inside the first device or the second device, such as a chip.
  • the following embodiments are described by taking the communication device 700 as the first device or the second device as an example.
  • the device when the device 700 is used to execute the method executed by the first device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to allocate resources for a first data set, and the first data set is associated with a first logical channel LCH; the processing unit 701 is also used to allocate resources for a second data set based on the data volume of the first data set, and the transceiver unit 702 is used to send the first data set and the second data set in the first resource, and the second data set is associated with the first LCH; or, the processing unit 701 is also used to determine not to allocate resources for the first LCH based on the data volume of the first data set, and the transceiver unit 702 is also used to send the first data set in the first resource.
  • the processing unit 701 is also used to determine not to allocate resources for the first LCH based on the data volume of the first data set, and the transceiver unit 702 is also used to send the first data set
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit 701 is further used to allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set.
  • a value of the first variable corresponding to the first LCH is greater than 0.
  • the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit 701 is specifically used to allocate resources to the second data set based on a first parameter, or determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit 702 is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
  • the first data set includes K parts; the processing unit 701 is specifically used to allocate resources to the first data set based on any of the following items, including: sorting the remaining time lengths corresponding to the K parts from small to large, sorting the ranges of the remaining time lengths corresponding to the K parts from small to large, sorting the data priorities of the K parts from high to low, and sorting the channel priorities of the K logical channels corresponding to the K parts from high to low.
  • the processing unit 701 is specifically used to: allocate resources to the first LCH based on a second PBR, where the second PBR is determined based on the data amount of a third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the transceiver unit 702 is further used to receive second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  • the processing unit 701 allocates resources to the first data set including any of the following:
  • condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
  • the device 700 when the device 700 is used to execute the method executed by the second device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to determine a first resource; the transceiver unit 702 is used to receive a first data set in the first resource, or, the transceiver unit 702 is used to receive the first data set and a second data set in the first resource; wherein the first data set and the second data set are both associated with a first logical channel LCH, and the resources allocated to the second data set are determined based on the data amount of the first data set.
  • the processing unit 701 is used to determine a first resource
  • the transceiver unit 702 is used to receive a first data set in the first resource
  • the transceiver unit 702 is used to receive the first data set and a second data set in the first resource
  • the first data set and the second data set are both associated with a first logical channel LCH, and the resources allocated to the second
  • the amount of data in the second data set is less than or equal to any one of the following: The data volume, the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after allocating resources to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit 702 is further used to receive other data sets in the first resource, wherein the resources allocated for the other data sets are remaining resources other than the resources allocated for the first data set and the resources allocated for the second data set.
  • the resources allocated for the second data set are determined based on a first parameter, where the first parameter is associated with resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit 702 is also used to send a first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
  • the resources allocated to the second data set are determined based on the resources allocated by the second PBR to the first LCH, and the second PBR is determined based on the data amount of the third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the transceiver unit 702 is further used to send second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  • the processing unit 701 allocates resources to the first data set including any of the following:
  • condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
  • the device 700 when the device 700 is used to execute the method executed by the first device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to allocate resources to the first logical channel LCH based on the second PBR; wherein the second PBR is determined based on the amount of data of the third data set; the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the transceiver unit 702 is used to send a first data set in a first resource, wherein the first data set is part or all of the third data set.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the transceiver unit 702 is further used to receive second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  • the determination unit is also used to allocate resources to a second data set based on the data volume of the first data set, send the second data set in the first resources, and the second data set is associated with the first LCH; or, based on the data volume of the first data set, determine not to allocate resources to the first LCH.
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the The value of the first variable corresponding to the first LCH is a first value or a second value, the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein, the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit 701 is further used to allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set.
  • a value of a first variable corresponding to the first LCH is greater than 0.
  • the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit 701 is specifically used to allocate resources to the second data set based on a first parameter, or determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit 702 is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
  • the first data set includes K parts; the processing unit 701 is specifically used to allocate resources to the first data set based on any of the following items, including: sorting the remaining time lengths corresponding to the K parts from small to large, sorting the ranges of the remaining time lengths corresponding to the K parts from small to large, sorting the data priorities of the K parts from high to low, and sorting the channel priorities of the K logical channels corresponding to the K parts from high to low.
  • the device when the device 700 is used to execute the method executed by the second device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to determine uplink data; the transceiver unit 702 is used to receive a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the second PBR, and the second PBR is determined based on the data amount of the third data set.
  • the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
  • the transceiver unit 702 is further used to send second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  • the transceiver unit 702 is further configured to receive a second data set, where the second data set is associated with the first LCH; wherein resources allocated to the second data set are determined based on the data volume of the first data set.
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit 702 is further used to receive other data sets in the first resource, wherein the resources allocated for the other data sets are remaining resources other than the resources allocated for the first data set and the resources allocated for the second data set.
  • the resources allocated for the second data set are determined based on a first parameter, where the first parameter is associated with resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit 702 is also used to send a first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
  • the device 700 when the device 700 is used to execute the method executed by the first device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to allocate resources to the first logical channel LCH based on the data volume of the third data set; wherein the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the priority of the first LCH is determined based on the data in the first LCH; the transceiver unit 702 is used to send a first data set in a first resource, and the first data set is part or all of the third data set.
  • the processing unit 701 is used to allocate resources to the first logical channel LCH based on the data volume of the third data set; wherein the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the priority of the first LCH is determined based on the data in the first LCH
  • the data volume of the first data set is the minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes: the remaining resources after allocating resources for other data or other signaling; or, a second PBR, wherein the second PBR is the minimum value of the data volume of the third data set and the configured PBR, or the value of the second PBR is the data volume of the third data set.
  • the data volume of the first data set is the data volume of the third data set.
  • the transceiver unit 702 is also used to receive third indication information, which indicates that resources are allocated to the first LCH based on the data volume of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data volume of the third data set.
  • the processing unit 701 is also used to allocate resources to a second data set based on the data volume of the first data set, send the second data set in the first resources, and the second data set is associated with the first LCH; or, determine not to allocate resources to the first LCH based on the data volume of the first data set.
  • the amount of data in the second data set is less than or equal to any of the following:
  • the amount of data determined based on a first PBR wherein the first PBR is determined based on the amount of data of the first data set and a configured PBR; the remaining resources after allocating resources to the first data set; or the difference between a first value of a first variable corresponding to the first LCH and the amount of data of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the value of the first variable corresponding to the first LCH is a first value or a second value, the first value is greater than 0, and the second value is greater than 0;
  • the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; the second value is determined based on the first value and the data amount of the first data set.
  • the processing unit 701 is further configured to allocate resources to other data sets based on the resources allocated to the first data set and remaining resources other than the resources allocated to the second data set.
  • a value of the first variable corresponding to the first LCH is greater than 0.
  • the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
  • the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
  • the processing unit 701 is specifically used to allocate resources to the second data set based on a first parameter, or determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit 702 is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
  • the device 700 when the device 700 is used to execute the method executed by the second device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to determine a first resource; the transceiver unit 702 is used to receive a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the data amount of the third data set, and the priority of the first LCH is determined based on the data in the first LCH.
  • the data volume of the first data set is a minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes:
  • the remaining resources after allocating resources for other data or other signaling or, a second PBR, wherein the second PBR is the minimum value between the data amount of the third data set and the configured PBR, or the value of the second PBR is the data amount of the third data set.
  • the data volume of the first data set is the data volume of the third data set.
  • the transceiver unit 702 is also used to send a third indication information, wherein the third indication information indicates that resources are allocated to the first LCH based on the data volume of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data volume of the third data set.
  • the transceiver unit 702 is further used to receive a second data set in the first resource, where the second data set is associated with the first LCH, and the resource carrying the second data set is determined based on the data amount of the first data set.
  • the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit 702 is further used to receive other data sets in the first resource, wherein the resources allocated for the other data sets are remaining resources other than the resources allocated for the first data set and the resources allocated for the second data set.
  • the resources allocated for the second data set are determined based on a first parameter, where the first parameter is associated with resource allocation of the first LCH.
  • the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
  • the transceiver unit 702 is also used to send a first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  • the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
  • FIG. 8 is another schematic structural diagram of a communication device 800 provided in the present application.
  • the communication device 800 at least includes an input and output interface 802.
  • the communication device 800 may be a chip or an integrated circuit.
  • the communication device also includes a logic circuit 801.
  • the transceiver unit 702 shown in Fig. 7 may be a communication interface, which may be the input/output interface 802 in Fig. 8, which may include an input interface and an output interface.
  • the communication interface may also be a transceiver circuit, which may include an input interface circuit and an output interface circuit.
  • the logic circuit 801 is used to allocate resources for the first data set, and the first data set is associated with the first logical channel LCH; the logic circuit 801 is also used to allocate resources for the second data set based on the data volume of the first data set, and the input-output interface 802 is used to send the first data set and the second data set in the first resource, and the second data set is associated with the first LCH; or, the logic circuit 801 is also used to determine not to allocate resources for the first LCH based on the data volume of the first data set, and the input-output interface 802 is also used to send the first data set in the first resource.
  • the logic circuit 801 is used to determine the first resource; the input-output interface 802 is used to receive the first data set in the first resource, or the input-output interface 802 is used to receive the first data set and the second data set in the first resource; wherein the first data set and the second data set are both associated with the first logical channel LCH, and the resources allocated to the second data set are determined based on the data amount of the first data set.
  • the logic circuit 801 is used to allocate resources to the first logical channel LCH based on the second PBR; wherein the second PBR is determined based on the amount of data of the third data set; the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the input-output interface 802 is used to send the first data set in the first resource, wherein the first data set is part or all of the third data set.
  • the logic circuit 801 is used to determine the uplink data; the input-output interface 802 is used to receive a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the second PBR, and the second PBR is determined based on the data amount of the third data set.
  • the logic circuit 801 is used to allocate resources to the first logical channel LCH based on the data volume of the third data set; wherein the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to the threshold; the priority of the first LCH is based on the data in the first LCH. According to the determination; the input-output interface 802 is used to send a first data set in a first resource, and the first data set is part or all of the third data set.
  • the logic circuit 801 is used to determine the first resource; the input-output interface 802 is used to receive a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the data volume of the third data set, and the priority of the first LCH is determined based on the data in the first LCH.
  • the logic circuit 801 and the input/output interface 802 may also execute other steps executed by the first device or the second device in any embodiment and achieve corresponding beneficial effects, which will not be described in detail here.
  • the processing unit 701 shown in FIG. 7 may be the logic circuit 801 in FIG. 8 .
  • the logic circuit 801 may be a processing device, and the functions of the processing device may be partially or completely implemented by software.
  • the functions of the processing device may be partially or completely implemented by software.
  • the processing device may include a memory and a processor, wherein the memory is used to store a computer program, and the processor reads and executes the computer program stored in the memory to perform corresponding processing and/or steps in any one of the method embodiments.
  • the processing device may include only a processor.
  • a memory for storing a computer program is located outside the processing device, and the processor is connected to the memory via a circuit/wire to read and execute the computer program stored in the memory.
  • the memory and the processor may be integrated together, or may be physically independent of each other.
  • the processing device may be one or more chips, or one or more integrated circuits.
  • the processing device may be one or more field-programmable gate arrays (FPGA), application specific integrated circuits (ASIC), system on chip (SoC), central processor unit (CPU), network processor (NP), digital signal processor (DSP), microcontroller unit (MCU), programmable logic device (PLD) or other integrated chips, or any combination of the above chips or processors.
  • FPGA field-programmable gate arrays
  • ASIC application specific integrated circuits
  • SoC system on chip
  • CPU central processor unit
  • NP network processor
  • DSP digital signal processor
  • MCU microcontroller unit
  • PLD programmable logic device
  • FIG 9 shows a communication device 900 involved in the above embodiments provided in an embodiment of the present application.
  • the communication device 900 can specifically be a communication device as a terminal device in the above embodiments.
  • the example shown in Figure 9 is that the terminal device is implemented through the terminal device (or a component in the terminal device).
  • the communication device 900 may include but is not limited to at least one processor 901 and a communication port 902.
  • the device may also include at least one of a memory 903 and a bus 904 .
  • the at least one processor 901 is used to control and process the actions of the communication device 900 .
  • the processor 901 can be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application.
  • the processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and the like.
  • the communication device 900 shown in Figure 9 can be specifically used to implement the steps implemented by the terminal device in the aforementioned method embodiment, and to achieve the corresponding technical effects of the terminal device.
  • the specific implementation methods of the communication device shown in Figure 9 can refer to the description in the aforementioned method embodiment, and will not be repeated here one by one.
  • FIG 10 is a structural diagram of the communication device 1000 involved in the above-mentioned embodiments provided in the embodiments of the present application.
  • the communication device 1000 can specifically be a communication device as a network device in the above-mentioned embodiments.
  • the example shown in Figure 10 is that the network device is implemented through the network device (or a component in the network device), wherein the structure of the communication device can refer to the structure shown in Figure 10.
  • the communication device 1000 includes at least one processor 1011 and at least one network interface 1014. Further optionally, the communication device also includes at least one memory 1012, at least one transceiver 1013 and one or more antennas 1015.
  • the processor 1011, the memory 1012, The transceiver 1013 is connected to the network interface 1014, for example, through a bus. In an embodiment of the present application, the connection may include various interfaces, transmission lines or buses, etc., which are not limited in this embodiment.
  • the antenna 1015 is connected to the transceiver 1013.
  • the network interface 1014 is used to enable the communication device to communicate with other communication devices through a communication link.
  • the network interface 1014 may include a network interface between the communication device and the core network device, such as an S1 interface, and the network interface may include a network interface between the communication device and other communication devices (such as other network devices or core network devices), such as an X2 or Xn interface.
  • the processor 1011 is mainly used to process the communication protocol and communication data, and to control the entire communication device, execute the software program, and process the data of the software program, for example, to support the communication device to perform the actions described in the embodiment.
  • the communication device may include a baseband processor and a central processor, the baseband processor is mainly used to process the communication protocol and communication data, and the central processor is mainly used to control the entire terminal device, execute the software program, and process the data of the software program.
  • the processor 1011 in Figure 10 can integrate the functions of the baseband processor and the central processor. It can be understood by those skilled in the art that the baseband processor and the central processor can also be independent processors, interconnected by technologies such as buses.
  • the terminal device can include multiple baseband processors to adapt to different network formats, the terminal device can include multiple central processors to enhance its processing capabilities, and the various components of the terminal device can be connected through various buses.
  • the baseband processor can also be described as a baseband processing circuit or a baseband processing chip.
  • the central processor can also be described as a central processing circuit or a central processing chip.
  • the function of processing the communication protocol and communication data can be built into the processor, or it can be stored in the memory in the form of a software program, and the processor executes the software program to realize the baseband processing function.
  • the memory is mainly used to store software programs and data.
  • the memory 1012 can be independent and connected to the processor 1011.
  • the memory 1012 can be integrated with the processor 1011, for example, integrated into a chip.
  • the memory 1012 can store program codes for executing the technical solutions of the embodiments of the present application, and the execution is controlled by the processor 1011.
  • the various types of computer program codes executed can also be regarded as drivers of the processor 1011.
  • FIG10 shows only one memory and one processor.
  • the memory may also be referred to as a storage medium or a storage device, etc.
  • the memory may be a storage element on the same chip as the processor, i.e., an on-chip storage element, or an independent storage element, which is not limited in the embodiments of the present application.
  • the transceiver 1013 can be used to support the reception or transmission of radio frequency signals between the communication device and the terminal, and the transceiver 1013 can be connected to the antenna 1015.
  • the transceiver 1013 includes a transmitter Tx and a receiver Rx.
  • one or more antennas 1015 can receive radio frequency signals
  • the receiver Rx of the transceiver 1013 is used to receive the radio frequency signal from the antenna, and convert the radio frequency signal into a digital baseband signal or a digital intermediate frequency signal, and provide the digital baseband signal or the digital intermediate frequency signal to the processor 1011, so that the processor 1011 further processes the digital baseband signal or the digital intermediate frequency signal, such as demodulation processing and decoding processing.
  • the transmitter Tx in the transceiver 1013 is also used to receive a modulated digital baseband signal or a digital intermediate frequency signal from the processor 1011, and convert the modulated digital baseband signal or the digital intermediate frequency signal into a radio frequency signal, and send the radio frequency signal through one or more antennas 1015.
  • the receiver Rx can selectively perform one or more stages of down-mixing and analog-to-digital conversion processing on the RF signal to obtain a digital baseband signal or a digital intermediate frequency signal, and the order of the down-mixing and analog-to-digital conversion processing is adjustable.
  • the transmitter Tx can selectively perform one or more stages of up-mixing and digital-to-analog conversion processing on the modulated digital baseband signal or digital intermediate frequency signal to obtain a RF signal, and the order of the up-mixing and digital-to-analog conversion processing is adjustable.
  • the digital baseband signal and the digital intermediate frequency signal can be collectively referred to as a digital signal.
  • the transceiver 1013 may also be referred to as a transceiver unit, a transceiver, a transceiver device, etc.
  • a device in the transceiver unit for implementing a receiving function may be regarded as a receiving unit
  • a device in the transceiver unit for implementing a sending function may be regarded as a sending unit, that is, the transceiver unit includes a receiving unit and a sending unit
  • the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc.
  • the sending unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
  • the communication device 1000 shown in Figure 10 can be specifically used to implement the steps implemented by the network device in the aforementioned method embodiment, and to achieve the corresponding technical effects of the network device.
  • the specific implementation method of the communication device 1000 shown in Figure 10 can refer to the description in the aforementioned method embodiment, and will not be repeated here one by one.
  • An embodiment of the present application further provides a computer-readable storage medium storing one or more computer-executable instructions.
  • the processor executes the method described in the possible implementation manner of the terminal device in the aforementioned embodiment.
  • An embodiment of the present application further provides a computer-readable storage medium storing one or more computer-executable instructions.
  • the processor executes the method described in the possible implementation manner of the network device in the aforementioned embodiment.
  • An embodiment of the present application also provides a computer program product (or computer program) storing one or more computers.
  • the processor executes the method of the possible implementation mode of the above-mentioned terminal device.
  • An embodiment of the present application also provides a computer program product storing one or more computers.
  • the processor executes the method of the possible implementation of the above-mentioned network device.
  • the embodiment of the present application also provides a chip system, which includes at least one processor for supporting a communication device to implement the functions involved in the possible implementation methods of the above-mentioned communication device.
  • the chip system also includes an interface circuit, which provides program instructions and/or data for the at least one processor.
  • the chip system may also include a memory, which is used to store the necessary program instructions and data for the communication device.
  • the chip system can be composed of chips, and may also include chips and other discrete devices, wherein the communication device can specifically be a terminal device in the aforementioned method embodiment.
  • the embodiment of the present application also provides a chip system, which includes at least one processor for supporting a communication device to implement the functions involved in the possible implementation methods of the above-mentioned communication device.
  • the chip system also includes an interface circuit, which provides program instructions and/or data for the at least one processor.
  • the chip system may also include a memory, which is used to store the necessary program instructions and data for the communication device.
  • the chip system can be composed of chips, and may also include chips and other discrete devices, wherein the communication device can specifically be a network device in the aforementioned method embodiment.
  • An embodiment of the present application further provides a communication system, which includes the first device and the second device in any one of the above embodiments.
  • the first device is a terminal device
  • the second device is a network device.
  • the first device and the second device are different network devices.
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, 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 the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application provides a communication method, used to prevent or reduce the influence on transmission of data other than a first data set, thereby improving communication efficiency. The method comprises: a first device, which is a terminal device, performing resource allocation for a first data set, the first data set being associated with a first logical channel (LCH); and the first device performing resource allocation for a second data set on the basis of the data volume of the first data set, and sending the first data set and the second data set on an uplink first resource, the second data set being associated with the first LCH; or the first device skipping resource allocation for the first LCH on the basis of the data volume of the first data set, and sending the first data set on the uplink first resource.

Description

一种通信方法及相关设备A communication method and related equipment
本申请要求于2022年11月04日提交国家知识产权局、申请号为202211380898.0、发明名称为“一种通信方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on November 4, 2022, with application number 202211380898.0 and invention name “A communication method and related equipment”, all contents of which are incorporated by reference in this application.
技术领域Technical Field
本申请涉及通信技术领域,尤其涉及一种通信方法及相关设备。The present application relates to the field of communication technology, and in particular to a communication method and related equipment.
背景技术Background technique
在通信系统中,终端设备向网络设备发送的数据/信息可以称为上行数据/上行信息,终端设备向其它终端设备发送的数据/信息可以承载侧行链路(sidelink,SL)数据/侧行链路信息。以终端设备向网络设备发送的上行数据为例,用于承载该上行数据的资源可以称为上行资源。一般地,终端设备可以通过网络设备的指示以确定上行资源。In a communication system, data/information sent by a terminal device to a network device may be referred to as uplink data/uplink information, and data/information sent by a terminal device to other terminal devices may carry sidelink (SL) data/sidelink information. Taking uplink data sent by a terminal device to a network device as an example, resources used to carry the uplink data may be referred to as uplink resources. Generally, a terminal device may determine uplink resources through instructions from a network device.
目前,终端设备可以通过逻辑信道优先级(logical channel prioritization,LCP)过程来确定在一个资源上承载哪些逻辑信道(logical channel,LCH)的数据和/或MAC CE。对于不同LCH上的数据,基于LCH的优先级为不同的LCH分配资源。一般来说,终端设备会优先为高优先级的LCH分配资源。由于网络设备为某个终端设备指示的上行资源一般是有限的,这就导致部分优先级较低的LCH关联的数据有可能无法在当前的上行资源传输。但是,优先级较低的LCH关联的数据并不意味着该数据必然可以延后发送,这就使得上述实现方式中,有可能会出现优先级较低的LCH关联的数据未传输进而导致该数据失效的情况。At present, terminal devices can determine which logical channels (LCH) data and/or MAC CE are carried on a resource through the logical channel prioritization (LCP) process. For data on different LCHs, resources are allocated to different LCHs based on the priority of the LCH. Generally speaking, terminal devices will prioritize the allocation of resources to high-priority LCHs. Since the uplink resources indicated by the network device for a certain terminal device are generally limited, this may result in that some data associated with LCHs with lower priority may not be transmitted on the current uplink resources. However, the data associated with the LCH with lower priority does not necessarily mean that the data can be sent later, which means that in the above implementation, it is possible that the data associated with the LCH with lower priority is not transmitted, resulting in the failure of the data to be transmitted.
一种可能的改进方案中,终端设备可以预先在上行资源中为即将失效的数据分配资源之后,该终端设备再进一步在上行资源中的剩余资源中基于LCH的优先级为其它数据分配资源,使得在当前的上行资源中能够优先传输该即将失效的数据,进而避免该数据失效。In a possible improvement scheme, the terminal device can pre-allocate resources in the uplink resources for the data that is about to expire, and then further allocate resources in the remaining resources in the uplink resources for other data based on the priority of LCH, so that the data that is about to expire can be transmitted preferentially in the current uplink resources, thereby avoiding the failure of the data.
然而,由于终端设备能够使用的上行资源是一定的,上述预先为该即将失效的数据分配的资源的实现方式将会导致终端设备能够为其它LCH分配的资源变小,进而影响其它LCH的传输。However, since the uplink resources available to the terminal device are certain, the above-mentioned implementation method of pre-allocating resources for the data that is about to expire will cause the terminal device to allocate fewer resources for other LCHs, thereby affecting the transmission of other LCHs.
发明内容Summary of the invention
本申请提供了一种通信方法,用于避免或减小对第一数据集合之外的其它数据的传输产生影响,以期提升通信效率。The present application provides a communication method for avoiding or reducing the impact on the transmission of other data outside the first data set, in order to improve communication efficiency.
本申请第一方面提供了一种通信方法,该方法由第一设备执行,或者,该方法由第一设备中的部分组件(例如处理器、芯片或芯片系统等)执行,或者该方法还可以由能实现全部或部分第一设备功能的逻辑模块或软件实现。在第一方面及其可能的实现方式中,以该通信方法由第一设备执行为例进行描述,该第一设备可以为终端设备。在该方法中,第一设备为第一数据集合分配资源,该第一数据集合与第一逻辑信道LCH相关联;该第一设备基于该第一数据集合的数据量为第二数据集合分配资源,在第一资源中发送该第一数据集合和该第二数据集合,该第二数据集合与该第一LCH相关联;或,该第一设备基于该第一数据集合的数据量确定不为该第一LCH分配资源,在第一资源中发送该第一数据集合。In a first aspect, the present application provides a communication method, which is executed by a first device, or the method is executed by some components in the first device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the first device. In the first aspect and its possible implementation, the communication method is described as being executed by a first device, and the first device can be a terminal device. In this method, the first device allocates resources to a first data set, and the first data set is associated with a first logical channel LCH; the first device allocates resources to a second data set based on the data volume of the first data set, and sends the first data set and the second data set in the first resource, and the second data set is associated with the first LCH; or, the first device determines not to allocate resources for the first LCH based on the data volume of the first data set, and sends the first data set in the first resource.
基于上述技术方案,第一设备为第一LCH相关联的第一数据集合分配资源之后,在基于该第一数据集合的数据量为第二数据集合分配资源的情况下,该第一设备在第一资源中发送该第一数据集合和第二数据集合;在基于该第一数据集合的数据量确定不为该第一数据集合所关联的第一LCH分配资源的情况下,该第一设备在第一资源中发送该第一数据集合。从而,第一设备可以基于该第一数据集合的数据量确定除了第一数据集合之外的其它数据集合(例如第二数据集合)的资源,以避免或减小对第一数据集合之外的其它数据的传输产生影响,以期提升通信效率。Based on the above technical solution, after the first device allocates resources for the first data set associated with the first LCH, in the case where resources are allocated for the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined not to allocate resources for the first LCH associated with the first data set based on the data volume of the first data set, the first device sends the first data set in the first resource. Thus, the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
此外,第一设备可以基于第一数据集合的数据量确定第一资源上还能容纳的第一LCH的其他数据(或,第二数据集合),或,第一设备可以基于第一数据集合的数据量确定还能为第一LCH中的多少数据分配资源,或,第一设备可以基于第一数据集合的数据量确定还能为第一LCH中的数据分配多少资源,可以避免第一LCH中的数据占据/分配/消耗过多的资源而饿死其他LCH,保证了LCH之间的公平性。In addition, the first device can determine other data (or, second data set) of the first LCH that can be accommodated on the first resource based on the data volume of the first data set, or the first device can determine how much data in the first LCH can be allocated resources based on the data volume of the first data set, or the first device can determine how much resources can be allocated for the data in the first LCH based on the data volume of the first data set. This can avoid the data in the first LCH occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness among LCHs.
应理解,本申请提供的方法应用于终端设备和网络设备通信的情况下,第一设备所发送的第一数据 集合(或,第一数据集合和第二数据集合)的接收方为网络设备。本申请提供的方法应用于不同终端设备通信的情况下(例如SL通信),第一设备所发送的第一数据集合(或,第一数据集合和第二数据集合)的接收方为终端设备。It should be understood that when the method provided in the present application is applied to communication between a terminal device and a network device, the first data sent by the first device The receiver of the set (or, the first data set and the second data set) is a network device. The method provided in the present application is applied to the case where different terminal devices communicate (for example, SL communication), and the receiver of the first data set (or, the first data set and the second data set) sent by the first device is a terminal device.
应理解,本申请涉及的数据集合(例如第一数据集合,以及后文出现的第二数据集合、第三数据集合等)可以包括一个或多个数据。It should be understood that the data set involved in the present application (eg, the first data set, and the second data set, the third data set, etc. that appear later) may include one or more data.
应理解,本申请涉及的数据集合与LCH相关联(例如第一数据集合与第一LCH相关联,以及后文出现的第二数据集合与第一LCH相关联,第三数据集合与第一LCH相关联等),指的是该数据集合所包含的数据与该LCH之间存在映射关系,该映射关系可以是第二设备向该第一设备配置的,也可以是通过协议/标准预配置于该第一设备的,或者是第一设备通过其它方式确定的,本申请不做限定。It should be understood that the data set involved in the present application is associated with the LCH (for example, the first data set is associated with the first LCH, and the second data set appearing later is associated with the first LCH, the third data set is associated with the first LCH, etc.), which means that there is a mapping relationship between the data contained in the data set and the LCH. The mapping relationship can be configured by the second device to the first device, or it can be pre-configured to the first device through a protocol/standard, or it can be determined by the first device through other means. This application does not limit it.
可选地,在第一资源为上行资源的情况下,第一设备所使用的第一资源可以为第二设备配置的周期性的第一资源,或者是,第二设备配置的非周期性的第一资源。Optionally, when the first resource is an uplink resource, the first resource used by the first device may be a periodic first resource configured by the second device, or a non-periodic first resource configured by the second device.
可选地,在第一资源为侧行链路资源的情况下,第一设备所使用的第一资源可以为网络设备为该第一设备配置的第一资源,或者是,第一设备所使用的第一资源可以为其它终端设备为该第一设备配置的第一资源,或者是,第一设备所使用的第一资源可以为该第一设备自身确定的资源。Optionally, when the first resource is a side link resource, the first resource used by the first device may be a first resource configured for the first device by a network device, or, the first resource used by the first device may be a first resource configured for the first device by other terminal devices, or, the first resource used by the first device may be a resource determined by the first device itself.
在第一方面的一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一优先比特率(prioritized bit rate,PBR)确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the first aspect, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on a first priority bit rate (prioritized bit rate, PBR), wherein the first PBR is determined based on the data volume of the first data set and a configured PBR; the remaining resources after resources are allocated to the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
基于上述技术方案,在第一设备基于该第一数据集合的数据量为第二数据集合分配资源的情况下,由于该第一数据集合和该第二数据集合均位于同一LCH(即第一LCH),通过限定第二数据集合的数据量小于或等于上述任一项的方式,能够避免对该第一LCH之外的其它LCH中将要传输的数据产生影响。Based on the above technical solution, when the first device allocates resources to the second data set based on the data volume of the first data set, since the first data set and the second data set are both located in the same LCH (i.e., the first LCH), by limiting the data volume of the second data set to be less than or equal to any of the above items, it is possible to avoid affecting the data to be transmitted in other LCHs other than the first LCH.
可以理解的是,本申请涉及的LCH对应的变量(例如第一LCH对应的第一变量)用于指示第一设备为该LCH维护的变量,该变量的取值可以用于指示以下至少一项,包括:It can be understood that the variable corresponding to the LCH involved in the present application (for example, the first variable corresponding to the first LCH) is used to indicate the variable maintained by the first device for the LCH, and the value of the variable can be used to indicate at least one of the following, including:
指示该LCH是否能够承载数据,指示该LCH能够承载的数据量,或,指示该LCH能够承载数据时该LCH的数据传输速率。Indicates whether the LCH can carry data, indicates the amount of data that the LCH can carry, or indicates the data transmission rate of the LCH when the LCH can carry data.
可选地,该变量可以记为B,Bj,或者其它的符号表示,本申请对此不做限定。Optionally, the variable may be expressed as B, Bj, or other symbols, which is not limited in this application.
在第一方面的一种可能的实现方式中,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值小于或等于0,该第二取值小于或等于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the first aspect, before determining not to allocate resources to the first LCH based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
基于上述技术方案,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之前,该第一LCH对应的第一变量的取值小于或等于0,使得第一设备确定当前不为该第一LCH分配资源。Based on the above technical solution, before determining not to allocate resources for the first LCH based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is less than or equal to 0, so that the first device determines not to allocate resources for the first LCH at present.
在第一方面的一种可能的实现方式中,在基于该第一数据集合的数据量确定为该第二数据集合分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值大于0,该第二取值大于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the first aspect, before allocating resources to the second data set is determined based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
基于上述技术方案,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之前,该第一LCH对应的第一变量的取值大于0,使得第一设备确定能够为该第一LCH分配资源。Based on the above technical solution, before determining not to allocate resources for the first LCH based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is greater than 0, so that the first device determines that resources can be allocated to the first LCH.
在第一方面的一种可能的实现方式中,在基于该第一数据集合的数据量为该第二数据集合分配资源之后,该方法还包括:基于为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源。In a possible implementation of the first aspect, after allocating resources to the second data set based on the data volume of the first data set, the method further includes: allocating resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set.
基于上述技术方案,在基于该第一数据集合的数据量为该第二数据集合分配资源之后,该第一设备还可以基于为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源,以便于除了第一数据集合和第二数据集合之外的其它数据集合能够基于剩余资源进行传输。Based on the above technical solution, after allocating resources to the second data set based on the data amount of the first data set, the first device can also allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set, so that other data sets in addition to the first data set and the second data set can be transmitted based on the remaining resources.
可以理解的是,第一设备为第二数据集合分配资源的过程中,按照一个或多个LCH的优先级为第二 数据集合分配资源,其中,该一个或多个LCH对应的第一变量的取值均大于0。而在第一设备基于为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源的过程中,按照一个或多个LCH的优先级为该其它数据集合分配资源,其中,该一个或多个LCH对应的第一变量的取值可以大于0,也可以小于或等于0。It can be understood that, in the process of allocating resources for the second data set by the first device, the second data set is allocated resources according to the priority of one or more LCHs. The first device allocates resources to the data set, wherein the values of the first variables corresponding to the one or more LCHs are all greater than 0. In the process of allocating resources to other data sets by the first device based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set, the resources are allocated to the other data sets according to the priority of the one or more LCHs, wherein the values of the first variables corresponding to the one or more LCHs may be greater than 0, or may be less than or equal to 0.
在第一方面的一种可能的实现方式中,在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值大于0。In a possible implementation manner of the first aspect, before resources are allocated to the first data set, a value of a first variable corresponding to the first LCH is greater than 0.
基于上述技术方案,在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值大于0,使得第一设备确定能够为该第一数据集合分配资源。Based on the above technical solution, before allocating resources for the first data set, the value of the first variable corresponding to the first LCH is greater than 0, so that the first device determines that resources can be allocated to the first data set.
可选地,在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值也可以小于或等于0,即第一设备在为第一数据集合分配资源的过程中无需考虑第一LCH对应的第一变量的取值。Optionally, before allocating resources to the first data set, the value of the first variable corresponding to the first LCH may also be less than or equal to 0, that is, the first device does not need to consider the value of the first variable corresponding to the first LCH when allocating resources to the first data set.
在第一方面的一种可能的实现方式中,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值为第一取值或第二取值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the first aspect, after allocating resources to the first data, the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
可以理解的是,第一设备为第一数据集合分配资源之前,第一LCH对应的第一变量的取值为第一取值。在上述技术方案中,第一设备为该第一数据集合分配资源之后,第一设备可以更新该第一LCH对应的第一变量的取值,也可以不更新该第一LCH对应的第一变量的取值。It is understandable that, before the first device allocates resources for the first data set, the value of the first variable corresponding to the first LCH is the first value. In the above technical solution, after the first device allocates resources for the first data set, the first device may update the value of the first variable corresponding to the first LCH, or may not update the value of the first variable corresponding to the first LCH.
例如,在第一设备为该第一数据集合分配资源之后,第一设备可以更新该第一LCH对应的第一变量的取值,即将该第一取值更新为第二取值,使得上述实现过程中,基于该第一数据集合的数据量确定不为该第一LCH分配资源(或确定为该第一LCH分配资源)之前,该第一LCH对应的第一变量的取值为第二取值。For example, after the first device allocates resources to the first data set, the first device may update the value of the first variable corresponding to the first LCH, that is, update the first value to the second value, so that in the above implementation process, before determining not to allocate resources to the first LCH (or determining to allocate resources to the first LCH) based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is the second value.
又如,在第一设备为该第一数据集合分配资源之后,第一设备可以不更新该第一LCH对应的第一变量的取值,即将该第一取值无需更新,使得上述实现过程中,基于该第一数据集合的数据量确定不为该第一LCH分配资源(或确定为该第一LCH分配资源)之前,该第一LCH对应的第一变量的取值为第一取值。For another example, after the first device allocates resources to the first data set, the first device may not update the value of the first variable corresponding to the first LCH, that is, the first value does not need to be updated, so that in the above implementation process, before determining not to allocate resources to the first LCH (or determining to allocate resources to the first LCH) based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is the first value.
在第一方面的一种可能的实现方式中,在基于该第一数据集合的数据量为第二数据集合分配资源之后,或,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之后,该第一LCH对应的第一变量的取值为以下任一项:第二取值与该第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量以及第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量之间的差值;或,第一取值与该第二数据集合的数据量之间的差值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the first aspect, after allocating resources to the second data set based on the data volume of the first data set, or after determining not to allocate resources to the first LCH based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
基于上述技术方案,第一设备为第一数据集合分配资源的过程以及第一设备为第二数据集合分配资源的过程中,第一设备可以对第一LCH对应的第一变量执行至少一次更新过程,从而,第一设备能够基于该至少一个更新之后的第一变量,为除了第一数据集合和第二数据集合之外的其它数据进行资源分配,以期避免或减小对该其它数据的传输产生影响。Based on the above technical solution, in the process of allocating resources for the first data set by the first device and in the process of allocating resources for the second data set by the first device, the first device can perform at least one update process on the first variable corresponding to the first LCH, so that the first device can allocate resources for other data except the first data set and the second data set based on the at least one updated first variable, so as to avoid or reduce the impact on the transmission of the other data.
在第一方面的一种可能的实现方式中,该第一设备基于该第一数据集合的数据量为第二数据集合分配资源,或,基于该第一数据集合的数据量确定不为该第一LCH分配资源包括:该第一设备基于第一参数为第二数据集合分配资源,或,基于第一参数确定不为该第一LCH分配资源;其中,该第一参数与该第一LCH的资源分配相关联。In a possible implementation of the first aspect, the first device allocates resources to the second data set based on the data volume of the first data set, or determines not to allocate resources to the first LCH based on the data volume of the first data set, including: the first device allocates resources to the second data set based on a first parameter, or determines not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
基于上述技术方案,在第一设备为第一数据集合分配资源之后,该第一设备可以基于与该第一LCH的资源分配相关联的第一参数为第二数据集合分配资源,或者,该第一设备可以基于与该第一LCH的资源分配相关联的第一参数确定不为第二数据集合分配资源。其中,第一数据集合关联于该第一LCH,该第一参数与该第一LCH的资源分配相关联,为此,可以通过第一参数作为第二数据集合的资源分配依据之一。Based on the above technical solution, after the first device allocates resources for the first data set, the first device may allocate resources for the second data set based on the first parameter associated with the resource allocation of the first LCH, or the first device may determine not to allocate resources for the second data set based on the first parameter associated with the resource allocation of the first LCH. The first data set is associated with the first LCH, and the first parameter is associated with the resource allocation of the first LCH. Therefore, the first parameter can be used as one of the resource allocation bases for the second data set.
在第一方面的一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该 第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation manner of the first aspect, the first parameter includes any one of the following: a first PBR, which is determined based on the data volume of the first data set and a configured PBR; or, after allocating resources for the first data, a value of a first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, The difference between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
基于上述技术方案,与该第一LCH的资源分配相关联的第一参数可以通过上述任一项实现,以提升方案实现的灵活性。Based on the above technical solution, the first parameter associated with the resource allocation of the first LCH can be implemented by any of the above items to enhance the flexibility of the solution implementation.
在第一方面的一种可能的实现方式中,该方法还包括:该第一设备接收第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In a possible implementation of the first aspect, the method also includes: the first device receives first indication information, the first indication information indicating that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
基于上述技术方案,该第一设备还可以接收第一指示信息,使得该第一设备能够基于第二设备的指示实现资源分配。Based on the above technical solution, the first device may also receive first indication information, so that the first device can implement resource allocation based on the indication of the second device.
在第一方面的一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation manner of the first aspect, a value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
基于上述技术方案,第一PBR可以通过上述方式与已经分配资源的第一数据集合的数据量相关联,使得第一PBR作为第二数据集合分配资源的依据之一,能够避免或减小为该第一数据集合分配的资源对其它数据的传输产生影响。Based on the above technical solution, the first PBR can be associated with the data volume of the first data set to which resources have been allocated in the above manner, so that the first PBR serves as one of the bases for allocating resources to the second data set, thereby avoiding or reducing the impact of the resources allocated to the first data set on the transmission of other data.
在第一方面的一种可能的实现方式中,该第一数据集合包括K个部分;该第一设备为第一数据集合分配资源包括:该第一设备基于以下任一项为第一数据集合分配资源,包括:该K个部分对应的剩余时长从小到大的排序,该K个部分对应的剩余时长的范围从小到大的排序,该K个部分的数据优先级从高到低的排序,该K个部分对应的K个逻辑信道的信道优先级从高到低的排序。In a possible implementation of the first aspect, the first data set includes K parts; the first device allocates resources to the first data set including: the first device allocates resources to the first data set based on any of the following items, including: sorting the remaining time lengths corresponding to the K parts from small to large, sorting the ranges of the remaining time lengths corresponding to the K parts from small to large, sorting the data priorities of the K parts from high to low, and sorting the channel priorities of K logical channels corresponding to the K parts from high to low.
基于上述技术方案,在为第一数据集合分配资源的过程中,第一设备可以通过上述多种方式对该第一数据集合所包含的K个部分依次分配资源,以提升方案实现的灵活性。Based on the above technical solution, in the process of allocating resources for the first data set, the first device can allocate resources to the K parts included in the first data set in sequence through the above-mentioned multiple methods to improve the flexibility of the solution implementation.
在第一方面的一种可能的实现方式中,该第一设备为第一数据集合分配资源包括:该第一设备基于第二PBR为该第一LCH分配资源,该第二PBR是基于第三数据集合的数据量确定的;其中,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值,该第一数据集合为该第三数据集合中的部分或全部。In a possible implementation of the first aspect, the first device allocates resources to the first data set, including: the first device allocates resources to the first LCH based on the second PBR, and the second PBR is determined based on the data amount of the third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
基于上述技术方案,在为第一数据集合分配资源的过程中,第一设备可以将第二PBR作为第一数据集合的资源分配依据之一,该第二PBR是基于第三数据集合的数据量确定的,使得第三数据集合的数据量作为第一数据集合的资源分配依据之一,以期使得剩余时间小于或等于阈值的部分或全部数据集合能够成功传输。Based on the above technical solution, in the process of allocating resources for the first data set, the first device may use the second PBR as one of the resource allocation bases for the first data set, and the second PBR is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to enable part or all of the data sets whose remaining time is less than or equal to the threshold to be successfully transmitted.
可选地,由于第三数据集合对应的剩余时间小于或等于阈值,且该第一数据集合为该第三数据集合中的部分或全部,为此,第一数据集合对应的剩余时间小于或等于阈值。其中,第三数据集合可以理解为第一设备待发送的对应的剩余时间小于或等于阈值的数据集合,第一数据集合可以理解为第一设备实际在第一资源中发送的对应的剩余时间小于或等于阈值的数据集合。Optionally, since the remaining time corresponding to the third data set is less than or equal to the threshold, and the first data set is part or all of the third data set, the remaining time corresponding to the first data set is less than or equal to the threshold. The third data set can be understood as a data set whose corresponding remaining time to be sent by the first device is less than or equal to the threshold, and the first data set can be understood as a data set whose corresponding remaining time actually sent by the first device in the first resource is less than or equal to the threshold.
可选地,数据集合(例如第三数据集合)对应的剩余时间小于或等于阈值,可以表述为,数据集合为即将失效的数据,数据集合即将失效的时间小于或等于阈值,数据集合剩余有效时间小于或等于阈值,数据集合中的数据为剩余包时延预算(remaining packet delay budget,remaining PDB)小于或等于阈值的数据等。Optionally, the remaining time corresponding to a data set (for example, the third data set) is less than or equal to a threshold value, which can be expressed as follows: the data set is data that is about to expire, the time when the data set is about to expire is less than or equal to the threshold, the remaining valid time of the data set is less than or equal to the threshold, the data in the data set is data whose remaining packet delay budget (remaining packet delay budget, remaining PDB) is less than or equal to the threshold, etc.
在第一方面的一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation manner of the first aspect, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
基于上述技术方案,第二PBR是基于第三数据集合的数据量确定的情况下,该第二PBR的取值可以通过上述多种方式实现,并且,由于第二PBR的取值关联于该第三数据集合的数据量以及配置的PBR,能够使得尽可能的避免或减小为第一数据集合的资源分配过程对其它数据的影响。Based on the above technical solution, when the second PBR is determined based on the data volume of the third data set, the value of the second PBR can be achieved through the above-mentioned multiple methods, and since the value of the second PBR is associated with the data volume of the third data set and the configured PBR, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
在第一方面的一种可能的实现方式中,该方法还包括:该第一设备接收第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation manner of the first aspect, the method also includes: the first device receives second indication information, the second indication information indicating that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
基于上述技术方案,第一设备还可以接收第二指示信息,使得第一设备能够基于第二设备的指示为第一数据集合分配资源。Based on the above technical solution, the first device may also receive second indication information, so that the first device can allocate resources for the first data set based on the indication of the second device.
在第一方面的一种可能的实现方式中,为第一数据集合分配资源包括以下任一项: In a possible implementation manner of the first aspect, allocating resources to the first data set includes any of the following:
基于数据对应的剩余时间的升序为满足条件A的数据分配资源;Allocate resources to data that meets condition A based on the ascending order of the remaining time corresponding to the data;
基于数据对应的剩余时间的范围的升序为满足条件A的数据分配资源;Allocate resources to data satisfying condition A based on the ascending order of the range of remaining time corresponding to the data;
基于数据对应的优先级为满足条件A的数据分配资源;或,Allocate resources to data that meets condition A based on the priority level of the data; or,
基于LCH的优先级的降序为满足条件A的数据分配资源;Allocate resources for data that meets condition A based on the descending order of priority of the LCH;
其中,条件A包括数据对应的剩余时间小于或等于阈值。Among them, condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
基于上述技术方案,在为第一数据集合分配资源的过程中,可以尽量将满足条件A的数据或剩余时间较小的数据放在第一资源上传输,或者,可以尽快/优先传输满足条件A的数据或剩余时间较小的数据,可以避免一些剩余时间较小的数据超时,从而可以提高传输可靠性,也可以提升系统容量。也可以保证不同LCH之间的公平性,避免某些LCH(例如,低优先级的LCH)被饿死。Based on the above technical solution, in the process of allocating resources for the first data set, the data satisfying condition A or the data with a small remaining time can be transmitted on the first resource as much as possible, or the data satisfying condition A or the data with a small remaining time can be transmitted as soon as possible/prioritized, which can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and system capacity. It can also ensure fairness between different LCHs to avoid some LCHs (for example, low-priority LCHs) from being starved.
本申请第二方面提供了一种通信方法,该方法由第二设备执行,或者,该方法由第二设备中的部分组件(例如处理器、芯片或芯片系统等)执行,或者该方法还可以由能实现全部或部分第二设备功能的逻辑模块或软件实现。在第二方面及其可能的实现方式中,以该通信方法由第二设备执行为例进行描述,该第二设备可以为终端设备或网络设备。在该方法中,第二设备确定第一资源;该第二设备在该第一资源中接收第一数据集合,或,在该第一资源中接收该第一数据集合和第二数据集合;其中,该第一数据集合和该第二数据集合均与第一逻辑信道LCH相关联,为该第二数据集合分配的资源是基于该第一数据集合的数据量确定的。The second aspect of the present application provides a communication method, which is executed by a second device, or the method is executed by some components in the second device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the second device. In the second aspect and its possible implementation, the communication method is described as being executed by a second device, and the second device can be a terminal device or a network device. In the method, the second device determines a first resource; the second device receives a first data set in the first resource, or receives the first data set and a second data set in the first resource; wherein the first data set and the second data set are both associated with a first logical channel LCH, and the resources allocated to the second data set are determined based on the amount of data of the first data set.
基于上述技术方案,第二设备在确定第一资源之后,该第二设备可以在该第一资源中接收第一数据集合,或者,该第二设备可以在该第一资源中接收第一数据集合和第二数据集合。其中,该第一数据集合和该第二数据集合均与第一逻辑信道LCH相关联,为该第二数据集合分配的资源是基于该第一数据集合的数据量确定的。换言之,第一设备为第一LCH相关联的第一数据集合分配资源之后,在基于该第一数据集合的数据量为第二数据集合分配资源的情况下,该第一设备在第一资源中发送该第一数据集合和第二数据集合;在基于该第一数据集合的数据量确定不为该第一数据集合所关联的第一LCH分配资源的情况下,该第一设备在第一资源中发送该第一数据集合。从而,第一设备可以基于该第一数据集合的数据量确定除了第一数据集合之外的其它数据集合(例如第二数据集合)的资源,以避免或减小对第一数据集合之外的其它数据的传输产生影响,以期提升通信效率。Based on the above technical solution, after the second device determines the first resource, the second device can receive the first data set in the first resource, or the second device can receive the first data set and the second data set in the first resource. The first data set and the second data set are both associated with the first logical channel LCH, and the resources allocated to the second data set are determined based on the data volume of the first data set. In other words, after the first device allocates resources to the first data set associated with the first LCH, in the case where resources are allocated to the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined based on the data volume of the first data set that resources are not allocated to the first LCH associated with the first data set, the first device sends the first data set in the first resource. Thus, the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
此外,第一设备可以基于第一数据集合的数据量确定第一资源上还能容纳的第一LCH的其他数据(或,第二数据集合),或,第一设备可以基于第一数据集合的数据量确定还能为第一LCH中的多少数据分配资源,或,第一设备可以基于第一数据集合的数据量确定还能为第一LCH中的数据分配多少资源,可以避免第一LCH中的数据占据/分配/消耗过多的资源而饿死其他LCH,保证了LCH之间的公平性。In addition, the first device can determine other data (or, second data set) of the first LCH that can be accommodated on the first resource based on the data volume of the first data set, or the first device can determine how much data in the first LCH can be allocated resources based on the data volume of the first data set, or the first device can determine how much resources can be allocated for the data in the first LCH based on the data volume of the first data set. This can avoid the data in the first LCH occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness among LCHs.
在第二方面的一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the second aspect, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
基于上述技术方案,第二设备在该第一资源中接收第一数据集合和第二数据集合的情况下,由于该第一数据集合和该第二数据集合均位于同一LCH(即第一LCH),通过限定第二数据集合的数据量小于或等于上述任一项的方式,能够避免对该第一LCH之外的其它LCH中将要传输的数据产生影响。Based on the above technical solution, when the second device receives the first data set and the second data set in the first resource, since the first data set and the second data set are both located in the same LCH (i.e., the first LCH), by limiting the data amount of the second data set to be less than or equal to any of the above items, it is possible to avoid affecting the data to be transmitted in other LCHs other than the first LCH.
在第二方面的一种可能的实现方式中,该方法还包括:该第二设备在该第一资源中接收其它数据集合,其中,为该其它数据集合分配的资源是为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源。In a possible implementation of the second aspect, the method also includes: the second device receives other data sets in the first resource, wherein the resources allocated to the other data sets are the remaining resources other than the resources allocated to the first data set and the resources allocated to the second data set.
基于上述技术方案,第二设备还可以在该第一资源中接收其它数据集合,换言之,对于第一设备而言,在基于该第一数据集合的数据量为该第二数据集合分配资源之后,该第一设备还可以基于为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源,以便于除了第一数据集合和第二数据集合之外的其它数据集合能够基于剩余资源进行传输。Based on the above technical solution, the second device can also receive other data sets in the first resource. In other words, for the first device, after allocating resources to the second data set based on the data volume of the first data set, the first device can also allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set, so that other data sets in addition to the first data set and the second data set can be transmitted based on the remaining resources.
在第二方面的一种可能的实现方式中,为该第二数据集合分配的资源是基于第一参数确定的,该第一参数与该第一LCH的资源分配相关联。 In a possible implementation manner of the second aspect, the resources allocated for the second data set are determined based on a first parameter, where the first parameter is associated with resource allocation of the first LCH.
基于上述技术方案,为该第二数据集合分配的资源是基于第一参数确定的,换言之,对于第一设备而言,在第一设备为第一数据集合分配资源之后,该第一设备可以基于与该第一LCH的资源分配相关联的第一参数为第二数据集合分配资源,或者,该第一设备可以基于与该第一LCH的资源分配相关联的第一参数确定不为第二数据集合分配资源。其中,第一数据集合关联于该第一LCH,该第一参数与该第一LCH的资源分配相关联,为此,可以通过第一参数作为第二数据集合的资源分配依据之一。Based on the above technical solution, the resources allocated to the second data set are determined based on the first parameter. In other words, for the first device, after the first device allocates resources to the first data set, the first device can allocate resources to the second data set based on the first parameter associated with the resource allocation of the first LCH, or the first device can determine not to allocate resources to the second data set based on the first parameter associated with the resource allocation of the first LCH. The first data set is associated with the first LCH, and the first parameter is associated with the resource allocation of the first LCH. Therefore, the first parameter can be used as one of the resource allocation bases for the second data set.
在第二方面的一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the second aspect, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
基于上述技术方案,与该第一LCH的资源分配相关联的第一参数可以通过上述任一项实现,以提升方案实现的灵活性。Based on the above technical solution, the first parameter associated with the resource allocation of the first LCH can be implemented by any of the above items to enhance the flexibility of the solution implementation.
在第二方面的一种可能的实现方式中,该方法还包括:发送第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In a possible implementation manner of the second aspect, the method also includes: sending first indication information, wherein the first indication information indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
基于上述技术方案,该第二设备还可以发送第一指示信息,使得该第一设备能够基于第二设备的指示实现资源分配。Based on the above technical solution, the second device may also send first indication information, so that the first device can implement resource allocation based on the indication of the second device.
在第二方面的一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation manner of the second aspect, a value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
基于上述技术方案,第一PBR可以通过上述方式与已经分配资源的第一数据集合的数据量相关联,使得第一PBR作为第二数据集合分配资源的依据之一,能够避免或减小为该第一数据集合分配的资源对其它数据的传输产生影响。Based on the above technical solution, the first PBR can be associated with the data volume of the first data set to which resources have been allocated in the above manner, so that the first PBR serves as one of the bases for allocating resources to the second data set, thereby avoiding or reducing the impact of the resources allocated to the first data set on the transmission of other data.
在第二方面的一种可能的实现方式中,为该第二数据集合分配的资源是基于第二PBR为该第一LCH分配的资源确定的,该第二PBR是基于第三数据集合的数据量确定的;其中,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值,该第一数据集合为该第三数据集合中的部分或全部。In a possible implementation of the second aspect, the resources allocated to the second data set are determined based on the resources allocated by the second PBR to the first LCH, and the second PBR is determined based on the data amount of the third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
基于上述技术方案,为该第二数据集合分配的资源是基于第二PBR为该第一LCH分配的资源确定的,换言之,对于第一设备而言,在为第一数据集合分配资源的过程中,第一设备可以将第二PBR作为第一数据集合的资源分配依据之一,该第二PBR是基于第三数据集合的数据量确定的,使得第三数据集合的数据量作为第一数据集合的资源分配依据之一,以期使得剩余时间小于或等于阈值的部分或全部数据集合能够成功传输。Based on the above technical solution, the resources allocated to the second data set are determined based on the resources allocated by the second PBR to the first LCH. In other words, for the first device, in the process of allocating resources for the first data set, the first device can use the second PBR as one of the resource allocation bases for the first data set. The second PBR is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to enable part or all of the data set whose remaining time is less than or equal to the threshold to be successfully transmitted.
在第二方面的一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation manner of the second aspect, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
基于上述技术方案,第二PBR是基于第三数据集合的数据量确定的情况下,该第二PBR的取值可以通过上述多种方式实现,并且,由于第二PBR的取值关联于该第三数据集合的数据量以及配置的PBR,能够使得尽可能的避免或减小为第一数据集合的资源分配过程对其它数据的影响。Based on the above technical solution, when the second PBR is determined based on the data volume of the third data set, the value of the second PBR can be achieved through the above-mentioned multiple methods, and since the value of the second PBR is associated with the data volume of the third data set and the configured PBR, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
在第二方面的一种可能的实现方式中,该方法还包括:该第二设备发送第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation manner of the second aspect, the method also includes: the second device sends second indication information, the second indication information indicating that resources are allocated to the first LCH based on the second PBR, or the second indication information indicating that resources are not allocated to the first LCH based on the second PBR.
基于上述技术方案,第二设备还可以发送第二指示信息,使得第一设备能够基于第二设备的指示为第一数据集合分配资源。Based on the above technical solution, the second device may also send second indication information, so that the first device can allocate resources for the first data set based on the indication of the second device.
在第二方面的一种可能的实现方式中,为第一数据集合分配资源包括以下任一项:In a possible implementation manner of the second aspect, allocating resources to the first data set includes any of the following:
基于数据对应的剩余时间的升序为满足条件A的数据分配资源;Allocate resources to data that meets condition A based on the ascending order of the remaining time corresponding to the data;
基于数据对应的剩余时间的范围的升序为满足条件A的数据分配资源;Allocate resources to data satisfying condition A based on the ascending order of the range of remaining time corresponding to the data;
基于数据对应的优先级为满足条件A的数据分配资源;或,Allocate resources to data that meets condition A based on the priority level of the data; or,
基于LCH的优先级的降序为满足条件A的数据分配资源;Allocate resources for data that meets condition A based on the descending order of priority of the LCH;
其中,条件A包括数据对应的剩余时间小于或等于阈值。 Among them, condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
基于上述技术方案,在为第一数据集合分配资源的过程中,可以尽量将满足条件A的数据或剩余时间较小的数据放在第一资源上传输,或者,可以尽快/优先传输满足条件A的数据或剩余时间较小的数据,可以避免一些剩余时间较小的数据超时,从而可以提高传输可靠性,也可以提升系统容量。也可以保证不同LCH之间的公平性,避免某些LCH(例如,低优先级的LCH)被饿死。Based on the above technical solution, in the process of allocating resources for the first data set, the data satisfying condition A or the data with a small remaining time can be transmitted on the first resource as much as possible, or the data satisfying condition A or the data with a small remaining time can be transmitted as soon as possible/prioritized, which can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and system capacity. It can also ensure fairness between different LCHs to avoid some LCHs (for example, low-priority LCHs) from being starved.
本申请第三方面提供了一种通信方法,该方法由第一设备执行,或者,该方法由第一设备中的部分组件(例如处理器、芯片或芯片系统等)执行,或者该方法还可以由能实现全部或部分第一设备功能的逻辑模块或软件实现。在第三方面及其可能的实现方式中,以该通信方法由第一设备执行为例进行描述,该第一设备可以为终端设备。在该方法中,第一设备基于第二PBR为第一LCH分配资源;其中,该第二PBR是基于第三数据集合的数据量确定的;该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;该第一设备在第一资源中发送第一数据集合,其中,该第一数据集合为该第三数据集合中的部分或全部。The third aspect of the present application provides a communication method, which is executed by a first device, or the method is executed by some components in the first device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the first device. In the third aspect and its possible implementation, the communication method is described as being executed by a first device, and the first device can be a terminal device. In this method, the first device allocates resources to the first LCH based on the second PBR; wherein the second PBR is determined based on the amount of data of a third data set; the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the first device sends a first data set in the first resource, wherein the first data set is part or all of the third data set.
基于上述技术方案,在为第一数据集合分配资源的过程中,第一设备可以将第二PBR作为第一数据集合的资源分配依据之一,该第二PBR是基于第三数据集合的数据量确定的,使得第三数据集合的数据量作为第一数据集合的资源分配依据之一,以期使得剩余时间小于或等于阈值的部分或全部数据集合能够成功传输。并且,由于第二PBR的取值关联于该第三数据集合的数据量,能够使得尽可能的避免或减小为第一数据集合的资源分配过程对其它数据的影响。Based on the above technical solution, in the process of allocating resources for the first data set, the first device can use the second PBR as one of the resource allocation bases for the first data set, and the second PBR is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, so that part or all of the data sets with a remaining time less than or equal to the threshold can be successfully transmitted. In addition, since the value of the second PBR is associated with the data volume of the third data set, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
在第三方面的一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation manner of the third aspect, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
基于上述技术方案,第二PBR是基于第三数据集合的数据量确定的情况下,该第二PBR的取值可以通过上述多种方式实现,并且,由于第二PBR的取值关联于该第三数据集合的数据量以及配置的PBR,能够使得尽可能的避免或减小为第一数据集合的资源分配过程对其它数据的影响。Based on the above technical solution, when the second PBR is determined based on the data volume of the third data set, the value of the second PBR can be achieved through the above-mentioned multiple methods, and since the value of the second PBR is associated with the data volume of the third data set and the configured PBR, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
在第三方面的一种可能的实现方式中,该方法还包括:该第一设备接收第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation manner of the third aspect, the method also includes: the first device receives second indication information, the second indication information indicating that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
基于上述技术方案,第一设备还可以接收第二指示信息,使得第一设备能够基于第二设备的指示为第一数据集合分配资源。Based on the above technical solution, the first device may also receive second indication information, so that the first device can allocate resources for the first data set based on the indication of the second device.
在第三方面的一种可能的实现方式中,该方法还包括:该第一设备基于该第一数据集合的数据量为第二数据集合分配资源,在第一资源中发送该第二数据集合,该第二数据集合与该第一LCH相关联;或,基于该第一数据集合的数据量确定不为该第一LCH分配资源。In a possible implementation of the third aspect, the method also includes: the first device allocates resources to the second data set based on the data volume of the first data set, sends the second data set in the first resources, and the second data set is associated with the first LCH; or, determines not to allocate resources to the first LCH based on the data volume of the first data set.
基于上述技术方案,第一设备为第一LCH相关联的第一数据集合分配资源之后,在基于该第一数据集合的数据量为第二数据集合分配资源的情况下,该第一设备在第一资源中发送该第一数据集合和第二数据集合;在基于该第一数据集合的数据量确定不为该第一数据集合所关联的第一LCH分配资源的情况下,该第一设备在第一资源中发送该第一数据集合。从而,第一设备可以基于该第一数据集合的数据量确定除了第一数据集合之外的其它数据集合(例如第二数据集合)的资源,以避免或减小对第一数据集合之外的其它数据的传输产生影响,以期提升通信效率。Based on the above technical solution, after the first device allocates resources for the first data set associated with the first LCH, in the case where resources are allocated for the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined not to allocate resources for the first LCH associated with the first data set based on the data volume of the first data set, the first device sends the first data set in the first resource. Thus, the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
需要说明的是,在第三方面涉及的实现过程中(包括名词解释,第一LCH涉及的第一变量的多种可能的取值,以及第一设备确定为第一数据集合分配资源的过程,以及第一设备基于该第一数据集合的数据量为第二数据集合分配资源的过程,以及第一设备基于该第一数据集合的数据量确定不为该第一LCH分配资源的过程等中的至少一项),可以参考本申请其它实施例(例如第一方面及其可能的实现方式)的描述,并实现相应的技术效果,此处不做赘述。It should be noted that, in the implementation process involved in the third aspect (including the explanation of terms, multiple possible values of the first variable involved in the first LCH, and the process in which the first device determines to allocate resources for the first data set, and the process in which the first device allocates resources to the second data set based on the data volume of the first data set, and the process in which the first device determines not to allocate resources to the first LCH based on the data volume of the first data set, etc., at least one of the above), you can refer to the description of other embodiments of the present application (such as the first aspect and its possible implementation methods) and achieve the corresponding technical effects, which will not be repeated here.
本申请第四方面提供了一种通信方法,该方法由第二设备执行,或者,该方法由第二设备中的部分组件(例如处理器、芯片或芯片系统等)执行,或者该方法还可以由能实现全部或部分第二设备功能的逻辑模块或软件实现。在第四方面及其可能的实现方式中,以该通信方法由第二设备执行为例进行描述,该第二设备可以为终端设备或网络设备。在该方法中,第二设备确定上行数据;该第二设备在该第一资 源接收第一数据集合,该第一数据集合为该第三数据集合中的部分或全部,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;其中,承载该第一数据集合的资源是基于第二PBR为第一逻辑信道LCH分配的资源,该第二PBR是基于第三数据集合的数据量确定的。In a fourth aspect, the present application provides a communication method, which is executed by a second device, or the method is executed by some components in the second device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the second device. In the fourth aspect and its possible implementation, the communication method is described as being executed by the second device, and the second device can be a terminal device or a network device. In the method, the second device determines uplink data; the second device receives the uplink data from the first device; The source receives a first data set, which is part or all of the third data set, and the third data set is associated with the first LCH. The remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the second PBR, and the second PBR is determined based on the amount of data of the third data set.
基于上述技术方案,第二设备在第一资源中接收第一数据集合,承载该第一数据集合的资源是基于第二PBR为第一逻辑信道LCH分配的资源,换言之,对于第一设备而言,在为第一数据集合分配资源的过程中,第一设备可以将第二PBR作为第一数据集合的资源分配依据之一,该第二PBR是基于第三数据集合的数据量确定的,使得第三数据集合的数据量作为第一数据集合的资源分配依据之一,以期使得剩余时间小于或等于阈值的部分或全部数据集合能够成功传输。并且,由于第二PBR的取值关联于该第三数据集合的数据量,能够使得尽可能的避免或减小为第一数据集合的资源分配过程对其它数据的影响。Based on the above technical solution, the second device receives the first data set in the first resource, and the resource carrying the first data set is the resource allocated to the first logical channel LCH based on the second PBR. In other words, for the first device, in the process of allocating resources for the first data set, the first device can use the second PBR as one of the resource allocation bases for the first data set. The second PBR is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to enable part or all of the data sets with a remaining time less than or equal to the threshold to be successfully transmitted. In addition, since the value of the second PBR is associated with the data volume of the third data set, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
在第四方面的一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation manner of the fourth aspect, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
基于上述技术方案,第二PBR是基于第三数据集合的数据量确定的情况下,该第二PBR的取值可以通过上述多种方式实现,并且,由于第二PBR的取值关联于该第三数据集合的数据量以及配置的PBR,能够使得尽可能的避免或减小为第一数据集合的资源分配过程对其它数据的影响。Based on the above technical solution, when the second PBR is determined based on the data volume of the third data set, the value of the second PBR can be achieved through the above-mentioned multiple methods, and since the value of the second PBR is associated with the data volume of the third data set and the configured PBR, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
在第四方面的一种可能的实现方式中,该方法还包括:该第二设备发送第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation manner of the fourth aspect, the method also includes: the second device sends second indication information, the second indication information indicating that resources are allocated to the first LCH based on the second PBR, or the second indication information indicating that resources are not allocated to the first LCH based on the second PBR.
基于上述技术方案,第二设备还可以发送第二指示信息,使得第一设备能够基于第二设备的指示为第一数据集合分配资源。Based on the above technical solution, the second device may also send second indication information, so that the first device can allocate resources for the first data set based on the indication of the second device.
在第四方面的一种可能的实现方式中,该方法还包括:该第二设备接收第二数据集合,该第二数据集合与该第一LCH相关联;其中,为该第二数据集合分配的资源是基于该第一数据集合的数据量确定的。In a possible implementation manner of the fourth aspect, the method further includes: the second device receives a second data set, the second data set is associated with the first LCH; wherein the resources allocated to the second data set are determined based on the data amount of the first data set.
基于上述技术方案,第二设备可以在该第一资源中接收第一数据集合和第二数据集合。其中,该第一数据集合和该第二数据集合均与第一LCH相关联,为该第二数据集合分配的资源是基于该第一数据集合的数据量确定的。换言之,第一设备为第一LCH相关联的第一数据集合分配资源之后,在基于该第一数据集合的数据量为第二数据集合分配资源的情况下,该第一设备在第一资源中发送该第一数据集合和第二数据集合;在基于该第一数据集合的数据量确定不为该第一数据集合所关联的第一LCH分配资源的情况下,该第一设备在第一资源中发送该第一数据集合。从而,第一设备可以基于该第一数据集合的数据量确定除了第一数据集合之外的其它数据集合(例如第二数据集合)的资源,以避免或减小对第一数据集合之外的其它数据的传输产生影响,以期提升通信效率。Based on the above technical solution, the second device can receive the first data set and the second data set in the first resource. The first data set and the second data set are both associated with the first LCH, and the resources allocated to the second data set are determined based on the data volume of the first data set. In other words, after the first device allocates resources to the first data set associated with the first LCH, in the case where resources are allocated to the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined based on the data volume of the first data set that resources are not allocated to the first LCH associated with the first data set, the first device sends the first data set in the first resource. Thus, the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
需要说明的是,在第四方面涉及的实现过程中(包括名词解释,以及第二设备接收第一数据集合的过程,以及第二设备接收该第一数据集合和第二数据集合的过程等中的至少一项),可以参考本申请其它实施例(例如第二方面及其可能的实现方式)的描述,并实现相应的技术效果,此处不做赘述。It should be noted that, in the implementation process involved in the fourth aspect (including the explanation of terms, and at least one of the process of the second device receiving the first data set and the process of the second device receiving the first data set and the second data set), you can refer to the description of other embodiments of the present application (such as the second aspect and its possible implementation methods) and achieve the corresponding technical effects, which will not be repeated here.
本申请第五方面提供了一种通信方法,该方法由第一设备执行,或者,该方法由第一设备中的部分组件(例如处理器、芯片或芯片系统等)执行,或者该方法还可以由能实现全部或部分第一设备功能的逻辑模块或软件实现。在第五方面及其可能的实现方式中,以该通信方法由第一设备执行为例进行描述,该第一设备可以为终端设备。在该方法中,第一设备基于第三数据集合的数据量为第一LCH分配资源;其中,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;该第一LCH的优先级是基于该第一LCH中的数据确定的;该第一设备在第一资源中发送第一数据集合,该第一数据集合为该第三数据集合的部分或全部。The fifth aspect of the present application provides a communication method, which is executed by a first device, or the method is executed by some components in the first device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the first device. In the fifth aspect and its possible implementation, the communication method is described as being executed by a first device, and the first device can be a terminal device. In this method, the first device allocates resources to a first LCH based on the amount of data of a third data set; wherein the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the priority of the first LCH is determined based on the data in the first LCH; the first device sends a first data set in a first resource, and the first data set is part or all of the third data set.
基于上述技术方案,第一设备基于第三数据集合的数据量为第一LCH分配资源之后,该第一设备在第一资源中发送该第三数据集合中的部分或全部(即第一数据集合)。其中,承载该第一数据集合的第一LCH的优先级是基于该第一LCH中的数据确定的。换言之,在为第一数据集合分配资源的过程中,第一设备可以将第一LCH的优先级作为第一数据集合的资源分配依据之一,该第一LCH的优先级是基于第三数据集合的数据量确定的,使得第三数据集合的数据量作为第一数据集合的资源分配依据之一,以期使得剩余时间小于或等于阈值的部分或全部数据集合能够成功传输。并且,由于为第一数据集合分配的 资源关联于该第三数据集合的数据量,能够使得尽可能的避免或减小为第一数据集合的资源分配过程对其它数据的影响。Based on the above technical solution, after the first device allocates resources to the first LCH based on the data volume of the third data set, the first device sends part or all of the third data set (i.e., the first data set) in the first resource. The priority of the first LCH carrying the first data set is determined based on the data in the first LCH. In other words, in the process of allocating resources to the first data set, the first device may use the priority of the first LCH as one of the resource allocation bases for the first data set, and the priority of the first LCH is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to enable part or all of the data sets with a remaining time less than or equal to a threshold to be successfully transmitted. And, since the resources allocated to the first data set are The resources are associated with the data volume of the third data set, so that the influence of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
在第五方面的一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量以下至少一项信息中的最小值,该至少一项信息包括:为其它数据或其它信令分配资源之后的剩余资源;或,第二PBR,其中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值,或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation manner of the fifth aspect, the data volume of the first data set is the minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes: the remaining resources after allocating resources for other data or other signaling; or, a second PBR, wherein the second PBR is the minimum value of the data volume of the third data set and the configured PBR, or the value of the second PBR is the data volume of the third data set.
基于上述技术方案,通过限定第一数据集合的数据量小于或等于上述任一项的方式,能够避免对该第一LCH之外的其它LCH中将要传输的数据产生影响。Based on the above technical solution, by limiting the data amount of the first data set to be less than or equal to any of the above items, it is possible to avoid affecting the data to be transmitted in other LCHs other than the first LCH.
在第五方面的一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量。In a possible implementation manner of the fifth aspect, the data volume of the first data set is the data volume of the third data set.
基于上述技术方案,该第一数据集合的数据量可以与该第三数据集合的数据量相同,以期使得剩余时间小于或等于阈值的全部数据集合能够成功传输。Based on the above technical solution, the data volume of the first data set may be the same as the data volume of the third data set, so that all data sets with remaining time less than or equal to the threshold can be successfully transmitted.
在第五方面的一种可能的实现方式中,该方法还包括:该第一设备接收第三指示信息,该第三指示信息指示基于该第三数据集合的数据量为该第一LCH分配资源,或,该第三指示信息指示不基于该第三数据集合的数据量为该第一LCH分配资源。In a possible implementation of the fifth aspect, the method also includes: the first device receives third indication information, the third indication information indicating that resources are allocated to the first LCH based on the data amount of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data amount of the third data set.
基于上述技术方案,第一设备还可以接收第三指示信息,使得第一设备基于第二设备的指示确定是否基于该第三数据集合的数据量为该第一LCH分配资源。Based on the above technical solution, the first device may also receive third indication information, so that the first device determines whether to allocate resources to the first LCH based on the data volume of the third data set based on the indication of the second device.
在第五方面的一种可能的实现方式中,该方法还包括:该第一设备基于该第一数据集合的数据量为第二数据集合分配资源,在第一资源中发送该第二数据集合,该第二数据集合与该第一LCH相关联;或,基于该第一数据集合的数据量确定不为该第一LCH分配资源。In a possible implementation of the fifth aspect, the method also includes: the first device allocates resources to the second data set based on the data volume of the first data set, sends the second data set in the first resources, and the second data set is associated with the first LCH; or, determines not to allocate resources to the first LCH based on the data volume of the first data set.
基于上述技术方案,第一设备为第一LCH相关联的第一数据集合分配资源之后,在基于该第一数据集合的数据量为第二数据集合分配资源的情况下,该第一设备在第一资源中发送该第一数据集合和第二数据集合;在基于该第一数据集合的数据量确定不为该第一数据集合所关联的第一LCH分配资源的情况下,该第一设备在第一资源中发送该第一数据集合。从而,第一设备可以基于该第一数据集合的数据量确定除了第一数据集合之外的其它数据集合(例如第二数据集合)的资源,以避免或减小对第一数据集合之外的其它数据的传输产生影响,以期提升通信效率。Based on the above technical solution, after the first device allocates resources for the first data set associated with the first LCH, in the case where resources are allocated for the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined not to allocate resources for the first LCH associated with the first data set based on the data volume of the first data set, the first device sends the first data set in the first resource. Thus, the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
需要说明的是,在第五方面涉及的实现过程中(包括名词解释,第一LCH涉及的第一变量的多种可能的取值,以及第一设备确定为第一数据集合分配资源的过程,以及第一设备基于该第一数据集合的数据量为第二数据集合分配资源的过程,以及第一设备基于该第一数据集合的数据量确定不为该第一LCH分配资源的过程等中的至少一项),可以参考本申请其它实施例(例如第一方面及其可能的实现方式)的描述,并实现相应的技术效果,此处不做赘述。It should be noted that, in the implementation process involved in the fifth aspect (including the explanation of terms, multiple possible values of the first variable involved in the first LCH, and the process of the first device determining to allocate resources for the first data set, and the process of the first device allocating resources to the second data set based on the data volume of the first data set, and the process of the first device determining not to allocate resources to the first LCH based on the data volume of the first data set, etc., at least one of the above), you can refer to the description of other embodiments of the present application (such as the first aspect and its possible implementation methods) and achieve the corresponding technical effects, which will not be repeated here.
本申请第六方面提供了一种通信方法,该方法由第二设备执行,或者,该方法由第二设备中的部分组件(例如处理器、芯片或芯片系统等)执行,或者该方法还可以由能实现全部或部分第二设备功能的逻辑模块或软件实现。在第六方面及其可能的实现方式中,以该通信方法由第二设备执行为例进行描述,该第二设备可以为终端设备或网络设备。在该方法中,第二设备确定第一资源;该第二设备在该第一资源中接收第一数据集合,该第一数据集合为该第三数据集合的部分或全部,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;其中,承载该第一数据集合的资源是基于该第三数据集合的数据量为第一逻辑信道LCH分配的资源,该第一LCH的优先级是基于该第一LCH中的数据确定的。The sixth aspect of the present application provides a communication method, which is executed by a second device, or the method is executed by some components in the second device (such as a processor, a chip or a chip system, etc.), or the method can also be implemented by a logic module or software that can realize all or part of the functions of the second device. In the sixth aspect and its possible implementation, the communication method is described as being executed by the second device, and the second device can be a terminal device or a network device. In this method, the second device determines a first resource; the second device receives a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resource carrying the first data set is a resource allocated to the first logical channel LCH based on the amount of data of the third data set, and the priority of the first LCH is determined based on the data in the first LCH.
基于上述技术方案,第二设备在第一资源中接收第一数据集合,承载该第一数据集合的资源是基于该第三数据集合的数据量为第一逻辑信道LCH分配的资源。换言之,对于第一设备而言,在为第一数据集合分配资源的过程中,第一设备可以将第一LCH的优先级作为第一数据集合的资源分配依据之一,该第一LCH的优先级是基于第三数据集合的数据量确定的,使得第三数据集合的数据量作为第一数据集合的资源分配依据之一,以期使得剩余时间小于或等于阈值的部分或全部数据集合能够成功传输。并且,由于为第一数据集合分配的资源关联于该第三数据集合的数据量,能够使得尽可能的避免或减小为第一数据集合的资源分配过程对其它数据的影响。 Based on the above technical solution, the second device receives the first data set in the first resource, and the resource carrying the first data set is a resource allocated to the first logical channel LCH based on the data volume of the third data set. In other words, for the first device, in the process of allocating resources for the first data set, the first device can use the priority of the first LCH as one of the resource allocation bases for the first data set, and the priority of the first LCH is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to enable part or all of the data sets with a remaining time less than or equal to a threshold to be successfully transmitted. In addition, since the resources allocated for the first data set are associated with the data volume of the third data set, the impact of the resource allocation process for the first data set on other data can be avoided or reduced as much as possible.
在第六方面的一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量以下至少一项信息中的最小值,该至少一项信息包括:为其它数据或其它信令分配资源之后的剩余资源;或,第二PBR,其中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值,或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation manner of the sixth aspect, the data volume of the first data set is the minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes: the remaining resources after allocating resources for other data or other signaling; or, a second PBR, wherein the second PBR is the minimum value of the data volume of the third data set and the configured PBR, or the value of the second PBR is the data volume of the third data set.
基于上述技术方案,通过限定第一数据集合的数据量小于或等于上述任一项的方式,能够避免对该第一LCH之外的其它LCH中将要传输的数据产生影响。Based on the above technical solution, by limiting the data amount of the first data set to be less than or equal to any of the above items, it is possible to avoid affecting the data to be transmitted in other LCHs other than the first LCH.
在第六方面的一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量。In a possible implementation manner of the sixth aspect, the data volume of the first data set is the data volume of the third data set.
基于上述技术方案,该第一数据集合的数据量可以与该第三数据集合的数据量相同,以期使得剩余时间小于或等于阈值的全部数据集合能够成功传输。Based on the above technical solution, the data volume of the first data set may be the same as the data volume of the third data set, so that all data sets with remaining time less than or equal to the threshold can be successfully transmitted.
在第六方面的一种可能的实现方式中,该方法还包括:该第二设备发送第三指示信息,该第三指示信息指示基于该第三数据集合的数据量为该第一LCH分配资源,或,该第三指示信息指示不基于该第三数据集合的数据量为该第一LCH分配资源。In a possible implementation of the sixth aspect, the method also includes: the second device sends third indication information, the third indication information indicating that resources are allocated to the first LCH based on the data amount of the third data set, or the third indication information indicating that resources are not allocated to the first LCH based on the data amount of the third data set.
基于上述技术方案,第二设备还可以发送第三指示信息,使得第一设备基于第二设备的指示确定是否基于该第三数据集合的数据量为该第一LCH分配资源。Based on the above technical solution, the second device may also send third indication information, so that the first device determines whether to allocate resources to the first LCH based on the data volume of the third data set based on the indication of the second device.
在第六方面的一种可能的实现方式中,该方法还包括:该第二设备在该第一资源中接收第二数据集合,该第二数据集合与该第一LCH相关联,承载该第二数据集合的资源是基于该第一数据集合的数据量确定的。In a possible implementation of the sixth aspect, the method also includes: the second device receives a second data set in the first resource, the second data set is associated with the first LCH, and the resource carrying the second data set is determined based on the data amount of the first data set.
基于上述技术方案,第二设备还可以在第一资源中接收第二数据集合,并且,承载该第二数据集合的资源是基于该第一数据集合的数据量确定的。换言之,对于第一设备而言,第一设备为第一LCH相关联的第一数据集合分配资源之后,在基于该第一数据集合的数据量为第二数据集合分配资源的情况下,该第一设备在第一资源中发送该第一数据集合和第二数据集合;在基于该第一数据集合的数据量确定不为该第一数据集合所关联的第一LCH分配资源的情况下,该第一设备在第一资源中发送该第一数据集合。从而,第一设备可以基于该第一数据集合的数据量确定除了第一数据集合之外的其它数据集合(例如第二数据集合)的资源,以避免或减小对第一数据集合之外的其它数据的传输产生影响,以期提升通信效率。Based on the above technical solution, the second device can also receive the second data set in the first resource, and the resource carrying the second data set is determined based on the data volume of the first data set. In other words, for the first device, after the first device allocates resources for the first data set associated with the first LCH, in the case where resources are allocated for the second data set based on the data volume of the first data set, the first device sends the first data set and the second data set in the first resource; in the case where it is determined based on the data volume of the first data set that resources are not allocated for the first LCH associated with the first data set, the first device sends the first data set in the first resource. Thus, the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set, so as to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
需要说明的是,在第六方面涉及的实现过程中(包括名词解释,以及第二设备接收第一数据集合的过程,以及第二设备接收该第一数据集合和第二数据集合的过程等中的至少一项),可以参考本申请其它实施例(例如第二方面及其可能的实现方式)的描述,并实现相应的技术效果,此处不做赘述。It should be noted that, in the implementation process involved in the sixth aspect (including the explanation of terms, and at least one of the process of the second device receiving the first data set and the process of the second device receiving the first data set and the second data set), you can refer to the description of other embodiments of the present application (such as the second aspect and its possible implementation methods) and achieve the corresponding technical effects, which will not be repeated here.
本申请第七方面提供了一种通信装置,该装置为第一设备,或者,该装置为第一设备中的部分组件(例如处理器、芯片或芯片系统等),或者,该装置还可以为能够实现全部或部分第一设备功能的逻辑模块或软件。在第七方面及其可能的实现方式中,以该通信装置为第一设备执行为例进行描述,该第一设备可以为终端设备。In a seventh aspect of the present application, a communication device is provided, which is a first device, or the device is a partial component (such as a processor, a chip or a chip system, etc.) in the first device, or the device can also be a logic module or software that can implement all or part of the functions of the first device. In the seventh aspect and its possible implementation, the communication device is described as an example of executing the first device, and the first device can be a terminal device.
该装置包括处理单元和收发单元;该处理单元用于为第一数据集合分配资源,该第一数据集合与第一逻辑信道LCH相关联;该处理单元还用于基于该第一数据集合的数据量为第二数据集合分配资源,该收发单元用于在第一资源中发送该第一数据集合和该第二数据集合,该第二数据集合与该第一LCH相关联;或,该处理单元还用于基于该第一数据集合的数据量确定不为该第一LCH分配资源,该收发单元还用于在第一资源中发送该第一数据集合。The device includes a processing unit and a transceiver unit; the processing unit is used to allocate resources for a first data set, and the first data set is associated with a first logical channel LCH; the processing unit is also used to allocate resources for a second data set based on the data volume of the first data set, and the transceiver unit is used to send the first data set and the second data set in the first resource, and the second data set is associated with the first LCH; or, the processing unit is also used to determine not to allocate resources for the first LCH based on the data volume of the first data set, and the transceiver unit is also used to send the first data set in the first resource.
在第七方面的一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the seventh aspect, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第七方面的一种可能的实现方式中,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值小于或等于0,该第二取值小于或等于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。 In a possible implementation of the seventh aspect, before determining not to allocate resources to the first LCH based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
在第七方面的一种可能的实现方式中,在基于该第一数据集合的数据量确定为该第二数据集合分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值大于0,该第二取值大于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the seventh aspect, before allocating resources to the second data set is determined based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在第七方面的一种可能的实现方式中,在基于该第一数据集合的数据量为该第二数据集合分配资源之后,该处理单元还用于基于为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源。In a possible implementation of the seventh aspect, after allocating resources to the second data set based on the data amount of the first data set, the processing unit is also used to allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set.
在第七方面的一种可能的实现方式中,在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值大于0。In a possible implementation manner of the seventh aspect, before resources are allocated to the first data set, a value of a first variable corresponding to the first LCH is greater than 0.
在第七方面的一种可能的实现方式中,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值为第一取值或第二取值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the seventh aspect, after allocating resources to the first data, the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
在第七方面的一种可能的实现方式中,在基于该第一数据集合的数据量为第二数据集合分配资源之后,或,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之后,该第一LCH对应的第一变量的取值为以下任一项:第二取值与该第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量以及第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量之间的差值;或,第一取值与该第二数据集合的数据量之间的差值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the seventh aspect, after allocating resources to the second data set based on the data volume of the first data set, or after determining not to allocate resources to the first LCH based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在第七方面的一种可能的实现方式中,该处理单元具体用于基于第一参数为第二数据集合分配资源,或,基于第一参数确定不为该第一LCH分配资源;其中,该第一参数与该第一LCH的资源分配相关联。In a possible implementation of the seventh aspect, the processing unit is specifically used to allocate resources to the second data set based on the first parameter, or to determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
在第七方面的一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the seventh aspect, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第七方面的一种可能的实现方式中,该收发单元还用于接收第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In a possible implementation of the seventh aspect, the transceiver unit is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在第七方面的一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation manner of the seventh aspect, a value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
在第七方面的一种可能的实现方式中,该第一数据集合包括K个部分;该处理单元具体用于基于以下任一项为第一数据集合分配资源,包括:该K个部分对应的剩余时长从小到大的排序,该K个部分对应的剩余时长的范围从小到大的排序,该K个部分的数据优先级从高到低的排序,该K个部分对应的K个逻辑信道的信道优先级从高到低的排序。In a possible implementation of the seventh aspect, the first data set includes K parts; the processing unit is specifically used to allocate resources to the first data set based on any of the following items, including: sorting the remaining time lengths corresponding to the K parts from small to large, sorting the ranges of the remaining time lengths corresponding to the K parts from small to large, sorting the data priorities of the K parts from high to low, and sorting the channel priorities of the K logical channels corresponding to the K parts from high to low.
在第七方面的一种可能的实现方式中,该处理单元具体用于:基于第二PBR为该第一LCH分配资源,该第二PBR是基于第三数据集合的数据量确定的;其中,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值,该第一数据集合为该第三数据集合中的部分或全部。In a possible implementation of the seventh aspect, the processing unit is specifically used to: allocate resources to the first LCH based on a second PBR, and the second PBR is determined based on the data amount of a third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
在第七方面的一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation manner of the seventh aspect, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
在第七方面的一种可能的实现方式中,该收发单元还用于接收第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation of the seventh aspect, the transceiver unit is further used to receive second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
在第七方面的一种可能的实现方式中,该处理单元为第一数据集合分配资源包括以下任一项:In a possible implementation manner of the seventh aspect, allocating, by the processing unit, resources for the first data set includes any of the following:
基于数据对应的剩余时间的升序为满足条件A的数据分配资源;Allocate resources to data that meets condition A based on the ascending order of the remaining time corresponding to the data;
基于数据对应的剩余时间的范围的升序为满足条件A的数据分配资源;Allocate resources to data satisfying condition A based on the ascending order of the range of remaining time corresponding to the data;
基于数据对应的优先级为满足条件A的数据分配资源;或,Allocate resources to data that meets condition A based on the priority level of the data; or,
基于LCH的优先级的降序为满足条件A的数据分配资源; Allocate resources for data that meets condition A based on the descending order of priority of the LCH;
其中,条件A包括数据对应的剩余时间小于或等于阈值。Among them, condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
本申请实施例第七方面中,通信装置的组成模块还可以用于执行第一方面的各个可能实现方式中所执行的步骤,并实现相应的技术效果,具体均可以参阅第一方面,此处不再赘述。In the seventh aspect of the embodiment of the present application, the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the first aspect and achieve corresponding technical effects. For details, please refer to the first aspect and will not be repeated here.
本申请第八方面提供了一种通信装置,该装置为第二设备,或者,该装置为第二设备中的部分组件(例如处理器、芯片或芯片系统等),或者,该装置还可以为能够实现全部或部分第一设备功能的逻辑模块或软件。在第八方面及其可能的实现方式中,以该通信装置为第二设备执行为例进行描述,该第二设备可以为终端设备或网络设备。In an eighth aspect of the present application, a communication device is provided, which is a second device, or the device is a partial component (such as a processor, a chip or a chip system, etc.) in the second device, or the device can also be a logic module or software that can implement all or part of the functions of the first device. In the eighth aspect and its possible implementation, the communication device is described as an example of executing the second device, and the second device can be a terminal device or a network device.
该装置包括处理单元和收发单元;该处理单元用于确定第一资源;该收发单元用于在该第一资源中接收第一数据集合,或,该收发单元用于在该第一资源中接收该第一数据集合和第二数据集合;其中,该第一数据集合和该第二数据集合均与第一逻辑信道LCH相关联,为该第二数据集合分配的资源是基于该第一数据集合的数据量确定的。The device includes a processing unit and a transceiver unit; the processing unit is used to determine a first resource; the transceiver unit is used to receive a first data set in the first resource, or, the transceiver unit is used to receive the first data set and a second data set in the first resource; wherein the first data set and the second data set are both associated with a first logical channel LCH, and the resources allocated to the second data set are determined based on the data amount of the first data set.
在第八方面的一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the eighth aspect, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第八方面的一种可能的实现方式中,该收发单元还用于在该第一资源中接收其它数据集合,其中,为该其它数据集合分配的资源是为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源。In a possible implementation of the eighth aspect, the transceiver unit is also used to receive other data sets in the first resource, wherein the resources allocated to the other data sets are the remaining resources other than the resources allocated to the first data set and the resources allocated to the second data set.
在第八方面的一种可能的实现方式中,为该第二数据集合分配的资源是基于第一参数确定的,该第一参数与该第一LCH的资源分配相关联。In a possible implementation manner of the eighth aspect, the resources allocated to the second data set are determined based on a first parameter, and the first parameter is associated with the resource allocation of the first LCH.
在第八方面的一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the eighth aspect, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第八方面的一种可能的实现方式中,该收发单元还用于发送第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In a possible implementation of the eighth aspect, the transceiver unit is also used to send a first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在第八方面的一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation manner of the eighth aspect, a value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
在第八方面的一种可能的实现方式中,为该第二数据集合分配的资源是基于第二PBR为该第一LCH分配的资源确定的,该第二PBR是基于第三数据集合的数据量确定的;其中,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值,该第一数据集合为该第三数据集合中的部分或全部。In a possible implementation of the eighth aspect, the resources allocated to the second data set are determined based on the resources allocated by the second PBR to the first LCH, and the second PBR is determined based on the data amount of the third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
在第八方面的一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation manner of the eighth aspect, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
在第八方面的一种可能的实现方式中,该收发单元还用于发送第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation manner of the eighth aspect, the transceiver unit is further used to send second indication information, wherein the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
在第八方面的一种可能的实现方式中,该处理单元为第一数据集合分配资源包括以下任一项:In a possible implementation manner of the eighth aspect, allocating, by the processing unit, resources for the first data set includes any of the following:
基于数据对应的剩余时间的升序为满足条件A的数据分配资源;Allocate resources to data that meets condition A based on the ascending order of the remaining time corresponding to the data;
基于数据对应的剩余时间的范围的升序为满足条件A的数据分配资源;Allocate resources to data satisfying condition A based on the ascending order of the range of remaining time corresponding to the data;
基于数据对应的优先级为满足条件A的数据分配资源;或,Allocate resources to data that meets condition A based on the priority level of the data; or,
基于LCH的优先级的降序为满足条件A的数据分配资源;Allocate resources for data that meets condition A based on the descending order of priority of the LCH;
其中,条件A包括数据对应的剩余时间小于或等于阈值。Among them, condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
本申请实施例第八方面中,通信装置的组成模块还可以用于执行第二方面的各个可能实现方式中所 执行的步骤,并实现相应的技术效果,具体均可以参阅第二方面,此处不再赘述。In the eighth aspect of the embodiment of the present application, the component modules of the communication device can also be used to execute the various possible implementation methods of the second aspect. The steps to be executed and the corresponding technical effects to be achieved can be specifically referred to in the second aspect and will not be described in detail here.
本申请第九方面提供了一种通信装置,该装置为第一设备,或者,该装置为第一设备中的部分组件(例如处理器、芯片或芯片系统等),或者,该装置还可以为能够实现全部或部分第一设备功能的逻辑模块或软件。在第七方面及其可能的实现方式中,以该通信装置为第一设备执行为例进行描述,该第一设备可以为终端设备。In a ninth aspect of the present application, a communication device is provided, which is a first device, or the device is a partial component (such as a processor, a chip or a chip system, etc.) in the first device, or the device can also be a logic module or software that can implement all or part of the functions of the first device. In the seventh aspect and its possible implementation, the communication device is described as an example of executing the first device, and the first device can be a terminal device.
该装置包括处理单元和收发单元;该处理单元用于基于第二PBR为第一逻辑信道LCH分配资源;其中,该第二PBR是基于第三数据集合的数据量确定的;该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;该收发单元用于在第一资源中发送第一数据集合,其中,该第一数据集合为该第三数据集合中的部分或全部。The device includes a processing unit and a transceiver unit; the processing unit is used to allocate resources to a first logical channel LCH based on a second PBR; wherein the second PBR is determined based on the amount of data of a third data set; the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the transceiver unit is used to send a first data set in a first resource, wherein the first data set is part or all of the third data set.
在第九方面的一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation manner of the ninth aspect, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
在第九方面的一种可能的实现方式中,该收发单元还用于接收第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation of the ninth aspect, the transceiver unit is further used to receive second indication information, wherein the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
在第九方面的一种可能的实现方式中,该确定单元还用于基于该第一数据集合的数据量为第二数据集合分配资源,在第一资源中发送该第二数据集合,该第二数据集合与该第一LCH相关联;或,基于该第一数据集合的数据量确定不为该第一LCH分配资源。In a possible implementation of the ninth aspect, the determination unit is also used to allocate resources to a second data set based on the data volume of the first data set, send the second data set in the first resources, and the second data set is associated with the first LCH; or, determine not to allocate resources to the first LCH based on the data volume of the first data set.
在第九方面的一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the ninth aspect, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第九方面的一种可能的实现方式中,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值小于或等于0,该第二取值小于或等于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the ninth aspect, before determining not to allocate resources to the first LCH based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
在第九方面的一种可能的实现方式中,在基于该第一数据集合的数据量确定为该第二数据集合分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值大于0,该第二取值大于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the ninth aspect, before allocating resources to the second data set is determined based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在第九方面的一种可能的实现方式中,在基于该第一数据集合的数据量为该第二数据集合分配资源之后,该处理单元还用于基于为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源。In a possible implementation of the ninth aspect, after allocating resources to the second data set based on the data amount of the first data set, the processing unit is also used to allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set.
在第九方面的一种可能的实现方式中,在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值大于0。In a possible implementation manner of the ninth aspect, before resources are allocated to the first data set, a value of the first variable corresponding to the first LCH is greater than 0.
在第九方面的一种可能的实现方式中,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值为第一取值或第二取值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the ninth aspect, after allocating resources to the first data, the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
在第九方面的一种可能的实现方式中,在基于该第一数据集合的数据量为第二数据集合分配资源之后,或,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之后,该第一LCH对应的第一变量的取值为以下任一项:第二取值与该第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量以及第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量之间的差值;或,第一取值与该第二数据集合的数据量之间的差值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the ninth aspect, after allocating resources to the second data set based on the data volume of the first data set, or after determining not to allocate resources to the first LCH based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在第九方面的一种可能的实现方式中,该处理单元具体用于基于第一参数为第二数据集合分配资源,或,基于第一参数确定不为该第一LCH分配资源;其中,该第一参数与该第一LCH的资源分配相关联。 In a possible implementation of the ninth aspect, the processing unit is specifically used to allocate resources to the second data set based on the first parameter, or determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
在第九方面的一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the ninth aspect, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第九方面的一种可能的实现方式中,该收发单元还用于接收第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In a possible implementation of the ninth aspect, the transceiver unit is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在第九方面的一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation manner of the ninth aspect, the value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
在第九方面的一种可能的实现方式中,该第一数据集合包括K个部分;该处理单元具体用于基于以下任一项为第一数据集合分配资源,包括:该K个部分对应的剩余时长从小到大的排序,该K个部分对应的剩余时长的范围从小到大的排序,该K个部分的数据优先级从高到低的排序,该K个部分对应的K个逻辑信道的信道优先级从高到低的排序。In a possible implementation of the ninth aspect, the first data set includes K parts; the processing unit is specifically used to allocate resources to the first data set based on any of the following items, including: sorting the remaining time lengths corresponding to the K parts from small to large, sorting the ranges of the remaining time lengths corresponding to the K parts from small to large, sorting the data priorities of the K parts from high to low, and sorting the channel priorities of the K logical channels corresponding to the K parts from high to low.
本申请实施例第九方面中,通信装置的组成模块还可以用于执行第三方面的各个可能实现方式中所执行的步骤,并实现相应的技术效果,具体均可以参阅第三方面,此处不再赘述。In the ninth aspect of the embodiments of the present application, the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the third aspect and achieve corresponding technical effects. For details, please refer to the third aspect and will not be repeated here.
本申请第十方面提供了一种通信装置,该装置为第二设备,或者,该装置为第二设备中的部分组件(例如处理器、芯片或芯片系统等),或者,该装置还可以为能够实现全部或部分第一设备功能的逻辑模块或软件。在第八方面及其可能的实现方式中,以该通信装置为第二设备执行为例进行描述,该第二设备可以为终端设备或网络设备。In the tenth aspect of the present application, a communication device is provided, which is a second device, or the device is a partial component (such as a processor, a chip or a chip system, etc.) in the second device, or the device can also be a logic module or software that can implement all or part of the functions of the first device. In the eighth aspect and its possible implementation, the communication device is described as an example of executing the second device, and the second device can be a terminal device or a network device.
该装置包括处理单元和收发单元;该处理单元用于确定上行数据;该收发单元用于在该第一资源接收第一数据集合,该第一数据集合为该第三数据集合中的部分或全部,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;其中,承载该第一数据集合的资源是基于第二PBR为第一逻辑信道LCH分配的资源,该第二PBR是基于第三数据集合的数据量确定的。The device includes a processing unit and a transceiver unit; the processing unit is used to determine uplink data; the transceiver unit is used to receive a first data set on the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the second PBR, and the second PBR is determined based on the data volume of the third data set.
在第十方面的一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation manner of the tenth aspect, the second PBR is the minimum value between the data volume of the third data set and the configured PBR; or, the value of the second PBR is the data volume of the third data set.
在第十方面的一种可能的实现方式中,该收发单元还用于发送第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation of the tenth aspect, the transceiver unit is further used to send second indication information, wherein the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
在第十方面的一种可能的实现方式中,该收发单元还用于接收第二数据集合,该第二数据集合与该第一LCH相关联;其中,为该第二数据集合分配的资源是基于该第一数据集合的数据量确定的。In a possible implementation of the tenth aspect, the transceiver unit is further used to receive a second data set, which is associated with the first LCH; wherein the resources allocated to the second data set are determined based on the data amount of the first data set.
在第十方面的一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the tenth aspect, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第十方面的一种可能的实现方式中,该收发单元还用于在该第一资源中接收其它数据集合,其中,为该其它数据集合分配的资源是为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源。In a possible implementation of the tenth aspect, the transceiver unit is also used to receive other data sets in the first resource, wherein the resources allocated to the other data sets are the remaining resources other than the resources allocated to the first data set and the resources allocated to the second data set.
在第十方面的一种可能的实现方式中,为该第二数据集合分配的资源是基于第一参数确定的,该第一参数与该第一LCH的资源分配相关联。In a possible implementation manner of the tenth aspect, the resources allocated to the second data set are determined based on a first parameter, and the first parameter is associated with the resource allocation of the first LCH.
在第十方面的一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the tenth aspect, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第十方面的一种可能的实现方式中,该收发单元还用于发送第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据 量为第一LCH分配资源。In a possible implementation manner of the tenth aspect, the transceiver unit is further used to send first indication information, where the first indication information indicates that resources are allocated to the first LCH based on the amount of data of the first data set, or the first indication information indicates that resources are allocated to the first LCH based on the amount of data of the first data set. The amount is used to allocate resources for the first LCH.
在第十方面的一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation manner of the tenth aspect, the value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
本申请实施例第十方面中,通信装置的组成模块还可以用于执行第四方面的各个可能实现方式中所执行的步骤,并实现相应的技术效果,具体均可以参阅第四方面,此处不再赘述。In the tenth aspect of the embodiment of the present application, the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the fourth aspect and achieve corresponding technical effects. For details, please refer to the fourth aspect and will not be repeated here.
本申请第十一方面提供了一种通信装置,该装置为第一设备,或者,该装置为第一设备中的部分组件(例如处理器、芯片或芯片系统等),或者,该装置还可以为能够实现全部或部分第一设备功能的逻辑模块或软件。在第七方面及其可能的实现方式中,以该通信装置为第一设备执行为例进行描述,该第一设备可以为终端设备。In the eleventh aspect of the present application, a communication device is provided, which is a first device, or the device is a partial component (such as a processor, a chip or a chip system, etc.) in the first device, or the device can also be a logic module or software that can implement all or part of the functions of the first device. In the seventh aspect and its possible implementation, the communication device is described as the first device, and the first device can be a terminal device.
该装置包括处理单元和收发单元;该处理单元用于基于第三数据集合的数据量为第一逻辑信道LCH分配资源;其中,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;该第一LCH的优先级是基于该第一LCH中的数据确定的;该收发单元用于在第一资源中发送第一数据集合,该第一数据集合为该第三数据集合的部分或全部。The device includes a processing unit and a transceiver unit; the processing unit is used to allocate resources to a first logical channel LCH based on the data volume of a third data set; wherein the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the priority of the first LCH is determined based on the data in the first LCH; the transceiver unit is used to send a first data set in a first resource, and the first data set is part or all of the third data set.
在第十一方面的一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量以下至少一项信息中的最小值,该至少一项信息包括:为其它数据或其它信令分配资源之后的剩余资源;或,第二PBR,其中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值,或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation of the eleventh aspect, the data volume of the first data set is the minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes: the remaining resources after allocating resources for other data or other signaling; or, a second PBR, wherein the second PBR is the minimum value of the data volume of the third data set and the configured PBR, or the value of the second PBR is the data volume of the third data set.
在第十一方面的一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量。In a possible implementation manner of the eleventh aspect, the data volume of the first data set is the data volume of the third data set.
在第十一方面的一种可能的实现方式中,该收发单元还用于接收第三指示信息,该第三指示信息指示基于该第三数据集合的数据量为该第一LCH分配资源,或,该第三指示信息指示不基于该第三数据集合的数据量为该第一LCH分配资源。In a possible implementation of the eleventh aspect, the transceiver unit is also used to receive third indication information, which indicates that resources are allocated to the first LCH based on the data volume of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data volume of the third data set.
在第十一方面的一种可能的实现方式中,该处理单元还用于基于该第一数据集合的数据量为第二数据集合分配资源,在第一资源中发送该第二数据集合,该第二数据集合与该第一LCH相关联;或,基于该第一数据集合的数据量确定不为该第一LCH分配资源。In a possible implementation of the eleventh aspect, the processing unit is also used to allocate resources to a second data set based on the data volume of the first data set, send the second data set in the first resources, and the second data set is associated with the first LCH; or, determine not to allocate resources to the first LCH based on the data volume of the first data set.
在第十一方面的一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:In a possible implementation manner of the eleventh aspect, the data volume of the second data set is less than or equal to any one of the following:
基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。The amount of data determined based on a first PBR, wherein the first PBR is determined based on the amount of data of the first data set and a configured PBR; the remaining resources after allocating resources to the first data set; or the difference between a first value of a first variable corresponding to the first LCH and the amount of data of the first data set.
在第十一方面的一种可能的实现方式中,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值小于或等于0,该第二取值小于或等于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the eleventh aspect, before determining not to allocate resources to the first LCH based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
在第十一方面的一种可能的实现方式中,在基于该第一数据集合的数据量确定为该第二数据集合分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值大于0,该第二取值大于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the eleventh aspect, before allocating resources to the second data set based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在第十一方面的一种可能的实现方式中,该处理单元还用于基于为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源。In a possible implementation manner of the eleventh aspect, the processing unit is further configured to allocate resources to other data sets based on the resources allocated to the first data set and remaining resources other than the resources allocated to the second data set.
在第十一方面的一种可能的实现方式中,在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值大于0。In a possible implementation manner of the eleventh aspect, before allocating resources for the first data set, the value of the first variable corresponding to the first LCH is greater than 0.
在第十一方面的一种可能的实现方式中,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值为第一取值或第二取值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation of the eleventh aspect, after allocating resources to the first data, the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
在第十一方面的一种可能的实现方式中,在基于该第一数据集合的数据量为第二数据集合分配资源之后,或,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之后,该第一LCH对应的第一 变量的取值为以下任一项:第二取值与该第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量以及第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量之间的差值;或,第一取值与该第二数据集合的数据量之间的差值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation manner of the eleventh aspect, after allocating resources for the second data set based on the data volume of the first data set, or after determining not to allocate resources for the first LCH based on the data volume of the first data set, the first LCH corresponding to the first LCH The value of the variable is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在第十一方面的一种可能的实现方式中,该处理单元具体用于基于第一参数为第二数据集合分配资源,或,基于第一参数确定不为该第一LCH分配资源;其中,该第一参数与该第一LCH的资源分配相关联。In a possible implementation of the eleventh aspect, the processing unit is specifically used to allocate resources to the second data set based on the first parameter, or determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
在第十一方面的一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the eleventh aspect, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第十一方面的一种可能的实现方式中,该收发单元还用于接收第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In a possible implementation of the eleventh aspect, the transceiver unit is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在第十一方面的一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation manner of the eleventh aspect, the value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
本申请实施例第十一方面中,通信装置的组成模块还可以用于执行第五方面的各个可能实现方式中所执行的步骤,并实现相应的技术效果,具体均可以参阅第五方面,此处不再赘述。In the eleventh aspect of the embodiment of the present application, the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the fifth aspect and achieve corresponding technical effects. For details, please refer to the fifth aspect and will not be repeated here.
本申请第十二方面提供了一种通信装置,该装置为第二设备,或者,该装置为第二设备中的部分组件(例如处理器、芯片或芯片系统等),或者,该装置还可以为能够实现全部或部分第一设备功能的逻辑模块或软件。在第十二方面及其可能的实现方式中,以该通信装置为第二设备执行为例进行描述,该第二设备可以为终端设备或网络设备。The twelfth aspect of the present application provides a communication device, which is a second device, or the device is a partial component in the second device (such as a processor, a chip or a chip system, etc.), or the device can also be a logic module or software that can implement all or part of the functions of the first device. In the twelfth aspect and its possible implementation, the communication device is described as an example of executing the second device, and the second device can be a terminal device or a network device.
该装置包括处理单元和收发单元;该处理单元用于确定第一资源;该收发单元用于在该第一资源中接收第一数据集合,该第一数据集合为该第三数据集合的部分或全部,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;其中,承载该第一数据集合的资源是基于该第三数据集合的数据量为第一逻辑信道LCH分配的资源,该第一LCH的优先级是基于该第一LCH中的数据确定的。The device includes a processing unit and a transceiver unit; the processing unit is used to determine a first resource; the transceiver unit is used to receive a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resource carrying the first data set is a resource allocated to the first logical channel LCH based on the data amount of the third data set, and the priority of the first LCH is determined based on the data in the first LCH.
在第十二方面的一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量以下至少一项信息中的最小值,该至少一项信息包括:In a possible implementation manner of the twelfth aspect, the data volume of the first data set is a minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes:
为其它数据或其它信令分配资源之后的剩余资源;或,第二PBR,其中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值,或,该第二PBR的取值为该第三数据集合的数据量。The remaining resources after allocating resources for other data or other signaling; or, a second PBR, wherein the second PBR is the minimum value between the data amount of the third data set and the configured PBR, or the value of the second PBR is the data amount of the third data set.
在第十二方面的一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量。In a possible implementation manner of the twelfth aspect, the data volume of the first data set is the data volume of the third data set.
在第十二方面的一种可能的实现方式中,该收发单元还用于发送第三指示信息,该第三指示信息指示基于该第三数据集合的数据量为该第一LCH分配资源,或,该第三指示信息指示不基于该第三数据集合的数据量为该第一LCH分配资源。In a possible implementation of the twelfth aspect, the transceiver unit is also used to send third indication information, wherein the third indication information indicates that resources are allocated to the first LCH based on the data amount of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data amount of the third data set.
在第十二方面的一种可能的实现方式中,该收发单元还用于在该第一资源中接收第二数据集合,该第二数据集合与该第一LCH相关联,承载该第二数据集合的资源是基于该第一数据集合的数据量确定的。In a possible implementation of the twelfth aspect, the transceiver unit is also used to receive a second data set in the first resource, where the second data set is associated with the first LCH, and the resource carrying the second data set is determined based on the data amount of the first data set.
在第十二方面的一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the twelfth aspect, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第十二方面的一种可能的实现方式中,该收发单元还用于在该第一资源中接收其它数据集合,其中,为该其它数据集合分配的资源是为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源。 In a possible implementation of the twelfth aspect, the transceiver unit is also used to receive other data sets in the first resource, wherein the resources allocated to the other data sets are the remaining resources other than the resources allocated to the first data set and the resources allocated to the second data set.
在第十二方面的一种可能的实现方式中,为该第二数据集合分配的资源是基于第一参数确定的,该第一参数与该第一LCH的资源分配相关联。In a possible implementation manner of the twelfth aspect, the resources allocated to the second data set are determined based on a first parameter, and the first parameter is associated with the resource allocation of the first LCH.
在第十二方面的一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation of the twelfth aspect, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在第十二方面的一种可能的实现方式中,该收发单元还用于发送第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In a possible implementation of the twelfth aspect, the transceiver unit is also used to send a first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在第十二方面的一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation manner of the twelfth aspect, the value of the first PBR is a maximum value between a difference between a configured PBR and a data amount of the first data set and 0.
本申请实施例第十二方面中,通信装置的组成模块还可以用于执行第六方面的各个可能实现方式中所执行的步骤,并实现相应的技术效果,具体均可以参阅第六方面,此处不再赘述。In the twelfth aspect of the embodiment of the present application, the constituent modules of the communication device can also be used to execute the steps performed in each possible implementation method of the sixth aspect and achieve corresponding technical effects. For details, please refer to the sixth aspect and will not be repeated here.
本申请实施例第十三方面提供了一种通信装置,包括至少一个处理器,所述至少一个处理器与存储器耦合;该存储器用于存储程序或指令;其中,该至少一个处理器用于执行该程序或指令,以使该装置实现前述第一方面至第六方面中任一方面及其任意一种可能的实现方式所述的方法。A thirteenth aspect of an embodiment of the present application provides a communication device, comprising at least one processor, wherein the at least one processor is coupled to a memory; the memory is used to store programs or instructions; wherein the at least one processor is used to execute the program or instructions so that the device implements the method described in any one of the first to sixth aspects and any possible implementation method thereof.
本申请实施例第十四方面提供了一种通信装置,包括至少一个逻辑电路和输入输出接口;该逻辑电路用于执行如前述第一方面至第六方面中任一方面及其任意一种可能的实现方式所述的方法。A fourteenth aspect of an embodiment of the present application provides a communication device, including at least one logic circuit and an input/output interface; the logic circuit is used to execute the method described in any one of the first to sixth aspects and any possible implementation method thereof.
本申请实施例第十五方面提供一种计算机可读存储介质,该存储介质存储有指令,当该指令被处理器执行时,该处理器执行如上述第一方面至第六方面中任一方面及其任意一种可能的实现方式所述的方法。A fifteenth aspect of an embodiment of the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed by a processor, the processor executes the method described in any one of the first to sixth aspects above and any possible implementation method thereof.
本申请实施例第十六方面提供一种计算机程序产品(或称计算机程序),该计算机程序产品包括计算机程序代码,计算机程序代码在处理器运行时,使得处理器执行上述第一方面至第六方面中任一方面及其任意一种可能的实现方式所述的方法。A sixteenth aspect of an embodiment of the present application provides a computer program product (or computer program), which includes a computer program code. When the computer program code is executed by a processor, the processor executes the method described in any one of the first to sixth aspects and any possible implementation method thereof.
本申请实施例第十七方面提供了一种芯片系统,该芯片系统包括至少一个处理器,用于支持通信装置实现上述第一方面至第六方面中任一方面及其任意一种可能的实现方式中所涉及的功能。A seventeenth aspect of an embodiment of the present application provides a chip system, which includes at least one processor for supporting a communication device to implement the functions involved in any one of the first to sixth aspects above and any possible implementation methods thereof.
在一种可能的设计中,该芯片系统还可以包括存储器,存储器,用于保存该第一通信装置必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。可选的,所述芯片系统还包括接口电路,所述接口电路为所述至少一个处理器提供程序指令和/或数据。In one possible design, the chip system may also include a memory for storing program instructions and data necessary for the first communication device. The chip system may be composed of a chip, or may include a chip and other discrete devices. Optionally, the chip system also includes an interface circuit, which provides program instructions and/or data for the at least one processor.
本申请实施例第十八方面提供了一种通信系统,该通信系统包括上述第七方面的通信装置和第八方面的通信装置,和/或,该通信系统包括上述第九方面的通信装置和第十方面的通信装置,和/或,该通信系统包括上述第十一方面的通信装置和第十二方面的通信装置。An eighteenth aspect of an embodiment of the present application provides a communication system, which includes the communication device of the seventh aspect and the communication device of the eighth aspect, and/or the communication system includes the communication device of the ninth aspect and the communication device of the tenth aspect, and/or the communication system includes the communication device of the eleventh aspect and the communication device of the twelfth aspect.
应理解,第七方面至第十八方面中任一种设计方式所带来的技术效果可参见上述第一方面至第六方面中不同设计方式所带来的技术效果,在此不再赘述。It should be understood that the technical effects brought about by any design method in the seventh to eighteenth aspects can refer to the technical effects brought about by the different design methods in the above-mentioned first to sixth aspects, and will not be repeated here.
从以上技术方案可以看出,本申请提供的方案具备以下有益效果:It can be seen from the above technical solutions that the solution provided by this application has the following beneficial effects:
在一些实施例中,第一设备可以基于该第一数据集合的数据量确定除了第一数据集合之外的其它数据集合(例如第二数据集合)的资源,以避免或减小对第一数据集合之外的其它数据的传输产生影响,以期提升通信效率。In some embodiments, the first device can determine the resources of other data sets (such as the second data set) other than the first data set based on the data volume of the first data set to avoid or reduce the impact on the transmission of other data other than the first data set, in order to improve communication efficiency.
在另一些实施例中,在为第一数据集合分配资源的过程中,第一设备可以将第二PBR作为第一数据集合的资源分配依据之一,该第二PBR是基于第三数据集合的数据量确定的,使得第三数据集合的数据量作为第一数据集合的资源分配依据之一,以期使得剩余时间小于或等于阈值的部分或全部数据集合能够成功传输。In other embodiments, in the process of allocating resources for the first data set, the first device may use the second PBR as one of the bases for resource allocation for the first data set, where the second PBR is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the bases for resource allocation for the first data set, in order to enable part or all of the data set whose remaining time is less than or equal to a threshold to be successfully transmitted.
在另一些实施例中,在为第一数据集合分配资源的过程中,第一设备可以将第一LCH的优先级作为第一数据集合的资源分配依据之一,该第一LCH的优先级是基于第三数据集合的数据量确定的,使得第三数据集合的数据量作为第一数据集合的资源分配依据之一,以期使得剩余时间小于或等于阈值的部分 或全部数据集合能够成功传输。In some other embodiments, in the process of allocating resources for the first data set, the first device may use the priority of the first LCH as one of the resource allocation bases for the first data set, and the priority of the first LCH is determined based on the data volume of the third data set, so that the data volume of the third data set is used as one of the resource allocation bases for the first data set, in order to make the remaining time less than or equal to the portion of the threshold Or the entire data set can be successfully transmitted.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请提供的通信系统的一个示意图;FIG1 is a schematic diagram of a communication system provided by the present application;
图2a为本申请提供的通信场景的一个示意图;FIG2a is a schematic diagram of a communication scenario provided by the present application;
图2b为本申请涉及的通信场景的另一个示意图;FIG2b is another schematic diagram of a communication scenario involved in the present application;
图3为本申请提供的通信方法的一个示意图;FIG3 is a schematic diagram of a communication method provided by the present application;
图4为本申请提供的通信方法的另一个示意图;FIG4 is another schematic diagram of the communication method provided by the present application;
图5A为本申请提供的资源分配的一个示意图;FIG5A is a schematic diagram of resource allocation provided by the present application;
图5B为本申请提供的资源分配的一个示意图;FIG5B is a schematic diagram of resource allocation provided by the present application;
图5C为本申请提供的资源分配的一个示意图;FIG5C is a schematic diagram of resource allocation provided by the present application;
图5D为本申请提供的资源分配的一个示意图;FIG5D is a schematic diagram of resource allocation provided by the present application;
图5E为本申请提供的通信方法的另一个示意图;FIG5E is another schematic diagram of the communication method provided by the present application;
图6为本申请提供的通信方法的另一个示意图;FIG6 is another schematic diagram of the communication method provided by the present application;
图7为本申请提供的通信装置的一个示意图;FIG7 is a schematic diagram of a communication device provided by the present application;
图8为本申请提供的通信装置的另一个示意图;FIG8 is another schematic diagram of a communication device provided by the present application;
图9为本申请提供的通信装置的另一个示意图;FIG9 is another schematic diagram of a communication device provided by the present application;
图10为本申请提供的通信装置的另一个示意图。FIG. 10 is another schematic diagram of the communication device provided in the present application.
具体实施方式Detailed ways
下面将结合本申请中的附图,对本申请中的技术方案进行描述。基于本申请,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他方案,都属于本申请保护的范围。The technical solution in this application will be described below in conjunction with the drawings in this application. Based on this application, all other solutions obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
首先,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。First, some terms in this application are explained to facilitate understanding by those skilled in the art.
(1)终端设备:可以是能够接收网络设备调度和指示信息的无线终端设备。无线终端设备可以是指向用户提供语音和/或数据连通性的设备,或具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。(1) Terminal device: It can be a wireless terminal device that can receive network device scheduling and instruction information. The wireless terminal device can be a device that provides voice and/or data connectivity to the user, or a handheld device with wireless connection function, or other processing device connected to a wireless modem.
终端设备可以经无线接入网(radio access network,RAN)与一个或多个核心网或者互联网进行通信。终端设备可以是移动终端设备,如移动电话(或称为“蜂窝”电话,手机(mobile phone))、计算机和数据卡。或者,终端设备可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。或者,终端设备可以是例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、平板电脑(Pad)、或带无线收发功能的电脑等设备。无线终端设备也可以称为系统、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、移动台(mobile station,MS)、远程站(remote station)、接入点(access point,AP)、远程终端设备(remote terminal)、接入终端设备(access terminal)、用户终端设备(user terminal)、用户代理(user agent)、用户站(subscriber station,SS)、用户端设备(customer premises equipment,CPE)、终端(terminal)、用户设备(user equipment,UE)、移动终端(mobile terminal,MT)等。终端设备也可以是可穿戴设备以及下一代通信系统中的终端设备,例如,第六代(6-Generation,6G)通信系统中的终端设备或者未来演进的公共陆地移动网络(public land mobile network,PLMN)中的终端设备等。The terminal device can communicate with one or more core networks or the Internet via a radio access network (RAN). The terminal device can be a mobile terminal device, such as a mobile phone (or "cellular" phone, mobile phone), a computer and a data card. Alternatively, the terminal device can be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and/or data with the radio access network. Alternatively, the terminal device can be, for example, a personal communication service (PCS) phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a tablet computer (Pad), or a computer with wireless transceiver capabilities. Wireless terminal equipment may also be referred to as system, subscriber unit, subscriber station, mobile station, mobile station (MS), remote station, access point (AP), remote terminal equipment (remote terminal), access terminal equipment (access terminal), user terminal equipment (user terminal), user agent (user agent), subscriber station (SS), customer premises equipment (CPE), terminal, user equipment (UE), mobile terminal (MT), etc. The terminal equipment may also be a wearable device and a terminal equipment in a next generation communication system, for example, a terminal equipment in a sixth generation (6-Generation, 6G) communication system or a terminal equipment in a future evolved public land mobile network (PLMN), etc.
(2)网络设备:可以是无线网络中的设备。例如网络设备可以为将终端设备接入到无线网络的无线接入网(radio access network,RAN)节点(或设备),又可以称为基站。一些RAN设备的举例为:5G通信系统中的新一代基站(generation Node B,gNodeB)、传输接收点(transmission reception point,TRP)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved Node B,或home Node B,HNB)、基带单元(base band  unit,BBU)、或无线保真(wireless fidelity,Wi-Fi)接入点(access point,AP)等。另外,在一种网络结构中,网络设备可以包括集中单元(centralized unit,CU)节点、或分布单元(distributed unit,DU)节点、或包括CU节点和DU节点的RAN设备。(2) Network equipment: It can be a device in a wireless network. For example, a network device can be a radio access network (RAN) node (or device) that connects a terminal device to a wireless network, which can also be called a base station. Some examples of RAN equipment are: the next-generation base station (gNodeB), transmission reception point (TRP), evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home evolved Node B, or home Node B, HNB, and baseband unit (BBU) in a 5G communication system. unit, BBU), or wireless fidelity (wireless fidelity, Wi-Fi) access point (access point, AP), etc. In addition, in a network structure, the network device may include a centralized unit (CU) node, or a distributed unit (DU) node, or a RAN device including a CU node and a DU node.
在一些实现方式中,该网络设备还可以包括卫星、飞机、无人机等。In some implementations, the network device may also include satellites, aircraft, drones, etc.
此外,在其它可能的情况下,网络设备可以是其它为终端设备提供无线通信功能的装置。本申请对网络设备所采用的具体技术和具体设备形态不做限定。为方便描述,本申请并不限定。In addition, in other possible cases, the network device may be other devices that provide wireless communication functions for the terminal device. This application does not limit the specific technology and specific device form used by the network device. For the convenience of description, this application does not limit.
可选的,网络设备还可以包括核心网设备,核心网设备例如包括访问和移动管理功能(access and mobility management function,AMF)、用户面功能(user plane function,UPF)或会话管理功能(session management function,SMF)等。Optionally, the network equipment may also include core network equipment, the core network equipment may include, for example, access and mobility management function (AMF), user plane function (UPF) or session management function (SMF).
本申请中,用于实现网络设备的功能的装置可以是网络设备,也可以是能够支持网络设备实现该功能的装置,例如处理器、芯片、芯片系统等,该装置可以被安装在网络设备中或者和网络设备匹配使用。在本申请提供的技术方案中,以用于实现网络设备的功能的装置是网络设备为例,描述本申请提供的技术方案。In the present application, the device for realizing the function of the network device may be a network device, or a device that can support the network device to realize the function, such as a processor, a chip, a chip system, etc. The device may be installed in the network device or used in combination with the network device. In the technical solution provided in the present application, the technical solution provided in the present application is described by taking the device for realizing the function of the network device as a network device as an example.
本申请中,用于实现终端设备的功能的装置可以是终端设备,也可以是能够支持终端设备实现该功能的装置,例如处理器、芯片、芯片系统等,该装置可以被安装在终端设备中或者和终端设备匹配使用。在本申请提供的技术方案中,以用于实现终端设备的功能的装置是终端设备为例,描述本申请提供的技术方案。In the present application, the device for realizing the function of the terminal device may be the terminal device, or may be a device capable of supporting the terminal device to realize the function, such as a processor, a chip, a chip system, etc. The device may be installed in the terminal device or used in combination with the terminal device. In the technical solution provided in the present application, the technical solution provided in the present application is described by taking the terminal device as an example in which the device for realizing the function of the terminal device is the terminal device.
(3)配置与预配置:在本申请中,会用到配置与预配置。例如,配置可以是指网络设备通过消息或信令将一些参数的配置信息或参数的取值发送给终端设备。例如,终端设备可以根据这些取值或信息来确定通信的参数或传输时的资源。例如,预配置可以是网络设备预先通过信令或消息与终端设备协商好参数信息或参数值,或者可以是标准协议规定网络设备和/或终端设备采用的参数信息或参数值,或者可以是预先在网络设备或终端设备中存储参数信息或参数值。本申请对此不做限定。(3) Configuration and pre-configuration: Configuration and pre-configuration are used in this application. For example, configuration may refer to a network device sending configuration information or parameter values of some parameters to a terminal device through a message or signaling. For example, the terminal device may determine the communication parameters or resources during transmission based on these values or information. For example, pre-configuration may refer to the network device negotiating parameter information or parameter values with the terminal device in advance through signaling or messages, or may refer to parameter information or parameter values used by the network device and/or terminal device as specified by a standard protocol, or may refer to parameter information or parameter values pre-stored in the network device or terminal device. This application does not limit this.
进一步地,这些取值和参数,是可以变化或更新的。Furthermore, these values and parameters can be changed or updated.
(4)本申请中的术语“系统”和“网络”可被互换使用。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A、同时存在A和B、单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如“A,B和C中的至少一个”包括A,B,C,AB,AC,BC或ABC。以及,除非有特别说明,本申请实施例提及“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。(4) The terms "system" and "network" in this application may be used interchangeably. "At least one" means one or more, and "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B may represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B may be singular or plural. The character "/" generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, "at least one of A, B and C" includes A, B, C, AB, AC, BC or ABC. Also, unless otherwise specified, the ordinal numbers such as "first" and "second" mentioned in the embodiments of this application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects.
(5)扩展现实(extended reality,XR):(5) Extended reality (XR):
XR可以指各类由计算技术以及可穿戴设备生成的现实和虚拟相结合的环境,以及人-机之间的交互,主要包含虚拟现实(virtual reality,VR)、增强现实(augmented reality,AR)以及混合现实(mixed reality,MR)等虚拟与现实交互技术。为了提升人与虚拟世界交互的体验,XR业务对带宽和时延有着严格的要求。XR can refer to various environments that combine reality and virtuality, as well as human-machine interactions, generated by computing technology and wearable devices. It mainly includes virtual reality (VR), augmented reality (AR), and mixed reality (MR) and other virtual-reality interaction technologies. In order to enhance the experience of human interaction with the virtual world, XR services have strict requirements on bandwidth and latency.
例如,在下行传输过程中,服务器的编码器以固定频率(例如,60Hz或120Hz等)生成数据内容,并经由核心网和RAN传输至XR终端。例如,在上行传输过程中,XR终端可以通过内置摄像头采集并以特定频率(例如,60Hz或120Hz等)连续向服务器上传当前场景的图像。For example, during downlink transmission, the server's encoder generates data content at a fixed frequency (e.g., 60Hz or 120Hz, etc.) and transmits it to the XR terminal via the core network and RAN. For example, during uplink transmission, the XR terminal can collect images of the current scene through the built-in camera and continuously upload them to the server at a specific frequency (e.g., 60Hz or 120Hz, etc.).
例如,通常XR业务会按照一定的帧率周期性生成数据。例如,对于下行方向XR类业务的业务模型大致为:AR/VR和云游戏CG。其中,AR/VR帧率可以是60fps,即每秒生成60帧视频图像,约每16.66ms出现一个视频帧。AR/VR帧率也可以是120fps,即每秒生成120帧视频图像,约每8.33ms出现一个视频帧。CG帧率可以是60fps或120fps,即每秒生成60帧视频图像或每秒120帧视频图像。例如,XR业务的时延要求可能是10ms,30ms等。For example, XR services usually generate data periodically at a certain frame rate. For example, the business model for downlink XR services is roughly: AR/VR and cloud game CG. Among them, the AR/VR frame rate can be 60fps, that is, 60 frames of video images are generated per second, and one video frame appears approximately every 16.66ms. The AR/VR frame rate can also be 120fps, that is, 120 frames of video images are generated per second, and one video frame appears approximately every 8.33ms. The CG frame rate can be 60fps or 120fps, that is, 60 frames of video images are generated per second or 120 frames of video images per second. For example, the latency requirement of XR services may be 10ms, 30ms, etc.
此外,在实际的传输系统中,因为数据的编码时延、网络传输延迟等会导致数据存在抖动(jitter)。通常jitter可以认为服从截断高斯分布,截断的范围大致在[-4,4]ms。In addition, in actual transmission systems, data jitter may occur due to data encoding delay, network transmission delay, etc. Usually, jitter can be considered to obey a truncated Gaussian distribution, with the truncation range being approximately [-4, 4] ms.
一种可能的实现方式中,XR技术在通信系统的应用过程中,终端设备可以接收来自网络设备的视频 数据,使得该终端设备能够基于该视频数据为用户提供视觉、听觉等XR技术的观感信息。In one possible implementation, during the application of XR technology in the communication system, the terminal device can receive video from the network device. Data enables the terminal device to provide users with visual, auditory and other XR technology perception information based on the video data.
(6)逻辑信道优先级(logical channel prioritization,LCP):(6) Logical channel prioritization (LCP):
例如,终端设备的介质访问控制(medium access control,MAC)层负责将一个或多个LCH的数据/信息和/或一个或多个MAC CE复用到媒体接入控制协议数据单元(media access control protocol data unit,MAC PDU),这个过程可以称之为LCP。For example, the medium access control (MAC) layer of the terminal device is responsible for multiplexing the data/information of one or more LCHs and/or one or more MAC CEs into the media access control protocol data unit (MAC PDU). This process can be called LCP.
可选地,上述一个或多个LCH的数据/信息包括以下一项或多项:介质访问控制服务数据单元(medium access control service data unit,MAC SDU),无线链路控制服务数据单元(radio link control service data unit,RLC SDU),无线链路控制协议数据单元(radio link control protocol data unit,RLC PDU),或,媒体接入控制(media access control,MAC)控制单元(control element,CE)。Optionally, the data/information of the above-mentioned one or more LCHs includes one or more of the following: medium access control service data unit (MAC SDU), radio link control service data unit (RLC SDU), radio link control protocol data unit (RLC PDU), or media access control (MAC) control element (CE).
一种可能的实现方式中,在上行传输过程中,终端设备基于基站的配置的上行资源,以及协议/标准规定的规则,来决定放置哪些逻辑信道的数据以及每个逻辑信道放置多少数据。In one possible implementation, during uplink transmission, the terminal device decides which logical channels to place data on and how much data to place on each logical channel based on the uplink resources configured by the base station and the rules specified by the protocol/standard.
一种可能的实现方式中,LCP是先按照LCP限制进行LCH选择,然后按照LCH优先级降序的顺序,根据饥饿避免机制为LCH分配资源(如下述资源分配)。In one possible implementation, the LCP first selects the LCH according to the LCP restrictions, and then allocates resources to the LCH according to the starvation avoidance mechanism in descending order of LCH priority (such as the resource allocation described below).
(6.1)资源分配(6.1) Resource allocation
当执行新的传输时,终端设备中的MAC实体应按如下方式将资源分配给逻辑信道:When performing a new transmission, the MAC entity in the terminal device shall allocate resources to logical channels as follows:
对于根据LCP限制选出来的LCH(且LCH对应的第一变量(记为Bj)大于0),按优先级递减顺序分配资源(为便于后文引用,该过程可以称为第一轮资源分配)。For the LCH selected according to the LCP restriction (and the first variable (denoted as Bj) corresponding to the LCH is greater than 0), resources are allocated in descending order of priority (for ease of reference in the following text, this process can be called the first round of resource allocation).
如果有剩余资源,则对于根据LCP限制选出来的LCH,以LCH的优先级递减的顺序(无论Bj的值如何)分配资源,直到该逻辑信道或UL授权的数据之一耗尽为止(为便于后文引用,该过程可以称为第二轮资源分配)。If there are remaining resources, resources are allocated to the LCH selected according to the LCP restriction in descending order of LCH priority (regardless of the value of Bj) until one of the logical channels or UL authorized data is exhausted (for ease of reference below, this process may be referred to as the second round of resource allocation).
可选地,在第一轮资源分配中,如果逻辑信道的优先比特率(Prioritized Bit Rate,PBR)被设置为“无穷大”,则终端设备中的MAC实体将在满足较低优先级的逻辑信道的PBR之前,为该逻辑信道上可用于传输的所有数据分配资源。换言之,该轮资源分配的时候需要考虑PBR要求,以保证各LCH之间的资源分配的公平性。可选的,在该轮资源分配中,每个LCH最多分配的资源是PBR或Bj。Optionally, in the first round of resource allocation, if the Prioritized Bit Rate (PBR) of a logical channel is set to "infinity", the MAC entity in the terminal device will allocate resources for all data available for transmission on the logical channel before satisfying the PBR of a logical channel with a lower priority. In other words, the PBR requirement needs to be considered during this round of resource allocation to ensure fairness in resource allocation among LCHs. Optionally, in this round of resource allocation, the maximum resource allocated to each LCH is PBR or Bj.
可选地,在第一轮资源分配过程中,为某个LCH分配了资源之后,将该LCH对应的Bj减去上述在第一轮资源分配过程中该LCH所提供的数据(例如该数据为MAC SDU)的数据量。Optionally, during the first round of resource allocation, after resources are allocated to a certain LCH, the Bj corresponding to the LCH is subtracted from the amount of data (for example, the data is MAC SDU) provided by the LCH during the first round of resource allocation.
可选地,在第二轮资源分配过程中,具有配置的相同优先级的逻辑信道应该被平等地处理。Optionally, in the second round of resource allocation, logical channels with the same configured priority should be treated equally.
(6.2)LCH对应的第一变量(记为Bj)的维护,当逻辑信道建立时,终端设备中的MAC实体应将逻辑信道j的Bj初始化为零。(6.2) Maintenance of the first variable (denoted as Bj) corresponding to LCH. When the logical channel is established, the MAC entity in the terminal device should initialize Bj of logical channel j to zero.
可选地,对于每个逻辑信道j,终端设备中的MAC实体应执行下述至少一项:Optionally, for each logical channel j, the MAC entity in the terminal device shall perform at least one of the following:
可选地,在每个LCP过程之前,将Bj增加PBR×T,其中T是自Bj最后一次/上一次递增以来经过的时间;Optionally, before each LCP process, Bj is increased by PBR×T, where T is the time elapsed since the last/previous increment of Bj;
可选地,如果Bj的值大于桶大小(桶大小可以表示为PBR与桶大小持续时间(bucket size duration,BSD)之间的乘积),则将Bj设置为桶大小。Optionally, if the value of Bj is greater than the bucket size (the bucket size can be expressed as the product between PBR and the bucket size duration (BSD)), Bj is set to the bucket size.
可以理解的是,PBR和BSD是网络设备向终端设备配置的。It is understandable that PBR and BSD are configured by network devices to terminal devices.
(6.3)逻辑信道的选择。(6.3) Selection of logical channels.
例如,当执行新的传输时,终端设备中的MAC实体应执行LCH的选择。For example, when performing a new transmission, the MAC entity in the terminal device should perform the selection of the LCH.
例如,终端设备为上行(uplink,UL)授权选择满足以下所有条件的逻辑信道:For example, the terminal device selects a logical channel that satisfies all of the following conditions for an uplink (UL) grant:
allowSCS-List(如果配置了)中允许的子载波间隔索引值的集合中包括与UL授权相关联的子载波间隔索引;并且,The set of allowed subcarrier spacing index values in allowSCS-List (if configured) includes the subcarrier spacing index associated with the UL grant; and,
maxPUSCH-Duration(如果配置了)大于或等于与UL授权相关联的PUSCH传输持续时间;并且,maxPUSCH-Duration (if configured) is greater than or equal to the PUSCH transmission duration associated with the UL grant; and,
在UL授权为Configured Grant Type 1的情况下,configuredGrantType1Allowed(如果配置了)设置为TRUE;并且,In the case where the UL grant is Configured Grant Type 1, configuredGrantType1Allowed (if configured) is set to TRUE; and,
allowedServingCells(如果配置了)包括与UL授权相关联的小区信息;并且,allowedServingCells (if configured) includes cell information associated with the UL grant; and,
allowedCG-List(如果配置了)包括与UL授权关联的配置授权索引;并且,allowedCG-List (if configured) includes the configured grant index associated with the UL grant; and,
allowedPHY-PriorityIndex(如果配置了)包括与动态UL授权关联的优先级索引;并且, allowedPHY-PriorityIndex (if configured) includes the priority index associated with the dynamic UL grant; and,
allowedHARQ-mode(如果配置了)包括与UL授权关联的HARQ进程的上行HARQ模式。allowedHARQ-mode (if configured) includes the uplink HARQ mode of the HARQ process associated with the UL grant.
需要说明的是,对于LCP相关的内容,可以参考3GPP TS 38.321:"NR;Medium Access Control(MAC);Protocol specification"中的第5.4.3.1节(Logical Channel Prioritization)和/或,第5.22.1.4.1节(Logical channel prioritization),此处不再赘述。It should be noted that for LCP-related content, please refer to Section 5.4.3.1 (Logical Channel Prioritization) and/or Section 5.22.1.4.1 (Logical channel prioritization) in 3GPP TS 38.321: "NR; Medium Access Control (MAC); Protocol specification", which will not be repeated here.
本申请中,“包括”可以理解为/替换为以下任一项或多项:理解为、替换为、为。In this application, "including" can be understood as/replaced with any one or more of the following: understood as, replaced by, and as.
本申请中,更新可以包括/理解为:确定。In this application, update may include/be understood as: determination.
本申请可以应用于长期演进(long term evolution,LTE)系统、新无线(new radio,NR)系统,或者,新无线车联网(NR vehicle to everything,NR V2X)系统;或者,多种接入技术(例如LTE和5G)混合组网的系统中;或者设备到设备(device-to-device,D2D)通信系统、机器到机器(machine to machine,M2M)通信系统、物联网(Internet of Things,IoT),或者,无人机通信系统;或者是支持多种无线技术例如支持LTE技术和NR技术的通信系统等;或者是非地面通信系统,例如:卫星通信系统、高空通信平台等。另外可选的,本申请可以也可以应用于窄带物联网(narrow band-internet of things,NB-IoT)系统、增强型数据速率全球移动通信(global system for mobile communications,GSM)演进系统(enhanced data rate for GSM evolution,EDGE)、宽带码分多址(wideband code division multiple access,WCDMA)系统、码分多址2000(code division multiple access,CDMA2000)系统、时分同步码分多址(time division-synchronization code division multiple access,TD-SCDMA)系统、应用面向未来的通信技术的系统,或者是其它的通信系统。The present application can be applied to a long term evolution (LTE) system, a new radio (NR) system, or a new wireless vehicle to everything (NR V2X) system; or a system with a hybrid networking of multiple access technologies (such as LTE and 5G); or a device-to-device (D2D) communication system, a machine-to-machine (M2M) communication system, an Internet of Things (IoT), or a drone communication system; or a communication system supporting multiple wireless technologies such as LTE technology and NR technology; or a non-ground communication system, such as a satellite communication system, a high-altitude communication platform, etc. Alternatively, the present application may also be applied to narrowband Internet of Things (NB-IoT) systems, enhanced data rate for GSM evolution (EDGE) systems, wideband code division multiple access (WCDMA) systems, code division multiple access 2000 (CDMA2000) systems, time division-synchronization code division multiple access (TD-SCDMA) systems, systems using future-oriented communication technologies, or other communication systems.
示例性的,该通信系统中包括网络设备和终端设备,网络设备作为配置信息发送实体,终端设备作为配置信息接收实体。具体来说,该通信系统中存在实体向另一实体发送配置信息,并向另一实体发送数据、或接收另一实体发送的数据;另一个实体接收配置信息,并根据配置信息向配置信息发送实体发送数据、或接收配置信息发送实体发送的数据。其中,本申请可应用于处于连接状态或激活状态(active)的终端设备、也可以应用于处于非连接状态(inactive)或空闲态(idle)的终端设备。Exemplarily, the communication system includes a network device and a terminal device, the network device serves as a configuration information sending entity, and the terminal device serves as a configuration information receiving entity. Specifically, in the communication system, there is an entity that sends configuration information to another entity, and sends data to another entity, or receives data sent by another entity; another entity receives the configuration information, and sends data to the configuration information sending entity according to the configuration information, or receives data sent by the configuration information sending entity. Among them, the present application can be applied to terminal devices in a connected state or an active state (active), and can also be applied to terminal devices in a non-connected state (inactive) or an idle state (idle).
请参阅图1,为本申请实施例提供的一种应用场景的示意图。Please refer to FIG1 , which is a schematic diagram of an application scenario provided in an embodiment of the present application.
如图1所示,信号发送方可以为网络设备,信号接收方可以为UE1-UE6中的一个或多个UE。此时,网络设备和UE1-UE6中的任一个或多个组成一个通信系统。示例性的,在该通信系统中,UE1-UE6中的任一个或多个可以发送上行数据给网络设备,网络设备接收UE1-UE6中的任一个或多个发送的上行数据。同时,网络设备可以向UE1-UE6中的任一个或多个发送配置信息。As shown in FIG1 , the signal sender may be a network device, and the signal receiver may be one or more UEs among UE1-UE6. At this time, the network device and any one or more of UE1-UE6 form a communication system. Exemplarily, in the communication system, any one or more of UE1-UE6 may send uplink data to the network device, and the network device receives uplink data sent by any one or more of UE1-UE6. At the same time, the network device may send configuration information to any one or more of UE1-UE6.
可以理解的是,信号发送方可以为UE1-UE6中的一个或多个UE,信号接收方可以为网络设备。或者,信号发送方可以为UE1-UE6中的一个或多个UE,信号接收方可以为UE1-UE6中的其它UE。或者,信号发送方和信号接收方均可以为网络设备。It can be understood that the signal sender may be one or more UEs among UE1-UE6, and the signal receiver may be a network device. Alternatively, the signal sender may be one or more UEs among UE1-UE6, and the signal receiver may be other UEs among UE1-UE6. Alternatively, both the signal sender and the signal receiver may be network devices.
示例性的,如图1所示,信号发送方可以为UE1-UE6中的一个UE,信号接收方可以为UE1-UE6中的一个或多个其它UE。此时,不同UE组成一个通信系统。示例性的,该通信系统可以称为侧行链路(sidelink,SL)通信系统。Exemplarily, as shown in FIG1 , the signal sender may be one of UE1-UE6, and the signal receiver may be one or more other UEs of UE1-UE6. At this time, different UEs form a communication system. Exemplarily, the communication system may be called a sidelink (SL) communication system.
以图1所示无线通信系统为例,在通信系统中,终端设备向网络设备发送的数据/信息可以称为上行数据/上行信息,终端设备向其它终端设备发送的数据/信息可以承载侧行链路(sidelink,SL)数据/侧行链路信息。以终端设备向网络设备发送的上行数据为例,用于承载该上行数据的资源可以称为上行资源。一般地,终端设备可以通过网络设备的指示以确定该上行资源。目前,终端设备可以通过逻辑信道优先级(logical channel prioritization,LCP)过程来确定在一个资源上承载哪些逻辑信道(logical channel,LCH)的数据和/或MAC CETaking the wireless communication system shown in Figure 1 as an example, in the communication system, the data/information sent by the terminal device to the network device can be called uplink data/uplink information, and the data/information sent by the terminal device to other terminal devices can carry sidelink (sidelink, SL) data/sidelink information. Taking the uplink data sent by the terminal device to the network device as an example, the resources used to carry the uplink data can be called uplink resources. Generally, the terminal device can determine the uplink resource through the indication of the network device. At present, the terminal device can determine which logical channel (logical channel, LCH) data and/or MAC CE are carried on a resource through the logical channel prioritization (logical channel prioritization, LCP) process.
示例性的,以终端设备的待发送数据为XR业务数据为例。其中,XR业务可能会区分不同数据的重要程度,例如以XR业务传输视频帧数据为例,某一类帧(记为I帧)的数据比另一类帧(记为P帧)的数据更重要的情况下,在一种可能的实现中,I帧数据和P帧数据与不同的LCH关联,具有不同的LCH优先级;或者,不同重要程度的数据与不同的LCH关联,具有不同的LCH优先级。For example, the data to be sent by the terminal device is XR service data. Among them, the XR service may distinguish the importance of different data. For example, taking the transmission of video frame data by the XR service as an example, when the data of a certain type of frame (recorded as I frame) is more important than the data of another type of frame (recorded as P frame), in a possible implementation, the I frame data and the P frame data are associated with different LCHs and have different LCH priorities; or, data of different importance are associated with different LCHs and have different LCH priorities.
在一种可能的实现方式中,对于XR视频业务,编码时图像可以以图像群组(Group of pictures,GOP)编码方式和/或切片(slice)编码方式进行编码。例如,对于slice编码方式,一个视频帧可能 包含一个I slice和一个或多个P slice。又如,对于GOP编码方式,一个GOP可能包含一个I帧,或者,一个GOP包含一个I帧和一个或多个P帧。以图2a所示实现过程为例,GOP1(记为GOP#1)可以包括一个I帧和多个P帧,GOP2(记为GOP#2)也可以包括一个I帧和多个P帧。In one possible implementation, for XR video services, images may be encoded in a group of pictures (GOP) encoding mode and/or a slice encoding mode. For example, for a slice encoding mode, a video frame may be Contains an I slice and one or more P slices. For another example, for the GOP encoding method, a GOP may contain an I frame, or a GOP may contain an I frame and one or more P frames. Taking the implementation process shown in Figure 2a as an example, GOP1 (denoted as GOP#1) may include an I frame and multiple P frames, and GOP2 (denoted as GOP#2) may also include an I frame and multiple P frames.
可选地,GOP中还可以包括B帧。例如,I帧是内部编码帧(也可以称为帧内编码帧、关键帧、重要帧等),I帧是P帧和/或B帧的参考帧,具有独立编解码的特性。又如,P帧是前向预测帧(也可以称为前向预测编码帧、前向参考帧、依赖帧、非关键帧等)。P帧解码时需要参考前面最近的I帧或P帧,P帧可以是后面P帧和/或B帧的参考帧。又如,B帧为双向预测内插编码帧(bi-directional interpolated prediction frame),也可以称为依赖帧、非关键帧等,B帧解码时需要参考前面最近的I帧或P帧,以及后面最近的P帧。又如,I帧是一个完整的画面,P帧记录的是相对于I帧的变化。如果没有I帧,P帧将无法解码,所以I帧的传输优先级需高于P帧。Optionally, the GOP may also include B frames. For example, an I frame is an internally coded frame (also known as an intra-frame coded frame, a key frame, an important frame, etc.), and an I frame is a reference frame for a P frame and/or a B frame, and has the characteristics of independent encoding and decoding. For another example, a P frame is a forward prediction frame (also known as a forward prediction coded frame, a forward reference frame, a dependent frame, a non-key frame, etc.). When decoding a P frame, it is necessary to refer to the most recent I frame or P frame in the front, and a P frame can be a reference frame for a subsequent P frame and/or B frame. For another example, a B frame is a bi-directional interpolated prediction frame, which can also be known as a dependent frame, a non-key frame, etc. When decoding a B frame, it is necessary to refer to the most recent I frame or P frame in the front, and the most recent P frame in the back. For another example, an I frame is a complete picture, and a P frame records the changes relative to an I frame. If there is no I frame, a P frame cannot be decoded, so the transmission priority of an I frame must be higher than that of a P frame.
如果在传输过程中某个I帧传输失败(例如,达到其时延要求仍未传输成功),即使后续依赖于该I帧的视频帧(例如,P帧)传输成功,在接收侧也无法实现正确解码。If an I frame fails to be transmitted during the transmission process (for example, it is not transmitted successfully even if its delay requirement is met), even if the subsequent video frames that depend on the I frame (for example, P frames) are transmitted successfully, correct decoding cannot be achieved on the receiving side.
示例性的,data burst还可以称为数据突发,为应用在短时间内生成并发送的一组PDU(例如,A set of data multiple PDUs generated and sent by the application in a short period of time)。Exemplarily, data burst may also be referred to as a data burst, which is a group of PDUs generated and sent by an application in a short period of time (for example, A set of data multiple PDUs generated and sent by the application in a short period of time).
示例性的,PDU set可以包括一个或多个PDU,其承载在应用级别生成的一个信息单元的有效载荷上(例如,A PDU Set is composed of one or more PDUs carrying the payload of one unit of information generated at the application level(e.g.a frame or video slice for XRM Services,as used in TR 26.926[27]))。例如,PDU set包含帧(frame)或切片(slice)。例如,一个PDU set包含一个帧(frame)或一个切片(slice)。Exemplarily, a PDU set may include one or more PDUs carrying the payload of one unit of information generated at the application level (e.g., a PDU Set is composed of one or more PDUs carrying the payload of one unit of information generated at the application level (e.g., a frame or video slice for XRM Services, as used in TR 26.926[27])). For example, a PDU set contains a frame or a slice. For example, a PDU set contains a frame or a slice.
例如,在一些实现中,应用层需要PDU set中的所有PDU来使用相应的信息单元,或,应用层需要PDU set中的所有PDU才能得到(解码出)或去使用相应的信息单元。例如,在其他实现中,当某些PDU丢失时,应用层仍然可以恢复信息单元的全部或部分。(In some implementations all PDUs in a PDU Set are needed by the application layer to use the corresponding unit of information.In other implementations,the application layer can still recover parts all or of the information unit,when some PDUs are missing.)For example, in some implementations all PDUs in a PDU Set are needed by the application layer to use the corresponding unit of information. In other implementations, the application layer can still recover parts all or of the information unit, when some PDUs are missing.
可选的,一个data burst包括至少一个PDU set。Optionally, a data burst consists of at least one PDU set.
例如,data burst 1可能与一个或多个data burst相关联,该一个或多个data burst需要依赖于data burst 1.若data burst1丢弃,该一个或多个data burst可能无法解码。例如,PDU set 1可能与一个或多个PDU set相关联,该一个或多个PDU set需要依赖于PDU set 1.若PDU set1丢弃,该一个或多个PDU set可能无法解码。For example, data burst 1 may be associated with one or more data bursts, which are dependent on data burst 1. If data burst 1 is discarded, the one or more data bursts may not be decoded. For example, PDU set 1 may be associated with one or more PDU sets, which are dependent on PDU set 1. If PDU set 1 is discarded, the one or more PDU sets may not be decoded.
而在上述实现过程中,由于网络设备为某个终端设备指示的上行资源一般是有限的,这就导致部分优先级较低的LCH关联的数据有可能无法在当前的上行资源传输。但是,优先级较低的LCH关联的数据并不意味着该数据必然可以延后发送,这就使得上述实现方式中,有可能会出现优先级较低的LCH关联的数据未传输进而导致该数据失效的情况。In the above implementation process, since the uplink resources indicated by the network device for a terminal device are generally limited, some data associated with the LCH with lower priority may not be transmitted in the current uplink resources. However, the data associated with the LCH with lower priority does not necessarily mean that the data can be sent later, which makes it possible that the data associated with the LCH with lower priority is not transmitted in the above implementation, resulting in the data being invalid.
示例性的,在XR业务数据的传输中,可能会出现前面低优先级的还没有传完,后面高优先级的数据就达到了。按照当前的LCP机制,高优先级的数据会被优先传输,这将导致前面低优先级的数据可能不能在其时延要求内传输。以图2b所示实现过程为例,XR业务的周期是16.67ms,但是时延要求是30ms,由于XR业务的时延比XR周期大,所以可能出现前一个GOP的P帧还没传完,下一个GOP的I帧来了,LCP的时候I帧LCH优先于P帧LCH,导致P帧可能无法在PDB内传输。For example, in the transmission of XR service data, the front low-priority data may not be transmitted yet, and the back high-priority data may arrive. According to the current LCP mechanism, high-priority data will be transmitted first, which will cause the front low-priority data to not be transmitted within its latency requirement. Taking the implementation process shown in Figure 2b as an example, the cycle of the XR service is 16.67ms, but the latency requirement is 30ms. Since the latency of the XR service is larger than the XR cycle, it may happen that the P frame of the previous GOP has not been transmitted yet, and the I frame of the next GOP has arrived. During LCP, the I frame LCH takes precedence over the P frame LCH, resulting in the P frame possibly not being transmitted within the PDB.
一种可能的改进方案中,终端设备在执行LCP时,可以优先为即将失效的数据分配资源,然后终端设备再为其它LCH或数据分配资源,使得在当前的上行资源中能够优先传输该即将失效的数据,进而避免该数据失效。示例性的,以即将失效的数据为剩余时间小于阈值的数据为例,在该改进方案中,终端设备先为remaining PDB小于阈值的数据分一轮资源,然后按照LCP机制(例如前文提及的第一轮资源分配和第二轮资源分配)为其它数据分资源。也就是说,共三轮资源分配。In a possible improvement scheme, when executing LCP, the terminal device can allocate resources to data that is about to expire first, and then allocate resources to other LCHs or data, so that the data that is about to expire can be transmitted first in the current uplink resources, thereby avoiding the expiration of the data. Exemplarily, taking the data that is about to expire as data with a remaining time less than a threshold as an example, in this improvement scheme, the terminal device first allocates a round of resources to the data with a remaining PDB less than the threshold, and then allocates resources to other data according to the LCP mechanism (such as the first round of resource allocation and the second round of resource allocation mentioned above). In other words, there are three rounds of resource allocation.
然而,由于终端设备能够使用的上行资源是一定的,上述优先为该即将失效的数据分配的资源的实现方式将会导致终端设备能够为其它LCH分配的资源变小,进而影响其它LCH的传输。例如,预先为剩 余时间小于阈值的数据分配资源的实现过程中,有可能出现该剩余时间小于阈值的数据所在的LCH对应的Bj大于0的情况,使得在三轮资源分配中的前两轮资源分配中为该LCH分配的资源超过该LCH的PBR要求,这对其它LCH而言不公平,将有可能导致其它LCH中的数据无法传输或延迟传输。However, since the uplink resources available to the terminal device are limited, the implementation method of preferentially allocating resources to the data that is about to expire will result in a decrease in the resources that the terminal device can allocate to other LCHs, thereby affecting the transmission of other LCHs. In the process of implementing resource allocation for data with a remaining time less than a threshold, it is possible that the Bj corresponding to the LCH where the data with a remaining time less than the threshold is located is greater than 0, causing the resources allocated to the LCH in the first two rounds of resource allocation in the three rounds to exceed the PBR requirement of the LCH, which is unfair to other LCHs and may cause the data in other LCHs to be unable to be transmitted or to be delayed in transmission.
为了解决上述问题,本申请提供了一种通信方法及相关设备,下面将结合附图进一步描述。In order to solve the above problems, the present application provides a communication method and related equipment, which will be further described below in conjunction with the accompanying drawings.
请参阅图3,为本申请提供的通信方法的一个示意图,方法包括如下步骤。Please refer to FIG3 , which is a schematic diagram of a communication method provided in the present application. The method includes the following steps.
需要说明的是,图3中以第一设备和第二设备作为交互示意的执行主体为例来示意方法,第一设备可以为终端设备,第二设备可以为终端设备(或者第二设备可以为网络设备),但本申请并不限制交互示意的执行主体。例如,图3中的第一设备也可以是支持第一设备实现方法的芯片、芯片系统、或处理器,还可以是能实现全部或部分第一设备的逻辑模块或软件。图3中的第二设备也可以是支持第二设备实现方法的芯片、芯片系统、或处理器,还可以是能实现全部或部分第二设备功能的逻辑模块或软件。It should be noted that in FIG3, the method is illustrated by taking the first device and the second device as the execution subject of the interactive schematic as an example. The first device may be a terminal device, and the second device may be a terminal device (or the second device may be a network device), but the present application does not limit the execution subject of the interactive schematic. For example, the first device in FIG3 may also be a chip, a chip system, or a processor that supports the implementation method of the first device, or a logic module or software that can implement all or part of the first device. The second device in FIG3 may also be a chip, a chip system, or a processor that supports the implementation method of the second device, or a logic module or software that can implement all or part of the functions of the second device.
S301.第一设备为第一数据集合分配资源。S301. A first device allocates resources for a first data set.
第一数据集合与第一LCH相关联。The first data set is associated with the first LCH.
应理解,本实施例及后文实施例涉及的数据集合(例如第一数据集合,以及后文出现的第二数据集合、第三数据集合等)可以包括一个或多个数据。It should be understood that the data sets involved in this embodiment and the following embodiments (eg, the first data set, and the second data set, the third data set, etc. that appear later) may include one or more data.
终端设备执行步骤S302或步骤S303.The terminal device executes step S302 or step S303.
S302.第一设备基于第一数据集合的数据量为第二数据集合分配资源的情况下,发送第一数据集合和第二数据集合。S302. The first device sends the first data set and the second data set while allocating resources for the second data set based on the data volume of the first data set.
相应的,在步骤S302中,第二设备接收第一数据集合和第二数据集合。Correspondingly, in step S302, the second device receives the first data set and the second data set.
第二数据集合与该第一LCH相关联。The second data set is associated with the first LCH.
S303.第一设备基于第一数据集合的数据量确定不为第二数据集合分配资源的情况下,发送第一数据集合。S303. The first device sends the first data set when determining not to allocate resources for the second data set based on the data amount of the first data set.
相应的,在步骤S303中,第二设备接收第一数据集合。Correspondingly, in step S303, the second device receives the first data set.
可选地,步骤S302中的第一数据集合和第二数据集合(或步骤S303中的第一数据集合)承载于第一资源。Optionally, the first data set and the second data set in step S302 (or the first data set in step S303 ) are carried on the first resource.
例如,在第一资源为侧行链路资源的情况下,第一资源可以为网络设备为第一设备配置的资源,或者,其它终端设备为第一设备配置的资源,或者是,第一设备自身确定或选择或竞争的资源。For example, when the first resource is a side link resource, the first resource may be a resource configured by a network device for the first device, or a resource configured by other terminal devices for the first device, or a resource determined, selected, or competed for by the first device itself.
例如,在第一资源为上行资源的情况下,第一资源可以为网络设备为第一设备配置的资源。For example, when the first resource is an uplink resource, the first resource may be a resource configured by the network device for the first device.
基于图3所示技术方案,第一设备在步骤S301中为第一LCH相关联的第一数据集合分配资源之后,在基于第一数据集合的数据量为第二数据集合分配资源的情况下,在步骤S302中,第一设备在第一资源中发送该第一数据集合和第二数据集合;在基于该第一数据集合的数据量确定不为该第一数据集合所关联的第一LCH分配资源的情况下,在步骤S303中,第一设备在第一资源中发送该第一数据集合。从而,第一设备可以基于第一数据集合的数据量确定第一资源上还能容纳的第一LCH的其他数据(或,第二数据集合),或,第一设备可以基于第一数据集合的数据量确定还能为第一LCH中的多少数据分配资源,或,第一设备可以基于第一数据集合的数据量确定还能为第一LCH中的数据分配多少资源,可以避免第一LCH中的数据占据/分配/消耗过多的资源而饿死其他LCH,保证了LCH之间的公平性。Based on the technical solution shown in FIG3 , after the first device allocates resources for the first data set associated with the first LCH in step S301, in the case where resources are allocated for the second data set based on the data volume of the first data set, in step S302, the first device sends the first data set and the second data set in the first resource; in the case where it is determined not to allocate resources for the first LCH associated with the first data set based on the data volume of the first data set, in step S303, the first device sends the first data set in the first resource. Thus, the first device can determine other data (or, second data set) of the first LCH that can be accommodated on the first resource based on the data volume of the first data set, or the first device can determine how much data in the first LCH can be allocated resources based on the data volume of the first data set, or the first device can determine how much resources can be allocated for the data in the first LCH based on the data volume of the first data set, so as to avoid the data in the first LCH from occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness between LCHs.
例如,图4所示实施例可以是图3所示通信方法的一种实现示例,下面将对图4所示实施例进行介绍,在图4中,以第一设备为终端设备且第二设备为网络设备为例进行介绍。For example, the embodiment shown in FIG. 4 may be an implementation example of the communication method shown in FIG. 3 . The embodiment shown in FIG. 4 will be introduced below. In FIG. 4 , the first device is a terminal device and the second device is a network device.
请参阅图4,为本申请提供的通信方法的另一个示意图,方法包括如下步骤。Please refer to FIG. 4 , which is another schematic diagram of the communication method provided in the present application. The method includes the following steps.
需要说明的是,图4中以终端设备和网络设备作为交互示意的执行主体为例来示意方法,终端设备可以为终端设备或网络设备,网络设备也可以为终端设备或网络设备,但本申请并不限制交互示意的执行主体。例如,终端设备可以为第一设备,网络设备可以为第二设备。例如,图4中的终端设备也可以是支持终端设备实现方法的芯片、芯片系统、或处理器,还可以是能实现全部或部分终端设备的逻辑模块或软件。图4中的网络设备也可以是支持网络设备实现方法的芯片、芯片系统、或处理器,还可以是能实现全部或部分网络设备功能的逻辑模块或软件。It should be noted that in FIG4, the method is illustrated by taking the terminal device and the network device as the execution subjects of the interactive schematic as an example. The terminal device can be a terminal device or a network device, and the network device can also be a terminal device or a network device, but the present application does not limit the execution subjects of the interactive schematic. For example, the terminal device can be a first device, and the network device can be a second device. For example, the terminal device in FIG4 can also be a chip, a chip system, or a processor that supports the terminal device implementation method, and can also be a logic module or software that can implement all or part of the terminal device. The network device in FIG4 can also be a chip, a chip system, or a processor that supports the network device implementation method, and can also be a logic module or software that can implement all or part of the network device functions.
可选的,S401.终端设备获取第一资源。Optionally, S401. The terminal device obtains a first resource.
例如,第一资源可以为新传资源。 For example, the first resource may be a new transmission resource.
例如,第一资源可以用于新传。For example, the first resource may be used for new transmission.
可选的,当终端设备执行新传,或,当终端设备在第一资源上执行新传,终端设备可以执行以下步骤中的一项或多项。Optionally, when the terminal device performs a new transmission, or when the terminal device performs a new transmission on the first resource, the terminal device may perform one or more of the following steps.
可选的,S402.终端设备更新第三LCH集合或第一LCH或LCH对应的第一变量的取值。Optionally, S402. The terminal device updates the third LCH set or the first LCH or the value of the first variable corresponding to the LCH.
第三LCH集合可以包括以下任一项或多项:第一LCH、第一LCH集合、第二LCH集合、全部LCH。The third LCH set may include any one or more of the following: the first LCH, the first LCH set, the second LCH set, and all LCHs.
例如,第三LCH集合为第一LCH。例如,第三LCH集合为全部LCH。例如,第三LCH集合包括全部LCH。For example, the third LCH set is the first LCH. For example, the third LCH set is all LCHs. For example, the third LCH set includes all LCHs.
下面,以第一LCH为例说明“终端设备更新LCH对应的第一变量的取值”。可选的,终端设备更新LCH对应的第一变量的取值包括:终端设备将第一LCH的第一变量的取值增加(配置的PBR×T),或,终端设备将第一LCH的第一变量的取值更新为(配置的PBR×BSD)。其中,T是从第一LCH对应的第一变量的取值上一次增加以来经过的时间。Below, the "terminal device updates the value of the first variable corresponding to the LCH" is explained by taking the first LCH as an example. Optionally, the terminal device updates the value of the first variable corresponding to the LCH including: the terminal device increases the value of the first variable of the first LCH by (configured PBR×T), or the terminal device updates the value of the first variable of the first LCH to (configured PBR×BSD). T is the time that has passed since the value of the first variable corresponding to the first LCH was last increased.
可选的,如果第一LCH的第一变量的取值大于(配置的PBR×BSD),将第一LCH的第一变量的取值更新/设置为(配置的PBR×BSD)。Optionally, if the value of the first variable of the first LCH is greater than (configured PBR×BSD), the value of the first variable of the first LCH is updated/set to (configured PBR×BSD).
例如,配置的PBR是网络设备配置给终端设备的。例如,BSD(桶大小持续时间,Bucket Size Duration)是网络设备配置给终端设备的。For example, the configured PBR is configured by the network device to the terminal device. For example, BSD (Bucket Size Duration) is configured by the network device to the terminal device.
例如,第一LCH建立时/后,终端设备将第一LCH的第一变量初始化/设置为零。For example, when/after the first LCH is established, the terminal device initializes/sets the first variable of the first LCH to zero.
例如,第一LCH的第一变量的取值更新为第一取值。For example, the value of the first variable of the first LCH is updated to the first value.
例如,一种可能的实现,每个LCH或第三LCH集合中的LCH都可以按照上述方式更新其对应的第一变量的取值。For example, in a possible implementation, each LCH or the LCH in the third LCH set may update the value of the corresponding first variable in the above manner.
可选的,S403.终端设备确定第一LCH集合。Optionally, S403. The terminal device determines a first LCH set.
例如,“确定第一LCH集合”可以包括/理解为:选择第一LCH集合。For example, “determining a first LCH set” may include/be understood as: selecting a first LCH set.
例如,第一LCH集合包括一个或多个LCH。For example, the first LCH set includes one or more LCHs.
可选的,终端设备可以基于第一LCH限制集合和/或第一资源相关的信息确定第一LCH集合。Optionally, the terminal device may determine the first LCH set based on the first LCH restriction set and/or information related to the first resource.
可选的,第一LCH限制集合可以包括以下任一项或多项:allowSCS-List、maxPUSCH-Duration、configuredGrantType1Allowed、allowedServingCells、allowedCG-List、allowedPHY-PriorityIndex、allowedHARQ-mode。Optionally, the first LCH restriction set may include any one or more of the following: allowedSCS-List, maxPUSCH-Duration, configuredGrantType1Allowed, allowedServingCells, allowedCG-List, allowedPHY-PriorityIndex, and allowedHARQ-mode.
例如,终端设备可以基于当前标准/协议(或者通过其它方式指定的)的LCH选择来确定第一LCH集合。For example, the terminal device may determine the first LCH set based on LCH selection of the current standard/protocol (or specified by other means).
又例如,终端设备可以基于比当前标准/协议(或者通过其它方式指定的)中的LCH选择更宽松的方法(例如,仅比较部分LCH限制)来确定第一LCH集合,或,终端设备可以不执行步骤S403。可以理解的是,这样可以尽量将满足条件A的数据或剩余时间较小的数据放在第一资源上传输,或者,可以尽快/优先传输满足条件A的数据或剩余时间较小的数据,可以避免一些剩余时间较小的数据超时,从而可以提高传输可靠性,也可以提升系统容量。本申请中,LCH限制可以包括:LCP限制。For another example, the terminal device may determine the first LCH set based on a method that is more relaxed than the LCH selection in the current standard/protocol (or specified by other means) (for example, only comparing some LCH restrictions), or the terminal device may not perform step S403. It is understandable that in this way, data that meets condition A or data with a small remaining time can be transmitted on the first resource as much as possible, or data that meets condition A or data with a small remaining time can be transmitted as quickly as possible/prioritized, and timeouts of some data with a small remaining time can be avoided, thereby improving transmission reliability and improving system capacity. In the present application, LCH restrictions may include: LCP restrictions.
需要说明的是,S402和S403的先后顺序本申请不限制,例如,S402也可以在S403之后执行,或,之前执行,或同时执行。It should be noted that the order of S402 and S403 is not limited in this application. For example, S402 can also be executed after S403, or before S403, or simultaneously.
可以理解的是,终端设备确定第一LCH集合后,可以针对第一LCH集合中的LCH来进行第一轮资源分配、第二轮资源分配、第三轮资源分配中的一项或多项。可以限制其他的LCH不能参与第一轮资源分配、第二轮资源分配、第三轮资源分配中的一项或多项。例如,其他的LCH可能是不适合在第一资源上传输的LCH(或,其他的LCH的数据可能是不适合在第一资源上传输的数据),若其他的LCH在第一资源上传输,可能会影响其传输可靠性或效率等,这样可以避免不适合在第一资源上传输的LCH(即,其他的LCH)的数据不在第一资源上传输,可以保证其他LCH的传输可靠性或效率等。It is understandable that after the terminal device determines the first LCH set, it can perform one or more of the first round of resource allocation, the second round of resource allocation, and the third round of resource allocation for the LCH in the first LCH set. Other LCHs can be restricted from participating in one or more of the first round of resource allocation, the second round of resource allocation, and the third round of resource allocation. For example, other LCHs may be LCHs that are not suitable for transmission on the first resource (or, the data of other LCHs may be data that is not suitable for transmission on the first resource). If other LCHs are transmitted on the first resource, it may affect their transmission reliability or efficiency, etc. In this way, it can be avoided that the data of LCHs that are not suitable for transmission on the first resource (i.e., other LCHs) is not transmitted on the first resource, and the transmission reliability or efficiency of other LCHs can be guaranteed.
S404.终端设备为第一数据集合分配资源。S404. The terminal device allocates resources to the first data set.
例如,终端设备为第一数据集合分配资源。可以包括:终端设备确定为第一数据集合分配资源。For example, the terminal device allocates resources for the first data set. This may include: the terminal device determines to allocate resources for the first data set.
例如,第一数据集合可以包括一个或多个数据。For example, the first data set may include one or more data.
例如,数据可以为:MAC SDU,或,RLC PDU,或,RLC SDU,MAC subPDU。For example, the data can be: MAC SDU, or, RLC PDU, or, RLC SDU, MAC subPDU.
需要说明的是,为第一数据集合分配的资源大小不一定等于第一数据集合的数据量,其可以相等, 也可以不相等(例如,大于),本申请不限制。It should be noted that the resource size allocated to the first data set is not necessarily equal to the data volume of the first data set; they may be equal. They may also be unequal (for example, greater than), which is not limited in this application.
可选的,第一数据集合属于一个或多个PDU set或属于一个或多个data burst。Optionally, the first data set belongs to one or more PDU sets or to one or more data bursts.
例如,第一数据集合属于一个PDU set或属于一个data burst。For example, the first data set belongs to a PDU set or to a data burst.
第一数据集合与第一LCH相关联。The first data set is associated with the first LCH.
“第一数据集合与第一LCH相关联”可以包括/理解为以下任一项或多项:“The first data set is associated with the first LCH” may include/be understood as any one or more of the following:
(1)第一数据集合与第一RLC实体和/或第一PDCP实体相关联。(1) The first data set is associated with the first RLC entity and/or the first PDCP entity.
(2)第一数据集合缓存在第一RLC实体中,第一数据集合来自第一RLC实体。(2) The first data set is cached in the first RLC entity, and the first data set comes from the first RLC entity.
(3)第一数据集合缓存在第一RLC实体和/或第一PDCP实体中,或,第一数据集合来自第一RLC实体和/或第一PDCP实体。(3) The first data set is cached in the first RLC entity and/or the first PDCP entity, or the first data set comes from the first RLC entity and/or the first PDCP entity.
例如,第一RLC实体与第一LCH或第一LCH的ID相关联。For example, the first RLC entity is associated with the first LCH or the ID of the first LCH.
例如,第一RLC实体与第一PDCP实体相关联。For example, the first RLC entity is associated with the first PDCP entity.
可选的,第一数据集合或第一数据集合中的数据对应的剩余时间小于或等于第一阈值。Optionally, the remaining time corresponding to the first data set or the data in the first data set is less than or equal to a first threshold.
需要说明的是,第一数据集合中的不同数据对应的剩余时间可能相同也可能不同,本申请不限制。It should be noted that the remaining time corresponding to different data in the first data set may be the same or different, and this application does not limit this.
例如,剩余时间可以包括以下任一项或多项:remaining PDB(packet delay budget,包延迟预算),remaining PSDB(PDU set delay budget,PDU set延迟预算),距离到期时间的时间/时长。例如,到期时间也可以为截止时间。For example, the remaining time may include any one or more of the following: remaining PDB (packet delay budget), remaining PSDB (PDU set delay budget), time/duration to the expiration time. For example, the expiration time may also be a deadline.
需要说明的是,可选的,剩余时间小于或等于第一阈值可以包括/替换为:生存时间或缓存时间大于或等于第二阈值。例如,终端设备(例如,终端设备的AS层/SDAP层/PDCP层/RLC层)获取到数据(例如,从上层获取到数据),开始累积生存时间或缓存时间。例如,上层可以包括APP层,SDAP层,或PDCP层。It should be noted that, optionally, the remaining time is less than or equal to the first threshold value may include/replace with: the survival time or the cache time is greater than or equal to the second threshold value. For example, the terminal device (for example, the AS layer/SDAP layer/PDCP layer/RLC layer of the terminal device) obtains data (for example, obtains data from the upper layer) and starts to accumulate the survival time or the cache time. For example, the upper layer may include an APP layer, an SDAP layer, or a PDCP layer.
可选的,第一阈值和第二阈值的和可以等于PDB或PSDB。可选地,数据集合(例如,第三数据集合)对应的剩余时间小于或等于第一阈值,可以包括以下任选一种或多项:数据集合为即将失效的数据,数据集合即将失效的时间小于或等于第一阈值,数据集合剩余有效时间小于或等于第一阈值,数据集合中的数据的剩余包时延预算(remaining packet delay budget,remaining PDB)小于或等于第一阈值,等。Optionally, the sum of the first threshold and the second threshold may be equal to PDB or PSDB. Optionally, the remaining time corresponding to the data set (e.g., the third data set) is less than or equal to the first threshold, which may include any one or more of the following: the data set is data that is about to expire, the time when the data set is about to expire is less than or equal to the first threshold, the remaining valid time of the data set is less than or equal to the first threshold, the remaining packet delay budget (remaining packet delay budget, remaining PDB) of the data in the data set is less than or equal to the first threshold, etc.
可选的,第一LCH属于第一LCH集合。Optionally, the first LCH belongs to a first LCH set.
可选的,满足条件1,终端设备为第一数据集合分配资源。Optionally, if condition 1 is met, the terminal device allocates resources to the first data set.
例如,条件1可以包括:第一LCH属于第一LCH集合。For example, condition 1 may include: the first LCH belongs to the first LCH set.
可选的,在步骤S404之前或在为第一数据集合分配资源之前,第一LCH对应的第一变量的取值大于0。Optionally, before step S404 or before allocating resources for the first data set, the value of the first variable corresponding to the first LCH is greater than 0.
例如,在步骤S404之前或在为第一数据集合分配资源之前,第一LCH对应的第一变量的取值为第一取值。For example, before step S404 or before allocating resources for the first data set, the value of the first variable corresponding to the first LCH is the first value.
可选的,“步骤S404之前”或“为第一数据集合分配资源之前”可以包括:第一轮资源分配之前。Optionally, “before step S404 ” or “before allocating resources to the first data set” may include: before the first round of resource allocation.
可选的,满足条件2,终端设备为第一数据集合分配资源。Optionally, if condition 2 is met, the terminal device allocates resources to the first data set.
例如,条件2可以包括第一LCH对应的第一变量的取值大于0。For example, condition 2 may include that the value of the first variable corresponding to the first LCH is greater than 0.
可以理解的是,若第一LCH对应的第一变量的取值小于或等于0,终端设备不为第一数据集合分配资源,或,终端设备不为第一LCH分配资源,或,终端设备不为第一LCH对应的数据分配资源。或者,若第一LCH对应的第一变量的取值大于0,终端设备为第一数据集合分配资源,或,终端设备为第一LCH分配资源,或,终端设备为第一LCH对应的数据分配资源。可以理解的是,通过该实现可以保证不同LCH之间的公平性,避免某些LCH(例如,低优先级的LCH)被饿死。It can be understood that if the value of the first variable corresponding to the first LCH is less than or equal to 0, the terminal device does not allocate resources for the first data set, or the terminal device does not allocate resources for the first LCH, or the terminal device does not allocate resources for the data corresponding to the first LCH. Alternatively, if the value of the first variable corresponding to the first LCH is greater than 0, the terminal device allocates resources for the first data set, or the terminal device allocates resources for the first LCH, or the terminal device allocates resources for the data corresponding to the first LCH. It can be understood that fairness between different LCHs can be guaranteed through this implementation, and some LCHs (for example, low-priority LCHs) can be prevented from being starved to death.
LCH对应的数据可以包括/理解为:LCH中的数据。The data corresponding to LCH may include/be understood as: data in LCH.
可选地,在为第一数据集合分配资源之前,第一LCH对应的第一变量的取值也可以小于或等于0,不限制。可以理解的是,终端设备在为第一数据集合或第一LCH或第一LCH对应的数据分配资源之前无需考虑第一LCH对应的第一变量的取值,或,终端设备在第一轮资源分配过程中/之前无需考虑LCH对应的第一变量的取值。可以理解的是,通过该实现可以尽量将满足条件A的数据或剩余时间较小的数据或第一数据集合放在第一资源上传输,或者,可以尽快/优先传输满足条件A的数据或剩余时间较小的 数据或第一数据集合,可以避免一些剩余时间较小的数据超时,从而可以提高传输可靠性,也可以提升系统容量。Optionally, before allocating resources for the first data set, the value of the first variable corresponding to the first LCH may also be less than or equal to 0, without limitation. It is understandable that the terminal device does not need to consider the value of the first variable corresponding to the first LCH before allocating resources for the first data set or the first LCH or the data corresponding to the first LCH, or the terminal device does not need to consider the value of the first variable corresponding to the LCH during/before the first round of resource allocation. It is understandable that through this implementation, data that meets condition A or data with a small remaining time or the first data set can be transmitted on the first resource as much as possible, or data that meets condition A or data with a small remaining time can be transmitted as soon as possible/prioritized. The data or the first data set can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and increasing system capacity.
可选的,在步骤S404之前或在为第一数据集合分配资源之前,第一LCH上/中存在满足条件A的数据。Optionally, before step S404 or before allocating resources for the first data set, data satisfying condition A exists on/in the first LCH.
可选的,满足条件3,终端设备为第一数据集合分配资源。Optionally, if condition 3 is met, the terminal device allocates resources to the first data set.
例如,条件3可以包括第一LCH上/中存在满足条件A的数据。For example, condition 3 may include the presence of data satisfying condition A on/in the first LCH.
例如,条件A可以包括:数据对应的剩余时间小于或等于第一阈值,或,数据对应的剩余时间较小。For example, condition A may include: the remaining time corresponding to the data is less than or equal to the first threshold, or the remaining time corresponding to the data is smaller.
例如,第一阈值可以是网络设备配置给终端设备的,也可以是预配置的,也可以是协议预定义的,也可以是终端设备自身存储的,也可以是通过其他的方式/算法获取的,本申请不限制。For example, the first threshold may be configured by the network device for the terminal device, or may be preconfigured, or may be predefined by the protocol, or may be stored by the terminal device itself, or may be obtained through other methods/algorithms, and this application does not limit this.
可选的,满足第一条件,终端设备为第一数据集合分配资源。Optionally, if the first condition is met, the terminal device allocates resources to the first data set.
例如,第一条件包括以下任一项或多项:条件1、条件2、条件3。For example, the first condition includes any one or more of the following: condition 1, condition 2, condition 3.
需要说明的是,对于“终端设备为第一数据集合分配资源”,具体的实现方式,本申请不限制。例如,可以采用实现方式1,或,实现方式2,或其他实现方式。It should be noted that, for "the terminal device allocates resources for the first data set", the specific implementation method is not limited in this application. For example, implementation method 1, implementation method 2, or other implementation methods may be adopted.
实现方式1:终端设备为数据分配资源。Implementation method 1: The terminal device allocates resources for data.
例如,终端设备为第一数据集合分配资源可以包括:终端设备为满足条件A的数据分配资源。For example, the terminal device allocating resources to the first data set may include: the terminal device allocating resources to data that meets condition A.
可选的,“终端设备为满足条件A的数据分配资源”可以包括:实现方式1.1,或,实现方式1.2,或,实现方式1.3,或,实现方式1.4。Optionally, "the terminal device allocates resources to data that meets condition A" may include: implementation method 1.1, or implementation method 1.2, or implementation method 1.3, or implementation method 1.4.
实现方式1.1:终端设备根据数据对应的剩余时间的升序为满足条件A的数据分配资源。Implementation method 1.1: The terminal device allocates resources to data that meets condition A according to the ascending order of the remaining time corresponding to the data.
例如,如图5A所示,存在3个LCH,LCH1和LCH2中存在满足条件A的数据,终端设备根据数据对应的剩余时间的升序依次为满足条件A的数据分配资源。For example, as shown in FIG5A , there are three LCHs, and data satisfying condition A exists in LCH1 and LCH2. The terminal device allocates resources to the data satisfying condition A in ascending order of the remaining time corresponding to the data.
实现方式1.2:终端设备根据数据对应的剩余时间的范围的升序为满足条件A的数据分配资源。Implementation method 1.2: The terminal device allocates resources to data satisfying condition A according to the ascending order of the range of the remaining time corresponding to the data.
例如,如图5B所示,存在3个LCH,LCH1和LCH2中存在满足条件A的数据,终端设备根据数据对应的剩余时间的范围的升序依次为满足条件A的数据分配资源。For example, as shown in FIG5B , there are three LCHs, and data satisfying condition A exists in LCH1 and LCH2. The terminal device allocates resources to the data satisfying condition A in ascending order of the remaining time range corresponding to the data.
可以理解的是,属于同一剩余时间的范围的数据可能对应不同的剩余时间,也可能对应相同的剩余时间,本申请不限制。需要说明的是,剩余时间的范围可以是网络设备配置给终端设备的,也可以是预配置的,也可以是协议预定义的,也可以是终端设备自身存储的,也可以是通过其他的方式/算法获取的,本申请不限制。It is understandable that data belonging to the same remaining time range may correspond to different remaining times or the same remaining time, which is not limited by this application. It should be noted that the remaining time range may be configured by the network device to the terminal device, or may be pre-configured, or may be pre-defined by the protocol, or may be stored by the terminal device itself, or may be obtained by other methods/algorithms, which is not limited by this application.
实现方式1.3:终端设备根据数据对应的优先级为满足条件A的数据分配资源。Implementation method 1.3: The terminal device allocates resources to the data that meets condition A according to the priority level corresponding to the data.
例如,如图5C所示,存在3个LCH,LCH1和LCH2中存在满足条件A的数据,终端设备根据数据对应的优先级的降序依次为满足条件A的数据分配资源。For example, as shown in FIG5C , there are three LCHs, and data satisfying condition A exists in LCH1 and LCH2. The terminal device allocates resources to the data satisfying condition A in descending order of priority corresponding to the data.
可选的,数据对应的优先级可以是基于数据对应的剩余时间确定的,或者,是根据数据对应的剩余时间的范围确定的,本申请不限制。Optionally, the priority corresponding to the data can be determined based on the remaining time corresponding to the data, or determined based on the range of the remaining time corresponding to the data, which is not limited in this application.
例如,数据对应的剩余时间越小,数据对应的优先级越高。For example, the smaller the remaining time corresponding to the data is, the higher the priority corresponding to the data is.
例如,数据对应的剩余时间的范围越小,数据对应的优先级越高。For example, the smaller the range of the remaining time corresponding to the data is, the higher the priority corresponding to the data is.
例如,数据对应的剩余时间与数据对应的优先级之间存在一定的映射关系。For example, there is a certain mapping relationship between the remaining time corresponding to the data and the priority corresponding to the data.
例如,数据对应的剩余时间的范围与数据对应的优先级之间存在一定的映射关系。For example, there is a certain mapping relationship between the range of the remaining time corresponding to the data and the priority corresponding to the data.
可选的,数据对应的优先级越高,优先级对应的优先级值可以越小。或;反之。本申请不限制。Optionally, the higher the priority corresponding to the data, the smaller the priority value corresponding to the priority may be. Or vice versa. This application is not limited.
实现方式1.4:终端设备根据LCH的优先级的降序为满足条件A的数据分配资源。Implementation method 1.4: The terminal device allocates resources to data that meets condition A according to the descending order of the priority of the LCH.
例如,如图5D所示,存在3个LCH,LCH1和LCH2中存在满足条件A的数据,终端设备根据LCH的优先级的降序依次为满足条件A的数据分配资源。For example, as shown in FIG5D , there are three LCHs, and data satisfying condition A exists in LCH1 and LCH2. The terminal device allocates resources to the data satisfying condition A in descending order of priority of the LCHs.
可选的,LCH的优先级越高,优先级对应的优先级值可以越小。或;反之。本申请不限制。Optionally, the higher the priority of the LCH, the smaller the priority value corresponding to the priority may be. Or vice versa. This application is not limited.
例如,LCH的优先级可以包括:网络设备为LCH配置的优先级。例如,LCH的优先级可以称为配置的LCH的优先级。For example, the priority of the LCH may include: the priority configured by the network device for the LCH. For example, the priority of the LCH may be referred to as the configured priority of the LCH.
实现方式2:终端设备为LCH分配资源。Implementation method 2: The terminal device allocates resources for LCH.
可选的,终端设备为第一数据集合分配资源可以包括:终端设备基于LCH的优先级的降序为满足第一条件的LCH分配资源。 Optionally, the terminal device allocating resources to the first data set may include: the terminal device allocating resources to LCHs that meet the first condition based on descending order of priority of the LCHs.
例如,第一条件包括以下任一项或多项:条件1a、条件2a、条件3a。For example, the first condition includes any one or more of the following: condition 1a, condition 2a, condition 3a.
例如,条件1a包括:LCH属于第一LCH集合。For example, condition 1a includes: the LCH belongs to the first LCH set.
例如,条件2a包括:LCH的第一变量的取值大于0。For example, condition 2a includes: the value of the first variable of LCH is greater than 0.
例如,条件3a包括:LCH上/中存在满足条件A的数据。For example, condition 3a includes: there is data satisfying condition A on/in the LCH.
下面,以第一LCH为例说明“终端设备为满足第一条件的LCH分配资源”。可选的,终端设备为第一数据集合分配资源可以包括:终端设备基于第二PBR为第一LCH分配资源,或,终端设备基于第三数据集合的数据量为第一LCH分配资源。Below, the first LCH is taken as an example to illustrate "the terminal device allocates resources to the LCH that meets the first condition". Optionally, the terminal device allocates resources to the first data set may include: the terminal device allocates resources to the first LCH based on the second PBR, or the terminal device allocates resources to the first LCH based on the data volume of the third data set.
可选的,第二PBR的取值是基于第三数据集合的数据量确定的。Optionally, the value of the second PBR is determined based on the amount of data in the third data set.
可选的,第二PBR的取值是基于第一值确定的。Optionally, the value of the second PBR is determined based on the first value.
可选的,第二PBR的取值是基于第三数据集合的数据量和配置的PBR确定的。Optionally, the value of the second PBR is determined based on the data volume of the third data set and the configured PBR.
可选的,第二PBR的取值是基于第一值和配置的PBR确定的。Optionally, the value of the second PBR is determined based on the first value and the configured PBR.
例如,第一值是基于第三数据集合的数据量确定的。For example, the first value is determined based on the data volume of the third data set.
需要说明的是,对于“第一值是基于第三数据集合的数据量确定的”,第一值是如何基于第三数据集合的数据量确定的,本申请不限制。例如,第一值可以等于(第三数据集合的数据量÷1秒),或,其他取值。It should be noted that, regarding "the first value is determined based on the data volume of the third data set", this application does not limit how the first value is determined based on the data volume of the third data set. For example, the first value may be equal to (the data volume of the third data set ÷ 1 second), or other values.
可选的,第三数据集合与第一LCH相关联。Optionally, the third data set is associated with the first LCH.
“第三数据集合与第一LCH相关联”相关的描述可以参考“第一数据集合与第一LCH相关联”相关的内容,将第一数据集合替换为第三数据集合进行理解即可,此处不再赘述。For the description related to “the third data set is associated with the first LCH”, please refer to the content related to “the first data set is associated with the first LCH”, and you can understand it by replacing the first data set with the third data set, which will not be repeated here.
可选的,第二PBR与第一LCH相关联。Optionally, the second PBR is associated with the first LCH.
可选的,第三数据集合或第三数据集合中的数据对应的剩余时间小于或等于第一阈值。Optionally, the third data set or the remaining time corresponding to the data in the third data set is less than or equal to the first threshold.
例如,第三数据集合可以包括/为:第一LCH中剩余时间小于或等于第一阈值的所有数据。For example, the third data set may include/be: all data in the first LCH whose remaining time is less than or equal to the first threshold.
一种可能的实现1,第二PBR的取值等于第三数据集合的数据量;或,第二PBR(例如,第二PBR的取值)等于第一值。In a possible implementation 1, the value of the second PBR is equal to the amount of data in the third data set; or, the second PBR (eg, the value of the second PBR) is equal to the first value.
例如,可以理解的是,在终端设备为第一LCH分配资源时或之前,若第一资源的剩余资源能够容纳第三数据集合的全部,第二PBR的取值等于第三数据集合的数据量可以使得第三数据集合可以被优先传输。For example, it can be understood that when or before the terminal device allocates resources for the first LCH, if the remaining resources of the first resources can accommodate the entire third data set, the value of the second PBR is equal to the data volume of the third data set, so that the third data set can be transmitted preferentially.
另一种可能的实现2,第二PBR的取值等于第三数据集合的数据量和配置的PBR(例如,配置的PBR的取值)中的最小值;或,第二PBR(例如,第二PBR的取值)等于第一值和配置的PBR(例如,配置的PBR的取值)中的最小值。In another possible implementation 2, the value of the second PBR is equal to the minimum value of the data amount of the third data set and the configured PBR (e.g., the value of the configured PBR); or, the second PBR (e.g., the value of the second PBR) is equal to the minimum value of the first value and the configured PBR (e.g., the value of the configured PBR).
例如,可以理解的是,实现2相比于实现1,考虑了配置的PBR,使得第一LCH上能够分配到资源的数据的数据量不超过配置的PBR的取值,保证了每个LCH的公平性,避免了低优先级的LCH被饿死。For example, it can be understood that compared with implementation 1, implementation 2 takes into account the configured PBR, so that the amount of data that can be allocated resources on the first LCH does not exceed the value of the configured PBR, thereby ensuring the fairness of each LCH and avoiding starvation of low-priority LCHs.
需要说明的是,终端设备基于第二PBR为第一LCH分配资源,第二PBR是基于配置的PBR确定的,可以避免第一LCH中的数据占据/分配/消耗过多的资源而饿死其他LCH,保证了LCH之间的公平性。It should be noted that the terminal device allocates resources to the first LCH based on the second PBR, and the second PBR is determined based on the configured PBR, which can avoid the data in the first LCH occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness between LCHs.
可以理解的是,第一数据集合可以为第三数据集合的部分或全部。It can be understood that the first data set may be part or all of the third data set.
例如,第一数据集合可以包括/为:第一LCH中剩余时间小于或等于第一阈值的部分或所有数据。For example, the first data set may include/be: part or all of the data in the first LCH whose remaining time is less than or equal to the first threshold.
可选的,该方法还可以包括:终端设备接收第二指示信息,第二指示信息指示在实现方式2中考虑配置的PBR,或,第二指示信息指示在实现方式二中不考虑配置的PBR。从而,使得终端设备能够基于网络设备的指示执行资源分配。Optionally, the method may further include: the terminal device receives second indication information, the second indication information indicating that the configured PBR is considered in implementation mode 2, or the second indication information indicates that the configured PBR is not considered in implementation mode 2. Thus, the terminal device can perform resource allocation based on the indication of the network device.
例如,“在实现方式2中考虑配置的PBR”可以包括:基于第二PBR或配置的PBR为LCH(例如,第一LCH)分配资源。例如,“在实现方式2中不考虑配置的PBR”可以包括:不基于第二PBR或配置的PBR为LCH(例如,第一LCH)分配资源。For example, "taking into account the configured PBR in implementation 2" may include: allocating resources to the LCH (e.g., the first LCH) based on the second PBR or the configured PBR. For example, "not taking into account the configured PBR in implementation 2" may include: not allocating resources to the LCH (e.g., the first LCH) based on the second PBR or the configured PBR.
可选的,第二指示信息的配置粒度可以为终端设备配置的,也可以是为LCH配置的。Optionally, the configuration granularity of the second indication information may be configured for the terminal device or for the LCH.
需要说明的是,在步骤S404之前或之后或之中,终端设备也可能为其他LCH(例如,第四LCH集合)或其他LCH的数据分配了资源。It should be noted that, before, after or during step S404, the terminal device may also allocate resources for other LCHs (eg, the fourth LCH set) or data of other LCHs.
例如,第四LCH集合中的LCH满足第一条件。例如,第一条件包括以下任一项或多项:条件1a、条件2a、条件3a。 For example, the LCH in the fourth LCH set satisfies the first condition. For example, the first condition includes any one or more of the following: condition 1a, condition 2a, and condition 3a.
可选的,第四LCH集合是第一LCH集合的子集,或,第四LCH集合等于第一LCH集合。Optionally, the fourth LCH set is a subset of the first LCH set, or the fourth LCH set is equal to the first LCH set.
可选的,步骤S404对应的过程可以称为第一轮资源分配(或称为,第X轮资源分配)。需要说明的是,第一轮资源分配可能涉及第一数据集合,还可能涉及其他数据,本申请不限制。需要说明的是,第一轮资源分配可能涉及第一LCH,还可能涉及其他LCH,本申请不限制。例如,第一轮资源分配可以为数据分配资源或者为LCH分配资源。Optionally, the process corresponding to step S404 may be referred to as a first round of resource allocation (or referred to as an Xth round of resource allocation). It should be noted that the first round of resource allocation may involve a first data set and may also involve other data, which is not limited in this application. It should be noted that the first round of resource allocation may involve a first LCH and may also involve other LCHs, which is not limited in this application. For example, the first round of resource allocation may allocate resources for data or allocate resources for LCH.
可选的,“在步骤S404之前或之后或之中”可以包括:在第一轮资源分配中。Optionally, “before, after, or during step S404” may include: in the first round of resource allocation.
需要说明的是,步骤S404可以作为独立的实施例,不依赖于其他步骤;或者,步骤S404可以和其他一个或多个步骤结合,作为一个独立的实施例。It should be noted that step S404 can be used as an independent embodiment and is not dependent on other steps; or, step S404 can be combined with one or more other steps to serve as an independent embodiment.
例如,在步骤S404或步骤S405之后,终端设备可以基于当前标准/协议(或者通过其它方式指定的)中的LCP的过程执行资源分配。For example, after step S404 or step S405, the terminal device may perform resource allocation based on the LCP process in the current standard/protocol (or specified by other means).
可选的,第一数据集合的数据量小于或等于以下任一项或多项,或,第一数据集合的数据量是基于以下任一项或多项确定的,或,为第一LCH分配资源的数据最大不超过以下任一项或多项,或,在S404中为第一LCH分配资源的数据最大不超过以下任一项或多项:Optionally, the amount of data of the first data set is less than or equal to any one or more of the following, or the amount of data of the first data set is determined based on any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH does not exceed any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH in S404 does not exceed any one or more of the following:
(1)第二PBR或第二PBR的取值;(1) The second PBR or the value of the second PBR;
(2)基于第二PBR确定的数据量;(2) the amount of data determined based on the second PBR;
(3)为第一数据集合分配资源之前的剩余资源;(3) remaining resources before allocating resources for the first data set;
(4)第一LCH对应的第一变量的第一取值;(4) a first value of a first variable corresponding to the first LCH;
(5)第三数据集合的数据量。(5) The data volume of the third data set.
可选的,S405.终端设备更新第一LCH或第四LCH集合对应的第一变量的取值.Optionally, S405. The terminal device updates the value of the first variable corresponding to the first LCH or fourth LCH set.
例如,终端设备将第一LCH的第一变量的取值减去第一数据集合的数据量。For example, the terminal device subtracts the amount of data of the first data set from the value of the first variable of the first LCH.
例如,终端设备将第一LCH的第一变量的取值更新为(第一取值-第一数据集合的数据量),即,第二取值。For example, the terminal device updates the value of the first variable of the first LCH to (first value-data volume of the first data set), that is, the second value.
例如,终端设备将LCH的第一变量的取值减去LCH上分配了资源的数据的数据量。For example, the terminal device subtracts the amount of data for which resources are allocated on the LCH from the value of the first variable of the LCH.
需要说明的是,步骤S405可以作为独立的实施例,不依赖于其他步骤;或者,步骤S405可以和步骤S404作为一个独立的实施例,或,步骤S405可以和其他一个或多个步骤结合,作为一个独立的实施例。It should be noted that step S405 can be used as an independent embodiment and is not dependent on other steps; or, step S405 can be used as an independent embodiment together with step S404, or, step S405 can be combined with one or more other steps as an independent embodiment.
可选的,S406.终端设备确定第二LCH集合。Optionally, S406. The terminal device determines a second LCH set.
例如,“确定第二LCH集合”可以包括/理解为:选择第二LCH集合。For example, “determining a second LCH set” may include/be understood as: selecting a second LCH set.
例如,第二LCH集合包括一个或多个LCH。For example, the second LCH set includes one or more LCHs.
可选的,终端设备可以基于第二LCH限制集合和/或第一资源相关的信息确定第二LCH集合。Optionally, the terminal device may determine the second LCH set based on the second LCH restriction set and/or information related to the first resource.
可选的,第二LCH限制集合可以包括以下任一项或多项:allowSCS-List、maxPUSCH-Duration、configuredGrantType1Allowed、allowedServingCells、allowedCG-List、allowedPHY-PriorityIndex、allowedHARQ-mode。Optionally, the second LCH restriction set may include any one or more of the following: allowedSCS-List, maxPUSCH-Duration, configuredGrantType1Allowed, allowedServingCells, allowedCG-List, allowedPHY-PriorityIndex, and allowedHARQ-mode.
需要说明的是,第一LCH集合和第二LCH集合可以相同,也可以不同,本申请不限制。It should be noted that the first LCH set and the second LCH set may be the same or different, and this application does not limit this.
需要说明的是,第一LCH限制集合和第二LCH限制集合可以相同,也可以不同,本申请不限制。It should be noted that the first LCH restriction set and the second LCH restriction set may be the same or different, and this application does not limit this.
例如,终端设备可以基于当前标准/协议(或者通过其它方式指定的)的LCH选择来确定第二LCH集合。For example, the terminal device may determine the second LCH set based on LCH selection of the current standard/protocol (or specified by other means).
又例如,终端设备可以基于比步骤S403的LCH选择更严格的方法(例如,比较更多的LCH限制)来确定第二LCH集合。可以理解的是,终端设备确定第二LCH集合后,可以针对第二LCH集合中的LCH来进行第二轮资源分配、第三轮资源分配中的一项或多项。可以限制其他的LCH不能参与第二轮资源分配、第三轮资源分配中的一项或多项。例如,其他的LCH可能是不适合在第一资源上传输的LCH(或,其他的LCH的数据可能是不适合在第一资源上传输的数据),若其他的LCH在第一资源上传输,可能会影响其传输可靠性或效率等,这样可以避免不适合在第一资源上传输的LCH(即,其他的LCH)的数据不在第一资源上传输,可以保证其他LCH的传输可靠性或效率等。For another example, the terminal device may determine the second LCH set based on a stricter method than the LCH selection in step S403 (for example, comparing more LCH restrictions). It is understandable that after the terminal device determines the second LCH set, it may perform one or more of the second round of resource allocation and the third round of resource allocation for the LCH in the second LCH set. Other LCHs may be restricted from participating in one or more of the second round of resource allocation and the third round of resource allocation. For example, other LCHs may be LCHs that are not suitable for transmission on the first resource (or, the data of other LCHs may be data that is not suitable for transmission on the first resource). If other LCHs are transmitted on the first resource, it may affect the transmission reliability or efficiency thereof. This can avoid the data of LCHs that are not suitable for transmission on the first resource (i.e., other LCHs) from not being transmitted on the first resource, and can ensure the transmission reliability or efficiency of other LCHs.
需要说明的是,S405和S406的先后顺序本申请不限制,例如,S405也可以在S406之后执行,或, 之前执行,或同时执行。It should be noted that the order of S405 and S406 is not limited in this application. For example, S405 may also be executed after S406, or, Before, or at the same time.
可选的,S407.终端设备执行步骤S407-1或步骤S407-2。Optionally, S407. The terminal device executes step S407-1 or step S407-2.
可选的,若第一资源中存在剩余资源,或,若第一轮资源分配之后第一资源中存在剩余资源,或,若存在剩余资源,或,若第一轮资源分配之后存在剩余资源,终端设备执行步骤S407-1或步骤S407-2。Optionally, if there are remaining resources in the first resources, or if there are remaining resources in the first resources after the first round of resource allocation, or if there are remaining resources, or if there are remaining resources after the first round of resource allocation, the terminal device executes step S407-1 or step S407-2.
S407-1.终端设备基于第一数据集合的数据量为第二数据集合分配资源。S407-1. The terminal device allocates resources to the second data set based on the data volume of the first data set.
可选的,若第一资源中存在剩余资源,或,若第一轮资源分配之后第一资源中存在剩余资源,或,若存在剩余资源,或,若第一轮资源分配之后存在剩余资源,终端设备基于第一数据集合的数据量为第二数据集合分配资源。Optionally, if there are remaining resources in the first resources, or, if there are remaining resources in the first resources after the first round of resource allocation, or, if there are remaining resources, or, if there are remaining resources after the first round of resource allocation, the terminal device allocates resources to the second data set based on the data amount of the first data set.
可选的,终端设备基于第一数据集合的数据量为第二数据集合分配资源可以包括:终端设备基于第一数据集合的数据量为第一LCH分配资源。Optionally, the terminal device allocating resources to the second data set based on the data volume of the first data set may include: the terminal device allocating resources to the first LCH based on the data volume of the first data set.
第二数据集合与第一LCH相关联。The second data set is associated with the first LCH.
“第二数据集合与第一LCH相关联”相关的描述可以参考“第一数据集合与第一LCH相关联”相关的内容,将第一数据集合替换为第二数据集合进行理解即可,此处不再赘述。For the description related to “the second data set is associated with the first LCH”, please refer to the content related to “the first data set is associated with the first LCH”, and you can understand it by replacing the first data set with the second data set. It will not be repeated here.
例如,终端设备基于第一数据集合的数据量为第二数据集合分配资源可以包括:终端设备基于第一数据集合的数据量确定为第二数据集合分配资源。For example, the terminal device allocating resources to the second data set based on the data volume of the first data set may include: the terminal device determining to allocate resources to the second data set based on the data volume of the first data set.
例如,终端设备基于第一数据集合的数据量为第二数据集合分配资源可以包括:终端设备确定为第二数据集合分配资源,或,终端设备为第一LCH分配资源,或,终端设备基于配置的PBR为第一LCH分配资源。For example, the terminal device allocating resources to the second data set based on the data volume of the first data set may include: the terminal device determining to allocate resources to the second data set, or, the terminal device allocating resources to the first LCH, or, the terminal device allocating resources to the first LCH based on the configured PBR.
“为第二数据集合分配资源”可以包括:为第一LCH分配资源。“Allocating resources for the second data set” may include: allocating resources for the first LCH.
可选的,第一LCH属于第二LCH集合或第一LCH的集合。Optionally, the first LCH belongs to the second LCH set or the set of the first LCH.
可选的,满足条件#1,终端设备为第二数据集合分配资源。Optionally, if condition #1 is met, the terminal device allocates resources to the second data set.
例如,条件#1可以包括:第一LCH属于第二LCH集合或第一LCH的集合。For example, condition #1 may include: the first LCH belongs to the second LCH set or the set of the first LCH.
可选的,在步骤S407-1之前或在步骤S407之前或在为第二数据集合分配资源之前,第一LCH对应的第一变量的取值大于0。Optionally, before step S407-1 or before step S407 or before allocating resources for the second data set, the value of the first variable corresponding to the first LCH is greater than 0.
例如,在步骤S407-1之前或在步骤S407之前或在为第二数据集合分配资源之前,第一LCH对应的第一变量的取值为第一取值或第二取值。For example, before step S407-1 or before step S407 or before allocating resources for the second data set, the value of the first variable corresponding to the first LCH is the first value or the second value.
可选的,满足条件#2,终端设备为第二数据集合分配资源。Optionally, if condition #2 is met, the terminal device allocates resources to the second data set.
例如,条件#2可以包括第一LCH对应的第一变量的取值大于0。For example, condition #2 may include that the value of the first variable corresponding to the first LCH is greater than 0.
可以理解的是,若第一LCH对应的第一变量的取值小于或等于0,终端设备不为第二数据集合分配资源,或,终端设备不为第一LCH分配资源,或,终端设备不为第一LCH对应的数据分配资源。或者,若第一LCH对应的第一变量的取值大于0,终端设备为第二数据集合分配资源,或,终端设备为第一LCH分配资源,或,终端设备为第一LCH对应的数据分配资源。可以理解的是,通过该实现可以保证不同LCH之间的公平性,避免某些LCH(例如,低优先级的LCH)被饿死。It can be understood that if the value of the first variable corresponding to the first LCH is less than or equal to 0, the terminal device does not allocate resources for the second data set, or the terminal device does not allocate resources for the first LCH, or the terminal device does not allocate resources for the data corresponding to the first LCH. Alternatively, if the value of the first variable corresponding to the first LCH is greater than 0, the terminal device allocates resources for the second data set, or the terminal device allocates resources for the first LCH, or the terminal device allocates resources for the data corresponding to the first LCH. It can be understood that fairness between different LCHs can be guaranteed through this implementation, and some LCHs (for example, low-priority LCHs) can be prevented from being starved to death.
可选地,在为第二数据集合分配资源之前,第一LCH对应的第一变量的取值也可以小于或等于0,不限制。可以理解的是,终端设备在为第二数据集合或第一LCH或第一LCH对应的数据分配资源之前无需考虑第一LCH对应的第一变量的取值,或,终端设备在第二轮资源分配过程中/之前无需考虑LCH对应的第一变量的取值。Optionally, before allocating resources for the second data set, the value of the first variable corresponding to the first LCH may also be less than or equal to 0, without limitation. It is understandable that the terminal device does not need to consider the value of the first variable corresponding to the first LCH before allocating resources for the second data set or the first LCH or the data corresponding to the first LCH, or the terminal device does not need to consider the value of the first variable corresponding to the LCH during/before the second round of resource allocation.
可选的,满足条件#3,终端设备为第二数据集合分配资源。Optionally, if condition #3 is met, the terminal device allocates resources to the second data set.
例如,条件#3可以包括第一参数大于0。For example, condition #3 may include the first parameter being greater than zero.
可选的,满足第二条件,终端设备为第二数据集合分配资源。Optionally, if the second condition is met, the terminal device allocates resources to the second data set.
例如,第二条件可以包括以下任一项或多项:条件#1、条件#2、条件#3。For example, the second condition may include any one or more of the following: condition #1, condition #2, condition #3.
可选的,第二数据集合的数据量小于或等于以下任一项或多项,或,第二数据集合的数据量是基于以下任一项或多项确定的,或,为第一LCH分配资源的数据最大不超过以下任一项或多项,或,在S407中为第一LCH分配资源的数据最大不超过以下任一项或多项:Optionally, the amount of data of the second data set is less than or equal to any one or more of the following, or the amount of data of the second data set is determined based on any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH does not exceed any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH in S407 does not exceed any one or more of the following:
(1)第一PBR或第一PBR的取值;(1) The first PBR or the value of the first PBR;
(2)基于第一优先比特率(prioritized bit rate,PBR)确定的数据量; (2) Data volume determined based on a first prioritized bit rate (PBR);
(3)为第一数据集合分配资源之后的剩余资源;或,(3) remaining resources after allocating resources to the first data set; or,
(4)第一LCH对应的第一变量的第一取值与第一数据集合的数据量之间的差值;或,第一LCH对应的第一变量的第二取值。(4) The difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set; or, the second value of the first variable corresponding to the first LCH.
可选的,“为第一数据集合分配资源之后”可以包括:第一轮资源分配之后。Optionally, "after allocating resources to the first data set" may include: after the first round of resource allocation.
需要说明的是,对于“基于第一PBR确定的数据量”,如何基于第一PBR确定数据量,本申请不限制。例如,基于第一PBR确定的数据量可以等于第一PBR的取值,或,(第一PBR取值×时域长度),或,其他取值。其中,时域长度为第一资源的在时域上的时长。例如,时域长度的单位为秒。It should be noted that, for the "amount of data determined based on the first PBR", this application does not limit how to determine the amount of data based on the first PBR. For example, the amount of data determined based on the first PBR may be equal to the value of the first PBR, or (the first PBR value × the time domain length), or other values. The time domain length is the duration of the first resource in the time domain. For example, the unit of the time domain length is seconds.
可选的,第一PBR是基于第一数据集合的数据量确定的。Optionally, the first PBR is determined based on the data amount of the first data set.
可选的,第一PBR是基于第一数据集合的数据量以及配置的PBR确定的。Optionally, the first PBR is determined based on the data volume of the first data set and the configured PBR.
可选的,第一PBR是基于第二值确定的。Optionally, the first PBR is determined based on the second value.
可选的,第一PBR是基于第二值以及配置的PBR确定的。Optionally, the first PBR is determined based on the second value and the configured PBR.
可选的,第一PBR是基于第二PBR确定的。Optionally, the first PBR is determined based on the second PBR.
可选的,第一PBR是基于第二PBR以及配置的PBR确定的。Optionally, the first PBR is determined based on the second PBR and the configured PBR.
例如,第二值是基于第一数据集合的数据量确定的。For example, the second value is determined based on the data volume of the first data set.
需要说明的是,对于“第二值是基于第一数据集合的数据量确定的”,第二值是如何基于第一数据集合的数据量确定的,本申请不限制。例如,第二值可以等于(第一数据集合的数据量÷1秒),或,其他取值。It should be noted that, regarding "the second value is determined based on the data volume of the first data set", this application does not limit how the second value is determined based on the data volume of the first data set. For example, the second value may be equal to (the data volume of the first data set ÷ 1 second), or other values.
例如,第一PBR可以包括第一PBR的取值。例如,第二PBR可以包括第二PBR的取值。For example, the first PBR may include the value of the first PBR. For example, the second PBR may include the value of the second PBR.
需要说明的是,对于“第一PBR是基于第一数据集合的数据量确定的”,第一PBR是如何基于第一数据集合的数据量确定的,本申请不限制。It should be noted that, with respect to “the first PBR is determined based on the data amount of the first data set”, this application does not limit how the first PBR is determined based on the data amount of the first data set.
需要说明的是,对于“第一PBR是基于第一数据集合的数据量以及配置的PBR确定的”,第一PBR是如何基于第一数据集合的数据量以及配置的PBR确定的,本申请不限制。It should be noted that, with respect to “the first PBR is determined based on the data volume of the first data set and the configured PBR”, this application does not limit how the first PBR is determined based on the data volume of the first data set and the configured PBR.
需要说明的是,对于“第一PBR是基于第二值确定的”,第一PBR是如何基于第二值确定的,本申请不限制。It should be noted that, with respect to “the first PBR is determined based on the second value”, this application does not limit how the first PBR is determined based on the second value.
需要说明的是,对于“第一PBR是基于第二值以及配置的PBR确定的”,第一PBR是如何基于第二值以及配置的PBR确定的,本申请不限制。It should be noted that, with respect to “the first PBR is determined based on the second value and the configured PBR”, this application does not limit how the first PBR is determined based on the second value and the configured PBR.
需要说明的是,对于“第一PBR是基于第二PBR确定的”,第一PBR是如何基于第二PBR确定的,本申请不限制。It should be noted that, with respect to “the first PBR is determined based on the second PBR”, this application does not limit how the first PBR is determined based on the second PBR.
需要说明的是,对于“第一PBR是基于第二PBR以及配置的PBR确定的”,第一PBR是如何基于第二PBR以及配置的PBR确定的,本申请不限制。It should be noted that, with respect to “the first PBR is determined based on the second PBR and the configured PBR”, this application does not limit how the first PBR is determined based on the second PBR and the configured PBR.
例如,若第一数据集合的数据量大于或等于配置的PBR的取值,第一PBR可以等于0。For example, if the data volume of the first data set is greater than or equal to the configured PBR value, the first PBR may be equal to 0.
例如,第一PBR可以等于(配置的PBR的取值-第一数据集合的数据量),或,(配置的PBR的取值×1秒-第一数据集合的数据量),或,(配置的PBR的取值-第一数据集合的数据量)和0中的最大值,或,(配置的PBR的取值×1秒-第一数据集合的数据量)和0中的最大值,或,其他取值。For example, the first PBR can be equal to (the value of the configured PBR - the data volume of the first data set), or (the value of the configured PBR × 1 second - the data volume of the first data set), or the maximum value of (the value of the configured PBR - the data volume of the first data set) and 0, or the maximum value of (the value of the configured PBR × 1 second - the data volume of the first data set) and 0, or other values.
例如,若第二值大于或等于配置的PBR的取值,第一PBR可以等于0。For example, if the second value is greater than or equal to the configured PBR value, the first PBR may be equal to 0.
例如,第一PBR可以等于(第二值-第二PBR)。For example, the first PBR may be equal to (the second value - the second PBR).
例如,若第二PBR大于或等于配置的PBR的取值,第一PBR可以等于0。For example, if the second PBR is greater than or equal to the configured PBR value, the first PBR may be equal to 0.
例如,第一PBR可以等于(配置的PBR的取值-第二PBR)。For example, the first PBR may be equal to (the value of the configured PBR - the second PBR).
可选的,“为第一数据集合分配资源之后的剩余资源”可以包括以下任一项或多项:为第二数据集合分配资源之前的剩余资源,步骤S404之后的剩余资源,或,第一资源的剩余资源;第一轮资源分配之后的剩余资源。Optionally, "remaining resources after allocating resources to the first data set" may include any one or more of the following: remaining resources before allocating resources to the second data set, remaining resources after step S404, or remaining resources of the first resources; remaining resources after the first round of resource allocation.
可选的,“步骤S404之后”可以包括:第一轮资源分配之后。Optionally, "after step S404" may include: after the first round of resource allocation.
需要说明的是,申请中,例如,剩余资源可以包括/理解为:剩余资源能够承载的数据的数据量。例如,“为第一数据集合分配资源之后的剩余资源”可以包括/理解为:为第一数据集合分配资源之后的剩余资源能够承载的数据的数据量。It should be noted that, in the application, for example, the remaining resources may include/be understood as: the amount of data that the remaining resources can carry. For example, "the remaining resources after allocating resources for the first data set" may include/be understood as: the amount of data that the remaining resources can carry after allocating resources for the first data set.
可选的,终端设备基于第一数据集合的数据量为第二数据集合分配资源可以包括/替换为:终端设 备基于第一参数为第二数据集合分配资源。Optionally, the terminal device allocating resources to the second data set based on the data volume of the first data set may include/be replaced by: the terminal device The device allocates resources for the second data set based on the first parameter.
例如,第一参数与第一LCH相关联。可选的,第一参数可以用于以下任一项或多项:资源分配过程、LCP过程、饥饿避免机制或令牌桶机制。例如,第一参数与第一LCH的资源分配相关联。For example, the first parameter is associated with the first LCH. Optionally, the first parameter can be used for any one or more of the following: a resource allocation process, an LCP process, a starvation avoidance mechanism, or a token bucket mechanism. For example, the first parameter is associated with resource allocation of the first LCH.
例如,第一参数包括以下任一项或多项:For example, the first parameter includes any one or more of the following:
(1)第一PBR或第一PBR的取值;(1) The first PBR or the value of the first PBR;
(2)基于第一PBR确定的数据量;(2) the amount of data determined based on the first PBR;
(3)为第一数据集合分配资源之后的剩余资源;或,(3) remaining resources after allocating resources to the first data set; or,
(4)第一LCH对应的第一变量的第一取值与第一数据集合的数据量之间的差值;或,第一LCH对应的第一变量的第二取值。(4) The difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set; or, the second value of the first variable corresponding to the first LCH.
可以理解的是,在终端设备基于第一数据集合的数据量为第二数据集合/第一LCH分配资源的情况下,可以保证各个LCH之间的公平性,避免其他LCH(例如,低优先级的LCH)被饿死。例如,在终端设备在进行第二轮资源分配过程中,需要考虑/扣掉第一轮资源分配过程已经分配的资源,可以避免第一LCH中的数据占据/分配/消耗过多的资源而饿死其他LCH,保证了LCH之间的公平性。例如,第一设备可以基于第一数据集合的数据量确定还能为第一LCH中的多少数据分配资源,或,第一设备可以基于第一数据集合的数据量确定还能为第一LCH中的数据分配多少资源,可以避免第一LCH中的数据占据/分配/消耗过多的资源而饿死其他LCH,保证了LCH之间的公平性。It can be understood that, when the terminal device allocates resources to the second data set/first LCH based on the data volume of the first data set, fairness between the LCHs can be guaranteed, and other LCHs (for example, low-priority LCHs) can be prevented from being starved. For example, when the terminal device is performing the second round of resource allocation, it is necessary to consider/deduct the resources that have been allocated in the first round of resource allocation process, so that the data in the first LCH can be prevented from occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness between LCHs. For example, the first device can determine how much data in the first LCH can be allocated resources based on the data volume of the first data set, or the first device can determine how much resources can be allocated for the data in the first LCH based on the data volume of the first data set, so that the data in the first LCH can be prevented from occupying/allocating/consuming too many resources and starving other LCHs, thereby ensuring fairness between LCHs.
可选的,本实施例及后文实施例涉及的LCH对应的变量(例如第一LCH对应的第一变量)用于指示终端设备为LCH维护的变量。例如,LCH对应的变量可以用于指示以下至少一项:指示LCH是否能够承载数据,指示LCH能够承载的数据量,或,指示LCH能够承载数据时LCH的数据传输速率。例如,LCH对应的变量可以用于以下任一项或多项:资源分配过程、LCP过程、饥饿避免机制或令牌桶机制。Optionally, the variable corresponding to the LCH involved in this embodiment and the following embodiments (for example, the first variable corresponding to the first LCH) is used to indicate the variable maintained by the terminal device for the LCH. For example, the variable corresponding to the LCH can be used to indicate at least one of the following: indicating whether the LCH can carry data, indicating the amount of data that the LCH can carry, or indicating the data transmission rate of the LCH when the LCH can carry data. For example, the variable corresponding to the LCH can be used for any one or more of the following: a resource allocation process, an LCP process, a starvation avoidance mechanism, or a token bucket mechanism.
可选地,变量可以记为B,或,Bj,或,其它的符号表示,本申请对此不做限定。Optionally, the variable can be expressed as B, or Bj, or other symbols, which is not limited in this application.
可选的,在终端设备为第一数据集合分配资源之前,第一LCH对应的第一变量的取值为第一取值。Optionally, before the terminal device allocates resources for the first data set, the value of the first variable corresponding to the first LCH is a first value.
可选的,在终端设备基于第一数据集合的数据量为第二数据集合分配资源之前或在第二轮资源分配之前,第一LCH对应的第一变量的取值为第一取值或第二取值。Optionally, before the terminal device allocates resources to the second data set based on the data volume of the first data set or before a second round of resource allocation, the value of the first variable corresponding to the first LCH is the first value or the second value.
例如,第二取值是基于第一取值与第一数据集合的数据量确定。可选的,第一取值大于0。可选的,第二取值大于0。For example, the second value is determined based on the first value and the amount of data in the first data set. Optionally, the first value is greater than 0. Optionally, the second value is greater than 0.
可选的,在第一轮资源分配和/或第二轮资源分配的过程中,终端设备可以考虑尽量避免RLC分段。例如,终端设备可以在考虑上述内容的基础上,考虑尽量避免RLC分段。Optionally, during the first round of resource allocation and/or the second round of resource allocation, the terminal device may consider avoiding RLC segmentation as much as possible. For example, the terminal device may consider avoiding RLC segmentation as much as possible based on the above content.
S407-2.终端设备基于第一数据集合的数据量确定不为第二数据集合分配资源。S407-2. The terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
可选的,若第一资源中存在剩余资源,或,若第一轮资源分配之后第一资源中存在剩余资源,或,若存在剩余资源,或,若第一轮资源分配之后存在剩余资源,终端设备基于第一数据集合的数据量确定不为第二数据集合分配资源。Optionally, if there are remaining resources in the first resources, or, if there are remaining resources in the first resources after the first round of resource allocation, or, if there are remaining resources, or, if there are remaining resources after the first round of resource allocation, the terminal device determines not to allocate resources for the second data set based on the data amount of the first data set.
可选的,终端设备基于第一数据集合的数据量确定不为第二数据集合分配资源可以包括:终端设备基于第一数据集合的数据量确定不为第一LCH分配资源。Optionally, the terminal device determines not to allocate resources to the second data set based on the data volume of the first data set, which may include: the terminal device determines not to allocate resources to the first LCH based on the data volume of the first data set.
可选的,终端设备基于第一数据集合的数据量确定不为第二数据集合分配资源可以包括:终端设备确定不为第二数据集合分配资源。Optionally, the terminal device determining not to allocate resources for the second data set based on the data volume of the first data set may include: the terminal device determining not to allocate resources for the second data set.
“不为第二数据集合分配资源”可以包括:不为第一LCH分配资源。“Not allocating resources for the second data set” may include: not allocating resources for the first LCH.
第二数据集合与第一LCH相关联。The second data set is associated with the first LCH.
可选的,第一LCH属于第二LCH集合或第一LCH的集合。Optionally, the first LCH belongs to the second LCH set or the set of the first LCH.
可选的,满足条件#1,终端设备基于第一数据集合的数据量确定不为第二数据集合分配资源。Optionally, if condition #1 is met, the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
可选的,在步骤S407-2之前或在步骤S407之前或在基于第一数据集合的数据量确定不为第二数据集合分配资源之前,第一LCH对应的第一变量的取值大于0。Optionally, before step S407-2 or before step S407 or before determining not to allocate resources for the second data set based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is greater than 0.
例如,在步骤S407-2之前或在步骤S407之前或在基于第一数据集合的数据量确定不为第二数据集合分配资源之前,第一LCH对应的第一变量的取值为第一取值或第二取值。For example, before step S407-2 or before step S407 or before determining not to allocate resources for the second data set based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is the first value or the second value.
可选的,满足条件#2,终端设备基于第一数据集合的数据量确定不为第二数据集合分配资源。Optionally, if condition #2 is met, the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
可选的,“步骤S407-1之前”或“步骤S407之前”或“为第二数据集合分配资源之前”或“步骤 S407-2之前”或“基于第一数据集合的数据量确定不为第二数据集合分配资源之前”可以包括:第二轮资源分配之前。Optionally, "before step S407-1" or "before step S407" or "before allocating resources for the second data set" or "before step S407-1 ... S407-2" or "before determining not to allocate resources to the second data set based on the data amount of the first data set" may include: before the second round of resource allocation.
可以理解的是,若第一LCH对应的第一变量的取值小于或等于0,终端设备不为第一LCH分配资源,或,终端设备不为第一LCH对应的数据分配资源。或者,若第一LCH对应的第一变量的取值大于0,终端设备基于第一数据集合的数据量确定不为第一LCH分配资源,或,终端设备基于第一数据集合的数据量确定不为第一LCH的数据分配资源。例如,可以理解的是,通过该实现可以保证不同LCH之间的公平性,避免某些LCH(例如,低优先级的LCH)被饿死。It can be understood that if the value of the first variable corresponding to the first LCH is less than or equal to 0, the terminal device does not allocate resources for the first LCH, or the terminal device does not allocate resources for the data corresponding to the first LCH. Alternatively, if the value of the first variable corresponding to the first LCH is greater than 0, the terminal device determines not to allocate resources for the first LCH based on the data volume of the first data set, or the terminal device determines not to allocate resources for the data of the first LCH based on the data volume of the first data set. For example, it can be understood that fairness between different LCHs can be guaranteed through this implementation, and some LCHs (for example, low-priority LCHs) can be prevented from being starved to death.
可选地,在基于第一数据集合的数据量确定不为第二数据集合分配资源之前,第一LCH对应的第一变量的取值也可以小于或等于0,不限制。可以理解的是,终端设备在基于第一数据集合的数据量确定不为第一LCH或第一LCH对应的数据分配资源之前,或,终端设备在第二轮资源分配过程中/之前,无需考虑第一LCH对应的第一变量的取值。Optionally, before determining not to allocate resources for the second data set based on the data volume of the first data set, the value of the first variable corresponding to the first LCH may also be less than or equal to 0, without limitation. It is understandable that before the terminal device determines not to allocate resources for the first LCH or the data corresponding to the first LCH based on the data volume of the first data set, or before the terminal device is in/before the second round of resource allocation, it is not necessary to consider the value of the first variable corresponding to the first LCH.
可选的,满足第四条件,终端设备基于第一数据集合的数据量确定不为第二数据集合分配资源。例如,第四条件可以包括以下任一项或多项:条件#1、条件#2。Optionally, if the fourth condition is met, the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set. For example, the fourth condition may include any one or more of the following: condition #1, condition #2.
可选的,终端设备基于第一数据集合的数据量确定不为第二数据集合分配资源包括/替换为:Optionally, the terminal device determines not to allocate resources for the second data set based on the data volume of the first data set, including/replaced by:
(1)满足第三条件,终端确定不为第二数据集合分配资源;和/或,(1) the third condition is met, and the terminal determines not to allocate resources for the second data set; and/or,
(2)终端设备基于第二参数或第一参数确定不为第二数据集合分配资源。(2) The terminal device determines not to allocate resources for the second data set based on the second parameter or the first parameter.
例如,第二参数包括以下任一项或多项:For example, the second parameter includes any one or more of the following:
(1)第一PBR;(1) First PBR;
(2)基于第一PBR确定的数据量;或,(2) based on the amount of data determined by the first PBR; or,
(3)第一LCH对应的第一变量的第一取值与第一数据集合的数据量之间的差值;或,第一LCH对应的第一变量的第二取值。(3) The difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set; or, the second value of the first variable corresponding to the first LCH.
例如,第三条件包括:第二参数或第一参数小于或等于0.For example, the third condition includes: the second parameter or the first parameter is less than or equal to 0.
例如,第三条件包括:基于第一PBR确定的数据量小于或等于0。For example, the third condition includes: the amount of data determined based on the first PBR is less than or equal to 0.
可选的,在终端设备基于第一数据集合的数据量确定不为第一LCH分配资源之前,第一LCH对应的第一变量的取值为第一取值或第二取值。Optionally, before the terminal device determines not to allocate resources for the first LCH based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is the first value or the second value.
可选的,第一取值小于或等于0。可选的,第二取值小于或等于0。Optionally, the first value is less than or equal to 0. Optionally, the second value is less than or equal to 0.
可选地,该方法还可以包括:终端设备接收第一指示信息,第一指示信息指示基于第一数据集合的数据量为LCH分配资源,或,第一指示信息指示不基于第一数据集合的数据量为LCH分配资源。Optionally, the method may also include: the terminal device receives first indication information, the first indication information indicates that resources are allocated to the LCH based on the data volume of the first data set, or the first indication information indicates that resources are not allocated to the LCH based on the data volume of the first data set.
例如,“基于第一数据集合的数据量为LCH分配资源”可以包括:在第二轮资源分配过程中考虑第一轮资源分配的结果。例如,“不基于第一数据集合的数据量为LCH分配资源”可以包括:在第二轮资源分配过程中不考虑第一轮资源分配的结果。For example, "allocating resources to LCH based on the data volume of the first data set" may include: considering the result of the first round of resource allocation in the second round of resource allocation. For example, "not allocating resources to LCH based on the data volume of the first data set" may include: not considering the result of the first round of resource allocation in the second round of resource allocation.
“基于第一数据集合的数据量”可以包括/替换为:基于第一参数,或,基于第二参数。“Based on the amount of data of the first data set” may include/be replaced by: based on the first parameter, or, based on the second parameter.
可选的,第一指示信息的配置粒度可以为终端设备配置的,也可以是为LCH(例如,第一LCH)配置的。Optionally, the configuration granularity of the first indication information may be configured for the terminal device, or may be configured for the LCH (eg, the first LCH).
在一种可能的实现方式中,终端设备为第一数据集合分配资源之后,第一LCH对应的第一变量的取值为第一取值或第二取值。In a possible implementation, after the terminal device allocates resources for the first data set, the value of the first variable corresponding to the first LCH is the first value or the second value.
例如,终端设备为第一数据集合分配资源之前,第一LCH对应的第一变量的取值为第一取值。在上述技术方案中,终端设备为第一数据集合分配资源之后,终端设备可以更新第一LCH对应的第一变量的取值,也可以不更新第一LCH对应的第一变量的取值。For example, before the terminal device allocates resources for the first data set, the value of the first variable corresponding to the first LCH is the first value. In the above technical solution, after the terminal device allocates resources for the first data set, the terminal device may update the value of the first variable corresponding to the first LCH, or may not update the value of the first variable corresponding to the first LCH.
例如,在终端设备为第一数据集合分配资源之后,终端设备可以更新第一LCH对应的第一变量的取值,即将第一取值更新为第二取值,使得上述实现过程中,终端设备在步骤S407-2中基于第一数据集合的数据量确定不为第一LCH分配资源(或终端设备在步骤S407-1中确定为第一LCH分配资源)之前,第一LCH对应的第一变量的取值为第二取值。For example, after the terminal device allocates resources to the first data set, the terminal device can update the value of the first variable corresponding to the first LCH, that is, update the first value to the second value, so that in the above implementation process, before the terminal device determines not to allocate resources to the first LCH based on the data amount of the first data set in step S407-2 (or the terminal device determines to allocate resources to the first LCH in step S407-1), the value of the first variable corresponding to the first LCH is the second value.
又例如,在终端设备为第一数据集合分配资源之后,终端设备可以不更新第一LCH对应的第一变量的取值,使得上述实现过程中,终端设备在步骤S407-2中基于第一数据集合的数据量确定不为第一LCH分配资源(或终端设备在步骤S407-1中确定为第一LCH分配资源)之前,第一LCH对应的第一变量的 取值为第一取值。For another example, after the terminal device allocates resources for the first data set, the terminal device may not update the value of the first variable corresponding to the first LCH, so that in the above implementation process, before the terminal device determines not to allocate resources for the first LCH based on the data volume of the first data set in step S407-2 (or the terminal device determines to allocate resources for the first LCH in step S407-1), the value of the first variable corresponding to the first LCH is The value is the first value.
在一种可能的实现方式中,终端设备在基于第一数据集合的数据量为第二数据集合分配资源之后,或,终端设备在基于第一数据集合的数据量确定不为第一LCH分配资源之后,或,第二轮资源分配之后,第一LCH对应的第一变量的取值为以下任一项:In a possible implementation, after the terminal device allocates resources to the second data set based on the data volume of the first data set, or after the terminal device determines not to allocate resources to the first LCH based on the data volume of the first data set, or after the second round of resource allocation, the value of the first variable corresponding to the first LCH is any one of the following:
第二取值与第二数据集合的数据量之间的差值;The difference between the second value and the data amount of the second data set;
第一取值与第一数据集合的数据量以及第二数据集合的数据量之间的差值;The first value and the difference between the data volume of the first data set and the data volume of the second data set;
第一取值与第一数据集合的数据量之间的差值;或,The difference between the first value and the data volume of the first data set; or,
第一取值与第二数据集合的数据量之间的差值。The difference between the first value and the data volume of the second data set.
可选的,终端设备在基于第一数据集合的数据量为第二数据集合分配资源之后,终端设备将第一LCH对应的第一变量的取值更新为以下任一项:Optionally, after the terminal device allocates resources to the second data set based on the data volume of the first data set, the terminal device updates the value of the first variable corresponding to the first LCH to any one of the following:
第二取值与第二数据集合的数据量之间的差值;The difference between the second value and the data amount of the second data set;
第一取值与第一数据集合的数据量以及第二数据集合的数据量之间的差值;或,The first value is the difference between the amount of data in the first data set and the amount of data in the second data set; or,
第一取值与第二数据集合的数据量之间的差值。The difference between the first value and the data volume of the second data set.
可选的,终端设备在基于第一数据集合的数据量确定不为第一LCH分配资源之后,第一LCH对应的第一变量的取值更新为:第一取值与第一数据集合的数据量之间的差值。Optionally, after the terminal device determines not to allocate resources for the first LCH based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is updated to: the difference between the first value and the data volume of the first data set.
可选的,终端设备为第一数据集合分配资源之后或第一轮资源分配之后,和/或,终端设备执行步骤S407-1或步骤S407-2或第二轮资源分配之后,终端设备可以至少更新一次第一LCH对应的第一变量。可以理解的是,通过该实现可以保证不同LCH之间的公平性,避免某些LCH(例如,低优先级的LCH)被饿死。Optionally, after the terminal device allocates resources for the first data set or after the first round of resource allocation, and/or after the terminal device executes step S407-1 or step S407-2 or the second round of resource allocation, the terminal device may update the first variable corresponding to the first LCH at least once. It is understandable that fairness between different LCHs can be guaranteed through this implementation, and certain LCHs (e.g., low-priority LCHs) can be prevented from being starved.
需要说明的是,在步骤S407之前或之后或之中,终端设备也可能为某些LCH(例如,第五LCH集合)的数据分配了资源,和/或,终端设备也可能确定了不为某些LCH(例如,第六LCH集合)分配资源。It should be noted that before, after or during step S407, the terminal device may also allocate resources for data of certain LCHs (e.g., the fifth LCH set), and/or the terminal device may also determine not to allocate resources for data of certain LCHs (e.g., the sixth LCH set).
例如,第五LCH集合和/或第六LCH集合中的LCH满足第二条件。例如,第二条件包括以下任一项或多项:条件#1a、条件#2a、条件#3a。For example, the LCHs in the fifth LCH set and/or the sixth LCH set meet the second condition. For example, the second condition includes any one or more of the following: condition #1a, condition #2a, condition #3a.
例如,条件#1a可以包括:LCH属于第二LCH集合或第一LCH的集合。For example, condition #1a may include: the LCH belongs to the second LCH set or the first LCH set.
例如,条件#2a可以包括:LCH的第一变量的取值大于0。For example, condition #2a may include: the value of the first variable of LCH is greater than 0.
例如,条件#3a可以包括:LCH的第一参数大于0。For example, condition #3a may include: the first parameter of LCH is greater than zero.
可选的,第五LCH集合是第二LCH集合的子集,或,第五LCH集合等于第二LCH集合。Optionally, the fifth LCH set is a subset of the second LCH set, or the fifth LCH set is equal to the second LCH set.
可选的,第五LCH集合是第一LCH集合的子集,或,第五LCH集合等于第一LCH集合。Optionally, the fifth LCH set is a subset of the first LCH set, or the fifth LCH set is equal to the first LCH set.
例如,终端设备按照LCH的优先级(例如,配置的LCH的优先级)递减的顺序为第五LCH集合中的LCH执行资源分配。For example, the terminal device performs resource allocation for the LCHs in the fifth LCH set in descending order of priority of the LCHs (eg, priority of the configured LCHs).
例如,终端设备按照LCH的优先级(例如,配置的LCH的优先级)递减的顺序为第六LCH集合中的LCH执行资源分配。For example, the terminal device performs resource allocation for the LCHs in the sixth LCH set in descending order of priority of the LCHs (eg, priority of the configured LCHs).
例如,终端设备按照LCH的优先级(例如,配置的LCH的优先级)递减的顺序为第五LCH集合和第六LCH集合中的LCH执行资源分配。For example, the terminal device performs resource allocation for the LCHs in the fifth LCH set and the sixth LCH set in descending order of priority of the LCHs (eg, priority of the configured LCHs).
例如,针对第一LCH集合或第二LCH集合中的LCH对应的第一变量大于0的LCH,按照LCH的优先级递减的顺序执行资源分配。For example, for an LCH in the first LCH set or the second LCH set whose first variable corresponds to an LCH greater than 0, resource allocation is performed in descending order of priority of the LCHs.
可选的,步骤S407对应的过程可以称为第二轮资源分配(或称为,第Y轮资源分配)。需要说明的是,第二轮资源分配可能涉及第一LCH,还可能涉及其他LCH,本申请不限制。例如,第二轮资源分配可以为LCH分配资源。Optionally, the process corresponding to step S407 may be referred to as a second round of resource allocation (or referred to as a Yth round of resource allocation). It should be noted that the second round of resource allocation may involve the first LCH or other LCHs, which is not limited in this application. For example, the second round of resource allocation may allocate resources for the LCH.
可选的,“在步骤S407之前或之后或之中”可以包括:在第二轮资源分配中。Optionally, “before, after, or during step S407 ” may include: during the second round of resource allocation.
可选的,S408.终端设备更新第一LCH或第五LCH集合或第四LCH集合或(第四LCH集合和第五LCH集合)对应的第一变量的取值。Optionally, S408. The terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or (the fourth LCH set and the fifth LCH set).
一种可能的实现,终端设备将第一LCH的第一变量的取值减去第二数据集合的数据量。In a possible implementation, the terminal device subtracts the amount of data of the second data set from the value of the first variable of the first LCH.
例如,终端设备将第一LCH的第一变量的取值更新为(第二取值-第二数据集合的数据量),即,第三取值。For example, the terminal device updates the value of the first variable of the first LCH to (the second value-the data amount of the second data set), that is, the third value.
例如,终端设备将第一LCH的第一变量的取值更新为(第一取值-第二数据集合的数据量),即,第 四取值。For example, the terminal device updates the value of the first variable of the first LCH to (the first value - the amount of data in the second data set), that is, Four values.
另一种可能的实现,终端设备将第一LCH的第一变量的取值减去第一数据集合的数据量和第二数据集合的数据量。In another possible implementation, the terminal device subtracts the data volume of the first data set and the data volume of the second data set from the value of the first variable of the first LCH.
例如,终端设备将第一LCH的第一变量的取值更新为(第一取值-(第一数据集合的数据量+第二数据集合的数据量)),即,第三取值。For example, the terminal device updates the value of the first variable of the first LCH to (first value-(data volume of the first data set+data volume of the second data set)), that is, the third value.
另一种可能的实现,终端设备将第一LCH的第一变量的取值减去第一数据集合的数据量。In another possible implementation, the terminal device subtracts the amount of data in the first data set from the value of the first variable of the first LCH.
例如,终端设备将第一LCH的第一变量的取值更新为(第一取值-第一数据集合的数据量),即,第二取值。For example, the terminal device updates the value of the first variable of the first LCH to (first value-data volume of the first data set), that is, the second value.
例如,终端设备将LCH的第一变量的取值减去第一轮资源分配过程为该LCH上分配了资源的数据的数据量。For example, the terminal device subtracts the amount of data for which resources are allocated on the LCH in the first round of resource allocation process from the value of the first variable of the LCH.
例如,终端设备将LCH的第一变量的取值减去第二轮资源分配过程为该LCH上分配了资源的数据的数据量。For example, the terminal device subtracts the amount of data for which resources are allocated on the LCH in the second round of resource allocation process from the value of the first variable of the LCH.
例如,终端设备将LCH的第一变量的取值减去第一轮资源分配过程为该LCH上分配了资源的数据的数据量和第二轮资源分配过程为该LCH上分配了资源的数据的数据量的和。可以理解的是,若在第一轮资源分配之后,将LCH对应的第一变量进行更新或执行步骤S405,可能某些LCH对应的第一变量就小于或等于0了,即使这个LCH上分的资源还没有达到其PBR的要求,但若步骤S407中仅考虑第一变量的取值大于0的LCH,就会导致这些第一变量的取值小于或等于0的LCH不能再在第二轮资源分配中分配资源。所以,若在第一轮资源分配之后,不将LCH对应的第一变量进行更新或不执行步骤S405,在第二轮资源分配之后更新LCH对应的第一变量,可以满足LCH的PBR要求,有利于提高通信质量和效率。另外,在第二轮资源分配之后将LCH对应的第一变量减去第一轮资源分配分配到资源的数据的数据量和第二轮资源分配分配到资源的数据的数据量之和,可以保证各个LCH之间的公平性,避免其他LCH(例如,低优先级的LCH)被饿死。For example, the terminal device subtracts the sum of the amount of data for which resources are allocated to the LCH in the first round of resource allocation process and the amount of data for which resources are allocated to the LCH in the second round of resource allocation process from the value of the first variable of the LCH. It can be understood that if the first variable corresponding to the LCH is updated or step S405 is executed after the first round of resource allocation, the first variable corresponding to some LCHs may be less than or equal to 0, even if the resources allocated to this LCH have not yet met its PBR requirement, but if only the LCHs with the value of the first variable greater than 0 are considered in step S407, these LCHs with the value of the first variable less than or equal to 0 can no longer be allocated resources in the second round of resource allocation. Therefore, if the first variable corresponding to the LCH is not updated or step S405 is not executed after the first round of resource allocation, and the first variable corresponding to the LCH is updated after the second round of resource allocation, the PBR requirement of the LCH can be met, which is conducive to improving communication quality and efficiency. In addition, after the second round of resource allocation, the first variable corresponding to the LCH is subtracted from the sum of the amount of data allocated to resources in the first round of resource allocation and the amount of data allocated to resources in the second round of resource allocation. This can ensure fairness among the LCHs and prevent other LCHs (for example, low-priority LCHs) from starving.
需要说明的是,步骤S408可以作为独立的实施例,不依赖于其他步骤;或者,步骤S408可以和其他一个或多个步骤(例如,步骤S404;或,例如,步骤407,或,例如,步骤S404和步骤S407)结合,作为一个独立的实施例。It should be noted that step S408 can be used as an independent embodiment and is not dependent on other steps; or, step S408 can be combined with one or more other steps (for example, step S404; or, for example, step 407, or, for example, step S404 and step S407) as an independent embodiment.
可选的,S409.终端设备为第一LCH或第二LCH集合(或第二LCH集合中的LCH)或第一LCH集合(或第一LCH集合中的LCH)或LCH或任一LCH分配资源。Optionally, S409. The terminal device allocates resources to the first LCH or the second LCH set (or the LCH in the second LCH set) or the first LCH set (or the LCH in the first LCH set) or the LCH or any LCH.
可选的,若第一资源中存在剩余资源,或,第二轮资源分配之后第一资源中存在剩余资源,或,若存在剩余资源,或,若第二轮资源分配之后存在剩余资源,终端设备执行步骤S409。Optionally, if there are remaining resources in the first resources, or if there are remaining resources in the first resources after the second round of resource allocation, or if there are remaining resources, or if there are remaining resources after the second round of resource allocation, the terminal device executes step S409.
可选的,步骤S409对应的过程可以称为第三轮资源分配(或称为,第Z轮资源分配)。需要说明的是,第三轮资源分配可能涉及第一LCH,或,还可能涉及其他LCH,本申请不限制。例如,第三轮资源分配可以为LCH分配资源。Optionally, the process corresponding to step S409 may be referred to as a third round of resource allocation (or referred to as a Zth round of resource allocation). It should be noted that the third round of resource allocation may involve the first LCH, or may also involve other LCHs, which is not limited in this application. For example, the third round of resource allocation may allocate resources for the LCH.
可选的,在步骤S409中或在第三轮资源分配中可以不考虑LCH的第一变量是否大于0.Optionally, in step S409 or in the third round of resource allocation, it may not be considered whether the first variable of LCH is greater than 0.
例如,对于第二LCH集合或第一LCH集合或LCH或任一LCH,以LCH的优先级递减的顺序(无论Bj的值如何)分配资源,直到逻辑信道的数据或第一资源之一耗尽为止。For example, for the second LCH set or the first LCH set or LCH or any LCH, resources are allocated in descending order of priority of LCH (regardless of the value of Bj) until the data of the logical channel or one of the first resources is exhausted.
例如,具有相同的LCH的优先级的逻辑信道可以被平等地处理。For example, logical channels with the same LCH priority may be processed equally.
例如,在第三轮资源分配中,终端设备可能为第七LCH集合分配了资源。例如,在第三轮资源分配中,终端设备可能为第一LCH的第四数据集合分配了资源。For example, in the third round of resource allocation, the terminal device may allocate resources for the seventh LCH set. For example, in the third round of resource allocation, the terminal device may allocate resources for the fourth data set of the first LCH.
可选的,第七LCH集合是第二LCH集合的子集,或,第七LCH集合等于第二LCH集合。Optionally, the seventh LCH set is a subset of the second LCH set, or the seventh LCH set is equal to the second LCH set.
可选的,第七LCH集合是第一LCH集合的子集,或,第七LCH集合等于第一LCH集合。可选的,S4010.终端设备更新第一LCH或第五LCH集合或第四LCH集合或第七资源集合或(第四LCH集合和第五LCH集合)或(第四LCH集合和第七LCH集合)或(第五LCH集合和第七LCH集合)或(第四LCH集合和第五LCH集合和第七资源集合)对应的第一变量的取值。Optionally, the seventh LCH set is a subset of the first LCH set, or the seventh LCH set is equal to the first LCH set. Optionally, S4010. The terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or the seventh resource set or (the fourth LCH set and the fifth LCH set) or (the fourth LCH set and the seventh LCH set) or (the fifth LCH set and the seventh LCH set) or (the fourth LCH set and the fifth LCH set and the seventh resource set).
可选的,在步骤4010之前或在步骤S409之前或在第三轮资源分配之前,第一LCH对应的第一变量 的取值为:第一取值,或,第二取值,或,第三取值,第四取值。Optionally, before step 4010 or before step S409 or before the third round of resource allocation, the first variable corresponding to the first LCH The value of is: the first value, or, the second value, or, the third value, the fourth value.
可选的,终端设备将第一LCH的第一变量的取值减去以下任一项或多项:第一数据集合的数据量、第二数据集合的数据量、第四数据集合的数据量。Optionally, the terminal device subtracts any one or more of the following from the value of the first variable of the first LCH: the amount of data of the first data set, the amount of data of the second data set, and the amount of data of the fourth data set.
例如,终端设备将LCH的第一变量的取值减去第一轮资源分配过程为该LCH上分配了资源的数据的数据量和第二轮资源分配过程为该LCH上分配了资源的数据的数据量的和。可以理解的是,若在第一轮资源分配之后,将LCH对应的第一变量进行更新或执行步骤S405,可能某些LCH对应的第一变量就小于或等于0了,即使这个LCH上分的资源还没有达到其PBR的要求,但若步骤S407中仅考虑第一变量的取值大于0的LCH,就会导致这些第一变量的取值小于或等于0的LCH不能再在第二轮资源分配中分配资源。所以,若在第一轮资源分配之后,不将LCH对应的第一变量进行更新或不执行步骤S405,在第三轮资源分配之后更新LCH对应的第一变量,可以满足LCH的PBR要求,有利于提高通信质量和效率。另外,在第二轮资源分配之后将LCH对应的第一变量减去第一轮资源分配分配到资源的数据的数据量、第二轮资源分配分配到资源的数据的数据量、第三轮资源分配分配到资源的数据的数据量中的任两项或多项之和,可以保证各个LCH之间的公平性,避免其他LCH(例如,低优先级的LCH)被饿死。For example, the terminal device subtracts the sum of the amount of data for which resources are allocated to the LCH in the first round of resource allocation and the amount of data for which resources are allocated to the LCH in the second round of resource allocation from the value of the first variable of the LCH. It can be understood that if the first variable corresponding to the LCH is updated or step S405 is executed after the first round of resource allocation, the first variable corresponding to some LCHs may be less than or equal to 0, even if the resources allocated to this LCH have not yet met its PBR requirement, but if only the LCHs with the value of the first variable greater than 0 are considered in step S407, these LCHs with the value of the first variable less than or equal to 0 can no longer be allocated resources in the second round of resource allocation. Therefore, if the first variable corresponding to the LCH is not updated or step S405 is not executed after the first round of resource allocation, and the first variable corresponding to the LCH is updated after the third round of resource allocation, the PBR requirement of the LCH can be met, which is conducive to improving communication quality and efficiency. In addition, after the second round of resource allocation, the first variable corresponding to the LCH is subtracted from the sum of any two or more of the data amount allocated to resources in the first round of resource allocation, the data amount allocated to resources in the second round of resource allocation, and the data amount allocated to resources in the third round of resource allocation. This can ensure fairness among the LCHs and prevent other LCHs (for example, low-priority LCHs) from starving to death.
可选的,S4011.终端设备执行步骤S4011-1或步骤S4011-2。Optionally, S4011. The terminal device executes step S4011-1 or step S4011-2.
S4011-1.终端设备发送第一数据集合和第二数据集合。相应的,网络设备接收第一数据集合和第二数据集合。S4011-1. The terminal device sends a first data set and a second data set. Correspondingly, the network device receives the first data set and the second data set.
S4011-2.终端设备发送第一数据集合。相应的,网络设备接收第一数据集合。S4011-2. The terminal device sends a first data set. Correspondingly, the network device receives the first data set.
基于图4所示技术方案,可以尽量将满足条件A的数据或剩余时间较小的数据放在第一资源上传输,或者,可以尽快/优先传输满足条件A的数据或剩余时间较小的数据,可以避免一些剩余时间较小的数据超时,从而可以提高传输可靠性,也可以提升系统容量。也可以保证不同LCH之间的公平性,避免某些LCH(例如,低优先级的LCH)被饿死。Based on the technical solution shown in FIG4 , data satisfying condition A or data with a small remaining time can be transmitted on the first resource as much as possible, or data satisfying condition A or data with a small remaining time can be transmitted as soon as possible/prioritized, which can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and system capacity. It can also ensure fairness between different LCHs and avoid starvation of some LCHs (e.g., low-priority LCHs).
对于前述图2b涉及的实现示例,另一种可能的改进方案中,终端设备可以在前文提及的第一轮资源分配的过程中,基于即将失效的数据调整LCH的PBR,基于该调整的PBR执行第一轮资源分配的过程,然后再执行第二轮资源分配的过程。也就是说,共两轮资源分配。示例性的,以即将失效的数据为剩余时间小于阈值的数据为例,在改进方案中,基于剩余时间小于阈值的数据调整PBR,然后基于调整的PBR按照LCP机制(例如前文提及的第一轮资源分配和第二轮资源分配)为其它数据分资源。For the implementation example involved in the aforementioned FIG. 2b, in another possible improvement scheme, the terminal device can adjust the PBR of the LCH based on the data that is about to expire during the first round of resource allocation mentioned above, perform the first round of resource allocation based on the adjusted PBR, and then perform the second round of resource allocation. In other words, there are two rounds of resource allocation. Exemplarily, taking the data that is about to expire as data with a remaining time less than a threshold as an example, in the improvement scheme, the PBR is adjusted based on the data with a remaining time less than the threshold, and then resources are allocated to other data according to the LCP mechanism (such as the first round of resource allocation and the second round of resource allocation mentioned above) based on the adjusted PBR.
然而,由于终端设备能够使用的第一资源是一定的,上述实现方式将会导致终端设备能够为其它数据分配的资源变小,进而影响其它数据的传输。例如,在上述实现过程中,有可能出现剩余时间小于阈值的数据所在的LCH对应的Bj大于0的情况,使得LCH在第一轮资源分配过程中放入的数据(包括剩余时间小于阈值的数据)超过LCH的PBR要求,这对其它LCH而言不公平,将有可能导致其它LCH中的数据无法传输或延迟传输。为了解决问题,本申请实施例提供了图5E所示通信方法,下面将详细介绍。However, since the first resource that the terminal device can use is certain, the above implementation will cause the terminal device to allocate fewer resources for other data, thereby affecting the transmission of other data. For example, in the above implementation process, it is possible that the Bj corresponding to the LCH where the data with a remaining time less than the threshold is located is greater than 0, so that the data placed in the LCH during the first round of resource allocation (including data with a remaining time less than the threshold) exceeds the PBR requirement of the LCH, which is unfair to other LCHs and may cause the data in other LCHs to be unable to be transmitted or delayed in transmission. In order to solve the problem, the embodiment of the present application provides a communication method shown in Figure 5E, which will be described in detail below.
请参阅图5E,为本申请提供的通信方法的一个示意图,方法包括如下步骤。Please refer to FIG. 5E , which is a schematic diagram of a communication method provided in the present application. The method includes the following steps.
需要说明的是,图5E中以终端设备和网络设备作为交互示意的执行主体为例来示意方法,终端设备可以为终端设备或网络设备,网络设备也可以为终端设备或网络设备,但本申请并不限制交互示意的执行主体。例如,终端设备可以为第一设备,网络设备可以为第二设备。例如,图5E中的终端设备也可以是支持终端设备实现方法的芯片、芯片系统、或处理器,还可以是能实现全部或部分终端设备的逻辑模块或软件。图5E中的网络设备也可以是支持网络设备实现方法的芯片、芯片系统、或处理器,还可以是能实现全部或部分网络设备功能的逻辑模块或软件。图5E示意的方法包括步骤S501以及S502,下面将分别介绍各个步骤。It should be noted that FIG. 5E uses a terminal device and a network device as an example to illustrate the method as the execution subject of the interactive schematic. The terminal device may be a terminal device or a network device, and the network device may be a terminal device or a network device, but the present application does not limit the execution subject of the interactive schematic. For example, the terminal device may be a first device, and the network device may be a second device. For example, the terminal device in FIG. 5E may also be a chip, a chip system, or a processor that supports the terminal device implementation method, or a logic module or software that can implement all or part of the terminal device. The network device in FIG. 5E may also be a chip, a chip system, or a processor that supports the network device implementation method, or a logic module or software that can implement all or part of the network device functions. The method illustrated in FIG. 5E includes steps S501 and S502, and each step will be introduced below.
可选的,S501.终端设备获取第一资源。Optionally, S501. The terminal device obtains a first resource.
可选的,S502.终端设备更新第三LCH集合或第一LCH或LCH对应的第一变量的取值。步骤S501的内容可以参考S401的内容,不再赘述。Optionally, S502. The terminal device updates the third LCH set or the first LCH or the value of the first variable corresponding to the LCH. The content of step S501 can refer to the content of S401 and will not be repeated here.
可选的,S503.终端设备确定第一LCH集合。 Optionally, S503. The terminal device determines a first LCH set.
S504.终端设备基于第二PBR为第一LCH分配资源。S504. The terminal device allocates resources to the first LCH based on the second PBR.
例如,步骤S504的实现过程可以参考前文“实现方式2”及相关描述,不再赘述。For example, the implementation process of step S504 can refer to the above “Implementation Method 2” and related descriptions, which will not be repeated here.
可选的,S505.终端设备更新第一LCH或第四LCH集合对应的第一变量的取值。Optionally, S505. The terminal device updates the value of the first variable corresponding to the first LCH or fourth LCH set.
可选的,S506.终端设备确定第二LCH集合。Optionally, S506. The terminal device determines a second LCH set.
可选的,S507.终端设备执行步骤S507-1或步骤S507-2。Optionally, S507. The terminal device executes step S507-1 or step S507-2.
S507-1.终端设备基于第一数据集合的数据量为第二数据集合分配资源。S507-1. The terminal device allocates resources to the second data set based on the data volume of the first data set.
S507-2.终端设备基于第一数据集合的数据量确定不为第二数据集合分配资源。S507-2. The terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
可选的,S508.终端设备更新第一LCH或第五LCH集合或第四LCH集合或(第四LCH集合和第五LCH集合)对应的第一变量的取值。Optionally, S508. The terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or (the fourth LCH set and the fifth LCH set).
可选的,S509.终端设备为第一LCH或第二LCH集合(或第二LCH集合中的LCH)或第一LCH集合(或第一LCH集合中的LCH)或LCH或任一LCH分配资源。Optionally, S509. The terminal device allocates resources to the first LCH or the second LCH set (or the LCH in the second LCH set) or the first LCH set (or the LCH in the first LCH set) or the LCH or any LCH.
可选的,S5010.终端设备更新第一LCH或第五LCH集合或第四LCH集合或第七资源集合或(第四LCH集合和第五LCH集合)或(第四LCH集合和第七LCH集合)或(第五LCH集合和第七LCH集合)或(第四LCH集合和第五LCH集合和第七资源集合)对应的第一变量的取值。Optionally, S5010. The terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or the seventh resource set or (the fourth LCH set and the fifth LCH set) or (the fourth LCH set and the seventh LCH set) or (the fifth LCH set and the seventh LCH set) or (the fourth LCH set and the fifth LCH set and the seventh resource set).
可选的,S5011.终端设备执行步骤S5011-1或步骤S5011-2。Optionally, S5011. The terminal device executes step S5011-1 or step S5011-2.
S5011-1.终端设备发送第一数据集合和第二数据集合。相应的,网络设备接收第一数据集合和第二数据集合。S5011-1. The terminal device sends a first data set and a second data set. Correspondingly, the network device receives the first data set and the second data set.
S5011-2.终端设备发送第一数据集合。相应的,网络设备接收第一数据集合。S5011-2. The terminal device sends a first data set. Correspondingly, the network device receives the first data set.
在一种可能的实现方式中,方法还包括:终端设备接收第二指示信息。In a possible implementation manner, the method further includes: the terminal device receives second indication information.
需要说明的是,图5E所述实施例的内容可以参考图4所述实施例中的内容,此处不再赘述。例如,步骤S50X的内容可以参考S40X的内容此处不再赘述。例如,将S40X替换为S50X进行理解。其中,X为1,2,3,4,5,6,7,7-1,7-2,8,9,10,11。例如,在图5E所示实现过程中(包括名词解释,第一LCH涉及的第一变量的多种可能的取值,以及终端设备确定为第一数据集合分配资源的过程,以及终端设备基于第一数据集合的数据量为第二数据集合分配资源的过程,以及终端设备基于第一数据集合的数据量确定不为第一LCH分配资源的过程等中的至少一项),可以参考本申请其它实施例(例如图4所示实施例及其可能的实现方式)的描述,并实现相应的技术效果,此处不做赘述。It should be noted that the content of the embodiment described in FIG. 5E can refer to the content of the embodiment described in FIG. 4, and will not be repeated here. For example, the content of step S50X can refer to the content of S40X and will not be repeated here. For example, replace S40X with S50X for understanding. Wherein, X is 1, 2, 3, 4, 5, 6, 7, 7-1, 7-2, 8, 9, 10, 11. For example, in the implementation process shown in FIG. 5E (including the explanation of terms, the multiple possible values of the first variable involved in the first LCH, and the process in which the terminal device determines to allocate resources for the first data set, and the process in which the terminal device allocates resources for the second data set based on the data volume of the first data set, and the process in which the terminal device determines not to allocate resources for the first LCH based on the data volume of the first data set, etc.), the description of other embodiments of the present application (such as the embodiment shown in FIG. 4 and its possible implementation method) can be referred to, and the corresponding technical effects can be achieved, and will not be repeated here.
基于图5E所示技术方案,可以尽量将满足条件A的数据或剩余时间较小的数据放在第一资源上传输,或者,可以尽快/优先传输满足条件A的数据或剩余时间较小的数据,可以避免一些剩余时间较小的数据超时,从而可以提高传输可靠性,也可以提升系统容量。也可以保证不同LCH之间的公平性,避免某些LCH(例如,低优先级的LCH)被饿死。Based on the technical solution shown in FIG. 5E , data satisfying condition A or data with a small remaining time can be transmitted on the first resource as much as possible, or data satisfying condition A or data with a small remaining time can be transmitted as soon as possible/prioritized, which can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and system capacity. It can also ensure fairness between different LCHs and avoid starvation of some LCHs (e.g., low-priority LCHs).
对于前述图2b涉及的实现示例,另一种可能的改进方案中,终端设备可以在前文提及的第一轮资源分配的过程中,基于即将失效的数据调整数据所在的LCH的优先级之后,再分别执行第一轮资源分配以及第二轮资源分配的过程。也就是说,共两轮资源分配。示例性的,以即将失效的数据为剩余时间小于阈值的数据为例,在改进方案中,基于剩余时间小于阈值的数据调整LCH优先级,然后按照LCP机制(例如前文提及的第一轮资源分配和第二轮资源分配)为其它数据分资源。For the implementation example involved in the aforementioned FIG. 2b, in another possible improvement scheme, the terminal device can adjust the priority of the LCH where the data is located based on the data that is about to expire during the first round of resource allocation mentioned above, and then respectively perform the first round of resource allocation and the second round of resource allocation process. In other words, there are two rounds of resource allocation. Exemplarily, taking the data that is about to expire as data with a remaining time less than a threshold as an example, in the improvement scheme, the LCH priority is adjusted based on the data with a remaining time less than the threshold, and then resources are allocated to other data according to the LCP mechanism (such as the first round of resource allocation and the second round of resource allocation mentioned above).
然而,由于终端设备能够使用的第一资源是一定的,上述实现方式将会导致终端设备能够为其它数据分配的资源变小,进而影响其它数据的传输。例如,在上述实现过程中,动态调整过优先级的LCH中可能不仅存在剩余时间小的数据,也存在剩余时间大的数据,如果终端设备在组包的时候将动态调整过优先级的LCH中剩余时间大的数据也组/包含进去这是不合理的。为了解决问题,本申请实施例提供了图6所示通信方法,下面将详细介绍。However, since the first resource that the terminal device can use is certain, the above implementation will cause the terminal device to allocate fewer resources for other data, thereby affecting the transmission of other data. For example, in the above implementation process, the LCH with dynamically adjusted priority may contain not only data with a small remaining time, but also data with a large remaining time. It is unreasonable for the terminal device to group/include the data with a large remaining time in the LCH with dynamically adjusted priority when grouping. In order to solve the problem, the embodiment of the present application provides a communication method shown in Figure 6, which will be described in detail below.
请参阅图6,为本申请提供的通信方法的一个示意图,方法包括如下步骤。Please refer to FIG. 6 , which is a schematic diagram of a communication method provided in the present application. The method includes the following steps.
需要说明的是,图6中以终端设备和网络设备作为交互示意的执行主体为例来示意方法,终端设备可以为终端设备或网络设备,网络设备也可以为终端设备或网络设备,但本申请并不限制交互示意的执行主体。例如,终端设备可以为第一设备,网络设备可以为第二设备。例如,图6中的终端设备也可以 是支持终端设备实现方法的芯片、芯片系统、或处理器,还可以是能实现全部或部分终端设备的逻辑模块或软件。图6中的网络设备也可以是支持网络设备实现方法的芯片、芯片系统、或处理器,还可以是能实现全部或部分网络设备功能的逻辑模块或软件。图6示意的方法包括步骤S601以及S602,下面将分别介绍各个步骤。It should be noted that FIG6 uses the terminal device and the network device as the execution subject of the interactive schematic as an example to illustrate the method. The terminal device can be a terminal device or a network device, and the network device can also be a terminal device or a network device, but the present application does not limit the execution subject of the interactive schematic. For example, the terminal device can be the first device, and the network device can be the second device. For example, the terminal device in FIG6 can also be It is a chip, chip system, or processor that supports the terminal device implementation method, and it can also be a logic module or software that can implement all or part of the terminal device. The network device in Figure 6 can also be a chip, chip system, or processor that supports the network device implementation method, and it can also be a logic module or software that can implement all or part of the network device functions. The method shown in Figure 6 includes steps S601 and S602, and each step will be introduced below.
可选的,S601.终端设备获取第一资源。Optionally, S601. The terminal device obtains a first resource.
可选的,S602.终端设备更新第三LCH集合或第一LCH或LCH对应的第一变量的取值。Optionally, S602. The terminal device updates the third LCH set or the first LCH or the value of the first variable corresponding to the LCH.
可选的,S603.终端设备确定第一LCH集合。Optionally, S603. The terminal device determines a first LCH set.
可选的,S604a.终端设备确定第一LCH或第四LCH集合的优先级。Optionally, S604a. The terminal device determines the priority of the first LCH or the fourth LCH set.
可选的,第一LCH或第四LCH集合上/中存在满足条件A的数据。Optionally, there is data satisfying condition A on/in the first LCH or fourth LCH set.
可选的,第一LCH或第四LCH集合属于第一LCH集合。Optionally, the first LCH or the fourth LCH set belongs to the first LCH set.
可选的,满足第五条件,终端设备确定第一LCH或第四LCH集合的优先级。例如,第五条件可以包括:第一LCH或第四LCH集合上/中存在满足条件A的数据,和,或,第一LCH或第四LCH集合属于第一LCH集合。Optionally, if the fifth condition is met, the terminal device determines the priority of the first LCH or the fourth LCH set. For example, the fifth condition may include: there is data satisfying condition A on/in the first LCH or the fourth LCH set, and, or, the first LCH or the fourth LCH set belongs to the first LCH set.
例如,确定的LCH的优先级可以称为调整的LCH的优先级。需要说明的是,LCH的优先级具体是如何调整/确定的,本申请不限制。For example, the determined priority of the LCH may be referred to as the adjusted priority of the LCH. It should be noted that the present application does not limit how the priority of the LCH is specifically adjusted/determined.
可选的,终端设备可以基于LCH中数据对应的剩余时间(例如,最小剩余时间,或平均剩余时间),或,基于LCH中数据对应的剩余时间的范围(例如,最小剩余时间对应的剩余时间的范围,或平均剩余时间对应的剩余时间的范围)确定LCH的优先级。Optionally, the terminal device can determine the priority of LCH based on the remaining time corresponding to the data in LCH (for example, the minimum remaining time, or the average remaining time), or based on the range of remaining time corresponding to the data in LCH (for example, the range of remaining time corresponding to the minimum remaining time, or the range of remaining time corresponding to the average remaining time).
例如,LCH中数据对应的剩余时间或LCH中数据对应的剩余时间的范围与LCH的优先级之间存在一定的映射关系。例如,调整的LCH的优先级为或等于:LCH中数据对应的剩余时间或LCH中数据对应的剩余时间的范围对应的LCH的优先级。For example, there is a certain mapping relationship between the remaining time corresponding to the data in the LCH or the range of the remaining time corresponding to the data in the LCH and the priority of the LCH. For example, the adjusted priority of the LCH is or is equal to: the priority of the LCH corresponding to the remaining time corresponding to the data in the LCH or the range of the remaining time corresponding to the data in the LCH.
例如,LCH中数据对应的剩余时间或LCH中数据对应的剩余时间的范围与LCH的优先级的偏移或LCH的优先级对应的优先级值的偏移之间存在一定的映射关系。For example, there is a certain mapping relationship between the remaining time corresponding to the data in the LCH or the range of the remaining time corresponding to the data in the LCH and the offset of the priority of the LCH or the offset of the priority value corresponding to the priority of the LCH.
例如,调整的LCH的优先级为或等于:配置的LCH的优先级与LCH中数据对应的剩余时间或LCH中数据对应的剩余时间的范围对应的LCH的优先级的偏移之和或之差。例如,调整的LCH的优先级对应的优先级值为或等于:配置的LCH的优先级对应的优先级值与LCH中数据对应的剩余时间或LCH中数据对应的剩余时间的范围对应的LCH的优先级的偏移或LCH的优先级对应的优先级值的偏移之和或之差。For example, the priority of the adjusted LCH is or is equal to: the sum or difference of the priority of the configured LCH and the offset of the priority of the LCH corresponding to the remaining time corresponding to the data in the LCH or the range of the remaining time corresponding to the data in the LCH. For example, the priority value corresponding to the priority of the adjusted LCH is or is equal to: the sum or difference of the priority value corresponding to the priority of the configured LCH and the offset of the priority of the LCH corresponding to the remaining time corresponding to the data in the LCH or the range of the remaining time corresponding to the data in the LCH or the offset of the priority value corresponding to the priority of the LCH.
例如,映射关系可以是网络设备配置给终端设备的,也可以是预配置的,也可以是协议预定义的,也可以是终端设备自身存储的,也可以是通过其他的方式/算法获取的,本申请不限制。For example, the mapping relationship can be configured by the network device to the terminal device, or it can be pre-configured, pre-defined by the protocol, stored by the terminal device itself, or obtained through other methods/algorithms, which is not limited in this application.
S604.终端设备第一LCH分配资源。S604. The terminal device allocates resources to the first LCH.
可选的,第一LCH或第四LCH集合的优先级是调整过的。可选的,第一LCH或第四LCH集合的优先级是基于剩余时间或剩余时间的范围调整过的。例如,LCH的优先级可以称为调整的LCH的优先级。或,第一LCH的优先级与网络设备配置的第一LCH的优先级可以不同。例如,调整的LCH的优先级是基于LCH中数据对应的剩余时间(例如,最小剩余时间,或平均剩余时间),或,基于LCH中数据对应的剩余时间的范围(例如,最小剩余时间对应的剩余时间的范围,或平均剩余时间对应的剩余时间的范围)确定的。关于LCH的优先级可以参考S604a中的内容,此处不再赘述。Optionally, the priority of the first LCH or the fourth LCH set is adjusted. Optionally, the priority of the first LCH or the fourth LCH set is adjusted based on the remaining time or the range of the remaining time. For example, the priority of the LCH can be referred to as the adjusted priority of the LCH. Or, the priority of the first LCH may be different from the priority of the first LCH configured by the network device. For example, the priority of the adjusted LCH is determined based on the remaining time corresponding to the data in the LCH (for example, the minimum remaining time, or the average remaining time), or based on the range of the remaining time corresponding to the data in the LCH (for example, the range of the remaining time corresponding to the minimum remaining time, or the range of the remaining time corresponding to the average remaining time). For the priority of the LCH, please refer to the content in S604a, which will not be repeated here.
例如,“终端设备第一LCH分配资源”可以包括以下任一项或多项:终端设备基于第三数据集合的数据量或第二PBR为第一LCH分配资源;终端设备为第一数据集合分配资源;或,终端设备基于第三数据集合的数据量或第二PBR为第一数据集合分配资源。For example, "the terminal device allocates resources to the first LCH" may include any one or more of the following: the terminal device allocates resources to the first LCH based on the data volume of the third data set or the second PBR; the terminal device allocates resources to the first data set; or the terminal device allocates resources to the first data set based on the data volume of the third data set or the second PBR.
可选的,第一数据集合的数据量小于或等于以下任一项或多项,或,第一数据集合的数据量是基于以下任一项或多项确定的,或,为第一LCH分配资源的数据最大不超过以下任一项或多项,或,在S604中为第一LCH分配资源的数据最大不超过以下任一项或多项:Optionally, the amount of data of the first data set is less than or equal to any one or more of the following, or the amount of data of the first data set is determined based on any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH does not exceed any one or more of the following, or the maximum amount of data for which resources are allocated to the first LCH in S604 does not exceed any one or more of the following:
(1)第二PBR或第二PBR的取值;(1) The second PBR or the value of the second PBR;
(2)基于第二PBR确定的数据量;(2) the amount of data determined based on the second PBR;
(3)为第一数据集合分配资源之前的剩余资源;(3) remaining resources before allocating resources for the first data set;
(4)第一LCH对应的第一变量的第一取值; (4) a first value of a first variable corresponding to the first LCH;
(5)第三数据集合的数据量。(5) The data volume of the third data set.
需要说明的是,在步骤S604之前或之后或之中,终端设备也可能为其他LCH(例如,第四LCH集合)或其他LCH的数据分配了资源。It should be noted that, before, after or during step S604, the terminal device may also allocate resources for other LCHs (eg, the fourth LCH set) or data of other LCHs.
例如,第四LCH集合中的LCH满足第一条件。例如,第一条件包括以下任一项或多项:条件1a、条件2a、条件3a。For example, the LCH in the fourth LCH set satisfies the first condition. For example, the first condition includes any one or more of the following: condition 1a, condition 2a, and condition 3a.
可选的,第四LCH集合是第一LCH集合的子集,或,第四LCH集合等于第一LCH集合。Optionally, the fourth LCH set is a subset of the first LCH set, or the fourth LCH set is equal to the first LCH set.
例如,终端设备按照LCH的优先级(例如,调整的LCH的优先级)递减的顺序为第四LCH集合中的LCH执行资源分配。For example, the terminal device performs resource allocation for the LCHs in the fourth LCH set in descending order of priority of the LCHs (eg, priority of the adjusted LCHs).
在一种可能的实现方式中,终端设备在步骤S601中发送的第一数据集合的数据量为以下至少一项信息中的最小值,至少一项信息包括:第三数据集合的数据量,为其它数据或其它信令分配资源之后的剩余资源,或,第二PBR。In one possible implementation, the data volume of the first data set sent by the terminal device in step S601 is the minimum value of at least one of the following information, and the at least one information includes: the data volume of the third data set, the remaining resources after allocating resources for other data or other signaling, or the second PBR.
从而,通过限定第一数据集合的数据量小于或等于上述任一项的方式,能够避免对第一LCH之外的其它LCH中将要传输的数据产生影响。Therefore, by limiting the data amount of the first data set to be less than or equal to any of the above items, it is possible to avoid affecting the data to be transmitted in other LCHs other than the first LCH.
在一种可能的实现方式中,第一数据集合的数据量为第三数据集合的数据量,以期使得剩余时间小于或等于阈值的全部数据集合能够成功传输。In a possible implementation, the data volume of the first data set is the data volume of the third data set, so that all data sets with remaining time less than or equal to a threshold can be successfully transmitted.
在一种可能的实现方式中,在步骤S601之前,方法还可以包括:终端设备接收第三指示信息,第三指示信息指示基于第三数据集合的数据量为第一LCH分配资源,或,第三指示信息指示不基于第三数据集合的数据量为第一LCH分配资源。从而,使得终端设备基于网络设备的指示确定是否基于第三数据集合的数据量为第一LCH分配资源。In a possible implementation, before step S601, the method may further include: the terminal device receives third indication information, the third indication information indicates that resources are allocated to the first LCH based on the data volume of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data volume of the third data set. Thus, the terminal device determines whether to allocate resources to the first LCH based on the data volume of the third data set based on the indication of the network device.
可选的,S605、终端设备更新第一LCH或第四LCH集合对应的第一变量的取值。Optionally, S605, the terminal device updates the value of the first variable corresponding to the first LCH or fourth LCH set.
可选的,S606.终端设备确定第二LCH集合。Optionally, S606. The terminal device determines a second LCH set.
可选的,S607.终端设备执行步骤S607-1或步骤S607-2。Optionally, S607. The terminal device executes step S607-1 or step S607-2.
S607-1.终端设备基于第一数据集合的数据量为第二数据集合分配资源。S607-1. The terminal device allocates resources to the second data set based on the data volume of the first data set.
S607-2.终端设备基于第一数据集合的数据量确定不为第二数据集合分配资源。S607-2. The terminal device determines not to allocate resources for the second data set based on the data volume of the first data set.
可选的,S608.终端设备更新第一LCH或第五LCH集合或第四LCH集合或(第四LCH集合和第五LCH集合)对应的第一变量的取值。Optionally, S608. The terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or (the fourth LCH set and the fifth LCH set).
可选的,S609.终端设备为第一LCH或第二LCH集合(或第二LCH集合中的LCH)或第一LCH集合(或第一LCH集合中的LCH)或LCH或任一LCH分配资源。Optionally, S609. The terminal device allocates resources to the first LCH or the second LCH set (or the LCH in the second LCH set) or the first LCH set (or the LCH in the first LCH set) or the LCH or any LCH.
可选的,S6010.终端设备更新第一LCH或第五LCH集合或第四LCH集合或第七资源集合或(第四LCH集合和第五LCH集合)或(第四LCH集合和第七LCH集合)或(第五LCH集合和第七LCH集合)或(第四LCH集合和第五LCH集合和第七资源集合)对应的第一变量的取值。Optionally, S6010. The terminal device updates the value of the first variable corresponding to the first LCH or the fifth LCH set or the fourth LCH set or the seventh resource set or (the fourth LCH set and the fifth LCH set) or (the fourth LCH set and the seventh LCH set) or (the fifth LCH set and the seventh LCH set) or (the fourth LCH set and the fifth LCH set and the seventh resource set).
可选的,S6011.终端设备执行步骤S6011-1或步骤S6011-2。Optionally, S6011. The terminal device executes step S6011-1 or step S6011-2.
S6011-1.终端设备发送第一数据集合和第二数据集合。S6011-1. The terminal device sends a first data set and a second data set.
相应的,在步骤S6011-1中,网络设备接收第一数据集合和第二数据集合。Correspondingly, in step S6011-1, the network device receives the first data set and the second data set.
S6011-2.终端设备发送第一数据集合。S6011-2. The terminal device sends a first data set.
相应的,在步骤S6011-2中,网络设备接收第一数据集合。Correspondingly, in step S6011-2, the network device receives the first data set.
在一种可能的实现方式中,方法还包括:终端设备接收第二指示信息。In a possible implementation manner, the method further includes: the terminal device receives second indication information.
需要说明你的是,图6所述实施例的内容可以参考图4所述实施例中的内容,此处不再赘述。例如,步骤S60X的内容可以参考S40X的内容此处不再赘述。例如,将S40X替换为S60X进行理解。其中,X为1,2,3,4,5,6,7,7-1,7-2,8,9,10,11。例如,在图6所示实现过程中(包括名词解释,第一LCH涉及的第一变量的多种可能的取值,以及终端设备确定为第一数据集合分配资源的过程,以及终端设备基于第一数据集合的数据量为第二数据集合分配资源的过程,以及终端设备基于第一数据集合的数据量确定不为第一LCH分配资源的过程等中的至少一项),可以参考本申请其它实施例(例如图4所示实施例及其可能的实现方式)的描述,并实现相应的技术效果,此处不做赘述。 It should be noted that the content of the embodiment described in FIG. 6 can refer to the content of the embodiment described in FIG. 4, and will not be repeated here. For example, the content of step S60X can refer to the content of S40X and will not be repeated here. For example, replace S40X with S60X for understanding. Wherein, X is 1, 2, 3, 4, 5, 6, 7, 7-1, 7-2, 8, 9, 10, 11. For example, in the implementation process shown in FIG. 6 (including the explanation of terms, the multiple possible values of the first variable involved in the first LCH, and the process in which the terminal device determines to allocate resources for the first data set, and the process in which the terminal device allocates resources for the second data set based on the data volume of the first data set, and the process in which the terminal device determines not to allocate resources for the first LCH based on the data volume of the first data set, etc.), the description of other embodiments of the present application (such as the embodiment shown in FIG. 4 and its possible implementation method) can be referred to, and the corresponding technical effects can be achieved, and will not be repeated here.
基于图6所示技术方案,可以尽量将满足条件A的数据或剩余时间较小的数据放在第一资源上传输,或者,可以尽快/优先传输满足条件A的数据或剩余时间较小的数据,可以避免一些剩余时间较小的数据超时,从而可以提高传输可靠性,也可以提升系统容量。也可以保证不同LCH之间的公平性,避免某些LCH(例如,低优先级的LCH)被饿死。Based on the technical solution shown in FIG6 , data satisfying condition A or data with a small remaining time can be transmitted on the first resource as much as possible, or data satisfying condition A or data with a small remaining time can be transmitted as soon as possible/prioritized, which can avoid timeout of some data with a small remaining time, thereby improving transmission reliability and system capacity. It can also ensure fairness between different LCHs and avoid starvation of some LCHs (e.g., low-priority LCHs).
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念,便于理解。In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
本申请上文中提到的各个实施例之间在方案不矛盾的情况下,均可以进行结合,不作限制。The various embodiments mentioned above in this application can be combined without limitation if there is no contradiction between the solutions.
应理解的是,现有技术有可能会随着技术方案的演进而发生变化,本申请提供的技术方案并不限于所提供的现有技术。It should be understood that the prior art may change with the evolution of technical solutions, and the technical solutions provided in this application are not limited to the provided prior art.
需要说明的是,本申请中不同实施例或者不同实施例中的部分步骤(例如,任一个或多个步骤)之间可以相互结合,形成新的实施例。需要说明的是,不限定不同实施例中的部分步骤或任一个或多个步骤可以包括某个实施例中的可选步骤,也可以包括某个实施例中的必选步骤,也可以包括某个实施例中的可选步骤和必选步骤,本申请不限定。It should be noted that different embodiments or some steps (for example, any one or more steps) in different embodiments in the present application can be combined with each other to form new embodiments. It should be noted that some steps or any one or more steps in different embodiments may include optional steps in a certain embodiment, mandatory steps in a certain embodiment, or optional steps and mandatory steps in a certain embodiment, and the present application does not limit this.
需要说明的是,如果没有特殊说明以及逻辑冲突,不同实施例之间的术语和/或描述具有一致性,且可以相互引用。It should be noted that, unless otherwise specified or there is no logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referenced to each other.
需要说明的是,本申请实施例中各步骤的先后顺序,本申请不限制。It should be noted that the present application does not limit the sequence of the steps in the embodiments of the present application.
需要说明的是,本申请实施例中不同条件的判断的先后顺序,本申请不限制。It should be noted that the order of judging different conditions in the embodiments of the present application is not limited by the present application.
需要说明的是,本申请中的“后”、“时”、“前”不严格限制时间点。It should be noted that the words “after”, “when” and “before” in this application do not strictly limit the time point.
上面从方法的角度对本申请进行介绍,下面将对本申请提供的通信装置进行描述。The present application is introduced above from the perspective of the method, and the communication device provided by the present application will be described below.
请参阅图7,本申请实施例提供了一种通信装置700,该通信装置700可以实现上述方法实施例中第一设备或第二设备的功能,因此也能实现上述方法实施例所具备的有益效果。在本申请实施例中,该通信装置700可以是第一设备或第二设备,也可以是第一设备或第二设备内部的集成电路或者元件等,例如芯片。下文实施例以该通信装置700为第一设备或第二设备为例进行说明。Please refer to Figure 7. The embodiment of the present application provides a communication device 700, which can implement the functions of the first device or the second device in the above method embodiment, and thus can also achieve the beneficial effects of the above method embodiment. In the embodiment of the present application, the communication device 700 can be the first device or the second device, or it can be an integrated circuit or component inside the first device or the second device, such as a chip. The following embodiments are described by taking the communication device 700 as the first device or the second device as an example.
一种可能的实现方式中,当该装置700为用于执行前述实施例中第一设备所执行的方法时,该装置包括处理单元701和收发单元702;该处理单元701用于为第一数据集合分配资源,该第一数据集合与第一逻辑信道LCH相关联;该处理单元701还用于基于该第一数据集合的数据量为第二数据集合分配资源,该收发单元702用于在第一资源中发送该第一数据集合和该第二数据集合,该第二数据集合与该第一LCH相关联;或,该处理单元701还用于基于该第一数据集合的数据量确定不为该第一LCH分配资源,该收发单元702还用于在第一资源中发送该第一数据集合。In one possible implementation, when the device 700 is used to execute the method executed by the first device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to allocate resources for a first data set, and the first data set is associated with a first logical channel LCH; the processing unit 701 is also used to allocate resources for a second data set based on the data volume of the first data set, and the transceiver unit 702 is used to send the first data set and the second data set in the first resource, and the second data set is associated with the first LCH; or, the processing unit 701 is also used to determine not to allocate resources for the first LCH based on the data volume of the first data set, and the transceiver unit 702 is also used to send the first data set in the first resource.
在一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In one possible implementation, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值小于或等于0,该第二取值小于或等于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In one possible implementation, before determining not to allocate resources to the first LCH based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量确定为该第二数据集合分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值大于0,该第二取值大于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In one possible implementation, before allocating resources to the second data set is determined based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量为该第二数据集合分配资源之后,该处理单元701还用于基于为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源。 In one possible implementation, after allocating resources to the second data set based on the data volume of the first data set, the processing unit 701 is further used to allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set.
在一种可能的实现方式中,在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值大于0。In a possible implementation manner, before resources are allocated to the first data set, a value of the first variable corresponding to the first LCH is greater than 0.
在一种可能的实现方式中,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值为第一取值或第二取值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In one possible implementation, after resources are allocated to the first data, the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量为第二数据集合分配资源之后,或,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之后,该第一LCH对应的第一变量的取值为以下任一项:第二取值与该第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量以及第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量之间的差值;或,第一取值与该第二数据集合的数据量之间的差值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In one possible implementation, after allocating resources to the second data set based on the data volume of the first data set, or after determining not to allocate resources to the first LCH based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在一种可能的实现方式中,该处理单元701具体用于基于第一参数为第二数据集合分配资源,或,基于第一参数确定不为该第一LCH分配资源;其中,该第一参数与该第一LCH的资源分配相关联。In one possible implementation, the processing unit 701 is specifically used to allocate resources to the second data set based on a first parameter, or determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
在一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In one possible implementation, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,该收发单元702还用于接收第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In one possible implementation, the transceiver unit 702 is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation, the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
在一种可能的实现方式中,该第一数据集合包括K个部分;该处理单元701具体用于基于以下任一项为第一数据集合分配资源,包括:该K个部分对应的剩余时长从小到大的排序,该K个部分对应的剩余时长的范围从小到大的排序,该K个部分的数据优先级从高到低的排序,该K个部分对应的K个逻辑信道的信道优先级从高到低的排序。In one possible implementation, the first data set includes K parts; the processing unit 701 is specifically used to allocate resources to the first data set based on any of the following items, including: sorting the remaining time lengths corresponding to the K parts from small to large, sorting the ranges of the remaining time lengths corresponding to the K parts from small to large, sorting the data priorities of the K parts from high to low, and sorting the channel priorities of the K logical channels corresponding to the K parts from high to low.
在一种可能的实现方式中,该处理单元701具体用于:基于第二PBR为该第一LCH分配资源,该第二PBR是基于第三数据集合的数据量确定的;其中,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值,该第一数据集合为该第三数据集合中的部分或全部。In one possible implementation, the processing unit 701 is specifically used to: allocate resources to the first LCH based on a second PBR, where the second PBR is determined based on the data amount of a third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
在一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
在一种可能的实现方式中,该收发单元702还用于接收第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation, the transceiver unit 702 is further used to receive second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
在一种可能的实现方式中,该处理单元701为第一数据集合分配资源包括以下任一项:In a possible implementation, the processing unit 701 allocates resources to the first data set including any of the following:
基于数据对应的剩余时间的升序为满足条件A的数据分配资源;Allocate resources to data that meets condition A based on the ascending order of the remaining time corresponding to the data;
基于数据对应的剩余时间的范围的升序为满足条件A的数据分配资源;Allocate resources to data satisfying condition A based on the ascending order of the range of remaining time corresponding to the data;
基于数据对应的优先级为满足条件A的数据分配资源;或,Allocate resources to data that meets condition A based on the priority level of the data; or,
基于LCH的优先级的降序为满足条件A的数据分配资源;Allocate resources for data that meets condition A based on the descending order of priority of the LCH;
其中,条件A包括数据对应的剩余时间小于或等于阈值。Among them, condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
另一种可能的实现方式中,当该装置700为用于执行前述实施例中第二设备所执行的方法时,该装置包括处理单元701和收发单元702;该处理单元701用于确定第一资源;该收发单元702用于在该第一资源中接收第一数据集合,或,该收发单元702用于在该第一资源中接收该第一数据集合和第二数据集合;其中,该第一数据集合和该第二数据集合均与第一逻辑信道LCH相关联,为该第二数据集合分配的资源是基于该第一数据集合的数据量确定的。In another possible implementation, when the device 700 is used to execute the method executed by the second device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to determine a first resource; the transceiver unit 702 is used to receive a first data set in the first resource, or, the transceiver unit 702 is used to receive the first data set and a second data set in the first resource; wherein the first data set and the second data set are both associated with a first logical channel LCH, and the resources allocated to the second data set are determined based on the data amount of the first data set.
在一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的 数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定;为该第一数据集合分配资源之后的剩余资源的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In a possible implementation, the amount of data in the second data set is less than or equal to any one of the following: The data volume, the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after allocating resources to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,该收发单元702还用于在该第一资源中接收其它数据集合,其中,为该其它数据集合分配的资源是为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源。In a possible implementation, the transceiver unit 702 is further used to receive other data sets in the first resource, wherein the resources allocated for the other data sets are remaining resources other than the resources allocated for the first data set and the resources allocated for the second data set.
在一种可能的实现方式中,为该第二数据集合分配的资源是基于第一参数确定的,该第一参数与该第一LCH的资源分配相关联。In a possible implementation manner, the resources allocated for the second data set are determined based on a first parameter, where the first parameter is associated with resource allocation of the first LCH.
在一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In one possible implementation, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,该收发单元702还用于发送第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In a possible implementation, the transceiver unit 702 is also used to send a first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation, the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
在一种可能的实现方式中,为该第二数据集合分配的资源是基于第二PBR为该第一LCH分配的资源确定的,该第二PBR是基于第三数据集合的数据量确定的;其中,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值,该第一数据集合为该第三数据集合中的部分或全部。In one possible implementation, the resources allocated to the second data set are determined based on the resources allocated by the second PBR to the first LCH, and the second PBR is determined based on the data amount of the third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
在一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
在一种可能的实现方式中,该收发单元702还用于发送第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation, the transceiver unit 702 is further used to send second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
在一种可能的实现方式中,该处理单元701为第一数据集合分配资源包括以下任一项:In a possible implementation, the processing unit 701 allocates resources to the first data set including any of the following:
基于数据对应的剩余时间的升序为满足条件A的数据分配资源;Allocate resources to data that meets condition A based on the ascending order of the remaining time corresponding to the data;
基于数据对应的剩余时间的范围的升序为满足条件A的数据分配资源;Allocate resources to data satisfying condition A based on the ascending order of the range of remaining time corresponding to the data;
基于数据对应的优先级为满足条件A的数据分配资源;或,Allocate resources to data that meets condition A based on the priority level of the data; or,
基于LCH的优先级的降序为满足条件A的数据分配资源;Allocate resources for data that meets condition A based on the descending order of priority of the LCH;
其中,条件A包括数据对应的剩余时间小于或等于阈值。Among them, condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
另一种可能的实现方式中,当该装置700为用于执行前述实施例中第一设备所执行的方法时,该装置包括处理单元701和收发单元702;该处理单元701用于基于第二PBR为第一逻辑信道LCH分配资源;其中,该第二PBR是基于第三数据集合的数据量确定的;该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;该收发单元702用于在第一资源中发送第一数据集合,其中,该第一数据集合为该第三数据集合中的部分或全部。In another possible implementation, when the device 700 is used to execute the method executed by the first device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to allocate resources to the first logical channel LCH based on the second PBR; wherein the second PBR is determined based on the amount of data of the third data set; the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the transceiver unit 702 is used to send a first data set in a first resource, wherein the first data set is part or all of the third data set.
在一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
在一种可能的实现方式中,该收发单元702还用于接收第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。In a possible implementation, the transceiver unit 702 is further used to receive second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
在一种可能的实现方式中,该确定单元还用于基于该第一数据集合的数据量为第二数据集合分配资源,在第一资源中发送该第二数据集合,该第二数据集合与该第一LCH相关联;或,基于该第一数据集合的数据量确定不为该第一LCH分配资源。In one possible implementation, the determination unit is also used to allocate resources to a second data set based on the data volume of the first data set, send the second data set in the first resources, and the second data set is associated with the first LCH; or, based on the data volume of the first data set, determine not to allocate resources to the first LCH.
在一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In one possible implementation, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之前,该 第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值小于或等于0,该第二取值小于或等于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation, before determining not to allocate resources for the first LCH based on the data amount of the first data set, the The value of the first variable corresponding to the first LCH is a first value or a second value, the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein, the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量确定为该第二数据集合分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值大于0,该第二取值大于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In one possible implementation, before allocating resources to the second data set is determined based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is greater than 0, and the second value is greater than 0; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量为该第二数据集合分配资源之后,该处理单元701还用于基于为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源。In one possible implementation, after allocating resources to the second data set based on the data volume of the first data set, the processing unit 701 is further used to allocate resources to other data sets based on the resources allocated to the first data set and the remaining resources other than the resources allocated to the second data set.
在一种可能的实现方式中,在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值大于0。In a possible implementation manner, before resources are allocated to the first data set, a value of a first variable corresponding to the first LCH is greater than 0.
在一种可能的实现方式中,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值为第一取值或第二取值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In one possible implementation, after resources are allocated to the first data, the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量为第二数据集合分配资源之后,或,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之后,该第一LCH对应的第一变量的取值为以下任一项:第二取值与该第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量以及第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量之间的差值;或,第一取值与该第二数据集合的数据量之间的差值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In one possible implementation, after allocating resources to the second data set based on the data volume of the first data set, or after determining not to allocate resources to the first LCH based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在一种可能的实现方式中,该处理单元701具体用于基于第一参数为第二数据集合分配资源,或,基于第一参数确定不为该第一LCH分配资源;其中,该第一参数与该第一LCH的资源分配相关联。In one possible implementation, the processing unit 701 is specifically used to allocate resources to the second data set based on a first parameter, or determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
在一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In one possible implementation, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,该收发单元702还用于接收第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In one possible implementation, the transceiver unit 702 is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation, the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
在一种可能的实现方式中,该第一数据集合包括K个部分;该处理单元701具体用于基于以下任一项为第一数据集合分配资源,包括:该K个部分对应的剩余时长从小到大的排序,该K个部分对应的剩余时长的范围从小到大的排序,该K个部分的数据优先级从高到低的排序,该K个部分对应的K个逻辑信道的信道优先级从高到低的排序。In one possible implementation, the first data set includes K parts; the processing unit 701 is specifically used to allocate resources to the first data set based on any of the following items, including: sorting the remaining time lengths corresponding to the K parts from small to large, sorting the ranges of the remaining time lengths corresponding to the K parts from small to large, sorting the data priorities of the K parts from high to low, and sorting the channel priorities of the K logical channels corresponding to the K parts from high to low.
另一种可能的实现方式中,当该装置700为用于执行前述实施例中第二设备所执行的方法时,该装置包括处理单元701和收发单元702;该处理单元701用于确定上行数据;该收发单元702用于在该第一资源接收第一数据集合,该第一数据集合为该第三数据集合中的部分或全部,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;其中,承载该第一数据集合的资源是基于第二PBR为第一逻辑信道LCH分配的资源,该第二PBR是基于第三数据集合的数据量确定的。In another possible implementation, when the device 700 is used to execute the method executed by the second device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to determine uplink data; the transceiver unit 702 is used to receive a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the second PBR, and the second PBR is determined based on the data amount of the third data set.
在一种可能的实现方式中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值;或,该第二PBR的取值为该第三数据集合的数据量。In a possible implementation, the second PBR is a minimum value between the data volume of the third data set and a configured PBR; or, the value of the second PBR is the data volume of the third data set.
在一种可能的实现方式中,该收发单元702还用于发送第二指示信息,该第二指示信息指示基于该第二PBR为该第一LCH分配资源,或,该第二指示信息指示不基于该第二PBR为该第一LCH分配资源。 In a possible implementation, the transceiver unit 702 is further used to send second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
在一种可能的实现方式中,该收发单元702还用于接收第二数据集合,该第二数据集合与该第一LCH相关联;其中,为该第二数据集合分配的资源是基于该第一数据集合的数据量确定的。In a possible implementation, the transceiver unit 702 is further configured to receive a second data set, where the second data set is associated with the first LCH; wherein resources allocated to the second data set are determined based on the data volume of the first data set.
在一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In one possible implementation, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,该收发单元702还用于在该第一资源中接收其它数据集合,其中,为该其它数据集合分配的资源是为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源。In a possible implementation, the transceiver unit 702 is further used to receive other data sets in the first resource, wherein the resources allocated for the other data sets are remaining resources other than the resources allocated for the first data set and the resources allocated for the second data set.
在一种可能的实现方式中,为该第二数据集合分配的资源是基于第一参数确定的,该第一参数与该第一LCH的资源分配相关联。In a possible implementation manner, the resources allocated for the second data set are determined based on a first parameter, where the first parameter is associated with resource allocation of the first LCH.
在一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In one possible implementation, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,该收发单元702还用于发送第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In a possible implementation, the transceiver unit 702 is also used to send a first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation, the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
另一种可能的实现方式中,当该装置700为用于执行前述实施例中第一设备所执行的方法时,该装置包括处理单元701和收发单元702;该处理单元701用于基于第三数据集合的数据量为第一逻辑信道LCH分配资源;其中,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;该第一LCH的优先级是基于该第一LCH中的数据确定的;该收发单元702用于在第一资源中发送第一数据集合,该第一数据集合为该第三数据集合的部分或全部。In another possible implementation, when the device 700 is used to execute the method executed by the first device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to allocate resources to the first logical channel LCH based on the data volume of the third data set; wherein the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the priority of the first LCH is determined based on the data in the first LCH; the transceiver unit 702 is used to send a first data set in a first resource, and the first data set is part or all of the third data set.
在一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量以下至少一项信息中的最小值,该至少一项信息包括:为其它数据或其它信令分配资源之后的剩余资源;或,第二PBR,其中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值,或,该第二PBR的取值为该第三数据集合的数据量。In one possible implementation, the data volume of the first data set is the minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes: the remaining resources after allocating resources for other data or other signaling; or, a second PBR, wherein the second PBR is the minimum value of the data volume of the third data set and the configured PBR, or the value of the second PBR is the data volume of the third data set.
在一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量。In a possible implementation manner, the data volume of the first data set is the data volume of the third data set.
在一种可能的实现方式中,该收发单元702还用于接收第三指示信息,该第三指示信息指示基于该第三数据集合的数据量为该第一LCH分配资源,或,该第三指示信息指示不基于该第三数据集合的数据量为该第一LCH分配资源。In one possible implementation, the transceiver unit 702 is also used to receive third indication information, which indicates that resources are allocated to the first LCH based on the data volume of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data volume of the third data set.
在一种可能的实现方式中,该处理单元701还用于基于该第一数据集合的数据量为第二数据集合分配资源,在第一资源中发送该第二数据集合,该第二数据集合与该第一LCH相关联;或,基于该第一数据集合的数据量确定不为该第一LCH分配资源。In one possible implementation, the processing unit 701 is also used to allocate resources to a second data set based on the data volume of the first data set, send the second data set in the first resources, and the second data set is associated with the first LCH; or, determine not to allocate resources to the first LCH based on the data volume of the first data set.
在一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:In a possible implementation, the amount of data in the second data set is less than or equal to any of the following:
基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。The amount of data determined based on a first PBR, wherein the first PBR is determined based on the amount of data of the first data set and a configured PBR; the remaining resources after allocating resources to the first data set; or the difference between a first value of a first variable corresponding to the first LCH and the amount of data of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值小于或等于0,该第二取值小于或等于0;其中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In one possible implementation, before determining not to allocate resources to the first LCH based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, and the first value is less than or equal to 0, and the second value is less than or equal to 0; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量确定为该第二数据集合分配资源之前,该第一LCH对应的第一变量的取值为第一取值或第二取值,该第一取值大于0,该第二取值大于0;其 中,该第一取值是在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In a possible implementation, before determining to allocate resources to the second data set based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, the first value is greater than 0, and the second value is greater than 0; In the embodiment, the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; the second value is determined based on the first value and the data amount of the first data set.
在一种可能的实现方式中,该处理单元701还用于基于为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源。In a possible implementation, the processing unit 701 is further configured to allocate resources to other data sets based on the resources allocated to the first data set and remaining resources other than the resources allocated to the second data set.
在一种可能的实现方式中,在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值大于0。In a possible implementation manner, before resources are allocated to the first data set, a value of the first variable corresponding to the first LCH is greater than 0.
在一种可能的实现方式中,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值为第一取值或第二取值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In one possible implementation, after resources are allocated to the first data, the value of the first variable corresponding to the first LCH is a first value or a second value; wherein the first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; and the second value is determined based on the first value and the data amount of the first data set.
在一种可能的实现方式中,在基于该第一数据集合的数据量为第二数据集合分配资源之后,或,在基于该第一数据集合的数据量确定不为该第一LCH分配资源之后,该第一LCH对应的第一变量的取值为以下任一项:第二取值与该第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量以及第二数据集合的数据量之间的差值;第一取值与该第一数据集合的数据量之间的差值;或,第一取值与该第二数据集合的数据量之间的差值;其中,该第一取值为在为该第一数据集合分配资源之前,该第一LCH对应的第一变量的取值;该第二取值是基于该第一取值与该第一数据集合的数据量确定。In one possible implementation, after allocating resources to the second data set based on the data volume of the first data set, or after determining not to allocate resources to the first LCH based on the data volume of the first data set, the value of the first variable corresponding to the first LCH is any one of the following: the difference between the second value and the data volume of the second data set; the difference between the first value and the data volume of the first data set and the data volume of the second data set; the difference between the first value and the data volume of the first data set; or, the difference between the first value and the data volume of the second data set; wherein the first value is the value of the first variable corresponding to the first LCH before allocating resources to the first data set; and the second value is determined based on the first value and the data volume of the first data set.
在一种可能的实现方式中,该处理单元701具体用于基于第一参数为第二数据集合分配资源,或,基于第一参数确定不为该第一LCH分配资源;其中,该第一参数与该第一LCH的资源分配相关联。In one possible implementation, the processing unit 701 is specifically used to allocate resources to the second data set based on a first parameter, or determine not to allocate resources to the first LCH based on the first parameter; wherein the first parameter is associated with the resource allocation of the first LCH.
在一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In one possible implementation, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,该收发单元702还用于接收第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In one possible implementation, the transceiver unit 702 is also used to receive first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation, the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
另一种可能的实现方式中,当该装置700为用于执行前述实施例中第二设备所执行的方法时,该装置包括处理单元701和收发单元702;该处理单元701用于确定第一资源;该收发单元702用于在该第一资源中接收第一数据集合,该第一数据集合为该第三数据集合的部分或全部,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;其中,承载该第一数据集合的资源是基于该第三数据集合的数据量为第一逻辑信道LCH分配的资源,该第一LCH的优先级是基于该第一LCH中的数据确定的。In another possible implementation, when the device 700 is used to execute the method executed by the second device in the aforementioned embodiment, the device includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is used to determine a first resource; the transceiver unit 702 is used to receive a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the data amount of the third data set, and the priority of the first LCH is determined based on the data in the first LCH.
在一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量以下至少一项信息中的最小值,该至少一项信息包括:In a possible implementation, the data volume of the first data set is a minimum value of at least one item of information below the data volume of the third data set, and the at least one item of information includes:
为其它数据或其它信令分配资源之后的剩余资源;或,第二PBR,其中,该第二PBR是该第三数据集合的数据量和配置的PBR中的最小值,或,该第二PBR的取值为该第三数据集合的数据量。The remaining resources after allocating resources for other data or other signaling; or, a second PBR, wherein the second PBR is the minimum value between the data amount of the third data set and the configured PBR, or the value of the second PBR is the data amount of the third data set.
在一种可能的实现方式中,该第一数据集合的数据量为该第三数据集合的数据量。In a possible implementation manner, the data volume of the first data set is the data volume of the third data set.
在一种可能的实现方式中,该收发单元702还用于发送第三指示信息,该第三指示信息指示基于该第三数据集合的数据量为该第一LCH分配资源,或,该第三指示信息指示不基于该第三数据集合的数据量为该第一LCH分配资源。In one possible implementation, the transceiver unit 702 is also used to send a third indication information, wherein the third indication information indicates that resources are allocated to the first LCH based on the data volume of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data volume of the third data set.
在一种可能的实现方式中,该收发单元702还用于在该第一资源中接收第二数据集合,该第二数据集合与该第一LCH相关联,承载该第二数据集合的资源是基于该第一数据集合的数据量确定的。In a possible implementation, the transceiver unit 702 is further used to receive a second data set in the first resource, where the second data set is associated with the first LCH, and the resource carrying the second data set is determined based on the data amount of the first data set.
在一种可能的实现方式中,该第二数据集合的数据量小于或等于以下任一项:基于第一PBR确定的数据量,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;为该第一数据集合分配资源之后的剩余资源;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。 In one possible implementation, the data volume of the second data set is less than or equal to any one of the following: the data volume determined based on the first PBR, wherein the first PBR is determined based on the data volume of the first data set and the configured PBR; the remaining resources after resources are allocated to the first data set; or the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,该收发单元702还用于在该第一资源中接收其它数据集合,其中,为该其它数据集合分配的资源是为该第一数据集合分配的资源以及为该第二数据集合分配的资源之外的剩余资源。In a possible implementation, the transceiver unit 702 is further used to receive other data sets in the first resource, wherein the resources allocated for the other data sets are remaining resources other than the resources allocated for the first data set and the resources allocated for the second data set.
在一种可能的实现方式中,为该第二数据集合分配的资源是基于第一参数确定的,该第一参数与该第一LCH的资源分配相关联。In a possible implementation manner, the resources allocated for the second data set are determined based on a first parameter, where the first parameter is associated with resource allocation of the first LCH.
在一种可能的实现方式中,该第一参数包括以下任一项:第一PBR,该第一PBR是基于该第一数据集合的数据量以及配置的PBR确定的;或,在为该第一数据分配资源之后,该第一LCH对应的第一变量的取值,该第一LCH对应的第一变量的取值是基于该第一数据集合的数据量确定的;或,该第一LCH对应的第一变量的第一取值与该第一数据集合的数据量之间的差值。In one possible implementation, the first parameter includes any one of the following items: a first PBR, which is determined based on the data volume of the first data set and the configured PBR; or, after allocating resources for the first data, the value of the first variable corresponding to the first LCH, which is determined based on the data volume of the first data set; or, the difference between the first value of the first variable corresponding to the first LCH and the data volume of the first data set.
在一种可能的实现方式中,该收发单元702还用于发送第一指示信息,该第一指示信息指示基于第一数据集合的数据量为第一LCH分配资源,或,该第一指示信息指示不基于第一数据集合的数据量为第一LCH分配资源。In a possible implementation, the transceiver unit 702 is also used to send a first indication information, which indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
在一种可能的实现方式中,该第一PBR的取值为配置的PBR与该第一数据集合的数据量之间的差值和0中的最大值。In a possible implementation, the value of the first PBR is a maximum value between a difference between a configured PBR and a data volume of the first data set and 0.
需要说明的是,上述通信装置700的单元的信息执行过程等内容,具体可参见本申请前述所示的方法实施例中的叙述,此处不再赘述。It should be noted that the information execution process and other contents of the units of the above-mentioned communication device 700 can be specifically referred to the description in the method embodiment shown in the above-mentioned application, and will not be repeated here.
请参阅图8,为本申请提供的通信装置800的另一种示意性结构图,通信装置800至少包括输入输出接口802。其中,通信装置800可以为芯片或集成电路。Please refer to Fig. 8, which is another schematic structural diagram of a communication device 800 provided in the present application. The communication device 800 at least includes an input and output interface 802. The communication device 800 may be a chip or an integrated circuit.
可选的,该通信装置还包括逻辑电路801。Optionally, the communication device also includes a logic circuit 801.
其中,图7所示收发单元702可以为通信接口,该通信接口可以是图8中的输入输出接口802,该输入输出接口802可以包括输入接口和输出接口。或者,该通信接口也可以是收发电路,该收发电路可以包括输入接口电路和输出接口电路。The transceiver unit 702 shown in Fig. 7 may be a communication interface, which may be the input/output interface 802 in Fig. 8, which may include an input interface and an output interface. Alternatively, the communication interface may also be a transceiver circuit, which may include an input interface circuit and an output interface circuit.
可选的,该通信装置800为前述实施例中第一设备(或设备中的部件)的情况下,该逻辑电路801用于为第一数据集合分配资源,该第一数据集合与第一逻辑信道LCH相关联;该逻辑电路801还用于基于该第一数据集合的数据量为第二数据集合分配资源,该输入输出接口802用于在第一资源中发送该第一数据集合和该第二数据集合,该第二数据集合与该第一LCH相关联;或,该逻辑电路801还用于基于该第一数据集合的数据量确定不为该第一LCH分配资源,该输入输出接口802还用于在第一资源中发送该第一数据集合。Optionally, when the communication device 800 is the first device (or component in the device) in the aforementioned embodiment, the logic circuit 801 is used to allocate resources for the first data set, and the first data set is associated with the first logical channel LCH; the logic circuit 801 is also used to allocate resources for the second data set based on the data volume of the first data set, and the input-output interface 802 is used to send the first data set and the second data set in the first resource, and the second data set is associated with the first LCH; or, the logic circuit 801 is also used to determine not to allocate resources for the first LCH based on the data volume of the first data set, and the input-output interface 802 is also used to send the first data set in the first resource.
可选的,该通信装置800为前述实施例中第二设备(或设备中的部件)的情况下,该逻辑电路801用于确定第一资源;该输入输出接口802用于在该第一资源中接收第一数据集合,或,该输入输出接口802用于在该第一资源中接收该第一数据集合和第二数据集合;其中,该第一数据集合和该第二数据集合均与第一逻辑信道LCH相关联,为该第二数据集合分配的资源是基于该第一数据集合的数据量确定的。Optionally, when the communication device 800 is the second device (or a component in the device) in the aforementioned embodiment, the logic circuit 801 is used to determine the first resource; the input-output interface 802 is used to receive the first data set in the first resource, or the input-output interface 802 is used to receive the first data set and the second data set in the first resource; wherein the first data set and the second data set are both associated with the first logical channel LCH, and the resources allocated to the second data set are determined based on the data amount of the first data set.
可选的,该通信装置800为前述实施例中第一设备(或设备中的部件)的情况下,该逻辑电路801用于基于第二PBR为第一逻辑信道LCH分配资源;其中,该第二PBR是基于第三数据集合的数据量确定的;该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;该输入输出接口802用于在第一资源中发送第一数据集合,其中,该第一数据集合为该第三数据集合中的部分或全部。Optionally, when the communication device 800 is the first device (or a component in the device) in the aforementioned embodiment, the logic circuit 801 is used to allocate resources to the first logical channel LCH based on the second PBR; wherein the second PBR is determined based on the amount of data of the third data set; the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; the input-output interface 802 is used to send the first data set in the first resource, wherein the first data set is part or all of the third data set.
可选的,该通信装置800为前述实施例中第二设备(或设备中的部件)的情况下,该逻辑电路801用于确定上行数据;该输入输出接口802用于在该第一资源接收第一数据集合,该第一数据集合为该第三数据集合中的部分或全部,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;其中,承载该第一数据集合的资源是基于第二PBR为第一逻辑信道LCH分配的资源,该第二PBR是基于第三数据集合的数据量确定的。Optionally, when the communication device 800 is the second device (or a component in the device) in the aforementioned embodiment, the logic circuit 801 is used to determine the uplink data; the input-output interface 802 is used to receive a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the second PBR, and the second PBR is determined based on the data amount of the third data set.
可选的,该通信装置800为前述实施例中第一设备(或设备中的部件)的情况下,该逻辑电路801用于基于第三数据集合的数据量为第一逻辑信道LCH分配资源;其中,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;该第一LCH的优先级是基于该第一LCH中的数 据确定的;该输入输出接口802用于在第一资源中发送第一数据集合,该第一数据集合为该第三数据集合的部分或全部。Optionally, when the communication device 800 is the first device (or a component in the device) in the aforementioned embodiment, the logic circuit 801 is used to allocate resources to the first logical channel LCH based on the data volume of the third data set; wherein the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to the threshold; the priority of the first LCH is based on the data in the first LCH. According to the determination; the input-output interface 802 is used to send a first data set in a first resource, and the first data set is part or all of the third data set.
可选的,该通信装置800为前述实施例中第二设备(或设备中的部件)的情况下,该逻辑电路801用于确定第一资源;该输入输出接口802用于在该第一资源中接收第一数据集合,该第一数据集合为该第三数据集合的部分或全部,该第三数据集合与该第一LCH相关联,该第三数据集合对应的剩余时间小于或等于阈值;其中,承载该第一数据集合的资源是基于该第三数据集合的数据量为第一逻辑信道LCH分配的资源,该第一LCH的优先级是基于该第一LCH中的数据确定的。Optionally, when the communication device 800 is the second device (or a component in the device) in the aforementioned embodiment, the logic circuit 801 is used to determine the first resource; the input-output interface 802 is used to receive a first data set in the first resource, the first data set is part or all of the third data set, the third data set is associated with the first LCH, and the remaining time corresponding to the third data set is less than or equal to a threshold; wherein the resources carrying the first data set are resources allocated to the first logical channel LCH based on the data volume of the third data set, and the priority of the first LCH is determined based on the data in the first LCH.
其中,逻辑电路801和输入输出接口802还可以执行任一实施例中第一设备或第二设备执行的其他步骤并实现对应的有益效果,此处不再赘述。The logic circuit 801 and the input/output interface 802 may also execute other steps executed by the first device or the second device in any embodiment and achieve corresponding beneficial effects, which will not be described in detail here.
在一种可能的实现方式中,图7所示处理单元701可以为图8中的逻辑电路801。In a possible implementation, the processing unit 701 shown in FIG. 7 may be the logic circuit 801 in FIG. 8 .
可选的,逻辑电路801可以是一个处理装置,处理装置的功能可以部分或全部通过软件实现。其中,处理装置的功能可以部分或全部通过软件实现。Optionally, the logic circuit 801 may be a processing device, and the functions of the processing device may be partially or completely implemented by software. The functions of the processing device may be partially or completely implemented by software.
可选的,处理装置可以包括存储器和处理器,其中,存储器用于存储计算机程序,处理器读取并执行存储器中存储的计算机程序,以执行任意一个方法实施例中的相应处理和/或步骤。Optionally, the processing device may include a memory and a processor, wherein the memory is used to store a computer program, and the processor reads and executes the computer program stored in the memory to perform corresponding processing and/or steps in any one of the method embodiments.
可选地,处理装置可以仅包括处理器。用于存储计算机程序的存储器位于处理装置之外,处理器通过电路/电线与存储器连接,以读取并执行存储器中存储的计算机程序。其中,存储器和处理器可以集成在一起,或者也可以是物理上互相独立的。Alternatively, the processing device may include only a processor. A memory for storing a computer program is located outside the processing device, and the processor is connected to the memory via a circuit/wire to read and execute the computer program stored in the memory. The memory and the processor may be integrated together, or may be physically independent of each other.
可选地,该处理装置可以是一个或多个芯片,或一个或多个集成电路。例如,处理装置可以是一个或多个现场可编程门阵列(field-programmable gate array,FPGA)、专用集成芯片(application specific integrated circuit,ASIC)、系统芯片(system on chip,SoC)、中央处理器(central processor unit,CPU)、网络处理器(network processor,NP)、数字信号处理电路(digital signal processor,DSP)、微控制器(micro controller unit,MCU),可编程控制器(programmable logic device,PLD)或其它集成芯片,或者上述芯片或者处理器的任意组合等。Optionally, the processing device may be one or more chips, or one or more integrated circuits. For example, the processing device may be one or more field-programmable gate arrays (FPGA), application specific integrated circuits (ASIC), system on chip (SoC), central processor unit (CPU), network processor (NP), digital signal processor (DSP), microcontroller unit (MCU), programmable logic device (PLD) or other integrated chips, or any combination of the above chips or processors.
请参阅图9,为本申请的实施例提供的上述实施例中所涉及的通信装置900,该通信装置900具体可以为上述实施例中的作为终端设备的通信装置,图9所示示例为终端设备通过终端设备(或者终端设备中的部件)实现。Please refer to Figure 9, which shows a communication device 900 involved in the above embodiments provided in an embodiment of the present application. The communication device 900 can specifically be a communication device as a terminal device in the above embodiments. The example shown in Figure 9 is that the terminal device is implemented through the terminal device (or a component in the terminal device).
其中,该通信装置900的一种可能的逻辑结构示意图,该通信装置900可以包括但不限于至少一个处理器901以及通信端口902。Among them, a possible logical structure diagram of the communication device 900 is shown, and the communication device 900 may include but is not limited to at least one processor 901 and a communication port 902.
进一步可选的,该装置还可以包括存储器903、总线904中的至少一个,在本申请的实施例中,该至少一个处理器901用于对通信装置900的动作进行控制处理。Further optionally, the device may also include at least one of a memory 903 and a bus 904 . In an embodiment of the present application, the at least one processor 901 is used to control and process the actions of the communication device 900 .
此外,处理器901可以是中央处理器单元,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。该处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理器和微处理器的组合等等。所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。In addition, the processor 901 can be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and the like. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
需要说明的是,图9所示通信装置900具体可以用于实现前述方法实施例中终端设备所实现的步骤,并实现终端设备对应的技术效果,图9所示通信装置的具体实现方式,均可以参考前述方法实施例中的叙述,此处不再一一赘述。It should be noted that the communication device 900 shown in Figure 9 can be specifically used to implement the steps implemented by the terminal device in the aforementioned method embodiment, and to achieve the corresponding technical effects of the terminal device. The specific implementation methods of the communication device shown in Figure 9 can refer to the description in the aforementioned method embodiment, and will not be repeated here one by one.
请参阅图10,为本申请的实施例提供的上述实施例中所涉及的通信装置1000的结构示意图,该通信装置1000具体可以为上述实施例中的作为网络设备的通信装置,图10所示示例为网络设备通过网络设备(或者网络设备中的部件)实现,其中,该通信装置的结构可以参考图10所示的结构。Please refer to Figure 10, which is a structural diagram of the communication device 1000 involved in the above-mentioned embodiments provided in the embodiments of the present application. The communication device 1000 can specifically be a communication device as a network device in the above-mentioned embodiments. The example shown in Figure 10 is that the network device is implemented through the network device (or a component in the network device), wherein the structure of the communication device can refer to the structure shown in Figure 10.
通信装置1000包括至少一个处理器1011以及至少一个网络接口1014。进一步可选的,该通信装置还包括至少一个存储器1012、至少一个收发器1013和一个或多个天线1015。处理器1011、存储器1012、 收发器1013和网络接口1014相连,例如通过总线相连,在本申请实施例中,该连接可包括各类接口、传输线或总线等,本实施例对此不做限定。天线1015与收发器1013相连。网络接口1014用于使得通信装置通过通信链路,与其它通信设备通信。例如网络接口1014可以包括通信装置与核心网设备之间的网络接口,例如S1接口,网络接口可以包括通信装置和其他通信装置(例如其他网络设备或者核心网设备)之间的网络接口,例如X2或者Xn接口。The communication device 1000 includes at least one processor 1011 and at least one network interface 1014. Further optionally, the communication device also includes at least one memory 1012, at least one transceiver 1013 and one or more antennas 1015. The processor 1011, the memory 1012, The transceiver 1013 is connected to the network interface 1014, for example, through a bus. In an embodiment of the present application, the connection may include various interfaces, transmission lines or buses, etc., which are not limited in this embodiment. The antenna 1015 is connected to the transceiver 1013. The network interface 1014 is used to enable the communication device to communicate with other communication devices through a communication link. For example, the network interface 1014 may include a network interface between the communication device and the core network device, such as an S1 interface, and the network interface may include a network interface between the communication device and other communication devices (such as other network devices or core network devices), such as an X2 or Xn interface.
处理器1011主要用于对通信协议以及通信数据进行处理,以及对整个通信装置进行控制,执行软件程序,处理软件程序的数据,例如用于支持通信装置执行实施例中所描述的动作。通信装置可以包括基带处理器和中央处理器,基带处理器主要用于对通信协议以及通信数据进行处理,中央处理器主要用于对整个终端设备进行控制,执行软件程序,处理软件程序的数据。图10中的处理器1011可以集成基带处理器和中央处理器的功能,本领域技术人员可以理解,基带处理器和中央处理器也可以是各自独立的处理器,通过总线等技术互联。本领域技术人员可以理解,终端设备可以包括多个基带处理器以适应不同的网络制式,终端设备可以包括多个中央处理器以增强其处理能力,终端设备的各个部件可以通过各种总线连接。该基带处理器也可以表述为基带处理电路或者基带处理芯片。该中央处理器也可以表述为中央处理电路或者中央处理芯片。对通信协议以及通信数据进行处理的功能可以内置在处理器中,也可以以软件程序的形式存储在存储器中,由处理器执行软件程序以实现基带处理功能。The processor 1011 is mainly used to process the communication protocol and communication data, and to control the entire communication device, execute the software program, and process the data of the software program, for example, to support the communication device to perform the actions described in the embodiment. The communication device may include a baseband processor and a central processor, the baseband processor is mainly used to process the communication protocol and communication data, and the central processor is mainly used to control the entire terminal device, execute the software program, and process the data of the software program. The processor 1011 in Figure 10 can integrate the functions of the baseband processor and the central processor. It can be understood by those skilled in the art that the baseband processor and the central processor can also be independent processors, interconnected by technologies such as buses. It can be understood by those skilled in the art that the terminal device can include multiple baseband processors to adapt to different network formats, the terminal device can include multiple central processors to enhance its processing capabilities, and the various components of the terminal device can be connected through various buses. The baseband processor can also be described as a baseband processing circuit or a baseband processing chip. The central processor can also be described as a central processing circuit or a central processing chip. The function of processing the communication protocol and communication data can be built into the processor, or it can be stored in the memory in the form of a software program, and the processor executes the software program to realize the baseband processing function.
存储器主要用于存储软件程序和数据。存储器1012可以是独立存在,与处理器1011相连。可选的,存储器1012可以和处理器1011集成在一起,例如集成在一个芯片之内。其中,存储器1012能够存储执行本申请实施例的技术方案的程序代码,并由处理器1011来控制执行,被执行的各类计算机程序代码也可被视为是处理器1011的驱动程序。The memory is mainly used to store software programs and data. The memory 1012 can be independent and connected to the processor 1011. Optionally, the memory 1012 can be integrated with the processor 1011, for example, integrated into a chip. Among them, the memory 1012 can store program codes for executing the technical solutions of the embodiments of the present application, and the execution is controlled by the processor 1011. The various types of computer program codes executed can also be regarded as drivers of the processor 1011.
图10仅示出了一个存储器和一个处理器。在实际的终端设备中,可以存在多个处理器和多个存储器。存储器也可以称为存储介质或者存储设备等。存储器可以为与处理器处于同一芯片上的存储元件,即片内存储元件,或者为独立的存储元件,本申请实施例对此不做限定。FIG10 shows only one memory and one processor. In an actual terminal device, there may be multiple processors and multiple memories. The memory may also be referred to as a storage medium or a storage device, etc. The memory may be a storage element on the same chip as the processor, i.e., an on-chip storage element, or an independent storage element, which is not limited in the embodiments of the present application.
收发器1013可以用于支持通信装置与终端之间射频信号的接收或者发送,收发器1013可以与天线1015相连。收发器1013包括发射机Tx和接收机Rx。具体地,一个或多个天线1015可以接收射频信号,该收发器1013的接收机Rx用于从天线接收该射频信号,并将射频信号转换为数字基带信号或数字中频信号,并将该数字基带信号或数字中频信号提供给该处理器1011,以便处理器1011对该数字基带信号或数字中频信号做进一步的处理,例如解调处理和译码处理。此外,收发器1013中的发射机Tx还用于从处理器1011接收经过调制的数字基带信号或数字中频信号,并将该经过调制的数字基带信号或数字中频信号转换为射频信号,并通过一个或多个天线1015发送该射频信号。具体地,接收机Rx可以选择性地对射频信号进行一级或多级下混频处理和模数转换处理以得到数字基带信号或数字中频信号,该下混频处理和模数转换处理的先后顺序是可调整的。发射机Tx可以选择性地对经过调制的数字基带信号或数字中频信号时进行一级或多级上混频处理和数模转换处理以得到射频信号,该上混频处理和数模转换处理的先后顺序是可调整的。数字基带信号和数字中频信号可以统称为数字信号。The transceiver 1013 can be used to support the reception or transmission of radio frequency signals between the communication device and the terminal, and the transceiver 1013 can be connected to the antenna 1015. The transceiver 1013 includes a transmitter Tx and a receiver Rx. Specifically, one or more antennas 1015 can receive radio frequency signals, and the receiver Rx of the transceiver 1013 is used to receive the radio frequency signal from the antenna, and convert the radio frequency signal into a digital baseband signal or a digital intermediate frequency signal, and provide the digital baseband signal or the digital intermediate frequency signal to the processor 1011, so that the processor 1011 further processes the digital baseband signal or the digital intermediate frequency signal, such as demodulation processing and decoding processing. In addition, the transmitter Tx in the transceiver 1013 is also used to receive a modulated digital baseband signal or a digital intermediate frequency signal from the processor 1011, and convert the modulated digital baseband signal or the digital intermediate frequency signal into a radio frequency signal, and send the radio frequency signal through one or more antennas 1015. Specifically, the receiver Rx can selectively perform one or more stages of down-mixing and analog-to-digital conversion processing on the RF signal to obtain a digital baseband signal or a digital intermediate frequency signal, and the order of the down-mixing and analog-to-digital conversion processing is adjustable. The transmitter Tx can selectively perform one or more stages of up-mixing and digital-to-analog conversion processing on the modulated digital baseband signal or digital intermediate frequency signal to obtain a RF signal, and the order of the up-mixing and digital-to-analog conversion processing is adjustable. The digital baseband signal and the digital intermediate frequency signal can be collectively referred to as a digital signal.
收发器1013也可以称为收发单元、收发机、收发装置等。可选的,可以将收发单元中用于实现接收功能的器件视为接收单元,将收发单元中用于实现发送功能的器件视为发送单元,即收发单元包括接收单元和发送单元,接收单元也可以称为接收机、输入口、接收电路等,发送单元可以称为发射机、发射器或者发射电路等。The transceiver 1013 may also be referred to as a transceiver unit, a transceiver, a transceiver device, etc. Optionally, a device in the transceiver unit for implementing a receiving function may be regarded as a receiving unit, and a device in the transceiver unit for implementing a sending function may be regarded as a sending unit, that is, the transceiver unit includes a receiving unit and a sending unit, the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the sending unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
需要说明的是,图10所示通信装置1000具体可以用于实现前述方法实施例中网络设备所实现的步骤,并实现网络设备对应的技术效果,图10所示通信装置1000的具体实现方式,均可以参考前述方法实施例中的叙述,此处不再一一赘述。It should be noted that the communication device 1000 shown in Figure 10 can be specifically used to implement the steps implemented by the network device in the aforementioned method embodiment, and to achieve the corresponding technical effects of the network device. The specific implementation method of the communication device 1000 shown in Figure 10 can refer to the description in the aforementioned method embodiment, and will not be repeated here one by one.
本申请实施例还提供一种存储一个或多个计算机执行指令的计算机可读存储介质,当计算机执行指令被处理器执行时,该处理器执行如前述实施例中终端设备可能的实现方式所述的方法。An embodiment of the present application further provides a computer-readable storage medium storing one or more computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor executes the method described in the possible implementation manner of the terminal device in the aforementioned embodiment.
本申请实施例还提供一种存储一个或多个计算机执行指令的计算机可读存储介质,当计算机执行指令被处理器执行时,该处理器执行如前述实施例中网络设备可能的实现方式所述的方法。An embodiment of the present application further provides a computer-readable storage medium storing one or more computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor executes the method described in the possible implementation manner of the network device in the aforementioned embodiment.
本申请实施例还提供一种存储一个或多个计算机的计算机程序产品(或称计算机程序),当计算机程序产品被该处理器执行时,该处理器执行上述终端设备可能实现方式的方法。 An embodiment of the present application also provides a computer program product (or computer program) storing one or more computers. When the computer program product is executed by the processor, the processor executes the method of the possible implementation mode of the above-mentioned terminal device.
本申请实施例还提供一种存储一个或多个计算机的计算机程序产品,当计算机程序产品被该处理器执行时,该处理器执行上述网络设备可能实现方式的方法。An embodiment of the present application also provides a computer program product storing one or more computers. When the computer program product is executed by the processor, the processor executes the method of the possible implementation of the above-mentioned network device.
本申请实施例还提供了一种芯片系统,该芯片系统包括至少一个处理器,用于支持通信装置实现上述通信装置可能的实现方式中所涉及的功能。可选的,所述芯片系统还包括接口电路,所述接口电路为所述至少一个处理器提供程序指令和/或数据。在一种可能的设计中,该芯片系统还可以包括存储器,存储器,用于保存该通信装置必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件,其中,该通信装置具体可以为前述方法实施例中终端设备。The embodiment of the present application also provides a chip system, which includes at least one processor for supporting a communication device to implement the functions involved in the possible implementation methods of the above-mentioned communication device. Optionally, the chip system also includes an interface circuit, which provides program instructions and/or data for the at least one processor. In one possible design, the chip system may also include a memory, which is used to store the necessary program instructions and data for the communication device. The chip system can be composed of chips, and may also include chips and other discrete devices, wherein the communication device can specifically be a terminal device in the aforementioned method embodiment.
本申请实施例还提供了一种芯片系统,该芯片系统包括至少一个处理器,用于支持通信装置实现上述通信装置可能的实现方式中所涉及的功能。可选的,所述芯片系统还包括接口电路,所述接口电路为所述至少一个处理器提供程序指令和/或数据。在一种可能的设计中,芯片系统还可以包括存储器,存储器,用于保存该通信装置必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件,其中,该通信装置具体可以为前述方法实施例中网络设备。The embodiment of the present application also provides a chip system, which includes at least one processor for supporting a communication device to implement the functions involved in the possible implementation methods of the above-mentioned communication device. Optionally, the chip system also includes an interface circuit, which provides program instructions and/or data for the at least one processor. In one possible design, the chip system may also include a memory, which is used to store the necessary program instructions and data for the communication device. The chip system can be composed of chips, and may also include chips and other discrete devices, wherein the communication device can specifically be a network device in the aforementioned method embodiment.
本申请实施例还提供了一种通信系统,该通信系统包括上述任一实施例中的第一设备和第二设备。An embodiment of the present application further provides a communication system, which includes the first device and the second device in any one of the above embodiments.
可选地,第一设备为终端设备,且第二设备为网络设备。Optionally, the first device is a terminal device, and the second device is a network device.
可选地,第一设备和第二设备为不同的网络设备。Optionally, the first device and the second device are different network devices.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, 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 the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。 In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk.

Claims (29)

  1. 一种通信方法,其特征在于,包括:A communication method, comprising:
    为第一数据集合分配资源,所述第一数据集合与第一逻辑信道LCH相关联;Allocating resources for a first data set, the first data set being associated with a first logical channel LCH;
    基于所述第一数据集合的数据量为第二数据集合分配资源,在第一资源中发送所述第一数据集合和所述第二数据集合,所述第二数据集合与所述第一LCH相关联;或,Allocate resources for a second data set based on the data amount of the first data set, send the first data set and the second data set in the first resource, and the second data set is associated with the first LCH; or,
    基于所述第一数据集合的数据量确定不为所述第一LCH分配资源,在第一资源中发送所述第一数据集合。Based on the data amount of the first data set, it is determined not to allocate resources for the first LCH, and the first data set is sent in a first resource.
  2. 根据权利要求1所述的方法,其特征在于,所述第二数据集合的数据量小于或等于以下任一项:The method according to claim 1, characterized in that the amount of data in the second data set is less than or equal to any of the following:
    基于第一优先比特率PBR确定的数据量,所述第一PBR是基于所述第一数据集合的数据量以及配置的PBR确定的;an amount of data determined based on a first priority bit rate (PBR), the first PBR being determined based on the amount of data of the first data set and a configured PBR;
    为所述第一数据集合分配资源之后的剩余资源;或,remaining resources after allocating resources to the first data set; or,
    所述第一LCH对应的第一变量的第一取值与所述第一数据集合的数据量之间的差值。The difference between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
  3. 根据权利要求1或2所述的方法,其特征在于,在基于所述第一数据集合的数据量确定不为所述第一LCH分配资源之前,所述第一LCH对应的第一变量的取值为第一取值或第二取值,所述第一取值小于或等于0,所述第二取值小于或等于0;The method according to claim 1 or 2, characterized in that before determining not to allocate resources for the first LCH based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, the first value is less than or equal to 0, and the second value is less than or equal to 0;
    其中,所述第一取值是在为所述第一数据集合分配资源之前,所述第一LCH对应的第一变量的取值;所述第二取值是基于所述第一取值与所述第一数据集合的数据量确定。The first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; the second value is determined based on the first value and the data volume of the first data set.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,在基于所述第一数据集合的数据量确定为所述第二数据集合分配资源之前,所述第一LCH对应的第一变量的取值为第一取值或第二取值,所述第一取值大于0,所述第二取值大于0;The method according to any one of claims 1 to 3, characterized in that before determining to allocate resources to the second data set based on the data amount of the first data set, the value of the first variable corresponding to the first LCH is a first value or a second value, the first value is greater than 0, and the second value is greater than 0;
    其中,所述第一取值是在为所述第一数据集合分配资源之前,所述第一LCH对应的第一变量的取值;所述第二取值是基于所述第一取值与所述第一数据集合的数据量确定。The first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; the second value is determined based on the first value and the data volume of the first data set.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,在基于所述第一数据集合的数据量为所述第二数据集合分配资源之后,所述方法还包括:The method according to any one of claims 1 to 4, characterized in that after allocating resources to the second data set based on the data volume of the first data set, the method further comprises:
    基于为所述第一数据集合分配的资源以及为所述第二数据集合分配的资源之外的剩余资源为其它数据集合分配资源。Resources are allocated to other data sets based on the resources allocated to the first data set and remaining resources other than the resources allocated to the second data set.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,在为所述第一数据分配资源之后,所述第一LCH对应的第一变量的取值为第一取值或第二取值;The method according to any one of claims 1 to 5, characterized in that after allocating resources for the first data, the value of the first variable corresponding to the first LCH is the first value or the second value;
    其中,所述第一取值为在为所述第一数据集合分配资源之前,所述第一LCH对应的第一变量的取值;所述第二取值是基于所述第一取值与所述第一数据集合的数据量确定。The first value is the value of the first variable corresponding to the first LCH before resources are allocated to the first data set; the second value is determined based on the first value and the data volume of the first data set.
  7. 根据权利要求1至6任一项所述的方法,其特征在于,所述基于所述第一数据集合的数据量为第二数据集合分配资源,或,基于所述第一数据集合的数据量确定不为所述第一LCH分配资源包括:The method according to any one of claims 1 to 6, characterized in that the allocating resources to the second data set based on the data amount of the first data set, or determining not to allocate resources to the first LCH based on the data amount of the first data set comprises:
    基于第一参数为第二数据集合分配资源,或,基于第一参数确定不为所述第一LCH分配资源;其中,所述第一参数与所述第一LCH的资源分配相关联。Allocate resources for the second data set based on a first parameter, or determine not to allocate resources for the first LCH based on the first parameter; wherein the first parameter is associated with resource allocation of the first LCH.
  8. 根据权利要求7所述的方法,其特征在于,所述第一参数包括以下任一项:The method according to claim 7, characterized in that the first parameter includes any one of the following:
    第一PBR,所述第一PBR是基于所述第一数据集合的数据量以及配置的PBR确定的;a first PBR, the first PBR being determined based on the data volume of the first data set and a configured PBR;
    在为所述第一数据分配资源之后,所述第一LCH对应的第一变量的取值,所述第一LCH对应的第一变量的取值是基于所述第一数据集合的数据量确定的;或, After allocating resources for the first data, the value of the first variable corresponding to the first LCH is determined based on the amount of data in the first data set; or,
    所述第一LCH对应的第一变量的第一取值与所述第一数据集合的数据量之间的差值。The difference between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
  9. 根据权利要求1至8任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 8, characterized in that the method further comprises:
    接收第一指示信息,所述第一指示信息指示基于所述第一数据集合的数据量为所述第一LCH分配资源,或,所述第一指示信息指示不基于所述第一数据集合的数据量为所述第一LCH分配资源。Receive first indication information, wherein the first indication information indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  10. 根据权利要求2至9任一项所述的方法,其特征在于,所述第一PBR的取值为配置的PBR与所述第一数据集合的数据量之间的差值和0中的最大值。The method according to any one of claims 2 to 9 is characterized in that the value of the first PBR is the maximum value between the difference between the configured PBR and the data volume of the first data set and 0.
  11. 根据权利要求1至10任一项所述的方法,其特征在于,所述为第一数据集合分配资源包括:The method according to any one of claims 1 to 10, characterized in that allocating resources to the first data set comprises:
    基于第二PBR为所述第一LCH分配资源,所述第二PBR是基于第三数据集合的数据量确定的;其中,所述第三数据集合与所述第一LCH相关联,所述第三数据集合对应的剩余时间小于或等于阈值,所述第一数据集合为所述第三数据集合中的部分或全部。Resources are allocated to the first LCH based on a second PBR, wherein the second PBR is determined based on the amount of data of a third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, characterized in that the method further comprises:
    接收第二指示信息,所述第二指示信息指示基于所述第二PBR为所述第一LCH分配资源,或,所述第二指示信息指示不基于所述第二PBR为所述第一LCH分配资源。Second indication information is received, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  13. 根据权利要求1至10任一项所述的方法,其特征在于,所述为第一数据集合分配资源包括以下任一项:The method according to any one of claims 1 to 10, characterized in that allocating resources to the first data set comprises any one of the following:
    基于数据对应的剩余时间的升序为满足条件A的数据分配资源;Allocate resources to data that meets condition A based on the ascending order of the remaining time corresponding to the data;
    基于数据对应的剩余时间的范围的升序为满足条件A的数据分配资源;Allocate resources to data satisfying condition A based on the ascending order of the range of remaining time corresponding to the data;
    基于数据对应的优先级为满足条件A的数据分配资源;或,Allocate resources to data that meets condition A based on the priority level of the data; or,
    基于LCH的优先级的降序为满足条件A的数据分配资源;Allocate resources for data that meets condition A based on the descending order of priority of the LCH;
    其中,所述条件A包括数据对应的剩余时间小于或等于阈值。Among them, the condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
  14. 一种通信方法,其特征在于,包括:A communication method, comprising:
    确定第一资源;Identify the first resource;
    在所述第一资源中接收第一数据集合,或,在所述第一资源中接收所述第一数据集合和第二数据集合;Receiving a first data set in the first resource, or receiving the first data set and a second data set in the first resource;
    其中,所述第一数据集合和所述第二数据集合均与第一逻辑信道LCH相关联,为所述第二数据集合分配的资源是基于所述第一数据集合的数据量确定的。The first data set and the second data set are both associated with a first logical channel LCH, and the resources allocated to the second data set are determined based on the data amount of the first data set.
  15. 根据权利要求14所述的方法,其特征在于,所述第二数据集合的数据量小于或等于以下任一项:The method according to claim 14, characterized in that the amount of data in the second data set is less than or equal to any of the following:
    基于第一PBR确定的数据量,所述第一PBR是基于所述第一数据集合的数据量以及配置的PBR确定;An amount of data determined based on a first PBR, the first PBR being determined based on the amount of data of the first data set and a configured PBR;
    为所述第一数据集合分配资源之后的剩余资源;或,remaining resources after allocating resources to the first data set; or,
    所述第一LCH对应的第一变量的第一取值与所述第一数据集合的数据量之间的差值。The difference between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
  16. 根据权利要求14或15所述的方法,其特征在于,所述方法还包括:The method according to claim 14 or 15, characterized in that the method further comprises:
    在所述第一资源中接收其它数据集合,其中,为所述其它数据集合分配的资源是为所述第一数据集合分配的资源以及为所述第二数据集合分配的资源之外的剩余资源。Another data set is received in the first resource, wherein the resources allocated to the other data set are remaining resources other than the resources allocated to the first data set and the resources allocated to the second data set.
  17. 根据权利要求14至16任一项所述的方法,其特征在于,为所述第二数据集合分配的资源是基于第一参数确定的,所述第一参数与所述第一LCH的资源分配相关联。The method according to any one of claims 14 to 16 is characterized in that the resources allocated to the second data set are determined based on a first parameter, and the first parameter is associated with the resource allocation of the first LCH.
  18. 根据权利要求17所述的方法,其特征在于,所述第一参数包括以下任一项:The method according to claim 17, wherein the first parameter comprises any one of the following:
    第一PBR,所述第一PBR是基于所述第一数据集合的数据量以及配置的PBR确定的;或, A first PBR, wherein the first PBR is determined based on the data volume of the first data set and a configured PBR; or
    在为所述第一数据分配资源之后,所述第一LCH对应的第一变量的取值,所述第一LCH对应的第一变量的取值是基于所述第一数据集合的数据量确定的;或,After allocating resources for the first data, the value of the first variable corresponding to the first LCH is determined based on the amount of data in the first data set; or,
    所述第一LCH对应的第一变量的第一取值与所述第一数据集合的数据量之间的差值。The difference between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
  19. 根据权利要求14至18任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 14 to 18, characterized in that the method further comprises:
    发送第一指示信息,所述第一指示信息指示基于所述第一数据集合的数据量为所述第一LCH分配资源,或,所述第一指示信息指示不基于所述第一数据集合的数据量为所述第一LCH分配资源。Send first indication information, wherein the first indication information indicates that resources are allocated to the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data amount of the first data set.
  20. 根据权利要求15至19任一项所述的方法,其特征在于,所述第一PBR的取值为配置的PBR与所述第一数据集合的数据量之间的差值和0中的最大值。The method according to any one of claims 15 to 19 is characterized in that the value of the first PBR is the maximum value between the difference between the configured PBR and the data volume of the first data set and 0.
  21. 根据权利要求14至20任一项所述的方法,其特征在于,The method according to any one of claims 14 to 20, characterized in that
    为所述第二数据集合分配的资源是基于第二PBR为所述第一LCH分配的资源确定的,所述第二PBR是基于第三数据集合的数据量确定的;其中,所述第三数据集合与所述第一LCH相关联,所述第三数据集合对应的剩余时间小于或等于阈值,所述第一数据集合为所述第三数据集合中的部分或全部。The resources allocated to the second data set are determined based on the resources allocated by the second PBR to the first LCH, and the second PBR is determined based on the data amount of the third data set; wherein the third data set is associated with the first LCH, the remaining time corresponding to the third data set is less than or equal to a threshold, and the first data set is part or all of the third data set.
  22. 根据权利要求21所述的方法,其特征在于,所述方法还包括:The method according to claim 21, characterized in that the method further comprises:
    发送第二指示信息,所述第二指示信息指示基于所述第二PBR为所述第一LCH分配资源,或,所述第二指示信息指示不基于所述第二PBR为所述第一LCH分配资源。Send second indication information, where the second indication information indicates that resources are allocated to the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated to the first LCH based on the second PBR.
  23. 根据权利要求14至22任一项所述的方法,其特征在于,所述为第一数据集合分配资源包括以下任一项:The method according to any one of claims 14 to 22, characterized in that allocating resources to the first data set comprises any one of the following:
    基于数据对应的剩余时间的升序为满足条件A的数据分配资源;Allocate resources to data that meets condition A based on the ascending order of the remaining time corresponding to the data;
    基于数据对应的剩余时间的范围的升序为满足条件A的数据分配资源;Allocate resources to data that meets condition A based on the ascending order of the range of remaining time corresponding to the data;
    基于数据对应的优先级为满足条件A的数据分配资源;或,Allocate resources to data that meets condition A based on the priority level of the data; or,
    基于LCH的优先级的降序为满足条件A的数据分配资源;Allocate resources for data that meets condition A based on the descending order of priority of the LCH;
    其中,所述条件A包括数据对应的剩余时间小于或等于阈值。Among them, the condition A includes that the remaining time corresponding to the data is less than or equal to a threshold.
  24. 一种通信装置,其特征在于,包括处理单元和收发单元;A communication device, characterized in that it comprises a processing unit and a transceiver unit;
    所述处理单元和所述收发单元用于执行如权利要求1至13任一项所述的方法,或,所述处理单元和所述收发单元用于执行如权利要求14至23任一项所述的方法。The processing unit and the transceiver unit are used to execute the method according to any one of claims 1 to 13, or the processing unit and the transceiver unit are used to execute the method according to any one of claims 14 to 23.
  25. 一种通信装置,其特征在于,包括至少一个处理器,所述至少一个处理器与存储器耦合;A communication device, characterized in that it comprises at least one processor, wherein the at least one processor is coupled to a memory;
    所述存储器用于存储程序或指令;The memory is used to store programs or instructions;
    所述至少一个处理器用于执行所述程序或指令,以使所述装置实现如权利要求1至13中任一项所述的方法,或,以使所述装置实现如权利要求14至23中任一项所述的方法。The at least one processor is configured to execute the program or instruction so that the apparatus implements the method according to any one of claims 1 to 13, or so that the apparatus implements the method according to any one of claims 14 to 23.
  26. 一种计算机可读存储介质,其特征在于,所述介质存储有指令,当所述指令被计算机执行时,实现权利要求1至23中任一项所述的方法。A computer-readable storage medium, characterized in that the medium stores instructions, and when the instructions are executed by a computer, the method according to any one of claims 1 to 23 is implemented.
  27. 一种计算机程序产品,其特征在于,包括指令,当所述指令在计算机上运行时,使得计算机执行如权利要求1至23中任一项所述的方法。A computer program product, characterized in that it comprises instructions, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 23.
  28. 一种芯片,其特征在于,所述芯片包括处理器和通信接口;A chip, characterized in that the chip comprises a processor and a communication interface;
    其中,所述通信接口和所述处理器耦合,所述处理器用于运行计算机程序或指令,以实现如权利要求1至23中任一项所述的方法。 The communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the method as claimed in any one of claims 1 to 23.
  29. 一种通信系统,其特征在于,所述通信系统包括第一设备和第二设备;A communication system, characterized in that the communication system comprises a first device and a second device;
    其中,所述第一设备用于执行如权利要求1至13中任一项所述的方法,所述第二设备用于执行如权利要求14至23中任一项所述的方法。 The first device is used to execute the method as claimed in any one of claims 1 to 13, and the second device is used to execute the method as claimed in any one of claims 14 to 23.
PCT/CN2023/127744 2022-11-04 2023-10-30 Communication method and related device WO2024093908A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211380898.0 2022-11-04
CN202211380898.0A CN117998649A (en) 2022-11-04 2022-11-04 Communication method and related equipment

Publications (1)

Publication Number Publication Date
WO2024093908A1 true WO2024093908A1 (en) 2024-05-10

Family

ID=90896211

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/127744 WO2024093908A1 (en) 2022-11-04 2023-10-30 Communication method and related device

Country Status (2)

Country Link
CN (1) CN117998649A (en)
WO (1) WO2024093908A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108633088A (en) * 2017-03-24 2018-10-09 华为技术有限公司 The method and apparatus of scheduling of resource
CN110474849A (en) * 2018-05-10 2019-11-19 华为技术有限公司 The method and communication equipment of resource allocation
WO2020193012A1 (en) * 2019-03-28 2020-10-01 Sony Corporation Communications device, infrastructure equipment and methods
CN114223296A (en) * 2019-10-31 2022-03-22 Oppo广东移动通信有限公司 Method and terminal equipment for allocating resources for uplink logical channel
CN114364040A (en) * 2019-10-30 2022-04-15 Oppo广东移动通信有限公司 Wireless communication method and terminal device
CN114642051A (en) * 2019-12-06 2022-06-17 华为技术有限公司 Control method and device for uplink data transmission

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108633088A (en) * 2017-03-24 2018-10-09 华为技术有限公司 The method and apparatus of scheduling of resource
CN110474849A (en) * 2018-05-10 2019-11-19 华为技术有限公司 The method and communication equipment of resource allocation
WO2020193012A1 (en) * 2019-03-28 2020-10-01 Sony Corporation Communications device, infrastructure equipment and methods
CN114364040A (en) * 2019-10-30 2022-04-15 Oppo广东移动通信有限公司 Wireless communication method and terminal device
CN114223296A (en) * 2019-10-31 2022-03-22 Oppo广东移动通信有限公司 Method and terminal equipment for allocating resources for uplink logical channel
CN114642051A (en) * 2019-12-06 2022-06-17 华为技术有限公司 Control method and device for uplink data transmission

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI ET AL.: "Discussion on BSR enhancement for XR-specific capacity improvement", 3GPP TSG-RAN WG2 MEETING #119BIS-E R2-2210537, 30 September 2022 (2022-09-30) *
LENOVO: "Discussion on PDU prioritization", 3GPP DRAFT; R2-2209889, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. RAN WG2, no. electronic; 20221010 - 20221019, 30 September 2022 (2022-09-30), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France, XP052263214 *

Also Published As

Publication number Publication date
CN117998649A (en) 2024-05-07

Similar Documents

Publication Publication Date Title
US11051322B2 (en) Data processing method, apparatus, and system
CN108337633B (en) Data distribution configuration method, base station system and user terminal
US20200068602A1 (en) Data packet transmission method and device
JP2009105989A (en) Access point having selective communication speed, scheduling control, and related method relating to wireless local area network (wlan)
JP7262591B2 (en) Wireless communication method and device
EP4142362A1 (en) Communication method and apparatus
WO2020220954A1 (en) Scheduling priority determination method and apparatus
WO2015158004A1 (en) Power configuration method, user equipment and base station
CN110547013A (en) Method for allocating resources for logical channels, terminal equipment and network equipment
EP3706488B1 (en) Uplink data packet resource allocation method and user terminal
WO2013155709A1 (en) Data streaming configuration method, base station system, and user equipment
EP3288309A1 (en) Method of l2 layer data packet processing and electronic device using the same
JP2024509378A (en) Asynchronous channel access control for wireless systems
US20240031870A1 (en) Media data transmission method and communication apparatus
WO2023131331A1 (en) Uplink data transmission method, network device, terminal device, and communication system
WO2024093908A1 (en) Communication method and related device
CN108934079B (en) Resource scheduling method, terminal equipment and network side equipment
WO2022151195A1 (en) Method and apparatus for survival time and communication service availability
WO2021022423A1 (en) Method and device for transmitting data
WO2023197143A1 (en) Base station, user equipment, and extended reality processing method
WO2023151030A1 (en) Base station, user equipment, and wireless communication method for extended reality traffic
WO2023280047A1 (en) Communication method and device
WO2024067374A1 (en) Communication method and apparatus
WO2024093725A1 (en) Data packet processing method and communication apparatus
WO2022056863A1 (en) Switching method and apparatus