Bandwidth allocation method and system in wireless communication network

By dividing service levels in the wireless communication network and using the SVM model and artificial bee colony algorithm, the problem of resource waste caused by improper bandwidth allocation is solved, and efficient allocation of bandwidth resources and user demand satisfaction in the wireless communication network are achieved.

CN118632372AActive Publication Date: 2024-09-10BEIJING CHINACOMM DESIGN & CONSULTING CO LTD

Patent Information

Application Number
CN202411097140.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-09-10
Estimated Expiration
2044-08-12

AI Technical Summary

Technical Problem

Bandwidth allocation methods in existing wireless communication networks are difficult to effectively allocate and recycle unused bandwidth resources, resulting in resource waste.

Method used

By dividing wireless communication network users according to service levels, the SVM model is used to predict real-time bandwidth requirements, and the artificial bee colony algorithm is used to set the optimal threshold bandwidth and allocate bandwidth sequentially according to service levels.

Benefits of technology

Effective allocation of wireless communication network bandwidth resources is achieved to meet user needs, avoid resource waste, and improve allocation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632372A
    Figure CN118632372A
Patent Text Reader

Abstract

The invention relates to the technical field of wireless communication, in particular to a bandwidth allocation method and system in a wireless communication network. The system comprises a data acquisition module, a final SVM model construction module, a wireless communication network user service grading module, an optimal threshold bandwidth setting module, a wireless communication network user real-time required bandwidth prediction module and a wireless communication user bandwidth allocation module. Wireless communication network users are divided according to corresponding service levels of the wireless communication network users, optimal threshold bandwidths are allocated to the service levels, and the bandwidths needed by the wireless communication network users in real time are predicted through a final SVM model obtained through training. Bandwidths are allocated to all wireless communication network users according to the service levels of the wireless communication network users, so that the network requirements of the users are ensured, and unnecessary consumption of bandwidth resources is avoided at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technology, and in particular to a bandwidth allocation method and system in a wireless communication network. Background Art

[0002] With the rapid development of Internet technology, the number of wireless communication network users is also growing rapidly. Therefore, it is particularly important to ensure user experience while allocating wireless communication network resources reasonably and effectively.

[0003] The existing technology often receives network usage information fed back to the system by wireless communication network users, calculates the bandwidth required by the wireless communication network users based on the network usage information and the wireless communication resource allocation technology, and allocates the required bandwidth to each wireless communication network user based on the bandwidth requirements of all wireless communication network users, which easily causes unnecessary consumption of bandwidth resources and makes it impossible to recover unused bandwidth resources in a timely manner. Summary of the invention

[0004] 1. Technical issues to be resolved To address the deficiencies in the background technology, the present invention proposes a bandwidth allocation method and system in a wireless communication network, which divides the wireless communication network users according to the corresponding wireless communication network user service levels, allocates the optimal threshold bandwidth to each service level, and predicts the real-time bandwidth required by the wireless communication network users through the final SVM model obtained through training, and allocates bandwidth to all wireless communication network users according to the wireless communication network user service levels.

[0005] (II) Technical solution A method for allocating bandwidth in a wireless communication network, the method comprising the following steps: S1, setting a wireless communication network user set and a transmission data volume collection period set, collecting the transmission data volume of each wireless communication network user in the wireless communication network user set in each transmission data volume collection period in the transmission data volume collection period set, and obtaining a transmission data volume matrix; S2, constructing an initial SVM model, a transmission data volume training matrix, and a transmission data volume test matrix, training and testing the initial SVM model through the transmission data volume training matrix and the transmission data volume test matrix to obtain a final SVM model; S3, setting a wireless communication network user service level set, dividing each wireless communication network user in the wireless communication network user set according to the corresponding wireless communication network user service level, and obtaining a wireless communication network user classification matrix; S4. Setting an optimal threshold bandwidth for each wireless communication network user service level in the wireless communication network user service level set by using an intelligent optimization algorithm to obtain an optimal threshold bandwidth set; S5, collecting the transmission data volume of each wireless communication network user in the wireless communication network user classification matrix in real time, obtaining a real-time transmission data volume matrix, setting a basic energy consumption transmission data volume threshold to correct the real-time transmission data volume matrix, obtaining a real-time transmission data volume correction matrix, and predicting the real-time required bandwidth of the wireless communication network user through the final SVM model; S6. Allocate bandwidth to each wireless communication user in descending order according to the service level of the wireless communication network user.

[0006] The initial SVM model is trained and tested by collecting a large amount of data to obtain the final SVM model, thereby ensuring the accuracy of the final SVM model and providing a prediction tool for subsequent operations; the wireless communication network users are divided according to the corresponding wireless communication network user service levels, and the optimal threshold bandwidth is allocated to each service level to meet the basic bandwidth requirements, and the order of bandwidth allocation is determined at the same time; according to the predicted user real-time required bandwidth matrix, bandwidth is allocated to all wireless communication network users according to the wireless communication network user service level, thereby realizing the effective allocation of wireless communication network bandwidth resources.

[0007] Preferably, the specific steps of setting a wireless communication network user set and a transmission data volume collection period set, collecting the transmission data volume of each wireless communication network user in the wireless communication network user set according to the transmission data volume collection period set, and obtaining the transmission data volume matrix are as follows: S11. Setting the wireless communication network user set ,in, Indicates Wireless communication network users, Indicates the total number of wireless communication network users; S12, set the transmission data volume collection cycle set ,in, Indicates The transmission data volume collection cycle, Indicates the total number of transmission data volume collection cycles; S13. Collecting wireless communication network user data Each wireless communication network user in the transmission data volume collection cycle set The transmission data volume of each transmission data volume collection cycle in the transmission data volume matrix is ​​obtained as follows: in, Indicates Wireless communication network users in The amount of data transmitted during a transmission data collection cycle.

[0008] By setting a transmission data volume collection cycle to collect the transmission data volume of each wireless communication network user, the universality of the collected data is ensured, providing a data basis for subsequent operations.

[0009] Preferably, the specific steps of constructing an initial SVM model, a transmission data volume training matrix, and a transmission data volume test matrix, training and testing the initial SVM model through the transmission data volume training matrix and the transmission data volume test matrix, and obtaining the final SVM model are as follows: S21. Build the initial SVM model and set the penalty factor parameter to , the radial basis kernel parameters are And the kernel function of the initial parameter space during the operation of the initial SVM model is a Gaussian radial basis kernel function; the formula of the Gaussian radial basis kernel function is as follows: in, represents the Gaussian radial basis kernel function, represents the support vector corresponding to two training samples, express and The Euclidean distance between S22. Set the training data ratio And test data ratio , dividing the transmission data volume matrix by the training data ratio and the test data ratio, and obtaining a transmission data volume training matrix and a transmission data volume test matrix respectively; S23, set the training error threshold to , input the transmission data volume training matrix into the initial SVM model to train the initial SVM model until the training error of the initial SVM model is less than or equal to When , stop training and get the trained SVM model; S24. Setting the test accuracy threshold , input the transmission data volume test matrix into the trained SVM model for testing, obtain the real-time bandwidth required by the wireless communication network user, and calculate the accuracy of the test result , when testing accuracy Greater than or equal to the test accuracy threshold If the training SVM model is , the trained SVM model is used as the final SVM model; otherwise, the grid search algorithm is used to search for the optimal penalty factor parameters and the optimal radial basis kernel parameters, and the trained SVM model is retested according to the optimal penalty factor parameters and the optimal radial basis kernel parameters until the test accuracy is Greater than or equal to the test accuracy threshold ; S241, setting the search range of the penalty factor parameter and the radial basis kernel parameter, and constructing a two-dimensional search grid; S242, performing a rough search with a large step size on the two-dimensional search grid, selecting a set of penalty factor parameters and radial basis kernel parameters with the highest test accuracy, and obtaining a two-dimensional optimal parameter search grid; S243. Calculate the test accuracy of each set of penalty factor parameters and radial basis kernel parameters in the two-dimensional optimal parameter search grid according to the cross-validation method, and select a pair of penalty factor parameters and radial basis kernel parameters with the highest test accuracy as the optimal penalty factor parameters and optimal radial basis kernel parameters.

[0010] The initial SVM model is trained and tested by collecting a large amount of data to obtain the final SVM model. At the same time, the grid search algorithm is used to search for the optimal penalty factor parameters and the optimal radial basis kernel parameters, which ensures the accuracy of the final SVM model prediction results and provides a prediction tool for subsequent operations.

[0011] Preferably, the specific steps of setting a wireless communication network user service level set, dividing each wireless communication network user in the wireless communication network user set according to the corresponding wireless communication network user service level, and obtaining the wireless communication network user classification matrix are as follows: S31, arranging the service levels of wireless communication network users from high to low, and constructing a wireless communication network user service level set ,in, Indicates The service level of each wireless communication network user, Indicates the total number of service levels of wireless communication network users; S32, collecting the service levels of all wireless communication network users, and classifying the service levels of each wireless communication network user according to the wireless communication network user service level, to obtain a wireless communication network user classification matrix as follows: in, Indicates The first level of service for wireless communication network users Wireless communication network users, Indicates The total number of wireless communication network users in the wireless communication network user service level.

[0012] Wireless communication network users are divided according to corresponding wireless communication network user service levels, the order of bandwidth allocation is determined, and a data basis is provided for the subsequent reasonable allocation of bandwidth.

[0013] Preferably, the specific steps of setting the optimal threshold bandwidth for each wireless communication network user service level in the wireless communication network user service level set by using an intelligent optimization algorithm to obtain the optimal threshold bandwidth set are as follows: S41. Build an artificial bee population and set the maximum number of nectar source searches , maximum number of iterations , current iteration number And the population ; S42, randomly generate in the search space of the artificial bee population nectar sources are used as the initial solution; the formula for randomly generating nectar sources is as follows: in, Indicates The nectar source is The position of the dimension, express A random number between and Respectively represent The upper and lower bounds of the honey source search space; S43, calculating the fitness function values ​​of all randomly generated nectar sources; the fitness function formula is as follows: in, represents the fitness function value, Indicates the bandwidth ratio that meets the basic network usage of wireless communication network users. Indicates the correction value; S44, start iteration, select from the artificial bee population There are hired bees, and one hired bee is assigned to each nectar source. Each hired bee searches for a new nectar source near the current nectar source. After finding the new nectar source, the fitness function value of the new nectar source is calculated. If the fitness function value of the new nectar source is higher than the fitness function value of the original nectar source, the new nectar source is used to replace the original nectar source and the nectar source position is updated; otherwise, the original nectar source is retained, and the current nectar source increases the number of nectar source searches by one; the formula for hired bees to search for nectar sources is as follows: in, Indicates the updated honey source location, express A random number between express Not equal to A random integer, Indicates The nectar source is The location of the dimension; S45. The remaining artificial bees in the artificial bee population are used as follower bees. The follower bees select the nectar source location of the employed bees through the roulette strategy. When the follower bees arrive at the selected nectar source location, they search for a new nectar source near the current nectar source according to the formula for searching nectar sources by employed bees. After finding the new nectar source, the fitness function value of the new nectar source is calculated. If the fitness function value of the new nectar source is higher than the fitness function value of the original nectar source, the new nectar source is used to replace the original nectar source and the nectar source location is updated; otherwise, the original nectar source is retained, and the current nectar source increases the number of nectar source searches by one; the probability calculation formula for employed bees being selected is as follows: in, Indicates The fitness function value of each nectar source; S46, record the number of searches for each nectar source, and when the number of searches for a nectar source reaches the maximum number of searches for a nectar source , the nectar source is abandoned, and the employed bees at the nectar source position randomly generate a new nectar source in the search space according to the steps in S44; S47, determine the current number of iterations Whether the maximum number of iterations has been reached If it is not reached, return to S44; if it is reached, calculate the fitness function values ​​of all current honey sources, select the honey source with the highest fitness function value as the current global optimal solution, output the optimal threshold bandwidth of each wireless communication network user service level, and obtain the optimal threshold bandwidth set.

[0014] The artificial bee colony algorithm is used to set the optimal threshold bandwidth for each user service level of the wireless communication network. The artificial bee colony algorithm simulates the foraging behavior of bees in nature and establishes a mathematical model to ensure the speed and accuracy of the optimization process while improving the efficiency of the convergence process.

[0015] Preferably, the transmission data volume of each wireless communication network user in the wireless communication network user classification matrix is ​​collected in real time to obtain a real-time transmission data volume matrix, a basic energy consumption transmission data volume threshold is set to correct the real-time transmission data volume matrix to obtain a real-time transmission data volume correction matrix, and the specific steps of predicting the bandwidth required by the wireless communication network user in real time through the final SVM model are as follows: S51. Real-time collection of wireless communication network user classification matrix The transmission data volume of each wireless communication network user in the real-time transmission data volume matrix is ​​obtained as follows: in, Indicates The first in the service level of wireless communication network users The real-time transmission data volume of each wireless communication network user; S52. Setting basic energy consumption data transmission volume threshold , the real-time transmission data volume in the real-time transmission data volume matrix is ​​corrected one by one through the basic energy consumption transmission data volume threshold, and the real-time transmission data volume correction matrix is ​​obtained , the correction process is as follows: S521, if , then The first in the service level of wireless communication network users The real-time transmission data volume of wireless communication network users remain unchanged; like , then the The first in the service level of wireless communication network users The real-time transmission data volume of wireless communication network users Corrected to 0; S53, correcting the real-time transmission data volume matrix The corrected real-time transmission data volume in the final SVM model is used to predict the real-time bandwidth required by each wireless communication network user, and the user real-time required bandwidth matrix is ​​obtained. as follows: in, Indicates The first level of service for wireless communication network users The bandwidth required in real time by users of a wireless communication network.

[0016] By setting the basic energy consumption transmission data volume threshold to correct the real-time collected wireless communication network user transmission data volume, and then using the final SVM model to predict the real-time required bandwidth of the wireless communication network users, the user's network needs are guaranteed while avoiding the extra consumption of bandwidth resources.

[0017] Preferably, the specific steps of allocating bandwidth to each wireless communication user in descending order according to the service level of the wireless communication network user are as follows: S61, allocating the optimal threshold bandwidth corresponding to the optimal threshold bandwidth set to each wireless communication network user whose corrected real-time transmission data volume is not 0; S62, allocating the total remaining bandwidth to all wireless communication network users in order of the service levels of the wireless communication network users, from high to low, to form a matrix of bandwidth required by the users in real time. The real-time bandwidth required by the corresponding user; S621, if the remaining total bandwidth can allocate the user's real-time required bandwidth matrix to all wireless communication network users The bandwidth allocation operation is terminated after allocating the real-time bandwidth required by all wireless communication network users in the lowest wireless communication network user service level. S622: If the remaining bandwidth is allocated to When there is a wireless communication network user service level, it is impossible to allocate the user real-time required bandwidth matrix to all wireless communication network users in the wireless communication network user service level. The corresponding user in real time requires bandwidth, then all the remaining bandwidth is evenly distributed to the first After all wireless communication network users in the wireless communication network user service level are reached, the bandwidth allocation operation is ended.

[0018] According to the predicted first user's real-time required bandwidth matrix, bandwidth is allocated to all wireless communication network users according to the wireless communication network user service level, thereby achieving effective allocation of wireless communication network bandwidth resources.

[0019] The present invention also discloses a bandwidth allocation system in a wireless communication network, including a data acquisition module, a final SVM model construction module, a wireless communication network user service level classification module, an optimal threshold bandwidth setting module, a wireless communication network user real-time required bandwidth prediction module and a wireless communication user bandwidth allocation module; The data collection module collects the transmission data volume of each wireless communication network user by setting a transmission data volume collection period to obtain a transmission data volume matrix; The final SVM model construction module trains and tests the constructed initial SVM model by using the transmission data volume training matrix and the transmission data volume test matrix obtained from the transmission data volume matrix to obtain the final SVM model; The wireless communication network user service level classification module arranges the service levels of the wireless communication network users from high to low, constructs a wireless communication network user service level set, and classifies the wireless communication network users according to the corresponding wireless communication network user service levels to obtain a wireless communication network user classification matrix; The optimal threshold bandwidth setting module sets the optimal threshold bandwidth of each wireless communication network user service level through an artificial bee colony algorithm to obtain an optimal threshold bandwidth set; The wireless communication network user real-time required bandwidth prediction module corrects the real-time collected wireless communication network user transmission data volume by setting the basic energy consumption transmission data volume threshold to obtain a real-time transmission data volume correction matrix, and predicts the real-time required bandwidth of the wireless communication network user through the final SVM model to obtain the user's real-time required bandwidth matrix; The wireless communication user bandwidth allocation module first allocates the optimal threshold bandwidth corresponding to the wireless communication network user service level to each wireless communication network user whose corrected real-time transmission data volume is not 0, and then allocates the real-time required bandwidth to all wireless communication network users in order from high to low according to the order of the wireless communication network user service levels.

[0020] (III) Beneficial effects The present invention provides a method and system for allocating bandwidth in a wireless communication network, which has the following beneficial effects: 1. The present invention is provided with a data acquisition module, a final SVM model construction module, a wireless communication network user service level classification module, an optimal threshold bandwidth setting module, a wireless communication network user real-time required bandwidth prediction module and a wireless communication user bandwidth allocation module; a large amount of data is collected to train and test the initial SVM model to obtain a final SVM model, thereby ensuring the accuracy of the final SVM model and providing a prediction tool for subsequent operations; wireless communication network users are classified according to the corresponding wireless communication network user service levels, and the optimal threshold bandwidth is allocated to each service level to meet the basic bandwidth requirements and determine the order of bandwidth allocation; bandwidth is allocated to all wireless communication network users according to the predicted user real-time required bandwidth matrix according to the wireless communication network user service level, thereby realizing the effective allocation of wireless communication network bandwidth resources; Second, by setting the basic energy consumption transmission data volume threshold to correct the real-time collected wireless communication network user transmission data volume, and then using the final SVM model to predict the real-time bandwidth required by the wireless communication network users, the user's network needs are guaranteed while avoiding the extra consumption of bandwidth resources; 3. Use the artificial bee colony algorithm to set the optimal threshold bandwidth for each wireless communication network user service level. The artificial bee colony algorithm simulates the foraging behavior of bees in nature and establishes a mathematical model to ensure the speed and accuracy of the optimization process while improving the efficiency of the convergence process. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the invention, the drawings required for describing the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the invention. For ordinary technicians in this field, they can also obtain drawings based on these drawings without paying creative work.

[0022] Figure 1 A flow chart of a bandwidth allocation method in a wireless communication network provided by the present invention; Figure 2 A module schematic diagram of a bandwidth allocation system in a wireless communication network provided by the present invention. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0024] In the description of the present invention, it is necessary to understand that the terms "opening", "upper", "lower", "top", "middle", "inside" and the like indicating orientation or positional relationship are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the components or elements referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the invention.

[0025] Embodiment 1 of the bandwidth allocation method and system in a wireless communication network is as follows: See also Figure 1 , a bandwidth allocation method in a wireless communication network, the method comprising the following steps: S1, setting a wireless communication network user set and a transmission data volume collection period set, collecting the transmission data volume of each wireless communication network user in the wireless communication network user set in each transmission data volume collection period in the transmission data volume collection period set, and obtaining a transmission data volume matrix; S11. Setting the wireless communication network user set ,in, Indicates Wireless communication network users, Indicates the total number of wireless communication network users; S12, set the transmission data volume collection cycle set ,in, Indicates The transmission data volume collection cycle, Indicates the total number of transmission data volume collection cycles; S13. Collecting wireless communication network user data Each wireless communication network user in the transmission data volume collection cycle set The transmission data volume of each transmission data volume collection cycle in the transmission data volume matrix is ​​obtained as follows: in, Indicates Wireless communication network users in The amount of data transmitted during a transmission data collection cycle.

[0026] S2, constructing an initial SVM model, a transmission data volume training matrix, and a transmission data volume test matrix, training and testing the initial SVM model through the transmission data volume training matrix and the transmission data volume test matrix to obtain a final SVM model; S21. Build the initial SVM model and set the penalty factor parameter to , the radial basis kernel parameters are And the kernel function of the initial parameter space during the operation of the initial SVM model is a Gaussian radial basis kernel function; the formula of the Gaussian radial basis kernel function is as follows: in, represents the Gaussian radial basis kernel function, represents the support vector corresponding to two training samples, express and The Euclidean distance between S22. Set the training data ratio And test data ratio , dividing the transmission data volume matrix by the training data ratio and the test data ratio, and obtaining a transmission data volume training matrix and a transmission data volume test matrix respectively; S23, set the training error threshold to , input the transmission data volume training matrix into the initial SVM model to train the initial SVM model until the training error of the initial SVM model is less than or equal to When , stop training and get the trained SVM model; S24. Setting the test accuracy threshold , input the transmission data volume test matrix into the trained SVM model for testing, obtain the real-time bandwidth required by the wireless communication network user, and calculate the accuracy of the test result , when testing accuracy Greater than or equal to the test accuracy threshold If the training SVM model is , the trained SVM model is used as the final SVM model; otherwise, the grid search algorithm is used to search for the optimal penalty factor parameters and the optimal radial basis kernel parameters, and the trained SVM model is retested according to the optimal penalty factor parameters and the optimal radial basis kernel parameters until the test accuracy is Greater than or equal to the test accuracy threshold ; S241, setting the search range of the penalty factor parameter and the radial basis kernel parameter, and constructing a two-dimensional search grid; S242, performing a rough search with a large step size on the two-dimensional search grid, selecting a set of penalty factor parameters and radial basis kernel parameters with the highest test accuracy, and obtaining a two-dimensional optimal parameter search grid; S243. Calculate the test accuracy of each set of penalty factor parameters and radial basis kernel parameters in the two-dimensional optimal parameter search grid according to the cross-validation method, and select the set of penalty factor parameters and radial basis kernel parameters with the highest test accuracy as the optimal penalty factor parameters and optimal radial basis kernel parameters.

[0027] S3, setting a wireless communication network user service level set, dividing each wireless communication network user in the wireless communication network user set according to the corresponding wireless communication network user service level, and obtaining a wireless communication network user classification matrix; S31, arranging the service levels of wireless communication network users from high to low, and constructing a wireless communication network user service level set ,in, Indicates The service level of each wireless communication network user, Indicates the total number of service levels of wireless communication network users; S32, collecting the service levels of all wireless communication network users, and classifying the service levels of each wireless communication network user according to the wireless communication network user service level, to obtain a wireless communication network user classification matrix as follows: in, Indicates The first level of service for wireless communication network users Wireless communication network users, Indicates The total number of wireless communication network users in the wireless communication network user service level.

[0028] S4. Setting an optimal threshold bandwidth for each wireless communication network user service level in the wireless communication network user service level set by using an intelligent optimization algorithm to obtain an optimal threshold bandwidth set; S41. Build an artificial bee population and set the maximum number of nectar source searches , maximum number of iterations , current iteration number And the population ; S42, randomly generate in the search space of the artificial bee population nectar sources are used as the initial solution; the formula for randomly generating nectar sources is as follows: in, Indicates The nectar source is The position of the dimension, express A random number between and Respectively represent The upper and lower bounds of the honey source search space; S43, calculating the fitness function values ​​of all randomly generated nectar sources; the fitness function formula is as follows: in, represents the fitness function value, Indicates the bandwidth ratio that meets the basic network usage of wireless communication network users. Indicates the correction value; S44, start iteration, select from the artificial bee population There are hired bees, and one hired bee is assigned to each nectar source. Each hired bee searches for a new nectar source near the current nectar source. After finding the new nectar source, the fitness function value of the new nectar source is calculated. If the fitness function value of the new nectar source is higher than the fitness function value of the original nectar source, the new nectar source is used to replace the original nectar source and the nectar source position is updated; otherwise, the original nectar source is retained, and the current nectar source increases the number of nectar source searches by one; the formula for hired bees to search for nectar sources is as follows: in, Indicates the updated honey source location, express A random number between express Not equal to A random integer, Indicates The nectar source is The location of the dimension; S45. The remaining artificial bees in the artificial bee population are used as follower bees. The follower bees select the nectar source location of the employed bees through the roulette strategy. When the follower bees arrive at the selected nectar source location, they search for a new nectar source near the current nectar source according to the formula for searching nectar sources by employed bees. After finding the new nectar source, the fitness function value of the new nectar source is calculated. If the fitness function value of the new nectar source is higher than the fitness function value of the original nectar source, the new nectar source is used to replace the original nectar source and the nectar source location is updated; otherwise, the original nectar source is retained, and the current nectar source increases the number of nectar source searches by one; the probability calculation formula for employed bees being selected is as follows: in, Indicates The fitness function value of each nectar source; S46, record the number of searches for each nectar source, and when the number of searches for a nectar source reaches the maximum number of searches for a nectar source , the nectar source is abandoned, and the employed bees at the nectar source position randomly generate a new nectar source in the search space according to the steps in S44; S47, determine the current number of iterations Whether the maximum number of iterations has been reached If it is not reached, return to S44; if it is reached, calculate the fitness function values ​​of all current honey sources, select the honey source with the highest fitness function value as the current global optimal solution, output the optimal threshold bandwidth of each wireless communication network user service level, and obtain the optimal threshold bandwidth set.

[0029] S5, collecting the transmission data volume of each wireless communication network user in the wireless communication network user classification matrix in real time, obtaining a real-time transmission data volume matrix, setting a basic energy consumption transmission data volume threshold to correct the real-time transmission data volume matrix, obtaining a real-time transmission data volume correction matrix, and predicting the real-time required bandwidth of the wireless communication network user through the final SVM model; S51. Real-time collection of wireless communication network user classification matrix The real-time transmission data volume of each wireless communication network user in the real-time transmission data volume matrix is ​​obtained as follows: in, Indicates The first in the service level of wireless communication network users The real-time transmission data volume of each wireless communication network user; S52. Setting basic energy consumption data transmission volume threshold , the real-time transmission data volume in the real-time transmission data volume matrix is ​​corrected one by one through the basic energy consumption transmission data volume threshold, and the real-time transmission data volume correction matrix is ​​obtained , the correction process is as follows: S521, if , then The first in the service level of wireless communication network users The real-time transmission data volume of wireless communication network users remain unchanged; like , then the The first in the service level of wireless communication network users The real-time transmission data volume of wireless communication network users Corrected to 0; S53, correcting the real-time transmission data volume matrix The corrected real-time transmission data volume in the final SVM model is used to predict the real-time bandwidth required by each wireless communication network user, and the user real-time required bandwidth matrix is ​​obtained. as follows: in, Indicates The first level of service for wireless communication network users The bandwidth required in real time by users of a wireless communication network.

[0030] S6. Allocate bandwidth to each wireless communication user in descending order according to the service level of the wireless communication network user; S61, allocating the optimal threshold bandwidth corresponding to the optimal threshold bandwidth set to each wireless communication network user whose corrected real-time transmission data volume is not 0; S62, allocating the total remaining bandwidth to all wireless communication network users in order of the service levels of the wireless communication network users, from high to low, to form a matrix of bandwidth required by the users in real time. The real-time bandwidth required by the corresponding user; S621, if the remaining total bandwidth can allocate the user's real-time required bandwidth matrix to all wireless communication network users The bandwidth allocation operation is terminated after allocating the real-time bandwidth required by all wireless communication network users in the lowest wireless communication network user service level. S622: If the remaining bandwidth is allocated to When there is a wireless communication network user service level, it is impossible to allocate the user real-time required bandwidth matrix to all wireless communication network users in the wireless communication network user service level. The corresponding user in real time requires bandwidth, then all the remaining bandwidth is evenly distributed to the first After all wireless communication network users in the wireless communication network user service level are reached, the bandwidth allocation operation is ended.

[0031] Embodiment 2 of the method and system for allocating bandwidth in a wireless communication network is as follows: See also Figure 2 , a bandwidth allocation system in a wireless communication network includes a data acquisition module, a final SVM model building module, a wireless communication network user service level classification module, an optimal threshold bandwidth setting module, a wireless communication network user real-time required bandwidth prediction module and a wireless communication user bandwidth allocation module; The data collection module collects the transmission data volume of each wireless communication network user by setting a transmission data volume collection period to obtain a transmission data volume matrix; The final SVM model construction module trains and tests the constructed initial SVM model by using the transmission data volume training matrix and the transmission data volume test matrix obtained from the transmission data volume matrix to obtain the final SVM model; The wireless communication network user service level classification module arranges the service levels of the wireless communication network users from high to low, constructs a wireless communication network user service level set, and classifies the wireless communication network users according to the corresponding wireless communication network user service levels to obtain a wireless communication network user classification matrix; The optimal threshold bandwidth setting module sets the optimal threshold bandwidth of each wireless communication network user service level through an artificial bee colony algorithm to obtain an optimal threshold bandwidth set; The wireless communication network user real-time required bandwidth prediction module corrects the real-time collected wireless communication network user transmission data volume by setting the basic energy consumption transmission data volume threshold to obtain a real-time transmission data volume correction matrix, and predicts the real-time required bandwidth of the wireless communication network user through the final SVM model to obtain the user's real-time required bandwidth matrix; The wireless communication user bandwidth allocation module first allocates the optimal threshold bandwidth corresponding to the wireless communication network user service level to each wireless communication network user whose corrected real-time transmission data volume is not 0, and then allocates the real-time required bandwidth to all wireless communication network users in order from high to low according to the order of the wireless communication network user service levels.

[0032] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0033] The preferred embodiments of the invention disclosed above are only used to help explain the invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the invention, so that those skilled in the art can understand and use the invention well.

Claims

1. A method for allocating bandwidth in a wireless communication network, characterized in that: The steps include: S1. Setting a wireless communication network user set and a transmission data volume collection period set, collecting the transmission data volume of each wireless communication network user in the wireless communication network user set in each transmission data volume collection period in the transmission data volume collection period set, and obtaining a transmission data volume matrix; S2, constructing an initial SVM model, a transmission data volume training matrix, and a transmission data volume test matrix, training and testing the initial SVM model through the transmission data volume training matrix and the transmission data volume test matrix to obtain a final SVM model; S3, setting a wireless communication network user service level set, dividing each wireless communication network user in the wireless communication network user set according to the corresponding wireless communication network user service level, and obtaining a wireless communication network user classification matrix; S4. Setting an optimal threshold bandwidth for each wireless communication network user service level in the wireless communication network user service level set by using an intelligent optimization algorithm to obtain an optimal threshold bandwidth set; S5, collecting the transmission data volume of each wireless communication network user in the wireless communication network user classification matrix in real time, obtaining a real-time transmission data volume matrix, setting a basic energy consumption transmission data volume threshold to correct the real-time transmission data volume matrix, obtaining a real-time transmission data volume correction matrix, and predicting the real-time required bandwidth of the wireless communication network user through the final SVM model; S6. Allocate bandwidth to each wireless communication user in descending order according to the service level of the wireless communication network user.

2. A method for allocating bandwidth in a wireless communication network according to claim 1, characterized in that: The S1 comprises the following steps: S11. Setting the wireless communication network user set , Indicates Wireless communication network users, Indicates the total number of wireless communication network users; S12, set the transmission data volume collection cycle set , Indicates The transmission data volume collection cycle, Indicates the total number of transmission data volume collection cycles; S13. Collecting wireless communication network user data Each wireless communication network user in the transmission data volume collection cycle set The transmission data volume of each transmission data volume collection cycle in the transmission data volume matrix is ​​obtained .

3. A method for allocating bandwidth in a wireless communication network according to claim 2, characterized in that: The S2 comprises the following steps: S21. Build the initial SVM model and set the penalty factor parameter to , the radial basis kernel parameters are And the kernel function of the initial parameter space during the operation of the initial SVM model is the Gaussian radial basis kernel function; S22. Set the training data ratio And test data ratio , divide the data of the transmission data volume matrix by the training data ratio and the test data ratio, and obtain the transmission data volume training matrix and the transmission data volume test matrix respectively; S23, set the training error threshold to , input the transmission data volume training matrix into the initial SVM model to train the initial SVM model until the training error of the initial SVM model is less than or equal to When , stop training and get the trained SVM model; S24. Setting the test accuracy threshold , input the transmission data volume test matrix into the trained SVM model for testing, obtain the real-time bandwidth required by the wireless communication network users, and calculate the accuracy of the test results ,when If , the trained SVM model is used as the final SVM model; otherwise, the grid search algorithm is used to search for the optimal penalty factor parameters and the optimal radial basis kernel parameters, and the trained SVM model is retested according to the optimal penalty factor parameters and the optimal radial basis kernel parameters until .

4. A method for allocating bandwidth in a wireless communication network according to claim 3, characterized in that: The grid search for optimal penalty factor parameters and optimal radial basis kernel parameters in S24 includes the following steps: S241, setting the search range of the penalty factor parameter and the radial basis kernel parameter, and constructing a two-dimensional search grid; S242, performing a rough search with a large step size on the two-dimensional search grid, selecting a set of penalty factor parameters and radial basis kernel parameters with the highest test accuracy, and obtaining a two-dimensional optimal parameter search grid; S243. Calculate the test accuracy of each set of penalty factor parameters and radial basis kernel parameters in the two-dimensional optimal parameter search grid according to the cross-validation method, and select the set of penalty factor parameters and radial basis kernel parameters with the highest test accuracy as the optimal penalty factor parameters and optimal radial basis kernel parameters.

5. A method for allocating bandwidth in a wireless communication network according to claim 4, characterized in that: The S3 comprises the following steps: S31, arranging the service levels of wireless communication network users from high to low, and constructing a wireless communication network user service level set , Indicates The service level of each wireless communication network user, Indicates the total number of service levels of wireless communication network users; S32, collecting the service levels of all wireless communication network users, and classifying the service levels of each wireless communication network user according to the wireless communication network user service level, to obtain a wireless communication network user classification matrix .

6. A method for allocating bandwidth in a wireless communication network according to claim 5, characterized in that: The S4 comprises the following steps: S41. Build an artificial bee population and set the maximum number of nectar source searches , maximum number of iterations , current iteration number And the population ; S42, randomly generate in the search space of the artificial bee population A honey source as the initial solution; S43, calculating the fitness of all randomly generated nectar sources; the fitness function formula is as follows: ; in, represents the fitness function value, Indicates the bandwidth ratio that meets the basic network usage of wireless communication network users. Indicates the correction value; S44, start iteration, select from the artificial bee population There are hired bees, one hired bee is assigned to each nectar source. Each hired bee searches for a new nectar source near the current nectar source. After finding a new nectar source, the fitness of the new nectar source is calculated. If the fitness of the new nectar source is higher than that of the original nectar source, the new nectar source replaces the original nectar source; otherwise, the original nectar source increases the number of nectar source searches by one. S45, the remaining artificial bees in the artificial bee population are used as follower bees, and the follower bees select the nectar source location of the employed bees through a roulette strategy. When the follower bees arrive at the selected nectar source location, they search for a new nectar source near the current nectar source according to the formula for searching nectar sources by employed bees, and calculate the fitness of the new nectar source after finding it. If the fitness of the new nectar source is higher than that of the original nectar source, the new nectar source replaces the original nectar source; otherwise, the number of nectar source searches for the original nectar source increases once; S46, record the number of searches for each nectar source, and when the number of searches for a nectar source reaches the maximum number of searches for a nectar source , the nectar source is abandoned, and the employed bees at the nectar source position randomly generate a new nectar source in the search space according to the steps in S44; S47, determine the current number of iterations Whether the maximum number of iterations has been reached If it is not reached, return to S44; if it is reached, calculate the fitness of all current honey sources, select the honey source with the highest fitness as the current global optimal solution, output the optimal threshold bandwidth of each wireless communication network user service level, and obtain the optimal threshold bandwidth set.

7. A method for allocating bandwidth in a wireless communication network according to claim 6, characterized in that: The S5 comprises the following steps: S51. Real-time collection of wireless communication network user classification matrix The real-time transmission data volume of each wireless communication network user in the real-time transmission data volume matrix is ​​obtained as follows: ; in, Indicates The first in the service level of wireless communication network users The real-time transmission data volume of wireless communication network users, Indicates The total number of wireless communication network users in the wireless communication network user service level; S52, correcting each real-time transmission data amount in the real-time transmission data amount matrix one by one to obtain a real-time transmission data amount correction matrix ; S53, correcting the real-time transmission data volume matrix The corrected real-time transmission data volume in the final SVM model is used to predict the real-time bandwidth required by each wireless communication network user, and the user real-time required bandwidth matrix is ​​obtained. .

8. A method for allocating bandwidth in a wireless communication network according to claim 7, characterized in that: The step S52 of correcting each real-time transmission data amount in the real-time transmission data amount matrix one by one comprises the following steps: Set the basic energy consumption data transmission volume threshold , the real-time transmission data volume in the real-time transmission data volume matrix is ​​corrected one by one through the basic energy consumption transmission data volume threshold; like , then The first in the service level of wireless communication network users The real-time transmission data volume of wireless communication network users remain unchanged; like , then the The first in the service level of wireless communication network users The real-time transmission data volume of wireless communication network users Corrected to 0.

9. A method for allocating bandwidth in a wireless communication network according to claim 8, characterized in that: The S6 comprises the following steps: S61, allocating the optimal threshold bandwidth corresponding to the optimal threshold bandwidth set to each wireless communication network user whose corrected real-time transmission data volume is not 0; S62, allocating the total remaining bandwidth to all wireless communication network users in order of the service levels of the wireless communication network users, from high to low, to form a matrix of bandwidth required by the users in real time. The real-time bandwidth required by the corresponding user; S621, if the remaining total bandwidth can allocate the user's real-time required bandwidth matrix to all wireless communication network users The bandwidth allocation operation is terminated after allocating the real-time bandwidth required by all wireless communication network users in the lowest wireless communication network user service level. S622: If the remaining bandwidth is allocated to When there is a wireless communication network user service level, it is impossible to allocate the user real-time required bandwidth matrix to all wireless communication network users in the wireless communication network user service level. The corresponding user in real time requires bandwidth, then all the remaining bandwidth is evenly distributed to the first After all wireless communication network users in the wireless communication network user service level are reached, the bandwidth allocation operation is ended.

10. A system for implementing the bandwidth allocation method in a wireless communication network as described in any one of claims 1 to 9, comprising a data acquisition module, a final SVM model construction module, a wireless communication network user service level classification module, an optimal threshold bandwidth setting module, a wireless communication network user real-time required bandwidth prediction module and a wireless communication user bandwidth allocation module.

Citation Information

Patent Citations

  • Request task scheduling method and scheduling centre server

    CN109547546A

  • Least square support vector machine network flow prediction method based on improved ABC-VMD

    CN115225516A

  • Campus network traffic prediction method, apparatus and device, and storage medium

    CN118468022A

  • Support vector machine-based resource allocation method in heterogeneous network

    WO2021232848A1

Cited By

  • Computer network management system

    CN120238438A