CN117998649A - Communication method and related equipment - Google Patents

Communication method and related equipment Download PDF

Info

Publication number
CN117998649A
CN117998649A CN202211380898.0A CN202211380898A CN117998649A CN 117998649 A CN117998649 A CN 117998649A CN 202211380898 A CN202211380898 A CN 202211380898A CN 117998649 A CN117998649 A CN 117998649A
Authority
CN
China
Prior art keywords
data
data set
lch
resources
value
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202211380898.0A
Other languages
Chinese (zh)
Inventor
刘南南
李秉肇
强鹂
范强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202211380898.0A priority Critical patent/CN117998649A/en
Priority to PCT/CN2023/127744 priority patent/WO2024093908A1/en
Publication of CN117998649A publication Critical patent/CN117998649A/en
Pending legal-status Critical Current

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

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 application provides a communication method which is used for avoiding or reducing the influence on the transmission of other data except for a first data set so as to improve the communication efficiency. In the method, a first device of a terminal device allocates resources for a first data set, the first data set being associated with a first Logical Channel (LCH); the first equipment of the terminal equipment allocates resources for a second data set based on the data quantity of the first data set, and sends the first data set and the second data set in uplink first resources, wherein the second data set is associated with the first LCH; or the first equipment of the terminal equipment determines that resources are not allocated to the first LCH based on the data quantity of the first data set, and sends the first data set in uplink first resources.

Description

Communication method and related equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communications method and related devices.
Background
In the communication system, data/information transmitted from the terminal device to the network device may be referred to as uplink data/uplink information, and data/information transmitted from the terminal device to other terminal devices may carry Sidelink (SL) data/sidelink information. Taking uplink data sent by the terminal device to the network device as an example, the resource used for carrying the uplink data may be referred to as an uplink resource. In general, the terminal device may determine the uplink resources through an indication of the network device.
Currently, the terminal device may determine which Logical Channels (LCHs) of data and/or MAC CEs to carry on a resource through a logical channel priority (logical channel prioritization, LCP) procedure. For data on different LCHs, resources are allocated for the different LCHs based on their priorities. In general, the terminal device will preferentially allocate resources for LCHs of high priority. Since the uplink resources indicated by the network device for a certain terminal device are generally limited, there is a possibility that some of the LCH associated data with lower priority cannot be transmitted on the current uplink resources. However, the data associated with the LCH with the lower priority does not mean that the data can be sent later, which makes it possible that in the above implementation, the data associated with the LCH with the lower priority is not transmitted, and thus the data is invalid.
In one possible improvement, after the terminal device allocates resources for the data to be invalidated in the uplink resources in advance, the terminal device allocates resources for other data based on the priority of LCH in the remaining resources in the uplink resources, so that the data to be invalidated can be preferentially transmitted in the current uplink resources, and further, the data to be invalidated is avoided.
However, since the uplink resources that the terminal device can use are fixed, the implementation of the above-mentioned resources allocated in advance for the data to be invalidated will lead to that the resources that the terminal device can allocate for other LCHs become smaller, and thus affect the transmission of other LCHs.
Disclosure of Invention
The application provides a communication method which is used for avoiding or reducing the influence on the transmission of other data except for a first data set so as to improve the communication efficiency.
The first aspect of the present application provides a communication method, which is performed by a first device, or which is performed by a part of the components in the first device (e.g. a processor, a chip or a system on a chip, etc.), or which may also be implemented by a logic module or software which is capable of implementing all or part of the functions of the first device. In the first aspect and its possible implementation manner, the communication method is described by taking as an example that the first device is executed by the first device, and the first device may be a terminal device. In the method, a first device allocates resources for a first set of data, the first set of data being associated with a first logical channel, LCH; the first device allocates resources for a second data set based on the data amount of the first data set, transmits the first data set and the second data set in the first resources, the second data set being associated with the first LCH; or, the first device determines, based on the data amount of the first data set, that resources are not allocated to the first LCH, and sends the first data set in the first resources.
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 of allocating resources for the second data set based on the data amount of the first data set, the first device sends the first data set and the second data set in the first resources; in the event that it is determined, based on the amount of data of the first data set, that resources are not allocated for the first LCH with which the first data set is associated, the first device transmits the first data set in the first resources. Thus, the first device may determine resources of other data sets (e.g., the second data set) than the first data set based on the data amount of the first data set, so as to avoid or reduce an influence on transmission of other data than the first data set, so as to improve communication efficiency.
In addition, the first device may determine other data (or the second data set) of the first LCH that can be accommodated on the first resource based on the data amount of the first data set, or the first device may determine how much data in the first LCH can be allocated with resources based on the data amount of the first data set, or the first device may determine how much resources can be allocated with data in the first LCH based on the data amount of the first data set, which may avoid the data in the first LCH occupying/allocating/consuming too much resources to starve other LCHs, thereby ensuring fairness among LCHs.
It should be understood that, in the case where the method provided by the present application is applied to communications between a terminal device and a network device, the network device is the receiving party of the first data set (or the first data set and the second data set) sent by the first device. The method provided by the application is applied to the condition that different terminal equipment is in communication (such as SL communication), and the receiving party of the first data set (or the first data set and the second data set) sent by the first equipment is the terminal equipment.
It is to be appreciated that the data sets to which the present application relates (e.g., first data set, and second data set, third data set, etc., which appear later) may include one or more data.
It should be understood that, in the present application, the data set is associated with the LCH (e.g., the first data set is associated with the first LCH, and the second data set appearing later is associated with the first LCH, and the third data set is associated with the first LCH, etc.), which refers to that there is a mapping relationship between the data included in the data set and the LCH, where the mapping relationship may be configured by the second device to the first device, may be configured by a protocol/standard pre-configured to the first device, or may be determined by the first device by other manners, and the present application is not limited thereto.
Alternatively, in the case that 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 an aperiodic first resource configured by the second device.
Alternatively, in the case that the first resource is a side uplink resource, the first resource used by the first device may be a first resource configured by the network device for the first device, or the first resource used by the first device may be a first resource configured by other terminal devices for the first device, or the first resource used by the first device may be a resource determined by the first device itself.
In a possible implementation manner of the first aspect, the data amount of the second data set is less than or equal to any one of the following: an amount of data determined based on a first priority bit rate (prioritized bit rate, PBR), the first PBR being determined based on the amount of data of the first set of data and a configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
Based on the above technical solution, in the case that the first device allocates resources for the second data set based on the data amount 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 defining the manner that the data amount of the second data set is less than or equal to any one of the above, it is possible to avoid affecting the data to be transmitted in other LCHs than the first LCH.
It may be appreciated that the variable corresponding to the LCH (e.g., the first variable corresponding to the first LCH) according to the present application is used to indicate a variable maintained by the first device for the LCH, where the value of the variable may be used to indicate at least one of the following, including:
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.
Alternatively, the variable may be denoted B, bj, or other symbology, as the application is not limited in this regard.
In a possible implementation manner of the first aspect, before determining, based on the data amount of the first data set, that no resource is allocated to the first LCH, the value of the first variable corresponding to the first LCH is a first value or a second value, where the first value is less than or equal to 0, and the second value is less than or equal to 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
Based on the above technical solution, before determining that resources are not allocated 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 less than or equal to 0, so that the first device determines that resources are not currently allocated to the first LCH.
In a possible implementation manner of the first aspect, before determining, based on the data amount of the first data set, that resources are allocated to the second data set, a value of a first variable corresponding to the first LCH is a first value or a second value, where the first value is greater than 0, and the second value is greater than 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
Based on the above technical solution, before determining that resources are not allocated 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 greater than 0, so that the first device determines that resources can be allocated to the first LCH.
In a possible implementation manner of the first aspect, after allocating resources for the second data set based on the data amount of the first data set, the method further includes: resources are allocated for other data sets based on the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
According to the above technical solution, after allocating resources for the second data set based on the data amount of the first data set, the first device may further allocate resources for other data sets based on the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set, so that other data sets other than the first data set and the second data set can be transmitted based on the remaining resources.
It may be appreciated that in the process of allocating resources for the second data set by the first device, resources are allocated for the second data set according to priorities of one or more LCHs, where values of first variables corresponding to the one or more LCHs are all greater than 0. And in the process that the first device allocates resources for other data sets based on the resources allocated for the first data set and the remaining resources except the resources allocated for the second data set, allocating resources for the other data sets according to the priority of one or more LCHs, wherein the value of the first variable corresponding to the one or more LCHs may be greater than 0 or less than or equal to 0.
In a possible implementation manner of the first aspect, before allocating resources to the first data set, a value of a first variable corresponding to the first LCH is greater than 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 for the first data set.
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 in the process of allocating resources to the first data set.
In a possible implementation manner 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; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
It may be appreciated 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.
For example, 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, that is, update the first value to the second value, so that in the implementation process, before determining that resources are not allocated for the first LCH (or determining that resources are allocated 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 the second value.
For another example, after the first device allocates resources for 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 implementation process, before determining that resources are not allocated for the first LCH (or determining that resources are allocated 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 the first value.
In a possible implementation manner of the first aspect, after allocating resources to the second data set based on the data amount of the first data set, or after determining that resources are not allocated 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 any one of the following: a difference between the second value and the data volume of the second data set; a difference between the first value and the data volume of the first data set and the data volume of the second data set; a difference between the first value and the data volume of the first data set; or, a difference between the first value and the data volume of the second data set; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
Based on the above technical solution, in the process that the first device allocates resources for the first data set and in the process that the first device allocates resources for the second data set, the first device may perform at least one update process on the first variable corresponding to the first LCH, so that the first device may allocate resources for other data except for the first data set and the second data set based on the at least one updated first variable, so as to avoid or reduce an impact on transmission of the other data.
In a possible implementation manner of the first aspect, the first device allocating resources to the second data set based on the data amount of the first data set, or determining that resources are not allocated to the first LCH based on the data amount of the first data set includes: the first device allocates resources for the second data set based on the first parameter or determines not to allocate resources for the first LCH based on the first parameter; wherein the first parameter is associated with a resource allocation of the first 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. Wherein the first data set is associated with the first LCH, the first parameter is associated with a resource allocation of the first LCH, and for this purpose the first parameter may be used as one of the resource allocation bases of the second data set.
In a possible implementation manner of the first aspect, the first parameter includes any one of the following: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
Based on the above technical solution, the first parameter associated with the resource allocation of the first LCH may be implemented by any one of the above to improve flexibility of implementation of the solution.
In a possible implementation manner of the first aspect, the method further includes: the first device receives first indication information indicating that resources are allocated for the first LCH based on the data amount of the first data set or that resources are not allocated for the first LCH based on the data amount of the first data set.
Based on the above technical solution, the first device may further receive first indication information, so that the first device may implement resource allocation based on the indication of the second device.
In a possible implementation manner of the first aspect, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
Based on the above technical solution, the first PBR may be related to the data volume of the first data set to which the resources have been allocated by the above manner, so that the first PBR may be used as one of the bases for allocating resources to the second data set, so that the influence of the resources allocated to the first data set on the transmission of other data may be avoided or reduced.
In a possible implementation manner of the first aspect, the first data set includes K parts; the first device allocating resources for a first data set includes: the first device allocates resources for the first data set based on any one of: and sequencing the K parts from small to large in the residual time length, sequencing the K parts from small to large in the residual time length range, sequencing the K parts from high to low in the data priority, and sequencing the K logical channels from high to low in the channel priority.
Based on the technical scheme, in the process of allocating resources for the first data set, the first device can allocate resources to K parts contained in the first data set in sequence through the multiple modes, so that the flexibility of scheme implementation is improved.
In a possible implementation manner of the first aspect, the allocating, by the first device, resources for the first data set includes: the first device allocates resources for the first LCH based on a second PBR, the second PBR determined based on a data amount of a third data set; 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.
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 of the first data set, where the second PBR is determined based on the data amount of the third data set, so that the data amount of the third data set is used as one of the resource allocation bases of the first data set, so as to enable part or all of the data sets with the remaining time 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 value, 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 value. The third data set may be understood as a data set with a remaining time to be sent by the first device being less than or equal to a threshold, and the first data set may be understood as a data set with a remaining time to be sent by the first device actually in the first resource being less than or equal to the threshold.
Alternatively, the remaining time corresponding to the data set (e.g., the third data set) is less than or equal to the threshold, which may be expressed as the data set being the data about to fail, the time about to fail of the data set 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 the data with the remaining packet delay budget (REMAINING PACKET DELAY budgeting, REMAINING PDB) less than or equal to the threshold, and so on.
In a possible implementation manner of the first aspect, the second PBR is a 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 size of the third data set.
Based on the above technical solution, in the case that the second PBR is determined based on the data size of the third data set, the value of the second PBR may be implemented in the above multiple manners, and since the value of the second PBR is related to the data size of the third data set and the configured PBR, the influence of the resource allocation procedure for the first data set on other data can be avoided or reduced as much as possible.
In a possible implementation manner of the first aspect, the method further includes: the first device receives second indication information indicating that resources are allocated for the first LCH based on the second PBR or that resources are not allocated for the first LCH based on the second PBR.
Based on the above technical solution, the first device may further receive the 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 one of the following:
allocating resources for the data meeting the condition A based on the ascending order of the residual time corresponding to the data;
allocating resources for the data meeting the condition A based on the ascending sequence of the range of the residual time corresponding to the data;
Allocating resources for the data meeting the condition A based on the priority corresponding to the data; or alternatively, the first and second heat exchangers may be,
Assigning resources to the data satisfying the condition a in descending order based on the priority of LCH;
Wherein, the condition A includes that the remaining time corresponding to the data is less than or equal to the threshold value.
Based on the above technical scheme, in the process of allocating resources for the first data set, the data meeting the condition a or the data with smaller residual time can be put on the first resources as much as possible for transmission, or the data meeting the condition a or the data with smaller residual time can be transmitted as soon as possible/preferentially, and some data with smaller residual time can be prevented from overtime, so that the transmission reliability can be improved, and the system capacity can be also improved. Fairness between different LCHs can also be ensured, avoiding starvation of certain LCHs (e.g., low priority LCHs).
The second aspect of the present application provides a communication method, which is performed by the second device, or which is performed by a part of the components in the second device (e.g. a processor, a chip or a system on a chip, etc.), or which may also be implemented by a logic module or software which is capable of implementing all or part of the functionality of the second device. In the second aspect and its possible implementation manner, the communication method is described by taking the example that the second device is executed by a second device, and the second device may be a terminal device or a network device. In the method, a 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 each associated with a first logical channel, LCH, the resources allocated for the second data set being determined based on the data amount of the first data set.
Based on the above technical solution, after determining the first resource, the second device may receive the first data set in the first resource, or the second device may 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 each associated with a first logical channel, LCH, the resources allocated for the second data set being determined based on the data amount of the first data set. In other words, after the first device allocates resources for the first data set associated with the first LCH, the first device transmits the first data set and the second data set in the first resources in a case where resources are allocated for the second data set based on the data amount of the first data set; in the event that it is determined, based on the amount of data of the first data set, that resources are not allocated for the first LCH with which the first data set is associated, the first device transmits the first data set in the first resources. Thus, the first device may determine resources of other data sets (e.g., the second data set) than the first data set based on the data amount of the first data set, so as to avoid or reduce an influence on transmission of other data than the first data set, so as to improve communication efficiency.
In addition, the first device may determine other data (or the second data set) of the first LCH that can be accommodated on the first resource based on the data amount of the first data set, or the first device may determine how much data in the first LCH can be allocated with resources based on the data amount of the first data set, or the first device may determine how much resources can be allocated with data in the first LCH based on the data amount of the first data set, which may avoid the data in the first LCH occupying/allocating/consuming too much resources to starve other LCHs, thereby ensuring fairness among LCHs.
In a possible implementation manner of the second aspect, the data amount of the second data set is less than or equal to any one of the following: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
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 defining the data amount of the second data set to be less than or equal to any one of the above, it is possible to avoid affecting the data to be transmitted in other LCHs except for the first LCH.
In a possible implementation manner of the second aspect, the method further includes: the second device receives other data sets in the first resource, wherein the resources allocated for the other data sets are the remaining resources other than the resources allocated for the first data set and the resources allocated for the second data set.
Based on the above technical solution, the second device may further receive other data sets in the first resource, in other words, for the first device, after allocating resources for the second data set based on the data amount of the first data set, the first device may further allocate resources for other data sets based on the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set, so that other data sets other than the first data set and the second data set can be transmitted based on the remaining resources.
In a possible implementation manner of the second aspect, the resources allocated for the second data set are determined based on a first parameter, the first parameter being associated with the resource allocation of the first LCH.
Based on the above-mentioned technical solution, the resources allocated for the second data set are determined based on the first parameter, in other words, for the first device, 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. Wherein the first data set is associated with the first LCH, the first parameter is associated with a resource allocation of the first LCH, and for this purpose the first parameter may be used as one of the resource allocation bases of the second data set.
In a possible implementation manner of the second aspect, the first parameter includes any one of the following: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
Based on the above technical solution, the first parameter associated with the resource allocation of the first LCH may be implemented by any one of the above to improve flexibility of implementation of the solution.
In a possible implementation manner of the second aspect, the method further includes: and sending first indication information, wherein the first indication information indicates that resources are allocated for the first LCH based on the data quantity of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data quantity of the first data set.
Based on the above technical solution, the second device may further send first indication information, so that the first device may implement resource allocation based on the indication of the second device.
In a possible implementation manner of the second aspect, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
Based on the above technical solution, the first PBR may be related to the data volume of the first data set to which the resources have been allocated by the above manner, so that the first PBR may be used as one of the bases for allocating resources to the second data set, so that the influence of the resources allocated to the first data set on the transmission of other data may be avoided or reduced.
In a possible implementation manner of the second aspect, the resources allocated for the second data set are determined based on the resources allocated for the first LCH by a second PBR, which is determined based on the data amount of the third data set; 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.
Based on the above technical solution, the resources allocated to the second data set are determined based on the resources allocated to the first LCH by the second PBR, in other words, for the first device, in the process of allocating resources to the first data set, the first device may use the second PBR as one of the resource allocation bases of the first data set, where the second PBR is determined based on the data amount of the third data set, so that the data amount of the third data set is used as one of the resource allocation bases of the first data set, so as to enable part or all of the data sets with the remaining time less than or equal to the threshold to be successfully transmitted.
In a possible implementation manner of the second aspect, the second PBR is a minimum value of the data volume and the configured PBR of the third data set; or, the value of the second PBR is the data size of the third data set.
Based on the above technical solution, in the case that the second PBR is determined based on the data size of the third data set, the value of the second PBR may be implemented in the above multiple manners, and since the value of the second PBR is related to the data size of the third data set and the configured PBR, the influence of the resource allocation procedure for the first data set on other data can be avoided or reduced as much as possible.
In a possible implementation manner of the second aspect, the method further includes: the second device sends second indication information indicating that resources are allocated for the first LCH based on the second PBR or that resources are not allocated for the first LCH based on the second PBR.
Based on the above technical solution, the second device may further 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 one of the following:
allocating resources for the data meeting the condition A based on the ascending order of the residual time corresponding to the data;
allocating resources for the data meeting the condition A based on the ascending sequence of the range of the residual time corresponding to the data;
Allocating resources for the data meeting the condition A based on the priority corresponding to the data; or alternatively, the first and second heat exchangers may be,
Assigning resources to the data satisfying the condition a in descending order based on the priority of LCH;
Wherein, the condition A includes that the remaining time corresponding to the data is less than or equal to the threshold value.
Based on the above technical scheme, in the process of allocating resources for the first data set, the data meeting the condition a or the data with smaller residual time can be put on the first resources as much as possible for transmission, or the data meeting the condition a or the data with smaller residual time can be transmitted as soon as possible/preferentially, and some data with smaller residual time can be prevented from overtime, so that the transmission reliability can be improved, and the system capacity can be also improved. Fairness between different LCHs can also be ensured, avoiding starvation of certain LCHs (e.g., low priority LCHs).
A third aspect of the application provides a communication method, the method being performed by a first device, or the method being performed by a part of a component (e.g. a processor, a chip or a system on a chip, etc.) in the first device, or the method being further implemented by a logic module or software capable of implementing all or part of the functionality of the first device. In the third aspect and its possible implementation manner, the communication method is described by taking the example that the first device is executed by the first device, and the first device may be a terminal device. In the method, a first device allocates resources for a first LCH based on a second PBR; wherein the second PBR is determined based on the data volume of the third data set; the third data set is associated with the first LCH, and a 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 a first resource, wherein the first data set is part or all of the third data set.
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 of the first data set, where the second PBR is determined based on the data amount of the third data set, so that the data amount of the third data set is used as one of the resource allocation bases of the first data set, so as to enable part or all of the data sets with the remaining time less than or equal to the threshold to be successfully transmitted. Moreover, since the value of the second PBR is related to the data amount of the third data set, the influence of the resource allocation procedure for the first data set on other data can be avoided or reduced as much as possible.
In a possible implementation manner of the third aspect, the second PBR is a 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 size of the third data set.
Based on the above technical solution, in the case that the second PBR is determined based on the data size of the third data set, the value of the second PBR may be implemented in the above multiple manners, and since the value of the second PBR is related to the data size of the third data set and the configured PBR, the influence of the resource allocation procedure for the first data set on other data can be avoided or reduced as much as possible.
In a possible implementation manner of the third aspect, the method further includes: the first device receives second indication information indicating that resources are allocated for the first LCH based on the second PBR or that resources are not allocated for the first LCH based on the second PBR.
Based on the above technical solution, the first device may further receive the 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 third aspect, the method further includes: the first device allocating resources for a second data set based on the data amount of the first data set, the second data set being transmitted in the first resources, the second data set being associated with the first LCH; or, determining that resources are not allocated for the first LCH based on the data amount of the first data set.
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 of allocating resources for the second data set based on the data amount of the first data set, the first device sends the first data set and the second data set in the first resources; in the event that it is determined, based on the amount of data of the first data set, that resources are not allocated for the first LCH with which the first data set is associated, the first device transmits the first data set in the first resources. Thus, the first device may determine resources of other data sets (e.g., the second data set) than the first data set based on the data amount of the first data set, so as to avoid or reduce an influence on transmission of other data than the first data set, so as to improve communication efficiency.
It should be noted that, in the implementation process related to the third aspect (including at least one of the term interpretation, the multiple possible values of the first variable related to the first LCH, the process that the first device determines to allocate resources for the first data set, the process that the first device allocates resources for the second data set based on the data amount of the first data set, and the process that the first device determines not to allocate resources for the first LCH based on the data amount of the first data set, etc.), reference may be made to the description of other embodiments (such as the first aspect and possible implementation manners thereof) of the present application, and corresponding technical effects are achieved, which are not described herein.
A fourth aspect of the application provides a communication method, which is performed by the second device, or which is performed by a part of the components in the second device (e.g. a processor, a chip or a system-on-chip, etc.), or which may also be implemented by a logic module or software which is capable of implementing all or part of the functionality of the second device. In a fourth aspect and possible implementations thereof, the communication method is described as being performed by a second device, which may be a terminal device or a network device. In the method, the second device determines uplink data; the second device receives a first data set at the first resource, wherein 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 residual time corresponding to the third data set is less than or equal to a threshold value; wherein the resources carrying the first data set are resources allocated for the first logical channel LCH based on a second PBR, which is determined based on the data amount of the third data set.
Based on the above technical solution, the second device receives the first data set in the first resource, where the resource carrying the first data set is a resource allocated for the first logical channel LCH based on the second PBR, in other words, for the first device, in a process of allocating resources for the first data set, the first device may use the second PBR as one of the resource allocation bases of the first data set, where the second PBR is determined based on the data amount of the third data set, so that the data amount of the third data set is one of the resource allocation bases of the first data set, so as to enable a part or all of the data sets with the remaining time less than or equal to the threshold to be successfully transmitted. Moreover, since the value of the second PBR is related to the data amount of the third data set, the influence of the resource allocation procedure for the first data set on other data can be avoided or reduced as much as possible.
In a possible implementation manner of the fourth aspect, the second PBR is a minimum value of the data volume and the configured PBR of the third data set; or, the value of the second PBR is the data size of the third data set.
Based on the above technical solution, in the case that the second PBR is determined based on the data size of the third data set, the value of the second PBR may be implemented in the above multiple manners, and since the value of the second PBR is related to the data size of the third data set and the configured PBR, the influence of the resource allocation procedure for the first data set on other data can be avoided or reduced as much as possible.
In a possible implementation manner of the fourth aspect, the method further includes: the second device sends second indication information indicating that resources are allocated for the first LCH based on the second PBR or that resources are not allocated for the first LCH based on the second PBR.
Based on the above technical solution, the second device may further 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 fourth aspect, the method further includes: the second device receives a second set of data, the second set of data associated with the first LCH; wherein the resources allocated for the second data set are determined based on the amount of data of the first data set.
Based on the above technical solution, the second device may 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 each associated with a first LCH, the resources allocated for the second data set being determined based on the amount of data of the first data set. In other words, after the first device allocates resources for the first data set associated with the first LCH, the first device transmits the first data set and the second data set in the first resources in a case where resources are allocated for the second data set based on the data amount of the first data set; in the event that it is determined, based on the amount of data of the first data set, that resources are not allocated for the first LCH with which the first data set is associated, the first device transmits the first data set in the first resources. Thus, the first device may determine resources of other data sets (e.g., the second data set) than the first data set based on the data amount of the first data set, so as to avoid or reduce an influence on transmission of other data than the first data set, so as to improve communication efficiency.
It should be noted that, in the implementation process related to the fourth aspect (including the term interpretation, and at least one of the process of receiving the first data set by the second device, and the process of receiving the first data set and the second data set by the second device, etc.), reference may be made to descriptions of other embodiments of the present application (for example, the second aspect and possible implementation manners thereof), and corresponding technical effects are achieved, which are not described herein.
A fifth aspect of the application provides a communication method, which is performed by the first device, or by a part of the components in the first device (e.g. a processor, a chip or a system-on-chip, etc.), or which may also be implemented by a logic module or software which is capable of implementing all or part of the functions of the first device. In a fifth aspect and its possible implementation manner, the communication method is described by taking as an example that the first device is executed by the first device, and the first device may be a terminal device. In the method, the first device allocates resources for the first LCH based on the data amount of the third data set; wherein the third data set is associated with the first LCH, and a 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 data in the first LCH; the first device transmits a first data set in a first resource, the first data set being part or all of the third data set.
Based on the above technical solution, after the first device allocates resources for the first LCH based on the data amount 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 resources. Wherein the priority of the first LCH carrying the first data set is determined based on data in the first LCH. In other words, in allocating resources for the first data set, the first device may use a priority of the first LCH as one of the resource allocation bases of the first data set, where the priority of the first LCH is determined based on the data amount of the third data set, so that the data amount of the third data set is used as one of the resource allocation bases of the first data set, so as to enable successful transmission of a part or all of the data sets with a remaining time less than or equal to the threshold. Moreover, since the resources allocated for the first data set are associated with the data amount of the third data set, the influence of the resource allocation procedure for the first data set on other data can be avoided or reduced as much as possible.
In a possible implementation manner of the fifth aspect, the data amount of the first data set is a minimum value in at least one item of information below the data amount of the third data set, the at least one item of information includes: allocating resources for other data or other signaling, remaining resources after the resources are allocated; or, the second PBR is the minimum value in 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.
Based on the above technical solution, by defining the data amount of the first data set to be less than or equal to any one of the above, it is possible to avoid influencing the data to be transmitted in the LCH 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 amount of the first data set may be the same as the data amount of the third data set, so as to enable all data sets with a remaining time less than or equal to the threshold to be successfully transmitted.
In a possible implementation manner of the fifth aspect, the method further includes: the first device receives third indication information indicating that resources are allocated for the first LCH based on the data amount of the third data set, or the third indication information indicating that resources are not allocated for the first LCH based on the data amount of the third data set.
Based on the above technical solution, the first device may further receive third indication information, so that the first device determines, based on the indication of the second device, whether to allocate resources for the first LCH based on the data amount of the third data set.
In a possible implementation manner of the fifth aspect, the method further includes: the first device allocating resources for a second data set based on the data amount of the first data set, the second data set being transmitted in the first resources, the second data set being associated with the first LCH; or, determining that resources are not allocated for the first LCH based on the data amount of the first data set.
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 of allocating resources for the second data set based on the data amount of the first data set, the first device sends the first data set and the second data set in the first resources; in the event that it is determined, based on the amount of data of the first data set, that resources are not allocated for the first LCH with which the first data set is associated, the first device transmits the first data set in the first resources. Thus, the first device may determine resources of other data sets (e.g., the second data set) than the first data set based on the data amount of the first data set, so as to avoid or reduce an influence on transmission of other data than the first data set, so as to improve communication efficiency.
It should be noted that, in the implementation process related to the fifth aspect (including the term interpretation, the multiple possible values of the first variable related to the first LCH, the process that the first device determines to allocate resources for the first data set, the process that the first device allocates resources for the second data set based on the data amount of the first data set, and at least one of the process that the first device determines not to allocate resources for the first LCH based on the data amount of the first data set, etc.), reference may be made to the description of other embodiments (such as the first aspect and possible implementation manners thereof) of the present application, and corresponding technical effects are achieved, which are not repeated herein.
A sixth aspect of the application provides a communication method, the method being performed by the second device, or the method being performed by a part of the components in the second device (e.g. a processor, a chip or a system on a chip, etc.), or the method being further implemented by a logic module or software capable of implementing all or part of the functions of the second device. In a sixth aspect and its possible implementation manner, the communication method is described by taking as an example that the second device is performed by a second device, where the second device may be a terminal device or a network device. In the method, a second device determines a first resource; the second device receives a first data set in the first resource, wherein 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 residual time corresponding to the third data set is less than or equal to a threshold value; wherein the resources carrying the first data set are resources allocated for a 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.
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 for the first logical channel LCH based on the data amount of the third data set. In other words, for the first device, in allocating resources for the first data set, the first device may use a priority of the first LCH as one of the resource allocation bases of the first data set, where the priority of the first LCH is determined based on the data amount of the third data set, so that the data amount of the third data set is used as one of the resource allocation bases of the first data set, so as to enable a part or all of the data sets with the remaining time less than or equal to the threshold to be successfully transmitted. Moreover, since the resources allocated for the first data set are associated with the data amount of the third data set, the influence of the resource allocation procedure for the first data set on other data can be avoided or reduced as much as possible.
In a possible implementation manner of the sixth aspect, the data amount of the first data set is a minimum value in at least one piece of information below the data amount of the third data set, the at least one piece of information includes: allocating resources for other data or other signaling, remaining resources after the resources are allocated; or, the second PBR is the minimum value in 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.
Based on the above technical solution, by defining the data amount of the first data set to be less than or equal to any one of the above, it is possible to avoid influencing the data to be transmitted in the LCH 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 amount of the first data set may be the same as the data amount of the third data set, so as to enable all data sets with a remaining time less than or equal to the threshold to be successfully transmitted.
In a possible implementation manner of the sixth aspect, the method further includes: the second device sends third indication information indicating that resources are allocated for the first LCH based on the data amount of the third data set, or the third indication information indicating that resources are not allocated for the first LCH based on the data amount of the third data set.
Based on the above technical solution, the second device may further send third indication information, so that the first device determines, based on the indication of the second device, whether to allocate resources for the first LCH based on the data amount of the third data set.
In a possible implementation manner of the sixth aspect, the method further includes: the second device receives a second set of data in the first resource, the second set of data being associated with the first LCH, the resource carrying the second set of data being determined based on the amount of data of the first set of data.
Based on the above technical solution, the second device may further receive a second data set in the first resource, and the resource carrying the second data set is determined based on the data amount of the first data set. In other words, for a first device, after the first device allocates resources for a first data set associated with a first LCH, the first device transmits the first data set and a second data set in the first resources if resources are allocated for the second data set based on an amount of data of the first data set; in the event that it is determined, based on the amount of data of the first data set, that resources are not allocated for the first LCH with which the first data set is associated, the first device transmits the first data set in the first resources. Thus, the first device may determine resources of other data sets (e.g., the second data set) than the first data set based on the data amount of the first data set, so as to avoid or reduce an influence on transmission of other data than the first data set, so as to improve communication efficiency.
It should be noted that, in the implementation process related to the sixth aspect (including the term interpretation, and at least one of the process of receiving the first data set by the second device, and the process of receiving the first data set and the second data set by the second device, etc.), reference may be made to descriptions of other embodiments of the present application (for example, the second aspect and possible implementation manners thereof), and corresponding technical effects are achieved, which are not described herein.
A seventh aspect of the present application provides a communications apparatus that is a first device, or that is part of a component (e.g., a processor, a chip, or a system-on-a-chip, etc.) in the first device, or that can be a logic module or software that is capable of implementing all or part of the functionality of the first device. In a seventh aspect and its possible implementation manner, the communication apparatus is described as an example performed by a first device, which may be a terminal device.
The device comprises a processing unit and a receiving and transmitting unit; the processing unit is configured to allocate resources for a first data set, the first data set being associated with a first logical channel, LCH; the processing unit is further configured to allocate resources for a second data set based on the data amount of the first data set, the transceiving unit is configured to transmit the first data set and the second data set in a first resource, the second data set being associated with the first LCH; or, the processing unit is further configured to determine that the first LCH is not allocated resources based on the data amount of the first data set, and the transceiver unit is further configured to transmit the first data set in the first resources.
In a possible implementation manner of the seventh aspect, the data amount of the second data set is less than or equal to any one of the following: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the seventh aspect, before determining, based on the data amount of the first data set, that no resource is allocated to the first LCH, the value of the first variable corresponding to the first LCH is a first value or a second value, where the first value is less than or equal to 0, and the second value is less than or equal to 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the seventh aspect, before determining, based on the data amount of the first data set, that the resource is allocated to the second data set, the value of the first variable corresponding to the first LCH is a first value or a second value, where the first value is greater than 0, and the second value is greater than 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the seventh aspect, after allocating resources for the second data set based on the data amount of the first data set, the processing unit is further configured to allocate resources for other data sets based on the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
In a possible implementation manner of the seventh aspect, before allocating resources to the first data set, a value of the first variable corresponding to the first LCH is greater than 0.
In a possible implementation manner 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; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the seventh aspect, after allocating resources to the second data set based on the data amount of the first data set, or after determining that resources are not allocated 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 any one of the following: a difference between the second value and the data volume of the second data set; a difference between the first value and the data volume of the first data set and the data volume of the second data set; a difference between the first value and the data volume of the first data set; or, a difference between the first value and the data volume of the second data set; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the seventh aspect, the processing unit is specifically configured to allocate resources for the second data set based on the first parameter, or determine that resources are not allocated for the first LCH based on the first parameter; wherein the first parameter is associated with a resource allocation of the first LCH.
In a possible implementation manner of the seventh aspect, the first parameter includes any one of the following: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the seventh aspect, the transceiver unit is further configured to receive first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In a possible implementation manner of the seventh aspect, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
In a possible implementation manner of the seventh aspect, the first data set includes K parts; the processing unit is specifically configured to allocate resources for the first data set based on any one of the following, including: and sequencing the K parts from small to large in the residual time length, sequencing the K parts from small to large in the residual time length range, sequencing the K parts from high to low in the data priority, and sequencing the K logical channels from high to low in the channel priority.
In a possible implementation manner of the seventh aspect, the processing unit is specifically configured to: allocating resources for the first LCH based on a second PBR, the second PBR being determined based on the data volume of the third data set; 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.
In a possible implementation manner of the seventh aspect, the second PBR is a minimum value of the data volume and the configured PBR of the third data set; or, the value of the second PBR is the data size of the third data set.
In a possible implementation manner of the seventh aspect, the transceiver unit is further configured 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, the allocating, by the processing unit, resources for the first data set includes any one of the following:
allocating resources for the data meeting the condition A based on the ascending order of the residual time corresponding to the data;
allocating resources for the data meeting the condition A based on the ascending sequence of the range of the residual time corresponding to the data;
Allocating resources for the data meeting the condition A based on the priority corresponding to the data; or alternatively, the first and second heat exchangers may be,
Assigning resources to the data satisfying the condition a in descending order based on the priority of LCH;
Wherein, the condition A includes that the remaining time corresponding to the data is less than or equal to the threshold value.
In the seventh aspect of the embodiments of the present application, the constituent modules of the communication device may also be configured to execute the steps executed in each possible implementation manner of the first aspect, and achieve corresponding technical effects, and all details may refer to the first aspect, which is not described herein.
An eighth aspect of the present application provides a communications apparatus, the apparatus being a second device, or the apparatus being part of a component (e.g. a processor, a chip or a system-on-chip, etc.) in the second device, or the apparatus also being a logic module or software capable of implementing all or part of the functionality of the first device. In an eighth aspect and possible implementations thereof, the description is given taking the communication apparatus as an example that is performed by a second device, which may be a terminal device or a network device.
The device comprises a processing unit and a receiving and transmitting unit; the processing unit is used for determining a first resource; the transceiver unit is configured to receive a first data set in the first resource, or the transceiver unit is configured 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 each associated with a first logical channel, LCH, the resources allocated for the second data set being determined based on the data amount of the first data set.
In a possible implementation manner of the eighth aspect, the data amount of the second data set is less than or equal to any one of the following: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the eighth aspect, the transceiver unit is further configured to receive other data sets in the first resource, where the resources allocated for the other data sets are resources allocated for the first data set and remaining resources other than the resources allocated for the second data set.
In a possible implementation manner of the eighth aspect, the resources allocated for the second data set are determined based on a first parameter, the first parameter being associated with the resource allocation of the first LCH.
In a possible implementation manner of the eighth aspect, the first parameter includes any one of the following: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the eighth aspect, the transceiver unit is further configured to send first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In a possible implementation manner of the eighth aspect, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
In a possible implementation manner of the eighth aspect, the resources allocated for the second data set are determined based on resources allocated for the first LCH by a second PBR, the second PBR being determined based on the data amount of the third data set; 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.
In a possible implementation manner of the eighth aspect, the second PBR is a minimum value of the data volume and the configured PBR of the third data set; or, the value of the second PBR is the data size of the third data set.
In a possible implementation manner of the eighth aspect, the transceiver unit is further configured 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.
In a possible implementation manner of the eighth aspect, the allocating, by the processing unit, resources to the first data set includes any one of the following:
allocating resources for the data meeting the condition A based on the ascending order of the residual time corresponding to the data;
allocating resources for the data meeting the condition A based on the ascending sequence of the range of the residual time corresponding to the data;
Allocating resources for the data meeting the condition A based on the priority corresponding to the data; or alternatively, the first and second heat exchangers may be,
Assigning resources to the data satisfying the condition a in descending order based on the priority of LCH;
Wherein, the condition A includes that the remaining time corresponding to the data is less than or equal to the threshold value.
In the eighth aspect of the embodiment of the present application, the constituent modules of the communication device may also be configured to execute the steps executed in each possible implementation manner of the second aspect, and achieve corresponding technical effects, and all details may refer to the second aspect, which is not described herein.
A ninth aspect of the application provides a communications apparatus that is a first device, or that is part of a component (e.g. a processor, chip or system-on-a-chip, etc.) in the first device, or that can be a logic module or software that is capable of implementing all or part of the functionality of the first device. In a seventh aspect and its possible implementation manner, the communication apparatus is described as an example performed by a first device, which may be a terminal device.
The device comprises a processing unit and a receiving and transmitting unit; the processing unit is used for distributing resources for the first logic channel LCH based on the second PBR; wherein the second PBR is determined based on the data volume of the third data set; the third data set is associated with the first LCH, and a remaining time corresponding to the third data set is less than or equal to a threshold; the transceiver unit is configured to send a first data set in a first resource, where the first data set is part or all of the third data set.
In a possible implementation manner of the ninth aspect, the second PBR is a 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 size of the third data set.
In a possible implementation manner of the ninth aspect, the transceiver unit is further configured 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 ninth aspect, the determining unit is further configured to allocate resources for a second data set based on a data amount of the first data set, send the second data set in the first resources, where the second data set is associated with the first LCH; or, determining that resources are not allocated for the first LCH based on the data amount of the first data set.
In a possible implementation manner of the ninth aspect, the data amount of the second data set is less than or equal to any one of the following: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the ninth aspect, before determining, based on the data amount of the first data set, that no resource is allocated to the first LCH, the value of the first variable corresponding to the first LCH is a first value or a second value, where the first value is less than or equal to 0, and the second value is less than or equal to 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the ninth aspect, before determining, based on the data amount of the first data set, that resources are allocated to the second data set, the value of the first variable corresponding to the first LCH is a first value or a second value, where the first value is greater than 0, and the second value is greater than 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the ninth aspect, after allocating resources for the second data set based on the data amount of the first data set, the processing unit is further configured to allocate resources for other data sets based on the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
In a possible implementation manner of the ninth aspect, before allocating resources to the first data set, a value of the first variable corresponding to the first LCH is greater than 0.
In a possible implementation manner 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; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the ninth aspect, after allocating resources to the second data set based on the data amount of the first data set, or after determining that resources are not allocated 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 any one of the following: a difference between the second value and the data volume of the second data set; a difference between the first value and the data volume of the first data set and the data volume of the second data set; a difference between the first value and the data volume of the first data set; or, a difference between the first value and the data volume of the second data set; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the ninth aspect, the processing unit is specifically configured to allocate resources for the second data set based on the first parameter, or determine that resources are not allocated for the first LCH based on the first parameter; wherein the first parameter is associated with a resource allocation of the first LCH.
In a possible implementation manner of the ninth aspect, the first parameter includes any one of the following: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the ninth aspect, the transceiver unit is further configured to receive first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In a possible implementation manner of the ninth aspect, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
In a possible implementation manner of the ninth aspect, the first data set includes K parts; the processing unit is specifically configured to allocate resources for the first data set based on any one of the following, including: and sequencing the K parts from small to large in the residual time length, sequencing the K parts from small to large in the residual time length range, sequencing the K parts from high to low in the data priority, and sequencing the K logical channels from high to low in the channel priority.
In the ninth aspect of the embodiment of the present application, the constituent modules of the communication device may also be configured to execute the steps executed in each possible implementation manner of the third aspect, and achieve corresponding technical effects, and all details may refer to the third aspect, which is not described herein.
A tenth aspect of the application provides a communication apparatus, the apparatus being a second device, or the apparatus being part of a component (e.g. a processor, a chip or a system-on-chip, etc.) in the second device, or the apparatus also being logic modules or software capable of implementing all or part of the functionality of the first device. In an eighth aspect and possible implementations thereof, the description is given taking the communication apparatus as an example that is performed by a second device, which may be a terminal device or a network device.
The device comprises a processing unit and a receiving and transmitting unit; the processing unit is used for determining uplink data; the receiving and transmitting unit is configured to receive a first data set at the first resource, where the first data set is part or all of the third data set, the third data set is associated with the first LCH, and a 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 for the first logical channel LCH based on a second PBR, which is determined based on the data amount of the third data set.
In a possible implementation manner of the tenth aspect, the second PBR is a 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 size of the third data set.
In a possible implementation manner of the tenth aspect, the transceiver unit is further configured 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.
In a possible implementation manner of the tenth aspect, the transceiver unit is further configured to receive a second data set, where the second data set is associated with the first LCH; wherein the resources allocated for the second data set are determined based on the amount of data of the first data set.
In a possible implementation manner of the tenth aspect, the data amount of the second data set is less than or equal to any one of the following: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the tenth aspect, the transceiver unit is further configured to receive other data sets in the first resource, where the resources allocated for the other data sets are resources allocated for the first data set and remaining resources other than the resources allocated for the second data set.
In a possible implementation manner of the tenth aspect, the resources allocated for the second data set are determined based on a first parameter, the first parameter being associated with the resource allocation of the first LCH.
In a possible implementation manner of the tenth aspect, the first parameter includes any one of the following: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the tenth aspect, the transceiver unit is further configured to send first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In a possible implementation manner of the tenth aspect, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume 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 may also be configured to execute the steps executed in each possible implementation manner of the fourth aspect, and achieve corresponding technical effects, and all specific details may refer to the fourth aspect, which is not described herein again.
An eleventh aspect of the present application provides a communication apparatus, which is a first device, or which is part of a component (e.g. a processor, a chip or a system-on-chip, etc.) in the first device, or which may also be a logic module or software capable of implementing all or part of the functionality of the first device. In a seventh aspect and its possible implementation manner, the communication apparatus is described as an example performed by a first device, which may be a terminal device.
The device comprises a processing unit and a receiving and transmitting unit; the processing unit is used for distributing resources for the first logic channel LCH based on the data volume of the third data set; wherein the third data set is associated with the first LCH, and a 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 data in the first LCH; the transceiver unit is configured to transmit a first data set in a first resource, where the first data set is part or all of the third data set.
In a possible implementation manner of the eleventh aspect, the data amount of the first data set is a minimum value in at least one item of information below the data amount of the third data set, the at least one item of information includes: allocating resources for other data or other signaling, remaining resources after the resources are allocated; or, the second PBR is the minimum value in 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.
In a possible implementation manner of the eleventh aspect, the transceiver unit is further configured to receive third indication information, where 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.
In a possible implementation manner of the eleventh aspect, the processing unit is further configured to allocate resources for a second data set based on a data amount of the first data set, send the second data set in the first resources, where the second data set is associated with the first LCH; or, determining that resources are not allocated for the first LCH based on the data amount of the first data set.
In a possible implementation manner of the eleventh aspect, the data amount of the second data set is less than or equal to any one of the following:
Determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the eleventh aspect, before determining, based on the data amount of the first data set, that no resource is allocated to the first LCH, the value of the first variable corresponding to the first LCH is a first value or a second value, where the first value is less than or equal to 0, and the second value is less than or equal to 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the eleventh aspect, before determining, based on the data amount of the first data set, that resources are allocated to the second data set, the value of the first variable corresponding to the first LCH is a first value or a second value, where the first value is greater than 0, and the second value is greater than 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the eleventh aspect, the processing unit is further configured to allocate resources for other data sets based on the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
In a possible implementation manner of the eleventh aspect, before allocating resources to the first data set, a value of the first variable corresponding to the first LCH is greater than 0.
In a possible implementation manner 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; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the eleventh aspect, after allocating resources to the second data set based on the data amount of the first data set, or after determining that resources are not allocated 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 any one of the following: a difference between the second value and the data volume of the second data set; a difference between the first value and the data volume of the first data set and the data volume of the second data set; a difference between the first value and the data volume of the first data set; or, a difference between the first value and the data volume of the second data set; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner of the eleventh aspect, the processing unit is specifically configured to allocate resources for the second data set based on the first parameter, or determine that resources are not allocated for the first LCH based on the first parameter; wherein the first parameter is associated with a resource allocation of the first LCH.
In a possible implementation manner of the eleventh aspect, the first parameter includes any one of the following: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the eleventh aspect, the transceiver unit is further configured to receive first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In a possible implementation manner of the eleventh aspect, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume 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 may also be configured to execute the steps executed in each possible implementation manner of the fifth aspect, and achieve corresponding technical effects, and all details may refer to the fifth aspect, which is not described herein.
A twelfth aspect of the application provides a communications apparatus that is a second device, or that is part of a component (e.g., a processor, chip, or system-on-a-chip, etc.) in the second device, or that can be a logic module or software that is capable of implementing all or part of the functionality of the first device. In a twelfth aspect and possible implementations thereof, the communication apparatus is described as being implemented as a second device, which may be a terminal device or a network device.
The device comprises a processing unit and a receiving and transmitting unit; the processing unit is used for determining a first resource; the transceiver unit is configured to receive a first data set in the first resource, where the first data set is part or all of the third data set, the third data set is associated with the first LCH, and a 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 for a 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.
In a possible implementation manner of the twelfth aspect, the data amount of the first data set is a minimum value in at least one piece of information below the data amount of the third data set, the at least one piece of information includes:
Allocating resources for other data or other signaling, remaining resources after the resources are allocated; or, the second PBR is the minimum value in 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 twelfth aspect, the data volume of the first data set is the data volume of the third data set.
In a possible implementation manner of the twelfth aspect, the transceiver unit is further configured to send third indication information, where 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.
In a possible implementation manner of the twelfth aspect, the transceiver unit is further configured 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 a data amount of the first data set.
In a possible implementation manner of the twelfth aspect, the data amount of the second data set is less than or equal to any one of the following: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the twelfth aspect, the transceiver unit is further configured to receive other data sets in the first resource, where the resources allocated for the other data sets are resources allocated for the first data set and remaining resources other than the resources allocated for the second data set.
In a possible implementation manner of the twelfth aspect, the resources allocated for the second data set are determined based on a first parameter, the first parameter being associated with the resource allocation of the first LCH.
In a possible implementation manner of the twelfth aspect, the first parameter includes any one of the following: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner of the twelfth aspect, the transceiver unit is further configured to send first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In a possible implementation manner of the twelfth aspect, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the 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 may also be configured to execute the steps executed in each possible implementation manner of the sixth aspect, and achieve corresponding technical effects, and all details may refer to the sixth aspect, which is not described herein.
A thirteenth aspect of the embodiments of the present application provides a communication device, comprising at least one processor coupled to a memory; the memory is used for storing programs or instructions; wherein the at least one processor is configured to execute the program or instructions to cause the apparatus to implement the method according to any one of the foregoing first to sixth aspects and any one of their possible implementation manners.
A fourteenth aspect of an embodiment of the present application provides a communication apparatus, including at least one logic circuit and an input-output interface; the logic circuit is configured to perform a method as described in any one of the foregoing first to sixth aspects and any one of its possible implementation forms.
A fifteenth aspect of the embodiments of the present application provides a computer readable storage medium storing instructions which, when executed by a processor, perform a method as described in any one of the above first to sixth aspects and any one of the possible implementations thereof.
A sixteenth aspect of the embodiments of the present application provides a computer program product (or computer program) comprising computer program code which, when run by a processor, causes the processor to carry out the method according to any one of the first to sixth aspects and any one of its possible implementation manners.
A seventeenth aspect of the embodiments of the present application provides a chip system comprising at least one processor for supporting a communication device to implement the functionality involved in any one of the above-mentioned first to sixth aspects and any one of their possible implementations.
In one possible design, the system-on-chip may further include a memory to hold the necessary program instructions and data for the first communication device. The chip system can be composed of chips, and can also comprise chips and other discrete devices. Optionally, the chip system further comprises an interface circuit providing program instructions and/or data to the at least one processor.
An eighteenth aspect of the embodiments of the present application provides a communication system including 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 caused by any one of the seventh to eighteenth aspects may be referred to the technical effects caused by the different designs in the first to sixth aspects, and are not described herein.
From the above technical scheme, the scheme provided by the application has the following beneficial effects:
In some embodiments, the first device may determine resources of other data sets (e.g., the second data set) other than the first data set based on the data amount of the first data set, so as to avoid or reduce an impact on transmission of other data than the first data set, in order to improve communication efficiency.
In other embodiments, in allocating resources for the first data set, the first device may use a second PBR as one of the resource allocation bases of the first data set, the second PBR being determined based on the data amount of the third data set, such that the data amount of the third data set is one of the resource allocation bases of the first data set in an effort to enable successful transmission of part or all of the data sets having a remaining time less than or equal to the threshold.
In other embodiments, in allocating resources for the first data set, the first device may use a priority of the first LCH as one of the resource allocation bases of the first data set, where the priority of the first LCH is determined based on a data amount of the third data set, so that the data amount of the third data set is used as one of the resource allocation bases of the first data set, so as to enable successful transmission of a part or all of the data sets having a remaining time less than or equal to the threshold.
Drawings
FIG. 1 is a schematic diagram of a communication system according to the present application;
FIG. 2a is a schematic diagram of a communication scenario provided by the present application;
FIG. 2b is another schematic illustration of a communication scenario in which the present application is involved;
FIG. 3 is a schematic diagram of a communication method according to the present application;
FIG. 4 is another schematic diagram of a communication method provided by the present application;
FIG. 5A is a schematic diagram of resource allocation according to the present application;
FIG. 5B is a schematic diagram of resource allocation according to the present application;
FIG. 5C is a schematic diagram of resource allocation according to the present application;
FIG. 5D is a schematic diagram of resource allocation according to the present application;
FIG. 5E is another schematic diagram of a communication method provided by the present application;
FIG. 6 is another schematic diagram of a communication method provided by the present application;
FIG. 7 is a schematic diagram of a communication device according to the present application;
FIG. 8 is another schematic diagram of a communication device according to the present application;
FIG. 9 is another schematic diagram of a communication device according to the present application;
fig. 10 is another schematic diagram of a communication device provided by the present application.
Detailed Description
The technical scheme of the present application will be described below with reference to the accompanying drawings. All other solutions, which can be obtained by a person skilled in the art without making any inventive effort, are within the scope of protection of the present application.
First, some terms in the present application will be explained in order to be understood by those skilled in the art.
(1) Terminal equipment: may be a wireless terminal device capable of receiving network device scheduling and indication information. The wireless terminal device may be a device that provides voice and/or data connectivity to a user, or a handheld device with wireless connectivity, or other processing device connected to a wireless modem.
The terminal device may communicate with one or more core networks or the internet via a radio access network (radio access network, RAN). The terminal device may be a mobile terminal device such as a mobile phone (or "cellular" phone), a computer, and a data card. Or the terminal device may be a portable, pocket, hand-held, computer-built-in or vehicle-mounted mobile device that exchanges voice and/or data with the radio access network. Or the terminal device may be a device such as a personal communication services (personal communication service, PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (wireless local loop, WLL) station, a Personal Digital Assistant (PDA), a tablet (Pad), or a wireless transceiver enabled computer. The wireless terminal device may also be referred to as a system, subscriber unit (subscriber unit), subscriber station (subscriber station), mobile Station (MS), remote station (remote station), access Point (AP), remote terminal device (remote terminal), access terminal device (ACCESS TERMINAL), user terminal device (user terminal), user agent (user agent), subscriber station (subscriber station, SS), user terminal device (customer premises equipment, CPE), terminal (terminal), user Equipment (UE), mobile Terminal (MT), etc. The terminal device may also be a wearable device as well as a terminal device in a next Generation communication system, e.g. a terminal device in a sixth Generation (6G) communication system or a terminal device in a future evolved public land mobile network (public land mobile network, PLMN), etc.
(2) Network equipment: may be a device in a wireless network. For example, the network device may be a radio access network (radio access network, RAN) node (or device), also referred to as a base station, that accesses the terminal device to the wireless network. Examples of some RAN devices are: a new generation base station (generation Node B, gNodeB), a transmission-reception point (transmission reception point, TRP), an evolved Node B (eNB), a radio network controller (radio network controller, RNC), a Node B (Node B, NB), a base station controller (base station controller, BSC), a base transceiver station (base transceiver station, BTS), a home base station (e.g., home evolved Node B, or home Node B, HNB), a baseband unit (BBU), or a wireless fidelity (WIRELESS FIDELITY, wi-Fi) Access Point (AP), etc. in a 5G communication system. In addition, in one network architecture, the network device may include a centralized unit (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 a satellite, an airplane, a drone, or the like.
Furthermore, the network device may be other means of providing wireless communication functionality for the terminal device, as other possibilities. The application is not limited to the specific technology and the specific equipment form adopted by the network equipment. For convenience of description, the present application is not limited.
Optionally, the network device may also comprise a core network device, which for example comprises an access and mobility management function (ACCESS AND mobility management function, AMF), a user plane function (user plane function, UPF) or a session management function (session management function, SMF), etc.
In the present application, the means for implementing the function of the network device may be the network device, or may be a means capable of supporting the network device to implement the function, for example, a processor, a chip system, or the like, and the means may be installed in the network device or used in cooperation with the network device. In the technical solution provided in the present application, the device for implementing the function of the network device is exemplified by the network device, and the technical solution provided in the present application is described.
In the present application, the means for implementing the function of the terminal device may be the terminal device, or may be a means capable of supporting the terminal device to implement the function, for example, a processor, a chip system, or the like, and the means may be installed in the terminal device or used in cooperation with the terminal device. In the technical solution provided in the present application, the device for implementing the function of the terminal device is an example of the terminal device, and the technical solution provided in the present application is described.
(3) Configuration and pre-configuration: in the present application, configuration and pre-configuration are used. For example, configuration may refer to the network device sending configuration information of some parameters or values of parameters to the terminal device by means of messages or signaling. For example, the terminal device may determine parameters of the communication or resources at the time of transmission based on these values or information. For example, the pre-configuration may be that the network device negotiates parameter information or parameter values with the terminal device in advance through signaling or messages, or may be that a standard protocol specifies parameter information or parameter values adopted by the network device and/or the terminal device, or may be that parameter information or parameter values are stored in the network device or the terminal device in advance. The application is not limited in this regard.
Further, these values and parameters may be changed or updated.
(4) The terms "system" and "network" in this disclosure may be used interchangeably. "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: cases where A alone, both A and B together, and B alone, where A and B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, "at least one of A, B, and C" includes A, B, C, AB, AC, BC, or ABC. And, unless otherwise specified, references to "first," "second," etc. ordinal words of embodiments of the present application are used for distinguishing between multiple objects and not for defining a sequence, timing, priority, or importance of the multiple objects.
(5) Extended reality (XR):
XR may refer to various types of environments where reality and virtual generated by computing technology and wearable devices are combined, and interactions between man-machine, mainly including Virtual Reality (VR), augmented reality (augmented reality, AR), and Mixed Reality (MR) virtual and reality interaction technologies. In order to enhance the human interaction experience with the virtual world, XR services have strict requirements on bandwidth and latency.
For example, during the downlink transmission, the encoder of the server 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 the uplink transmission, the XR terminal may collect and continuously upload images of the current scene to the server at a specific frequency (e.g., 60Hz or 120Hz, etc.) through the built-in camera.
For example, typically XR traffic will periodically generate data at a certain frame rate. For example, the traffic model for downlink XR-like traffic is approximately: AR/VR and cloud CG. Wherein the AR/VR frame rate may be 60fps, i.e., 60 frames of video images are generated per second, with one video frame occurring approximately every 16.66 ms. The AR/VR frame rate may also be 120fps, i.e., 120 frames of video images are generated per second, with one video frame occurring approximately every 8.33 ms. The CG frame rate may be 60fps or 120fps, i.e. 60 frames per second or 120 frames per second. For example, the latency requirement of XR traffic may be 10ms, 30ms, etc.
In addition, in an actual transmission system, jitter (jitter) may occur in data due to coding delay of data, network transmission delay, and the like. Jitter can generally be considered to follow a truncated gaussian distribution, with a range of truncation approximately [ -4,4] ms.
In a possible implementation manner, the XR technology is applied in the communication system, and the terminal device may receive video data from the network device, so that the terminal device can provide visual, auditory, and other visual information for the user based on the video data.
(6) Logical channel priority (logical channel prioritization, LCP):
For example, the medium access control (medium access control, MAC) layer of the terminal device is responsible for multiplexing data/information of one or more LCHs and/or one or more MAC CEs to a medium access control protocol data unit (MEDIA ACCESS control protocol data unit, MAC PDU), a procedure which may be referred to as LCP.
Optionally, the data/information of the one or more LCHs includes one or more of: a medium access control service data unit (medium access control SERVICE DATA units, MAC SDUs), a radio link control service data unit (radio link control SERVICE DATA units, RLC SDUs), a radio link control protocol data unit (radio link control protocol data unit, RLC PDU), or a medium access control (MEDIA ACCESS control, MAC) control unit (CE).
In a possible implementation manner, during the uplink transmission, the terminal device decides which logical channels to place data and how much data to place for each logical channel based on the configured uplink resources of the base station and rules specified by the protocol/standard.
In one possible implementation, the LCP may first select LCHs according to LCP restrictions, and then allocate resources (e.g., resource allocation described below) for LCHs according to a starvation avoidance mechanism in descending order of LCH priority.
(6.1) Resource Allocation
When performing a new transmission, the MAC entity in the terminal device should allocate resources to the logical channels as follows:
For LCHs selected according to LCP restrictions (and for which the first variable (denoted Bj) is greater than 0), resources are allocated in descending order of priority (for ease of reference hereinafter, this process may be referred to as a first round of resource allocation).
If there are remaining resources, for LCHs selected according to the LCP restrictions, the resources are allocated in descending order of priority of LCHs (regardless of the value of Bj) until one of the data of the logical channel or UL grant is exhausted (this process may be referred to as a second round of resource allocation for ease of reference hereinafter).
Alternatively, in the first round of resource allocation, if the priority bit rate (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 the PBR of the lower priority logical channel is met. In other words, the PBR requirement needs to be considered in the round of resource allocation to ensure fairness of resource allocation among LCHs. Optionally, in the round of resource allocation, the most allocated resource per LCH is PBR or Bj.
Optionally, after a resource is allocated to a certain LCH in the first round of resource allocation, the data amount of the data (for example, the data is a MAC SDU) provided by the LCH in the first round of resource allocation is subtracted from a Bj corresponding to the LCH.
Alternatively, during the second round of resource allocation, logical channels with the same priority as configured should be treated equally.
(6.2) Maintenance of a first variable (denoted as Bj) corresponding to LCH, when a logical channel is established, the MAC entity in the terminal device should initialize the Bj of the logical channel j to zero.
Optionally, for each logical channel j, the MAC entity in the terminal device should perform at least one of the following:
Optionally, before each LCP procedure, increasing Bj by PBR x T, where T is the time elapsed since Bj last/last increment;
alternatively, if the value of Bj is greater than the bucket size (the bucket size may be expressed as the product between PBR and bucket size duration (bucket size duration, BSD)), then Bj is set to the bucket size.
It will be appreciated that the PBR and BSD are configured by the network device to the terminal device.
(6.3) Selection of logical channels.
For example, when performing a new transmission, the MAC entity in the terminal device should perform the selection of LCH.
For example, the terminal device selects a logical channel for Uplink (UL) grant that satisfies all of the following conditions:
allowSCS-List (if configured) includes a subcarrier spacing index associated with the UL grant in a set of allowed subcarrier spacing index values; and
MaxPUSCH-Duration (if configured) is greater than or equal to the PUSCH transmission Duration associated with the UL grant; and
In the case of UL grant GRANT TYPE1, configuredGrantType1Allowed (if Configured) is set to TRUE; and
AllowedServingCells (if configured) include cell information associated with UL grants; and
AllowedCG-List (if configured) includes a configuration grant index associated with UL grants; and
AllowedPHY-PriorityIndex (if configured) include a priority index associated with dynamic UL grants; and
AllowedHARQ-mode (if configured) includes an uplink HARQ mode for the HARQ process associated with the UL grant.
For LCP related content, reference may be made to 3GPP TS 38.321: "NR; medium Access Control (MAC); protocol specification ", section 5.4.3.1 (Logical Channel Prioritization) and/or section 5.22.1.4.1 (Logical channel prioritization) are not described in detail herein.
In the present application, "comprising" may be understood as/substituted with any one or more of the following: understood as, substituted for, or as.
In the present application, the update may include/be understood as: and (5) determining.
The present application may be applied to long term evolution (long term evolution, LTE) systems, new wireless (NR) systems, or new wireless internet of vehicles (NR VEHICLE to everything, NR V2X) systems; or in systems with multiple access technologies (e.g., LTE and 5G) mixed networking; or a device-to-device (D2D) communication system, a machine-to-machine (machine to machine, M2M) communication system, an internet of things (Internet of Things, ioT), or a drone communication system; or a communication system supporting a plurality of wireless technologies such as LTE technology and NR technology; or a non-terrestrial communication system, such as: satellite communication systems, high-altitude communication platforms, etc. Alternatively, the present application may also be applied to a narrowband internet of things (NB-IoT) system, an enhanced data rates for global evolution (global system for mobile communications, GSM) system of mobile communications (ENHANCED DATA RATE for GSM evolution, EDGE), a wideband code division multiple access (wideband code division multiple access, WCDMA) system, a code division multiple access 2000 (code division multiple access, CDMA 2000) system, a time division-synchronization code division multiple access, TD-SCDMA system, a system employing future-oriented communication techniques, or other communication systems.
The communication system includes a network device and a terminal device, wherein the network device is used as a configuration information sending entity, and the terminal device is used as a configuration information receiving entity. Specifically, in the communication system, a presentity sends configuration information to another entity, and sends data to the other entity or receives data sent by the other entity; the other entity receives the configuration information and sends data to the configuration information sending entity or receives the data sent by the configuration information sending entity according to the configuration information. The application is applicable to terminal equipment in a connected state or an active state (active), and also to terminal equipment in a non-connected state (inactive) or an idle state (idle).
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application.
As shown in fig. 1, the signal sender may be a network device and the signal receiver may be one or more of UEs 1-6. At this time, any one or more of the network device and UE1 to UE6 constitute one communication system. Illustratively, in the communication system, any one or more of UE1-UE6 may transmit uplink data to a network device, which receives the uplink data transmitted by any one or more of UE1-UE 6. Meanwhile, the network device may send configuration information to any one or more of UEs 1-6.
It will be appreciated that the signal sender may be one or more of UEs 1-6 and the signal receiver may be a network device. Or the signal sender may be one or more of UE1-UE6 and the signal receiver may be the other of UE1-UE 6. Or both the signal sender and the signal receiver may be network devices.
Illustratively, as shown in FIG. 1, the signal sender may be one of UE1-UE6 and the signal receiver may be one or more other of UE1-UE 6. At this time, different UEs constitute one communication system. By way of example, the communication system may be referred to as a Sidelink (SL) communication system.
Taking the wireless communication system shown in fig. 1 as an example, in the 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 the terminal device to other terminal devices may carry Sidelink (SL) data/sidelink information. Taking uplink data sent by the terminal device to the network device as an example, the resource used for carrying the uplink data may be referred to as an uplink resource. In general, the terminal device may determine the uplink resource through an indication of the network device. Currently, the terminal device can determine which Logical Channels (LCHs) of data and/or MAC CEs to carry on a resource through a logical channel priority (logical channel prioritization, LCP) procedure
The data to be sent by the terminal device is taken as XR service data as an example. In one possible implementation, the I-frame data and the P-frame data are associated with different LCHs and have different LCH priorities, for example, in the case where the XR service may distinguish the importance of different data, such as video frame data transmitted by the XR service, and the data of one type of frame (denoted as I-frame) is more important than the data of another type of frame (denoted as P-frame); or data of different importance levels are associated with different LCHs, with different LCH priorities.
In one possible implementation, for XR video services, the as-coded pictures may be coded in a group of pictures (Group of pictures, GOP) coding and/or slice (slice) coding. For example, for a slice encoding scheme, a video frame may contain one I slice and one or more P slices. As another example, for GOP coding, a GOP may contain one I frame, or a GOP contains one I frame and one or more P frames. Taking the implementation shown in fig. 2a as an example, GOP1 (denoted as gop#1) may include one I frame and a plurality of P frames, and GOP2 (denoted as gop#2) may also include one I frame and a plurality of P frames.
Optionally, a B frame may also be included in the GOP. For example, an I-frame is an intra-coded frame (which may also be referred to as an intra-coded frame, a key frame, an important frame, etc.), and is a reference frame for P-frames and/or B-frames, with the property of independent encoding and decoding. As another example, the P-frame is a forward predicted frame (which may also be referred to as a forward predictive encoded frame, a forward reference frame, a dependent frame, a non-key frame, etc.). The P-frames may be reference frames for later P-frames and/or B-frames, requiring reference to the nearest previous I-frame or P-frame. For another example, the B frame is a bi-predictive interpolated encoded frame (bi-directional interpolated prediction frame), which may also be referred to as a dependent frame, a non-key frame, etc., and the B frame is decoded with reference to the previous nearest I frame or P frame, and the next nearest P frame. As another example, an I frame is a complete picture and P frames record changes relative to the I frame. Without an I frame, a P frame would not be decodable, so the transmission priority of an I frame would need to be higher than that of a P frame.
If an I-frame fails to be transmitted during transmission (e.g., its latency requirement is met but is not yet successfully transmitted), correct decoding cannot be achieved at the receiving side even if a video frame (e.g., P-frame) that subsequently relies on the I-frame is successfully transmitted.
Illustratively, a data burst may also be referred to as a data burst, a set of PDUs (e.g., A set of data multiple PDUs GENERATED AND SENT by the application in a short period of time) that are generated and transmitted in a short time for an application.
For example, a PDU set may include one or more PDUs carried on the payload of an information unit 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]))., e.g., PDU set contains a frame or slice).
For example, in some implementations, the application layer needs all of the PDUs in the PDU set to use the corresponding information units, or the application layer needs all of the PDUs in the PDU set to be available (decoded) or to use the corresponding information units. For example, in other implementations, the application layer may still recover all or part of the information element when some PDUs are lost .(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.)
Optionally, one data burst includes at least one PDU set.
For example, data burst1 may be associated with one or more data bursts that need to be dependent on data burst1 if data burst1 is discarded, the one or more data bursts may not be decodable. For example, PDU set1 may be associated with one or more PDU sets that need to be dependent on PDU set1 if PDU set1 is discarded, the one or more PDU sets may not be decoded.
In the implementation process, since the uplink resources indicated by the network device for a certain terminal device are generally limited, a part of LCH associated data with lower priority may not be transmitted on the current uplink resources. However, the data associated with the LCH with the lower priority does not mean that the data can be sent later, which makes it possible that in the above implementation, the data associated with the LCH with the lower priority is not transmitted, and thus the data is invalid.
For example, in XR service data transmission, it may happen that the low priority data before transmission is not completed, and the high priority data after transmission is reached. According to current LCP mechanisms, high priority data may be transmitted preferentially, which may result in the previously low priority data being unable to be transmitted within its latency requirements. Taking the implementation shown in fig. 2b as an example, the period of XR service is 16.67ms, but the time delay requirement is 30ms, because the time delay of XR service is larger than the XR period, the P frame of the previous GOP may not be transmitted yet, the I frame of the next GOP comes, and the I frame LCH is prioritized over the P frame LCH when LCP, so that the P frame may not be transmitted in the PDB.
In one possible improvement, when the terminal device executes the LCP, the terminal device may allocate resources for the data to be invalidated preferentially, and then allocate resources for other LCHs or data, so that the data to be invalidated can be transmitted preferentially in the current uplink resource, and thus the data to be invalidated is avoided. Illustratively, taking the data about to fail as the data with the remaining time less than the threshold value as an example, in this modification, the terminal device divides one round of resources for the data with REMAINING PDB less than the threshold value, and then divides the resources for other data according to the LCP mechanism (such as the first round of resource allocation and the second round of resource allocation mentioned above). That is, three rounds of resource allocation are performed.
However, since the uplink resources that the terminal device can use are fixed, the implementation of the above-mentioned resources allocated preferentially to the data to be invalidated will lead to that the resources that the terminal device can allocate to other LCHs become smaller, and thus affect the transmission of other LCHs. For example, in the implementation process of allocating resources for the data with the remaining time smaller than the threshold value in advance, the situation that the Bj corresponding to the LCH where the data with the remaining time smaller than the threshold value is larger than 0 may occur, so that the resources allocated for the LCH in the first two rounds of resource allocation in three rounds of resource allocation exceed the PBR requirement of the LCH, which is unfair to other LCHs, and may cause that the data in other LCHs cannot be transmitted or are delayed to be transmitted.
In order to solve the above problems, the present application provides a communication method and related devices, which will be further described with reference to the accompanying drawings.
Referring to fig. 3, a schematic diagram of a communication method according to the present application is provided, and the method includes the following steps.
It should be noted that, in fig. 3, the method is illustrated by taking the first device and the second device as the execution bodies of the interactive schematic, where 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 application is not limited to the execution bodies of the interactive schematic. For example, the first device in fig. 3 may also be a chip, a system-on-a-chip, or a processor that supports the method implemented by the first device, or may be a logic module or software that can implement all or part of the first device. The second device in fig. 3 may also be a chip, a system-on-a-chip, or a processor supporting the implementation method of the second device, and may also be a logic module or software capable of implementing all or part of the functions of the second device.
S301, the first device allocates resources for the first data set.
The first data set is associated with a first LCH.
It should be appreciated that the data sets (e.g., first data set, and second data set, third data set, etc., which appear later) to which the present and later embodiments relate may include one or more data.
The terminal device performs step S302 or step S303.
S302, the first device sends the first data set and the second data set under the condition that resources are allocated to the second data set based on the data quantity of the first data set.
Accordingly, in 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.
S303, the first device sends the first data set under the condition that the first device determines that resources are not allocated to the second data set based on the data quantity of the first data set.
Accordingly, in step S303, the second device receives the first data set.
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, in the case where the first resource is a side-link resource, the first resource may be a resource configured by the network device for the first device, or a resource configured by other terminal devices for the first device, or a resource determined or selected or contended by the first device itself.
For example, in the case where the first resource is an uplink resource, the first resource may be a resource configured by the network device for the first device.
Based on the technical solution shown in fig. 3, after the first device allocates resources for the first data set associated with the first LCH in step S301, in a case where resources are allocated for the second data set based on the data amount of the first data set, in step S302, the first device sends the first data set and the second data set in the first resources; in the case that it is determined based on the data amount of the first data set that the resources are not allocated for the first LCH associated with the first data set, the first device transmits the first data set in the first resources in step S303. Thus, the first device may determine, based on the data amount of the first data set, other data (or the second data set) of the first LCH that can be accommodated on the first resource, or the first device may determine, based on the data amount of the first data set, how much data in the first LCH can be allocated with resources, or the first device may determine, based on the data amount of the first data set, how much data can be allocated with resources in the first LCH, and it may be avoided that the data in the first LCH occupies/allocates/consumes too much resources to starve other LCHs, thereby ensuring fairness among LCHs.
For example, the embodiment shown in fig. 4 may be an implementation example of the communication method shown in fig. 3, and the embodiment shown in fig. 4 will be described below, where in fig. 4, a first device is taken as a terminal device and a second device is taken as a network device as an example.
Referring to fig. 4, another schematic diagram of a communication method provided by the present application includes the following steps.
In fig. 4, the method is illustrated by taking the terminal device and the network device as the execution bodies of the interactive schematic, and 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. 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. 4 may be a chip, a chip system, or a processor supporting the implementation method of the terminal device, or may be a logic module or software capable of implementing all or part of the terminal device. The network device in fig. 4 may also be a chip, a system-on-a-chip, or a processor that supports the method of implementing the network device, or may be a logic module or software that can implement all or part of the functions of the network device.
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 a new transfer.
Alternatively, the terminal device may perform one or more of the following steps when the terminal device performs the new transfer, or when the terminal device performs the new transfer on the first resource.
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.
The third set of LCHs may include any one or more of the following: a first LCH, a first set of LCHs, a second set of LCHs, all LCHs.
For example, the third set of LCHs is the first LCH. For example, the third LCH set is all LCHs. For example, the third set of LCHs includes all LCHs.
In the following, taking the first LCH as an example, the "the terminal device updates the value of the first variable corresponding to the LCH" will be described. Optionally, updating, by the terminal device, the value of the first variable corresponding to the LCH includes: the terminal device increases the value of the first variable of the first LCH (configured pbr×t), or the terminal device updates the value of the first variable of the first LCH to (configured pbr×bsd). Wherein T is the time elapsed since the last increase in the value of the first variable corresponding to the first LCH.
Alternatively, 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).
For example, the configured PBR is configured by the network device to the terminal device. For example, the BSD (bucket size duration ) is configured by the network device to the terminal device.
For example, when/after the first LCH is established, the terminal device initializes/sets the first variable of the first LCH to zero.
For example, the value of the first variable of the first LCH is updated to the first value.
For example, in one possible implementation, each LCH or LCH in the third LCH set may update the value of its corresponding first variable in the manner described above.
Optionally, s403, the terminal device determines a first LCH set.
For example, "determining the first set of LCHs" may include/be understood as: a first set of LCHs is selected.
For example, the first set of LCHs includes one or more LCHs.
Optionally, the terminal device may determine the first LCH set based on the first LCH restriction set and/or the first resource-related information.
Optionally, the first set of LCH restrictions may include any one or more of :allowSCS-List、 maxPUSCH-Duration、configuredGrantType1Allowed、allowedServingCells、allowedCG-List、allowedPHY-PriorityIndex、allowedHARQ-mode.
For example, the terminal device may determine the first set of LCHs based on LCH selections of the current standard/protocol (or specified by other means).
As another example, the terminal device may determine the first set of LCHs based on a more relaxed approach (e.g., comparing only partial LCH restrictions) than LCH selections in the current standard/protocol (or otherwise specified), or the terminal device may not perform step S403. It can be understood that the data meeting the condition a or the data with smaller remaining time can be put on the first resource to be transmitted as much as possible, or the data meeting the condition a or the data with smaller remaining time can be transmitted as soon as possible/preferentially, and the time-out of some data with smaller remaining time can be avoided, so that the transmission reliability can be improved, and the system capacity can be also improved. In the present application, LCH restrictions may include: LCP restrictions.
It should be noted that the present application is not limited to the sequence of S402 and S403, for example, S402 may be performed after S403, or performed before, or performed simultaneously.
It may be appreciated that after determining the first LCH set, the terminal device may perform one or more of a first round of resource allocation, a second round of resource allocation, and a third round of resource allocation for LCHs in the first LCH set. Other LCHs may 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, if the other LCH is not suitable for transmission on the first resource (or the data of the other LCH is not suitable for transmission on the first resource), the transmission reliability or efficiency of the other LCH may be affected, so that the data of the LCH not suitable for transmission on the first resource (i.e., the other LCH) is not suitable for transmission on the first resource, and the transmission reliability or efficiency of the other LCH may be ensured.
S404, the terminal equipment allocates resources for the first data set.
For example, the terminal device allocates resources for the first data set. 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.
For example, the data may be: MAC SDUs, or RLC PDUs, or RLC SDUs, MAC subPDU.
The size of the resources allocated to the first data set is not necessarily equal to the data size of the first data set, and may be equal or unequal (e.g., greater than) to each other.
Optionally, the first data set belongs to one or more PDU sets or to one or more data bursts.
For example, the first data set belongs to one PDU set or to one data burst.
The first data set is associated with a first LCH.
The "first data set is associated with the first LCH" may include/be understood as any one or more of the following:
(1) The first data set is associated with a first RLC entity and/or a first PDCP entity.
(2) The first data set is buffered in the first RLC entity, the first data set being from the first RLC entity.
(3) The first data set is buffered in or from the first RLC entity and/or the first PDCP entity.
For example, the first RLC entity is associated with the first LCH or an ID of the first LCH.
For example, the first RLC entity is associated with the first PDCP entity.
Optionally, the first data set or the remaining time corresponding to the data in the first data set is less than or equal to the 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, which is not limited by the present application.
For example, the remaining time may include any one or more of the following: REMAINING PDB (PACKET DELAY cartridge, packet delay budget), REMAINING PSDB (PDU set delay budget ), time/duration from expiration time. For example, the expiration time may also be an expiration time.
It should be noted that, optionally, the remaining time being less than or equal to the first threshold may include/be replaced with: the time-to-live or the time-to-buffer is greater than or equal to a second threshold. For example, the terminal device (e.g., AS layer/SDAP layer/PDCP layer/RLC layer of the terminal device) acquires data (e.g., data from an upper layer), starts accumulating a lifetime or a buffer time. For example, the upper layer may include an APP layer, an SDAP layer, or a PDCP layer.
Alternatively, 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, and may include one or more of the following: the data set is data to be invalidated, the time to be invalidated of the data set is less than or equal to a 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 budgets, REMAINING PDB) of the data in the data set is less than or equal to the first threshold, and the like.
Optionally, the first LCH belongs to the first LCH set.
Optionally, the condition 1 is satisfied, and the terminal device allocates resources for the first data set.
For example, condition 1 may include: the first LCH belongs to a first LCH set.
Optionally, before step S404 or before allocating resources to the first data set, the value of the first variable corresponding to the first LCH is greater than 0.
For example, before step S404 or before allocating resources to the first data set, the value of the first variable corresponding to the first LCH is the first value.
Optionally, "before step S404" or "before allocating resources for the first data set" may include: prior to the first round of resource allocation.
Optionally, the condition 2 is satisfied, and the terminal device allocates resources for the first data set.
For example, condition 2 may include the value of the first variable corresponding to the first LCH being greater than 0.
It may 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. Or if the value of the first variable corresponding to the first LCH is greater than 0, the terminal equipment allocates resources for the first data set, or the terminal equipment allocates resources for the first LCH, or the terminal equipment allocates resources for the data corresponding to the first LCH. It will be appreciated that fairness among different LCHs can be guaranteed by this implementation, avoiding starvation of certain LCHs (e.g., low priority LCHs).
The data corresponding to LCH may include/be understood as: data in 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, without limitation. It can be appreciated that the terminal device does not need to consider the value of the first variable corresponding to the first LCH before allocating the resource to 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 can be understood that, through the implementation, the data or the data with smaller residual time or the first data set meeting the condition a can be placed on the first resource as much as possible for transmission, or the data with smaller residual time or the first data set meeting the condition a can be transmitted as soon as possible/preferentially, and some time-out of the data with smaller residual time can be avoided, so that the transmission reliability can be improved, and the system capacity can be improved.
Optionally, before step S404 or before allocating resources for the first data set, there is data on/in the first LCH that satisfies condition a.
Optionally, the condition 3 is satisfied, and the terminal device allocates resources for the first data set.
For example, condition 3 may include the presence of data on/in the first LCH that satisfies condition a.
For example, condition a may include: the remaining time corresponding to the data is smaller than or equal to the first threshold value, or the remaining time corresponding to the data is smaller.
For example, the first threshold may be configured by the network device to the terminal device, may be preconfigured, may be predefined by a protocol, may be stored by the terminal device itself, or may be obtained by other means/algorithms, and the present application is not limited.
Optionally, the first condition is satisfied, and the terminal device allocates resources for the first data set.
For example, the first condition includes any one or more of the following: condition 1, condition 2, condition 3.
It should be noted that, for "the terminal device allocates resources for the first data set", the specific implementation manner is not limited by the present application. For example, implementation 1, or, implementation 2, or other implementations may be employed.
Implementation 1: the terminal device allocates resources for the data.
For example, the terminal device allocating resources for the first data set may include: and the terminal equipment allocates resources for the data meeting the condition A.
Optionally, "the terminal device allocates resources for the data satisfying the condition a" may include: implementation 1.1, or implementation 1.2, or implementation 1.3, or implementation 1.4.
Implementation 1.1: and the terminal equipment allocates resources for the data meeting the condition A according to the ascending sequence of the residual time corresponding to the data.
For example, as shown in fig. 5A, there are 3 LCHs, and there are data satisfying the condition a in LCH1 and LCH2, and the terminal device sequentially allocates resources for the data satisfying the condition a according to an ascending order of the remaining time corresponding to the data.
Implementation 1.2: and the terminal equipment allocates resources for the data meeting the condition A according to the ascending sequence of the range of the residual time corresponding to the data.
For example, as shown in fig. 5B, there are 3 LCHs, and data satisfying the condition a exists in LCH1 and LCH2, and the terminal device allocates resources for the data satisfying the condition a sequentially according to an ascending order of a range of remaining time corresponding to the data.
It is understood that the data belonging to the same remaining time range may correspond to different remaining times or may correspond to the same remaining time, and the present application is not limited thereto. It should be noted that, the scope of the remaining time may be configured by the network device to the terminal device, may be preconfigured, may be predefined by a protocol, may be stored by the terminal device itself, or may be obtained by other modes/algorithms, and the present application is not limited.
Implementation 1.3: and the terminal equipment allocates resources for the data meeting the condition A according to the priority corresponding to the data.
For example, as shown in fig. 5C, there are 3 LCHs, and there are data satisfying the condition a in LCH1 and LCH2, and the terminal device sequentially allocates resources for the data satisfying the condition a according to the descending order of the priority corresponding to the data.
Alternatively, the priority corresponding to the data may be determined based on the remaining time corresponding to the data, or may be determined according to a range of remaining times corresponding to the data, which is not limited by the present application.
For example, the smaller the remaining time corresponding to the data, the higher the priority corresponding to the data.
For example, the smaller the range of the remaining time to which the data corresponds, the higher the priority to which the data corresponds.
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.
Alternatively, the higher the priority corresponding to the data, the smaller the priority value corresponding to the priority may be. Or; otherwise, the method is used for controlling the flow rate of the liquid. The application is not limited.
Implementation 1.4: and the terminal equipment allocates resources for the data meeting the condition A according to the descending order of the priority of the LCH.
For example, as shown in fig. 5D, there are 3 LCHs, and data satisfying the condition a exists in LCH1 and LCH2, and the terminal device sequentially allocates resources for the data satisfying the condition a according to the descending order of priority of LCHs.
Alternatively, the higher the priority of the LCH, the smaller the priority value corresponding to the priority may be. Or; otherwise, the method is used for controlling the flow rate of the liquid. The application is not limited.
For example, the priorities of LCHs may include: the network device configures priorities for the LCHs. For example, the priority of LCHs may be referred to as the priority of configured LCHs.
Implementation 2: and the terminal equipment allocates resources for the LCH.
Optionally, the terminal device allocating resources for the first data set may include: the terminal device allocates resources for LCHs that satisfy the first condition based on a descending order of priorities of the LCHs.
For example, the first condition includes any one or more of the following: condition 1a, condition 2a, condition 3a.
For example, condition 1a includes: LCHs belong to the first LCH set.
For example, condition 2a includes: the first variable of the LCH has a value greater than 0.
For example, condition 3a includes: there is data on/in the LCH that satisfies condition a.
In the following, taking the first LCH as an example, the "terminal device allocates resources for LCH satisfying the first condition" will be described. Optionally, the terminal device allocating resources for the first data set may include: the terminal equipment allocates resources for the first LCH based on the second PBR, or allocates resources for the first LCH based on the data amount of the third data set.
Optionally, the value of the second PBR is determined based on the data amount of the third data set.
Optionally, the value of the second PBR is determined based on the first value.
Optionally, the value of the second PBR is determined based on the data amount of the third data set and the configured 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 amount of the third data set.
It should be noted that, the present application is not limited to "the first value is determined based on the data amount of the third data set", how the first value is determined based on the data amount of the third data set. For example, the first value may be equal to (the data amount of the third data set +.1 second), or other values.
Optionally, the third data set is associated with the first LCH.
The description of "the third data set is associated with the first LCH" may refer to the content of "the first data set is associated with the first LCH", and the first data set may be replaced by the third data set for understanding, which is not described herein.
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.
For example, the third data set may include/be: all data in the first LCH having a remaining time less than or equal to the first threshold.
One possible implementation 1, the value of the second PBR is equal to the data volume of the third data set; or, the second PBR (e.g., the value of the second PBR) is equal to the first value.
For example, it may be understood that, when or before the terminal device allocates the resource for the first LCH, if the remaining resource of the first resource can accommodate all of the third data set, the value of the second PBR is equal to the data amount of the third data set, so that the third data set may be preferentially transmitted.
Another possible implementation 2, the value of the second PBR is equal to the minimum of the data volume 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 of the first value and the configured PBR (e.g., the value of the configured PBR).
For example, it can be appreciated that, compared to implementation 1, implementation 2 considers the configured PBR, so that the data amount of the data capable of being allocated to the resource on the first LCH does not exceed the value of the configured PBR, ensuring fairness of each LCH, and avoiding starvation of LCHs with low priority.
It should be noted that, the terminal device allocates resources for the first LCH based on the second PBR, where the second PBR is determined based on the configured PBR, so that it is possible to avoid that the data in the first LCH occupies/allocates/consumes excessive resources to starve other LCHs, and ensure fairness between LCHs.
It is understood that the first data set may be part or all of the third data set.
For example, the first data set may comprise/be: some or all of the data in the first LCH that has a remaining time less than or equal to the first threshold.
Optionally, the method may further include: the terminal device receives second indication information indicating PBR that is considered in implementation 2 or PBR that is not considered in implementation 2. Thereby, the terminal device is enabled to perform resource allocation based on the indication of the network device.
For example, "PBR with configuration considered in implementation 2" may include: the LCH (e.g., the first LCH) is allocated resources based on the second PBR or the configured PBR. For example, "PBR without configuration in implementation 2" may include: the LCH (e.g., the first LCH) is not allocated resources based on the second PBR or the configured PBR.
Optionally, the configuration granularity of the second indication information may be configured for the terminal device or may be configured for the LCH.
It should be noted that, before or after or during step S404, the terminal device may also allocate resources for other LCHs (e.g., the fourth LCH set) or data of other LCHs.
For example, LCHs in the fourth set of LCHs satisfy the first condition. For example, the first condition includes any one or more of the following: condition 1a, condition 2a, condition 3a.
Optionally, the fourth set of LCHs is a subset of the first set of LCHs, or the fourth set of LCHs is equal to the first set of LCHs.
Alternatively, the process corresponding to step S404 may be referred to as a first round of resource allocation (or referred to as an X-th round of resource allocation). It should be noted that the first round of resource allocation may relate to the first data set, and may relate to other data, which is not limited by the present application. It should be noted that the first round of resource allocation may relate to the first LCH, and may relate to other LCHs, which is not limited by the present application. For example, the first round of resource allocation may allocate resources for data or resources for LCHs.
Alternatively, "before or after or during step S404" may include: in the first round of resource allocation.
It should be noted that, the step S404 may be implemented as an independent embodiment, and is independent of other steps; or step S404 may be combined with one or more other steps as a separate embodiment.
For example, after step S404 or step S405, the terminal device may perform resource allocation based on the procedure of the LCP in the current standard/protocol (or specified by other means).
Optionally, the data amount of the first data set is less than or equal to any one or more of, or the data amount of the first data set is determined based on, or the data allocated resources for the first LCH does not maximally exceed any one or more of:
(1) The second PBR or the second PBR is valued;
(2) Determining an amount of data based on the second PBR;
(3) Allocating the remaining resources before the resources for the first data set;
(4) A first variable corresponding to the first LCH is first valued;
(5) The data volume of the third data set.
Optionally, S405, the terminal device updates the value of the first variable corresponding to the first LCH or the fourth LCH set.
For example, the terminal device subtracts the data amount of the first data set from the value of the first variable of the first LCH.
For example, the terminal device updates the value of the first variable of the first LCH to (first value-data amount of the first data set), i.e. the second value.
For example, the terminal device subtracts the data amount of the data on the LCH to which the resource is allocated from the value of the first variable of the LCH.
It should be noted that, the step S405 may be implemented as an independent embodiment, and is not dependent on other steps; alternatively, step S405 may be combined with step S404 as a separate embodiment, or step S405 may be combined with one or more other steps as a separate embodiment.
Optionally, s406, the terminal device determines a second LCH set.
For example, "determining the second set of LCHs" may include/be understood as: a second set of LCHs is selected.
For example, the second set of LCHs includes one or more LCHs.
Optionally, the terminal device may determine the second set of LCHs based on the second set of LCH restrictions and/or the first resource related information.
Optionally, the second set of LCH restrictions may include any one or more of the following :allowSCS-List、 maxPUSCH-Duration、configuredGrantType1Allowed、allowedServingCells、 allowedCG-List、allowedPHY-PriorityIndex、allowedHARQ-mode.
It should be noted that the first LCH set and the second LCH set may be the same or different, and the present application is not limited thereto.
It should be noted that the first LCH restriction set and the second LCH restriction set may be the same or different, and the present application is not limited thereto.
For example, the terminal device may determine the second set of LCHs based on LCH selections of the current standard/protocol (or specified by other means).
As another example, the terminal device may determine the second set of LCHs based on a more stringent method (e.g., more LCH restrictions compared) than the LCH selection of step S403. It may be appreciated that after determining the second set of LCHs, the terminal device may perform one or more of a second round of resource allocation and a third round of resource allocation for LCHs in the second set of LCHs. Other LCHs may be restricted from participating in one or more of the second round of resource allocation, the third round of resource allocation. For example, if the other LCH is not suitable for transmission on the first resource (or the data of the other LCH is not suitable for transmission on the first resource), the transmission reliability or efficiency of the other LCH may be affected, so that the data of the LCH not suitable for transmission on the first resource (i.e., the other LCH) is not suitable for transmission on the first resource, and the transmission reliability or efficiency of the other LCH may be ensured.
It should be noted that the present application is not limited to the sequence of S405 and S406, for example, S405 may be performed after S406, or performed before, or performed simultaneously.
Optionally, S407, the terminal device performs step S407-1 or step S407-2.
Optionally, if there is a remaining resource in the first resource, or if there is a remaining resource in the first resource after the first round of resource allocation, or if there is a remaining resource after the first round of resource allocation, the terminal device executes step S407-1 or step S407-2.
S407-1, the terminal equipment allocates resources for the second data set based on the data quantity of the first data set.
Optionally, if there is a remaining resource in the first resource, or if there is a remaining resource in the first resource after the first round of resource allocation, or if there is a remaining resource after the first round of resource allocation, the terminal device allocates a resource for the second data set based on the data amount of the first data set.
Optionally, the terminal device allocating resources for the second data set based on the data amount of the first data set may include: the terminal device allocates resources for the first LCH based on the data amount of the first data set.
The second data set is associated with the first LCH.
The description of "the second data set is associated with the first LCH" may refer to the content of "the first data set is associated with the first LCH", and the first data set may be replaced by the second data set for understanding, which is not described herein.
For example, the terminal device allocating resources for the second data set based on the data amount of the first data set may comprise: the terminal device determines to allocate resources for the second data set based on the data amount of the first data set.
For example, the terminal device allocating resources for the second data set based on the data amount of the first data set may comprise: the terminal equipment determines to allocate resources for the second data set, or the terminal equipment allocates resources for the first LCH based on the configured PBR.
"Allocating resources for the second data set" may include: resources are allocated for the first LCH.
Optionally, the first LCH belongs to the second set of LCHs or the set of first LCHs.
Optionally, the condition #1 is satisfied, and the terminal device allocates resources for the second data set.
For example, condition #1 may include: the first LCH belongs to the second set of LCHs or the set of first LCHs.
Optionally, the value of the first variable corresponding to the first LCH is greater than 0 before step S407-1 or before step S407 or before allocating resources to the second data set.
For example, the value of the first variable corresponding to the first LCH is the first value or the second value before step S407-1 or before step S407 or before allocating the resource to the second data set.
Optionally, the condition #2 is satisfied, and the terminal device allocates resources for the second data set.
For example, condition #2 may include the value of the first variable corresponding to the first LCH being greater than 0.
It may 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. Or if the value of the first variable corresponding to the first LCH is greater than 0, the terminal equipment allocates resources for the second data set, or the terminal equipment allocates resources for the first LCH, or the terminal equipment allocates resources for the data corresponding to the first LCH. It will be appreciated that fairness among different LCHs can be guaranteed by this implementation, avoiding starvation of certain LCHs (e.g., low priority LCHs).
Optionally, before allocating the resource to 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 can be appreciated that the terminal device does not need to consider the value of the first variable corresponding to the first LCH before allocating the resource to 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.
Optionally, the condition #3 is satisfied, and the terminal device allocates resources for the second data set.
For example, condition #3 may include the first parameter being greater than 0.
Optionally, the second condition is satisfied, and the terminal device allocates resources for the second data set.
For example, the second condition may include any one or more of the following: condition #1, condition #2, condition #3.
Optionally, the data amount of the second data set is less than or equal to any one or more of, or the data amount of the second data set is determined based on, or the data allocated resources for the first LCH does not maximally exceed any one or more of:
(1) The first PBR or the value of the first PBR;
(2) An amount of data determined based on the first priority bit rate (prioritized bit rate, PBR);
(3) Allocating the remaining resources after the resources for the first data set; or alternatively, the first and second heat exchangers may be,
(4) A difference value between a first value of a first variable corresponding to the first LCH and a data amount 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.
It should be noted that, the present application is not limited to how "the data amount determined based on the first PBR" is determined 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, (first PBR value x time domain length), or other value. Wherein the time domain length is a time length of the first resource in the time domain. For example, the time domain length is in seconds.
Optionally, the first PBR is determined based on the data volume of the first data set.
Optionally, the first PBR is determined based on the data amount of the first data set and the configured PBR.
Optionally, the first PBR is determined based on the second value.
Optionally, the first PBR is determined based on the second value and the configured PBR.
Optionally, the first PBR is determined based on the second 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 amount of the first data set.
It should be noted that, the present application is not limited to "the second value is determined based on the data amount of the first data set" how the second value is determined based on the data amount of the first data set. For example, the second value may be equal to (the amount of data of the first data set +.1 second), or other value.
For example, the first PBR may include a value of the first PBR. For example, the second PBR may include a value of the second PBR.
It should be noted that, with respect to "the first PBR is determined based on the data amount of the first data set", how the first PBR is determined based on the data amount of the first data set, the present application is not limited.
It should be noted that, with respect to "the first PBR is determined based on the data amount of the first data set and the configured PBR", how the first PBR is determined based on the data amount of the first data set and the configured PBR, the present application is not limited.
It should be noted that, for "the first PBR is determined based on the second value", how the first PBR is determined based on the second value, the present application is not limited.
It should be noted that, for "the first PBR is determined based on the second value and the configured PBR", how the first PBR is determined based on the second value and the configured PBR, the present application is not limited.
It should be noted that, for "the first PBR is determined based on the second PBR", how the first PBR is determined based on the second PBR, the present application is not limited.
It should be noted that, for "the first PBR is determined based on the second PBR and the configured PBR", how the first PBR is determined based on the second PBR and the configured PBR, the present application is not limited.
For example, if the data size of the first data set is greater than or equal to the value of the configured PBR, the first PBR may be equal to 0.
For example, the first PBR may be equal to (the value of the configured PBR-the amount of data of the first data set), or (the value of the configured PBR x1 second-the amount of data of the first data set), or (the value of the configured PBR-the amount of data of the first data set) and the maximum value of 0, or (the value of the configured PBR x1 second-the amount of data of the first data set) and the maximum value of 0, or other values.
For example, if the second value is greater than or equal to the value of the configured PBR, the first PBR may be equal to 0.
For example, the first PBR may be equal to (second value-second PBR).
For example, if the second PBR is greater than or equal to the value of the configured PBR, the first PBR may be equal to 0.
For example, the first PBR may be equal to (value of configured PBR-second PBR).
Alternatively, "remaining resources after allocating resources for the first data set" may include any one or more of the following: allocating the remaining resources before the resources, the remaining resources after step S404, or the remaining resources of the first resources to the second data set; the remaining resources after the first round of resource allocation.
Alternatively, "after step S404" may include: after the first round of resource allocation.
In this application, for example, the remaining resources may include/be understood as: the amount of data that the remaining resources can carry. For example, "remaining resources after allocating resources for the first data set" may include/be understood as: the remaining resources after the allocation of the resources for the first data set are capable of carrying the data amount of the data.
Optionally, the terminal device allocating resources for the second data set based on the data amount of the first data set may include/be replaced with: the terminal device allocates resources for the second data set based on the first parameter.
For example, the first parameter is associated with a first LCH. Alternatively, the first parameter may be used for any one or more of the following: a resource allocation procedure, an LCP procedure, a starvation avoidance mechanism, or a token bucket mechanism. For example, the first parameter is associated with a resource allocation of the first LCH.
For example, the first parameter includes any one or more of the following:
(1) The first PBR or the value of the first PBR;
(2) An amount of data determined based on the first PBR;
(3) Allocating the remaining resources after the resources for the first data set; or alternatively, the first and second heat exchangers may be,
(4) A difference value between a first value of a first variable corresponding to the first LCH and a data amount of the first data set; or, the second value of the first variable corresponding to the first LCH.
It can be appreciated that in the case where the terminal device allocates resources for the second data set/the first LCH based on the data amount of the first data set, fairness between the LCHs can be ensured, and other LCHs (e.g., LCHs of low priority) are prevented from starving. For example, in the second round of resource allocation process of the terminal equipment, the allocated resources in the first round of resource allocation process need to be considered/deducted, so that the situation that the data in the first LCH occupies/allocates/consumes excessive resources to starve other LCHs can be avoided, and fairness among the LCHs is ensured. For example, the first device may determine how much resources can be allocated for the data in the first LCH based on the data amount of the first data set, or the first device may determine how much resources can be allocated for the data in the first LCH based on the data amount of the first data set, which may avoid starving other LCHs by the data in the first LCH occupying/allocating/consuming too much resources, and ensure fairness among LCHs.
Optionally, the variable corresponding to the LCH (for example, the first variable corresponding to the first LCH) in this embodiment and the following embodiments is used to indicate the variable maintained by the terminal device for the LCH. For example, the variable corresponding to LCH may be used to indicate at least one of: 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 LCH may be used for any one or more of the following: a resource allocation procedure, an LCP procedure, a starvation avoidance mechanism, or a token bucket mechanism.
Alternatively, the variable may be denoted B, or, bj, or other symbology, as the application is not limited in this regard.
Optionally, 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.
Optionally, before the terminal device allocates resources for the second data set based on the data amount of the first data set or before the second round of resource allocation, the value of the first variable corresponding to the first LCH is a first value or a second value.
For example, the second value is determined based on the first value and the amount of data of the first data set. Optionally, the first value is greater than 0. Optionally, the second value is greater than 0.
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, taking into account the above.
S407-2, the terminal equipment determines that resources are not allocated to the second data set based on the data quantity of the first data set.
Optionally, if there is a remaining resource in the first resource, or if there is a remaining resource in the first resource after the first round of resource allocation, or if there is a remaining resource after the first round of resource allocation, the terminal device determines that the resource is not allocated for the second data set based on the data amount of the first data set.
Optionally, the determining by the terminal device that the resources are not allocated to the second data set based on the data amount of the first data set may include: the terminal device determines that resources are not allocated to the first LCH based on the data amount of the first data set.
Optionally, the determining by the terminal device that the resources are not allocated to the second data set based on the data amount of the first data set may include: the terminal device determines not to allocate resources for the second data set.
"Not allocating resources for the second data set" may include: no resources are allocated for the first LCH.
The second data set is associated with the first LCH.
Optionally, the first LCH belongs to the second set of LCHs or the set of first LCHs.
Optionally, the condition #1 is satisfied, and the terminal device determines that the resource is not allocated to the second data set based on the data amount of the first data set.
Optionally, before step S407-2 or before step S407 or before determining that no resources are allocated 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 greater than 0.
For example, before step S407-2 or before step S407 or before determining that no resources are allocated 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 the first value or the second value.
Optionally, the condition #2 is satisfied, and the terminal device determines that the resource is not allocated to the second data set based on the data amount of the first data set.
Optionally, "before step S407-1" or "before step S407" or "before allocating resources to the second data set" or "before step S407-2" or "before determining that resources are not allocated to the second data set based on the data amount of the first data set" may include: prior to the second round of resource allocation.
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. Or if the value of the first variable corresponding to the first LCH is greater than 0, the terminal device determines that the resource is not allocated to the first LCH based on the data amount of the first data set, or the terminal device determines that the resource is not allocated to the data of the first LCH based on the data amount of the first data set. For example, it will be appreciated that fairness among different LCHs may be guaranteed by this implementation, avoiding starvation of certain LCHs (e.g., low priority LCHs).
Optionally, before determining that the resource is not allocated 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 may also be less than or equal to 0, without limitation. It may be appreciated that the terminal device does not need to consider the value of the first variable corresponding to the first LCH before determining that the first LCH or the data corresponding to the first LCH is not allocated to the resource based on the data amount of the first data set, or during/before the second round of resource allocation.
Optionally, the fourth condition is satisfied, and the terminal device determines that resources are not allocated to the second data set based on the data amount 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, based on the data amount of the first data set, that resources are not allocated to the second data set includes/is replaced by:
(1) The terminal determines that resources are not allocated to the second data set when a third condition is met; and/or the number of the groups of groups,
(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) A first PBR;
(2) An amount of data determined based on the first PBR; or alternatively, the first and second heat exchangers may be,
(3) A difference value between a first value of a first variable corresponding to the first LCH and a data amount of the first data set; or, the second value of the first variable corresponding to the first LCH.
For example, the third condition includes: the second parameter or the first parameter is less than or equal to 0.
For example, the third condition includes: the amount of data determined based on the first PBR is less than or equal to 0.
Optionally, before the terminal device determines that the resource is not allocated 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.
Optionally, the first value is less than or equal to 0. Optionally, the second value is less than or equal to 0.
Optionally, the method may further include: the terminal device receives first indication information, wherein the first indication information indicates that resources are allocated for LCH based on the data quantity of the first data set, or the first indication information indicates that resources are not allocated for LCH based on the data quantity of the first data set.
For example, "allocating resources for LCH based on the data amount of the first data set" may include: the result of the first round of resource allocation is considered in the second round of resource allocation. For example, "not allocating resources for LCH based on the amount of data of the first data set" may include: the result of the first round of resource allocation is not considered in the second round of resource allocation.
The "data amount based on the first data set" may include/be replaced with: based on the first parameter or, based on the second parameter.
Alternatively, the granularity of the configuration of the first indication information may be configured for the terminal device, or may be configured for the LCH (e.g., the first LCH).
In one possible implementation manner, after 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 or a second value.
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.
For example, after the terminal device allocates the resource for the first data set, the terminal 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 implementation process, before the terminal device determines that the resource is not allocated for the first LCH based on the data amount of the first data set in step S407-2 (or the terminal device determines that the resource is allocated for the first LCH in step S407-1), the value of the first variable corresponding to the first LCH is the second value.
For another example, after the terminal device allocates the resource 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 implementation process, before the terminal device determines that the resource is not allocated for the first LCH based on the data amount of the first data set in step S407-2 (or the terminal device determines that the resource is allocated for the first LCH in step S407-1), the value of the first variable corresponding to the first LCH is the first value.
In one possible implementation manner, after the terminal device allocates the resources for the second data set based on the data amount of the first data set, or after the terminal device determines that the resources are not allocated for the first LCH based on the data amount 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:
A 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;
a difference between the first value and the data volume of the first data set; or alternatively, the first and second heat exchangers may be,
The difference between the first value and the data amount of the second data set.
Optionally, after the terminal device allocates resources for the second data set based on the data amount 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:
A 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; or alternatively, the first and second heat exchangers may be,
The difference between the first value and the data amount of the second data set.
Optionally, after determining, based on the data amount of the first data set, that the resource is not allocated to the first LCH, the terminal device updates the value of the first variable corresponding to the first LCH to: the difference between the first value and the data volume of the first data set.
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 performs 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 will be appreciated that fairness among different LCHs can be guaranteed by this implementation, avoiding starvation of certain LCHs (e.g., low priority LCHs).
It should be noted that before or after or during step S407, the terminal device may also allocate resources for data of some LCHs (e.g. the fifth LCH set), and/or the terminal device may also determine that resources are not allocated for some LCHs (e.g. the sixth LCH set).
For example, LCHs in the fifth set of LCHs and/or the sixth set of LCHs satisfy the second condition. For example, the second condition includes any one or more of the following: condition #1a, condition #2a, condition #3a.
For example, the condition #1a may include: the LCH belongs to the second set of LCHs or the first set of LCHs.
For example, the condition #2a may include: the first variable of the LCH has a value greater than 0.
For example, the condition #3a may include: the first parameter of LCH is greater than 0.
Optionally, the fifth set of LCHs is a subset of the second set of LCHs, or the fifth set of LCHs is equal to the second set of LCHs.
Optionally, the fifth set of LCHs is a subset of the first set of LCHs, or the fifth set of LCHs is equal to the first set of LCHs.
For example, the terminal device performs resource allocation for LCHs in the fifth LCH set in descending order of priority of LCHs (e.g., priority of configured LCHs).
For example, the terminal device performs resource allocation for LCHs in the sixth LCH set in descending order of priority of LCHs (e.g., priority of configured LCHs).
For example, the terminal device performs resource allocation for LCHs in the fifth LCH set and the sixth LCH set in descending order of priority of LCHs (e.g., priority of configured LCHs).
For example, for LCHs with first variables greater than 0 corresponding to LCHs in the first LCH set or the second LCH set, resource allocation is performed in descending order of priority of LCHs.
Alternatively, the procedure corresponding to step S407 may be referred to as second round resource allocation (or referred to as Y-th round resource allocation). It should be noted that the second round of resource allocation may relate to the first LCH, and may relate to other LCHs, which is not limited by the present application. For example, the second round of resource allocation may allocate resources for LCHs.
Alternatively, "before or after or during step S407" may include: in the second round of resource allocation.
Optionally, S408, the terminal device updates the value of the first variable corresponding to the first LCH, the fifth LCH set, the fourth LCH set, or (the fourth LCH set and the fifth LCH set).
One possible implementation, the terminal device subtracts the data amount of the second data set from the value of the first variable of the first 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), i.e. the third value.
For example, the terminal device updates the value of the first variable of the first LCH to (first value—the data amount of the second data set), i.e. the fourth value.
In another possible implementation, the terminal device subtracts the data size of the first data set and the data size of the second data set from the value of the first variable of the first LCH.
For example, the terminal device updates the value of the first variable of the first LCH to (the first value- (the data amount of the first data set+the data amount of the second data set)), i.e. the third value.
In another possible implementation, the terminal device subtracts the data amount of the first data set from the value of the first variable of the first LCH.
For example, the terminal device updates the value of the first variable of the first LCH to (first value-data amount of the first data set), i.e. the second value.
For example, the terminal device subtracts the first round of resource allocation procedure from the value of the first variable of the LCH to obtain the data amount of the data on which the resource is allocated on the LCH.
For example, the terminal device subtracts the value of the first variable of the LCH from the second round of resource allocation procedure to obtain the data amount of the data on which the resource is allocated on the LCH.
For example, the terminal device subtracts the value of the first variable of the LCH from the sum of the data amount of the data on which the first round of resource allocation procedure is allocated the resource on the LCH and the data amount of the data on which the second round of resource allocation procedure is allocated the resource on the LCH. It will be appreciated that if, after the first round of resource allocation, the first variables corresponding to LCHs are updated or step S405 is performed, it is possible that some of the first variables corresponding to LCHs are less than or equal to 0, even if the resources allocated on this LCH do not meet the PBR requirement, if only LCHs with values of the first variables greater than 0 are considered in step S407, LCHs with values of the first variables less than or equal to 0 cannot allocate resources in the second round of resource allocation. Therefore, if the first variable corresponding to the LCH is not updated or the step S405 is not executed after the first round of resource allocation, the first variable corresponding to the LCH is updated after the second round of resource allocation, so that the PBR requirement of the LCH can be satisfied, which is beneficial to improving the communication quality and efficiency. In addition, subtracting the sum of the data amount of the data allocated to the resource by the first round of resource allocation and the data amount of the data allocated to the resource by the second round of resource allocation from the first variable corresponding to the LCH after the second round of resource allocation can ensure fairness among the LCHs and avoid starvation of other LCHs (for example, LCHs with low priority).
It should be noted that, the step S408 may be implemented as a separate embodiment, and is independent of other steps; or step S408 may be combined with one or more other steps (e.g., step S404; or, e.g., step 407, or, e.g., step S404 and step S407) as a stand-alone embodiment.
Optionally, the S409, the terminal device allocates resources for the first LCH or the second LCH set (or LCHs in the second LCH set) or the first LCH set (or LCHs in the first LCH set) or the LCH or any LCH.
Optionally, if there is a remaining resource in the first resource, or there is a remaining resource in the first resource after the second round of resource allocation, or if there is a remaining resource after the second round of resource allocation, the terminal device executes step S409.
Alternatively, the procedure corresponding to step S409 may be referred to as third round of resource allocation (or referred to as Z-th round of resource allocation). It should be noted that the third round of resource allocation may relate to the first LCH, or may relate to other LCHs, and the present application is not limited thereto. For example, a third round of resource allocation may allocate resources for LCHs.
Alternatively, it may not be considered in step S409 or in the third round of resource allocation whether the first variable of LCH is greater than 0.
For example, for the second set of LCHs or the first set of LCHs or any LCH, resources are allocated in descending order of priority of LCHs (regardless of the value of Bj) until one of the first resources or data of the logical channel is exhausted.
For example, logical channels with the same priority of LCH may be treated equally.
For example, in a third round of resource allocation, the terminal device may have allocated resources for the seventh LCH set. For example, in a third round of resource allocation, the terminal device may have allocated resources for the fourth data set of the first LCH.
Optionally, the seventh set of LCHs is a subset of the second set of LCHs, or the seventh set of LCHs is equal to the second set of LCHs.
Optionally, the seventh set of LCHs is a subset of the first set of LCHs, or the seventh set of LCHs is equal to the first set of LCHs. Optionally, the S4010 and the terminal equipment update the first variable value 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).
Optionally, before step 4010 or before step S409 or before the third round of resource allocation, the value of the first variable corresponding to the first LCH is: the first value, or the second value, or the third value, or the fourth value.
Optionally, the terminal device subtracts any one or more of the following from the value of the first variable of the first LCH: the data volume of the first data set, the data volume of the second data set, the data volume of the fourth data set.
For example, the terminal device subtracts the value of the first variable of the LCH from the sum of the data amount of the data on which the first round of resource allocation procedure is allocated the resource on the LCH and the data amount of the data on which the second round of resource allocation procedure is allocated the resource on the LCH. It will be appreciated that if, after the first round of resource allocation, the first variables corresponding to LCHs are updated or step S405 is performed, it is possible that some of the first variables corresponding to LCHs are less than or equal to 0, even if the resources allocated on this LCH do not meet the PBR requirement, if only LCHs with values of the first variables greater than 0 are considered in step S407, LCHs with values of the first variables less than or equal to 0 cannot allocate resources in the second round of resource allocation. Therefore, if the first variable corresponding to the LCH is not updated or the step S405 is not executed after the first round of resource allocation, the first variable corresponding to the LCH is updated after the third round of resource allocation, so that the PBR requirement of the LCH can be satisfied, which is beneficial to improving the communication quality and efficiency. In addition, subtracting the sum of any two or more of the data amount of the data allocated to the resource by the first round of resource allocation, the data amount of the data allocated to the resource by the second round of resource allocation, and the data amount of the data allocated to the resource by the third round of resource allocation from the first variable corresponding to the LCH after the second round of resource allocation can ensure fairness among the LCHs and avoid starvation of other LCHs (for example, LCHs with low priorities).
Optionally, S4011, the terminal equipment performs step S4011-1 or step S4011-2.
S4011-1. The terminal equipment sends the first data set and the second data set. Accordingly, the network device receives the first data set and the second data set.
S4011-2. The terminal equipment sends the first data set. Accordingly, the network device receives the first data set.
Based on the technical scheme shown in fig. 4, the data meeting the condition a or the data with smaller residual time can be placed on the first resource as much as possible for transmission, or the data meeting the condition a or the data with smaller residual time can be transmitted as soon as possible/preferentially, and the overtime of some data with smaller residual time can be avoided, so that the transmission reliability can be improved, and the system capacity can be improved. Fairness between different LCHs can also be ensured, avoiding starvation of certain LCHs (e.g., low priority LCHs). .
For the implementation example referred to in fig. 2b, in another possible modification, the terminal device may adjust the PBR of the LCH based on the data about to fail in the first round of resource allocation process, perform the first round of resource allocation process based on the adjusted PBR, and then perform the second round of resource allocation process. That is, there are two rounds of resource allocation. Illustratively, taking the data about to fail as the data with the remaining time less than the threshold value as an example, in a modification, the PBR is adjusted based on the data with the remaining time less than the threshold value, and then the other data is allocated resources according to the LCP mechanism (e.g., the first round of resource allocation and the second round of resource allocation mentioned above) based on the adjusted PBR.
However, since the first resource that the terminal device can use is fixed, the above implementation will result in that the resource that the terminal device can allocate for other data becomes smaller, and thus affects the transmission of other data. For example, in the implementation process, a situation may occur that the Bj corresponding to the LCH where the data with the remaining time smaller than the threshold value is greater than 0, so that the data (including the data with the remaining time smaller than the threshold value) put into the LCH in the first round of resource allocation process exceeds the PBR requirement of the LCH, which is unfair to other LCHs, and may cause that the data in other LCHs cannot be transmitted or are delayed to be transmitted. In order to solve the problem, the embodiment of the present application provides the communication method shown in fig. 5E, which will be described in detail below.
Referring to fig. 5E, a schematic diagram of a communication method according to the present application is provided, and the method includes the following steps.
It should be noted that, in fig. 5E, the method is illustrated by taking the terminal device and the network device as the execution bodies of the interactive schematic, and the terminal device may be a terminal device or a network device, and the network device may also be a terminal device or a network device. 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 be a chip, a chip system, or a processor supporting the implementation method of the terminal device, or may be a logic module or software capable of implementing all or part of the terminal device. The network device in fig. 5E may also be a chip, a system-on-a-chip, or a processor that supports the method for implementing the network device, or may be a logic module or software that can implement all or part of the functions of the network device. The method illustrated in fig. 5E includes steps S501 and S502, each of which will be described below.
Optionally, s501, the terminal device obtains a first resource.
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 may refer to the content of S401, and will not be described in detail.
Optionally, s503, the terminal device determines the first LCH set.
S504, the terminal equipment allocates resources for the first LCH based on the second PBR.
For example, the implementation process of step S504 may refer to "implementation 2" and related description, and will not be repeated.
Optionally, S505, the terminal device updates the value of the first variable corresponding to the first LCH or the fourth LCH set.
Optionally, s506 the terminal device determines a second LCH set.
Optionally, S507, the terminal device executes step S507-1 or step S507-2.
S507-1, the terminal equipment allocates resources for the second data set based on the data volume of the first data set.
S507-2, the terminal equipment determines that resources are not allocated to the second data set based on the data quantity of the first data set.
Optionally, S508, the terminal device updates the value of the first variable corresponding to the first LCH, the fifth LCH set, the fourth LCH set, or (the fourth LCH set and the fifth LCH set).
Optionally, S509, the terminal device allocates resources for the first LCH or the second LCH set (or LCHs in the second LCH set) or the first LCH set (or LCHs in the first LCH set) or LCHs or any LCH.
Optionally, the 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).
Optionally, S5011, the terminal unit performs step S5011-1 or step S5011-2.
S5011-1, the terminal equipment sends a first data set and a second data set. Accordingly, the network device receives the first data set and the second data set.
S5011-2, the terminal equipment sends a first data set. Accordingly, the network device receives the first data set.
In one possible implementation, the method further includes: the terminal device receives the second indication information.
It should be noted that, the content of the embodiment shown in fig. 5E may refer to the content of the embodiment shown in fig. 4, which is not described herein. For example, the content of step S50X may refer to the content of S40X and will not be described herein. For example, S40X is replaced 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 at least one of the term interpretation, the multiple possible values of the first variable related to the first LCH, the process that the terminal device determines to allocate resources for the first data set, the process that the terminal device allocates resources for the second data set based on the data amount of the first data set, and the process that the terminal device determines not to allocate resources for the first LCH based on the data amount of the first data set, etc.), reference may be made to descriptions of other embodiments of the present application (such as the embodiment shown in fig. 4 and possible implementations thereof), and corresponding technical effects are achieved, which are not repeated herein.
Based on the technical scheme shown in fig. 5E, data meeting the condition a or data with smaller remaining time can be placed on the first resource as much as possible for transmission, or data meeting the condition a or data with smaller remaining time can be transmitted as soon as possible/preferentially, and time-out of some data with smaller remaining time can be avoided, so that the transmission reliability can be improved, and the system capacity can be also improved. Fairness between different LCHs can also be ensured, avoiding starvation of certain LCHs (e.g., low priority LCHs).
For the implementation example referred to in fig. 2b, in another possible modification, the terminal device may perform the first round of resource allocation and the second round of resource allocation respectively after adjusting the priority of the LCH where the data is located based on the data to be invalidated in the first round of resource allocation procedure mentioned above. That is, there are two rounds of resource allocation. Illustratively, taking the data about to fail as the data with the remaining time less than the threshold value as an example, in a modification, LCH priority is adjusted based on the data with the remaining time less than the threshold value, and then other data is allocated resources according to the LCP mechanism (e.g., the first round of resource allocation and the second round of resource allocation mentioned above).
However, since the first resource that the terminal device can use is fixed, the above implementation will result in that the resource that the terminal device can allocate for other data becomes smaller, and thus affects the transmission of other data. For example, in the implementation process, there may be not only data with small remaining time but also data with large remaining time in the LCH with dynamically adjusted priority, which is not reasonable if the terminal device groups/includes data with large remaining time in the LCH with dynamically adjusted priority at the time of grouping. In order to solve the problem, the embodiment of the present application provides the communication method shown in fig. 6, which will be described in detail below.
Referring to fig. 6, a schematic diagram of a communication method according to the present application is provided, and the method includes the following steps.
In fig. 6, the method is illustrated by taking the terminal device and the network device as the execution bodies of the interactive schematic, and 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. 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. 6 may be a chip, a chip system, or a processor supporting the implementation method of the terminal device, or may be a logic module or software capable of implementing all or part of the terminal device. The network device in fig. 6 may also be a chip, a system-on-a-chip, or a processor that supports the method of implementing the network device, or may be a logic module or software that can implement all or part of the functions of the network device. The method illustrated in fig. 6 includes steps S601 and S602, and each step will be described below.
Optionally, s601, the terminal device obtains a first resource.
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.
Optionally, s603, the terminal device determines a first LCH set.
Optionally, s604a the terminal device determines the priority of the first LCH or the fourth LCH set.
Optionally, there is data on/in the first LCH or fourth LCH set that satisfies condition a.
Optionally, the first LCH or the fourth LCH set belongs to the first LCH set.
Optionally, the fifth condition is satisfied, and 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 on/in the first LCH or fourth LCH set that satisfies condition a, and, or, the first LCH or fourth LCH set belongs to the first LCH set.
For example, the determined priority of the LCH may be referred to as the adjusted priority of the LCH. It should be noted that, how the priority of LCH is specifically adjusted/determined, the present application is not limited to
Alternatively, the terminal device may determine the priority of the LCH based on the remaining time corresponding to the data in the LCH (e.g., 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 (e.g., 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 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 priority of the adjusted LCH is equal to or higher than: and the remaining time corresponding to the data in the LCH or the priority of the LCH corresponding to the range of the remaining time corresponding to the data in the 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 shift of the priority of the LCH or the shift of the priority value corresponding to the priority of the LCH
For example, the priority of the adjusted LCH is equal to or higher than: the priority of the configured LCH is the sum or difference of the offsets of the priorities of LCHs 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 of the adjusted LCH corresponds to a priority value of equal to or: the priority value corresponding to the configured priority of the LCH is the sum or difference of the shift of the priority of the LCH or the shift of the priority value corresponding 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.
For example, the mapping relationship may be configured by the network device to the terminal device, may be preconfigured, may be predefined by a protocol, may be stored by the terminal device itself, or may be obtained by other modes/algorithms, and the present application is not limited.
S604, the first LCH of the terminal equipment allocates resources.
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 a range of remaining times. For example, the priority of LCH may be referred to as the priority of adjusted 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 (e.g., the minimum remaining time, or the average remaining time) corresponding to the data in the LCH, or based on the range of the remaining time (e.g., 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) corresponding to the data in the LCH. For the priority of LCH, reference may be made to the content in S604a, which is not described here.
For example, the "terminal device first LCH allocated resource" may include any one or more of the following: the terminal equipment allocates resources for the first LCH based on the data volume of the third data set or the second PBR; the terminal equipment allocates resources for the first data set; or the terminal equipment allocates resources for the first data set based on the data volume of the third data set or the second PBR.
Optionally, the data amount of the first data set is less than or equal to any one or more of, or the data amount of the first data set is determined based on, or the data allocated resources for the first LCH does not maximally exceed any one or more of:
(1) The second PBR or the second PBR is valued;
(2) Determining an amount of data based on the second PBR;
(3) Allocating the remaining resources before the resources for the first data set;
(4) A first variable corresponding to the first LCH is first valued;
(5) The data volume of the third data set.
It should be noted that, before or after or during step S604, the terminal device may also allocate resources for other LCHs (e.g., the fourth LCH set) or data of other LCHs.
For example, LCHs in the fourth set of LCHs satisfy the first condition. For example, the first condition includes any one or more of the following: condition 1a, condition 2a, condition 3a.
Optionally, the fourth set of LCHs is a subset of the first set of LCHs, or the fourth set of LCHs is equal to the first set of LCHs.
For example, the terminal device performs resource allocation for LCHs in the fourth LCH set in descending order of priority of LCHs (e.g., priority of adjusted LCHs).
In a possible implementation manner, the data amount of the first data set sent by the terminal device in step S601 is a minimum value in at least one of the following information, where the at least one information includes: the data volume of the third data set allocates resources for other data or other signaling, remaining resources after the resources, or the second PBR.
Thus, by defining that the data amount of the first data set is less than or equal to any of the above, it is possible to avoid affecting the data to be transmitted in the LCHs other than the first LCH.
In one possible implementation, the data amount of the first data set is the data amount of the third data set in order to enable successful transmission of all data sets having a remaining time less than or equal to the threshold.
In one possible implementation, before step S601, the method may further include: the terminal device receives third indication information, wherein the third indication information indicates that resources are allocated to the first LCH based on the data quantity of the third data set, or the third indication information indicates that resources are not allocated to the first LCH based on the data quantity of the third data set. Thereby, the terminal device is caused to determine, based on the indication of the network device, whether to allocate resources for the first LCH based on the data amount of the third data set.
Optionally, S605, the terminal device updates the value of the first variable corresponding to the first LCH or the fourth LCH set.
Optionally, s606 the terminal device determines a second LCH set.
Optionally, the terminal device performs step S607-1 or step S607-2.
S607-1, the terminal equipment allocates resources for the second data set based on the data amount of the first data set.
S607-2, the terminal equipment determines that resources are not allocated to the second data set based on the data amount of the first data set.
Optionally, S608, the terminal device updates the value of the first variable corresponding to the first LCH, the fifth LCH set, the fourth LCH set, or (the fourth LCH set and the fifth LCH set).
Optionally, the S609, the terminal device allocates resources for the first LCH or the second LCH set (or LCHs in the second LCH set) or the first LCH set (or LCHs in the first LCH set) or the LCH or any 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).
Alternatively, S6011, the terminal device performs step S6011-1 or step S6011-2.
S6011-1. The terminal apparatus transmits the first data set and the second data set.
Accordingly, in step S6011-1, the network device receives a first data set and a second data set.
S6011-2. The terminal device transmits the first data set.
Accordingly, in step S6011-2, the network device receives a first set of data.
In one possible implementation, the method further includes: the terminal device receives the second indication information.
It should be noted that, the content of the embodiment shown in fig. 6 may refer to the content of the embodiment shown in fig. 4, which is not described herein. For example, the content of step S60X may refer to the content of S40X and will not be described herein. For example, S40X is replaced 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 at least one of the term interpretation, the multiple possible values of the first variable related to the first LCH, the process that the terminal device determines to allocate resources for the first data set, the process that the terminal device allocates resources for the second data set based on the data amount of the first data set, and the process that the terminal device determines to not allocate resources for the first LCH based on the data amount of the first data set, etc.), reference may be made to descriptions of other embodiments of the present application (such as the embodiment shown in fig. 4 and possible implementations thereof), and corresponding technical effects are achieved, which are not described herein.
Based on the technical scheme shown in fig. 6, the data meeting the condition a or the data with smaller residual time can be placed on the first resource as much as possible for transmission, or the data meeting the condition a or the data with smaller residual time can be transmitted as soon as possible/preferentially, and the overtime of some data with smaller residual time can be avoided, so that the transmission reliability can be improved, and the system capacity can be also improved. Fairness between different LCHs can also be ensured, avoiding starvation of certain LCHs (e.g., low priority LCHs).
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion that may be readily understood.
The above-mentioned embodiments of the present application may be combined without limitation, where the schemes are not contradictory.
It should be understood that the prior art may change with the evolution of the technical solution, and the technical solution provided by the present application is not limited to the provided prior art.
It should be noted that different embodiments of the present application or some steps (e.g., any one or more steps) of different embodiments may be combined with each other to form a new embodiment. It should be noted that, some steps or any one or more steps in different embodiments may include optional steps in a certain embodiment, and may also include optional steps and optional steps in a certain embodiment, and the present application is not limited.
It is noted that terms and/or descriptions between the various embodiments are consistent and may be referred to each other if not specifically stated or logically conflicting.
It should be noted that the sequence of the steps in the embodiment of the present application is not limited by the present application.
It should be noted that, in the embodiment of the present application, the order of judging the different conditions is not limited.
In the present application, "rear", "time", "front" are not strictly limited to the time points.
The present application is described above in terms of a method, and a communication apparatus provided by the present application will be described below.
Referring to fig. 7, an embodiment of the present application provides a communication apparatus 700, where the communication apparatus 700 may implement the functions of the first device or the second device in the above method embodiment, so that the beneficial effects of the above method embodiment may also be implemented. In the embodiment of the present application, the communication apparatus 700 may be the first device or the second device, or may be an integrated circuit or an element, such as a chip, inside the first device or the second device. The following embodiments will take the communication apparatus 700 as a first device or a second device as an example.
In a possible implementation manner, when the apparatus 700 is configured to perform the method performed by the first device in the foregoing embodiment, the apparatus includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is configured to allocate resources for a first data set, where the first data set is associated with a first logical channel LCH; the processing unit 701 is further configured to allocate resources for a second data set based on the data amount of the first data set, and the transceiver unit 702 is configured to send the first data set and the second data set in the first resources, where the second data set is associated with the first LCH; or, the processing unit 701 is further configured to determine that the first LCH is not allocated resources based on the data amount of the first data set, and the transceiver unit 702 is further configured to send the first data set in the first resources.
In one possible implementation, the data amount of the second data set is less than or equal to any one of: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In one possible implementation, before determining, based on the data amount of the first data set, that no resource is allocated to the first LCH, the value of the first variable corresponding to the first LCH is a first value or a second value, where the first value is less than or equal to0, and the second value is less than or equal to 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In one possible implementation, before determining 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 a first value or a second value, where the first value is greater than 0, and the second value is greater than 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation, after allocating resources for the second data set based on the data amount of the first data set, the processing unit 701 is further configured to allocate resources for other data sets based on the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
In one possible implementation, before allocating resources to the first data set, the value of the first variable corresponding to the first LCH is greater than 0.
In one possible implementation manner, after allocating resources for the first data, the value of the first variable corresponding to the first LCH is a first value or a second value; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In one possible implementation manner, after allocating resources to the second data set based on the data amount of the first data set, or after determining that resources are not allocated 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 any one of the following: a difference between the second value and the data volume of the second data set; a difference between the first value and the data volume of the first data set and the data volume of the second data set; a difference between the first value and the data volume of the first data set; or, a difference between the first value and the data volume of the second data set; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner, the processing unit 701 is specifically configured to allocate resources for the second data set based on the first parameter, or determine that resources are not allocated for the first LCH based on the first parameter; wherein the first parameter is associated with a resource allocation of the first LCH.
In one possible implementation, the first parameter includes any one of: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation, the transceiver unit 702 is further configured to receive first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In one possible implementation, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
In one possible implementation, the first data set includes K portions; the processing unit 701 is specifically configured to allocate resources for the first data set based on any one of the following, including: and sequencing the K parts from small to large in the residual time length, sequencing the K parts from small to large in the residual time length range, sequencing the K parts from high to low in the data priority, and sequencing the K logical channels from high to low in the channel priority.
In one possible implementation, the processing unit 701 is specifically configured to: allocating resources for the first LCH based on a second PBR, the second PBR being determined based on the data volume of the third data set; 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.
In one possible implementation, the second PBR is the minimum of the data volume of the third data set and the configured PBR; or, the value of the second PBR is the data size of the third data set.
In a possible implementation, the transceiver unit 702 is further configured to receive second indication information, where the second indication information indicates that resources are allocated for the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated for the first LCH based on the second PBR.
In one possible implementation, the allocating resources by the processing unit 701 for the first data set includes any one of:
allocating resources for the data meeting the condition A based on the ascending order of the residual time corresponding to the data;
allocating resources for the data meeting the condition A based on the ascending sequence of the range of the residual time corresponding to the data;
Allocating resources for the data meeting the condition A based on the priority corresponding to the data; or alternatively, the first and second heat exchangers may be,
Assigning resources to the data satisfying the condition a in descending order based on the priority of LCH;
Wherein, the condition A includes that the remaining time corresponding to the data is less than or equal to the threshold value.
In another possible implementation manner, when the apparatus 700 is configured to perform the method performed by the second device in the foregoing embodiment, the apparatus includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is configured to determine a first resource; the transceiver unit 702 is configured to receive a first data set in the first resource, or the transceiver unit 702 is configured 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 each associated with a first logical channel, LCH, the resources allocated for the second data set being determined based on the data amount of the first data set.
In one possible implementation, the data amount of the second data set is less than or equal to any one of: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner, the transceiver unit 702 is further configured to receive other data sets in the first resource, where the resources allocated for the other data sets are the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
In one possible implementation, the resources allocated for the second data set are determined based on a first parameter associated with the resource allocation of the first LCH.
In one possible implementation, the first parameter includes any one of: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner, the transceiver unit 702 is further configured to send first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In one possible implementation, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
In one possible implementation, the resources allocated for the second data set are determined based on the resources allocated for the first LCH by a second PBR, the second PBR being determined based on the data amount of a third data set; 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.
In one possible implementation, the second PBR is the minimum of the data volume of the third data set and the configured PBR; or, the value of the second PBR is the data size of the third data set.
In a possible implementation manner, the transceiver unit 702 is further configured 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.
In one possible implementation, the allocating resources by the processing unit 701 for the first data set includes any one of:
allocating resources for the data meeting the condition A based on the ascending order of the residual time corresponding to the data;
allocating resources for the data meeting the condition A based on the ascending sequence of the range of the residual time corresponding to the data;
Allocating resources for the data meeting the condition A based on the priority corresponding to the data; or alternatively, the first and second heat exchangers may be,
Assigning resources to the data satisfying the condition a in descending order based on the priority of LCH;
Wherein, the condition A includes that the remaining time corresponding to the data is less than or equal to the threshold value.
In another possible implementation manner, when the apparatus 700 is configured to perform the method performed by the first device in the foregoing embodiment, the apparatus includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is configured to allocate resources for the first logical channel LCH based on the second PBR; wherein the second PBR is determined based on the data volume of the third data set; the third data set is associated with the first LCH, and a remaining time corresponding to the third data set is less than or equal to a threshold; the transceiver unit 702 is configured to send a first data set in a first resource, where the first data set is part or all of the third data set.
In one possible implementation, the second PBR is the minimum of the data volume of the third data set and the configured PBR; or, the value of the second PBR is the data size of the third data set.
In a possible implementation, the transceiver unit 702 is further configured to receive second indication information, where the second indication information indicates that resources are allocated for the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated for the first LCH based on the second PBR.
In a possible implementation, the determining unit is further configured to allocate resources for a second data set based on the data amount of the first data set, send the second data set in the first resources, the second data set being associated with the first LCH; or, determining that resources are not allocated for the first LCH based on the data amount of the first data set.
In one possible implementation, the data amount of the second data set is less than or equal to any one of: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In one possible implementation, before determining, based on the data amount of the first data set, that no resource is allocated to the first LCH, the value of the first variable corresponding to the first LCH is a first value or a second value, where the first value is less than or equal to0, and the second value is less than or equal to 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In one possible implementation, before determining 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 a first value or a second value, where the first value is greater than 0, and the second value is greater than 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation, after allocating resources for the second data set based on the data amount of the first data set, the processing unit 701 is further configured to allocate resources for other data sets based on the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
In one possible implementation, before allocating resources to the first data set, the value of the first variable corresponding to the first LCH is greater than 0.
In one possible implementation manner, after allocating resources for the first data, the value of the first variable corresponding to the first LCH is a first value or a second value; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In one possible implementation manner, after allocating resources to the second data set based on the data amount of the first data set, or after determining that resources are not allocated 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 any one of the following: a difference between the second value and the data volume of the second data set; a difference between the first value and the data volume of the first data set and the data volume of the second data set; a difference between the first value and the data volume of the first data set; or, a difference between the first value and the data volume of the second data set; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner, the processing unit 701 is specifically configured to allocate resources for the second data set based on the first parameter, or determine that resources are not allocated for the first LCH based on the first parameter; wherein the first parameter is associated with a resource allocation of the first LCH.
In one possible implementation, the first parameter includes any one of: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation, the transceiver unit 702 is further configured to receive first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In one possible implementation, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
In one possible implementation, the first data set includes K portions; the processing unit 701 is specifically configured to allocate resources for the first data set based on any one of the following, including: and sequencing the K parts from small to large in the residual time length, sequencing the K parts from small to large in the residual time length range, sequencing the K parts from high to low in the data priority, and sequencing the K logical channels from high to low in the channel priority.
In another possible implementation manner, when the apparatus 700 is configured to perform the method performed by the second device in the foregoing embodiment, the apparatus includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is configured to determine uplink data; the transceiver unit 702 is configured to receive a first data set at the first resource, where the first data set is part or all of the third data set, the third data set is associated with the first LCH, and a 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 for the first logical channel LCH based on a second PBR, which is determined based on the data amount of the third data set.
In one possible implementation, the second PBR is the minimum of the data volume of the third data set and the configured PBR; or, the value of the second PBR is the data size of the third data set.
In a possible implementation manner, the transceiver unit 702 is further configured 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.
In one 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 the resources allocated for the second data set are determined based on the amount of data of the first data set.
In one possible implementation, the data amount of the second data set is less than or equal to any one of: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner, the transceiver unit 702 is further configured to receive other data sets in the first resource, where the resources allocated for the other data sets are the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
In one possible implementation, the resources allocated for the second data set are determined based on a first parameter associated with the resource allocation of the first LCH.
In one possible implementation, the first parameter includes any one of: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner, the transceiver unit 702 is further configured to send first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In one possible implementation, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
In another possible implementation manner, when the apparatus 700 is configured to perform the method performed by the first device in the foregoing embodiment, the apparatus includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is configured to allocate resources for the first logical channel LCH based on the data amount of the third data set; wherein the third data set is associated with the first LCH, and a 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 data in the first LCH; the transceiver unit 702 is configured to send a first data set in a first resource, where the first data set is part or all of the third data set.
In one possible implementation, the data amount of the first data set is a minimum value of at least one of the following information of the data amount of the third data set, the at least one information includes: allocating resources for other data or other signaling, remaining resources after the resources are allocated; or, the second PBR is the minimum value in 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 one possible implementation, the data volume of the first data set is the data volume of the third data set.
In a possible implementation manner, the transceiver unit 702 is further configured to receive third indication information, where 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.
In a possible implementation manner, the processing unit 701 is further configured to allocate resources for a second data set based on the data amount of the first data set, and send the second data set in the first resources, where the second data set is associated with the first LCH; or, determining that resources are not allocated for the first LCH based on the data amount of the first data set.
In one possible implementation, the data amount of the second data set is less than or equal to any one of:
Determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In one possible implementation, before determining, based on the data amount of the first data set, that no resource is allocated to the first LCH, the value of the first variable corresponding to the first LCH is a first value or a second value, where the first value is less than or equal to0, and the second value is less than or equal to 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In one possible implementation, before determining 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 a first value or a second value, where the first value is greater than 0, and the second value is greater than 0; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation, the processing unit 701 is further configured to allocate resources for other data sets based on the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
In one possible implementation, before allocating resources to the first data set, the value of the first variable corresponding to the first LCH is greater than 0.
In one possible implementation manner, after allocating resources for the first data, the value of the first variable corresponding to the first LCH is a first value or a second value; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In one possible implementation manner, after allocating resources to the second data set based on the data amount of the first data set, or after determining that resources are not allocated 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 any one of the following: a difference between the second value and the data volume of the second data set; a difference between the first value and the data volume of the first data set and the data volume of the second data set; a difference between the first value and the data volume of the first data set; or, a difference between the first value and the data volume of the second data set; the first value is the value of a first variable corresponding to the first LCH before the resource is 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.
In a possible implementation manner, the processing unit 701 is specifically configured to allocate resources for the second data set based on the first parameter, or determine that resources are not allocated for the first LCH based on the first parameter; wherein the first parameter is associated with a resource allocation of the first LCH.
In one possible implementation, the first parameter includes any one of: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation, the transceiver unit 702 is further configured to receive first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In one possible implementation, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
In another possible implementation manner, when the apparatus 700 is configured to perform the method performed by the second device in the foregoing embodiment, the apparatus includes a processing unit 701 and a transceiver unit 702; the processing unit 701 is configured to determine a first resource; the transceiver unit 702 is configured to receive a first data set in the first resource, where the first data set is part or all of the third data set, the third data set is associated with the first LCH, and a 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 for a 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.
In one possible implementation, the data amount of the first data set is a minimum value of at least one of the following information of the data amount of the third data set, the at least one information includes:
Allocating resources for other data or other signaling, remaining resources after the resources are allocated; or, the second PBR is the minimum value in 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 one possible implementation, the data volume of the first data set is the data volume of the third data set.
In a possible implementation manner, the transceiver unit 702 is further configured to send third indication information, where 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.
In a possible implementation, the transceiver unit 702 is further configured 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.
In one possible implementation, the data amount of the second data set is less than or equal to any one of: determining an amount of data based on a first PBR, the first PBR being determined based on the amount of data of the first set of data and the configured PBR; allocating resources remaining after the resources for the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner, the transceiver unit 702 is further configured to receive other data sets in the first resource, where the resources allocated for the other data sets are the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
In one possible implementation, the resources allocated for the second data set are determined based on a first parameter associated with the resource allocation of the first LCH.
In one possible implementation, the first parameter includes any one of: a first PBR, the first PBR being determined based on the data amount 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 is determined based on the data amount of the first data set; or, a difference value between the first value of the first variable corresponding to the first LCH and the data amount of the first data set.
In a possible implementation manner, the transceiver unit 702 is further configured to send first indication information, where the first indication information indicates that resources are allocated for the first LCH based on the data amount of the first data set, or the first indication information indicates that resources are not allocated for the first LCH based on the data amount of the first data set.
In one possible implementation, the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
It should be noted that, for details of the information execution process of the unit of the communication device 700, reference may be made to the description of the foregoing embodiment of the method of the present application, and the details are not repeated here.
Referring to fig. 8, a schematic block diagram of a communication device 800 according to the present application is shown, where the communication device 800 includes at least an input/output interface 802. Wherein the communication device 800 may be a chip or an integrated circuit.
Optionally, the communication device further comprises logic 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, and the input/output interface 802 may include an input interface and an output interface. Or the communication interface may be a transceiver circuit that may include an input interface circuit and an output interface circuit.
Optionally, in the case that the communication apparatus 800 is the first device (or a component in a device) in the foregoing embodiment, the logic 801 is configured to allocate resources for a first data set, where the first data set is associated with a first logical channel LCH; the logic 801 is further configured to allocate resources for a second data set based on the data amount of the first data set, the input output interface 802 being configured to transmit the first data set and the second data set in the first resources, the second data set being associated with the first LCH; or, the logic 801 is further configured to determine that no resources are allocated for the first LCH based on the data amount of the first data set, and the input output interface 802 is further configured to transmit the first data set in the first resources.
Optionally, in the case that the communication apparatus 800 is the second device (or a component in the device) in the foregoing embodiment, the logic 801 is configured to determine the first resource; the input output interface 802 is configured to receive a first data set in the first resource, or the input output interface 802 is configured 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 each associated with a first logical channel, LCH, the resources allocated for the second data set being determined based on the data amount of the first data set.
Optionally, in the case that the communication apparatus 800 is the first device (or a component in the device) in the foregoing embodiment, the logic 801 is configured to allocate resources for the first logical channel LCH based on the second PBR; wherein the second PBR is determined based on the data volume of the third data set; the third data set is associated with the first LCH, and a remaining time corresponding to the third data set is less than or equal to a threshold; the input-output interface 802 is configured to send a first data set in a first resource, where the first data set is part or all of the third data set.
Optionally, in the case that the communication apparatus 800 is the second device (or a component in the device) in the foregoing embodiment, the logic circuit 801 is configured to determine uplink data; the input/output interface 802 is configured to receive a first data set at the first resource, where the first data set is part or all of the third data set, the third data set is associated with the first LCH, and a 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 for the first logical channel LCH based on a second PBR, which is determined based on the data amount of the third data set.
Optionally, in the case that the communication apparatus 800 is the first device (or a component in the device) in the foregoing embodiment, the logic circuit 801 is configured to allocate resources for the first logical channel LCH based on the data amount of the third data set; wherein the third data set is associated with the first LCH, and a 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 data in the first LCH; the input-output interface 802 is configured to send a first data set in a first resource, where the first data set is part or all of the third data set.
Optionally, in the case that the communication apparatus 800 is the second device (or a component in the device) in the foregoing embodiment, the logic 801 is configured to determine the first resource; the input/output interface 802 is configured to receive a first data set in the first resource, where the first data set is part or all of the third data set, the third data set is associated with the first LCH, and a 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 for a 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 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 are not described herein.
In one possible implementation, the processing unit 701 shown in fig. 7 may be the logic circuit 801 in fig. 8.
Alternatively, the logic 801 may be a processing device, and the functions of the processing device may be implemented in part or in whole by software. Wherein the functions of the processing device may be partially or entirely implemented by software.
Optionally, the processing means may comprise a memory for storing a computer program and a processor for reading and executing the computer program stored in the memory for performing the corresponding processes and/or steps in any of the method embodiments.
Alternatively, the processing means may comprise only a processor. The memory for storing the computer program is located outside the processing means and the processor is connected to the memory via circuitry/electrical wiring for reading and executing the computer program stored in the memory. Wherein the memory and the processor may be integrated or may be physically independent of each other.
Alternatively, the processing means 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 (FPGAs), application-specific integrated chips (ASICs), system-on-chips (socs), central processors (central processor unit, CPUs), network processors (network processor, NP), digital signal processing circuits (DIGITAL SIGNAL processors, DSPs), microcontrollers (micro controller unit, MCUs), programmable controllers (programmable logic device, PLDs) or other integrated chips, or any combination of the above chips or processors, or the like.
Referring to fig. 9, a communication apparatus 900 according to the foregoing embodiment provided for an embodiment of the present application may specifically be a communication apparatus as a terminal device in the foregoing embodiment, and the example shown in fig. 9 is that the terminal device is implemented by the terminal device (or a component in the terminal device).
Wherein, a schematic diagram of one possible logic structure of the communication device 900, the communication device 900 may include, but is not limited to, at least one processor 901 and a communication port 902.
Further optionally, the apparatus may further comprise at least one of a memory 903, a bus 904, and in an embodiment of the present application, the at least one processor 901 is configured to perform control processing on actions of the communication apparatus 900.
Further, the processor 901 may be a central processor 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. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. The processor may also be a combination that performs the function of a computation, e.g., a combination comprising one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so forth. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
It should be noted that, the communication apparatus 900 shown in fig. 9 may be specifically used to implement the steps implemented by the terminal device in the foregoing method embodiment, and implement the technical effects corresponding to the terminal device, and the specific implementation manner of the communication apparatus shown in fig. 9 may refer to the descriptions in the foregoing method embodiment, which are not repeated herein.
Referring to fig. 10, a schematic structural diagram of a communication apparatus 1000 according to the foregoing embodiment provided in an embodiment of the present application, where the communication apparatus 1000 may specifically be a communication apparatus as a network device in the foregoing embodiment, and the example shown in fig. 10 is implemented by a network device (or a component in the network device), where the structure of the communication apparatus may refer to the structure shown in fig. 10.
The communication device 1000 includes at least one processor 1011 and at least one network interface 1014. Further optionally, the communication device further comprises at least one memory 1012, at least one transceiver 1013, and one or more antennas 1015. The processor 1011, memory 1012, transceiver 1013, and network interface 1014 are connected, for example, by a bus, and in embodiments of the present application, the connection may include various interfaces, transmission lines, buses, etc., which are not limited in this embodiment. An antenna 1015 is coupled to the transceiver 1013. The network interface 1014 is used to enable the communication apparatus to communicate with other communication devices via a communication link. For example, the network interface 1014 may comprise a network interface between the communication apparatus and the core network device, such as an S1 interface, and the network interface may comprise a network interface between the communication apparatus and other communication apparatus (e.g., other network devices or core network devices), such as an X2 or Xn interface.
The processor 1011 is mainly used for processing communication protocols and communication data and controlling the whole communication apparatus, executing software programs, processing data of the software programs, for example, for supporting the communication apparatus to perform the actions described in the embodiments. The communication device may include a baseband processor, which is mainly used for processing the communication protocol and the communication data, and a central processor, which is mainly used for controlling the whole terminal device, executing the software program, and processing the data of the software program. The processor 1011 in fig. 10 may integrate the functions of a baseband processor and a central processor, and those skilled in the art will appreciate that the baseband processor and the central processor may also be separate processors, interconnected by bus technology, etc. Those skilled in the art will appreciate that the terminal device may include multiple baseband processors to accommodate different network formats, and that the terminal device may include multiple central processors to enhance its processing capabilities, and that the various components of the terminal device may be connected by various buses. The baseband processor may also be referred to as a baseband processing circuit or baseband processing chip. The central processing unit may also be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and the communication data may be built in the processor, or may be stored in a memory in the form of a software program, which is executed by the processor to realize the baseband processing function.
The memory is mainly used for storing software programs and data. The memory 1012 may be separate and coupled to the processor 1011. Alternatively, the memory 1012 may be integrated with the processor 1011, for example, within a single chip. The memory 1012 is capable of storing program codes for implementing the technical solutions of the embodiments of the present application, and is controlled to be executed by the processor 1011, and various types of computer program codes executed may be regarded as drivers of the processor 1011.
Fig. 10 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 storage device, etc. The memory may be a memory element on the same chip as the processor, i.e., an on-chip memory element, or a separate memory element, as embodiments of the present application are not limited in this respect.
The transceiver 1013 may be used to support reception or transmission of radio frequency signals between the communication device and the terminal, and the transceiver 1013 may be connected to an antenna 1015. The transceiver 1013 includes a transmitter Tx and a receiver Rx. Specifically, one or more antennas 1015 may receive the rf signal, and a receiver Rx of the transceiver 1013 is configured to receive the rf signal from the antenna, convert the rf 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 performs further processing, such as demodulation processing and decoding processing, on the digital baseband signal or the digital intermediate frequency signal. The transmitter Tx in the transceiver 1013 is further configured to receive a modulated digital baseband signal or a digital intermediate frequency signal from the processor 1011, convert the modulated digital baseband signal or digital intermediate frequency signal into a radio frequency signal, and transmit the radio frequency signal through the one or more antennas 1015. In particular, the receiver Rx may selectively perform one or more steps of down-mixing and analog-to-digital conversion on the radio frequency signal to obtain a digital baseband signal or a digital intermediate frequency signal, where the order of the down-mixing and analog-to-digital conversion is adjustable. The transmitter Tx may selectively perform one or more stages of up-mixing processing and digital-to-analog conversion processing on the modulated digital baseband signal or the digital intermediate frequency signal to obtain a radio frequency signal, and the sequence of the up-mixing processing and the digital-to-analog conversion processing may be adjustable. The digital baseband signal and the digital intermediate frequency signal may be collectively referred to as a digital signal.
The transceiver 1013 may also be referred to as a transceiver unit, transceiver device, etc. Alternatively, the device for implementing the receiving function in the transceiver unit may be regarded as a receiving unit, and the device for implementing the transmitting function in the transceiver unit may be regarded as a transmitting unit, that is, the transceiver unit includes a receiving unit and a transmitting unit, where the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the transmitting unit may be referred to as a transmitter, or a transmitting circuit, etc.
It should be noted that, the communication apparatus 1000 shown in fig. 10 may be specifically used to implement steps implemented by the network device in the foregoing method embodiment and implement technical effects corresponding to the network device, and the specific implementation manner of the communication apparatus 1000 shown in fig. 10 may refer to descriptions in the foregoing method embodiment, which are not repeated herein.
Embodiments of the present application also provide a computer-readable storage medium storing one or more computer-executable instructions that, when executed by a processor, perform a method as described in the possible implementation of the terminal device in the previous embodiments.
Embodiments of the present application also provide a computer-readable storage medium storing one or more computer-executable instructions that, when executed by a processor, perform a method as described in the foregoing embodiments as a possible implementation of a network device.
Embodiments of the present application also provide a computer program product (or computer program) storing one or more computers, which when executed by the processor performs a method of a possible implementation of the terminal device described above.
Embodiments of the present application also provide a computer program product storing one or more computers which, when executed by the processor, performs a method of a possible implementation of the network device described above.
The embodiment of the application also provides a chip system which comprises at least one processor and is used for supporting the communication device to realize the functions involved in the possible realization mode of the communication device. Optionally, the chip system further comprises an interface circuit providing program instructions and/or data to the at least one processor. In one possible design, the system-on-chip may further include a memory to hold the necessary program instructions and data for the communication device. The chip system may be formed by a chip, or may include a chip and other discrete devices, where the communication device may specifically be a terminal device in the foregoing method embodiment.
The embodiment of the application also provides a chip system which comprises at least one processor and is used for supporting the communication device to realize the functions involved in the possible realization mode of the communication device. Optionally, the chip system further comprises an interface circuit providing program instructions and/or data to the at least one processor. In one possible design, the system on a chip may further include a memory to hold the necessary program instructions and data for the communication device. The chip system may be formed by a chip, or may include a chip and other discrete devices, where the communication device may specifically be a network device in the foregoing method embodiment.
The embodiment of the application also provides a communication system which comprises the first device and the second device in any embodiment.
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 may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of 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.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or contributing part or all or part of the technical solution in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (29)

1. A method of communication, comprising:
Allocating resources for a first set of data, the first set of data being associated with a first logical channel, LCH;
allocating resources for a second data set based on the data amount of the first data set, transmitting the first data set and the second data set in a first resource, the second data set being associated with the first LCH; or alternatively, the first and second heat exchangers may be,
And determining that resources are not allocated to the first LCH based on the data quantity of the first data set, and sending the first data set in the first resources.
2. The method of claim 1, wherein the amount of data of the second data set is less than or equal to any one of:
A data amount determined based on a first priority bit rate, PBR, the first PBR being determined based on the data amount of the first data set and a configured PBR;
allocating the remaining resources after the resources for the first data set; or alternatively, the first and second heat exchangers may be,
And a difference value between a first value of a first variable corresponding to the first LCH and the data volume of the first data set.
3. The method of claim 1 or 2, wherein prior to determining that resources are not allocated for the first LCH based on the data amount of the first data set, the value of a first variable corresponding to the first LCH is a first value or a second value, the first value being less than or equal to 0, the second value being less than or equal to 0;
The first value is the value of a first variable corresponding to the first LCH before the resource is 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.
4. A method according to any one of claims 1 to 3, wherein the value of the first variable corresponding to the first LCH is either a first value or a second value, the first value being greater than 0, the second value being greater than 0, before determining to allocate resources for the second data set based on the amount of data of the first data set;
The first value is the value of a first variable corresponding to the first LCH before the resource is 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.
5. The method of any of claims 1 to 4, wherein after allocating resources for the second data set based on the amount of data of the first data set, the method further comprises:
And allocating resources for other data sets based on the resources allocated for the first data set and the remaining resources other than the resources allocated for the second data set.
6. The method of any one of claims 1 to 5, wherein after allocating resources for the first data, the value of the first variable corresponding to the first LCH is a first value or a second value;
The first value is the value of a first variable corresponding to the first LCH before the resource is 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.
7. The method of any of claims 1-6, wherein the allocating resources for a second data set based on the amount of data of the first data set or determining not to allocate resources for the first LCH based on the amount of data of the first data set comprises:
allocating resources for the second data set based on the first parameter, or determining not to allocate resources for the first LCH based on the first parameter; wherein the first parameter is associated with a resource allocation of the first LCH.
8. The method of claim 7, wherein the first parameter comprises any one of:
a first PBR, the first PBR being determined based on the data volume of the first data set and a configured PBR;
after allocating resources for the first data, the value of the first variable corresponding to the first LCH is determined based on the data amount of the first data set; or alternatively, the first and second heat exchangers may be,
And a difference value between a first value of a first variable corresponding to the first LCH and the data volume of the first data set.
9. The method according to any one of claims 1 to 8, further comprising:
And receiving first indication information, wherein the first indication information indicates that resources are allocated to the first LCH based on the data quantity of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data quantity of the first data set.
10. The method according to any of claims 2 to 9, wherein the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
11. The method according to any one of claims 1 to 10, wherein said allocating resources for the first data set comprises:
Allocating resources for the first LCH based on a second PBR, the second PBR being determined based on a data amount of a third data set; 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. The method of claim 11, wherein the method further comprises:
And receiving second indication information, wherein the second indication information indicates that resources are allocated for the first LCH based on the second PBR, or the second indication information indicates that resources are not allocated for the first LCH based on the second PBR.
13. The method according to any of claims 1 to 10, wherein said allocating resources for the first data set comprises any of:
allocating resources for the data meeting the condition A based on the ascending order of the residual time corresponding to the data;
allocating resources for the data meeting the condition A based on the ascending sequence of the range of the residual time corresponding to the data;
Allocating resources for the data meeting the condition A based on the priority corresponding to the data; or alternatively, the first and second heat exchangers may be,
Assigning resources to the data satisfying the condition a in descending order based on the priority of LCH;
wherein, the condition A includes that the remaining time corresponding to the data is smaller than or equal to a threshold value. .
14. A method of communication, comprising:
Determining a 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;
Wherein the first data set and the second data set are each associated with a first logical channel, LCH, the resources allocated for the second data set being determined based on the data volume of the first data set.
15. The method of claim 14, wherein the amount of data of the second data set is less than or equal to any one of:
determining a data amount based on a first PBR, the first PBR being determined based on the data amount of the first data set and a configured PBR;
allocating the remaining resources after the resources for the first data set; or alternatively, the first and second heat exchangers may be,
And a difference value between a first value of a first variable corresponding to the first LCH and the data volume of the first data set.
16. The method according to claim 14 or 15, characterized in that the method further comprises:
and receiving other data sets in the first resource, wherein the resources allocated for the other data sets are the rest resources except the resources allocated for the first data set and the resources allocated for the second data set.
17. The method of any of claims 14 to 16, wherein the resources allocated for the second data set are determined based on a first parameter associated with the resource allocation of the first LCH.
18. The method of claim 17, wherein the first parameter comprises any one of:
a first PBR, the first PBR being determined based on the data volume of the first data set and a configured PBR; or alternatively, the first and second heat exchangers may be,
After allocating resources for the first data, the value of the first variable corresponding to the first LCH is determined based on the data amount of the first data set; or alternatively, the first and second heat exchangers may be,
And a difference value between a first value of a first variable corresponding to the first LCH and the data volume of the first data set.
19. The method according to any one of claims 14 to 18, further comprising:
And sending first indication information, wherein the first indication information indicates that resources are allocated to the first LCH based on the data quantity of the first data set, or the first indication information indicates that resources are not allocated to the first LCH based on the data quantity of the first data set.
20. The method according to any of the claims 15 to 19, characterized in that the value of the first PBR is the maximum value of the sum of the difference between the configured PBR and the data volume of the first data set and 0.
21. The method according to any one of claims 14 to 20, wherein,
The resources allocated for the second data set are determined based on resources allocated for the first LCH by a second PBR, the second PBR being determined based on the data amount of a third data set; 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. The method of claim 21, wherein the method further comprises:
And sending 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.
23. The method of any of claims 14 to 22, wherein said allocating resources for the first data set comprises any of:
allocating resources for the data meeting the condition A based on the ascending order of the residual time corresponding to the data;
allocating resources for the data meeting the condition A based on the ascending sequence of the range of the residual time corresponding to the data;
Allocating resources for the data meeting the condition A based on the priority corresponding to the data; or alternatively, the first and second heat exchangers may be,
Assigning resources to the data satisfying the condition a in descending order based on the priority of LCH;
wherein, the condition A includes that the remaining time corresponding to the data is smaller than or equal to a threshold value.
24. A communication device, comprising a processing unit and a transceiver unit;
The processing unit and the transceiving unit are adapted to perform the method according to any of claims 1 to 13, or the processing unit and the transceiving unit are adapted to perform the method according to any of claims 14 to 23.
25. A communication device comprising at least one processor, the at least one processor coupled to a memory;
the memory is used for storing programs or instructions;
the at least one processor is configured to execute the program or instructions to cause the apparatus to implement the method of any one of claims 1 to 13, or to cause the apparatus to implement the method of any one of claims 14 to 23.
26. A computer readable storage medium, characterized in that the medium stores instructions which, when executed by a computer, implement the method of any one of claims 1 to 23.
27. A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 23.
28. A chip, wherein the chip comprises a processor and a communication interface;
Wherein the communication interface is coupled to the processor for running a computer program or instructions to implement the method of any one of claims 1 to 23.
29. A communication system comprising a first device and a second device;
Wherein the first device is for performing the method of any one of claims 1 to 13 and the second device is for performing the method of any one of claims 14 to 23.
CN202211380898.0A 2022-11-04 2022-11-04 Communication method and related equipment Pending CN117998649A (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN117998649A true CN117998649A (en) 2024-05-07

Family

ID=90896211

Family Applications (1)

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

Country Status (2)

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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108633088B (en) * 2017-03-24 2020-12-15 华为技术有限公司 Resource scheduling method and device
CN110474849B (en) * 2018-05-10 2022-05-24 华为技术有限公司 Resource allocation method and communication equipment
WO2020193012A1 (en) * 2019-03-28 2020-10-01 Sony Corporation Communications device, infrastructure equipment and methods
CN114364040B (en) * 2019-10-30 2024-03-22 Oppo广东移动通信有限公司 Wireless communication method and terminal device
WO2021081908A1 (en) * 2019-10-31 2021-05-06 Oppo广东移动通信有限公司 Method for allocating resource to uplink logical channel, and terminal device
CN114642051A (en) * 2019-12-06 2022-06-17 华为技术有限公司 Control method and device for uplink data transmission

Also Published As

Publication number Publication date
WO2024093908A1 (en) 2024-05-10

Similar Documents

Publication Publication Date Title
WO2019065617A1 (en) Optimization of resource allocation based on received quality of experience information
CN110547013B (en) Method for allocating resources for logical channels, terminal equipment and network equipment
CN104823507B (en) The means of communication and equipment
EP3706488B1 (en) Uplink data packet resource allocation method and user terminal
WO2018058440A1 (en) Information transmission method, network device, and terminal device
CN111356172A (en) Communication method, communication device, terminal, network device and storage medium
WO2021072597A1 (en) Method and apparatus for indicating qos flow information
WO2022223031A1 (en) Communication processing method for data transmission and related device
WO2022151195A1 (en) Method and apparatus for survival time and communication service availability
WO2022151441A1 (en) Communication method and apparatus
CN117998649A (en) Communication method and related equipment
WO2024174665A1 (en) Communication method and communication apparatus
CN114175744A (en) Method and device for transmitting data
WO2024140600A1 (en) Communication method, communication apparatus, and communication system
WO2023197143A1 (en) Base station, user equipment, and extended reality processing method
WO2024082150A1 (en) Method, device and computer program product for wireless communication
WO2023280047A1 (en) Communication method and device
WO2024148608A1 (en) Wireless communication method, user equipment and base station
WO2024140257A1 (en) Communication method and apparatus based on configuration grant
WO2024168860A1 (en) Communication method, apparatus and device, and storage medium, chip, product and program
WO2024067062A1 (en) Data transmission method and related product
WO2024207995A1 (en) Configured grant-based communication method and apparatus
WO2024140365A1 (en) Communication method and related device
WO2023078139A1 (en) Method and apparatus for sidelink resource re-assessment and ue
US20240098571A1 (en) Transmission latency mitigation for voice over new radio (vonr)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication