Terminal user peak prediction method, device, computer equipment and storage medium
By obtaining and processing end-user peak values and correlation factors in multiple reference periods, and combining the prediction model with weighted processing, the problem of inaccurate end-user peak prediction in the existing technology is solved, and higher prediction accuracy and resource allocation are achieved. Effectiveness and improved user experience.
Patent Information
- Application Number
- CN202410895625.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-05
AI Technical Summary
Existing end-user peak prediction methods are not accurate enough and cannot effectively help operators allocate resources in advance, resulting in possible network or platform congestion and affecting user experience.
By obtaining the end-user peak values of multiple consecutive reference periods before the future period, and making predictions based on the peak correlation factors of each reference period, combined with the target prediction model and weight coefficients, weighting processing is performed to predict the end-user peak value of the future period.
The accuracy of end-user peak prediction is improved, allowing operators to predict peak peaks more accurately, thereby optimizing resource allocation in advance, ensuring user communication quality and improving user satisfaction.
Smart Images

Figure CN118433047B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication management technology, and in particular to a method, device, computer equipment and storage medium for predicting terminal user peak values. Background Art
[0002] The number of end users describes the number of individuals or devices connected to a platform or network at a given moment. The end user peak is of great reference significance to the platform or network. If the end user peak is too high, it may cause the network or platform to be blocked or even paralyzed, seriously affecting the user experience, leading to user complaints or user churn. If operators can predict the end user peak in the future period, they can configure the corresponding resources in advance to avoid the above problems.
[0003] Currently, there is a method for predicting the terminal user peak value using a certain neural network model, but the terminal user peak value predicted by this prediction method is not very accurate and cannot provide a high reference value for operators. Summary of the invention
[0004] Based on this, it is necessary to provide a terminal user peak prediction method, device, computer equipment and storage medium that can accurately predict the terminal user peak in order to solve the above technical problems.
[0005] In a first aspect, the present application provides a method for predicting a peak value of a terminal user, the method comprising:
[0006] Obtaining terminal user peak values of a plurality of consecutive reference time periods before the future time period;
[0007] Determine the peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peak value of each sample period corresponding to the reference period;
[0008] The terminal user peak value in the future time period is predicted based on the terminal user peak value and the peak correlation factor in each reference time period.
[0009] In one embodiment, processing the terminal user peak value of each sample period corresponding to the reference period includes:
[0010] Accumulate the terminal user peak values of each sample period corresponding to the reference period to obtain the accumulated measurement value corresponding to the reference period;
[0011] A peak correlation factor corresponding to the reference time period is determined according to the accumulated measurement value corresponding to the reference time period.
[0012] In one embodiment, determining the peak correlation factor corresponding to the reference time period according to the accumulated metric value corresponding to the reference time period includes:
[0013] using the accumulated measurement value corresponding to the reference period as the peak correlation factor corresponding to the reference period; and / or,
[0014] The ranking value of the accumulated measurement value corresponding to the reference time period is used as the peak correlation factor corresponding to the reference time period.
[0015] In one embodiment, the method further comprises:
[0016] Sorting the accumulated measurement values corresponding to each reference period and the accumulated measurement values corresponding to the supplementary period to obtain a ranking value of the accumulated measurement values corresponding to each reference period;
[0017] The supplementary period is a period other than each reference period in the sampling cycle, and the accumulated measurement value corresponding to the supplementary period is obtained by processing the terminal user peak values of each sample period corresponding to the supplementary period.
[0018] In one embodiment, obtaining the terminal user peak values of a plurality of consecutive reference time periods before the future time period includes:
[0019] Determine the number of time periods to be selected according to the number of time periods included in a collection cycle;
[0020] A number of consecutive time periods before the future time period are selected as reference time periods, and the terminal user peak value of each reference time period is obtained.
[0021] In one embodiment, predicting the terminal user peak value in a future time period according to the terminal user peak value and the peak correlation factor in each reference time period includes:
[0022] Based on the target prediction model and the weight coefficient corresponding to the target prediction model, the terminal user peak value in the future time period is predicted according to the terminal user peak value and the peak correlation factor in each reference time period; wherein the number of the target prediction model is at least one.
[0023] In one embodiment, based on the target prediction model and the weight coefficient corresponding to the target prediction model, according to the terminal user peak value and the peak correlation factor of each reference time period, predicting the terminal user peak value of the future time period includes:
[0024] Based on each target prediction model, determining the predicted peak value of each target prediction model according to the terminal user peak value and the peak correlation factor in each reference time period;
[0025] According to the weight coefficient corresponding to each target prediction model, the prediction peak value of the corresponding target prediction model is weighted to obtain the weighted peak value of the corresponding target prediction model;
[0026] The sum of the weighted peak values of each target prediction model is taken as the terminal user peak value in the future period.
[0027] In one embodiment, the method further comprises:
[0028] Based on the candidate prediction model, according to the terminal user peak value and the peak correlation factor of each sample period, the predicted terminal user peak value of the target sample period is predicted;
[0029] Determining the prediction accuracy of the candidate prediction model according to the predicted terminal user peak value during the target sample period and the actual terminal user peak value during the target sample period;
[0030] The candidate prediction models are ranked according to the prediction accuracy, and the target prediction model is selected from the candidate prediction models according to the ranking result.
[0031] In a second aspect, the present application provides a terminal user peak prediction device, the device comprising:
[0032] An acquisition module, used for acquiring the terminal user peak values of a plurality of continuous reference periods before the future period;
[0033] A first determination module is used to determine a peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peak values of each sample period corresponding to the reference period;
[0034] The first prediction module is used to predict the terminal user peak value in the future time period according to the terminal user peak value and the peak correlation factor in each reference time period.
[0035] In a third aspect, the present application further provides a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:
[0036] Obtaining terminal user peak values of a plurality of consecutive reference time periods before the future time period;
[0037] Determine the peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peak value of each sample period corresponding to the reference period;
[0038] The terminal user peak value in the future time period is predicted based on the terminal user peak value and the peak correlation factor in each reference time period.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0040] Obtaining terminal user peak values of a plurality of consecutive reference time periods before the future time period;
[0041] Determine the peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peak value of each sample period corresponding to the reference period;
[0042] The terminal user peak value in the future time period is predicted based on the terminal user peak value and the peak correlation factor in each reference time period.
[0043] In a fifth aspect, the present application further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0044] Obtaining terminal user peak values of a plurality of consecutive reference time periods before the future time period;
[0045] Determine the peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peak value of each sample period corresponding to the reference period;
[0046] The terminal user peak value in the future time period is predicted based on the terminal user peak value and the peak correlation factor in each reference time period.
[0047] The terminal user peak prediction method, device, computer equipment and storage medium obtain the terminal user peaks of multiple continuous reference time periods before the future time period. Determine the peak correlation factor corresponding to each reference time period; wherein, the peak correlation factor corresponding to each reference time period is obtained by processing the terminal user peaks of each sample time period corresponding to the reference time period. According to the terminal user peaks and peak correlation factors of each reference time period, the terminal user peaks of the future time period are predicted. In the present application, when predicting the terminal user peaks of the future time period, not only the terminal user peaks of multiple reference time periods before the future time period are combined, but also the peak correlation factors of each reference time period are considered, and the peak correlation factors of each reference time period are determined based on the terminal user peaks of each sample time period corresponding to each reference time period, so that the predicted terminal user peaks of the future time period are more accurate, and the reference value to the operator is higher, which is convenient for the operator to configure resources in advance based on the predicted terminal user peaks, for example, optimize the layout of communication equipment, optimize service strategies, etc., to ensure the communication quality of users and improve user satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 An application environment diagram of a terminal user peak prediction method provided in this embodiment;
[0049] Figure 2 A schematic diagram of a flow chart of a first terminal user peak prediction method provided in this embodiment;
[0050] Figure 3A schematic diagram of a process for determining a peak correlation factor corresponding to a reference time period provided in this embodiment;
[0051] Figure 4 A schematic diagram of the principle of the accumulated measurement values corresponding to each sample period provided in this embodiment;
[0052] Figure 5 A schematic diagram of a process for determining a reference time period provided in this embodiment;
[0053] Figure 6 A schematic diagram of a flow chart of a second terminal user peak prediction method provided in this embodiment;
[0054] Figure 7 A schematic diagram of a flow chart of a third terminal user peak prediction method provided in this embodiment;
[0055] Figure 8 A structural block diagram of a terminal user peak prediction device provided in this embodiment;
[0056] Fig. 9 This is a diagram of the internal structure of the computer device provided in this embodiment. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0058] The terminal user peak prediction method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown in the figure, the server 104 can obtain the terminal user peak values of multiple consecutive reference time periods before the future time period through the communication device 102. The server 104 determines the peak correlation factor corresponding to each reference time period according to the terminal user peak values of each sample time period corresponding to each reference time period, and predicts the terminal user peak value of the communication device 102 in the future time period according to the terminal user peak values of each reference time period and the peak correlation factor.
[0059] The server may be an independent server or a server cluster.
[0060] Communication equipment refers to equipment that provides communication services to user terminals. Communication equipment can be, but is not limited to, communication base stations, routers, switches, core network equipment, CDN (Content Delivery Network) equipment and other equipment with communication functions.
[0061] In one embodiment, Figure 2is a flow chart of a method for predicting the peak value of a terminal user provided in accordance with an embodiment of the present application, wherein the method is applied to Figure 1 Taking the server in as an example, the method includes the following steps:
[0062] S201, obtaining terminal user peak values of a plurality of consecutive reference time periods before a future time period.
[0063] Among them, the future period refers to the period for which the terminal user peak prediction needs to be made in advance. The reference period refers to the period that can provide relevant reference value when predicting the terminal user peak in the future period, generally referring to multiple consecutive historical periods before the future period. The terminal user peak refers to the highest value of simultaneous access by terminal users in each period. In this application, the time length of the future period and the reference period is the same, and the time length can be one minute, one hour, or one day, etc.
[0064] An optional implementation of this embodiment is: predetermine the number of time period selections of the required reference time period, and obtain the terminal user peak values of the number of time period selections of consecutive reference time periods before the future time period.
[0065] Another optional implementation of this embodiment is: randomly determine the number of time period selections of the required reference time period, and obtain the terminal user peak values of the number of time period selections consecutive reference time periods before the future time period.
[0066] S202: Determine the peak correlation factor corresponding to each reference time period.
[0067] The peak correlation factor corresponding to each reference period is obtained by processing the terminal user peaks of each sample period corresponding to the reference period.
[0068] The peak correlation factor refers to an active factor that is strongly correlated with the end-user peak value, which is added to enhance the diversity of input feature types and increase the accuracy of prediction results. The sample period refers to the historical period used to provide sample data (i.e., end-user peak samples).
[0069] An optional implementation of this embodiment is: for each reference time period, the terminal user peak values of each sample time period corresponding to the reference time period are averaged to obtain the terminal user mean value corresponding to the reference time period, and the terminal user mean value is used as the peak correlation factor corresponding to the reference time period.
[0070] Another optional implementation of this embodiment is: for each reference time period, multiply the terminal user peak values of each sample time period corresponding to the reference time period to obtain the terminal user fusion value corresponding to the reference time period, and use the terminal user fusion value as the peak correlation factor corresponding to the reference time period.
[0071] S203: predicting the terminal user peak value in the future time period according to the terminal user peak value and the peak correlation factor in each reference time period.
[0072] Optionally, in this embodiment, the terminal user peak value of each reference time period and the peak correlation factor corresponding to each reference time period are input as input parameters to a trained neural network model, and the neural network model predicts the terminal user peak value of the future time period.
[0073] The above-mentioned terminal user peak prediction method obtains the terminal user peaks of multiple continuous reference time periods before the future time period. Determine the peak correlation factor corresponding to each reference time period; wherein, the peak correlation factor corresponding to each reference time period is obtained by processing the terminal user peaks of each sample time period corresponding to the reference time period. According to the terminal user peaks and peak correlation factors of each reference time period, the terminal user peaks of the future time period are predicted. In the present application, when predicting the terminal user peaks of the future time period, not only the terminal user peaks of multiple reference time periods before the future time period are combined, but also the peak correlation factors of each reference time period are considered, and the peak correlation factors of each reference time period are determined based on the terminal user peaks of each sample time period corresponding to each reference time period, so that the predicted terminal user peaks of the future time period are more accurate, and the reference value to the operator is higher, which is convenient for the operator to configure resources in advance based on the predicted terminal user peaks, for example, optimize the layout of communication equipment, optimize service strategies, etc., to ensure the communication quality of users and improve user satisfaction.
[0074] In one embodiment, in order to more accurately determine the peak correlation factor corresponding to each reference period, this embodiment explains in detail the process of processing the terminal user peak value of each sample period corresponding to the reference period, such as Figure 3 As shown, including:
[0075] S301, performing accumulation processing on the peak values of terminal users in each sample period corresponding to the reference period to obtain an accumulated measurement value corresponding to the reference period.
[0076] The cumulative measurement value refers to the cumulative value obtained by summing up the terminal user peak values of each sample period corresponding to each reference period.
[0077] Specifically, in this embodiment, the terminal user peak values of each sample period corresponding to the reference period are summed to obtain the cumulative measurement value corresponding to the reference period. Exemplarily, if the reference period is 12:00-13:00, and the sample data is sample data of a certain year (for example, 365 days), the terminal user peak values of the sample period of 12:00-13:00 on each day of the sample data are summed to obtain the cumulative measurement value of the reference period of 12:00-13:00. The cumulative measurement value of each sample period in the sample data is as follows: Figure 4 shown.
[0078] S302: Determine a peak correlation factor corresponding to the reference time period according to the accumulated measurement value corresponding to the reference time period.
[0079] An optional implementation of this embodiment is: the accumulated measurement value corresponding to the reference time period may be used as the peak correlation factor corresponding to the reference time period.
[0080] Another optional implementation of this embodiment is: the ranking value of the cumulative measurement value corresponding to the reference time period is used as the peak correlation factor corresponding to the reference time period. Specifically, the cumulative measurement values corresponding to each reference time period and the cumulative measurement values corresponding to the supplementary time period are sorted to obtain the ranking value of the cumulative measurement value corresponding to each reference time period. Among them, the supplementary time period is a time period other than each reference time period in the sampling period, and the cumulative measurement value corresponding to the supplementary time period is obtained by processing the terminal user peak value of each sample time period corresponding to the supplementary time period. In other words, the peak correlation factor in this embodiment is determined based on the ranking value of the cumulative measurement value corresponding to each reference time period. The ranking value is obtained by sorting the cumulative measurement values corresponding to each reference time period and the cumulative measurement values corresponding to the supplementary time period of the sampling period to which each reference time period belongs. For example, if the sampling period is one day and the time period is one hour, if the reference time period is 9:00-10:00, 10:00-11:00, 11:00-12:00, and 12:00-13:00 on a certain day, the supplementary time period is other time periods of the sampling period, that is, 00:00-9:00 and 13:00-24:00 on this day. According to the terminal user peak value of each sample time period corresponding to each supplementary time period, the cumulative measurement value corresponding to each supplementary time period is determined. The reference time periods and the supplementary time periods are sorted based on the cumulative measurement value to determine the sorting value of each reference time period.
[0081] It should be noted that since the sampled data is updated periodically, the cumulative measurement value and ranking value corresponding to each sample period are fixed within an update cycle. The cumulative measurement value and ranking value may change only after the update.
[0082] It should be noted that the reference time period may be an extended sampling cycle. The reference time periods are 23:00-24:00, 24:00-1:00, 1:00-2:00, and 2:00-3:00. It is necessary to determine the ranking value of the sampling cycle to which each reference time period belongs. That is, 23:00-24:00 is in the previous sampling cycle, and the ranking value of the sampling cycle to which it belongs needs to be determined. 24:00-1:00, 1:00-2:00, and 2:00-3:00 are in the same sampling cycle, and the ranking value of the sampling cycle to which it belongs needs to be determined.
[0083] Another optional implementation of this embodiment is: using the accumulated measurement value corresponding to the reference period as the first peak correlation factor corresponding to the reference period, and using the ranking value of the accumulated measurement value corresponding to the reference period as the second peak correlation factor corresponding to the reference period.
[0084] In this embodiment, the terminal user peak values of each sample period corresponding to the reference period are accumulated to obtain the accumulated measurement value corresponding to the reference period. According to the accumulated measurement value corresponding to the reference period, the peak correlation factor corresponding to the reference period can be determined more accurately. In this embodiment, if only the accumulated measurement value is used as the peak correlation factor, there are certain limitations, such as Figure 4 As shown, due to the large dimension of the cumulative metric value, the contribution of the cumulative metric value is often ignored in some low-peak periods. The present application preferably uses both the cumulative metric value and the sorting value as the peak correlation factor, which not only increases the number and diversity of elements, but also facilitates the conversion of input data into a format suitable for multivariate time series models and recurrent neural networks. Specifically, the input data can be adjusted to two-dimensional (None, n_fea_1) and three-dimensional (None, m-1, n_fea_2) forms to ensure compatibility with a variety of general AI models and statistical models, where None represents an adaptable input length, allowing flexible adaptation to different inputs, n_fea_1 represents the number of features contained in all time steps, and n_fea_2 is the number of features contained in each time step. In other words, using both the cumulative metric value and the sorting value as the peak correlation factor not only increases the number and diversity of elements, increases the accuracy of the prediction results, but also adapts to the parameter data format of more prediction models, and facilitates the flexible selection of prediction models when predicting.
[0085] In one embodiment, in order to increase the accuracy of the predicted terminal user peak value in the future period, Figure 5 As shown, an optional implementation of S201 includes:
[0086] S501, determining the number of time periods to be selected according to the number of time periods included in a collection cycle.
[0087] The number of time periods refers to the number of time periods included in each sampling period, and the number of time period selection refers to the number of reference time periods that need to be selected.
[0088] Optionally, the number of time periods included in a collection cycle can be determined based on the cycle length and time period length of a sampling cycle. If the time period is 1 hour and the sampling cycle is 1 day, the number of time periods included in a sampling cycle can be determined to be 24.
[0089] Optionally, an optional implementation method for determining the number of time periods to be selected in this embodiment is: the number obtained by subtracting 1 from the number of time periods included in a sampling cycle is used as the number of time periods to be selected.
[0090] S502, select a number of consecutive time periods before the future time period as reference time periods, and obtain the terminal user peak value of each reference time period.
[0091] Optionally, in this embodiment, the number of time periods included in a sampling period minus 1 is used as the number of time periods selected, and the number of time periods selected before the future time period is used as the reference time period. Exemplarily, if the sampling period is 1 day and the time period length is 1 hour, the 23 time periods before the future time period are used as reference time periods, and the terminal user peak value of each reference time period is obtained. For example, if the future time period is 20:00-21:00, the reference time period is each time period from 21:00-22:00 of the previous day to 19:00-20:00 of the current day as the reference time period.
[0092] In this embodiment, the number of time periods to be selected is determined according to the number of time periods included in a collection cycle. The number of consecutive time periods selected before the future time period are all used as reference time periods, and the terminal user peak value of each reference time period is obtained. The method for obtaining the reference time period based on this embodiment can effectively improve the accuracy of the prediction result.
[0093] In one embodiment, in order to further improve the accuracy of the predicted terminal user peak value in the future period, as Figure 6 As shown, an optional implementation of S203 includes:
[0094] S601, based on the target prediction model and the weight coefficient corresponding to the target prediction model, according to the terminal user peak value and the peak correlation factor of each reference time period, predict the terminal user peak value of the future time period.
[0095] Among them, the number of the target prediction models is at least one.
[0096] The target prediction model refers to a neural network model used to predict the terminal user peak value in the future period. The weight coefficient refers to a coefficient used to characterize the proportion of the prediction result of the target prediction model.
[0097] Optionally, in this embodiment, based on each target prediction model, the predicted peak value of each target prediction model is determined according to the terminal user peak value and the peak correlation factor of each reference time period. According to the weight coefficient corresponding to each target prediction model, the predicted peak value of the corresponding target prediction model is weighted to obtain the weighted peak value of the corresponding target prediction model. The sum of the weighted peak values of each target prediction model is used as the terminal user peak value of the future time period. In this embodiment, based on each target prediction model, according to the terminal user peak value and the peak correlation factor of each reference time period, an optional implementation method for determining the predicted peak value of each target prediction model is as follows: the user peak value of each reference time period, the first peak correlation factor (i.e., the cumulative measurement value of each reference time period) and the second peak correlation factor (i.e., the ranking value of each reference time period) are input into the target prediction model to determine the predicted peak value of the target prediction model.
[0098] In this embodiment, based on each target prediction model, the predicted peak value of each target prediction model is determined according to the terminal user peak value and the peak correlation factor of each reference time period. According to the weight coefficient corresponding to each target prediction model, the predicted peak value of the corresponding target prediction model is weighted to obtain the weighted peak value of the corresponding target prediction model. The sum of the weighted peak values of each target prediction model is used as the terminal user peak value of the future time period, which effectively improves the accuracy of the predicted terminal user peak value of the future time period.
[0099] Optionally, in this embodiment, based on the candidate prediction model, the predicted terminal user peak value of the target sample period can be predicted according to the terminal user peak value and the peak correlation factor of each sample period. The prediction accuracy of the candidate prediction model is determined according to the predicted terminal user peak value of the target sample period and the actual terminal user peak value of the target sample period. The candidate prediction models are sorted according to the prediction accuracy, and the target prediction model is selected from the candidate prediction models according to the sorting result. The candidate prediction model refers to a neural network model as an alternative, and the candidate prediction model includes but is not limited to an SVM (support vector machines) model, a KNN (k-nearest neighbor) model, a Lasso (Least absolute shrinkage and selection operator) model, an XGBoost (Gradient Boosting Decision Tree) model, an AdaBoost (adaptive boosting) model, a CatBoost (categorical boosting, a machine learning algorithm based on a gradient boosting decision tree) model, a GRU (Gate Recurrent Unit, a recurrent neural network) model, an ARIMAX (Autoregressive Integrated Moving Average with eXogenous variables, an autoregressive integrated moving average model) model, an ARIMA (Autoregressive Integrated Moving Average Model, a statistical model for analyzing and predicting time series data) model, etc.
[0100] In this embodiment, based on the candidate prediction model, the predicted terminal user peak value of the target sample period is predicted according to the terminal user peak value and the peak correlation factor of each sample period. The prediction accuracy of the candidate prediction model is determined according to the predicted terminal user peak value of the target sample period and the actual terminal user peak value of the target sample period. The candidate prediction models are sorted according to the prediction accuracy, and the target prediction model is selected from the candidate prediction models according to the sorting result. Based on this embodiment, multiple target prediction models with higher accuracy can be selected from a large number of candidate prediction models, further improving the accuracy of the prediction results.
[0101] Optionally, in this embodiment, each candidate prediction model can be pre-trained to obtain a trained candidate prediction model, and then the terminal user peak and peak correlation factor of each sample time period (which can be multiple consecutive sample time periods before a randomly selected target sample time period, or it can be based on the number of time periods included in the sampling cycle, for example, m, selecting the first m-1 consecutive sample time periods) is used to predict the predicted terminal user peak of the target sample time period.
[0102] Optionally, in this embodiment, based on the error determination algorithm, the prediction error of each candidate prediction model can be determined according to the predicted terminal user peak value of the target sample period and the actual terminal user peak value of the target sample period, and the prediction accuracy of each candidate prediction model can be determined according to the prediction error of each candidate prediction model. Among them, the error determination algorithm can adopt points but not limited to RMSE (Root Mean Square Error), MAE (Mean Absolute Error), MAPE (Mean Absolute Percentage Error), etc.
[0103] Optionally, when selecting a target prediction model in this embodiment, J / 2 integer target prediction models may be selected, where J is the number of candidate prediction models.
[0104] Optionally, the present embodiment also includes a method for determining the weight coefficient of each target prediction model. The optional implementation method is: multiple weight vectors (each weight vector includes multiple dimensions, and each dimension represents the weight coefficient of one of the target prediction models) can be iteratively optimized. In each round of optimization, the three weight vectors with the best current fitness score (i.e., the smallest error between the predicted terminal user peak and the actual terminal user peak) are used to guide the optimization adjustment of each weight vector (corresponding to formulas (1) and (2)). The iteration is terminated when the maximum number of iterations L is reached, and the dimension value of each dimension in the weight vector with the best fitness score (i.e., the smallest error between the predicted terminal user peak and the actual terminal user peak) at this time is used as the weight coefficient of each target prediction model. Specifically, initialize several weight vectors, and determine the relevant parameters of each weight vector. The relevant parameters include the dimension of the weight vector and the dimension value range. The dimension of each weight vector is N (i.e., the number of target prediction models), and the value range of each dimension is , that is, the weight constraint range of each target prediction model. The weight constraint range can be flexibly adjusted according to demand. The predicted terminal user peak value and the actual terminal user peak value predicted to the target sample period are used as the fitness score. The smaller the fitness score, the better. According to the following formula (1), the iteration step size update parameter in formula (1) is initialized (that is, ), and substitute the updated iteration step size update parameter into formula (2). Calculate the fitness score corresponding to each weight vector, and record the best three weight vectors as . Set L as the maximum number of iterations, let l = 0, and loop the following operations when l < L: Update each weight vector according to formula (2), and update according to formula (1); Obtain the current three best weight vectors; l = l + 1. After the loop ends, obtain , that is, the weight vector. Use the dimensional values of each dimension of this weight vector as the weight coefficients of each target prediction model.
[0105] Among them, the expressions of formula (1) and formula (2) are as follows:
[0106] (1)
[0107] (2)
[0108] Among them, in formula (1) and formula (2) both represent the iteration step size update parameter; and are random numbers within [0, 1]; and are the values of the weight vector w in the l-th and (l + 1)-th rounds of iteration, is the weight candidate variable of w in the l-th round of iteration, represents the three with the best fitness scores among all weight vectors in the l-th round of iteration, are the weight intermediate variables after step size adjustment in the direction respectively, respectively represent and distance measurement, represents the iteration step size update parameter.
[0109] In this embodiment, based on the method in this embodiment, the weight coefficients of each target prediction model can be determined more accurately, and the peak value of the end user in the future period obtained by the final prediction can be more accurate.
[0110] In one of the embodiments, as Figure 7 shown, another optional implementation manner of the end user peak value prediction method includes:
[0111] S701, Determine the number of selected time periods according to the number of time periods included in one collection period.
[0112] S702, Take the number of consecutive time periods before the future time period as the reference time periods, and obtain the end user peak values of each reference time period.
[0113] S703 , for each reference period, accumulating the terminal user peak values of each sample period corresponding to the reference period to obtain an accumulated measurement value corresponding to the reference period.
[0114] S704: Use the accumulated measurement value corresponding to each reference time period as the first peak correlation factor corresponding to each reference time period.
[0115] S705 , sorting the accumulated metric values corresponding to each reference period and the accumulated metric values corresponding to the supplementary period to obtain a sorted value of the accumulated metric values corresponding to each reference period.
[0116] The supplementary period is a period other than each reference period in the sampling cycle, and the accumulated measurement value corresponding to the supplementary period is obtained by processing the terminal user peak values of each sample period corresponding to the supplementary period.
[0117] S706: Use the ranking value of the accumulated metric value corresponding to each reference time period as the second peak correlation factor corresponding to each reference time period.
[0118] S707 , based on the candidate prediction model, according to the terminal user peak values and peak correlation factors of each sample period, predict the predicted terminal user peak value of the target sample period.
[0119] S708, determining the prediction accuracy of the candidate prediction model according to the predicted terminal user peak value in the target sample period and the actual terminal user peak value in the target sample period.
[0120] S709, sorting the candidate prediction models according to the prediction accuracy, and selecting a target prediction model from the candidate prediction models according to the sorting result.
[0121] S710, based on each target prediction model, determine the predicted peak value of each target prediction model according to the terminal user peak value and the peak correlation factor in each reference time period.
[0122] S711, performing weighted processing on the prediction peak value of the corresponding target prediction model according to the weight coefficient corresponding to each target prediction model, to obtain the weighted peak value of the corresponding target prediction model.
[0123] S712, taking the sum of the weighted peak values of each target prediction model as the terminal user peak value in the future time period.
[0124] The terminal user peak prediction method of this embodiment obtains the terminal user peaks of multiple continuous reference time periods before the future time period. Determine the peak correlation factor corresponding to each reference time period; wherein, the peak correlation factor corresponding to each reference time period is obtained by processing the terminal user peaks of each sample time period corresponding to the reference time period. According to the terminal user peaks and peak correlation factors of each reference time period, the terminal user peaks of the future time period are predicted. In this application, when predicting the terminal user peaks of the future time period, not only the terminal user peaks of multiple reference time periods before the future time period are combined, but also the peak correlation factors of each reference time period are considered, and the peak correlation factors of each reference time period are determined based on the terminal user peaks of each sample time period corresponding to each reference time period, so that the predicted terminal user peaks of the future time period are more accurate, and the reference value to the operator is higher, which is convenient for the operator to configure resources in advance based on the predicted terminal user peaks, for example, optimize the layout of communication equipment, optimize service strategies, etc., to ensure the communication quality of users and improve user satisfaction.
[0125] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0126] Based on the same inventive concept, the embodiment of the present application also provides a terminal user peak prediction device for implementing the terminal user peak prediction method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more terminal user peak prediction device embodiments provided below can refer to the limitations of the terminal user peak prediction method above, and will not be repeated here.
[0127] In one embodiment, by Figure 8 FIG. 4 shows a structural block diagram of a terminal user peak prediction device in an embodiment. Figure 8 As shown, a terminal user peak prediction device 1 is provided, the device comprising: an acquisition module 10, a first determination module 20 and a first prediction module 30, wherein:
[0128] An acquisition module 10 is used to acquire the terminal user peak values of a plurality of consecutive reference time periods before the future time period;
[0129] A first determination module 20 is used to determine a peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peaks of each sample period corresponding to the reference period;
[0130] The first prediction module 30 is used to predict the terminal user peak value in the future time period according to the terminal user peak value and the peak correlation factor in each reference time period.
[0131] In one embodiment, the Figure 8 The first determining module 20 is further specifically used for:
[0132] Accumulate the terminal user peak values of each sample period corresponding to the reference period to obtain the accumulated measurement value corresponding to the reference period;
[0133] A peak correlation factor corresponding to the reference time period is determined according to the accumulated measurement value corresponding to the reference time period.
[0134] In one embodiment, the Figure 8 The first determining module 20 is further specifically used for:
[0135] The judgment module is used to perform an upgrade operation on the first container according to a peak prediction request of a terminal user when the second container is in a non-operating state.
[0136] In one embodiment, the Figure 8 The first determining module 20 is further specifically used for:
[0137] using the accumulated measurement value corresponding to the reference period as the peak correlation factor corresponding to the reference period; and / or,
[0138] The ranking value of the accumulated measurement value corresponding to the reference time period is used as the peak correlation factor corresponding to the reference time period.
[0139] In one embodiment, the Figure 8 The first determining module 20 is further specifically used for:
[0140] Sorting the accumulated measurement values corresponding to each reference period and the accumulated measurement values corresponding to the supplementary period to obtain a ranking value of the accumulated measurement values corresponding to each reference period;
[0141] The supplementary period is a period other than each reference period in the sampling cycle, and the accumulated measurement value corresponding to the supplementary period is obtained by processing the terminal user peak values of each sample period corresponding to the supplementary period.
[0142] In one embodiment, the Figure 8 The acquisition module 10 is also specifically used for:
[0143] Determine the number of time periods to be selected according to the number of time periods included in a collection cycle;
[0144] A number of consecutive time periods before the future time period are selected as reference time periods, and the terminal user peak value of each reference time period is obtained.
[0145] In one embodiment, the Figure 8 The first prediction module 30 is further specifically used for:
[0146] Based on the target prediction model and the weight coefficient corresponding to the target prediction model, the terminal user peak value in the future time period is predicted according to the terminal user peak value and the peak correlation factor in each reference time period; wherein the number of the target prediction model is at least one.
[0147] In one embodiment, the Figure 8 The first prediction module 30 is further specifically used for:
[0148] Based on each target prediction model, determining the predicted peak value of each target prediction model according to the terminal user peak value and the peak correlation factor in each reference time period;
[0149] According to the weight coefficient corresponding to each target prediction model, the prediction peak value of the corresponding target prediction model is weighted to obtain the weighted peak value of the corresponding target prediction model;
[0150] The sum of the weighted peak values of each target prediction model is taken as the terminal user peak value in the future period.
[0151] In one embodiment, the Figure 8 The terminal user peak prediction device 1 further comprises:
[0152] A second prediction module is used to predict the predicted terminal user peak value of the target sample period based on the candidate prediction model and the terminal user peak value and the peak correlation factor of each sample period;
[0153] A second determination module is used to determine the prediction accuracy of the candidate prediction model according to the predicted terminal user peak value in the target sample period and the actual terminal user peak value in the target sample period;
[0154] The selection module is used to sort the candidate prediction models according to the prediction accuracy, and select the target prediction model from the candidate prediction models according to the sorting result.
[0155] Each module in the terminal user peak prediction device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0156] In one embodiment, a computer device is provided. The computer device may be a platform side, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store terminal user peak prediction information. The network interface of the computer device is used to communicate with an external user side through a network connection. When the computer program is executed by the processor, a terminal user peak prediction method is implemented.
[0157] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. Specifically, the computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0158] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0159] Obtaining terminal user peak values of a plurality of consecutive reference time periods before the future time period;
[0160] Determine the peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peak value of each sample period corresponding to the reference period;
[0161] The terminal user peak value in the future time period is predicted based on the terminal user peak value and the peak correlation factor in each reference time period.
[0162] In one embodiment, when the processor executes the computer program, the following steps are further implemented: processing the terminal user peak value of each sample time period corresponding to the reference time period, including:
[0163] Accumulate the terminal user peak values of each sample period corresponding to the reference period to obtain the accumulated measurement value corresponding to the reference period;
[0164] A peak correlation factor corresponding to the reference time period is determined according to the accumulated measurement value corresponding to the reference time period.
[0165] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining the peak correlation factor corresponding to the reference time period according to the accumulated measurement value corresponding to the reference time period, including:
[0166] using the accumulated measurement value corresponding to the reference period as the peak correlation factor corresponding to the reference period; and / or,
[0167] The ranking value of the accumulated measurement value corresponding to the reference time period is used as the peak correlation factor corresponding to the reference time period.
[0168] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0169] Sorting the accumulated measurement values corresponding to each reference period and the accumulated measurement values corresponding to the supplementary period to obtain a ranking value of the accumulated measurement values corresponding to each reference period;
[0170] The supplementary period is a period other than each reference period in the sampling cycle, and the accumulated measurement value corresponding to the supplementary period is obtained by processing the terminal user peak values of each sample period corresponding to the supplementary period.
[0171] In one embodiment, when the processor executes the computer program, the following steps are further implemented: obtaining the terminal user peak values of a plurality of consecutive reference time periods before the future time period, including:
[0172] Determine the number of time periods to be selected according to the number of time periods included in a collection cycle;
[0173] A number of consecutive time periods before the future time period are selected as reference time periods, and the terminal user peak value of each reference time period is obtained.
[0174] In one embodiment, when the processor executes the computer program, the following steps are further implemented: predicting the terminal user peak value in the future time period according to the terminal user peak value and the peak correlation factor in each reference time period, including:
[0175] Based on the target prediction model and the weight coefficient corresponding to the target prediction model, the terminal user peak value in the future time period is predicted according to the terminal user peak value and the peak correlation factor in each reference time period; wherein the number of the target prediction model is at least one.
[0176] In one embodiment, when the processor executes the computer program, the following steps are further implemented: based on the target prediction model and the weight coefficient corresponding to the target prediction model, according to the terminal user peak value and the peak correlation factor of each reference time period, predicting the terminal user peak value of the future time period, including:
[0177] Based on each target prediction model, determining the predicted peak value of each target prediction model according to the terminal user peak value and the peak correlation factor in each reference time period;
[0178] According to the weight coefficient corresponding to each target prediction model, the prediction peak value of the corresponding target prediction model is weighted to obtain the weighted peak value of the corresponding target prediction model;
[0179] The sum of the weighted peak values of each target prediction model is taken as the terminal user peak value in the future period.
[0180] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0181] Based on the candidate prediction model, according to the terminal user peak value and the peak correlation factor of each sample period, the predicted terminal user peak value of the target sample period is predicted;
[0182] Determining the prediction accuracy of the candidate prediction model according to the predicted terminal user peak value during the target sample period and the actual terminal user peak value during the target sample period;
[0183] The candidate prediction models are ranked according to the prediction accuracy, and the target prediction model is selected from the candidate prediction models according to the ranking result.
[0184] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0185] Obtaining terminal user peak values of a plurality of consecutive reference time periods before the future time period;
[0186] Determine the peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peak value of each sample period corresponding to the reference period;
[0187] The terminal user peak value in the future time period is predicted based on the terminal user peak value and the peak correlation factor in each reference time period.
[0188] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: processing the terminal user peak value of each sample period corresponding to the reference period includes:
[0189] Accumulate the terminal user peak values of each sample period corresponding to the reference period to obtain the accumulated measurement value corresponding to the reference period;
[0190] A peak correlation factor corresponding to the reference time period is determined according to the accumulated measurement value corresponding to the reference time period.
[0191] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the peak correlation factor corresponding to the reference time period according to the accumulated measurement value corresponding to the reference time period, including:
[0192] using the accumulated measurement value corresponding to the reference period as the peak correlation factor corresponding to the reference period; and / or,
[0193] The ranking value of the accumulated measurement value corresponding to the reference time period is used as the peak correlation factor corresponding to the reference time period.
[0194] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0195] Sorting the accumulated measurement values corresponding to each reference period and the accumulated measurement values corresponding to the supplementary period to obtain a ranking value of the accumulated measurement values corresponding to each reference period;
[0196] The supplementary period is a period other than each reference period in the sampling cycle, and the accumulated measurement value corresponding to the supplementary period is obtained by processing the terminal user peak values of each sample period corresponding to the supplementary period.
[0197] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining the terminal user peak values of a plurality of consecutive reference time periods before the future time period, including:
[0198] Determine the number of time periods to be selected according to the number of time periods included in a collection cycle;
[0199] A number of consecutive time periods before the future time period are selected as reference time periods, and the terminal user peak value of each reference time period is obtained.
[0200] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: predicting the terminal user peak value in the future time period according to the terminal user peak value and the peak correlation factor in each reference time period, including:
[0201] Based on the target prediction model and the weight coefficient corresponding to the target prediction model, the terminal user peak value in the future time period is predicted according to the terminal user peak value and the peak correlation factor in each reference time period; wherein the number of the target prediction model is at least one.
[0202] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: based on the target prediction model and the weight coefficient corresponding to the target prediction model, according to the terminal user peak value and the peak correlation factor of each reference time period, predicting the terminal user peak value of the future time period, including:
[0203] Based on each target prediction model, determining the predicted peak value of each target prediction model according to the terminal user peak value and the peak correlation factor in each reference time period;
[0204] According to the weight coefficient corresponding to each target prediction model, the prediction peak value of the corresponding target prediction model is weighted to obtain the weighted peak value of the corresponding target prediction model;
[0205] The sum of the weighted peak values of each target prediction model is taken as the terminal user peak value in the future period.
[0206] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0207] Based on the candidate prediction model, according to the terminal user peak value and the peak correlation factor of each sample period, the predicted terminal user peak value of the target sample period is predicted;
[0208] Determining the prediction accuracy of the candidate prediction model according to the predicted terminal user peak value during the target sample period and the actual terminal user peak value during the target sample period;
[0209] The candidate prediction models are ranked according to the prediction accuracy, and the target prediction model is selected from the candidate prediction models according to the ranking result.
[0210] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0211] Obtaining terminal user peak values of a plurality of consecutive reference time periods before the future time period;
[0212] Determine the peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peak value of each sample period corresponding to the reference period;
[0213] The terminal user peak value in the future time period is predicted based on the terminal user peak value and the peak correlation factor in each reference time period.
[0214] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: processing the terminal user peak value of each sample period corresponding to the reference period includes:
[0215] Accumulate the terminal user peak values of each sample period corresponding to the reference period to obtain the accumulated measurement value corresponding to the reference period;
[0216] A peak correlation factor corresponding to the reference time period is determined according to the accumulated measurement value corresponding to the reference time period.
[0217] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: determining the peak correlation factor corresponding to the reference time period according to the accumulated measurement value corresponding to the reference time period, including:
[0218] using the accumulated measurement value corresponding to the reference period as the peak correlation factor corresponding to the reference period; and / or,
[0219] The ranking value of the accumulated measurement value corresponding to the reference time period is used as the peak correlation factor corresponding to the reference time period.
[0220] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0221] Sorting the accumulated measurement values corresponding to each reference period and the accumulated measurement values corresponding to the supplementary period to obtain a ranking value of the accumulated measurement values corresponding to each reference period;
[0222] The supplementary period is a period other than each reference period in the sampling cycle, and the accumulated measurement value corresponding to the supplementary period is obtained by processing the terminal user peak values of each sample period corresponding to the supplementary period.
[0223] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining the terminal user peak values of a plurality of consecutive reference time periods before the future time period, including:
[0224] Determine the number of time periods to be selected according to the number of time periods included in a collection cycle;
[0225] A number of consecutive time periods before the future time period are selected as reference time periods, and the terminal user peak value of each reference time period is obtained.
[0226] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: predicting the terminal user peak value in the future time period according to the terminal user peak value and the peak correlation factor in each reference time period, including:
[0227] Based on the target prediction model and the weight coefficient corresponding to the target prediction model, the terminal user peak value in the future time period is predicted according to the terminal user peak value and the peak correlation factor in each reference time period; wherein the number of the target prediction model is at least one.
[0228] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: based on the target prediction model and the weight coefficient corresponding to the target prediction model, according to the terminal user peak value and the peak correlation factor of each reference time period, predicting the terminal user peak value of the future time period, including:
[0229] Based on each target prediction model, determining the predicted peak value of each target prediction model according to the terminal user peak value and the peak correlation factor in each reference time period;
[0230] According to the weight coefficient corresponding to each target prediction model, the prediction peak value of the corresponding target prediction model is weighted to obtain the weighted peak value of the corresponding target prediction model;
[0231] The sum of the weighted peak values of each target prediction model is taken as the terminal user peak value in the future period.
[0232] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0233] Based on the candidate prediction model, according to the terminal user peak value and the peak correlation factor of each sample period, the predicted terminal user peak value of the target sample period is predicted;
[0234] Determining the prediction accuracy of the candidate prediction model according to the predicted terminal user peak value during the target sample period and the actual terminal user peak value during the target sample period;
[0235] The candidate prediction models are ranked according to the prediction accuracy, and the target prediction model is selected from the candidate prediction models according to the ranking result.
[0236] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0237] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0238] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for predicting terminal user peak value, characterized in that: The method comprises: Obtaining terminal user peak values of a plurality of consecutive reference time periods before the future time period; Determine the peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peak value of each sample period corresponding to the reference period; Based on the target prediction model and the weight coefficient corresponding to the target prediction model, according to the terminal user peak value and the peak correlation factor of each reference time period, predicting the terminal user peak value of the future time period; wherein the number of the target prediction model is at least one; The terminal user peak values of each sample period corresponding to the reference period are processed, including: Accumulate the terminal user peak values of each sample period corresponding to the reference period to obtain the accumulated measurement value corresponding to the reference period; using the accumulated measurement value corresponding to the reference period as the peak correlation factor corresponding to the reference period; and / or, The ranking value of the accumulated measurement value corresponding to the reference time period is used as the peak correlation factor corresponding to the reference time period.
2. The method according to claim 1, characterized in that The method further comprises: Sorting the accumulated measurement values corresponding to each reference period and the accumulated measurement values corresponding to the supplementary period to obtain the ranking values of the accumulated measurement values corresponding to each reference period; The supplementary period is a period other than each reference period in the sampling cycle, and the accumulated measurement value corresponding to the supplementary period is obtained by processing the terminal user peak values of each sample period corresponding to the supplementary period.
3. The method according to claim 1, characterized in that The obtaining of the terminal user peak values of a plurality of continuous reference time periods before the future time period comprises: Determine the number of time periods to be selected according to the number of time periods included in a collection cycle; A number of consecutive time periods before the future time period are selected as reference time periods, and the terminal user peak value of each reference time period is obtained.
4. The method according to claim 1, characterized in that: The method of predicting the terminal user peak value of the future time period based on the target prediction model and the weight coefficient corresponding to the target prediction model according to the terminal user peak value and the peak correlation factor of each reference time period includes: Based on each target prediction model, determining the predicted peak value of each target prediction model according to the terminal user peak value and the peak correlation factor in each reference time period; According to the weight coefficient corresponding to each target prediction model, the prediction peak value of the corresponding target prediction model is weighted to obtain the weighted peak value of the corresponding target prediction model; The sum of the weighted peak values of each target prediction model is taken as the terminal user peak value in the future period.
5. The method according to claim 1, characterized in that The method further comprises: Based on the candidate prediction model, according to the terminal user peak value and the peak correlation factor of each sample period, the predicted terminal user peak value of the target sample period is predicted; Determining the prediction accuracy of the candidate prediction model according to the predicted terminal user peak value of the target sample period and the actual terminal user peak value of the target sample period; The candidate prediction models are sorted according to the prediction accuracy, and the target prediction model is selected from the candidate prediction models according to the sorting result.
6. A terminal user peak prediction device, characterized in that: The device comprises: An acquisition module, used for acquiring the terminal user peak values of a plurality of continuous reference periods before the future period; A first determination module is used to determine a peak correlation factor corresponding to each reference period; wherein the peak correlation factor corresponding to each reference period is obtained by processing the terminal user peak values of each sample period corresponding to the reference period; A first prediction module is used to predict the terminal user peak value of the future time period based on the target prediction model and the weight coefficient corresponding to the target prediction model, according to the terminal user peak value and the peak correlation factor of each reference time period; wherein the number of the target prediction model is at least one; The first determination module processes the terminal user peak value of each sample time period corresponding to the reference time period, including: Accumulate the terminal user peak values of each sample period corresponding to the reference period to obtain the accumulated measurement value corresponding to the reference period; using the accumulated measurement value corresponding to the reference period as the peak correlation factor corresponding to the reference period; and / or, The ranking value of the accumulated measurement value corresponding to the reference time period is used as the peak correlation factor corresponding to the reference time period.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
