CN109819449B - Base station hardware resource allocation method and device based on virtual resources - Google Patents
Base station hardware resource allocation method and device based on virtual resources Download PDFInfo
- Publication number
- CN109819449B CN109819449B CN201910213559.5A CN201910213559A CN109819449B CN 109819449 B CN109819449 B CN 109819449B CN 201910213559 A CN201910213559 A CN 201910213559A CN 109819449 B CN109819449 B CN 109819449B
- Authority
- CN
- China
- Prior art keywords
- base station
- user traffic
- traffic information
- virtual
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a base station hardware resource allocation method and device based on virtual resources, relates to the technical field of communication, and is used for solving the problem that the utilization rate of base station hardware resources is low because the base station hardware resources cannot be dynamically allocated according to the dynamic change of user traffic. The method comprises the following steps: virtualizing base station hardware resources into a base station virtual resource allocation pool in advance, acquiring at least one base station user traffic information and determining a weight factor of each base station under the user traffic information of each dimension in a preset period; the user traffic information includes at least one of: the number of users, the total flow of data and the total number of service access times; determining the distribution factor of the target base station according to the weight factor; and determining the virtual hardware resources required by the target base station according to the allocation factors of the target base station, and allocating the required virtual hardware resources to the target base station from the base station virtual resource allocation pool. The embodiment of the invention is used for dynamically allocating the hardware resources of the base station.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a base station hardware resource allocation method and device based on virtual resources.
Background
With the development of internet technology, the number of mobile internet services based on wireless data communication and the number of users of the mobile internet services have been increased in a well-known manner, and the user traffic under a base station is more significantly affected by the mobile internet services. In a wireless communication scenario, base station hardware resources (such as various physical hardware resources including a CPU (Central Processing Unit), an exchange network card, and an accelerator card) of a base station need to be matched with user traffic in a coverage area of the base station to ensure normal operation of the user traffic.
In practical situations, since users of the mobile internet service have high mobility, and meanwhile, the access mode and the traffic demand of the mobile internet service exhibit diversified trends, the user traffic of different base stations dynamically changes more or less under the influence of the diversity of the mobile internet service and the high mobility of the users, when the user traffic changes greatly, the base stations in the wireless network have the situation of insufficient hardware resources of the base stations or redundant hardware resources of the base stations, and the utilization rate of the hardware resources of the base stations is low.
Disclosure of Invention
The embodiment of the invention provides a method and a device for allocating base station hardware resources based on virtual resources, which are used for solving the technical problem that the utilization rate of the base station hardware resources is low because the base station hardware resources cannot be dynamically allocated according to the dynamic change of user traffic in the prior art.
In a first aspect, a method for allocating hardware resources of a base station based on virtual resources is provided, where the hardware resources of the base station are virtualized in advance into a virtual resource allocation pool of the base station, and the method includes:
acquiring user traffic information of at least one base station in a preset period; the user traffic information comprises at least one of the following dimensions: the number of users, the total flow of data and the total number of service access times;
determining a weight factor of any base station in the at least one base station under the user traffic information of each dimension according to the user traffic information of the at least one base station;
determining the distribution weight of each base station according to the weight factor of each base station under the user traffic information of each dimension;
calculating the distribution factor of the target base station according to the distribution weight of each base station; the target base station is any one of at least one base station;
and determining the virtual hardware resources required by the target base station according to the allocation factors, and allocating the required virtual hardware resources for the target base station from the unallocated virtual hardware resources of the base station virtual resource allocation pool.
In the method for allocating hardware resources of a base station based on virtual resources provided by the embodiment of the invention, the hardware resources of the base station of at least one base station can be virtualized into a virtual resource allocation pool of the base station in advance, so that the hardware resources of at least one base station can be allocated in a centralized manner after the hardware resources of at least one base station are virtualized in a centralized manner; in the distribution process, acquiring user traffic information of at least one base station in a preset period so as to dynamically acquire the user traffic of each base station; then, determining a weight factor of any base station in the at least one base station under the user traffic information of each dimension according to the user traffic information of the at least one base station, determining the distribution weight of the base station according to the weight factor of each base station under the user traffic information of each dimension, then calculating the distribution factor of a target base station according to the distribution weight of each base station so as to realize the purpose of dynamically determining the distribution factor of the virtual hardware resources of each base station by combining the user traffic information of multiple dimensions, finally determining the virtual hardware resources required by the target base station according to the distribution factor, and distributing the required virtual hardware resources for the target base station from a base station virtual resource distribution pool. Therefore, the embodiment of the invention can correlate the hardware resources of the base station with the user traffic so as to effectively ensure the dynamic matching of the hardware resources of the base station and the user traffic of the base station, effectively solve the technical problem that the utilization rate of the hardware resources of the base station is low because the hardware resources of the base station are dynamically allocated according to the dynamic change of the user traffic in the prior art, and improve the utilization rate of the hardware resources of the base station.
In a second aspect, an apparatus for allocating hardware resources of a base station based on virtual resources is provided, including:
an obtaining module, configured to obtain user traffic information of the at least one base station in a predetermined period; the user traffic information comprises at least one of the following dimensions: the number of users, the total flow of data and the total number of service access times;
the processing module is used for determining a weight factor of any base station in the at least one base station under the user traffic information of each dimension according to the user traffic information of the at least one base station acquired by the acquisition module;
the determining module is used for determining the distribution factor of the target base station according to the weight factor of each base station determined by the processing module under the user traffic information of each dimension; the target base station is any one of the at least one base station;
and the allocation module is used for determining the virtual hardware resources required by the target base station according to the allocation factors determined by the determination module and allocating the required virtual hardware resources to the target base station from the unallocated virtual hardware resources in the base station virtual resource allocation pool.
In a third aspect, an apparatus for allocating hardware resources of a base station based on virtual resources is provided, including: one or more processors; the processor is configured to execute computer program code in the memory, the computer program code comprising instructions to cause the virtual resource based base station hardware resource allocation apparatus to perform the virtual resource based base station hardware resource allocation method of the first aspect.
In a fourth aspect, a storage medium is provided, wherein the storage medium stores instruction codes for executing the virtual resource-based base station hardware resource allocation method according to the first aspect.
In a fifth aspect, a computer program product is provided, wherein the computer program product comprises instruction codes for executing the virtual resource based base station hardware resource allocation method according to the first aspect.
It can be understood that, the above-provided virtual resource-based base station hardware resource allocation apparatus, storage medium, and computer product are configured to execute the method corresponding to the first aspect, and therefore, the beneficial effects that can be achieved by the apparatus refer to the method of the first aspect and the beneficial effects of the corresponding schemes in the following detailed description, which are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and the drawings are only for the purpose of illustrating preferred embodiments and are not to be considered as limiting the present invention.
Fig. 1 is a schematic diagram of a fixed base station hardware resource deployed in a base station according to an embodiment of the present invention;
fig. 2 is a schematic diagram of base station hardware resources actually required in a base station according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for allocating base station hardware resources based on virtual resources according to an embodiment of the present invention;
FIG. 4a is a schematic diagram of determining virtual hardware resources required by a base station according to an embodiment of the present invention;
fig. 4b is a schematic diagram of virtual hardware resources required by a target base station allocated from a base station virtual resource allocation pool according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating division of a preset period according to an embodiment of the present invention;
fig. 6 is a functional structure block diagram of a base station hardware resource allocation apparatus based on virtual resources according to an embodiment of the present invention;
fig. 7 shows a functional block diagram of a base station hardware resource allocation apparatus based on virtual resources according to an embodiment of the present invention.
Detailed Description
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, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. The use of the terms first, second, etc. do not denote any order, and the terms first, second, etc. may be interpreted as names of the described objects. In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Before the embodiments of the present invention are introduced, a simple introduction is first made to a manner of allocating hardware resources of a base station in a current wireless communication scenario. Referring to fig. 1, when base stations are deployed at present, the base station hardware resources of each base station are fixed base station hardware resources that are deployed in advance, and cannot be changed or adjusted adaptively according to needs of actual situations. However, in practical situations, as the number of services of the mobile internet service and the number of users rapidly increase, the amount of user services required by the base station is dynamically changed under the influence of the mobile internet service, which is mainly expressed as follows: under a wireless communication scene, users of mobile internet services have high mobility, so that the number of users accessing a base station under a coverage area of the base station is changed dynamically to a greater or lesser extent, and the user service volume required to be guaranteed by the base station is changed dynamically; meanwhile, the user traffic required to be guaranteed by the base station also needs to meet the service access requirements of the user and the data traffic requirements of the user, and the mobile internet service access mode and the data traffic requirements show a diversified trend, so that the user traffic required to be guaranteed by the base station is influenced, and the user traffic required to be guaranteed by the base station shows dynamic changes. When the user traffic required to be guaranteed by the base station changes, the difference between the fixed base station hardware deployed on the base station and the base station hardware resources actually required by the base station is large (see fig. 1 and fig. 2, where the length of the shaded part in fig. 1 and the length of the shaded part in fig. 2 are both used to represent the resource amount of the base station hardware resources, and the longer the shaded part is, the more the resource amount is), so that the fixed base station hardware resources deployed on the base station often cannot be matched with the user traffic required to be guaranteed by the base station, for example, when the user traffic required to be guaranteed by a base station at a certain moment is large, the base station hardware resources required by the base station are also large at this moment, and when the base station hardware resources required by the base station are larger than the fixed base station hardware resources deployed on the base station, the situation that the base station hardware resources are insufficient can occur; on the contrary, when the user traffic required to be guaranteed by a base station at a certain time is small, the hardware resources of the base station required by the base station are also small, and when the hardware resources of the base station required by the base station are smaller than the hardware resources of the base station which is fixedly deployed on the base station, the situation of hardware resource redundancy of the base station occurs, and the hardware resources of the base station are wasted. Therefore, at present, fixed base station hardware resources deployed in each base station cannot match with dynamically-changing user traffic, the base station hardware resources cannot be fully and reasonably utilized, and the utilization rate of the base station hardware resources is low.
Based on the existing problems, embodiments of the present invention provide a method for allocating hardware resources of a base station based on virtual resources, where the hardware resources of the base station are virtualized in advance into a virtual resource allocation pool of the base station, and a predetermined period is set, and a virtual hardware resource required by each base station is allocated to each base station in each predetermined period according to the method described below, so that the hardware resources of the base station can be fully and reasonably utilized, and the low utilization rate of the hardware resources of the base station is improved.
Specifically, referring to fig. 3, the embodiment of the present invention performs the following steps in each predetermined period:
step S310: user traffic information of at least one base station is obtained.
In particular, the user traffic information may specifically be information related to user traffic. In the embodiment of the present invention, the user traffic information may specifically include at least one of the following dimensions: the number of users, the total flow of data and the total number of service accesses. The number of users is the number of user terminals accessing the base station, the total data traffic is the total data traffic used by the base station in a predetermined period, and the total number of service accesses is the total number of times that the base station is accessed by the user terminals in the predetermined period. In specific implementation, see table 1, where table 1 shows an acquisition result of user traffic information, where the acquisition result includes user traffic information of N base stations.
TABLE 1
Base station numbering | Number of users | Total flow of data | Total number of service visits |
1 | Number of users 1 | Total flow of data 1 | Total number of service visits 1 |
2 | Number of users 2 | Total flow of data 2 | Total number of service visits 2 |
… | … | … | … |
N | Number of users N | Total flow of data N | Total number of service visits N |
Of course, it is understood that the above listed dimensions of the user traffic information are merely exemplary, and in particular implementations, the dimensions of the user traffic information include, but are not limited to, the above listed dimensions, and for example, may also include user density, etc., as long as the user traffic is related.
There may be multiple ways for acquiring the user traffic information, and in an optional way of the embodiment of the present invention, the following way may be adopted for acquiring the user traffic information: firstly, the total data flow of the base station in a preset period can be directly obtained from each base station to be used as the total data flow of the base station; when acquiring the number of users and the total number of service access times, because the user uses the unique TMSI (Temporary Mobile Subscriber Identity) capable of identifying the user to identify the user when accessing the base station through the user terminal, the total number of TMSI accessing the base station in a predetermined period can reflect the number of users accessing the base station; meanwhile, the user carries the TMSI of the user every time the user accesses the base station through the user terminal, so the total times of all TMSI on the base station in a preset period can reflect the total times of service access of the base station. In the embodiment of the present invention, the TMSI information of the base station in a predetermined period may be acquired; and then acquiring the number of users of at least one base station and the total number of service access according to the TMSI information. The TMSI information may specifically be information including TMSI, and the TMSI information may include one or more TMSIs (each TMSI is different from other TMSIs), and each TMSI may occur one or more times in the TMSI information. After acquiring the TMSI information, counting the total number of TMSI in the TMSI information and the total number of times of all TMSI occurrence, taking the total number of TMSI as the number of users, and taking the total number of times of all TMSI occurrence as the total number of service access times. For example, if the TMSI information includes 3 TMSIs, which are TMSI1, TMSI2, and TMSI3, respectively, the number of occurrences of TMSI1 is 1, the number of occurrences of TMSI2 is 4, and the number of occurrences of TMSI3 is 2, then the total number of TMSIs in the TMSI information is counted as 3, and 3 is taken as the number of users; the total number of occurrences of all TMSI is 7 (1 +4+2= 7), and 7 is taken as the total number of service accesses. The acquiring mode of the TMSI information may be set by those skilled in the art according to actual situations, and the present invention is not limited to this.
It should be understood that the above-mentioned method for acquiring the user traffic information is merely exemplary, and in a specific implementation, the method for acquiring the user traffic information may also be implemented in other manners besides the above-mentioned method, for example, by acquiring MR (Measurement Report) data reported by the user terminal to the base station, and acquiring the user traffic information according to the MR data, and the method for acquiring the user traffic information is not limited in the present invention.
Step S320: and determining a weighting factor of any base station in the at least one base station under the user traffic information of each dimension according to the user traffic information of the at least one base station.
Specifically, in this step, a proportion of the user traffic information of any one base station in at least one base station in each dimension to the user traffic information of all base stations in the dimension is determined, and the proportion is used as a weighting factor of the base station under the user traffic information of each dimension. In a specific implementation, the following formula can be adopted to calculate the weighting factor of any base station in at least one base station under the user traffic information of each dimension,
wherein, P Un The weight factor of any base station under the user traffic information of the target dimension is Un, and the user traffic information of any base station under the target dimension is Un; n is the total number of base stations of at least one base station; the target dimension is any one of the dimensions of the user traffic information.
For example, referring to the user traffic information obtained in table 1, if Un1 is the user number of the base station with base station number 1, P Un 1 is the weight factor of the number of users of the base station with base station number 1, P Un 1 can be calculated using the following formula:
similarly, if Un2 is the total data flow of base station with base station number 1, P Un 2 is a weighting factor for the total flow of data of the base station numbered 1, P Un 2 can be calculated using the following formula:
similarly, if Un3 is a radicalTotal number of service visits, P, for a base station with station number 1 Un 3 is the weight factor of the total number of service access times of the base station with the base station number of 1, P Un 3 can be calculated using the following formula:
step S330: determining the distribution factor of the target base station according to the weight factor of each base station under the user traffic information of each dimension; the target base station is any one of the at least one base station.
Specifically, in this step, the product of the weighting factors of each base station under the user traffic information of all dimensions is used as the assigned weight of the base station. Taking the example of calculating the weighting factor of the base station with the base station number 1 in table 1 in step S230, if P1 is the assigned weight of the base station with the base station number 1, P1 can be calculated as follows: p1= P Un 1·P Un 2·P Un 3; where "·" indicates that the operating relationship is multiplicative.
After the distribution weight of each base station is obtained, the sum of the distribution weights of all base stations in at least one base station is obtained to serve as the distribution total weight of the base station, and then the distribution factor of the target base station is determined according to the distribution weight of the target base station and the distribution total weight of the base stations.
In specific implementation, the ratio of the distribution weight of the target base station to the total distribution weight of the base stations can be directly obtained, and the ratio is used as the distribution factor of the target base station. Taking the above example of calculating the distribution weight as an example, if the distribution weight of the nth base station is Pn and the distribution factor of the nth base station is Pn ', pn' may be calculated as follows:
or, further, in order to facilitate flexible control of the size of the allocation factor of each base station, the base station weight corresponding to each base station may be preset, a product of the base station weight of each base station and the allocation weight of the base station is used as the weighted allocation weight of the base station, and then a ratio of the weighted allocation weight of the target base station to the total weighted allocation weight of the base station is used as the allocation factor of the target base station; wherein the total weight of the weighted distribution of the base stations is the sum of the weighted distribution weights of all the base stations in at least one base station. Taking the above example of calculating the allocation factor as An example, if the base station weight of the nth base station is An, then
Step S340: and determining the virtual hardware resources required by the target base station according to the allocation factors of the target base station, and allocating the required virtual hardware resources to the target base station from the base station virtual resource allocation pool.
Specifically, the product of the allocation factor of the target base station and the total amount of virtual resources in the virtual resource allocation pool of the base station may be obtained, and the product is used as the virtual hardware resources required by the target base station. Referring to fig. 4a, if the allocation factor of the target base station is Pn 'and the total amount of the virtual hardware resources in the virtual resource allocation pool of the base station is S, the virtual hardware resources required by each base station are Pn' · S. The allocation factor is obtained by the user traffic, so that the allocation factor is related to the user traffic, and the hardware resource of the base station can be associated with the user traffic through the process, so that the hardware resource of the base station can be dynamically matched with the user traffic.
When the virtual hardware resource required by the target base station is allocated to the target base station, the virtual hardware resource required by the target base station can be acquired from the idle resource of the base station virtual resource allocation pool and allocated to the target base station. Specifically, in an alternative manner, referring to fig. 4b, allocating the required virtual hardware resource to the target base station may specifically be: dividing a virtual resource pool into physical resource blocks with the number of base stations, for example, if N base stations exist, dividing the base stations into N physical resource blocks, wherein each physical resource block corresponds to one base station; and then virtual hardware resources required by the target base station are obtained from the idle resources of the base station virtual resource allocation pool, and the virtual hardware resources required by the target base station are allocated to the physical resource block corresponding to the target base station, so that the virtual hardware resources required by the target base station are allocated to the target base station. In fig. 4b, the length of the physical resource block represents the size of the virtual hardware resource allocated to the target base station by the base station.
Optionally, after the hardware resources of the base station are virtualized in advance into the virtual resource allocation pool of the base station, it may be default that the physical resource block corresponding to each base station includes virtual hardware resources with equal size, and then the embodiment of the present invention may further include: after the base station hardware resources are virtualized into a base station virtual resource allocation pool in advance, the base station virtual resource allocation pool is initialized, and initialized virtual hardware resources with the same size are allocated to each base station in at least one base station, so that the virtual hardware resources in the base station virtual resource allocation pool are evenly allocated to each base station. For example, if the total amount of virtual hardware resources of the base station virtual resource allocation pool is S and the number of base stations is N, after the base station hardware resources are virtualized in advance into the base station virtual resource allocation pool, the virtual hardware resources allocated to the physical resource block corresponding to each base station are assumed to be S/N.
It should be noted that steps S310 to S340 are only processes of allocating virtual hardware resources required by the embodiment of the present invention to a base station according to user traffic information of at least one base station in a predetermined period, and in specific implementation, the embodiment of the present invention executes the same steps as the above steps S310 to S340 in each predetermined period. The predetermined period can be set by those skilled in the art according to practical situations, and the present invention is not limited thereto.
Optionally, as shown in fig. 5, if the preset period is Δ T, the present invention may further divide the preset period Δ T into a plurality of preset execution time periods T1 and T2 … Ti, and execute the corresponding process included in each of the steps S310 to S340 in each preset execution time period Ti, so as to set a fixed execution duration for executing the corresponding process in each step, and improve the execution efficiency. For example, the preset period Δ T is divided into 3 preset execution time periods, which are a first preset time period T1, a second preset time period T2, and a third preset time period T3, respectively, and the corresponding processes included in step S310 are executed within the first preset time period T1; executing the corresponding processes contained in the steps S320-S330 in a second preset time period T2; the corresponding process contained in step S340 is performed for a third preset time period T3, and so on. The duration of the preset execution time period Ti may be set by a person skilled in the art according to practical situations, and the present invention is not limited thereto.
In the method for allocating hardware resources of a base station based on virtual resources provided by the embodiment of the invention, the hardware resources of the base station of at least one base station can be virtualized into a virtual resource allocation pool of the base station in advance, so that the hardware resources of the at least one base station are allocated in a centralized manner after the hardware resources of the at least one base station are virtualized in a centralized manner; in the distribution process, user traffic information of at least one base station is acquired in a preset period so as to dynamically acquire the user traffic of each base station; then, a weight factor of any base station in the at least one base station under the user traffic information of each dimension is determined according to the user traffic information of the at least one base station, an allocation weight of the base station is determined according to the weight factor of each base station under the user traffic information of each dimension, an allocation factor of a target base station is calculated according to the allocation weight of each base station, the allocation factor of a virtual hardware resource of each base station is dynamically determined by combining the user traffic information of multiple dimensions, the virtual hardware resource required by the target base station is determined according to the allocation factor, the required virtual hardware resource is allocated to the target base station from a base station virtual resource allocation pool, the base station hardware resource of the base station is associated with the user traffic, the hardware resource of the base station can be ensured to be dynamically matched with the user traffic, the technical problem that the utilization rate of the base station hardware resource is low due to the fact that the base station hardware resource is dynamically allocated according to the dynamic change of the user traffic in the prior art is effectively solved, and the utilization rate of the base station hardware resource is improved.
An embodiment of the present invention further provides a virtual resource-based base station hardware resource allocation apparatus, where base station hardware resources are virtualized in advance into a base station virtual resource allocation pool, as shown in fig. 6, and the apparatus includes:
an obtaining module 61, configured to obtain user traffic information of at least one base station in a predetermined period; the user traffic information comprises at least one of the following dimensions: the number of users, the total flow of data and the total number of service accesses.
Optionally, the obtaining module 61 may be specifically configured to: obtaining temporary mobile user identification (TMSI) information of at least one base station, and obtaining the user number and the total service access times of the at least one base station according to the TMSI information.
The processing module 62 is configured to determine, according to the user traffic information of the at least one base station acquired by the acquiring module 61, a weighting factor of any base station in the at least one base station under the user traffic information of each dimension.
Optionally, the processing module 61 may be specifically configured to:
calculating a weight factor of any one of the at least one base station under the user traffic information of each dimension according to the following formula,
wherein, P Un The weight factor of any base station under the user traffic information of the target dimension is Un, and the user traffic information of any base station under the target dimension is Un; n is the total number of base stations of at least one base station; the target dimension is any one of the dimensions.
A determining module 63, configured to determine, according to the weight factor of each base station determined by the processing module 62 under the user traffic information of each dimension, an allocation factor of a target base station; the target base station is any one of the at least one base station.
Optionally, the determining module 63 may be specifically configured to: taking the product of the weight factors of each base station under the user traffic information of all dimensions as the distribution weight of the base station; determining the distribution factor of the target base station according to the distribution weight of the target base station and the total weight distributed by the base station; the base station distribution total weight is the sum of the distribution weights of all the base stations in at least one base station.
And an allocating module 64, configured to determine, according to the allocation factor of the target base station determined by the determining module 63, a virtual hardware resource required by the target base station, and allocate the required virtual hardware resource to the target base station from the base station virtual resource allocation pool.
An initialization module 65, configured to allocate initialization virtual hardware resources with equal size to each of the at least one base station.
All relevant contents of the steps related to the above method embodiments may be referred to the functional description of the corresponding functional module, and the functions thereof are not described herein again.
In the case of adopting an integrated module, the virtual resource-based base station hardware resource allocation device comprises: the device comprises a storage unit, a processing unit and an interface unit. The processing unit is configured to control and manage the operation of the virtual resource based base station hardware resource allocation apparatus, and for example, the processing unit is configured to support the virtual resource based base station hardware resource allocation apparatus to execute each step in fig. 3. The interface unit is used for the interaction between the base station hardware resource allocation device based on the virtual resources and other devices; and the storage unit is used for storing the code and the data of the base station hardware resource allocation device based on the virtual resources.
For example, the processing unit is a processor, the storage unit is a memory, and the interface unit is a communication interface. The base station hardware resource allocation device based on virtual resources is shown in fig. 7, and includes a communication interface 701, a processor 702, a memory 703 and a bus 704, where the communication interface 701 and the processor 702 are connected to the memory 703 through the bus 704.
The processor 702 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an Application-Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to control the execution of programs in accordance with the teachings of the present disclosure.
The Memory 703 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic Disc storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 703 is used for storing application program codes for executing the present application, and is controlled by the processor 702. The communication interface 701 is used to support the interaction between the virtual resource-based base station hardware resource allocation apparatus and other apparatuses. The processor 702 is configured to execute application program code stored in the memory 703 to implement the methods of embodiments of the present invention.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied in hardware or in software instructions executed by a processor. An embodiment of the present invention further provides a storage medium, where the storage medium may include a memory, configured to store computer software instructions for a virtual resource-based base station hardware resource allocation apparatus, and the storage medium includes a program code designed to execute a virtual resource-based base station hardware resource allocation method. Specifically, the software instructions may be composed of corresponding software modules, and the software modules may be stored in a Random Access Memory (RAM), a flash Memory, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a register, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor.
The embodiment of the present invention further provides a computer program, where the computer program may be directly loaded into a memory and contains a software code, and the computer program is loaded and executed by a computer, so as to implement the above method for allocating hardware resources of a base station based on virtual resources.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (12)
1. A base station hardware resource allocation method based on virtual resources is characterized in that the base station hardware resources are virtualized in advance into a base station virtual resource allocation pool, and the method comprises the following steps:
acquiring user traffic information of at least one base station in a preset period; the user traffic information comprises at least one of the following dimensions: the number of users, the total flow of data and the total number of service access times;
determining a weight factor of any base station in the at least one base station under the user traffic information of each dimension according to the user traffic information of the at least one base station;
determining a distribution factor of a target base station according to the weight factor of each base station under the user traffic information of each dimension; the target base station is any one of the at least one base station;
and determining the virtual hardware resources required by the target base station according to the allocation factors of the target base station, and allocating the required virtual hardware resources to the target base station from the base station virtual resource allocation pool.
2. The method according to claim 1, wherein the determining, according to the user traffic information of the at least one base station, the weighting factor of any base station of the at least one base station under the user traffic information of each dimension is specifically:
calculating a weighting factor of any base station of the at least one base station under the user traffic information of each dimension according to the following formula,
wherein, P Un The weight factor of any base station under the user traffic information of the target dimension is used, and Un is the user traffic information of any base station under the target dimension; n is the total number of base stations of the at least one base station; the target dimension is any of the dimensions.
3. The method according to claim 1 or 2, wherein the determining of the allocation factor of the target base station according to the weighting factor of each base station under the user traffic information of each dimension specifically comprises:
taking the product of the weight factors of all-dimension user traffic information of each base station as the distribution weight of the base station;
determining the distribution factor of the target base station according to the distribution weight of the target base station and the total weight of the base station distribution; the base station distribution total weight is the sum of the distribution weights of all the base stations in the at least one base station.
4. The method for allocating base station hardware resources based on virtual resources according to claim 1, wherein after the base station hardware resources are virtualized in advance into a base station virtual resource allocation pool, the method further comprises:
allocating equal-sized initialization virtual hardware resources to each of the at least one base station.
5. The method of claim 1, wherein the obtaining user traffic information of the at least one base station comprises:
acquiring Temporary Mobile Subscriber Identity (TMSI) information of the at least one base station, and acquiring the number of users and the total service access times of the at least one base station according to the TMSI information.
6. A base station hardware resource allocation device based on virtual resources is characterized in that the base station hardware resources are virtualized in advance into a base station virtual resource allocation pool, and the device comprises:
an obtaining module, configured to obtain user traffic information of at least one base station in a predetermined period; the user traffic information comprises at least one of the following dimensions: the number of users, the total flow of data and the total number of service access times;
the processing module is used for determining a weight factor of any base station in the at least one base station under the user traffic information of each dimension according to the user traffic information of the at least one base station acquired by the acquisition module;
the determining module is used for determining the distribution factor of the target base station according to the weight factor of each base station determined by the processing module under the user traffic information of each dimension; the target base station is any one of the at least one base station;
and the allocation module is used for determining the virtual hardware resources required by the target base station according to the allocation factors of the target base station determined by the determination module and allocating the required virtual hardware resources to the target base station from the base station virtual resource allocation pool.
7. The virtual resource-based base station hardware resource allocation device of claim 6, wherein the processing module is specifically configured to:
calculating a weighting factor of any base station of the at least one base station under the user traffic information of each dimension according to the following formula,
wherein, P Un The weight factor of any base station under the user traffic information of the target dimension is used, and Un is the user traffic information of any base station under the target dimension; n is the total number of base stations of the at least one base station; the target dimension is any of the dimensions.
8. The apparatus for allocating base station hardware resources based on virtual resources of claim 6 or 7, wherein the determining module is specifically configured to: taking the product of the weight factors of all the dimensionalities of the user traffic information of each base station as the distribution weight of the base station; determining the distribution factor of the target base station according to the distribution weight of the target base station and the total weight of the base station distribution; the base station distribution total weight is the sum of the distribution weights of all the base stations in the at least one base station.
9. The virtual resource based base station hardware resource allocation apparatus of claim 6, wherein said apparatus further comprises:
an initialization module, configured to allocate initialization virtual hardware resources with equal size to each of the at least one base station.
10. The virtual resource-based base station hardware resource allocation device of claim 6, wherein the obtaining module is specifically configured to:
obtaining temporary mobile user identification (TMSI) information of the at least one base station, and obtaining the user number and the total service access times of the at least one base station according to the TMSI information.
11. A base station hardware resource allocation device based on virtual resources is characterized by comprising: one or more processors; the processor is configured to execute computer program code in the memory, the computer program code comprising instructions to cause the virtual resource based base station hardware resource allocating arrangement to perform the virtual resource based base station hardware resource allocating method according to any of claims 1-5.
12. A storage medium, characterized in that the storage medium stores instruction codes for executing the virtual resource based base station hardware resource allocation method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910213559.5A CN109819449B (en) | 2019-03-20 | 2019-03-20 | Base station hardware resource allocation method and device based on virtual resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910213559.5A CN109819449B (en) | 2019-03-20 | 2019-03-20 | Base station hardware resource allocation method and device based on virtual resources |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109819449A CN109819449A (en) | 2019-05-28 |
CN109819449B true CN109819449B (en) | 2023-04-07 |
Family
ID=66609683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910213559.5A Active CN109819449B (en) | 2019-03-20 | 2019-03-20 | Base station hardware resource allocation method and device based on virtual resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109819449B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113382424B (en) * | 2020-03-10 | 2023-07-18 | 中国移动通信集团辽宁有限公司 | LTE base station hardware resource scheduling processing method and device |
CN114040414A (en) * | 2021-10-09 | 2022-02-11 | 中国联合网络通信集团有限公司 | Resource allocation method, device and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010145449A1 (en) * | 2009-09-24 | 2010-12-23 | 中兴通讯股份有限公司 | Method and device for allocating channels, method for allocating base station available resources |
CN108391274A (en) * | 2018-02-13 | 2018-08-10 | 中国联合网络通信集团有限公司 | Network plan method and device |
CN114040414A (en) * | 2021-10-09 | 2022-02-11 | 中国联合网络通信集团有限公司 | Resource allocation method, device and computer readable storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8874125B2 (en) * | 2012-03-08 | 2014-10-28 | Nec Laboratories America, Inc. | Radio access network sharing |
EP3100487B1 (en) * | 2014-01-31 | 2021-03-17 | Telefonaktiebolaget LM Ericsson (publ) | Resource allocation amongst parties sharing the same radio access network |
-
2019
- 2019-03-20 CN CN201910213559.5A patent/CN109819449B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010145449A1 (en) * | 2009-09-24 | 2010-12-23 | 中兴通讯股份有限公司 | Method and device for allocating channels, method for allocating base station available resources |
CN108391274A (en) * | 2018-02-13 | 2018-08-10 | 中国联合网络通信集团有限公司 | Network plan method and device |
CN114040414A (en) * | 2021-10-09 | 2022-02-11 | 中国联合网络通信集团有限公司 | Resource allocation method, device and computer readable storage medium |
Non-Patent Citations (2)
Title |
---|
"Pool sharing";NTT DOCOMO, INC.;《3GPP tsg_ran\WG1_RL1 R1-1802451 》;20180216;全文 * |
王友祥 ; 李轶群 ; 张澜 ; 李福昌 ; 冯毅."基站虚拟化技术研究".《邮电设计技术》.2016, * |
Also Published As
Publication number | Publication date |
---|---|
CN109819449A (en) | 2019-05-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111984407B (en) | Data block read-write performance optimization method, system, terminal and storage medium | |
CN107124472A (en) | Load-balancing method and device, computer-readable recording medium | |
US10554574B2 (en) | Resource management techniques for heterogeneous resource clouds | |
US8695079B1 (en) | Allocating shared resources | |
CN109819449B (en) | Base station hardware resource allocation method and device based on virtual resources | |
CN108874502B (en) | Resource management method, device and equipment of cloud computing cluster | |
CN108241535B (en) | Resource management method and device and server equipment | |
CN111866902B (en) | Resource utilization rate evaluation method and device | |
WO2024198425A1 (en) | Data processing method and apparatus based on memory access engine, device, memory access engine and computer program product | |
CN111562884B (en) | Data storage method and device and electronic equipment | |
CN114816241B (en) | Disk allocation method and device of distributed storage cluster and distributed storage cluster | |
CN110809030A (en) | Network flow control method and device, coder-decoder and storage device | |
CN110489356B (en) | Information processing method, information processing device, electronic equipment and storage medium | |
CN111586752B (en) | Configuration method and device of time slot container | |
CN109408225B (en) | Resource capacity expansion method, device, computer equipment and storage medium | |
CN105988871B (en) | Remote memory allocation method, device and system | |
CN110780992A (en) | Cloud computing platform optimized deployment method, system, terminal and storage medium | |
CN111782561B (en) | SRAM storage space allocation method, device and chip | |
CN110879748A (en) | Shared resource allocation method, device and equipment | |
CN114327862A (en) | Memory allocation method and device, electronic equipment and storage medium | |
CN111290850B (en) | Data storage method, device and equipment | |
US10073740B2 (en) | Failure resiliency provisioning | |
WO2017133421A1 (en) | Method and device for sharing resources among multiple tenants | |
CN108092910B (en) | Data traffic scheduling method and device | |
CN110046040B (en) | Distributed task processing method and system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |