Business volume prediction method and device of base station, electronic equipment, product and storage medium

Through the method of dynamic KNN model and coverage scenario matching parameter group, the problem of poor accuracy of base station traffic prediction is solved, base station traffic prediction is realized in complex scenarios, and investment efficiency and user experience are improved.

CN118803831APending Publication Date: 2024-10-18SHANXI CHINA MOBILE COMM CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410180173.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-18
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing base station traffic forecasting methods have poor accuracy, especially in complex scenarios where it is difficult to accurately predict the traffic of new stations, affecting investment benefits and user experience.

Method used

The dynamic K nearest neighbor algorithm (KNN) model is used, based on sample base station data and traffic label training, and matching parameter groups according to the coverage scenario to predict the traffic volume of the base station to be planned. This method determines the coverage distance of base stations and neighboring base stations by obtaining data such as building density coefficients, frequency bands, and building base station ratios, calculates predicted business volume, and improves prediction accuracy.

Benefits of technology

Through the application of the dynamic KNN model, the traffic volume of the base station to be planned can be accurately predicted according to different coverage scenarios, which improves the accuracy and efficiency of prediction and is suitable for base station planning in complex scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803831A_ABST
    Figure CN118803831A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and provides a base station service volume prediction method and device, electronic equipment, a product and a storage medium. The method comprises the following steps: acquiring base station data of a base station to be planned, wherein any base station to be planned corresponds to a coverage scene; inputting the base station data into a base station traffic prediction model, and obtaining the predicted traffic of the to-be-planned base station output by the base station traffic prediction model; wherein the base station service volume prediction model is obtained by training based on sample base station data and a sample service volume label of the sample base station data on the basis of a dynamic K-nearest neighbor (KNN) algorithm model, and the predicted service volume is obtained by determining a parameter group based on the coverage scene by the base station service volume prediction model. And determining based on the base station data and the parameter group. According to different coverage scenes, the corresponding parameter groups are matched, the predicted service volume is determined, and the accuracy of predicting the service volume of the to-be-planned base station is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, electronic device, product and storage medium for predicting the traffic volume of a base station. Background Art

[0002] As the number of communication users increases, telecom operators need to deploy more and more base stations, and the scenarios they face are becoming more and more complex. In complex scenarios, when building new base stations, it is very important to improve investment benefits and user perception by predicting the traffic volume of base stations, such as traffic. At present, the methods for predicting the traffic volume of base stations mainly include those based on expert experience and statistical rules.

[0003] Expert experience-based methods usually use subjective knowledge and experience acquired by people in the statistical modeling process to infer unknown results. This method does not have a fixed mathematical model, but relies on the judgment of experts, which has poor accuracy. Summary of the invention

[0004] Embodiments of the present application provide a method, device, electronic device, product and storage medium for predicting the traffic volume of a base station, which are used to solve the technical problem of poor accuracy of the method for predicting the traffic volume of a base station.

[0005] In a first aspect, an embodiment of the present application provides a method for predicting the traffic volume of a base station, including:

[0006] Acquire base station data of a base station to be planned, wherein any base station to be planned corresponds to a coverage scenario;

[0007] Inputting the base station data into a base station traffic prediction model, and obtaining the predicted traffic volume of the base station to be planned output by the base station traffic prediction model;

[0008] Among them, the base station traffic prediction model is obtained by training based on the dynamic K nearest neighbor algorithm KNN model, based on sample base station data and the sample traffic volume labels of the sample base station data. The predicted traffic is determined by the base station traffic prediction model based on the parameter group determined by the coverage scenario, and based on the base station data and the parameter group.

[0009] In one embodiment, the base station traffic prediction model is trained based on the following steps:

[0010] Based on the sample traffic labels of multiple sample base stations, the sample base station data are labeled to obtain multiple training data;

[0011] According to the coverage scenario, the training data is divided into a plurality of training data sets, and any of the coverage scenarios corresponds to a group of training data sets;

[0012] Based on each set of the training data sets, determining a matching parameter set from a plurality of preset initial parameter sets;

[0013] Based on the parameter group corresponding to each coverage scenario, the base station traffic prediction model is obtained.

[0014] In one embodiment, determining a matching parameter group from a plurality of preset initial parameter groups based on each set of the training data sets includes:

[0015] Based on a plurality of the training data of any group of the training data sets, determine a sample predicted traffic volume set corresponding to each group of the initial parameter set, and determine a score value for each of the sample predicted traffic volume sets, each of the sample predicted traffic volume sets including a plurality of the sample predicted traffic volumes;

[0016] The initial parameter group corresponding to the maximum score value is used as the parameter group matching the training data set.

[0017] In one embodiment, the acquiring base station data of the base station to be planned includes:

[0018] The base station data is determined based on the building density coefficient, frequency band, building-to-base station ratio, engineering parameter data and coverage scenario of the base station to be planned, wherein the building density coefficient is the density of buildings in the area to which the base station to be planned belongs, and the building-to-base station ratio is the ratio of the number of buildings to the number of base stations in the area to which the base station to be planned belongs.

[0019] In one embodiment, the base station traffic prediction model is used to:

[0020] Acquire a parameter group matching the coverage scenario, the parameter group including a distance variable coefficient and a number of candidate neighboring base stations;

[0021] Based on the frequency band, determining the frequency band coverage distance of the base station to be planned;

[0022] Determining the base station coverage distance of the base station to be planned based on the building density coefficient, the distance variable coefficient and the frequency band coverage distance;

[0023] Sorting the target base stations based on the distance between the target base stations and the base stations to be planned, wherein the target base stations represent existing base stations whose similarity with the base stations to be planned is within a preset range;

[0024] Determine at least one candidate neighboring base station of the base station to be planned based on the sorting result and the number of the candidate neighboring base stations;

[0025] Determine a similar neighboring base station of the base station to be planned based on the candidate neighboring base stations and the base station coverage distance;

[0026] The predicted traffic volume is determined based on an average value of the initial traffic volumes of the similar neighboring base stations.

[0027] In one embodiment, the determining, based on the candidate neighboring base stations and the base station coverage distance, a similar neighboring base station of the base station to be planned includes:

[0028] Determine a polygon with the position of any candidate neighboring base station as the center and the base station coverage distance as the side length;

[0029] When the number of buildings in the polygonal area is greater than a first set number and less than a second set number, the alternative neighbor base station is used as the same type neighbor base station, and the first set number and the second set number are determined based on the number of buildings in the polygonal area of ​​the base station to be planned.

[0030] In one embodiment, determining the score value of each sample predicted traffic volume set includes:

[0031] Based on the number of first positive class numbers and the number of second positive class numbers of the sample predicted traffic volume set, the accuracy of the sample predicted traffic volume set is determined; wherein, when the sample predicted traffic volume and the sample traffic volume label corresponding to the sample predicted traffic volume are both greater than or equal to a predetermined traffic volume threshold, the sample predicted traffic volume is determined as the first positive class number; when the sample predicted traffic volume is greater than or equal to the traffic volume threshold, and the sample traffic volume label corresponding to the sample predicted traffic volume is less than the traffic volume threshold, the sample predicted traffic volume is determined as the second positive class number;

[0032] Based on the number of the first positive class numbers and the number of negative class numbers of the sample predicted traffic volume set, determining the recall rate of the sample predicted traffic volume set; wherein, when the sample predicted traffic volume is less than the traffic volume threshold, and the sample traffic volume label corresponding to the sample predicted traffic volume is greater than or equal to the traffic volume threshold, the sample predicted traffic volume is determined as the negative class number;

[0033] Based on the precision and the recall, a score value of the sample predicted traffic volume set corresponding to the initial parameter group is determined.

[0034] In a second aspect, the present application provides a traffic volume prediction device for a base station, comprising:

[0035] A base station data acquisition module is used to acquire base station data of a base station to be planned, where any base station to be planned corresponds to a coverage scenario;

[0036] A predicted traffic volume acquisition module is used to input the base station data into a base station traffic volume prediction model to obtain the predicted traffic volume of the base station to be planned output by the base station traffic volume prediction model; wherein the base station traffic volume prediction model is obtained by training based on sample base station data and its corresponding sample traffic volume labels on the basis of a dynamic K nearest neighbor algorithm KNN model, and the predicted traffic volume is determined by the base station traffic volume prediction model based on the parameter group determined by the coverage scenario, and based on the base station data and the parameter group.

[0037] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory storing a computer program, wherein when the processor executes the program, the base station traffic prediction method described in the first aspect is implemented.

[0038] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the base station traffic prediction method described in the first aspect.

[0039] In a fifth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the base station traffic prediction method described in the first aspect.

[0040] The base station traffic prediction method, device, electronic device, product and storage medium provided in the embodiments of the present application obtain the base station data of the base station to be planned, any of the base stations to be planned corresponds to a coverage scenario; the base station data is input into the base station traffic prediction model, and the predicted traffic volume of the base station to be planned output by the base station traffic prediction model is obtained; wherein the base station traffic prediction model is based on the dynamic K nearest neighbor algorithm KNN model, and is trained based on sample base station data and sample traffic volume labels of the sample base station data, and the predicted traffic volume is determined by the base station traffic prediction model based on the coverage scenario to determine the parameter group, and based on the base station data and the parameter group. The present application matches the corresponding parameter group according to different coverage scenarios, and then determines the predicted traffic volume, thereby improving the accuracy of predicting the traffic volume of the base station to be planned. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0042] Figure 1 This is one of the flow charts of the method for predicting the traffic volume of a base station provided in an embodiment of the present application;

[0043] Figure 2 This is the second flow chart of the method for predicting the traffic volume of a base station provided in an embodiment of the present application;

[0044] Figure 3 It is a structural diagram of a traffic volume prediction device for a base station provided in an embodiment of the present application;

[0045] Figure 4 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0047] Figure 1 This is one of the flow charts of the method for predicting the traffic volume of a base station provided in an embodiment of the present application. Figure 1 The present application embodiment provides a method for predicting the traffic volume of a base station, comprising:

[0048] Step 100: Acquire base station data of a base station to be planned.

[0049] Any base station to be planned corresponds to a coverage scenario.

[0050] Obtain the base station data of the base station to be planned. Specifically, determine the base station data based on the building density coefficient, frequency band, building-to-base station ratio, engineering parameter data and coverage scenario of the base station to be planned. The building density coefficient is the density of buildings in the area to which the base station to be planned belongs, and the building-to-base station ratio is the ratio of the number of buildings in the area to which the base station to be planned belongs to the number of base stations.

[0051] Obtain the longitude and latitude, station type, engineering parameter data, longitude and latitude data, and map data of the base station to be planned. The engineering parameter data includes the coverage scenario of the base station to be planned. The longitude and latitude data include the value data of the base station to be planned, such as traffic, number of users, etc. The map data includes the type, area, and longitude and latitude of the building (including the base station) at the location of the base station to be planned. One set of base station data corresponds to one coverage scenario. Determine the building density coefficient according to the density of buildings in the area to which the base station to be planned belongs. Determine the building-to-base station ratio according to the ratio of the number of buildings to the number of base stations in the area to which the base station to be planned belongs. Determine the frequency band according to the type of the base station to be planned, etc. Each set of base station data includes the building density coefficient, frequency band, building-to-base station ratio, and coverage scenario of the base station to be planned in a specific coverage scenario. The coverage scenario is the scenario covered by the base station to be planned, such as rural scenario, urban scenario, university scenario, etc.

[0052] Step 200: input the base station data into the base station traffic prediction model, and obtain the predicted traffic volume of the base station to be planned output by the base station traffic prediction model.

[0053] Among them, the base station traffic prediction model is obtained by training based on the dynamic K nearest neighbor algorithm KNN model, based on sample base station data and sample traffic label training of sample base station data. The predicted traffic is determined by the base station traffic prediction model based on the coverage scenario to determine the parameter group, based on the base station data and the parameter group.

[0054] The K-Nearest Neighbor algorithm (KNN) model determines the category of the input sample through the K closest samples; and obtains the output feature value of the input sample by weighted averaging the features of the K samples. In the dynamic KNN model, the parameter group of each base station to be planned changes dynamically with the coverage scenario. Based on multiple sample base station data and sample base station data sample traffic labels, the dynamic KNN model is trained to obtain a base station traffic prediction model suitable for a variety of coverage scenarios.

[0055] The base station data of the base station to be planned is input into the base station traffic prediction model, and the base station traffic prediction model matches the corresponding parameter group according to the coverage scenario to which the base station data belongs. The base station traffic prediction model processes the base station data according to the parameter group and outputs the predicted traffic volume of the base station to be planned.

[0056] The base station traffic prediction method provided in the embodiment of the present application obtains the base station data of the base station to be planned, and any base station to be planned corresponds to a coverage scenario; the base station data is input into the base station traffic prediction model, and the predicted traffic volume of the base station to be planned output by the base station traffic prediction model is obtained; wherein the base station traffic prediction model is based on the dynamic K nearest neighbor algorithm KNN model, and is trained based on sample base station data and sample traffic volume labels of the sample base station data, and the predicted traffic volume is determined by the base station traffic prediction model based on the coverage scenario to determine the parameter group, based on the base station data and the parameter group. The embodiment of the present application matches the corresponding parameter group according to different coverage scenarios, and then determines the predicted traffic volume, thereby improving the accuracy of predicting the traffic volume of the base station to be planned.

[0057] Based on the above embodiment, the base station traffic prediction model is trained based on the following steps:

[0058] Step 210: labeling the sample base station data based on the sample traffic labels of the multiple sample base stations to obtain multiple training data;

[0059] Step 220: Divide the training data into multiple sets of training data sets according to the coverage scenarios, and any coverage scenario corresponds to one set of training data sets;

[0060] Step 230: Based on each set of the training data sets, determine a matching parameter group from a plurality of preset initial parameter groups;

[0061] Step 240: Based on the parameter group corresponding to each coverage scenario, a base station traffic prediction model is obtained.

[0062] Obtain sample base station data and sample traffic labels of the sample base station data under each coverage scenario. Label the sample base station data according to the sample traffic labels to obtain labeled training data. Divide the multiple training data into multiple training data sets according to the coverage scenarios. One set of training data sets corresponds to one coverage scenario.

[0063] Based on each group of training data sets, a matching parameter group is determined from multiple preset initial parameter groups. Specifically, based on multiple training data of any group of training data sets, a sample prediction business volume set corresponding to each initial parameter group is determined, and a score value of each sample prediction business volume set is determined, and each sample prediction business volume set includes multiple sample prediction business volumes; the initial parameter group corresponding to the maximum score value is used as the parameter group that matches the training data set.

[0064] Multiple groups of initial parameter groups are pre-set, each group of initial parameter groups includes an initial distance variable coefficient and an initial candidate neighbor base station number. First, determine the value range of the initial distance variable coefficient Q0 and the initial candidate neighbor base station number M0, for example, the value range of M0 is 3-50, and the value range of Q0 is 0.8-1.2. Enumerate different combinations of initial distance variable coefficients and initial candidate neighbor base station numbers within the value range.

[0065] The matching parameter group of each training data set is determined to obtain a parameter group matching each coverage scenario. According to the parameter groups of all coverage scenarios, a base station traffic prediction model is obtained.

[0066] According to any training data of a training data set and any initial parameter group, determine the sample predicted traffic volume of a sample base station. According to all training data of a training data set and the same initial parameter group, determine the sample predicted traffic volume set corresponding to the initial parameter group. For a training data set, determine the sample predicted traffic volume set for each initial parameter group.

[0067] For any training data and any set of initial parameter groups, determine the sample predicted traffic volume of the sample base station, the initial parameter group includes an initial distance variable coefficient and an initial number of selected neighboring base stations. Based on the sample frequency band, determine the sample frequency band coverage distance of the sample base station. Based on the sample building density coefficient, the initial distance variable coefficient and the sample frequency band coverage distance, determine the sample base station coverage distance of the sample base station. Determine the existing base stations whose similarity with the sample base station is within a preset range, and sort the existing base stations based on the distance between the existing base stations and the sample base station. Based on the sorting result and the initial number of candidate neighboring base stations, determine at least one sample candidate neighboring base station of the sample base station. Based on the sample candidate neighboring base stations and the sample base station coverage distance, determine the sample similar neighboring base stations of the sample base station. Determine the sample predicted traffic volume based on the average value of the sample traffic volume of the sample similar neighboring base stations.

[0068] For each set of training data, the sample predicted traffic volume set of each initial parameter group is scored to obtain the score value of each sample predicted traffic volume set. The larger the score value, the more the initial parameter group corresponding to the score value matches the training data set. For each set of training data, the initial parameter group corresponding to the maximum score value is used as the parameter group of the training data set.

[0069] Determine the score value of each sample prediction business volume set, including: determine the precision of the sample prediction business volume set based on the number of first positive class numbers and the number of second positive class numbers of the sample prediction business volume set; wherein, when the sample prediction business volume and the sample business volume label corresponding to the sample prediction business volume are both greater than or equal to a predetermined business volume threshold, the sample prediction business volume is determined as the first positive class number; when the sample prediction business volume is greater than or equal to the business volume threshold, and the sample business volume label corresponding to the sample prediction business volume is less than the business volume threshold, the sample prediction business volume is determined as the second positive class number; determine the recall rate of the sample prediction business volume set based on the number of first positive class numbers and the number of negative class numbers of the sample prediction business volume set; wherein, when the sample prediction business volume is less than the business volume threshold, and the sample business volume label corresponding to the sample prediction business volume is greater than or equal to the business volume threshold, the sample prediction business volume is determined as a negative class number; determine the score value of the sample prediction business volume set corresponding to the initial parameter group based on the precision rate and the recall rate.

[0070] The calculation formula for the score value of the sample predicted business volume set is:

[0071]

[0072] Among them, P is the precision, G is the recall, F is the score, TP is the number of first positive classes, FP is the number of second positive classes, and FN is the number of negative classes.

[0073] Determine the parameter group corresponding to each training data set, and then obtain the parameter group matching each coverage scenario. According to the parameter groups of all coverage scenarios, obtain the base station service prediction model.

[0074] The embodiment of the present application obtains a base station traffic prediction model by determining a parameter group for each coverage scenario, which is conducive to accurately predicting the base stations to be planned in different coverage scenarios.

[0075] Based on the above embodiment, the base station traffic volume prediction model is used to determine the predicted traffic volume, including:

[0076] Step 210: Acquire a parameter group matching the coverage scenario, the parameter group including a distance variable coefficient and a number of candidate neighboring base stations;

[0077] Step 220: Based on the frequency band, determine the frequency band coverage distance of the base station to be planned;

[0078] Step 230: Determine the base station coverage distance of the base station to be planned based on the building density coefficient, the distance variable coefficient and the frequency band coverage distance;

[0079] Step 240: sorting the target base stations based on the distances between the target base stations and the base stations to be planned, where the target base stations represent existing base stations whose similarity with the base stations to be planned is within a preset range;

[0080] Step 250: Determine at least one candidate neighboring base station of the base station to be planned based on the ranking result and the number of candidate neighboring base stations;

[0081] Step 260: Determine similar neighboring base stations of the base station to be planned based on the candidate neighboring base stations and the base station coverage distance;

[0082] Step 270: Determine the predicted traffic volume based on the average value of the initial traffic volumes of similar neighboring base stations.

[0083] The base station traffic prediction model matches the corresponding parameter group according to the coverage scenario of the base station data. The parameter group includes the distance variable coefficient and the number of candidate neighboring base stations.

[0084] The frequency band coverage distance is the statistical distance corresponding to the frequency band in different scenarios. The frequency band is converted into the frequency band coverage distance according to the propagation model of the 3rd Generation Partnership Project (3GPP).

[0085] The initial base station coverage distance is determined based on the building density coefficient and the frequency band coverage distance. The base station coverage distance is determined based on the initial base station coverage distance and the distance variable coefficient. The calculation formula for the initial base station coverage distance and the base station coverage distance is:

[0086]

[0087] Among them, L0 is the initial base station coverage distance, D is the frequency band coverage distance, R is the building density coefficient, L is the base station coverage distance, and Q is the distance variable coefficient.

[0088] Similar neighboring base stations require that the standard, station type and number of buildings covered by the base station are the same as those of the base station to be planned. Determine similar neighboring base stations through the following steps. According to the standard and station type in the engineering parameter data of the base station to be planned, determine the initial existing base station with the same standard and station type as the base station to be planned. Select the initial existing base station whose similarity with the base station to be planned is within a preset range as the existing base station. For example, select the initial existing base station whose base station height is within 20% of the height of the base station to be planned as the existing base station. Obtain the number M of alternative neighboring base stations in the parameter group. Sort the existing base stations according to the distance between the existing base stations and the base stations to be planned. According to the sorting results, determine the M existing base stations that are closest to the base station to be planned as the set of alternative neighboring base stations, and the set of alternative base stations includes M alternative neighboring base stations.

[0089] Based on the alternative neighbor base stations and the base station coverage distance, the same type of neighbor base stations of the base station to be planned are determined. Specifically, a polygon is determined with the position of any alternative neighbor base station as the center and the base station coverage distance as the side length; when the number of buildings in the area of ​​the polygon is greater than a first set number and less than a second set number, the alternative neighbor base station is regarded as the same type of neighbor base station. The first set number and the second set number are determined based on the number of buildings in the area of ​​the polygon of the base station to be planned.

[0090] For example, with the location of the base station to be planned as the center and the base station coverage distance L of the base station to be planned as the side length, a square of the base station to be planned is drawn, and the number of buildings N within the square of the base station to be planned is calculated. Based on N, a first set number N1 and a second set number N2 of N are formed according to expert experience, for example, N1=0.8N, N2=1.2N.

[0091] With the location of any candidate neighboring base station as the center and the base station coverage distance L of the base station to be planned as the side length, draw a square of the candidate neighboring base station and calculate the number of buildings within the square of the candidate neighboring base station. When the number of buildings within the square of the candidate neighboring base station is greater than N1 and less than N2, the candidate neighboring base station is regarded as a similar neighboring base station of the base station to be planned. Determine all similar neighboring base stations in the candidate neighboring base station set until the number of similar neighboring base stations reaches the set threshold. If the number of similar neighboring base stations does not reach the set threshold, increase the number of candidate neighboring base stations M and repeat the above steps until the number of similar neighboring base stations reaches the set threshold.

[0092] The predicted traffic volume is the average of the initial traffic volumes of all similar neighboring base stations. The calculation formula for the predicted traffic volume is:

[0093]

[0094] Among them, W i is the i-th similar neighboring base station, S is the number of similar neighboring base stations, and W is the predicted traffic volume.

[0095] The embodiment of the present application determines the distance variable coefficient and the candidate neighboring base station according to the coverage scenario, and realizes the accurate prediction of the business volume of the base station to be planned in different coverage scenarios. The present application determines the similar neighboring base stations according to the base station coverage distance of different base stations to be planned, and realizes the accurate prediction of the business volume of different base stations to be planned.

[0096] In order to further analyze and illustrate the traffic volume prediction method of the base station provided in the embodiment of the present application, the following embodiments and Figure 2 To explain:

[0097] The traffic volume prediction method of a base station includes:

[0098] (1) Obtain training data sets for different coverage scenarios: Obtain initial sample basic data for different coverage scenarios, merge the initial sample basic data of the same sample base station into a table, and obtain the sample basic data of the sample base station. According to the coverage scenario of the sample base station, the sample basic data is divided into different training data sets, and one training data set corresponds to one coverage scenario.

[0099] (2) Establish a dynamic KNN model: determine multiple groups of initial data sets, and determine the sample similar neighboring base stations of the sample base station according to the initial four data sets. According to the sample similar neighboring base stations, obtain the sample predicted traffic volume.

[0100] (3) Determine the matching parameter group for the coverage scenario: Based on a training data set, determine a sample prediction traffic set of an initial parameter group. Generate a sample prediction traffic set for each initial parameter group. Calculate the score values ​​of all sample prediction traffic sets corresponding to the training data set. When the maximum score value reaches the score threshold, the initial parameter group corresponding to the maximum score value is used as the matching parameter group for the training data set. When the maximum score value does not reach the score threshold, modify the value range of the initial distance variable coefficient and the initial number of candidate neighboring base stations in the initial parameter group. According to the above steps, re-determine the matching parameter group of the training data set until the matching parameter groups of all training sets are determined to obtain a base station traffic prediction model.

[0101] (4) Acquire base station data of the base station to be planned, input the base station data into a base station traffic prediction model, and obtain the predicted traffic volume of the base station to be planned.

[0102] The base station traffic prediction method provided in the embodiment of the present application can efficiently and accurately predict the base station traffic based on the KNN algorithm through machine learning methods. The embodiment of the present application adopts the optimal base station traffic prediction model trained by different scenarios, and can accurately predict the traffic of different base stations to be planned in different coverage scenarios.

[0103] The following describes a base station traffic volume prediction device provided by an embodiment of the present application. The base station traffic volume prediction device described below and the base station traffic volume prediction method described above can be referred to each other. Figure 3 , Figure 3 1 is a schematic diagram of the structure of a traffic volume prediction device for a base station provided in an embodiment of the present application. A traffic volume prediction device for a base station includes:

[0104] The base station data acquisition module 301 is used to acquire base station data of the base station to be planned, and any base station to be planned corresponds to a coverage scenario;

[0105] The predicted traffic volume acquisition module 302 is used to input the base station data into the base station traffic volume prediction model, and obtain the predicted traffic volume of the base station to be planned output by the base station traffic volume prediction model; wherein the base station traffic volume prediction model is obtained by training based on the sample base station data and its corresponding sample traffic volume labels on the basis of the dynamic K nearest neighbor algorithm KNN model, and the predicted traffic volume is determined by the base station traffic volume prediction model based on the coverage scenario to determine the parameter group, based on the base station data and the parameter group.

[0106] The base station traffic prediction method provided in the embodiment of the present application obtains the base station data of the base station to be planned, and any base station to be planned corresponds to a coverage scenario; the base station data is input into the base station traffic prediction model, and the predicted traffic volume of the base station to be planned output by the base station traffic prediction model is obtained; wherein the base station traffic prediction model is based on the dynamic K nearest neighbor algorithm KNN model, and is trained based on sample base station data and sample traffic volume labels of the sample base station data, and the predicted traffic volume is determined by the base station traffic prediction model based on the coverage scenario to determine the parameter group, based on the base station data and the parameter group. The embodiment of the present application matches the corresponding parameter group according to different coverage scenarios, and then determines the predicted traffic volume, thereby improving the accuracy of predicting the traffic volume of the base station to be planned.

[0107] In one embodiment, the predicted traffic volume acquisition module 302 is used to determine the base station traffic volume prediction model based on the following steps: based on the sample traffic volume labels of multiple sample base stations, the sample base station data is labeled to obtain multiple training data, and the training data is divided into multiple groups of training data sets according to the coverage scenario, and any coverage scenario corresponds to a group of training data sets; based on each group of training data sets, a matching parameter group is determined from multiple preset initial parameter groups; based on the parameter group corresponding to each coverage scenario, a base station traffic volume prediction model is obtained.

[0108] In one embodiment, the predicted business volume acquisition module 302 is used to: determine the sample predicted business volume set corresponding to each group of initial parameter groups based on multiple training data of any group of training data sets, determine the score value of each sample predicted business volume set, and each sample predicted business volume set includes multiple sample predicted business volumes; use the initial parameter group corresponding to the maximum score value as the parameter group that matches the training data set.

[0109] In one embodiment, the base station data acquisition module 301 is used to obtain the base station data of the base station to be planned, including: determining the base station data based on the building density coefficient, frequency band, building-to-base station ratio, engineering parameter data and coverage scenario of the base station to be planned, the building density coefficient is the density of buildings in the area to which the base station to be planned belongs, and the building-to-base station ratio is the ratio of the number of buildings in the area to which the base station to be planned belongs to the number of base stations.

[0110] In one embodiment, the predicted traffic volume acquisition module 302 is used to: obtain a parameter group matching the coverage scenario, the parameter group including a variable distance coefficient and the number of alternative neighboring base stations; determine the frequency band coverage distance of the base station to be planned based on the frequency band; determine the base station coverage distance of the base station to be planned based on the building density coefficient, the variable distance coefficient and the frequency band coverage distance; sort the target base stations based on the distance between the target base station and the base station to be planned, the target base station representing an existing base station whose similarity with the base station to be planned is within a preset range; determine at least one alternative neighboring base station of the base station to be planned based on the sorting result and the number of alternative neighboring base stations; determine the same type of neighboring base stations of the base station to be planned based on the alternative neighboring base stations and the base station coverage distance; determine the predicted traffic volume based on the average value of the initial traffic volume of the same type of neighboring base stations.

[0111] In one embodiment, the predicted traffic volume acquisition module 302 is used to: determine a polygon with the location of any alternative neighboring base station as the center and the base station coverage distance as the side length; when the number of buildings in the area of ​​the polygon is greater than a first set number and less than a second set number, the alternative neighboring base station is treated as a similar neighboring base station, and the first set number and the second set number are determined based on the number of buildings in the area of ​​the polygon of the base station to be planned.

[0112] In one embodiment, the predicted business volume acquisition module 302 is used to: determine the precision of the sample predicted business volume set based on the number of first positive class numbers and the number of second positive class numbers of the sample predicted business volume set; wherein, when the sample predicted business volume and the sample business volume label corresponding to the sample predicted business volume are both greater than or equal to a predetermined business volume threshold, the sample predicted business volume is determined as the first positive class number; when the sample predicted business volume is greater than or equal to the business volume threshold, and the sample business volume label corresponding to the sample predicted business volume is less than the business volume threshold, the sample predicted business volume is determined as the second positive class number; based on the number of first positive class numbers and the number of negative class numbers of the sample predicted business volume set, determine the recall rate of the sample predicted business volume set; wherein, when the sample predicted business volume is less than the business volume threshold, and the sample business volume label corresponding to the sample predicted business volume is greater than or equal to the business volume threshold, the sample predicted business volume is determined as a negative class number; based on the precision rate and the recall rate, determine the score value of the sample predicted business volume set corresponding to the initial parameter group.

[0113] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4As shown, the electronic device may include: a processor (processor) 410, a communication interface (Communication Interface) 420, a memory (memory) 430 and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call a computer program in the memory 430 to execute a traffic volume prediction method of a base station, for example, including:

[0114] The base station data of the base stations to be planned are obtained, and any base station to be planned corresponds to a coverage scenario; the base station data is input into the base station traffic prediction model, and the predicted traffic volume of the base station to be planned output by the base station traffic prediction model is obtained; wherein the base station traffic prediction model is trained based on the dynamic K nearest neighbor algorithm KNN model, based on sample base station data and sample traffic volume labels of the sample base station data, and the predicted traffic volume is determined by the base station traffic prediction model based on the coverage scenario to determine the parameter group, and based on the base station data and the parameter group.

[0115] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0116] On the other hand, an embodiment of the present application further provides a computer program product, the computer program product including a computer program, the computer program may be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can execute the traffic volume prediction method of the base station provided in the above embodiments, for example, including:

[0117] The base station data of the base stations to be planned are obtained, and any base station to be planned corresponds to a coverage scenario; the base station data is input into the base station traffic prediction model, and the predicted traffic volume of the base station to be planned output by the base station traffic prediction model is obtained; wherein the base station traffic prediction model is trained based on the dynamic K nearest neighbor algorithm KNN model, based on sample base station data and sample traffic volume labels of the sample base station data, and the predicted traffic volume is determined by the base station traffic prediction model based on the coverage scenario to determine the parameter group, and based on the base station data and the parameter group.

[0118] On the other hand, an embodiment of the present application further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores a computer program, wherein the computer program is used to enable a processor to execute the traffic volume prediction method of the base station provided in the above embodiments, for example, including:

[0119] The base station data of the base stations to be planned are obtained, and any base station to be planned corresponds to a coverage scenario; the base station data is input into the base station traffic prediction model, and the predicted traffic volume of the base station to be planned output by the base station traffic prediction model is obtained; wherein the base station traffic prediction model is trained based on the dynamic K nearest neighbor algorithm KNN model, based on sample base station data and sample traffic volume labels of the sample base station data, and the predicted traffic volume is determined by the base station traffic prediction model based on the coverage scenario to determine the parameter group, and based on the base station data and the parameter group.

[0120] The non-transitory computer-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)), etc.

[0121] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0122] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method 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 this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for 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.

[0123] 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 it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for predicting the traffic volume of a base station, characterized in that: include: Acquire base station data of a base station to be planned, wherein any base station to be planned corresponds to a coverage scenario; Inputting the base station data into a base station traffic prediction model, and obtaining the predicted traffic volume of the base station to be planned output by the base station traffic prediction model; Among them, the base station traffic prediction model is obtained by training based on the dynamic K nearest neighbor algorithm KNN model, based on sample base station data and the sample traffic volume labels of the sample base station data. The predicted traffic is determined by the base station traffic prediction model based on the parameter group determined by the coverage scenario, and based on the base station data and the parameter group.

2. The method for predicting the traffic volume of a base station according to claim 1, characterized in that: The base station traffic prediction model is trained based on the following steps: Based on the sample traffic labels of multiple sample base stations, the sample base station data are labeled to obtain multiple training data; According to the coverage scenario, the training data is divided into a plurality of training data sets, and any of the coverage scenarios corresponds to a group of training data sets; Based on each set of the training data sets, determining a matching parameter set from a plurality of preset initial parameter sets; Based on the parameter group corresponding to each coverage scenario, the base station traffic prediction model is obtained.

3. The method for predicting the traffic volume of a base station according to claim 2, characterized in that: The step of determining a matching parameter group from a plurality of preset initial parameter groups based on each set of the training data sets includes: Based on a plurality of the training data of any group of the training data sets, determine a sample predicted traffic volume set corresponding to each group of the initial parameter set, and determine a score value for each of the sample predicted traffic volume sets, each of the sample predicted traffic volume sets including a plurality of the sample predicted traffic volumes; The initial parameter group corresponding to the maximum score value is used as the parameter group matching the training data set.

4. The method for predicting the traffic volume of a base station according to claim 1, characterized in that: The obtaining of base station data of the base station to be planned includes: The base station data is determined based on the building density coefficient, frequency band, building-to-base station ratio, engineering parameter data and coverage scenario of the base station to be planned, wherein the building density coefficient is the density of buildings in the area to which the base station to be planned belongs, and the building-to-base station ratio is the ratio of the number of buildings to the number of base stations in the area to which the base station to be planned belongs.

5. The method for predicting the traffic volume of a base station according to claim 4, characterized in that: The base station traffic prediction model is used for: Acquire a parameter group matching the coverage scenario, the parameter group including a distance variable coefficient and a number of candidate neighboring base stations; Based on the frequency band, determining the frequency band coverage distance of the base station to be planned; Determining the base station coverage distance of the base station to be planned based on the building density coefficient, the distance variable coefficient and the frequency band coverage distance; Sorting the target base stations based on the distance between the target base stations and the base stations to be planned, wherein the target base stations represent existing base stations whose similarity with the base stations to be planned is within a preset range; Determine at least one candidate neighboring base station of the base station to be planned based on the sorting result and the number of the candidate neighboring base stations; Determine a similar neighboring base station of the base station to be planned based on the candidate neighboring base stations and the base station coverage distance; The predicted traffic volume is determined based on an average value of the initial traffic volumes of the similar neighboring base stations.

6. The method for predicting the traffic volume of a base station according to claim 5, characterized in that: The determining, based on the candidate neighboring base stations and the base station coverage distance, a similar neighboring base station of the base station to be planned, includes: Determine a polygon with the position of any candidate neighboring base station as the center and the base station coverage distance as the side length; When the number of buildings in the polygonal area is greater than a first set number and less than a second set number, the alternative neighbor base station is used as the same type neighbor base station, and the first set number and the second set number are determined based on the number of buildings in the polygonal area of ​​the base station to be planned.

7. The method for predicting the traffic volume of a base station according to claim 3, characterized in that: Determining a score value of each sample predicted traffic volume set includes: Based on the number of first positive class numbers and the number of second positive class numbers of the sample predicted traffic volume set, the accuracy of the sample predicted traffic volume set is determined; wherein, when the sample predicted traffic volume and the sample traffic volume label corresponding to the sample predicted traffic volume are both greater than or equal to a predetermined traffic volume threshold, the sample predicted traffic volume is determined as the first positive class number; when the sample predicted traffic volume is greater than or equal to the traffic volume threshold, and the sample traffic volume label corresponding to the sample predicted traffic volume is less than the traffic volume threshold, the sample predicted traffic volume is determined as the second positive class number; Based on the number of the first positive class numbers and the number of negative class numbers of the sample predicted traffic volume set, determining the recall rate of the sample predicted traffic volume set; wherein, when the sample predicted traffic volume is less than the traffic volume threshold, and the sample traffic volume label corresponding to the sample predicted traffic volume is greater than or equal to the traffic volume threshold, the sample predicted traffic volume is determined as the negative class number; Based on the precision and the recall, a score value of the sample predicted traffic volume set corresponding to the initial parameter group is determined.

8. A traffic volume prediction device for a base station, characterized in that: include: A base station data acquisition module is used to acquire base station data of a base station to be planned, where any base station to be planned corresponds to a coverage scenario; A predicted traffic volume acquisition module is used to input the base station data into a base station traffic volume prediction model to obtain the predicted traffic volume of the base station to be planned output by the base station traffic volume prediction model; wherein the base station traffic volume prediction model is obtained by training based on sample base station data and its corresponding sample traffic volume labels on the basis of a dynamic K nearest neighbor algorithm KNN model, and the predicted traffic volume is determined by the base station traffic volume prediction model based on the parameter group determined by the coverage scenario, and based on the base station data and the parameter group.

9. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the base station traffic prediction method according to any one of claims 1 to 7 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for predicting the traffic volume of a base station according to any one of claims 1 to 7 is implemented.

11. 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 method for predicting the traffic volume of a base station according to any one of claims 1 to 7 is implemented.