Wireless resource allocation method and device
By using signal capability and bandwidth capability evaluation methods in wireless resource allocation, the comprehensive matching degree between users and resources is calculated, and the problem of lack of flexibility and accuracy in resource allocation in traditional methods is solved, thereby achieving more efficient resource utilization and meeting user communication needs.
Patent Information
- Application Number
- CN202510347478.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2025-06-13
AI Technical Summary
Due to the lack of flexibility and accuracy, the traditional wireless resource allocation method has low resource utilization and cannot meet users' needs for high-speed and stable communications.
Through the evaluation method based on signal capability and bandwidth capability, the matching value between the user's communication requirements and the resources to be allocated is calculated, and the resource allocation is performed based on the comprehensive matching degree.
It improves the flexibility and accuracy of resource allocation, thereby improving resource utilization and meeting users' needs for high-speed and stable communications.
Smart Images

Figure CN120152045A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of radio resources, and particularly relates to a radio resource allocation method and device. Background Art
[0002] In the field of wireless communication, resource allocation is a key link to ensure communication quality and efficiency. Traditional radio resource allocation methods usually rely on static allocation strategies. On the one hand, this allocation method cannot adapt to the dynamic changes of user communication needs and allocated resources, and the resource allocation lacks flexibility, resulting in low resource utilization; on the other hand, this allocation method often ignores the impact of signal capabilities and bandwidth capabilities on resource allocation, and the resource allocation lacks accuracy, resulting in the inability to meet users' needs for high-speed and stable communication.
[0003] In summary, due to the lack of flexibility and accuracy in resource allocation, traditional radio resource allocation methods result in low resource utilization and the inability to meet users' needs for high-speed and stable communication. Summary of the Invention
[0004] Embodiments of this application provide a radio resource allocation method and device to solve the technical problem that traditional radio resource allocation methods result in low resource utilization and the inability to meet users' needs for high-speed and stable communication due to the lack of flexibility and accuracy in resource allocation.
[0005] In a first aspect, embodiments of this application provide a radio resource allocation method, including: Calculating a first matching value between the communication needs of the current user and the resources to be allocated based on a signal capability evaluation method; Calculating a second matching value between the communication needs of the current user and the resources to be allocated based on a bandwidth capability evaluation method; Calculating a comprehensive matching degree between the communication needs of the current user and the resources to be allocated based on the first matching value and the second matching value; Allocating the resources to be allocated to the current user based on the comprehensive matching degree.
[0006] In an embodiment, the calculating a first matching value between the communication needs of the current user and the resources to be allocated based on a signal capability evaluation method includes: Obtaining a first requirement related to signal capability in the communication needs; the signal capability includes signal strength and signal quality; Obtaining the signal capability index value corresponding to the first requirement; Obtaining the total amount of multiple first requirement resources corresponding to the first requirement; Obtaining the total amount of multiple first target resources in the resources to be allocated that meet the signal capability index value; Obtain the smaller total amount between the total amount of the multiple first required resources and the total amount of the resources to be allocated, calculate the ratio of the total amount of the multiple first target resources to the smaller total amount, and obtain the first matching value.
[0007] In one embodiment, calculating a second matching value between the communication requirements of the current user and the resources to be allocated based on the bandwidth capacity evaluation method includes: Obtain the second requirements related to the bandwidth capacity in the communication requirements; Obtain the bandwidth capacity index value corresponding to the second requirements; Obtain the multiple second required resources corresponding to the second requirements; Obtain the multiple second target resources in the resources to be allocated that meet the bandwidth capacity index value; Randomly generate multiple first weights for the multiple second required resources and multiple second weights for the multiple second target resources; Based on the larger weight among the multiple first weights, extract multiple important required resources from the multiple second required resources; Based on the larger weight among the multiple second weights, extract multiple important target resources from the multiple second target resources; Match the multiple important required resources with the multiple important target resources to obtain the total amount of multiple matching resources; Obtain the smaller total amount between the total amount of the multiple important required resources and the total amount of the multiple important target resources, calculate the ratio of the total amount of the multiple matching resources to the smaller total amount, and obtain the second matching value.
[0008] In one embodiment, calculating the comprehensive matching degree between the communication requirements of the current user and the resources to be allocated based on the first matching value and the second matching value includes: Determine a first target matching value based on the size relationship between the first matching value and a first matching threshold; Determine a second target matching value based on the size relationship between the second matching value and a second matching threshold; When both the first target matching value and the second target matching value are greater than zero, perform a weighted sum of the first target matching value and the second target matching value to obtain the comprehensive matching degree.
[0009] In one embodiment, allocating the resources to be allocated to the current user based on the comprehensive matching degree includes: When the comprehensive matching degree is greater than or equal to a third matching threshold, sort the multiple first target resources and / or the multiple second target resources in descending order according to the preference priority of the current user to obtain a target resource sequence; Calculate the product of the total initial resources of the current user and the comprehensive matching degree to obtain the resource quantity to be allocated; Search for target resources that meet the resource quantity to be allocated in the target resource sequence in turn; Determine the first target resource found as the final allocated resource; Allocate the final allocated resource to the current user.
[0010] In one embodiment, after allocating the final allocated resource to the current user, it includes: When the total current resources of the current user are less than the target total, use the total current resources as the total initial resources, and then return to the step of calculating the product of the total initial resources of the current user and the comprehensive matching degree to obtain the resource quantity to be allocated, until no target resource can be found or the total current resources of the current user are greater than or equal to the target total; The target total is the larger total between the total of the first required resources and the total of the second required resources.
[0011] In a second aspect, an embodiment of the present application provides a wireless resource allocation device, including: A first matching value calculation module, configured to: calculate a first matching value between the communication requirements of the current user and the resources to be allocated based on the signal capability evaluation method; A second matching value calculation module, configured to: calculate a second matching value between the communication requirements of the current user and the resources to be allocated based on the bandwidth capability evaluation method; A comprehensive matching degree calculation module, configured to: calculate a comprehensive matching degree between the communication requirements of the current user and the resources to be allocated based on the first matching value and the second matching value; A wireless resource allocation module, configured to: allocate the resources to be allocated to the current user based on the comprehensive matching degree.
[0012] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory storing a computer program, and when the processor executes the program, it implements the steps of the wireless resource allocation method described in the first aspect.
[0013] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the steps of the wireless resource allocation method described in the first aspect.
[0014] In a fifth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, including a computer program, and when the computer program is executed by a processor, it implements the steps of the wireless resource allocation method described in the first aspect.
[0015] The wireless resource allocation method and device provided by this application calculate the first matching value between the communication requirements of the current user and the resources to be allocated based on the signal capability evaluation method, calculate the second matching value between the communication requirements of the current user and the resources to be allocated based on the bandwidth capability evaluation method, calculate the comprehensive matching degree between the communication requirements of the current user and the resources to be allocated based on the first matching value and the second matching value, and allocate the resources to be allocated to the current user based on the comprehensive matching degree. On the one hand, this application can adjust the matching value between the communication requirements of the current user and the resources to be allocated in real time according to the dynamic changes, and then adjust the allocation strategy for allocating resources to the current user, improving the flexibility of resource allocation, thereby improving the resource utilization rate. On the other hand, this application evaluates the matching value between the communication requirements of the current user and the resources to be allocated based on the signal capability and the bandwidth capability respectively, and then synthesizes the matching values to allocate resources to the current user, fully considering the influence of the signal capability and the bandwidth capability on resource allocation, improving the accuracy of resource allocation, and thus being able to meet the user's requirements for high-speed and stable communication. In summary, this application can improve the flexibility and accuracy of resource allocation, thereby improving the resource utilization rate and meeting the user's requirements for high-speed and stable communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in this application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of this application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0017] Figure 1 is one of the flow diagrams of the wireless resource allocation method provided by the embodiments of this application; Figure 2 is another flow diagram of the wireless resource allocation method provided by the embodiments of this application; Figure 3 is yet another flow diagram of the wireless resource allocation method provided by the embodiments of this application; Figure 4 is still another flow diagram of the wireless resource allocation method provided by the embodiments of this application; Figure 5 is yet another flow diagram of the wireless resource allocation method provided by the embodiments of this application; Figure 6 is the structural diagram of the wireless resource allocation device provided by the embodiments of this application; Figure 7 is the structural diagram of the electronic device provided by the embodiments of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0018] To make the objectives, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are some but not all of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in this application without creative efforts shall fall within the scope of protection of this application.
[0019] Figure 1 It is one of the flow diagrams of the wireless resource allocation method provided by the embodiments of this application. Referring to Figure 1 , the embodiments of this application provide a wireless resource allocation method, which may include: 101. Based on the signal capability evaluation method, calculate the first matching value between the communication requirements of the current user and the resources to be allocated; 102. Based on the bandwidth capability evaluation method, calculate the second matching value between the communication requirements of the current user and the resources to be allocated; 103. Based on the first matching value and the second matching value, calculate the comprehensive matching degree between the communication requirements of the current user and the resources to be allocated; 104. Based on the comprehensive matching degree, allocate the resources to be allocated to the current user.
[0020] In steps 101 to 102, the resources to be allocated may include communication frequency, communication time slot, communication power, etc., and the communication requirements of the current user may include requirements in aspects such as data transmission rate, signal coverage range, communication stability, and energy consumption efficiency. When performing resource allocation, these different communication requirements need to be comprehensively considered to ensure that the current user obtains comprehensive communication services.
[0021] Specifically, the data transmission rate requirement is the data transmission rate that the current user expects to achieve, usually in units of Mbps or Gbps; the signal coverage range requirement is the size of the geographical area where the current user expects to obtain signal coverage; the communication stability requirement is related to the duration of the communication service connection and the interruption frequency; the energy consumption efficiency requirement involves the energy consumption of related devices during use and is related to the battery life of the devices.
[0022] These requirements can be quantified by specific parameters, such as the specific value of the rate, the radius of the coverage range, the duration of stability, and the specific indicators of energy consumption. A multi-objective optimization algorithm can be used to simultaneously meet these communication requirements. For example, the algorithm can set weights for each communication requirement, allowing the current user to adjust these weights according to their own preferences, or automatically adjust these weights according to the usage scenario to balance multiple communication requirements.
[0023] In steps 103 to 104, that is, calculate the comprehensive matching degree between the communication requirements of the current user and the resources to be allocated in terms of signal capability and bandwidth capability, and then allocate the resources to be allocated to the current user based on this comprehensive matching degree to meet the communication requirements of the current user.
[0024] Furthermore, a prediction model can be used to predict the satisfaction degree of different resource allocation schemes for the current user's requirements, and accordingly select the optimal resource allocation scheme. The prediction model can be a deep learning model, which can automatically identify the demand patterns of the current user and perform intelligent resource allocation.
[0025] The wireless resource allocation method provided in this embodiment calculates the first matching value between the communication requirements of the current user and the resources to be allocated based on the signal capability evaluation method, calculates the second matching value between the communication requirements of the current user and the resources to be allocated based on the bandwidth capability evaluation method, calculates the comprehensive matching degree between the communication requirements of the current user and the resources to be allocated based on the first matching value and the second matching value, and allocates the resources to be allocated to the current user based on the comprehensive matching degree. On the one hand, this embodiment can adjust the matching value between the communication requirements of the current user and the resources to be allocated in real time according to the dynamic changes of the communication requirements of the current user and the resources to be allocated, and then adjust the allocation strategy of allocating resources to the current user, improving the flexibility of resource allocation, thereby improving resource utilization; on the other hand, this embodiment evaluates the matching value between the communication requirements of the current user and the resources to be allocated based on the signal capability and the bandwidth capability respectively, and then synthesizes the matching values to allocate resources to the current user, fully considering the influence of the signal capability and the bandwidth capability on resource allocation, improving the accuracy of resource allocation, and thus being able to meet the user's requirements for high-speed and stable communication. In summary, this embodiment can improve the flexibility and accuracy of resource allocation, thereby improving resource utilization and meeting the user's requirements for high-speed and stable communication.
[0026] Furthermore, this embodiment considers communication stability and energy consumption efficiency during resource allocation, which can not only improve the user's communication experience, but also help extend the service life of the device and reduce energy consumption.
[0027] Figure 2 is the second flowchart of the wireless resource allocation method provided by the embodiments of the present application. Refer to Figure 2 , in one embodiment, calculating the first matching value between the communication requirements of the current user and the resources to be allocated based on the signal capability evaluation method may include: 201. Obtain the first requirements related to the signal capability in the communication requirements; The signal capability includes signal strength and signal quality; 202. Obtain the signal capability index values corresponding to the first requirements; 203. Obtain the total amount of multiple first requirement resources corresponding to the first requirements; 204. Obtain the total amount of multiple first target resources that meet the signal capability index value among the resources to be allocated; 205. Obtain the smaller total amount between the total amount of multiple first demand resources and the total amount of resources to be allocated, calculate the ratio of the total amount of multiple first target resources to the smaller total amount, and obtain the first matching value.
[0028] In step 201, the first demand related to signal capability can be a higher data transmission rate.
[0029] In step 202, that is, it is necessary to obtain the signal strength index value and the signal quality index value corresponding to the higher data transmission rate. The signal strength index value can be the signal-to-noise ratio of the signal, and the signal quality index value can be the bit error rate of the signal. Then this step is to obtain the signal-to-noise ratio and the bit error rate corresponding to the higher data transmission rate. At this time, the signal-to-noise ratio is usually higher and the bit error rate is usually lower.
[0030] In step 203, the first demand resources can be at least one of the demand communication frequency, the demand communication time slot, and the demand communication power. Then this step is to obtain at least one of the sum of multiple demand communication frequencies, the sum of multiple demand communication time slots, and the sum of multiple demand communication powers corresponding to the higher data transmission rate.
[0031] In step 204, based on the Redcap (Reduced Capability) algorithm, at least one of multiple target communication frequencies, multiple target communication time slots, and multiple target communication powers that meet the high signal-to-noise ratio and low bit error rate can be obtained from the communication frequency, communication time slot, and communication power to be allocated, and at least one of the sum of multiple target communication frequencies, the sum of multiple target communication time slots, and the sum of multiple target communication powers is calculated.
[0032] It should be noted that the implementation of the Redcap algorithm can adopt various optimization techniques, such as genetic algorithm, simulated annealing, or particle swarm optimization, etc. It will evaluate whether the resources to be allocated meet the high signal-to-noise ratio and low bit error rate at the smallest granularity of communication resources. Taking the communication frequency as an example, the Redcap algorithm will evaluate whether each minimum frequency unit in any communication frequency to be allocated meets the high signal-to-noise ratio and low bit error rate at the minimum frequency unit. If it meets, the communication frequency is determined as the target communication frequency; the same applies to the communication time slot and the communication power, which will not be elaborated here.
[0033] Furthermore, more refined evaluation criteria can be adopted to improve the accuracy of evaluating whether the resources to be allocated meet the requirements of high signal-to-noise ratio and low bit error rate. For example, multiple signal-to-noise ratio thresholds and multiple bit error rate thresholds can be set, and these thresholds can be dynamically adjusted according to the changes in the first requirements of the current user and the resources to be allocated. A real-time monitoring mechanism for signal strength and signal quality can be introduced to capture the slight changes in the signal-to-noise ratio and bit error rate in the resources to be allocated, and combined with these thresholds, the resources to be allocated that meet the first requirements of the current user can be more accurately identified. In addition, a signal prediction model can be introduced to predict the change trends of signal strength and signal quality in the future time period, so as to optimize the resource allocation in advance.
[0034] In step 205, taking the communication frequency as an example, that is, obtaining the smaller value between the sum of multiple required communication frequencies and the sum of the communication frequencies to be allocated, calculating the ratio of the sum of multiple target communication frequencies to this smaller value to obtain the first matching value; the same applies to the communication time slot and communication power, which will not be elaborated here.
[0035] In this embodiment, based on the requirements related to signal strength and signal quality, the total amount of required resources and the total amount of target resources that meet the requirements in the resources to be allocated are obtained. Then, the smaller total amount between the total amount of required resources and the total amount of resources to be allocated is obtained, and the ratio of the total amount of target resources to the smaller total amount is calculated. From the matching relationship between the requirements and the resources to be allocated, the largest possible matching value is obtained, so that the requirements of the current user can be maximally met during the subsequent resource allocation.
[0036] Furthermore, this embodiment can dynamically adjust each threshold according to the real-time feedback of the current user and the changes in the communication environment. Compared with the traditional static allocation strategy, it can achieve more accurate and flexible resource allocation.
[0037] Figure 3 is the third flow diagram of the wireless resource allocation method provided by the embodiments of the present application. Refer to Figure 3 , in one embodiment, based on the bandwidth capacity evaluation method, calculating the second matching value between the communication requirements of the current user and the resources to be allocated may include: 301. Obtain the second requirements related to the bandwidth capacity in the communication requirements; 302. Obtain the bandwidth capacity index value corresponding to the second requirements; 303. Obtain multiple second requirement resources corresponding to the second requirements; 304. Obtain multiple second target resources in the resources to be allocated that meet the bandwidth capacity index value; 305. Randomly generate multiple first weights for the multiple second requirement resources and multiple second weights for the multiple second target resources; 306. Extract multiple important demand resources from multiple second demand resources based on the larger weight among multiple first weights; 307. Extract multiple important target resources from multiple second target resources based on the larger weight among multiple second weights; 308. Match multiple important demand resources with multiple important target resources to obtain the total amount of multiple matching resources; 309. Obtain the smaller total amount between the total amount of multiple important demand resources and the total amount of multiple important target resources, calculate the ratio of the total amount of multiple matching resources to the smaller total amount, and obtain the second matching value.
[0038] In step 301, the second demand related to the bandwidth capacity can be a higher bandwidth.
[0039] In step 302, that is, it is necessary to obtain the bandwidth capacity index value corresponding to a higher bandwidth. For example, the bandwidth utilization rate can measure the usage efficiency of the bandwidth and potential congestion situations. Then this step is to obtain the bandwidth utilization rate corresponding to a higher bandwidth, and the bandwidth utilization rate at this time is usually higher.
[0040] In step 303, the second demand resources can be at least one of the demand communication frequency, demand communication time slot, and demand communication power. Then this step is to obtain at least one of the multiple demand communication frequencies, multiple demand communication time slots, and multiple demand communication powers corresponding to a higher bandwidth.
[0041] It should be noted that since the bandwidth is a frequency range, the multiple demand communication frequencies corresponding to a higher bandwidth should be able to form at least one continuous frequency range.
[0042] In step 304, at least one of the multiple target communication frequencies, multiple target communication time slots, and multiple target communication powers that meet the high bandwidth utilization rate in the communication frequency, communication time slot, and communication power to be allocated can be obtained based on the Redcap algorithm.
[0043] In steps 305 to 308, taking the communication frequency as an example, multiple first weights of multiple demand communication frequencies and multiple second weights of multiple target communication frequencies are generated at any time. The demand communication frequencies corresponding to the larger first weights are extracted as multiple important demand communication frequencies, and the target communication frequencies corresponding to the larger second weights are extracted as multiple important target communication frequencies. The communication frequencies that belong to both important demand communication frequencies and important target communication frequencies are selected as matching communication frequencies, and the sum of these matching communication frequencies is calculated. The same applies to the communication time slot and communication power, which will not be elaborated here.
[0044] It should be noted that the first weight and the second weight can reflect the importance of their corresponding communication frequencies, and their values can be set based on network policies or user preferences.
[0045] Furthermore, a more refined weight generation strategy can be adopted to optimize resource allocation. For example, an adaptive algorithm can be introduced to automatically adjust the values of these weights according to real-time network conditions and the feedback of the current user, so as to maximize broadband utilization and user satisfaction. In addition, a prediction algorithm can be introduced to predict network load and the current user's needs, so as to optimize resource allocation in advance.
[0046] In step 309, that is, obtain the smaller value between the sum of multiple important demand communication frequencies and the sum of multiple important target communication frequencies, calculate the ratio of the sum of multiple matching communication frequencies to this smaller value to obtain the second matching value; the same applies to communication time slots and communication power, which will not be elaborated here.
[0047] In this embodiment, based on the requirements related to bandwidth, obtain the required demand resources and the target resources that meet the requirements among the resources to be allocated, then select important demand resources and important target resources based on weights, calculate the total amount of matching resources between the two and the smaller total amount between the total amount of important demand resources and the total amount of important target resources, calculate the ratio of the total amount of matching resources to the smaller total amount, and obtain the largest possible matching value from the matching relationship between the demand and the resources to be allocated, so as to maximize the satisfaction of the current user's needs during subsequent resource allocation.
[0048] Furthermore, this embodiment can dynamically adjust each weight according to the real-time feedback of the current user and the changes in the communication environment, and can achieve more accurate and flexible resource allocation compared with the traditional static allocation strategy.
[0049] Figure 4 It is the fourth flow diagram of the wireless resource allocation method provided by the embodiment of the present application. Refer to Figure 4 , in one embodiment, based on the first matching value and the second matching value, calculating the comprehensive matching degree between the communication requirements of the current user and the resources to be allocated may include: 401. Determine the first target matching value based on the magnitude relationship between the first matching value and the first matching threshold; 402. Determine the second target matching value based on the magnitude relationship between the second matching value and the second matching threshold; 403. When both the first target matching value and the second target matching value are greater than zero, perform weighted summation on the first target matching value and the second target matching value to obtain the comprehensive matching degree.
[0050] In step 401, if the first matching value is less than the first matching threshold, set the first matching value to zero and determine that the first target matching value is 0; if the first matching value is greater than or equal to the first matching threshold, directly determine the first matching value as the first target matching value.
[0051] In step 402, if the second matching value is less than the second matching threshold, set the second matching value to zero and determine that the second target matching value is 0; if the second matching value is greater than or equal to the second matching threshold, directly determine the second matching value as the second target matching value.
[0052] The first matching value and the second matching value are two key parameters obtained based on signal capacity evaluation and bandwidth capacity evaluation respectively. The first matching threshold and the second matching threshold are preset performance criteria used to determine whether these two matching values are high enough. If any matching value is lower than its corresponding matching threshold, that matching value will be set to zero, which means that the resource to be allocated does not meet the current user's requirements in terms of the corresponding capacity.
[0053] In step 403, the weighted summation method is used to synthesize the first target matching value and the second target matching value to obtain the final comprehensive matching degree. Among them, the weights of the first target matching value and the second target matching value are adjustable and are used to balance the importance of signal capacity and bandwidth capacity in the resource allocation decision and optimize the resource allocation strategy. An adaptive mechanism can be designed to dynamically adjust the values of these two weights to respond to different network conditions and user requirements. For example, if signal strength and signal quality are key factors in the current user's communication experience, a higher weight can be assigned to the first target matching value; if the network's bandwidth resources are relatively tight, a higher weight can be assigned to the second target matching value to give priority to bandwidth utilization. In addition, machine learning algorithms can be introduced to analyze historical data, identify the demand patterns of the current user, and automatically adjust the values of each weight accordingly, thereby improving the accuracy and efficiency of the comprehensive matching degree calculation. In addition, a user interface can be provided to allow the current user to manually set these weights according to their preferences to implement a more personalized resource allocation strategy.
[0054] In this embodiment, by setting the matching threshold, it is ensured that only when both the first matching value and the second matching value are higher than a specific standard will they be included in the calculation of the final comprehensive matching degree. On the one hand, it helps to screen out resource allocation schemes that meet the current user's requirements and avoid inefficient resource allocation. On the other hand, it can reflect the dynamic changes of the current user's needs and the resources to be allocated through the dynamic adjustment of the weights, which helps to screen out resource allocation schemes that meet the current network conditions.
[0055] Figure 5 It is the fifth flow diagram of the wireless resource allocation method provided by the embodiment of the present application. Refer to Figure 5, in one embodiment, allocating resources to be allocated to the current user based on the comprehensive matching degree may include: 501. When the comprehensive matching degree is greater than or equal to the third matching threshold, sort the multiple first target resources and / or the multiple second target resources in descending order according to the preference priority of the current user to obtain a target resource sequence; 502. Calculate the product of the total initial resources of the current user and the comprehensive matching degree to obtain the amount of resources to be allocated; 503. Search for target resources that meet the amount of resources to be allocated in the target resource sequence in turn; 504. Determine the first target resource found as the final allocated resource; 505. Allocate the final allocated resource to the current user; 506. When the current total resources of the current user are less than the target total amount, use the current total resources as the total initial resources and then return to step 502; 507. When no target resource can be found or the current total resources of the current user are greater than or equal to the target total amount, stop the process.
[0056] The target total amount is the larger total amount between the total amount of the first required resources and the total amount of the second required resources.
[0057] In step 501, taking the communication frequency as an example, when the comprehensive matching degree is greater than or equal to the third matching threshold, it indicates that the multiple first target communication frequencies screened based on signal capabilities and the multiple second target communication frequencies screened based on bandwidth capabilities can meet the needs of the current user. Since the current user may have different preferences for each target communication frequency, the multiple first target communication frequencies can be sorted in descending order according to the preference priority of the current user, or the multiple second target communication frequencies can be sorted, or the multiple first target communication frequencies and the multiple second target communication frequencies can be sorted as a whole, or the multiple target communication frequencies that belong to both the first target communication frequencies and the second target communication frequencies can be sorted to obtain a target communication frequency sequence.
[0058] In step 502, that is, calculate the product of the total initial communication frequency of the current user and its corresponding comprehensive matching degree to obtain the total communication frequency to be allocated.
[0059] In steps 503 to 504, there may be multiple target communication frequencies in the target communication frequency sequence that are greater than or equal to the total communication frequency to be allocated. At this time, only stop searching when the first target communication frequency is found, and determine this target communication frequency as the final allocated communication frequency, without performing subsequent searches, thereby improving the search efficiency while ensuring that the final allocated communication frequency is the communication frequency with the highest preference priority that meets the needs of the current user.
[0060] In steps 506 to 507, when the total current communication frequency of the current user is less than the maximum total communication frequency required by the user, the total current communication frequency is used as the initial total communication frequency, and then step 502 is returned to continue the communication frequency allocation until no target communication frequency greater than or equal to the total communication frequency to be allocated can be found in the target communication frequency sequence, or the total current communication frequency of the current user is greater than or equal to the maximum total communication frequency required by the user, and the communication frequency allocation for the current user is completed. The allocation of communication time slots and communication power is the same and will not be elaborated here.
[0061] It should be noted that for the resource allocation of multiple current users, user priorities can be set according to the quality of service requirements, historical usage patterns, or payment capabilities of these users. Based on the allocation strategy of this embodiment, resources are allocated to each current user in turn according to the order of user priorities.
[0062] Furthermore, heuristic algorithms or multi-objective optimization algorithms can be used to simultaneously consider multiple objectives, such as maximizing user satisfaction and minimizing resource waste, so as to optimize the order and quantity of resource allocation. A feedback mechanism can also be introduced to adjust the resource allocation strategy according to the real-time feedback of users to ensure that the allocated resources can meet the immediate needs of users. In addition, a prediction algorithm can be designed to predict the future demand changes of users, so as to optimize resource allocation in advance and improve the forward-looking and adaptability of resource allocation.
[0063] Next, the wireless resource allocation device provided by the embodiments of the present application will be described. The wireless resource allocation device described below can be correspondingly referred to the wireless resource allocation method described above.
[0064] Figure 6 is a schematic structural diagram of the wireless resource allocation device provided by the embodiments of the present application. Referring to Figure 6 , the embodiments of the present application provide a wireless resource allocation device, which may include: A first matching value calculation module 601, configured to calculate a first matching value between the communication requirements of the current user and the resources to be allocated based on the signal capability evaluation method; A second matching value calculation module 602, configured to calculate a second matching value between the communication requirements of the current user and the resources to be allocated based on the bandwidth capability evaluation method; A comprehensive matching degree calculation module 603, configured to calculate a comprehensive matching degree between the communication requirements of the current user and the resources to be allocated based on the first matching value and the second matching value; A wireless resource allocation module 604, configured to allocate the resources to be allocated to the current user based on the comprehensive matching degree.
[0065] The wireless resource allocation device provided in this embodiment calculates a first matching value between the communication requirements of the current user and the resources to be allocated based on the signal capability evaluation method, calculates a second matching value between the communication requirements of the current user and the resources to be allocated based on the bandwidth capability evaluation method, calculates a comprehensive matching degree between the communication requirements of the current user and the resources to be allocated based on the first matching value and the second matching value, and allocates the resources to be allocated to the current user based on the comprehensive matching degree. On the one hand, this embodiment can adjust the matching value between the communication requirements of the current user and the resources to be allocated in real time according to the dynamic changes of the communication requirements of the current user and the resources to be allocated, and then adjust the allocation strategy for allocating resources to the current user, improving the flexibility of resource allocation, thereby improving resource utilization; on the other hand, this embodiment evaluates the matching value between the communication requirements of the current user and the resources to be allocated based on the signal capability and the bandwidth capability respectively, and then synthesizes the matching values to allocate resources to the current user, fully considering the influence of the signal capability and the bandwidth capability on resource allocation, improving the accuracy of resource allocation, and thus being able to meet the user's requirements for high-speed and stable communication. In summary, this embodiment can improve the flexibility and accuracy of resource allocation, thereby improving resource utilization and meeting the user's requirements for high-speed and stable communication.
[0066] In one embodiment, the first matching value calculation module 601 is specifically configured to: Obtain a first requirement related to the signal capability in the communication requirements; the signal capability includes signal strength and signal quality; Obtain the signal capability index value corresponding to the first requirement; Obtain the total amount of multiple first requirement resources corresponding to the first requirement; Obtain the total amount of multiple first target resources in the resources to be allocated that meet the signal capability index value; Obtain the smaller total amount between the total amount of the multiple first requirement resources and the total amount of the resources to be allocated, calculate the ratio of the total amount of the multiple first target resources to the smaller total amount, and obtain the first matching value.
[0067] In one embodiment, the second matching value calculation module 602 is specifically configured to: Obtain a second requirement related to the bandwidth capability in the communication requirements; Obtain the bandwidth capability index value corresponding to the second requirement; Obtain multiple second requirement resources corresponding to the second requirement; Obtain multiple second target resources in the resources to be allocated that meet the bandwidth capability index value; Randomly generate multiple first weights for the multiple second requirement resources and multiple second weights for the multiple second target resources; Extract a plurality of important demand resources from the plurality of second demand resources based on the larger weight among the plurality of first weights; Extract a plurality of important target resources from the plurality of second target resources based on the larger weight among the plurality of second weights; Match the plurality of important demand resources with the plurality of important target resources to obtain the total amount of the plurality of matching resources; Obtain the smaller total amount between the total amount of the plurality of important demand resources and the total amount of the plurality of important target resources, calculate the ratio of the total amount of the plurality of matching resources to the smaller total amount, and obtain the second matching value.
[0068] In one embodiment, the comprehensive matching degree calculation module 603 is specifically configured to: Determine a first target matching value based on the magnitude relationship between the first matching value and a first matching threshold; Determine a second target matching value based on the magnitude relationship between the second matching value and a second matching threshold; When both the first target matching value and the second target matching value are greater than zero, perform a weighted sum of the first target matching value and the second target matching value to obtain the comprehensive matching degree.
[0069] In one embodiment, the wireless resource allocation module 604 is specifically configured to: When the comprehensive matching degree is greater than or equal to a third matching threshold, sort the plurality of first target resources and / or the plurality of second target resources in descending order according to the preference priority of the current user to obtain a target resource sequence; Calculate the product of the total initial resources of the current user and the comprehensive matching degree to obtain the resource amount to be allocated; Search for target resources that meet the resource amount to be allocated in the target resource sequence in turn; Determine the first target resource found as the final allocated resource; Allocate the final allocated resource to the current user.
[0070] In one embodiment, the wireless resource allocation module 604 is specifically configured to: When the current total resources of the current user are less than the target total amount, use the current total resources as the total initial resources, and then return to the step of calculating the product of the total initial resources of the current user and the comprehensive matching degree to obtain the resource amount to be allocated, until no target resource can be found or the current total resources of the current user are greater than or equal to the target total amount; The target total amount is the larger total amount between the total amount of the first demand resources and the total amount of the second demand resources.
[0071] Figure 7 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 7 shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730, and a communication bus 740. Among them, the processor 710, the communication interface 720, and the memory 730 complete mutual communication through the communication bus 740. The processor 710 may call a computer program in the memory 730 to execute the steps of the wireless resource allocation method, for example, including: Based on the signal capability evaluation method, calculate a first matching value between the communication requirements of the current user and the resources to be allocated; Based on the bandwidth capability evaluation method, calculate a second matching value between the communication requirements of the current user and the resources to be allocated; Based on the first matching value and the second matching value, calculate the comprehensive matching degree between the communication requirements of the current user and the resources to be allocated; Based on the comprehensive matching degree, allocate the resources to be allocated to the current user.
[0072] In addition, when the logical instructions in the above-mentioned memory 730 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0073] On the other hand, an embodiment of the present application also provides a computer program product. The computer program product includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the steps of the wireless resource allocation method provided in the above-mentioned embodiments, for example, including: Based on the signal capability evaluation method, calculate a first matching value between the communication requirements of the current user and the resources to be allocated; Based on the bandwidth capability evaluation method, calculate a second matching value between the communication requirements of the current user and the resources to be allocated; Based on the first matching value and the second matching value, calculate the comprehensive matching degree between the communication requirements of the current user and the resources to be allocated; Based on the comprehensive matching degree, allocate the resources to be allocated to the current user.
[0074] On the other hand, an embodiment of the present application further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and the computer program is used to cause a processor to execute the steps of the wireless resource allocation method provided in the above embodiments, for example, including: Based on the signal capability evaluation method, calculate the first matching value between the communication requirements of the current user and the resources to be allocated; Based on the bandwidth capability evaluation method, calculate the second matching value between the communication requirements of the current user and the resources to be allocated; Based on the first matching value and the second matching value, calculate the comprehensive matching degree between the communication requirements of the current user and the resources to be allocated; Based on the comprehensive matching degree, allocate the resources to be allocated to the current user.
[0075] The non-transitory computer-readable storage medium may be any available medium or data storage device accessible by the processor, including but not limited to magnetic memory (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical memory (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drives (SSD)), etc.
[0076] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0077] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0078] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A wireless resource allocation method, characterized in that: include: Based on the signal capability evaluation method, calculating a first matching value between the communication demand of the current user and the resources to be allocated; Calculating a second matching value between the communication demand of the current user and the resources to be allocated based on a bandwidth capability evaluation method; Calculating a comprehensive matching degree between a current user's communication demand and resources to be allocated based on the first matching value and the second matching value; Based on the comprehensive matching degree, resources to be allocated are allocated to the current user.
2. The wireless resource allocation method according to claim 1, characterized in that: The calculating, based on the signal capability evaluation method, a first matching value between the communication demand of the current user and the resources to be allocated comprises: Acquire a first requirement related to signal capability in the communication requirements; the signal capability includes signal strength and signal quality; Obtaining a signal capability indicator value corresponding to the first requirement; Obtaining a total amount of multiple first demand resources corresponding to the first demand; Acquire the total amount of a plurality of first target resources satisfying the signal capability index value from the resources to be allocated; The smaller total amount between the total amount of the plurality of first demand resources and the total amount of the resources to be allocated is obtained, and the ratio of the total amount of the plurality of first target resources to the smaller total amount is calculated to obtain the first matching value.
3. The wireless resource allocation method according to claim 2, characterized in that: The method of calculating the second matching value between the communication demand of the current user and the resources to be allocated based on the bandwidth capability evaluation method includes: Acquire a second requirement related to bandwidth capability in the communication requirement; Obtaining a bandwidth capability indicator value corresponding to the second requirement; Acquire multiple second demand resources corresponding to the second demand; Acquire a plurality of second target resources that meet the bandwidth capability indicator value from the resources to be allocated; Randomly generating a plurality of first weights of the plurality of second demand resources and a plurality of second weights of the plurality of second target resources; extracting a plurality of important demand resources from among the plurality of second demand resources based on a larger weight among the plurality of first weights; extracting a plurality of important target resources from the plurality of second target resources based on a larger weight from the plurality of second weights; Matching the multiple important demand resources with the multiple important target resources to obtain the total amount of multiple matching resources; The smaller total amount between the total amount of the plurality of important demand resources and the total amount of the plurality of important target resources is obtained, and the ratio of the total amount of the plurality of matching resources to the smaller total amount is calculated to obtain the second matching value.
4. The wireless resource allocation method according to claim 1, characterized in that: The calculating, based on the first matching value and the second matching value, a comprehensive matching degree between the communication demand of the current user and the resources to be allocated includes: Determine a first target matching value based on a magnitude relationship between the first matching value and a first matching threshold; Determining a second target matching value based on a magnitude relationship between the second matching value and a second matching threshold; When both the first target matching value and the second target matching value are greater than zero, the first target matching value and the second target matching value are weightedly summed to obtain the comprehensive matching degree.
5. The wireless resource allocation method according to claim 3, characterized in that: The allocating resources to be allocated to the current user based on the comprehensive matching degree includes: When the comprehensive matching degree is greater than or equal to a third matching threshold, sorting the multiple first target resources and / or the multiple second target resources from high to low according to the preference priority of the current user to obtain a target resource sequence; Calculate the product of the total initial resource amount of the current user and the comprehensive matching degree to obtain the amount of resources to be allocated; Searching the target resource sequence in sequence for a target resource that matches the amount of resources to be allocated; The first target resource found is determined as the final allocated resource; The finally allocated resources are allocated to the current user.
6. The wireless resource allocation method according to claim 5, characterized in that: After allocating the final allocated resources to the current user, the method further comprises: When the current total amount of resources of the current user is less than the target total amount, after taking the current total amount of resources as the initial total amount of resources, returning to the step of calculating the product of the initial total amount of resources of the current user and the comprehensive matching degree to obtain the amount of resources to be allocated, until the target resources cannot be searched or the current total amount of resources of the current user is greater than or equal to the target total amount; The target total amount is a larger total amount between the total amount of the first demand resource and the total amount of the second demand resource.
7. A wireless resource allocation device, characterized in that: include: A first matching value calculation module, used to: calculate a first matching value between the communication demand of the current user and the resources to be allocated based on a signal capability evaluation method; A second matching value calculation module is used to calculate a second matching value between the communication demand of the current user and the resources to be allocated based on a bandwidth capability evaluation method; A comprehensive matching degree calculation module, used to calculate the comprehensive matching degree between the communication demand of the current user and the resources to be allocated based on the first matching value and the second matching value; The wireless resource allocation module is used to allocate resources to be allocated to the current user based on the comprehensive matching degree.
8. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the wireless resource allocation method according to any one of claims 1 to 6 are implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the wireless resource allocation method according to any one of claims 1 to 6 are implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the wireless resource allocation method according to any one of claims 1 to 6 are implemented.