Disclosure of Invention
Therefore, it is necessary to provide a resource allocation method, device, apparatus, and storage medium for solving the problem of high error rate in the uplink data transmission process.
In a first aspect, a method for resource allocation, the method comprising:
acquiring the required quantity of resource blocks when target User Equipment (UE) transmits uplink data;
searching resource blocks, of which the interference levels meet the low level condition and are not allocated to other UE, in a target frequency domain range according to the required number to obtain a target resource block set;
and allocating the target resource block set to the target UE, wherein the target resource block set is used for the target UE to perform uplink data transmission based on the target resource block set.
In one embodiment, the searching for resource blocks, which have interference levels meeting the low level condition and are not allocated to other UEs, in the target frequency domain range according to the required number to obtain the target resource block set includes:
when the required number of low-level resource blocks are searched in the target frequency domain range, the searched low-level resource blocks are used as a target resource block set, and the low-level resource blocks are the resource blocks which are not allocated to other UE and have interference levels smaller than a target level threshold value.
In one embodiment, the searching for resource blocks, which have interference levels meeting the low level condition and are not allocated to other UEs, in the target frequency domain range according to the required number to obtain the target resource block set includes:
when the number of the low-level resource blocks searched in the target frequency domain range is smaller than the required number, gradually reducing the required number according to a target reduction step length, wherein the low-level resource blocks are the resource blocks which are not allocated to other UE and have interference levels smaller than a target level threshold value;
after each reduction, searching a low-level resource block in a target frequency domain range according to the reduced required quantity;
and when the reduced required number of low-level resource blocks are searched in the target frequency domain range, taking the searched low-level resource blocks as a target resource block set.
In one embodiment, the gradually reducing the required quantity according to the target reduction step includes:
and gradually reducing the required quantity according to the target reducing step length until the reduced required quantity is less than or equal to the target required quantity threshold, and stopping reducing.
In one embodiment, the method further comprises:
and when the reduced required number of low-level resource blocks is not searched in the target frequency domain after the last reduction, taking the threshold number of the resource blocks with the minimum target required number, which are not allocated to other UEs in the target frequency domain, as the target resource block set.
In one embodiment, when the resource blocks required by the target UE are consecutive resource blocks in the frequency domain, searching for resource blocks, which have interference levels meeting a low level condition and are not allocated to other UEs, in the target frequency domain range according to the required number to obtain a target resource block set, including:
and searching continuous resource blocks which meet the low level condition and are not allocated to other UE in the frequency domain in the interference level in the target frequency domain range according to the required quantity to obtain a target resource block set.
In one embodiment, the searching for resource blocks, in which the interference level satisfies the low level condition and is not allocated to other UEs, in the target frequency domain range includes;
acquiring the interference level of each time slot of the resource block which is not allocated to other UE in a reporting period to obtain the average interference level of the resource block which is not allocated to other UE;
and searching resource blocks with the average interference level smaller than the target level threshold value in the target frequency domain range.
In a second aspect, an apparatus for resource allocation, the apparatus comprising:
the acquisition module is used for acquiring the required quantity of resource blocks when the target user equipment UE transmits uplink data;
the searching module is used for searching resource blocks, which meet the low level condition and are not allocated to other UE, in a target frequency domain range according to the required number to obtain a target resource block set;
and the allocation module is used for allocating the target resource block set to the target UE, and the target resource block set is used for the target UE to perform uplink data transmission based on the target resource block set.
In a third aspect, a computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method steps of the resource allocation method when executing the computer program.
In a fourth aspect, a computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method steps of the above-mentioned resource allocation method.
The resource allocation method, the device, the equipment and the storage medium can obtain the required quantity of the resource blocks when the target user equipment UE transmits the uplink data and according to the required quantity, searching resource blocks, of which the interference levels meet the low level condition and are not allocated to other UE, in the target frequency domain range to obtain a target resource block set, and further allocating the target resource block set to the target UE, the target resource block set being used for uplink data transmission of the target UE based on the target resource block set, when the target UE carries out uplink data transmission, the resource blocks with interference levels meeting the low level condition are distributed to the target UE according to the required number of the resource blocks of the target UE to carry out uplink data transmission, the condition that the resource blocks with too high interference levels are used for carrying out uplink data transmission is avoided, and the problem of high error rate in the process of uplink data transmission is further avoided.
Detailed Description
The resource allocation method, device, equipment and storage medium provided by the application aim to solve the problem of high error rate in the uplink data transmission process. The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The resource allocation method provided by this embodiment may be applied to the application environment shown in fig. 1. Where the base station 102 communicates with the user equipment 104 over a network. The user device 104 may be a cell phone, a tablet, a portable wearable device, and other communication enabled devices.
It should be noted that, in the resource allocation method provided in the embodiment of the present application, the execution main body may be a resource allocation apparatus, the apparatus may be implemented as a resource allocation terminal portion or all of the resource allocation apparatus in a software, hardware, or a combination of software and hardware, and the terminal may be implemented as a portion of a base station in a hardware manner.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
FIG. 2 is a flowchart illustrating a resource allocation method according to an embodiment. The present embodiment relates to a specific procedure how to allocate resource blocks to target user equipments that meet low level requirements. As shown in fig. 2, the method comprises the steps of:
s101, acquiring the required quantity of resource blocks of target User Equipment (UE) during uplink data transmission.
Specifically, the User Equipment (UE) may be a mobile phone, a tablet computer, a portable wearable device, or other devices with communication functions, and the target UE may be a UE for performing uplink data transmission. Generally, when performing wireless communication, a frequency domain resource for data transmission generally exists in the form of a set of multiple resource blocks (PRBs), where each resource Block is a segment of frequency domain resource of a preset bandwidth. For example, as shown in fig. 2a, the frequency domain resource for data transmission is a 20MHz frequency spectrum, which includes 100 resource blocks, and the bandwidth of each resource block is 0.2 MHz. When the required number of resource blocks when the target user equipment UE transmits uplink data is obtained, the base station can directly receive the required number of the resource blocks sent by the target UE; or when receiving the data type of the uplink data required to be transmitted by the target UE, determining the required number of resource blocks when the target UE transmits the uplink data according to the data type; the embodiment of the present application does not limit this. For example, when the base station receives that the uplink data that the target UE needs to transmit is voice data, the base station may determine that the required number of resource blocks by the target UE is 2 according to that the data type of the uplink data is voice data.
S102, according to the required quantity, resource blocks, of which the interference levels meet the low level condition and are not allocated to other UE, are searched in the target frequency domain range to obtain a target resource block set.
Specifically, the target frequency domain range may be the entire frequency domain range used by the base station for transmitting data, or may be a partial frequency domain range used by the base station for transmitting data, which is not limited in this embodiment of the present application. In transmitting uplink data, interfering signals are often encountered. For example, uplink signal interference of other user equipment in the same-frequency neighboring cell; stray interference generated by wifi hotspot signals; fixed interference generated by equipment outside other systems such as electromagnetic equipment. When the strength of the interference signal is strong, the internet access rate and the voice call quality of the target user equipment are seriously affected. However, the uplink interference signal generally has randomness and frequency selectivity, that is, in the target frequency domain, the strength of the interference signal received on the resource block corresponding to the frequency domain of the interference signal is strong, and the strength of the interference signal received on other resource blocks is weak. The interference signal may be presented in the form of an interference level in the resource block. The higher the interference level of a resource block is, the stronger the intensity of the interference signal received by the resource block is, and the lower the interference level of the resource block is, the weaker the intensity of the interference signal received by the resource block is. The low level condition may be that the interference level of the resource block is smaller than the target level threshold, or that the sequence number obtained by arranging the interference levels of the resource blocks in the target frequency domain range from low to high is smaller than the target sequence threshold, or that the average interference level of the resource block is smaller than the target level threshold, which is not limited in the embodiment of the present application. At least one resource block in the target set of resource blocks that satisfies the low level condition and is not allocated to other UEs may be included. On the basis of the above embodiment, when the required number of resource blocks for the target UE to transmit uplink data is determined, the base station may search for resource blocks, which have interference levels satisfying the low level condition and are not allocated to other UEs, in real time within the target frequency domain range to obtain a target resource block set; or a preset time period is set at intervals, the interference level of each time slot of the resource block in the preset time period is obtained, the average interference level of the resource block which is not allocated to other UE is obtained, and the average interference level which is smaller than the target level threshold value and is the resource block allocated to other UE is searched, so that a target resource block set is obtained; the embodiment of the present application does not limit this.
S103, distributing the target resource block set to the target UE, wherein the target resource block set is used for the target UE to perform uplink data transmission based on the target resource block set.
Specifically, on the basis of the above embodiments, the base station may allocate the target resource block set to the target UE, so that the target UE performs uplink data transmission based on the target resource block set. After determining the target resource block set, the base station may fixedly allocate the target resource block set to the target UE for the target UE to perform uplink data transmission based on the target resource block set; or after the target resource block set is determined, updating the target resource block set according to the change of the interference level of the resource block in the target frequency domain range to obtain an updated target resource block set, and allocating the updated target resource block set to the target UE for the target UE to perform uplink data transmission based on the updated target resource block set; the embodiment of the present application does not limit this. It should be noted that, when the base station searches the required number of low-level resource blocks, it immediately determines the searched required number of low-level resource blocks as the target resource block set, and marks the searched required number of low-level resource blocks as the allocated state, and after all resource blocks in the target frequency domain range do not need to be searched, determines the target resource block set.
According to the resource allocation method, the required number of resource blocks of the target user equipment UE during uplink data transmission is obtained, the resource blocks of which the interference levels meet the low level condition and are not allocated to other UEs are searched in the target frequency domain range according to the required number, the target resource block set is obtained, and the target resource block set is allocated to the target UE and is used for enabling the target UE to perform uplink data transmission based on the target resource block set, so that when the target UE transmits the uplink data, the resource blocks of which the interference levels meet the low level condition are allocated to the target UE according to the required number of the resource blocks of the target UE to transmit the uplink data, the situation that the resource blocks with excessively high interference levels are used for performing uplink data transmission is avoided, and the problem of high error rate in the uplink data transmission process is further avoided.
Optionally, when the required number of low-level resource blocks are searched in the target frequency domain range, the searched low-level resource blocks are used as a target resource block set, and the low-level resource blocks are resource blocks which are not allocated to other UEs and have interference levels smaller than a target level threshold.
Specifically, on the basis of the above embodiment, when the required number of resource blocks for the target UE to transmit uplink data is determined, and the required number of low-level resource blocks are searched in the target frequency domain, the base station may directly use the searched low-level resource blocks as the target resource block set. The low-level resource blocks are not allocated to other UEs and the interference level is less than the target level threshold. When searching for the interference level of each resource block, the base station may obtain the interference level of each resource block through physical layer measurement. For example, the interference level of all PRBs in the target frequency domain is measured by the physical layer, each PRB corresponds to a measured value, if N PRBs are shared in the target frequency domain, the interference level of the N PRBs in the target frequency domain is the array [ RIP _0, RIP _1, RIP2 … RIP _ N ], and the array [ RIP _0, RIP _1, RIP2 … RIP _ N ] is reported to a scheduler arranged in the base station. It should be noted that the target level threshold may be a preset level threshold, which may be changed according to the requirement of the user. For example, as shown in fig. 2b, when the target level threshold is-105 dBm and the required number of resource blocks for the target UE to transmit uplink data is 5, the low level resource blocks shown in fig. 2b are searched and obtained as the target resource block set.
When the number of low-level resource blocks searched in the target frequency domain is smaller than the required number, the required number may be reduced to obtain the target resource block set, which is described in detail by the embodiment shown in fig. 3 below.
Fig. 3 is a schematic flow diagram of a resource allocation method in another embodiment, where this embodiment relates to a specific process of obtaining a target resource block set by reducing a required number when the number of low-level resource blocks searched in a target frequency domain is less than the required number, and as shown in fig. 3, the step S102 "searching resource blocks, which satisfy a low-level condition and are not allocated to other UEs, in the target frequency domain according to the required number to obtain the target resource block set" includes the following steps:
s201, when the number of the low-level resource blocks searched in the target frequency domain range is smaller than the required number, gradually reducing the required number according to a target reduction step length, wherein the low-level resource blocks are the resource blocks which are not allocated to other UE and have interference levels smaller than a target level threshold value.
Specifically, when resource blocks which are searched in the target frequency domain range and are not allocated to other UEs and whose interference levels are smaller than the target level threshold, that is, the number of low-level resource blocks is smaller than the required number, the required number may be gradually reduced according to the target reduction step size. Wherein, the target reduction step size may be a preset numerical value of the required quantity per reduction. For example, the target reduction step size is 2, the required number of resource blocks by the target UE when transmitting the uplink data is 10, when the number of low-level resource blocks searched in the target frequency domain is less than 10, the required number of resource blocks by the target UE when transmitting the uplink data may be 10-2 according to the target reduction step size 2, that is, the required number of resource blocks by the target UE when transmitting the uplink data is reduced to 8, the number of low-level resource blocks searched in the target frequency domain is further reduced, when the number of low-level resource blocks searched in the target frequency domain is less than 8, the required number of resource blocks by the target UE when transmitting the uplink data is continuously reduced according to the target reduction step size 2, and the step of executing the number of low-level resource blocks searched in the target frequency domain is returned.
Optionally, the demand quantity is reduced step by step according to the target reduction step size, and the reduction is stopped when the reduced demand quantity is smaller than or equal to the target demand quantity threshold.
Specifically, the target demand amount threshold may be a preset demand amount threshold. When the reduced demand quantity is less than or equal to the target demand quantity threshold, stopping reducing. Continuing to take the target reduction step size as 2, taking the required number of resource blocks by the target UE when transmitting uplink data as 10 as an example, when the threshold of the target required number is 5, and when the required number is reduced for the third time and the reduced required number is 4, stopping reduction.
S202, after each reduction, searching the low-level resource block in the target frequency domain range according to the reduced required number.
And S203, when the reduced required number of low-level resource blocks are searched in the target frequency domain range, taking the searched low-level resource blocks as a target resource block set.
Specifically, when the reduced required number of low-level resource blocks is searched in the target frequency domain range, the searched low-level resource blocks may be used as the target resource block set. Continuing to use target reduction step size to be 2, the demand quantity of target UE to the resource block is 10 when transmitting uplink data for example, when according to demand quantity 10, can not search for 10 resource blocks in the target frequency domain scope, reduce demand quantity 10 according to target reduction step size 2, obtain demand quantity 8 after reducing, and then continue to search for 8 low level resource blocks after reducing in the target frequency domain scope, when searching for 8 low level resource blocks in the target frequency domain scope, 8 low level resource blocks that will search for are regarded as the target resource block set.
Optionally, when the reduced required number of low-level resource blocks is not searched in the target frequency domain after the last reduction, the target required number threshold number of resource blocks with the minimum interference level, which are not allocated to other UEs, in the target frequency domain is used as the target resource block set.
Specifically, when the reduced required number of low-level resource blocks is not searched in the target frequency domain after the last reduction, a target required number threshold number of resource blocks with the minimum interference level, which are not allocated to other UEs, in the target frequency domain is set as the target resource block set. The target demand quantity threshold is a preset demand quantity threshold and is used for indicating the minimum value of the demand quantity. For example, when the target reduction step size is 2, the required number is 10, the target level threshold is-105 dBm, and the target required number threshold is set to 4, when 10 low-level resource blocks with interference levels smaller than the target level threshold of-105 dBm cannot be searched in the target frequency domain for the first time, the required number is reduced step by step according to the target reduction step size, when the required number is reduced for the third time, the obtained reduced required number is 4, which is equal to the target required number threshold of 4, which is the last reduced required number, and when 4 low-level resource blocks with interference levels smaller than-105 dBm cannot be searched in the target frequency domain, all the resource blocks in the target frequency domain are arranged in the order of the interference levels from low to high, and the first 4 resource blocks are selected as the target resource block set, as shown in fig. 3 a.
According to the resource allocation method, when the number of low-level resource blocks searched in a target frequency domain is smaller than the required number, the required number is gradually reduced according to a target reduction step length, the low-level resource blocks are the resource blocks which are not allocated to other UE and have interference levels smaller than a target level threshold value, after each reduction, the low-level resource blocks are searched in the target frequency domain according to the reduced required number, when the reduced required number of low-level resource blocks are searched in the target frequency domain, the searched low-level resource blocks are taken as a target resource block set, so that the resource blocks in the target resource block set are all the low-level resource blocks, the condition that the resource blocks are randomly allocated to the target UE when the required number of low-level resource blocks do not exist in the target frequency domain is avoided, and the condition that the resource blocks with excessively high interference levels are used for uplink data transmission is further avoided, the problem of high error rate in the process of uplink data transmission is avoided.
On the basis of the foregoing embodiment, when the resource blocks required by the target UE are consecutive resource blocks, optionally, according to the required number, resource blocks that are consecutive in the frequency domain and whose interference levels satisfy the low level condition and are not allocated to other UEs are searched in the target frequency domain range, so as to obtain the target resource block set.
Specifically, the resource blocks required by the target UE may be continuous resource blocks, and as can be seen from the content described in the foregoing embodiment, each resource block is a segment of frequency domain resource of a preset bandwidth, and a continuous resource block is a segment of continuous frequency domain resource. When the resource blocks required by the target UE are continuous resource blocks, searching the resource blocks of which the interference levels meet the low level condition and are not allocated to other UEs in the target frequency domain range, and obtaining a target resource block set.
Fig. 4 is a schematic flow chart of a resource allocation method in another embodiment, where this embodiment relates to a specific process of searching for resource blocks, which satisfy a low level condition and are not allocated to other UEs, in a target frequency domain range, as shown in fig. 4, a possible implementation manner of the S102 "searching for resource blocks, which satisfy a low level condition and are not allocated to other UEs, in a target frequency domain range" includes the following steps:
s301, obtaining the interference level of each time slot of the resource block which is not allocated to other UE in the reporting period, and obtaining the average interference level of the resource block which is not allocated to other UE.
Specifically, the base station may measure an interference level of the resource block through the physical layer, and report the measured interference level to the scheduler through the physical layer to obtain the interference level of each resource block. When the physical layer measures the interference level of the resource block, it can only measure the interference level of the resource block in the idle sub-frame/time slot without service, and report the interference level of each resource block to the scheduler according to the reporting period, where the reporting period can be configured. When reporting the interference level of the resource block to the scheduler, the measured interference levels of all the resource blocks in the reporting period may be averaged to obtain the average interference level of the resource block, and the average interference level of the resource block is reported to the scheduler. For example, the reporting period may be configured to be 1S, the physical layer may average the interference levels of the PRBs measured N times in the 1S, and report the average interference level to the scheduler in a format of [ RIP _0, RIP _1, RIP _2 … RIP _ N ], where N is the total number of available resource blocks in the target frequency domain.
S302, searching resource blocks with the average interference level smaller than the target level threshold value in the target frequency domain range.
According to the resource allocation method, the interference level of each time slot of the resource block which is not allocated to other UE in the reporting period is obtained, the average interference level of the resource block which is not allocated to other UE is obtained, the resource block of which the average interference level is smaller than the target level threshold value is searched in the target frequency domain range, the resource block which is searched in the target frequency domain range is the resource block of which the average interference level is smaller than the target level threshold value, the condition that the interference level of the resource block measured instantly by a physical layer is inaccurate due to abnormal signal fluctuation is avoided, the problem that the resource block of which the low level is obtained by searching in the target frequency domain range is inaccurate is further avoided, the condition that the resource block of which the interference level is too high is used for uplink data transmission is avoided, and the problem of high error rate in the uplink.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
Fig. 5 is a schematic structural diagram of a resource allocation apparatus provided in an embodiment, and as shown in fig. 5, the resource allocation apparatus includes: an acquisition module 10, a search module 20 and an allocation module 30, wherein:
an obtaining module 10, configured to obtain a required number of resource blocks for a target user equipment UE when transmitting uplink data;
the searching module 20 is configured to search, according to the required number, resource blocks in the target frequency domain, where the interference level meets a low level condition and is not allocated to other UEs, to obtain a target resource block set;
an allocating module 30, configured to allocate the target resource block set to the target UE, where the target resource block set is used for the target UE to perform uplink data transmission based on the target resource block set.
In an embodiment, the searching module 20 is specifically configured to, when a required number of low-level resource blocks are searched in a target frequency domain, use the searched low-level resource blocks as a target resource block set, where the low-level resource blocks are resource blocks that are not allocated to other UEs and have interference levels smaller than a target level threshold.
In an embodiment, the searching module 20 is specifically configured to, when the number of the low-level resource blocks searched in the target frequency domain range is smaller than the required number, gradually reduce the required number according to a target reduction step size, where the low-level resource blocks are resource blocks that are not allocated to other UEs and whose interference levels are smaller than a target level threshold; after each reduction, searching a low-level resource block in a target frequency domain range according to the reduced required quantity; and when the reduced required number of low-level resource blocks are searched in the target frequency domain range, taking the searched low-level resource blocks as a target resource block set.
In an embodiment, the search module 20 is specifically configured to gradually reduce the demand quantity according to the target reduction step size, and stop reducing until the reduced demand quantity is smaller than or equal to the target demand quantity threshold.
In one embodiment, the searching module 20 is specifically configured to, when the reduced required number of low-level resource blocks is not searched in the target frequency domain after the last reduction, use a target required number threshold number of resource blocks with the minimum interference level, which are not allocated to other UEs, in the target frequency domain as the target resource block set.
In an embodiment, when the resource blocks required by the target UE are resource blocks continuous in the frequency domain, the searching module 20 is specifically configured to search, according to the required number, resource blocks continuous in the frequency domain, which are not allocated to other UEs and whose interference levels satisfy the low level condition, in the target frequency domain range, so as to obtain the target resource block set.
In one embodiment, the searching module 20 is specifically configured to obtain an interference level of each time slot of a resource block that is not allocated to other UEs in a reporting period, to obtain an average interference level of the resource block that is not allocated to other UEs; and searching resource blocks with the average interference level smaller than the target level threshold value in the target frequency domain range.
The resource allocation apparatus provided in the embodiment of the present application may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
For a specific limitation of the resource allocation apparatus, reference may be made to the above limitation of the resource allocation method, which is not described herein again. The modules in the resource allocation apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal device, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a resource allocation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a terminal device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring the required quantity of resource blocks when target User Equipment (UE) transmits uplink data;
searching resource blocks, of which the interference levels meet the low level condition and are not allocated to other UE, in a target frequency domain range according to the required number to obtain a target resource block set;
and allocating the target resource block set to the target UE, wherein the target resource block set is used for the target UE to perform uplink data transmission based on the target resource block set.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the required number of low-level resource blocks are searched in the target frequency domain range, the searched low-level resource blocks are used as a target resource block set, and the low-level resource blocks are the resource blocks which are not allocated to other UE and have interference levels smaller than a target level threshold value.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the number of the low-level resource blocks searched in the target frequency domain range is smaller than the required number, gradually reducing the required number according to a target reduction step length, wherein the low-level resource blocks are the resource blocks which are not allocated to other UE and have interference levels smaller than a target level threshold value; after each reduction, searching a low-level resource block in a target frequency domain range according to the reduced required quantity; and when the reduced required number of low-level resource blocks are searched in the target frequency domain range, taking the searched low-level resource blocks as a target resource block set.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and gradually reducing the required quantity according to the target reducing step length until the reduced required quantity is less than or equal to the target required quantity threshold, and stopping reducing.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and when the reduced required number of low-level resource blocks is not searched in the target frequency domain after the last reduction, taking the threshold number of the resource blocks with the minimum target required number, which are not allocated to other UEs in the target frequency domain, as the target resource block set.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and searching continuous resource blocks which meet the low level condition and are not allocated to other UE in the frequency domain in the interference level in the target frequency domain range according to the required quantity to obtain a target resource block set.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the interference level of each time slot of the resource block which is not allocated to other UE in a reporting period to obtain the average interference level of the resource block which is not allocated to other UE; and searching resource blocks with the average interference level smaller than the target level threshold value in the target frequency domain range.
The implementation principle and technical effect of the terminal device provided in this embodiment are similar to those of the method embodiments described above, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring the required quantity of resource blocks when target User Equipment (UE) transmits uplink data;
searching resource blocks, of which the interference levels meet the low level condition and are not allocated to other UE, in a target frequency domain range according to the required number to obtain a target resource block set;
and allocating the target resource block set to the target UE, wherein the target resource block set is used for the target UE to perform uplink data transmission based on the target resource block set.
In one embodiment, the computer program when executed by the processor implements the steps of: when the required number of low-level resource blocks are searched in the target frequency domain range, the searched low-level resource blocks are used as a target resource block set, and the low-level resource blocks are the resource blocks which are not allocated to other UE and have interference levels smaller than a target level threshold value.
In one embodiment, the computer program when executed by the processor implements the steps of: when the number of the low-level resource blocks searched in the target frequency domain range is smaller than the required number, gradually reducing the required number according to a target reduction step length, wherein the low-level resource blocks are the resource blocks which are not allocated to other UE and have interference levels smaller than a target level threshold value; after each reduction, searching a low-level resource block in a target frequency domain range according to the reduced required quantity; and when the reduced required number of low-level resource blocks are searched in the target frequency domain range, taking the searched low-level resource blocks as a target resource block set.
In one embodiment, the computer program when executed by the processor implements the steps of: and gradually reducing the required quantity according to the target reducing step length until the reduced required quantity is less than or equal to the target required quantity threshold, and stopping reducing.
In one embodiment, the computer program when executed by the processor implements the steps of: and when the reduced required number of low-level resource blocks is not searched in the target frequency domain after the last reduction, taking the threshold number of the resource blocks with the minimum target required number, which are not allocated to other UEs in the target frequency domain, as the target resource block set.
In one embodiment, the computer program when executed by the processor implements the steps of: and searching continuous resource blocks which meet the low level condition and are not allocated to other UE in the frequency domain in the interference level in the target frequency domain range according to the required quantity to obtain a target resource block set.
In one embodiment, the computer program when executed by the processor implements the steps of: acquiring the interference level of each time slot of the resource block which is not allocated to other UE in a reporting period to obtain the average interference level of the resource block which is not allocated to other UE; and searching resource blocks with the average interference level smaller than the target level threshold value in the target frequency domain range.
The implementation principle and technical effect of the computer-readable storage medium provided by this embodiment are similar to those of the above-described method embodiment, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. 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. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.