Resource allocation method and device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
- Filing Date
- 2023-09-08
- Publication Date
- 2026-04-10
AI Technical Summary
In 3GPP cellular systems, low-priority logical channels are prone to starvation because high-priority logical channels occupy most of the wireless resources when resource allocation, resulting in low-priority logical channels not being able to obtain sufficient resources.
The parameters calculated based on the data rates of multiple logical channels are reasonably allocated to ensure that resource allocation is more fair and the hunger phenomenon of low-priority logical channels is reduced.
It realizes the more reasonable allocation of radio resources between different logical channels, weakens the hunger problem of low-priority logical channels, and improves the fairness of resource allocation.
Smart Images

Figure CN121844690A_ABST
Abstract
Description
Resource allocation method and device Technical Field
[0001] The present application relates to the field of communications, and more specifically, to a resource allocation method and device. Background Art
[0002] In 3rd Generation Partnership Project (3GPP) cellular systems, when a user equipment (UE) is scheduled in the uplink, if more than one logical channel is scheduled, resource blocks must be shared between the different logical channels for uplink data transmission. One of the more important parameters is the logical channel priority. Radio resources are allocated to logical channels based on their priority, but low-priority logical channels are prone to starvation.
[0003] Summary of the Invention
[0004] The embodiments of the present application provide a resource allocation method and device, which can more reasonably allocate wireless resources among different logical channels.
[0005] An embodiment of the present application provides a resource allocation method, comprising: obtaining first parameters corresponding to the multiple logical channels based on data rates of the multiple logical channels;
[0006] Based on the first parameters corresponding to the multiple logical channels, radio resources are allocated to the multiple logical channels.
[0007] An embodiment of the present application provides a terminal device, including:
[0008] a processing unit, configured to obtain first parameters corresponding to the plurality of logical channels based on data rates of the plurality of logical channels;
[0009] An allocating unit is configured to allocate wireless resources to the multiple logical channels based on first parameters corresponding to the multiple logical channels.
[0010] An embodiment of the present application provides a terminal device, comprising: a transceiver, a processor, and a memory. The memory is used to store a computer program, the transceiver is used to communicate with other devices, and the processor is used to call and execute the computer program stored in the memory, so that the terminal device executes the above-mentioned resource allocation method.
[0011] An embodiment of the present application provides a network device, comprising: a transceiver, a processor, and a memory. The memory is used to store a computer program, the transceiver is used to communicate with other devices, and the processor is used to call and execute the computer program stored in the memory to enable the network device to perform the above-mentioned resource allocation method.
[0012] An embodiment of the present application provides a chip for implementing the above-mentioned resource allocation method.
[0013] Specifically, the chip includes: a processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes the above-mentioned resource allocation method.
[0014] An embodiment of the present application provides a computer-readable storage medium for storing a computer program. When the computer program is executed by a device, the device executes the above-mentioned resource allocation method.
[0015] An embodiment of the present application provides a computer program product, including computer program instructions, which enable a computer to execute the above-mentioned resource allocation method.
[0016] An embodiment of the present application provides a computer program, which, when executed on a computer, enables the computer to execute the above-mentioned resource allocation method.
[0017] In the embodiment of the present application, wireless resources are allocated among different logical channels based on parameters obtained based on the data rate of the logical channel, which can more reasonably allocate wireless resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] FIG1 is a schematic diagram of an application scenario according to an embodiment of the present application.
[0019] FIG2 is a schematic diagram of a logical channel participating in an LCP process according to the present application.
[0020] FIG3 is a schematic flowchart of a resource allocation method according to an embodiment of the present application.
[0021] FIG4 is a schematic flowchart of a resource allocation method according to another embodiment of the present application.
[0022] FIG5 is a schematic flowchart of a resource allocation method according to another embodiment of the present application.
[0023] FIG6 is a schematic flowchart of a resource allocation method according to another embodiment of the present application.
[0024] FIG7 is a schematic flowchart of a resource allocation method according to another embodiment of the present application.
[0025] 8A and 8B are schematic diagrams of the satisfaction curve and curvature curve of the present application.
[0026] FIG9 is a schematic block diagram of a terminal device according to an embodiment of the present application.
[0027] FIG10 is a schematic block diagram of a terminal device according to another embodiment of the present application.
[0028] FIG11 is a schematic block diagram of a communication device according to an embodiment of the present application.
[0029] FIG12 is a schematic block diagram of a chip according to an embodiment of the present application.
[0030] FIG13 is a schematic block diagram of a communication system according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0032] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Long Term Evolution (LTE) system, Advanced Long Term Evolution (LTE-A) system, New Radio (NR) system, NR system evolution system, LTE on unlicensed spectrum (LTE-U) system, NR on unlicensed spectrum (NR-based access to unlicensed spectrum, NR-U) system, Non-Terrestrial Networks (NTN) system, Universal Mobile Telecommunication System (UMTS), Wireless Local Area Networks (WLAN), Wireless Fidelity (WiFi), Fifth Generation (5G) system or other communication systems.
[0033] Generally speaking, traditional communication systems support a limited number of connections and are easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communications, but will also support, for example, device-to-device (D2D) communication, machine-to-machine (M2M) communication, machine-type communication (MTC), vehicle-to-vehicle (V2V) communication, or vehicle-to-everything (V2X) communication, etc. The embodiments of the present application can also be applied to these communication systems.
[0034] In one embodiment, the communication system in the embodiment of the present application can be applied to a carrier aggregation (CA) scenario, a dual connectivity (DC) scenario, and a standalone (SA) networking scenario.
[0035] In one embodiment, the communication system in the embodiment of the present application can be applied to an unlicensed spectrum, wherein the unlicensed spectrum can also be considered as a shared spectrum; or, the communication system in the embodiment of the present application can also be applied to an authorized spectrum, wherein the authorized spectrum can also be considered as an unshared spectrum.
[0036] The embodiments of the present application describe various embodiments in conjunction with network devices and terminal devices, wherein the terminal device may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, etc.
[0037] The terminal device can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a next-generation communication system such as an NR network, or a terminal device in a future evolved Public Land Mobile Network (PLMN) network, etc.
[0038] In an embodiment of the present application, the terminal device can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.).
[0039] In an embodiment of the present application, the terminal device may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.
[0040] As an example and not a limitation, in the embodiment of the present application, the terminal device may also be a wearable device. Wearable devices may also be called wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0041] In an embodiment of the present application, the network device may be a device for communicating with a mobile device. The network device may be an access point (AP) in a WLAN, an evolved base station (eNB or eNodeB) in LTE, or a relay station or access point, or a vehicle-mounted device, a wearable device, and a network device (gNB) in an NR network, or a network device in a future evolved PLMN network or a network device in an NTN network, etc.
[0042] As an example and not a limitation, in an embodiment of the present application, the network device may have a mobile feature, for example, the network device may be a mobile device. Alternatively, the network device may be a satellite or a balloon station. For example, the satellite may be a low earth orbit (LEO) satellite, a medium earth orbit (MEO) satellite, a geostationary earth orbit (GEO) satellite, a high elliptical orbit (HEO) satellite, etc. Optionally, the network device may also be a base station set up in a location such as land or water.
[0043] In an embodiment of the present application, the network device can provide services for a cell, and the terminal device communicates with the network device through the transmission resources used by the cell (for example, frequency domain resources, or spectrum resources). The cell can be a cell corresponding to the network device (for example, a base station). The cell can belong to a macro base station or a base station corresponding to a small cell. The small cells here may include: metro cells, micro cells, pico cells, femto cells, etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-speed data transmission services.
[0044] FIG1 exemplarily illustrates a communication system 100. The communication system includes a network device 110 and two terminal devices 120. In one embodiment, the communication system 100 may include multiple network devices 110, and each network device 110 may include a different number of terminal devices 120 within its coverage area, which is not limited in this embodiment of the present application.
[0045] In one embodiment, the communication system 100 may further include other network entities such as a Mobility Management Entity (MME) and an Access and Mobility Management Function (AMF), which is not limited in this embodiment of the present application.
[0046] Among them, the network equipment may include access network equipment and core network equipment. That is, the wireless communication system also includes multiple core networks for communicating with the access network equipment. The access network equipment can be an evolutionary base station (evolutional node B, abbreviated as eNB or e-NodeB) macro base station, micro base station (also called "small base station"), pico base station, access point (AP), transmission point (TP) or new generation base station (new generation Node B, gNodeB), etc. in a long-term evolution (LTE) system, a next-generation (mobile communication system) (next radio, NR) system or an authorized auxiliary access long-term evolution (LAA-LTE) system.
[0047] It should be understood that in the embodiments of the present application, a device having a communication function in a network / system may be referred to as a communication device. Taking the communication system shown in Figure 1 as an example, the communication device may include a network device and a terminal device having a communication function. The network device and the terminal device may be specific devices in the embodiments of the present application and will not be described in detail here. The communication device may also include other devices in the communication system, such as a network controller, a mobility management entity, and other network entities, which are not limited in the embodiments of the present application.
[0048] It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and / or" is simply a description of an association between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " generally indicates that the related objects are in an "or" relationship.
[0049] It should be understood that the "indication" mentioned in the embodiments of this application can be a direct indication, an indirect indication, or an indication of an association. For example, "A indicates B" can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association between A and B.
[0050] In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship between indication and being indicated, configuration and being configured, etc.
[0051] To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following relevant technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all fall within the protection scope of the embodiments of the present application.
[0052] In 3GPP's Third Generation (3G) mobile communication systems, such as Wideband Code Division Multiple Access (WCDMA), the logical channel optimization level (LCP) is the only parameter referenced during the logical channel prioritization (LCP) process. For example, two logical channels, LCH_1 and LCH_2, have priorities LCH1_P and LCH2_P, respectively. At a given moment, the buffers for the data they need to send are LCH1_Buf and LCH2_Buf, respectively. The size of the allocated radio resource block is represented by a serving grant (SG). Based on the SG, the terminal can calculate the size of the radio resource block in bytes.
[0053] An example of a method for allocating radio resources to a logical channel is as follows:
[0054] Step 1: Sort the logical channels by priority (assuming that LCH_1 has a higher priority than LCH_2, the first logical channel is LCH_1).
[0055] Step 2: Allocate radio resources to LCH_1. If SG <= LCH_B1, the process ends; otherwise, go to Step 3.
[0056] Step 3: Allocate the remaining radio resources (ie, SG-LCH1_Buf) to LCH_2.
[0057] When the number of logical channels is greater than 2, the method is the same, that is, wireless resources are allocated in order of logical channel priority until all wireless resources are allocated or the last logical channel is allocated.
[0058] This method will cause a "starvation" phenomenon. That is, when the SG is smaller than the sum of the logical channel buffers and the high-priority logical channels always have buffers to send, the low-priority logical channels either cannot be scheduled or receive fewer wireless resources, which cannot meet the basic QoS requirements, thus causing starvation.
[0059] In 3GPP's fourth-generation (4G) and fifth-generation (5G) mobile communication systems, LCP uses a token bucket algorithm to alleviate or even overcome the aforementioned starvation problem. The specific method is as follows:
[0060] Each logical channel sets a priority bit rate (PBR) and a token bucket (BS) according to QoS requirements. The token bucket can be represented by PBR_BS. A token variable Bj is set locally. Each logical channel accumulates Bj over time, but the maximum value does not exceed PBR_BS, that is, Bj = Bj + PBR × T, Bj = min (Bj, PBR_BS). Where T is the time period between two Bj increment calculations. For example, the steps of LCP are as follows (for the convenience of description, it is assumed that LCH_1 has a higher priority than LCH_2):
[0061] Step 1: First, allocate radio resources to LCH_1, for example: LCH1_ASG = min(SG, LCH1_Bj, LCH1_Buf), where the radio resources allocated to LCH_1 are the minimum of the SG to be allocated, LCH1's token variable LCH1_Bj, and LCH1's buffer size LCH1_Buf. After allocation, subtract the allocated resources from SG and update LCH1's token variable and buffer size. The formula example is as follows:
[0062] SG = SG - LCH1_ASG, which means subtracting the allocated resources from SG;
[0063] LCH1_Bj=LCH1_Bj-LCH1_ASG, which means that the allocated resources are subtracted from the token variable of LCH1 and the token variable of LCH1 is updated;
[0064] LCH1_Buf=LCH1_Buf-LCH1_ASG, indicating that the allocated resources are subtracted from the cache size of LCH_1, and the cache of LCH_1 is updated.
[0065] If there are still SGs remaining, wireless resources can continue to be allocated to LCH_2, for example: LCH2_ASG = min(SG, LCH2_Bj, LCH2_Buf), which means that the wireless resources allocated to LCH_2 are the minimum value of the remaining SG, LCH_2's token variable LCH2_Bj, and LCH_2's cache size LCH2_Buf.
[0066] After allocation, the allocated resources are subtracted from SG, and the token variable and cache size of LCH_2 are updated. The formula example is as follows:
[0067] SG = SG - LCH2_ASG, which means subtracting the allocated resources from SG;
[0068] LCH2_Bj=LCH2_Bj–LCH2_ASG, which means subtracting the allocated resources from the token variable of LCH_2 and updating the token variable of LCH_2;
[0069] LCH2_Buf = LCH2_Buf – LCH2_ASG, which means subtracting the allocated resources from the LCH_2 cache;
[0070] Step 2: If SG is still greater than 0, allocation can continue in the order of priority of LCH_1 and LCH_2 until the wireless resource SG is allocated or LCH_2 is also allocated.
[0071] This algorithm is also applicable to the case where there are more than two logical channels. Just continue to apply step 1 and step 2 in the same way to the logical channels arranged according to the logical channel priority.
[0072] The above solution overcomes the starvation problem in the 3GPP 3G system to a certain extent, but it cannot completely avoid the starvation problem. This problem is particularly serious when the available radio resources are relatively small compared to the total buffer of the logical channels participating in the LCP.
[0073] The following is an example description:
[0074] In Figure 2, three logical channels, LCH1, LCH2, and LCH3, participate in the LCP process. The boundary between the two blocks in each logical channel represents the tokens Bj accumulated by each logical channel based on the configured PBR. Above Bj is the amount of radio resource demand from each logical channel's buffer relative to Bj. Since the overall schedulable radio resources SG may be less than the sum of the tokens Bj of each logical channel, assuming the logical channel priority order is LCH1, LCH2, and LCH3, according to the above method, after radio resources are allocated to LCH1 and LCH2, the radio resources that can be allocated to LCH3 are very limited and less than its Bj. This means that LCH3 is still experiencing starvation. If schedulable radio resources remain scarce, LCH3 will remain in a state of constant starvation.
[0075] FIG3 is a schematic flow chart of a resource allocation method 300 according to an embodiment of the present application. The method can optionally be applied to the system shown in FIG1 , but is not limited thereto. The method includes at least part of the following contents.
[0076] S310. Obtain first parameters corresponding to the multiple logical channels based on data rates of the multiple logical channels;
[0077] S320. Allocate wireless resources to the multiple logical channels based on first parameters corresponding to the multiple logical channels.
[0078] In the embodiment of the present application, the logical channel may generally include a control channel and a traffic channel. The control channel is mainly used to transmit control plane information, and the traffic channel is mainly used to transmit user plane information.
[0079] In an embodiment of the present application, the network can schedule allocatable wireless resources for the terminal device. The network device can schedule allocatable wireless resources for the terminal device through dynamic scheduling, semi-static scheduling, etc. The terminal device can use multiple logical channels to allocate allocatable wireless resources scheduled by the network device for its own needs. These multiple logical channels may include the full set or subset of logical channels participating in logical channel prioritization (LCP). The LCP includes a process in which the terminal device allocates wireless resources between logical channels participating in the LCP according to the priority of the logical channels. In an embodiment of the present application, wireless resources are allocated between different logical channels based on the parameters obtained from the data rate of the logical channel, which can more reasonably allocate wireless resources. For example, the starvation problem of one or more low-priority logical channels can be alleviated.
[0080] In one embodiment, the first parameter corresponding to a logical channel is used to indicate the level of starvation of the logical channel. For example, a higher value of the first parameter corresponding to a logical channel indicates a higher level of starvation of the logical channel; a lower value indicates a lower level of starvation of the logical channel.
[0081] In one embodiment, there is a negative correlation between the first parameter corresponding to a logical channel and the current data rate of the logical channel. In an embodiment of the present application, the current data rate of a logical channel may include the data rate of the logical channel based on the starting point of a time window to the current time slot. If a time window is 100ms, the current data rate may include the data rate counted from the current time slot back 100ms as the starting point to the current time slot. For example, the higher the current data rate of a logical channel, the smaller the value of the first parameter; the lower the current data rate, the larger the value of the first parameter. The first parameter corresponding to a logical channel and the current data rate of the logical channel may be a linear negative correlation or a nonlinear negative correlation.
[0082] In one embodiment, there is a negative correlation between the first parameter corresponding to a logical channel and the first ratio, which is the ratio of the current data rate of the logical channel to the data rate required by QoS. In an embodiment of the present application, the data rate required by QoS for a logical channel may include a data rate that can meet the QoS requirements of the logical channel. The data rate required by QoS may be preset or calculated based on the QoS requirements. The first ratio can be obtained by dividing the current data rate of a logical channel by the data rate required by QoS for the logical channel. The larger the first ratio corresponding to a logical channel, the smaller the value of the first parameter; the smaller the first ratio, the larger the value of the first parameter. The first parameter corresponding to a logical channel and the first ratio corresponding to the logical channel can be a linear negative correlation or a nonlinear negative correlation.
[0083] In one embodiment, the first parameter corresponding to a logical channel is negatively correlated with the logical channel priority of the logical channel. For example, the greater the logical channel priority of a logical channel, the smaller the value of the first parameter; and the smaller the logical channel priority, the larger the value of the first parameter. The first parameter corresponding to a logical channel and the logical channel priority of the logical channel can have a linear negative correlation or a nonlinear negative correlation.
[0084] FIG4 is a schematic flow chart of a resource allocation method 400 according to another embodiment of the present application. The method 400 may include one or more features of the above-mentioned method. In one embodiment, step S320 allocates wireless resources to the multiple logical channels based on the first parameters corresponding to the multiple logical channels, including:
[0085] S410. Determine, based on a minimum value of the first parameters corresponding to the multiple logical channels, an expected radio resource of a target logical channel among the multiple logical channels;
[0086] S420: Allocate radio resources to the target logical channel based on the expected radio resources of the target logical channel.
[0087] In an embodiment of the present application, multiple logical channels can be first arranged in descending order based on the first parameters corresponding to each of them. The value of the first parameter corresponding to the logical channel arranged at the front is the largest, and the value of the first parameter corresponding to the logical channels arranged at the front and back is the smallest. After sorting, wireless resources can be allocated to the arranged logical channels in sequence. The target logical channel is one of the arranged logical channels. Based on the minimum value of the first parameter, the expected wireless resources of any target logical channel can be determined. Then, based on the expected wireless resources of the target logical channel, wireless resources can be allocated to the target logical channel. Since the first parameter can reflect the degree of hunger, and the first parameter is related to the data rate of the logical channel, determining the expected wireless resources of the target logical channel based on the minimum value of the first parameter is conducive to making multiple logical channels reach the same or similar degree of hunger, thereby allocating wireless resources more fairly and reasonably.
[0088] FIG5 is a schematic flow chart of a resource allocation method 500 according to another embodiment of the present application. The method 500 may include one or more features of the above-described method. In one embodiment, step S410 determines the expected radio resources of the target logical channel among the multiple logical channels based on the minimum value of the first parameter corresponding to the multiple logical channels, including:
[0089] S510: Arrange the multiple logical channels from high to low according to their corresponding first parameters to obtain arranged logical channels, where the logical channels from the first logical channel to the second-to-last logical channel in the arranged logical channels are target logical channels;
[0090] S520: Allocate wireless resources to each target logical channel in sequence based on the minimum value of the first parameters corresponding to the multiple logical channels.
[0091] In an embodiment of the present application, after arranging the logical channels from high to low according to the first parameter, the last logical channel is the logical channel with the smallest first parameter, and the logical channels other than the last logical channel can be used as the target logical channels. For example, according to the first parameters corresponding to N logical channels, from high to low, for the first to N-1th target logical channels in the arranged logical channels, the step of allocating wireless resources to the target logical channels based on the minimum value of the first parameter can be performed. In some cases, the last logical channel in the arranged logical channels can also be the target logical channel.
[0092] FIG6 is a schematic flow chart of a resource allocation method 600 according to another embodiment of the present application. The method 600 may include one or more features of the above-described method. In one embodiment, step S520 allocates wireless resources to each target logical channel in sequence based on the minimum value of the first parameter corresponding to the multiple logical channels, including:
[0093] S610: Select the target logical channel from the arranged logical channels in order;
[0094] S620: Acquire an expected data rate of the target logical channel, where a first parameter of the target logical channel at the expected data rate is equal to a minimum value of the first parameters corresponding to the multiple logical channels;
[0095] S630: Acquire an expected radio resource for the target logical channel based on the expected data rate of the target logical channel, so that after the terminal device acquires the expected radio resource for the target logical channel, the data rate of the target radio resource can be increased to the expected data rate based on the current data rate;
[0096] S640: Obtain radio resources allocated to the target logical channel based on the expected radio resources of the target logical channel, the buffered data volume of the target logical channel, and the allocatable radio resources.
[0097] In an embodiment of the present application, a target logical channel can be first selected from the arranged logical channels, and then the expected data rate of the target logical channel can be determined based on the minimum value of the first parameter. At the expected data rate of the target logical channel, the value of the first parameter corresponding to the target logical channel can be equal to the minimum value, or the difference from the minimum value can be less than a threshold. The expected data rate of the target logical channel may be different from the current data rate of the target logical channel, for example, the expected data rate of the target logical channel is less than the current data rate of the target logical channel. In this case, the expected radio resources of the target logical channel can be calculated based on the expected data rate of the target logical channel. The expected radio resources of the target logical channel, the buffered data amount of the target logical channel, and the available radio resources are then compared to determine the radio resources to be allocated to the target logical channel. The buffered data amount can also be referred to as the buffer size. If the target logical channel is the first logical channel in the arrangement, the available radio resources can include the total radio resources allocated by the network. If the target logical channel is not the first logical channel in the arrangement, the available radio resources can include the remaining radio resources after the radio resources are allocated to the previously arranged logical channels.
[0098] In one embodiment, in step S620, the first parameter of the target logical channel at the expected data rate is equal to a minimum value of the first parameters corresponding to the multiple logical channels, including at least one of the following:
[0099] The first parameter of the target logical channel at the expected data rate is equal to a minimum value of the first parameters corresponding to the multiple logical channels;
[0100] A difference between the first parameter of the target logical channel at the expected data rate and a minimum value of the first parameters corresponding to the multiple logical channels is smaller than a set threshold.
[0101] In an embodiment of the present application, the set threshold may be pre-configured in the terminal device or sent to the terminal device by the network.
[0102] In one embodiment, when the radio resource allocated to the target logical channel is the first logical channel arranged, the minimum value among the network-allocated radio resource size of the target logical channel, the buffered data amount of the target logical channel, and the expected radio resource;
[0103] When the wireless resources allocated to the target logical channel are not the front-most logical channel, the wireless resources allocated to the target logical channel are the minimum value of the remaining wireless resource size of the target logical channel, the cached data amount of the target logical channel and the expected wireless resources.
[0104] For example, the total allocatable wireless resource size sent by the network to the terminal device is SG_A, the target logical channel's buffered data size BF, and the expected wireless resource EP. If the target logical channel is the first channel ranked according to the first parameter, the wireless resource allocated to the target logical channel is SG_1 = Min(SG_A, BF, EP). If the target logical channel is not the first channel ranked according to the first parameter, and the remaining wireless resource size after allocating resources to the previous channel of the target logical channel is SG_R, the wireless resource allocated to the target logical channel is SG_n = Min(SG_R, BF, EP).
[0105] FIG7 is a schematic flow chart of a resource allocation method 700 according to another embodiment of the present application. The method 700 may include one or more features of the above method. In one embodiment, the method further includes:
[0106] S710: After allocating radio resources to each target logical channel, update the remaining radio resource size and the buffered data volume of the target logical channel.
[0107] For example, the wireless resource before allocation to a target logical channel is SG_R, and the wireless resource allocated to the target logical channel is SG_n. After allocation, the remaining wireless resource size is updated to SG_R-SG_n, and the cached data amount of the target logical channel can be updated from BF_1 before allocation to BF_1-SG_n.
[0108] In one embodiment, the method further comprises:
[0109] S720: When the updated remaining radio resource size is greater than 0 after determining radio resources for all target logical channels, allocate the updated remaining radio resources to the multiple logical channels.
[0110] In one embodiment, the methods of allocating the remaining wireless resources after the update to the multiple logical channels include equal allocation, allocation according to the priority of the logical channels, or allocation according to the order of arrangement of the first parameter. For example, if the number of the multiple logical channels is N, the remaining wireless resources after the update can be divided by N and evenly distributed to the N logical channels. For another example, the remaining wireless resources after the update can be allocated according to the priority of the logical channels, with more allocated to those with higher priorities and less allocated to those with lower priorities. Or, allocation can be performed according to the logical channel priority and the token variable. For specific methods, please refer to the relevant description above. For another example, after multiple logical channels are arranged according to their corresponding first parameters, arranged logical channels are obtained. The remaining wireless resources after the update can be allocated in sequence according to the order of the arranged logical channels.
[0111] In one embodiment, the first parameter is represented by the curvature of a first curve. In this embodiment of the present application, a logical channel may have a first curve. The function of the first curve may represent the relationship between the current data rate of the logical channel and the satisfaction level. Therefore, the first curve may also be referred to as a satisfaction curve. A larger value of the first curve may indicate a higher satisfaction level; a smaller value of the first curve may indicate a lower satisfaction level.
[0112] In one embodiment, the first curve increases as the current data rate of the logical channel increases, and the curvature of the first curve decreases as the current data rate of the logical channel increases. For example, the greater the current data rate, the greater the value of the first curve; the smaller the current data rate, the smaller the value of the first curve. The curvature of the first curve can be calculated based on the first curve. For example, the curvature function of the first curve is a function derived from the function of the first curve. The greater the current data rate, the smaller the curvature of the first curve; the smaller the current data rate, the greater the curvature of the first curve.
[0113] In one embodiment, the current data rate of the logical channel includes a statistical data rate of the logical channel up to the current time slot.
[0114] In one embodiment, the constants used to determine the first curve include at least one of the following:
[0115] A first constant is used to represent a data rate set according to the quality of service QoS requirement of the logical channel;
[0116] A second constant is used to represent a scaling factor corresponding to the logical channel priority;
[0117] The third constant is the experience value.
[0118] In one embodiment, the correspondence between the logical channel priority and the scaling factor is configured through the network or set through an empirical value.
[0119] In one embodiment, the function formula of the first curve includes:
[0120] Wherein, F(x) represents the function of the first curve, x represents the current data rate of the logical channel, DR represents the first constant, Z represents the second constant, and B represents the third constant. In the function formula of the first curve, F(x) may increase as x increases and decrease as x decreases.
[0121] In one embodiment, the curvature function formula of the first curve includes:
[0122] Wherein, dF(x) represents the curvature function of the first curve. In the function formula of the first curve, the value of the first parameter dF(x) may decrease as x increases, and increase as x decreases.
[0123] In an embodiment of the present application, the current data rate x of each logical channel is substituted into the curvature function formula to calculate the first parameter of each logical channel. The minimum value of the first parameter of multiple logical channels is then determined. After arranging the multiple logical channels in descending order according to their first parameters, wireless resources can be allocated starting with the first logical channel. Substituting the minimum value of the first parameter calculated above into the curvature function formula for a particular logical channel can calculate the expected data rate of that logical channel. Furthermore, based on the expected data rate of the logical channel, the expected wireless resources for that logical channel can be calculated using a sliding window or other method.
[0124] In some application scenarios, starvation is primarily caused by the fact that the first step of the LCP algorithm in the aforementioned 4G / 5G system always strictly allocates radio resources to logical channels according to the order of logical channel priority and the accumulated tokens Bj. When radio resources are relatively abundant, this LCP algorithm should ensure that high-priority logical channels first meet the QoS requirements specified by PBR. However, when radio resources are relatively scarce, if the same principle is continued, starvation will occur. To improve fairness, in this case, all logical channels should tolerate a certain degree of starvation, but high-priority logical channels are allowed to have a lower degree of starvation, while low-priority logical channels are allowed to have a relatively higher degree of starvation.
[0125] A method for improving logical channel scheduling performance may include introducing a satisfaction curve, where the variable of the curve is the current data rate of the logical channel and the curve increases with increasing data rate, while the curvature of the satisfaction curve decreases with increasing data rate. When the data rate of the logical channel is relatively low, for example, below or close to the PBR, an increase in the data rate causes the satisfaction curve to grow rapidly, indicating that the satisfaction level of the logical channel is relatively low. When the data rate is relatively high, for example, close to the maximum rate, an increase in the data rate causes the satisfaction curve to grow more slowly, indicating that the satisfaction level of the logical channel is relatively high. The curvature of the satisfaction curve and the satisfaction curve value (i.e., the satisfaction level) are exactly opposite, so the curvature of the satisfaction curve can be used to represent the starvation level of the logical channel. From a scheduling perspective, radio resources should be preferentially allocated to the curve with the higher starvation level until their starvation levels are equal. This method is applicable to logical channels with the same logical channel priority. To apply to logical channels with different logical channel priorities, the logical channel priority can be converted into a scaling factor. When using the satisfaction curve, the higher the priority of the logical channel, the larger its scaling factor.
[0126] An example is as follows:
[0127] The satisfaction curve can be expressed as a function. The formula example is as follows:
[0128] x: variable, which is the data rate of the logical channel up to the current time slot;
[0129] DR: Constant, a data rate set according to the QoS requirements of this logical channel;
[0130] Z: constant, scaling factor obtained by looking up the table based on the logical channel priority;
[0131] B: Constant, which can be set based on experience or configured through the network.
[0132] The mapping relationship between the parameter Z and the logical channel priority can also be set based on experience or configured by the network. The following Table 1 is an example of the mapping relationship between the parameter Z and the logical channel priority:
[0133] Table 1
[0134] The smaller the priority value in the table, the higher the priority.
[0135] For example, assuming B = 0.2, an example of a satisfaction curve can be seen in FIG8A , and a curvature curve corresponding to the satisfaction curve can be seen in FIG8B . The horizontal axis of the satisfaction curve and the curvature curve represent the current data rate of the logical channel, the vertical axis of the satisfaction curve can represent the satisfaction level, and the vertical axis of the curvature curve can represent the hunger level.
[0136] An example of a function of the curvature of a satisfactory curve at a variable x is given by the following formula:
[0137] The larger the value of the curvature function, the higher the hunger level.
[0138] An example of a specific method for allocating wireless resources is as follows:
[0139] Step 1: First, count the current data rate of each logical channel. Then, calculate the current curvature of each logical channel according to formula (2), and arrange the logical channels from high to low according to the curvature.
[0140] Step 2: Based on the calculation results in step 1, determine a minimum curvature CV_min
[0141] Step 3: Select the next logical channel in the arranged logical channels (if it is the first selection, the logical channel at the front is selected)
[0142] Step 4: Find a point (i.e., a dr_target) on the satisfaction curve of this logical channel so that the curvature of the logical channel at this point is equal to or close to CV_min
[0143] Step 5: Based on the gap between the current data rate of this logical channel (called dr_current) and the found target point dr_target, calculate the maximum radio resource resource required for this logical channel to meet this gap.
[0144] In steps 4 and 5, the target point dr_target may be the expected target rate dr_expected, and the maximum radio resource resource may be the expected radio resource SG. An example of determining dr_expected and SG is as follows:
[0145] Assuming the rate is estimated using a sliding window of length M milliseconds, the estimated rate is dr_current = sum(TB1, TB2, TB3, ...) / M, where TB is the size of the data block historically sent by this logical channel in the current time window. If the currently allocated resource is SG, the estimated rate is dr_expected = sum(TB2, TB3, ..., SG) / M. This means removing the oldest TB1 and adding the current SG before estimating.
[0146] Assuming the target minimum curvature is CV_min, substitute CV_min into the curvature function in equation (2), and we get dF(dr_expected) = CV_min. The expected data rate dr_expected can be calculated based on the pre-set curvature function. Then, using the sliding window estimation method described above, the expected radio resource SG for the logical channel can be calculated based on dr_expected.
[0147] Step 6: If the current buffer size of the logical channel can be expressed as buffer, the radio resources to be allocated can be calculated as: sg = Min(SG, buffer, resource), where SG is the currently remaining radio resources that can be allocated, and min() is the operation of obtaining the minimum value.
[0148] Step 7: Update the currently allocable radio resource SG = SG-sg, and update the buffer of this logical channel buffer = buffer-sg.
[0149] Step 8: If the updated remaining wireless resource size SG>0, and the current logical channel is not the penultimate logical channel, go back to step 3; otherwise, go to step 9.
[0150] Step 9: If the updated remaining wireless resource size SG>0, these SGs are evenly distributed to each logical channel, or distributed according to the logical channel priority, etc.
[0151] In this embodiment of the present application, the priority and rate requirements of the logical channels are used as parameters of the satisfaction curve. The curvature of the satisfaction curve can be used to represent the degree of radio resource starvation of each logical channel. By ensuring that each logical channel has the same or similar starvation level, radio resources are allocated among different logical channels, which helps to reasonably allocate resources and achieve the goal of fair distribution.
[0152] FIG9 is a schematic block diagram of a terminal device 900 according to an embodiment of the present application. The terminal device 900 may include:
[0153] The processing unit 901 is configured to obtain first parameters corresponding to the multiple logical channels based on data rates of the multiple logical channels;
[0154] The first allocating unit 902 is configured to allocate radio resources to the multiple logical channels based on first parameters corresponding to the multiple logical channels.
[0155] In one implementation, the first parameter corresponding to a logical channel is used to indicate the starvation level of the logical channel.
[0156] In one implementation, there is a negative correlation between the first parameter corresponding to a logical channel and the current data rate of the logical channel.
[0157] In one embodiment, there is a negative correlation between a first parameter corresponding to a logical channel and a first ratio, where the first ratio is a ratio of a current data rate of the logical channel to a data rate required by QoS.
[0158] In one implementation, the first parameter corresponding to a logical channel is negatively correlated with the logical channel priority of the logical channel.
[0159] In one embodiment, the first allocating unit 902 is further configured to:
[0160] determining, based on a minimum value of the first parameters corresponding to the multiple logical channels, an expected radio resource of a target logical channel among the multiple logical channels;
[0161] Based on the desired radio resources of the target logical channel, radio resources are allocated to the target logical channel.
[0162] In one embodiment, determining the expected radio resource of the target logical channel among the multiple logical channels based on the minimum value of the first parameters corresponding to the multiple logical channels includes:
[0163] Arrange the multiple logical channels from high to low according to their corresponding first parameters to obtain arranged logical channels, wherein the logical channels from the first logical channel to the second to last logical channel in the arranged logical channels are target logical channels;
[0164] Based on the minimum value of the first parameters corresponding to the multiple logical channels, wireless resources are allocated to each target logical channel in turn.
[0165] In one embodiment, the first allocating unit 902 is further configured to:
[0166] Selecting the target logical channel in order from the arranged logical channels;
[0167] Acquire an expected data rate of the target logical channel, where a first parameter of the target logical channel at the expected data rate is equal to a minimum value of the first parameters corresponding to the multiple logical channels;
[0168] Acquire an expected radio resource for the target logical channel based on the expected data rate of the target logical channel, so that the terminal device can increase the data rate of the target radio resource to the expected data rate after acquiring the expected radio resource for the target logical channel based on the current data rate;
[0169] Based on the expected radio resources of the target logical channel, the buffered data volume of the target logical channel and the allocatable radio resources, the radio resources allocated to the target logical channel are obtained.
[0170] In one embodiment, the first parameter of the target logical channel at the expected data rate is equivalent to a minimum value of the first parameters corresponding to the multiple logical channels, including at least one of the following:
[0171] The first parameter of the target logical channel at the expected data rate is equal to a minimum value of the first parameters corresponding to the multiple logical channels;
[0172] A difference between the first parameter of the target logical channel at the expected data rate and a minimum value of the first parameters corresponding to the multiple logical channels is smaller than a set threshold.
[0173] In one embodiment, when the radio resource allocated to the target logical channel is the first logical channel arranged, the minimum value among the network-allocated radio resource size of the target logical channel, the buffered data amount of the target logical channel, and the expected radio resource;
[0174] When the wireless resources allocated to the target logical channel are not the front-most logical channel, the wireless resources allocated to the target logical channel are the minimum value of the remaining wireless resource size of the target logical channel, the cached data amount of the target logical channel and the expected wireless resources.
[0175] FIG10 is a schematic block diagram of a terminal device 1000 according to another embodiment of the present application. The device 1000 may include:
[0176] The processing unit 1001 is configured to obtain first parameters corresponding to the multiple logical channels based on data rates of the multiple logical channels;
[0177] The first allocation unit 1002 is configured to allocate radio resources to the multiple logical channels based on first parameters corresponding to the multiple logical channels.
[0178] For the functions of the processing unit 1001 and the first allocating unit 1002 , reference may be made to the relevant description of the device 900 .
[0179] In one embodiment, as shown in FIG10 , the device further includes:
[0180] The updating unit 1003 is configured to update the remaining radio resource size and the buffered data volume of the target logical channel after allocating radio resources to each target logical channel.
[0181] In one embodiment, as shown in FIG10 , the device further includes:
[0182] The second allocating unit 1004 is configured to allocate the updated remaining radio resources to the multiple logical channels if the updated remaining radio resource size is greater than 0 after radio resources are determined for all target logical channels.
[0183] In one embodiment, the updated remaining wireless resources are allocated to the multiple logical channels in a manner including average allocation, allocation according to logical channel priority, or allocation according to the order of arrangement of the first parameter.
[0184] In one embodiment, the first parameter is represented by the curvature of the first curve.
[0185] In one embodiment, the first curve increases as the current data rate of the logical channel increases, and the curvature of the first curve decreases as the current data rate of the logical channel increases.
[0186] In one embodiment, the current data rate of the logical channel includes a statistical data rate of the logical channel up to the current time slot.
[0187] In one embodiment, the constants used to determine the first curve include at least one of the following:
[0188] A first constant is used to represent a data rate set according to the quality of service QoS requirement of the logical channel;
[0189] A second constant is used to represent a scaling factor corresponding to the logical channel priority;
[0190] The third constant is the experience value.
[0191] In one embodiment, the correspondence between the logical channel priority and the scaling factor is configured through the network or set through an empirical value.
[0192] In one embodiment, the function formula of the first curve includes:
[0193] Wherein, F(x) represents the function of the first curve, x represents the current data rate of the logical channel, DR represents the first constant, Z represents the second constant, and B represents the third constant.
[0194] In one embodiment, the curvature function formula of the first curve includes:
[0195] Wherein, dF(x) represents the curvature function of the first curve.
[0196] The terminal devices 900 and 1000 of the embodiments of the present application can implement the corresponding functions of the terminal devices in the aforementioned method embodiments. The processes, functions, implementation methods and beneficial effects corresponding to the various modules (sub-modules, units or components, etc.) in the terminal devices 900 and 1000 can be found in the corresponding descriptions in the aforementioned method embodiments and will not be repeated here. It should be noted that the functions described in the various modules (sub-modules, units or components, etc.) in the terminal devices 900 and 1000 of the application embodiments can be implemented by different modules (sub-modules, units or components, etc.) or by the same module (sub-module, unit or component, etc.).
[0197] Figure 11 is a schematic structural diagram of a communication device 1100 according to an embodiment of the present application. The communication device 1100 includes a processor 1110, which can call and execute a computer program from a memory to enable the communication device 1100 to implement the method in the embodiment of the present application.
[0198] In one embodiment, the communication device 1100 may further include a memory 1120. The processor 1110 may call and execute a computer program from the memory 1120 to enable the communication device 1100 to implement the method in the embodiment of the present application.
[0199] The memory 1120 may be a separate device independent of the processor 1110 , or may be integrated into the processor 1110 .
[0200] In one embodiment, the communication device 1100 may further include a transceiver 1130 , and the processor 1110 may control the transceiver 1130 to communicate with other devices. Specifically, the transceiver 1130 may send information or data to other devices, or receive information or data sent by other devices.
[0201] The transceiver 1130 may include a transmitter and a receiver. The transceiver 1130 may further include an antenna, and the number of antennas may be one or more.
[0202] In one embodiment, the communication device 1100 may be a terminal device of an embodiment of the present application, and the communication device 1100 may implement the corresponding processes implemented by the terminal device in each method of the embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0203] 12 is a schematic structural diagram of a chip 1200 according to an embodiment of the present application. The chip 1200 includes a processor 1210, which can call and execute a computer program from a memory to implement the method according to the embodiment of the present application.
[0204] In one embodiment, the chip 1200 may further include a memory 1220. The processor 1210 may call and execute a computer program from the memory 1220 to implement the method executed by the terminal device or the network device in the embodiment of the present application.
[0205] The memory 1220 may be a separate device independent of the processor 1210 , or may be integrated into the processor 1210 .
[0206] In one embodiment, the chip 1200 may further include an input interface 1230. The processor 1210 may control the input interface 1230 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.
[0207] In one embodiment, the chip 1200 may further include an output interface 1240. The processor 1210 may control the output interface 1240 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
[0208] In one embodiment, the chip can be applied to the network device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the network device in each method of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0209] In one embodiment, the chip can be applied to the terminal device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the terminal device in each method of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0210] The chips used in the network device and the terminal device may be the same chip or different chips.
[0211] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0212] The processor mentioned above may be a general-purpose processor, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or other programmable logic devices, transistor logic devices, discrete hardware components, etc. The general-purpose processor mentioned above may be a microprocessor or any conventional processor, etc.
[0213] The memory mentioned above may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM).
[0214] It should be understood that the above-mentioned memories are exemplary but not restrictive. For example, the memories in the embodiments of the present application may also be static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM RAM (DR RAM), etc. In other words, the memories in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0215] FIG13 is a schematic block diagram of a communication system 1300 according to an embodiment of the present application. The communication system 1300 includes a terminal device 1310 and a network device 1320 .
[0216] The terminal device 1310 is used to obtain first parameters corresponding to the multiple logical channels based on the data rates of the multiple logical channels; and allocate wireless resources to the multiple logical channels based on the first parameters corresponding to the multiple logical channels.
[0217] The network device 1320 is used to send information about allocatable wireless resources to the terminal device.
[0218] The terminal device 1310 can be used to implement the corresponding functions implemented by the terminal device in the above method, and the network device 1320 can be used to implement the corresponding functions implemented by the network device in the above method. For the sake of brevity, they are not described here in detail.
[0219] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function in accordance with the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode to another website, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0220] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0221] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0222] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included within the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A resource allocation method, comprising: Based on data rates of the multiple logical channels, obtain first parameters corresponding to the multiple logical channels; Based on the first parameters corresponding to the multiple logical channels, wireless resources are allocated to the multiple logical channels.
2. The method according to claim 1, wherein: The first parameter corresponding to a logical channel is used to indicate the hunger level of the logical channel.
3. The method according to claim 1, wherein: There is a negative correlation between the first parameter corresponding to a logical channel and the current data rate of the logical channel.
4. The method according to claim 1, wherein: There is a negative correlation between a first parameter corresponding to a logical channel and a first ratio, where the first ratio is the ratio of a current data rate of the logical channel to a data rate required by QoS.
5. The method according to claim 1, wherein: The first parameter corresponding to a logical channel is negatively correlated with the logical channel priority of the logical channel.
6. The method according to any one of claims 1 to 5, wherein: Allocating radio resources to the multiple logical channels based on the first parameters corresponding to the multiple logical channels includes: Determine, based on a minimum value of the first parameters corresponding to the multiple logical channels, an expected radio resource of a target logical channel among the multiple logical channels; Based on the desired radio resources of the target logical channel, radio resources are allocated to the target logical channel.
7. The method according to claim 6, wherein: Determining, based on a minimum value of the first parameters corresponding to the multiple logical channels, an expected radio resource of a target logical channel among the multiple logical channels, includes: Arrange the multiple logical channels from high to low according to the first parameters corresponding to the multiple logical channels, to obtain arranged logical channels, wherein the logical channels from the first logical channel to the second to last logical channel are target logical channels; Based on the minimum value of the first parameters corresponding to the multiple logical channels, wireless resources are allocated to each target logical channel in turn.
8. The method according to claim 7, wherein: Allocating radio resources to each target logical channel in sequence based on a minimum value of the first parameters corresponding to the multiple logical channels includes: selecting the target logical channel in order among the arranged logical channels; Acquire an expected data rate of the target logical channel, wherein a first parameter of the target logical channel at the expected data rate is equivalent to a minimum value of the first parameters corresponding to the multiple logical channels; Acquire the expected radio resource of the target logical channel based on the expected data rate of the target logical channel, so that the data rate of the target radio resource can be increased to the expected data rate after the terminal device acquires the expected radio resource of the target logical channel on the basis of the current data rate; Based on the expected wireless resources of the target logical channel, the buffered data volume of the target logical channel and the allocatable wireless resources, the wireless resources allocated to the target logical channel are obtained.
9. The method according to claim 8, wherein: The first parameter of the target logical channel at the expected data rate is equivalent to a minimum value of the first parameters corresponding to the multiple logical channels, including at least one of the following: The first parameter of the target logical channel at the expected data rate is equal to the minimum value of the first parameters corresponding to the multiple logical channels; A difference between a first parameter of the target logical channel at the expected data rate and a minimum value of first parameters corresponding to the multiple logical channels is smaller than a set threshold.
10. The method according to claim 8 or 9, wherein: In the case where the radio resource allocated to the target logical channel is the first logical channel arranged, the minimum value among the size of the radio resource allocated by the network for the target logical channel, the amount of buffered data of the target logical channel and the expected radio resource; When the wireless resources allocated to the target logical channel are not the frontmost logical channel, the wireless resources allocated to the target logical channel are the minimum value of the remaining wireless resource size of the target logical channel, the cached data amount of the target logical channel and the expected wireless resources.
11. The method according to claim 10, wherein: The method further comprises: After allocating radio resources to each of the target logical channels, the remaining radio resource size and the buffered data volume of the target logical channel are updated.
12. The method according to any one of claims 7 to 11, wherein: The method further comprises: When the updated remaining radio resource size is greater than 0 after the radio resources are determined for all the target logical channels, the updated remaining radio resources are allocated to the multiple logical channels.
13. The method according to claim 12, wherein: The updated remaining wireless resources are allocated to the multiple logical channels in the following manners: average allocation, allocation according to logical channel priority, or allocation according to the arrangement order of the first parameter.
14. The method according to any one of claims 1 to 13, wherein: The first parameter is represented by the curvature of the first curve.
15. The method according to claim 14, wherein: The first curve increases as the current data rate of the logical channel increases, and the curvature of the first curve decreases as the current data rate of the logical channel increases.
16. The method according to claim 15, wherein: The current data rate of the logical channel includes the data rate of the logical channel counted up to the current time slot.
17. The method according to any one of claims 14 to 16, wherein: The constant used to determine the first curve includes at least one of the following: A first constant, used to represent a data rate set according to a quality of service QoS requirement of the logical channel; A second constant, used to represent a scaling factor corresponding to a logical channel priority; The third constant is experience value.
18. The method according to claim 17, wherein: The correspondence between the logical channel priority and the scaling factor is configured through the network or set through an empirical value.
19. The method according to claim 17 or 18, wherein: The function formula of the first curve includes: Among them, F(x) represents the function of the first curve, x represents the current data rate of the logical channel, DR represents the first constant, Z represents the second constant, and B represents the third constant.
20. The method according to claim 19, wherein: The curvature function formula of the first curve includes: Wherein, dF(x) represents the curvature function of the first curve.
21. A terminal device, comprising: A processing unit, configured to obtain first parameters corresponding to the plurality of logical channels based on data rates of the plurality of logical channels; An allocation unit is used to allocate wireless resources to the multiple logical channels based on first parameters corresponding to the multiple logical channels.
22. The apparatus according to claim 21, wherein The first parameter corresponding to a logical channel is used to indicate the hunger level of the logical channel.
23. The apparatus of claim 21, wherein: There is a negative correlation between the first parameter corresponding to a logical channel and the current data rate of the logical channel.
24. The apparatus of claim 21, wherein: There is a negative correlation between a first parameter corresponding to a logical channel and a first ratio, where the first ratio is the ratio of a current data rate of the logical channel to a data rate required by QoS.
25. The apparatus of claim 21, wherein: The first parameter corresponding to a logical channel is negatively correlated with the logical channel priority of the logical channel.
26. Apparatus according to any one of claims 21 to 25, wherein: Allocating radio resources to the multiple logical channels based on the first parameters corresponding to the multiple logical channels includes: Determine, based on a minimum value of the first parameters corresponding to the multiple logical channels, an expected radio resource of a target logical channel among the multiple logical channels; Based on the desired radio resources of the target logical channel, radio resources are allocated to the target logical channel.
27. The apparatus of claim 26, wherein: Determining, based on a minimum value of the first parameters corresponding to the multiple logical channels, an expected radio resource of a target logical channel among the multiple logical channels, includes: Arrange the multiple logical channels from high to low according to the first parameters corresponding to the multiple logical channels, to obtain arranged logical channels, wherein the logical channels from the first logical channel to the second to last logical channel are target logical channels; Based on the minimum value of the first parameters corresponding to the multiple logical channels, wireless resources are allocated to each target logical channel in turn.
28. The apparatus of claim 27, wherein: Allocating radio resources to each target logical channel in sequence based on a minimum value of the first parameters corresponding to the multiple logical channels includes: selecting the target logical channel in order among the arranged logical channels; Acquire an expected data rate of the target logical channel, wherein a first parameter of the target logical channel at the expected data rate is equivalent to a minimum value of the first parameters corresponding to the multiple logical channels; Acquire the expected radio resource of the target logical channel based on the expected data rate of the target logical channel, so that the data rate of the target radio resource can be increased to the expected data rate after the terminal device acquires the expected radio resource of the target logical channel on the basis of the current data rate; Based on the expected wireless resources of the target logical channel, the buffered data volume of the target logical channel and the allocatable wireless resources, the wireless resources allocated to the target logical channel are obtained.
29. The apparatus of claim 28, wherein: The first parameter of the target logical channel at the expected data rate is equivalent to a minimum value of the first parameters corresponding to the multiple logical channels, including at least one of the following: The first parameter of the target logical channel at the expected data rate is equal to the minimum value of the first parameters corresponding to the multiple logical channels; A difference between a first parameter of the target logical channel at the expected data rate and a minimum value of first parameters corresponding to the multiple logical channels is smaller than a set threshold.
30. Apparatus according to claim 28 or 29, wherein In the case where the radio resource allocated to the target logical channel is the first logical channel arranged, the minimum value among the size of the radio resource allocated by the network for the target logical channel, the amount of buffered data of the target logical channel and the expected radio resource; When the wireless resources allocated to the target logical channel are not the frontmost logical channel, the wireless resources allocated to the target logical channel are the minimum value of the remaining wireless resource size of the target logical channel, the cached data amount of the target logical channel and the expected wireless resources.
31. The apparatus of claim 30, wherein: The device also includes: The updating unit is used to update the remaining wireless resource size and the buffered data amount of the target logical channel after allocating wireless resources to each target logical channel.
32. Apparatus according to any one of claims 27 to 31, wherein: The device also includes: When the updated remaining radio resource size is greater than 0 after the radio resources are determined for all the target logical channels, the updated remaining radio resources are allocated to the multiple logical channels.
33. The apparatus of claim 32, wherein: The updated remaining wireless resources are allocated to the multiple logical channels in the following manners: average allocation, allocation according to logical channel priority, or allocation according to the arrangement order of the first parameter.
34. Apparatus according to any one of claims 21 to 33, wherein: The first parameter is represented by the curvature of the first curve.
35. The apparatus of claim 34, wherein: The first curve increases as the current data rate of the logical channel increases, and the curvature of the first curve decreases as the current data rate of the logical channel increases.
36. The apparatus of claim 35, wherein: The current data rate of the logical channel includes the data rate of the logical channel counted up to the current time slot.
37. Apparatus according to any one of claims 34 to 36, wherein: The constant used to determine the first curve includes at least one of the following: A first constant, used to represent a data rate set according to a quality of service QoS requirement of the logical channel; A second constant, used to represent a scaling factor corresponding to a logical channel priority; The third constant is experience value.
38. The apparatus of claim 37, wherein: The correspondence between the logical channel priority and the scaling factor is configured through the network or set through an empirical value.
39. Apparatus according to claim 37 or 38, wherein The function formula of the first curve includes: Among them, F(x) represents the function of the first curve, x represents the current data rate of the logical channel, DR represents the first constant, Z represents the second constant, and B represents the third constant.
40. The apparatus of claim 39, wherein: The curvature function formula of the first curve includes: Wherein, dF(x) represents the curvature function of the first curve.
41. A terminal device, comprising: A transceiver, a processor and a memory, wherein the memory is used to store a computer program, the transceiver is used to communicate with other devices, and the processor is used to call and run the computer program stored in the memory so that the terminal device executes the method as described in any one of claims 1 to 20.
42. A chip, comprising: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 20.
43. A computer-readable storage medium for storing a computer program, which, when executed by a device, causes the device to perform the method according to any one of claims 1 to 20.
44. A computer program product comprising computer program instructions for causing a computer to perform the method of any one of claims 1 to 20.
45. A computer program causing a computer to execute the method of any one of claims 1 to 20.