A resource allocation method and device
By adopting an optimized resource allocation strategy in the MU-MIMO system, combined with single-user and multi-user allocation priorities and throughput conditions, the problem of baseband processing resource volume and throughput loss when increasing the transmission rate is solved, and resource efficiency is achieved. Maximization of utilization and throughput.
Patent Information
- Application Number
- CN202211015130.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-08-23
AI Technical Summary
Existing technologies need to increase baseband processing resources when improving the uplink transmission rate of multi-user multiple-input multiple-output (MU-MIMO) systems in long-term evolution (LTE) and fifth-generation mobile communication technology (5G) new radio interface (NR) volume, but loses the throughput of the communication system.
By introducing two strategies into the resource allocation method: the first resource allocation strategy using single user allocation priority when communication resources are sufficient, and the second resource allocation strategy based on throughput conditions when communication resources are insufficient, to ensure Maximum occupancy of resource blocks and maximum utilization of throughput.
It is possible to increase the uplink transmission rate without increasing communication system resources, ensure the optimal throughput of the communication system, and increase the utilization of communication resources.
Smart Images

Figure CN115379580B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communications, and in particular to a resource allocation method and device. Background Art
[0002] In the Long Term Evolution (LTE), 5th Generation Mobile Communication Technology (5G) New Radio (NR) communication system, Multi-User Multiple-Input Multiple-Output (MU-MIMO) is a spatial multiplexing technology. It means that in the uplink multi-user MIMO communication system, different users use the same time-frequency resources for uplink transmission. From the receiving end, these data streams are equivalent to different antennas from the same user, thus forming a virtual MIMO communication system. Due to the irrelevance of spatial channels, there are multiple independent fading paths, resulting in multiple parallel spatial channels. Therefore, the use of MIMO technology can make full use of the spatial dimension to improve the uplink data transmission rate.
[0003] Based on the above communication system, the resource allocation method used in the relevant technology is: select m users received by the base station in the uplink subframe according to the scheduling priority, estimate the number of resource blocks required by each user, and then determine the pairing relationship between users according to the scheduling algorithm, and allocate resources according to the pairing relationship. However, due to this resource allocation method, the number of resource blocks and frequency domain resource positions occupied by each paired user must be the same. Therefore, although the uplink transmission rate can be significantly improved, the baseband processing resources and efficiency on the base station side need to be improved at the same time, and the throughput of the communication system is also lost. Summary of the invention
[0004] The present invention provides a resource allocation method and device for solving the problem in the prior art that in order to improve the uplink transmission rate, the processing resource amount of the baseband needs to be increased, and the communication system throughput is lost.
[0005] In order to achieve the above object, the present invention adopts the following technical scheme:
[0006] In a first aspect, the present invention provides a resource allocation method, comprising:
[0007] Determining the number of resource blocks required by each user terminal in a target user queue, where the target user queue includes multiple user terminals scheduled in a target uplink subframe;
[0008] Determining whether current communication resources are sufficient according to the number of resource blocks required by each user terminal; the communication resources include multiple resource blocks;
[0009] When communication resources are sufficient, allocating resources to user terminals in the target user queue according to a first resource allocation strategy;
[0010] In the case where communication resources are insufficient, allocating resources to user terminals in the target user queue according to a second resource allocation strategy;
[0011] The first resource allocation strategy includes allocating resources according to a preset allocation priority, wherein the preset allocation priority is that the execution priority of single-user allocation is higher than the execution priority of multi-user allocation, the single-user allocation is to allocate one resource block to one user terminal, and the multi-user allocation is to allocate one resource block to multiple user terminals;
[0012] The second resource allocation strategy includes performing resource allocation according to a preset throughput condition, where the preset throughput condition is that the sum of throughputs of multiple user terminals allocated to the same resource block reaches a maximum.
[0013] In one of the embodiments, before determining whether current communication resources are sufficient based on the number of resource blocks required by each user terminal, the method further includes:
[0014] The resource allocation order of the user terminal in the target user queue is determined according to the channel quality or data transmission speed of the user terminal.
[0015] In one of the embodiments, when communication resources are sufficient, allocating resources to user terminals in the target user queue according to a first resource allocation strategy includes:
[0016] For a first resource block, single-user allocation is performed according to a resource allocation order, where the first resource block refers to an unallocated resource block;
[0017] In the case that there are remaining user terminals in the target user queue, multi-user allocation is performed for the second resource block according to a preset throughput condition, where the second resource block refers to a resource block that has been allocated to at least one user terminal.
[0018] In one of the embodiments, when communication resources are insufficient, allocating resources to user terminals in the target user queue according to the second resource allocation strategy includes:
[0019] Sequentially traverse the resource block;
[0020] When traversing to the first resource block, single-user allocation is performed for the traversed first resource block according to the resource allocation order. After the single-user allocation is completed, the first resource block becomes the second resource block; the second resource block refers to a resource block that has been allocated to at least one user terminal; after the single-user allocation is performed, multi-user allocation is performed for the second resource block according to a preset throughput condition;
[0021] When the second resource block is traversed, multi-user allocation is performed for the traversed second resource block according to a preset throughput condition.
[0022] In one embodiment, determining whether current communication resources are sufficient according to the number of resource blocks required by each user terminal includes:
[0023] According to the number of resource blocks required by each user terminal, the number of resource blocks required by the target user queue is obtained;
[0024] Compare the ratio of the number of resource blocks required by the target user queue to the total number of resource blocks with a preset ratio;
[0025] If the ratio is less than a preset ratio, it is determined that the communication resources are sufficient;
[0026] If the ratio is greater than or equal to the preset ratio, it is determined that the communication resources are insufficient.
[0027] In one of the embodiments, determining the number of resource blocks required by each user terminal in the target user queue includes:
[0028] Determine the maximum number of resource blocks supported by the user terminal according to the transmit power of the user terminal;
[0029] Determining the minimum number of resource blocks required by the user terminal according to the amount of data to be transmitted by the user terminal;
[0030] The minimum number of resource blocks between the maximum number of resource blocks and the minimum number of resource blocks is used as the number of resource blocks required by the user terminal.
[0031] In a second aspect, the present invention provides a resource allocation device, comprising:
[0032] A first analysis module, configured to determine the number of resource blocks required by each user terminal in a target user queue, where the target user queue includes multiple user terminals scheduled in a target uplink subframe;
[0033] The second analysis module is used to determine whether the current communication resources are sufficient according to the number of resource blocks required by each user terminal; the communication resources include multiple resource blocks;
[0034] A first resource allocation module, configured to allocate resources to user terminals in a target user queue according to a first resource allocation strategy when communication resources are sufficient;
[0035] A second resource allocation module, configured to allocate resources to user terminals in a target user queue according to a second resource allocation strategy when communication resources are insufficient;
[0036] The first resource allocation strategy includes allocating resources according to a preset allocation priority, wherein the preset allocation priority is that the execution priority of single-user allocation is higher than the execution priority of multi-user allocation, the single-user allocation is to allocate one resource block to one user terminal, and the multi-user allocation is to allocate one resource block to multiple user terminals;
[0037] The second resource allocation strategy includes performing resource allocation according to a preset throughput condition, where the preset throughput condition is that the sum of throughputs of multiple user terminals allocated to the same resource block reaches a maximum.
[0038] In a third aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the resource allocation method provided in any one of the first aspects when executing the computer program.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the resource allocation method provided in any one of the first aspects is implemented.
[0040] The present application provides a resource allocation method and device, which are applied to a base station in a communication system, and the communication system also includes a user terminal communicating with the base station. The method first determines the number of resource blocks required by each user terminal in the target user queue, and the target user queue includes multiple user terminals scheduled in the target uplink subframe; then, according to the number of resource blocks required by each user terminal, it is determined whether the current communication resources in the communication system are sufficient, and the communication resources include multiple resource blocks; when the communication resources are sufficient, the user terminals in the target user queue are allocated resources according to the first resource allocation strategy. Among them, since the first resource allocation strategy includes allocating resources according to a preset allocation priority, wherein the preset allocation priority is that the execution priority of single-user allocation is higher than the execution priority of multi-user allocation, the user terminal achieves the maximum occupancy rate of the resource block in the communication system, thereby maximizing the uplink transmission rate of the user terminal. When the communication resources are insufficient, the user terminals in the target user queue are allocated resources according to the second resource allocation strategy. Since the second resource allocation strategy includes allocating resources according to a preset throughput condition, and the preset throughput condition is that the sum of the throughputs of multiple user terminals allocated to the same resource block reaches the maximum, flexible pairing of user terminals is achieved, and the optimal throughput of the communication system is ensured, so that the communication resources in the communication system are maximized. Since the method does not require that the number of resource blocks and the frequency domain resource positions occupied by each paired user must be the same, it solves the problem that in order to increase the uplink transmission rate under the related technology, the amount of baseband processing resources needs to be increased, and the throughput of the communication system is lost.
[0041] For the specific description of the second to fourth aspects and their various implementations in this application, reference can be made to the detailed description in the first aspect and its various implementations; and for the beneficial effects of the second to fourth aspects and their various implementations, reference can be made to the analysis of the beneficial effects in the first aspect and its various implementations, which will not be repeated here.
[0042] These and other aspects of the present application will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0044] Figure 1 An application environment diagram of a resource allocation method in an embodiment;
[0045] Figure 2A schematic diagram of a flow chart of a resource allocation method in an embodiment;
[0046] Figure 3 A schematic diagram of a first resource allocation strategy flow of a resource allocation method in an embodiment;
[0047] Figure 4 A schematic diagram of a second resource allocation strategy flow chart of a resource allocation method in an embodiment;
[0048] Figure 5 A schematic diagram of a flow chart of determining whether resources of a communication system are sufficient in a resource allocation method in one embodiment;
[0049] Figure 6 is a schematic diagram of a resource allocation device in an embodiment;
[0050] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "plurality" means two or more.
[0053] like Figure 1 As shown, a resource allocation method provided by the present application can be applied to Figure 1In the communication system shown in the figure. Among them, the communication system has communication resources, and the base station is responsible for allocating resources to the user terminal for the communication resources. The communication resources here include multiple resource blocks (RB). Specifically, the base station and the user terminal exchange information according to the protocol process, the user terminal reports user information to the base station, and the base station uses a duplex mode to obtain multiple user terminals in the uplink subframe. The base station allocates communication resources according to the user information and sends the resource allocation information to the user terminal. The user terminal transmits data according to the resource allocation information. The base station returns an acknowledgement character (ACK) or a variant of nock (NACK) and updates the relevant data information.
[0054] Based on the above communication system, an embodiment of the present application provides a method for allocating communication resources, and the executor of the method is the base station in the above communication system. Through the method provided by the embodiment of the present application, when the communication resources are sufficient, the occupancy rate of the resource blocks in the communication system by the user terminal is maximized, and when the communication resources are insufficient, flexible pairing between different user terminals is achieved, so that the sum of the throughputs of multiple user terminals with a pairing relationship is maximized. It solves the problem that in order to improve the uplink transmission rate under the related technology, it is necessary to simultaneously improve the processing resources and efficiency of the baseband and lose the throughput of the communication system. It achieves the improvement of the uplink transmission rate without increasing the resources of the communication system, ensures the optimal throughput of the communication system, and increases the utilization rate of the communication resources in the communication system.
[0055] In one embodiment, Figure 2 As shown, a resource allocation method is provided, which is applied to Figure 1 The base station in FIG. 1 is taken as an example to illustrate, and the following steps are included:
[0056] S210: Determine the number of resource blocks required by each user terminal in a target user queue, where the target user queue includes multiple user terminals scheduled in a target uplink subframe.
[0057] Exemplarily, the user terminal may be a general home or office computer, tablet computer, smart phone, etc.
[0058] Optionally, the base station and the user terminal of the communication system exchange information according to the protocol process, and the base station receives the data information to be transmitted sent by one or more user terminals to the base station in the target uplink subframe, and the one or more user terminals form a target user queue. The target uplink subframe is the time interval (Transmission Time Interval, TTI) of this scheduling. After receiving the data information to be transmitted of the target user queue, the base station determines the number of resource blocks required for each user terminal in the target user queue.
[0059] S220: Determine whether current communication resources are sufficient according to the number of resource blocks required by each user terminal.
[0060] Optionally, the base station determines whether the current communication resources are sufficient based on the number of resource blocks required by each user terminal determined in step S210 and a preset criterion. The preset criterion can be a judgment standard preset by the base station, such as a quantity condition that the communication resources of the communication system need to meet, or a condition that the ratio of the communication resources of the communication system to the amount of resources required by the target user queue needs to meet. Sufficient communication resources means that the communication resources in the communication system are sufficient relative to the number of resource blocks required by all user terminals in the target user queue, for example, the communication resources in the communication system can meet the number of resource blocks required by all user terminals in the target user queue; insufficient communication resources means that the communication resources in the communication system are insufficient relative to the number of resource blocks required by all user terminals in the target user queue, for example, the communication resources in the communication system cannot meet the number of resource blocks required by all user terminals in the target user queue.
[0061] It should be understood that whether the communication resources are sufficient or not is related to the preset criterion. When the same preset criterion is used to judge whether the communication resources are sufficient or not in the same scenario, different judgment results may be obtained.
[0062] S230: When communication resources are sufficient, allocate resources to user terminals in the target user queue according to a first resource allocation strategy. The first resource allocation strategy includes allocating resources according to a preset allocation priority, wherein the preset allocation priority is that the execution priority of single-user allocation is higher than the execution priority of multi-user allocation, and the single-user allocation is to allocate one resource block to one user terminal, i.e., Single-User Multiple-Input Multiple-Output (SU-MIMO), and the multi-user allocation is to allocate one resource block to multiple user terminals, i.e., Multi-User Multiple-Input Multiple-Output (MU-MIMO).
[0063] The resource allocation process based on the first resource allocation strategy can ensure that the user terminals in the target user queue have the maximum occupancy rate of the resource blocks in the communication system, that is, the ratio of the number of occupied resource blocks to the total number of resource blocks in the communication system reaches the maximum, and each resource block is allocated on the principle of the minimum number of user terminals allocated, thereby maximizing the uplink transmission rate of the user terminal. Alternatively, it can be understood that the resource allocation process based on the first resource allocation strategy is to allocate based on the principle of user priority, with the purpose of satisfying the demand of each user terminal for communication resources to the greatest extent.
[0064] S240: When communication resources are insufficient, allocate resources to user terminals in the target user queue according to a second resource allocation strategy. The second resource allocation strategy includes allocating resources according to a preset throughput condition, wherein the preset throughput condition is that the sum of throughputs of multiple user terminals allocated to the same resource block reaches a maximum.
[0065] When it is determined that the communication resources are insufficient, the base station allocates resources to the user terminals in the target user queue according to the second resource allocation strategy to ensure that the sum of the throughputs of multiple user terminals allocated to the same resource block reaches the maximum. The resource allocation process based on the second resource allocation strategy enables multiple user terminals to share the resources of the communication system and ensures that the sum of the throughputs of multiple user terminals with a pairing relationship reaches the maximum, thereby realizing flexible pairing of user terminals, and maximizing the sum of the throughputs of multiple user terminals with a pairing relationship, ensuring the optimal throughput of the communication system, and maximizing the utilization of the communication resources in the communication system. Or it can be understood that the resource allocation process based on the second resource allocation strategy is to allocate based on the principle of resource priority, with the aim of maximizing the utilization of communication resources, or in other words, to effectively utilize each resource block in the communication system.
[0066] In this embodiment, the base station determines whether the resources of the communication system are sufficient according to the number of resource blocks required by each user terminal. When the resources of the communication system are sufficient, the user terminals in the target user queue are allocated resources according to the first resource allocation strategy, so that the user terminal's occupancy rate of the resource blocks in the communication system is maximized, thereby increasing the uplink transmission rate of the user terminal as much as possible. When the resources of the communication system are insufficient, the user terminals in the target user queue are allocated resources according to the second resource allocation strategy, so that the user terminals are flexibly paired, and the sum of the throughputs of multiple user terminals with a paired relationship is maximized, so as to ensure the optimal throughput of the communication system and maximize the utilization of the communication resources in the communication system. This resource allocation method does not require that the number of resource blocks and the frequency domain resource positions occupied by each paired user must be the same, and thus, while effectively improving the uplink transmission rate, the amount of baseband processing resources can be reduced, and the throughput of the communication system can be optimized. This solves the problem that in order to improve the uplink transmission rate under the related technology, the amount of baseband processing resources needs to be increased, and the throughput of the communication system is lost.
[0067] In one of the embodiments, before determining whether current communication resources are sufficient based on the number of resource blocks required by each user terminal, the method further includes:
[0068] The resource allocation order of the user terminal in the target user queue is determined according to the channel quality or data transmission speed of the user terminal.
[0069] Optionally, the base station may determine the resource allocation order of the user terminal in the target user queue according to the channel quality of the user terminal. The base station sorts the channel quality of the user terminal from high to low, and determines the order of channel quality as the resource allocation order of the user terminal in the target user queue.
[0070] Alternatively, the base station may also determine the resource allocation order of the user terminal in the target user queue according to the data transmission speed of the user terminal. Specifically, the proportional fair algorithm (PF) may be used to determine the resource allocation order of the user terminal in the target user queue. That is, the resource allocation order of the user terminal in the target user queue is determined by the ratio of the instantaneous rate that can be allocated to user i at time t to the average rate.
[0071] Alternatively, the base station may also determine the resource allocation order for the user terminals in the target user queue according to the order in which the user terminals send the data to be transmitted to the base station.
[0072] In this embodiment, the base station determines the resource allocation order of the user terminal in the target user queue, and allocates resources to the user terminal based on the resource allocation order of the user terminal in the target user queue, so that the resource allocation is carried out in an orderly manner and the speed of base station resource allocation is improved.
[0073] In one embodiment, if Figure 3 As shown, in the above S230, when communication resources are sufficient, allocating resources to user terminals in the target user queue according to the first resource allocation strategy may specifically include:
[0074] In the case where there is a first resource block in the communication system, in S231, single-user allocation is performed on the first resource block according to the resource allocation order, and the first resource block refers to an unallocated resource block.
[0075] Specifically, the base station allocates the continuous unallocated resource blocks in the communication system to a single user according to the resource allocation order of the user terminal. That is, the base station allocates one or more continuous first resource blocks to a user terminal according to the resource allocation order of the user terminal, ensuring that the user terminal's occupancy rate of the resource blocks in the communication system is maximized and the number of user terminals allocated to each resource block is minimized.
[0076] In the case that the first resource block does not exist in the communication system, but there are remaining user terminals in the target user queue, in S232, multi-user allocation is performed according to a preset throughput condition.
[0077] It is easy to understand that, when the first resource block does not exist in the communication system, but there are still remaining user terminals in the target user queue, the base station can only allocate the second resource block to the remaining user terminals, that is, the resource block that has been allocated to at least one user terminal, so that the remaining user terminals and the user terminals already on the second resource block can use the resource block together. Before the base station allocates the second resource block to the remaining user terminals, it is also necessary to pair the remaining user terminals with the user terminals allocated on the first resource block according to the preset throughput condition to ensure that the sum of the throughputs of multiple user terminals with a paired relationship reaches the maximum.
[0078] In this embodiment, the base station prioritizes single-user allocation for the first resource block in the communication system according to the resource allocation order; when there are remaining user terminals in the target user queue, the remaining user terminals are paired with user terminals on the second resource block, and the second resource block with the largest throughput after pairing is allocated to the remaining user terminals. In this way, when the communication system resources are sufficient, the user terminal's occupancy rate of the resource block in the communication system is maximized, and the number of user terminals allocated to each resource block is minimized, so that the user terminals in the target user queue achieve the best communication effect and improve the utilization rate of the communication system resources.
[0079] In the above allocation process, the base station updates and records the resource allocation of each user terminal in the target user queue, the allocation of resource blocks in the communication system, and the pairing relationship information between multiple user terminals. When the resource allocation is completed for the last user terminal in the target user queue, the resource allocation process ends.
[0080] In one embodiment, if Figure 4 As shown, in the above S240, when communication resources are insufficient, allocating resources to user terminals in the target user queue according to the second resource allocation strategy may specifically include:
[0081] S241: Traverse the resource blocks sequentially.
[0082] Specifically, the base station sequentially traverses the resource blocks in the communication system to determine the first number of resource blocks in the communication system.
[0083] S242: When traversing to the first resource block, single-user allocation is performed for the traversed first resource block according to the resource allocation order. After the single-user allocation is completed, the first resource block becomes the second resource block; the second resource block refers to a resource block that has been allocated to at least one user terminal; after the single-user allocation is performed, multi-user allocation is performed for the second resource block according to the preset throughput condition.
[0084] Specifically, when the base station traverses to the first resource block in the communication system, the base station allocates the first resource block in the communication system to a user terminal with a front allocation order in the target user queue according to the resource allocation order of the user terminal in the target user queue, and the allocated first resource block becomes the second resource block. For the second resource block, the base station performs multi-user allocation for the remaining user terminals in the target user queue according to the resource allocation order of the user terminals in the target user queue, so that one or more of the remaining user terminals use the second resource block together with the user terminals already on the second resource block. When the base station allocates the second resource block to one or more remaining user terminals, it is necessary to pair the one or more remaining user terminals with the user terminals allocated on the first resource block according to the preset throughput condition to ensure that the sum of the throughputs of the multiple user terminals with the paired relationship reaches the maximum. For example, the base station calculates the sum of the throughputs of each remaining user terminal and the user terminal A to which the second resource block has been allocated. If the sum of the throughputs of the remaining user terminal B and the user terminal A is the largest, the remaining user terminal B and the user terminal A are allocated, that is, the second resource block is allocated to the remaining user terminal B, so that the second resource block is shared with the remaining user terminal B and the user terminal A. In this way, the utilization rate of the communication system resources can be effectively improved, and the throughput of the communication system is optimized.
[0085] S243: When traversing to the second resource block, perform multi-user allocation according to a preset throughput condition for the traversed second resource block.
[0086] When the base station traverses to the second resource block in the communication system, for the second resource block, the base station can only allocate the second resource block to the remaining user terminals, that is, the resource block that has been allocated to at least one user terminal, so that the remaining user terminals and the existing user terminals on the second resource block can use the resource block together. The base station pairs the remaining user terminals with the user terminals allocated on the first resource block according to the preset throughput condition to ensure that the sum of the throughputs of the multiple user terminals with the paired relationship reaches the maximum.
[0087] In the above allocation process, the base station updates and records the resource allocation of each user terminal in the target user queue, the allocation of resource blocks in the communication system, and the pairing relationship information between multiple user terminals. When the resource allocation is completed for the last user terminal in the target user queue, the resource allocation process ends.
[0088] In this embodiment, when the communication system resources are insufficient, the base station uses the second resource allocation strategy to allocate resources to the user terminal, so that the sum of the throughputs of multiple user terminals with a paired relationship on each resource block in the communication system is maximized. This flexible pairing method based on throughput can improve the uplink transmission rate without increasing the processing resources of the baseband, while avoiding reducing the throughput of the communication system.
[0089] In one embodiment, if Figure 5 As shown, in the above S220, determining whether the resources of the communication system are sufficient according to the number of resource blocks required by each user terminal may specifically include:
[0090] S221: Obtain the number of resource blocks required by the target user queue according to the number of resource blocks required by each user terminal.
[0091] Optionally, the base station needs to first add up the number of resource blocks required by each user terminal in the target user queue to obtain the total number of resource blocks required by the user terminals in the target user queue, that is, the number of resource blocks required by the target user queue.
[0092] S222: Compare the ratio of the number of resource blocks required by the target user queue to the total number of resource blocks with a preset ratio; if the ratio is less than the preset ratio, determine that the resources of the communication system are sufficient; if the ratio is greater than or equal to the preset ratio, determine that the resources of the communication system are insufficient.
[0093] Preferably, C=the number of resource blocks required by the target user queue / the total number of resource blocks, that is, C represents a ratio, and the base station sets the preset ratio to 2. When C<2, the resources of the communication system are sufficient, and when C≥2, the resources of the communication system are insufficient.
[0094] In this embodiment, the base station adds the number of resource blocks required by each user terminal in the target queue to obtain the number of resource blocks required by the target user queue. The ratio of the number of resource blocks required by the target user queue to the total number of resource blocks is then compared with a preset ratio to determine whether the resources of the communication system are sufficient, so that the base station can select an appropriate resource allocation strategy for resource allocation according to the resource situation, so that the resources of the communication system are reasonably allocated.
[0095] In one embodiment, if Figure 5 As shown, in the above S210, determining the number of resource blocks required by each user terminal in the target user queue may specifically include:
[0096] S211: Determine the maximum number of resource blocks supported by the user terminal according to the transmit power of the user terminal.
[0097] Optionally, the base station determines the maximum number of resource blocks that the user terminal can support based on the transmission power of the user terminal when transmitting information.
[0098] S212: Determine the minimum number of resource blocks required by the user terminal according to the amount of data to be transmitted by the user terminal.
[0099] Optionally, the base station calculates the minimum number of resource blocks required to transmit the data to be transmitted according to the amount of data to be transmitted of the user terminal, and determines the minimum number of resource blocks required by the user terminal.
[0100] S213: Using the minimum number of resource blocks between the maximum number of resource blocks and the minimum number of resource blocks as the number of resource blocks required by the user terminal.
[0101] Optionally, the base station compares the maximum number of resource blocks and the minimum number of resource blocks obtained in step S211 and step S212, and uses the minimum number of resource blocks as the number of resource blocks required by the user terminal.
[0102] In this embodiment, the base station uses the minimum block value as the number of resource blocks required by the user terminal, thereby saving communication system resources and making effective use of resource blocks in the communication system.
[0103] In one of the embodiments, it is assumed that the total number of resource blocks in the communication system is 10, there are 6 user terminals in the target uplink subframe, and the preset ratio is 2.
[0104] According to the channel quality or data transmission speed of the user terminal, the resource allocation order of the user terminal in the target user queue is determined to be UE1, UE2, UE3, UE4, UE5, UE6, where UE represents the user terminal.
[0105] The required number of resource blocks for each user terminal in the target user queue is determined as follows:
[0106] UE <![CDATA[UE1]]> <![CDATA[UE2]]> <![CDATA[UE3]]> <![CDATA[UE4]]> <![CDATA[UE5]]> <![CDATA[UE6]]> Number of resource blocks required 2 4 3 1 2 3
[0107] According to the number of resource blocks required by each user terminal, it is determined that the number of resource blocks required by the target user queue is 15 blocks.
[0108] C = the number of required resource blocks of the target user queue / the total number of resource blocks = 3 / 2. Since C < 2, the communication system resources are sufficient at this time. When the communication system resources are sufficient, resources are allocated to the user terminals in the target user queue according to the first resource allocation strategy. Continuous resource blocks are allocated to UE1, UE2, UE3 and UE4 in the order of resource allocation. At this time, the first resource block in the communication system is allocated. After the single-user allocation, there are remaining user terminals UE5 and UE6 in the target user queue. At this time, the base station performs multi-user allocation for the second resource block in the communication system in the order of resource allocation, and pairs the user terminal UE5 with UE1, UE2, UE3 and UE4. Since the sum of the throughput after UE5 and UE3 are paired reaches the maximum, the resource block allocated to UE3 is allocated to UE5 again, so that UE3 and UE5 share the resource block.
[0109] In one of the embodiments, it is assumed that the total number of resource blocks in the communication system is 7, there are 6 user terminals in the target uplink subframe, and the preset ratio is 2.
[0110] According to the channel quality or data transmission speed of the user terminal, the resource allocation order of the user terminal in the target user queue is determined to be UE1, UE2, UE3, UE4, UE5, UE6, where UE represents the user terminal.
[0111] The number of resource blocks required for each user terminal in the target user queue is determined as follows:
[0112] UE <![CDATA[UE1]]> <![CDATA[UE2]]> <![CDATA[UE3]]> <![CDATA[UE4]]> <![CDATA[UE5]]> <![CDATA[UE6]]> Number of resource blocks required 2 4 3 1 2 3
[0113] According to the number of resource blocks required by each user terminal, it is determined that the number of resource blocks required by the target user queue is 15 blocks.
[0114] C = the number of resource blocks required by the target user queue / the total number of resource blocks = 15 / 7. Since C>2, the communication system resources are insufficient at this time. When the communication system resources are insufficient, resources are allocated to the user terminals in the target user queue according to the second resource allocation strategy.
[0115] The base station sequentially traverses the resource blocks in the communication system and allocates continuous resource blocks to UE1 in the resource allocation order. At this time, the base station performs multi-user allocation for the second resource block allocated to UE1 in the communication system, and pairs the user terminal UE1 with UE2, UE3, UE4, UE5 and UE6. Since the sum of the throughput after UE6 and UE1 are paired is the maximum, the resource block allocated to UE1 is allocated to UE6 again, so that UE1 and UE6 share the resource block. After multi-user allocation, there are still remaining first resource blocks in the communication system, and the base station allocates the remaining first resource blocks in the communication system to UE3. At this time, there are remaining user terminals in the target user queue, and the user terminal UE3 is paired with UE2, UE4 and UE5. Since the sum of the throughput after UE5 and UE3 are paired is the maximum, the resource block allocated to UE3 is allocated to UE5 again, so that UE3 and UE5 share the resource block. The remaining UE2 and UE4 are allocated in the same way. Since UE2 does not meet its resource requirements, the last resource block is utilized in an adaptive manner to meet its resource requirements as much as possible.
[0116] It should be understood that although Figure 2-Figure 5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-Figure 5 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0117] In one embodiment, Figure 6 As shown, a resource allocation device is provided, comprising:
[0118] A first analysis module 100 is used to determine the number of resource blocks required by each user terminal in a target user queue, where the target user queue includes multiple user terminals scheduled in a target uplink subframe;
[0119] The second analysis module 200 is used to determine whether the current communication resources are sufficient according to the number of resource blocks required by each user terminal; the communication resources include multiple resource blocks;
[0120] A first resource allocation module 300 is used to allocate resources to user terminals in a target user queue according to a first resource allocation strategy when communication resources are sufficient;
[0121] The second resource allocation module 400 is used to allocate resources to user terminals in the target user queue according to a second resource allocation strategy when communication resources are insufficient;
[0122] The first resource allocation strategy includes allocating resources according to a preset allocation priority, wherein the preset allocation priority is that the execution priority of single-user allocation is higher than the execution priority of multi-user allocation, the single-user allocation is to allocate one resource block to one user terminal, and the multi-user allocation is to allocate one resource block to multiple user terminals;
[0123] The second resource allocation strategy includes performing resource allocation according to a preset throughput condition, where the preset throughput condition is that the sum of throughputs of multiple user terminals allocated to the same resource block reaches a maximum.
[0124] In one embodiment, before determining whether current communication resources are sufficient according to the number of resource blocks required by each user terminal, the method further includes:
[0125] The resource allocation order of the user terminal in the target user queue is determined according to the channel quality or data transmission speed of the user terminal.
[0126] In one embodiment, when communication resources are sufficient, allocating resources to user terminals in a target user queue according to a first resource allocation strategy includes:
[0127] A first resource allocation module 300, configured to perform single-user allocation according to a resource allocation sequence, wherein the first resource block refers to an unallocated resource block;
[0128] The second resource allocation module 400 is used to perform multi-user allocation for a second resource block according to a preset throughput condition when there are remaining user terminals in the target user queue. The second resource block refers to a resource block that has been allocated to at least one user terminal.
[0129] In one embodiment, when communication resources are insufficient, allocating resources to user terminals in the target user queue according to a second resource allocation strategy includes:
[0130] Sequential traversal module, used to traverse resource blocks sequentially;
[0131] The first resource allocation module 300 is used to, when traversing to the first resource block, perform single-user allocation according to the resource allocation order for the traversed first resource block, and after the single-user allocation is completed, the first resource block becomes the second resource block; the second resource block refers to a resource block that has been allocated to at least one user terminal; after performing the single-user allocation, perform multi-user allocation for the second resource block according to a preset throughput condition;
[0132] The second resource allocation module 400 is used to perform multi-user allocation according to a preset throughput condition for the traversed second resource block when the traversed second resource block is found.
[0133] In one embodiment, determining whether current communication resources are sufficient according to the number of resource blocks required by each user terminal includes:
[0134] A resource block number analysis module, used to obtain the number of resource blocks required by the target user queue according to the number of resource blocks required by each user terminal;
[0135] A comparison module, used for comparing the ratio of the number of resource blocks required by the target user queue to the total number of resource blocks with a preset ratio;
[0136] further configured to determine that resources of the communication system are sufficient if the ratio is less than a preset ratio;
[0137] It is also used to determine that the resources of the communication system are insufficient if the ratio is greater than or equal to a preset ratio.
[0138] In one embodiment, determining the number of resource blocks required by each user terminal in the target user queue includes:
[0139] A first analysis module 100 is used to determine the maximum number of resource blocks supported by the user terminal according to the transmit power of the user terminal;
[0140] The second analysis module 200 is used to determine the minimum number of resource blocks required by the user terminal according to the amount of data to be transmitted by the user terminal;
[0141] The required resource block number analysis module is used to take the minimum block value among the maximum number of resource blocks and the minimum number of resource blocks as the number of resource blocks required by the user terminal.
[0142] For the specific limitations of the resource allocation device, please refer to the limitations of the resource allocation method above, which will not be repeated here. Each module in the above-mentioned resource allocation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0143] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store periodic task allocation data, such as configuration files, theoretical operating parameters and theoretical deviation value ranges, task attribute information, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a resource allocation method is implemented.
[0144] Those skilled in the art can understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0145] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0146] Determining the number of resource blocks required by each user terminal in a target user queue, where the target user queue includes multiple user terminals scheduled in a target uplink subframe;
[0147] Determining whether current communication resources are sufficient according to the number of resource blocks required by each user terminal; the communication resources include multiple resource blocks;
[0148] When communication resources are sufficient, allocating resources to user terminals in the target user queue according to a first resource allocation strategy;
[0149] In the case where communication resources are insufficient, allocating resources to user terminals in the target user queue according to a second resource allocation strategy;
[0150] The first resource allocation strategy includes allocating resources according to a preset allocation priority, wherein the preset allocation priority is that the execution priority of single-user allocation is higher than the execution priority of multi-user allocation, the single-user allocation is to allocate one resource block to one user terminal, and the multi-user allocation is to allocate one resource block to multiple user terminals;
[0151] The second resource allocation strategy includes performing resource allocation according to a preset throughput condition, where the preset throughput condition is that the sum of throughputs of multiple user terminals allocated to the same resource block reaches a maximum.
[0152] In one embodiment, before the processor executes the computer program to determine whether the current communication resources are sufficient according to the number of resource blocks required by each user terminal, the method further includes:
[0153] The resource allocation order of the user terminal in the target user queue is determined according to the channel quality or data transmission speed of the user terminal.
[0154] In one embodiment, when the processor executes the computer program, when the communication resources are sufficient, resource allocation is performed to the user terminals in the target user queue according to the first resource allocation strategy, including:
[0155] For a first resource block, single-user allocation is performed according to a resource allocation order, where the first resource block refers to an unallocated resource block;
[0156] In the case that there are remaining user terminals in the target user queue, multi-user allocation is performed for a second resource block according to a preset throughput condition, where the second resource block refers to a resource block that has been allocated to at least one user terminal.
[0157] In one embodiment, when the processor executes the computer program, when the communication resources are insufficient, resource allocation is performed on the user terminals in the target user queue according to the second resource allocation strategy, including:
[0158] Sequentially traverse the resource block;
[0159] When traversing to the first resource block, single-user allocation is performed for the traversed first resource block according to the resource allocation order. After the single-user allocation is completed, the first resource block becomes the second resource block; the second resource block refers to a resource block that has been allocated to at least one user terminal; after the single-user allocation is performed, multi-user allocation is performed for the second resource block according to a preset throughput condition;
[0160] When the second resource block is traversed, multi-user allocation is performed for the traversed second resource block according to a preset throughput condition.
[0161] In one embodiment, when the processor executes the computer program, determining whether the communication resources of the communication system are sufficient according to a preset criterion and the number of resource blocks required by each user terminal includes:
[0162] According to the number of resource blocks required by each user terminal, the number of resource blocks required by the target user queue is obtained;
[0163] Compare the ratio of the number of resource blocks required by the target user queue to the total number of resource blocks with a preset ratio;
[0164] If the ratio is less than a preset ratio, it is determined that the resources of the communication system are sufficient;
[0165] If the ratio is greater than or equal to the preset ratio, it is determined that the resources of the communication system are insufficient.
[0166] In one embodiment, when the processor executes the computer program, determining the number of resource blocks required by each user terminal in the target user queue includes:
[0167] Determine the maximum number of resource blocks supported by the user terminal according to the transmit power of the user terminal;
[0168] Determining the minimum number of resource blocks required by the user terminal according to the amount of data to be transmitted by the user terminal;
[0169] The minimum number of resource blocks between the maximum number of resource blocks and the minimum number of resource blocks is used as the number of resource blocks required by the user terminal.
[0170] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the resource allocation method in any one of the above embodiments is implemented.
[0171] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0172] The technical features of the above embodiments may be coupled arbitrarily. To make the description concise, not all possible couplings of the technical features in the above embodiments are described. However, as long as there is no contradiction in the coupling of these technical features, they should be considered to be within the scope of this specification.
[0173] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A resource allocation method, characterized in that: The method comprises: Determining the number of resource blocks required by each user terminal in a target user queue, wherein the target user queue includes multiple user terminals scheduled in a target uplink subframe; the determining the number of resource blocks required by each user terminal in the target user queue includes: determining a maximum number of resource blocks supported by the user terminal according to the transmit power of the user terminal; determining a minimum number of resource blocks required by the user terminal according to the amount of data to be transmitted by the user terminal; and using the minimum number of resource blocks between the maximum number of resource blocks and the minimum number of resource blocks as the number of resource blocks required by the user terminal; Determining whether the current communication resources are sufficient according to the number of resource blocks required by each user terminal; the communication resources include multiple resource blocks; determining whether the current communication resources are sufficient according to the number of resource blocks required by each user terminal includes: obtaining the number of resource blocks required by the target user queue according to the number of resource blocks required by each user terminal; comparing the ratio of the number of resource blocks required by the target user queue to the total number of resource blocks with a preset ratio; if the ratio is less than the preset ratio, determining that the communication resources are sufficient; if the ratio is greater than or equal to the preset ratio, determining that the communication resources are insufficient; When the communication resources are sufficient, allocating resources to the user terminals in the target user queue according to a first resource allocation strategy; In the case where the communication resources are insufficient, allocating resources to the user terminals in the target user queue according to a second resource allocation strategy; The first resource allocation strategy includes allocating resources according to a preset allocation priority, wherein the preset allocation priority is that the execution priority of single-user allocation is higher than the execution priority of multi-user allocation, the single-user allocation is to allocate one resource block to one user terminal, that is, single-user-multiple-input-multiple-output SU-MIMO; the multi-user allocation is to allocate one resource block to multiple user terminals, that is, multi-user-multiple-input-multiple-output MU-MIMO; The second resource allocation strategy includes performing resource allocation according to a preset throughput condition, wherein the preset throughput condition is that the sum of the throughputs of the plurality of user terminals allocated to the same resource block reaches a maximum; In the case where the communication resources are insufficient, allocating resources to the user terminals in the target user queue according to the second resource allocation strategy includes: sequentially traversing the resource blocks; when traversing to the first resource block, performing single-user allocation for the traversed first resource block according to the resource allocation order of the user terminal in the target user queue, and after the single-user allocation is completed, the first resource block becomes the second resource block; the second resource block refers to a resource block that has been allocated to at least one user terminal; the resource allocation order is determined according to the channel quality or data transmission speed of the user terminal; after performing the single-user allocation, performing multi-user allocation for the second resource block according to the preset throughput condition; when traversing to the second resource block, performing multi-user allocation for the traversed second resource block according to the preset throughput condition.
2. The resource allocation method according to claim 1, characterized in that: Before determining whether current communication resources are sufficient according to the number of resource blocks required by each user terminal, the method further includes: A resource allocation order of the user terminal in the target user queue is determined according to the channel quality or data transmission speed of the user terminal.
3. The resource allocation method according to claim 2, characterized in that: When the communication resources are sufficient, allocating resources to the user terminals in the target user queue according to a first resource allocation strategy includes: For a first resource block, performing the single-user allocation according to the resource allocation order, the first resource block being an unallocated resource block; In the case that there are remaining user terminals in the target user queue, the multi-user allocation is performed for a second resource block according to the preset throughput condition, where the second resource block refers to a resource block that has been allocated to at least one user terminal.
4. A resource allocation device, characterized in that: include: A first analysis module, configured to determine the number of resource blocks required by each user terminal in a target user queue, wherein the target user queue includes multiple user terminals scheduled in a target uplink subframe; The determining the number of resource blocks required by each user terminal in the target user queue includes: determining the maximum number of resource blocks supported by the user terminal according to the transmit power of the user terminal; determining the minimum number of resource blocks required by the user terminal according to the amount of data to be transmitted by the user terminal; and using the minimum number of resource blocks between the maximum number of resource blocks and the minimum number of resource blocks as the number of resource blocks required by the user terminal; The second analysis module is used to determine whether the current communication resources are sufficient according to the number of resource blocks required by each user terminal; the communication resources include multiple resource blocks; the determination of whether the current communication resources are sufficient according to the number of resource blocks required by each user terminal includes: obtaining the number of resource blocks required by the target user queue according to the number of resource blocks required by each user terminal; comparing the ratio of the number of resource blocks required by the target user queue to the total number of resource blocks with a preset ratio; if the ratio is less than the preset ratio, determining that the communication resources are sufficient; if the ratio is greater than or equal to the preset ratio, determining that the communication resources are insufficient; A first resource allocation module, configured to allocate resources to the user terminals in the target user queue according to a first resource allocation strategy when the communication resources are sufficient; A second resource allocation module, configured to allocate resources to the user terminals in the target user queue according to a second resource allocation strategy when the communication resources are insufficient; The first resource allocation strategy includes allocating resources according to a preset allocation priority, wherein the preset allocation priority is that the execution priority of single-user allocation is higher than the execution priority of multi-user allocation, the single-user allocation is to allocate one resource block to one user terminal, that is, single-user-multiple-input-multiple-output SU-MIMO; the multi-user allocation is to allocate one resource block to multiple user terminals, that is, multi-user-multiple-input-multiple-output MU-MIMO; The second resource allocation strategy includes performing resource allocation according to a preset throughput condition, wherein the preset throughput condition is that the sum of the throughputs of the plurality of user terminals allocated to the same resource block reaches a maximum; In the case where the communication resources are insufficient, allocating resources to the user terminals in the target user queue according to the second resource allocation strategy includes: sequentially traversing the resource blocks; when traversing to the first resource block, performing single-user allocation for the traversed first resource block according to the resource allocation order of the user terminal in the target user queue, and after the single-user allocation is completed, the first resource block becomes the second resource block; the second resource block refers to a resource block that has been allocated to at least one user terminal; the resource allocation order is determined according to the channel quality or data transmission speed of the user terminal; after performing the single-user allocation, performing multi-user allocation for the second resource block according to the preset throughput condition; when traversing to the second resource block, performing multi-user allocation for the traversed second resource block according to the preset throughput condition.
5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Resource allocation method and equipment
CN102711257A
Method of multi-user multi-input multi-output frequency selection scheduling of local thermodynamic equilibrium (LTE) system
CN103096485A
Grouping scheduling method and device of MU-MIMO (multiple-user multiple-input multiple output) system
CN106685494A
System and method for semi-persistent scheduling for multi-user, multi-input / multi-output capable communication devices in a communication system
WO2010070194A1
