A method and device for adaptively adjusting OSU bandwidth

Through neural network prediction and optimization, the adaptive adjustment of OSU bandwidth is realized, which solves the problems of maintenance difficulty and poor adjustment effect caused by manual operations in the existing technology, and improves the utilization rate of bandwidth resources and user experience.

CN115225986BActive Publication Date: 2024-09-10FIBERHOME TELECOMMUNICATION TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110416710.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-19
Publication Date
2024-09-10
Estimated Expiration
2041-04-19

AI Technical Summary

Technical Problem

The existing OSU bandwidth adjustment method requires manual operation, which makes maintenance difficult, inconvenient adjustment, and ineffective, resulting in waste of bandwidth resources and insufficient utilization.

Method used

By obtaining business performance data, using feature engineering to process and train neural networks for bandwidth prediction, the prediction results are optimized to adaptively adjust bandwidth to achieve automated bandwidth management.

Benefits of technology

It reduces the cost of manual data processing and policy formulation, improves the utilization of bandwidth resources and the rationality of adjusting policies, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115225986B
    Figure CN115225986B
Patent Text Reader

Abstract

The present invention relates to the field of optical communications, and in particular to a method and device for adaptively adjusting the bandwidth of an OSU. It mainly includes: obtaining the performance data of a network of a service within a preset collection time period; using feature engineering to process the performance data into bandwidth data; using the bandwidth data to train a neural network, and using the neural network to predict the bandwidth probability distribution within a preset prediction time period; according to a preset bandwidth adjustment interval, optimizing the prediction result, and adaptively adjusting the bandwidth according to the optimization result. The present invention can adaptively adjust the bandwidth, reduce the labor cost and time cost of manually processing data and manually formulating adjustment strategies, fully allocate the imbalance between bandwidth resources, make the adjustment more intelligent, the adjustment strategy more reasonable, and the user experience better.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of optical communication, and in particular to a method and device for adaptively adjusting the bandwidth of an OSU. [Background technology]

[0002] Optical Service Unit (OSU) is a newly proposed optical transport network (OTN) switching particle, which has the characteristics of flexible use and wide bandwidth range.

[0003] In OSU, bandwidth adjustment is required according to business needs. The existing bandwidth policy is triggered by users through network management or control plane, which will lead to the waste of bandwidth resources and the lack of certain bandwidth resources in some cases. In addition, the existing bandwidth policy needs to be manually triggered and adjusted, and the OSU bandwidth span is large, which is inconvenient to adjust. As a result, manual operation and maintenance are extremely difficult, and the real-time bandwidth is unevenly distributed, and there are situations such as insufficient utilization and excessive load in certain time periods.

[0004] In view of this, how to overcome the defects of the prior art and solve the problem that the prior bandwidth adjustment method is inconvenient to adjust and has a poor adjustment effect is a problem to be solved in the technical field. [Summary of the invention]

[0005] In view of the above defects or improvement needs of the prior art, the present invention solves the problem that manual bandwidth adjustment causes great maintenance difficulty and cannot achieve the best adjustment effect.

[0006] The embodiment of the present invention adopts the following technical solution:

[0007] In a first aspect, the present invention provides a method for adaptively adjusting the bandwidth of an OSU, specifically comprising: obtaining performance data of a network of a service within a preset collection time period; using feature engineering to process the performance data into bandwidth data; using the bandwidth data to train a neural network, and using the neural network to predict the bandwidth probability distribution within a preset prediction time period; optimizing the prediction result according to a preset bandwidth adjustment interval, and adaptively adjusting the bandwidth according to the optimization result.

[0008] Preferably, feature engineering is used to process the performance data into bandwidth data, specifically including: selecting at least one scatter point in the performance data according to a preset time step; obtaining the probability of occurrence of each value of each discrete variable in the scatter point; taking the expected value of the scatter point and integerizing it as bandwidth data.

[0009] Preferably, the time step specifically includes: dividing each time period into a corresponding time step length according to the time cycle law of the business flow, the device node level and the business demand characteristics.

[0010] Preferably, before using feature engineering to process the performance data into bandwidth data, the method further includes: removing outliers in the performance data; standardizing the performance data after the outliers are removed; and screening the standardized performance data according to a variance screening method.

[0011] Preferably, removing abnormal values ​​in the performance data specifically includes: searching the performance data for data that exceeds the actual normal working range, values ​​with bit errors and / or values ​​consistent with the alarm time; obtaining the performance data value closest in time to each found performance data value, and replacing the found performance data value with the performance data value closest in time.

[0012] Preferably, the bandwidth data is used to train the neural network, specifically including: saving the bandwidth data in time series, and dividing it into a training set, a validation set, and a test set, and performing a benchmark test comparison; optimizing the prediction results according to the OSU application scenario; and performing LSTM-GRU stacking training using the divided bandwidth data according to the training parameters to obtain the predicted bandwidth probability distribution within a preset prediction time period.

[0013] Preferably, after using the segmented bandwidth data for LSTM-GRU stacking training, the method further includes: using an autoregressive model or a benchmark mean absolute error to benchmark the prediction model; if the prediction model passes the test, using the prediction model to make predictions; if the prediction model fails the test, regenerating the prediction model.

[0014] Preferably, the prediction result is optimized, specifically including: planning an adjustment strategy for the bandwidth of the prediction result according to the user's expected interval for bandwidth adjustment, and adjusting the bandwidth data of the prediction result according to the planned adjustment strategy.

[0015] Preferably, before adjusting the bandwidth data of the prediction result, it also includes: judging whether the number of adjustments is greater than the maximum tolerance number of the user; if the number of adjustments is less than or equal to the maximum tolerance number of the user, adjusting according to the planned adjustment strategy; if the number of adjustments is greater than the maximum tolerance number of the user, re-planning the adjustment strategy according to the maximum tolerance number of the user.

[0016] On the other hand, the present invention provides a device for adaptively adjusting the bandwidth of an OSU, specifically comprising: comprising at least one processor and a memory, wherein the at least one processor and the memory are connected via a data bus, and the memory stores instructions that can be executed by the at least one processor, and after the instructions are executed by the processor, they are used to complete the method for adaptively adjusting the bandwidth of the OSU in the first aspect.

[0017] Compared with the prior art, the beneficial effects of the embodiments of the present invention are: automatically acquiring network performance data through the network management system, automatically generating bandwidth probability distribution through a neural network for prediction, optimizing the prediction results according to the bandwidth adjustment interval expected by the user, and adaptively adjusting the bandwidth. The labor cost and time cost of manually processing data and manually formulating adjustment strategies are reduced, the imbalance between bandwidth resources is fully allocated, and the adjustment is more intelligent, the adjustment strategy is more reasonable, and the user experience is better.

Brief Description of the Drawings

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0019] Figure 1 A flow chart of a method for adaptively adjusting OSU bandwidth provided by an embodiment of the present invention;

[0020] Figure 2 A schematic diagram of an actual use scenario of OSU bandwidth adaptive adjustment provided by an embodiment of the present invention;

[0021] Figure 3 A flow chart of another method for adaptively adjusting OSU bandwidth provided by an embodiment of the present invention;

[0022] Figure 4 A flow chart of another method for adaptively adjusting OSU bandwidth provided by an embodiment of the present invention;

[0023] Figure 5 A flow chart of another method for adaptively adjusting OSU bandwidth provided by an embodiment of the present invention;

[0024] Figure 6 A schematic diagram of an adjustment scheme for adaptively adjusting OSU bandwidth provided by an embodiment of the present invention;

[0025] Figure 7 A schematic diagram of another system structure for adaptively adjusting OSU bandwidth provided by an embodiment of the present invention;

[0026] Figure 8 A schematic diagram of the structure of an OSU bandwidth adaptive adjustment device provided by an embodiment of the present invention. [Specific implementation method]

[0027] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention 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 invention and are not used to limit the present invention.

[0028] The present invention is an architecture of a specific functional system, so the specific embodiments mainly illustrate the functional logical relationship between the various structural modules, and do not limit the specific software and hardware implementation methods.

[0029] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other. The present invention will be described in detail below with reference to the accompanying drawings and embodiments.

[0030] Embodiment 1:

[0031] Since OSU is a new technology, in the technical field of OSU bandwidth adjustment, the current solutions are all based on manual adjustment, and there is no technical solution for automatically adapting the bandwidth strategy. In order to automatically process and predict bandwidth data, neural network technology can be used. Recurrent neural network is a classic deep learning algorithm that can be used for time series related predictions. In an embodiment of the present invention, neural network technology is transplanted to the application scenario of OSU, and a feature matrix and data preprocessing method suitable for the scenario are proposed through feature engineering. Furthermore, after the predicted value is obtained through the neural network, it is not directly applied, but the strategy is optimized through parameter adjustment and strategy confirmation, and the final bandwidth adaptation strategy is proposed.

[0032] like Figure 1 As shown, the specific steps of the method for adaptively adjusting OSU bandwidth provided by the embodiment of the present invention are as follows.

[0033] Step 101: Obtain network performance data of a service within a preset collection time period.

[0034] In order to adjust the service bandwidth, you need to first obtain the actual performance data of the service as a reference. Figure 2 The figure shows the performance data of access services of a comprehensive service access node on a certain day, where the columnar part represents the actual bandwidth of the service and the shaded part represents the fixed bandwidth adjusted by the customer. From the comparison between the actual bandwidth and the fixed bandwidth adjusted by the user in the figure, it can be seen that due to the uneven distribution of the actual bandwidth on the time axis, the fixed bandwidth is underutilized in some time periods and overloaded in other time periods.

[0035] In this embodiment, a neural network is used to predict the bandwidth required by the service, and the bandwidth is dynamically adjusted according to the predicted data. In order to train the neural network, the actual performance data of the service performance over a period of time is first obtained. Specifically, the relevant chip driver in the backbone network equipment can be used to collect the real-time performance-related data of the service, and then report it to the control plane or network management, and record it as the historical performance data of the actual bandwidth. The performance data that generally need to be used include: optical power, cyclic redundancy check (CRC) bit error rate, optical transport network overhead layer error seconds, instantaneous bandwidth, etc.

[0036] In the actual implementation of this embodiment, a gated recurrent unit (GRU) is used for prediction. When the time series is too long, the earliest data will be forgotten. When the time series is too short, the trend and characteristics of the data cannot be clearly represented. Therefore, the actual bandwidth performance data collection period is preferably 3 months to 1 year.

[0037] Furthermore, the raw performance data collected directly may contain abnormal values ​​such as values ​​outside the working range or bit error values ​​due to various reasons such as signal interference and abnormal operation, and may contain data dimensions that are less relevant to bandwidth prediction. Therefore, before performing feature engineering on the performance data, data preprocessing and feature selection are required. Figure 3 As shown, the following steps can be used for preprocessing and feature selection.

[0038] Step 201: Remove outliers from performance data.

[0039] In order to remove outliers in performance data, you first need to search for outliers, that is, search for data in the performance data that exceeds the actual normal working range, values ​​with bit errors, and values ​​consistent with the alarm time. The above data are all outliers and cannot correctly represent the actual bandwidth status, so they need to be removed.

[0040] The following provides some examples of performance numerical outliers that need to be removed in a specific implementation. In a specific implementation, based on the types of values ​​collected and the types of values ​​that may be outliers, outlier searches and removal are required for values ​​that may be outliers.

[0041] (1) Optical power. The optical power in optical communications has a certain working range. It needs to be screened according to the actual working range of the optical power in the project. All values ​​exceeding the upper limit of the working range and below the lower limit of the working range are abnormal values.

[0042] (2) Bit errors. CRC bit errors and other bit errors will generate an alarm when they exceed the threshold. If the alarm generation time coincides with the data collection time, it means that the data at that time has bit errors and is an abnormal value.

[0043] After removing the outliers, in order to ensure the uniformity of the performance value distribution, the data corresponding to the time points of the removed outliers need to be supplemented. Specifically, the performance data value closest in time to each found performance data value can be obtained, and the performance data value closest in time can be used to replace the found performance data value outliers.

[0044] Step 202: Standardize the performance data after removing outliers.

[0045] In this embodiment, general standardization processing methods such as minimum-maximum normalization, zero-mean normalization, and decimal calibration normalization can be used. Taking the most widely used data normalization method, zero-mean normalization (also known as standard deviation normalization or z-score normalization), as an example, the mean of the processed data is 0 and the standard deviation is 1. The standard deviation score can indicate how many standard deviations a given data is from its mean. The conversion formula for zero-mean normalization is as shown in Formula 1.

[0046]

[0047] Among them, x * is the standardized data, x is the original data, is the mean of the original data, and σ is the standard deviation of the original data. After data standardization, data above the mean will receive a positive standardization score, and vice versa, a negative standardization score will be received. Step 203: The standardized performance data is screened according to the variance screening method.

[0048] The performance data collected through the network management or control plane contains many numerical types. For the convenience of processing, it is necessary to filter the data according to the variance screening method, filter out physical quantities such as optical power that have little correlation with bandwidth prediction, and reduce the dimension of the performance data to improve the prediction accuracy and processing efficiency. In the actual use scenario of a certain business, the performance data after dimension reduction retains the time, bandwidth, and device node dimensions. Observing the data characteristics, it is found that the bandwidth changes of the business are highly correlated with holidays and weekends. Therefore, it is necessary to process the weekday data and the holiday and weekend data separately. In the actual application scenarios of other businesses, it is necessary to filter out the performance data dimensions that are more relevant to bandwidth prediction based on business characteristics and the variance of performance data.

[0049] Through step 201 to step 203, the preprocessing of data standardization and screening is completed, abnormal data is removed, and the data set with the highest correlation with bandwidth prediction is screened out, thereby improving the accuracy of neural network training and prediction in subsequent steps.

[0050] Step 102: Process the performance data into bandwidth data using feature engineering.

[0051] There are many types of historical performance data directly obtained. In order to analyze the data dimensions with the highest correlation with business bandwidth prediction from a variety of data, it is necessary to perform feature engineering on the performance data and select bandwidth data that can predict business bandwidth.

[0052] In specific implementation, Figure 4 As shown, feature engineering can be performed using the following steps.

[0053] Step 301: Select at least one scattered point in the performance data according to a preset time step.

[0054] In order to facilitate data processing, it is necessary to discretize the approximately continuous data obtained by sampling and convert it into scattered data for processing. In the preferred scheme of this embodiment, the Monte Carlo sampling method is used to select a number of scattered points in each time step as discretized data. In the specific implementation, each acquisition time period can be divided into multiple time steps as needed. The length of the time step is determined according to the time cycle law of the business traffic, the device node level and the business demand characteristics. Based on the consideration of the amount of calculated data and the prediction accuracy, it is usually set to 1min-30min, preferably 10min.

[0055] Step 302: Obtain the occurrence probability of each value of each discrete variable in the scatter points.

[0056] Since performance data contains values ​​of various properties and units of measurement, it is discrete and disordered. In order to perform unified calculations, it is first necessary to digitize the features according to the probability of occurrence of each value. In specific implementations, the one-hot encoding method can be used to digitize the features according to the probability of occurrence of each value of each discrete variable. Specifically, the probability of a discrete variable x, p(x), = the number of times x appears / the total number of scattered points.

[0057] Step 303: Take the expected value of the scattered points and convert it into an integer as bandwidth data.

[0058] Specifically, the bandwidth data can be calculated using Formula 2.

[0059]

[0060] Among them, s is the bandwidth data corresponding to each performance data, f(x) is the performance data corresponding to the discrete variable x, p(x) is the probability of the discrete variable x, and Ep[f(x)] is the expected value of the discrete variable x. Here, only bandwidth is used as an example. Other data corresponding to each performance data, such as time, device node, etc., can be calculated according to Formula 2.

[0061] After completing feature engineering, the following two-dimensional tensor can be obtained for use as bandwidth data.

[0062]

[0063] T nt : Time steps 1, 2, 3, 4...

[0064] X nb : Bandwidth {1, 2...1024}

[0065] X nfes :{true,false}

[0066] X ncap : {1, 2, 3, 4}

[0067] X wek : {0, 1, 2, 3, 4, 5, 6}

[0068] Through steps 301 to 303, feature engineering of the original data can be completed to obtain bandwidth data for prediction.

[0069] Step 103: Use the bandwidth data to train a neural network, and use the neural network to predict the bandwidth probability distribution within a preset prediction time period.

[0070] Once bandwidth data is obtained, the neural network can be trained using the bandwidth data. Figure 5 As shown, the training can be completed using the following specific steps.

[0071] Step 401: The bandwidth data is saved in time series and divided into a training set, a validation set and a test set, and a benchmark comparison is performed.

[0072] In a specific implementation scenario of this embodiment, there is a benchmark test. The actual data collected 24 hours ago is used as the prediction result and marked as T1. Then, a Naive-RNN is introduced as T2. The GRU-related neural network is T3, whose form is variable and the basic unit is (Dense, GRU). The mean absolute error MAE is used to evaluate the accuracy of the model. When Mae(T3) < Mae(T1) and Mae(T3) < Mae(T2), it can be considered that the proposed prediction strategy outperforms the experience-based or naive RNN-based ones, and the data predicted by T3 can be used as the prediction result. In other specific scenarios, different benchmark test datasets can be adopted according to different prediction requirements, and various general evaluation models can be used to evaluate the prediction results.

[0073] Step 402: Optimize the prediction result according to the OSU application scenario.

[0074] In the actual use of this embodiment, for different application scenarios, the requirements for bandwidth adjustment are also different. For example, in a certain scenario, the lack of bandwidth in the network is much more harmful than the remaining bandwidth, so a larger maximum value needs to be set for the bandwidth to prevent bandwidth shortage. In actual use, the optimal utilization rate and the minimum risk can be weighed through the preset parameter m, and the specific calculation can be carried out through Formula 3.

[0075] f(x) = (∑ 1≤i≤m X bi ·Max i (P n (X b ))) / m (Formula 3)

[0076] Among them, the bandwidth to be adjusted is set through f(x), m is the preset parameter, X bi is the i-th largest bandwidth value, Max i is the i-th largest value in a certain sequence, P n (X b ) is the probability distribution of the discrete variable Xb, and X b is the bandwidth value.

[0077] Step 403: According to the training parameters, use the segmented bandwidth data for LSTM-GRU stacked training to obtain the predicted bandwidth probability distribution within the preset prediction time period.

[0078] After adjusting the training parameters, the neural network can be trained, and the prediction function f(x) can be used to obtain the bandwidth probability distribution within the prediction time period. In the preferred scheme of this embodiment, an optimized RNN: LSTM-GRU is used to solve the "memory" problem of the time series to improve the accuracy of the prediction. On the other hand, in the application of neural networks, as the prediction time period becomes longer, the prediction results will become more and more inaccurate. Therefore, in the specific implementation, it is necessary to select a suitable prediction time period according to the required prediction accuracy. The preferred value of the prediction time period is 24 hours.

[0079] Furthermore, in order to prevent a traffic surge, it is necessary to use Formula 4 to adjust the calculation result and limit the adjusted bandwidth to within the bandwidth upper limit range.

[0080] B(x)=Max(f(x),Max(X b )) (Formula 4)

[0081] Among them, B(x) is the calculated bandwidth, f(x) is the bandwidth to be adjusted, and X b For bandwidth

[0082] Through step 401 to step 403, the bandwidth data is predicted, and the predicted bandwidth data is optimized by adjusting the preset parameter m and adjusting the bandwidth limit to adapt to the accuracy of bandwidth prediction in different scenarios and make the bandwidth adjustment strategy more in line with user expectations.

[0083] Furthermore, in order to ensure the effectiveness of the prediction model of the neural network, the prediction results need to be benchmarked using common benchmarking methods such as autoregressive models and mean absolute error. When the prediction value of the prediction model can pass the benchmark test, the model can be considered to be effective and the prediction model can be used for prediction; if the prediction model fails the test, it means that the prediction model is inaccurate and a new data set is used to regenerate the prediction model.

[0084] Step 104: Optimize the prediction result according to the preset bandwidth adjustment interval, and adaptively adjust the bandwidth according to the optimization result.

[0085] After obtaining the bandwidth prediction data, the bandwidth adjustment strategy of the prediction result is planned according to the user's expected interval for bandwidth adjustment, and the bandwidth data of the prediction result is adjusted according to the planned adjustment strategy. Specifically, the adjustment needs to be made according to the user's concern for bandwidth and tolerance for the number of adjustments. Figure 6As shown in the figure, the ordinate is the bandwidth value, the abscissa is the time axis (calculated in 24 hours), the solid curve represents the historical bandwidth, the dotted curve represents the predicted bandwidth, the dotted straight line represents the linear value of the bandwidth change, each rectangle represents a bandwidth adjustment based on the predicted value, the abscissa width of the rectangle represents the bandwidth adjustment interval, and the ordinate height represents the adjusted bandwidth value. It can be seen from the figure that the finer the granularity of the bandwidth adjustment interval, the higher the bandwidth utilization rate. Specifically, different adjustment strategies can be provided according to user needs. If the user is not very concerned about the network bandwidth utilization rate, a larger bandwidth adjustment interval, that is, a rectangle with a larger abscissa width, can be used to reduce the number of adjustments and reduce the bandwidth adjustment burden of the system; if the user is very concerned about the network bandwidth utilization rate, a smaller bandwidth adjustment interval, that is, a rectangle with a smaller abscissa, can be used to increase the adjustment frequency, so that the adjusted bandwidth value matches the actual value more closely. By setting different bandwidth adjustment intervals, the adjustment strategy provided by the prediction results is optimized, and the optimal utilization rate and the minimum risk are compromised.

[0086] Furthermore, in order to improve user experience, bandwidth planning strategies are implemented based on the user's expected interval for bandwidth adjustment, and a maximum tolerance for the number of adjustments is introduced. Before making adjustments, determine whether the number of adjustments is greater than the user's maximum tolerance. If the number of adjustments is less than or equal to the user's maximum tolerance, the adjustment is made according to the planned adjustment strategy; if the number of adjustments is greater than the user's maximum tolerance, the adjustment strategy is replanned according to the user's maximum tolerance.

[0087] Introducing the maximum number of tolerances C size Finally, Formula 4 is optimized according to Formula 5, Formula 6, Formula 7 and Formula 8.

[0088] N range =T / C size (Formula 5)

[0089] Among them, N range is the bandwidth adjustment interval; T is the number of time steps, that is, the number of bandwidth adjustment intervals within the preset prediction time period; C size is the maximum number of tolerated times.

[0090] Specifically, for each time interval, corresponding formulas may be obtained in sequence according to Formula 6 and Formula 7 for calculation.

[0091]

[0092]

[0093] in, is the bandwidth adjustment interval for the i-th adjustment, i is the number of adjustments, and range is.

[0094] From Formula 6 and Formula 7, we can know that each N range Corresponding to a trusted bandwidth B range . Body, B range This can be calculated using Equation 7 and Equation 8.

[0095]

[0096]

[0097] in, Indicates the trusted bandwidth after the first adjustment, which can also be understood as the first interval The trusted bandwidth obtained, range represents the size of the partition interval, B1(x) represents the calculated bandwidth (same as formula 4), B range (x) represents the calculated bandwidth (same as formula 4), and the subscript range represents the number of adjustments.

[0098] After steps 101 to 104 provided in this embodiment, the bandwidth adjustment interval and the adjusted trusted bandwidth can be obtained. The bandwidth is automatically adjusted using the time interval and the trusted bandwidth. Figure 7 The system architecture shown implements data acquisition, neural network prediction, and bandwidth adjustment.

[0099] The bandwidth adjustment method provided by this embodiment has the following advantages.

[0100] (1) There is no need for frequent real-time adjustments. The bandwidth strategy is based on actual scenario data and is more accurate and reliable.

[0101] (2) The user experience is good and the adjustable bandwidth range is wide enough. The existing bandwidth adjustment method may have idle bandwidth. The adaptive adjustment based on bandwidth prediction provided by this embodiment can fully adjust the imbalance between bandwidth resources and improve the user experience.

[0102] (3) Reduce the maintenance cost of engineering personnel. Assume that there are two types of network nodes, M2 and M1. M2 is an integrated service access node and M1 is a customer node. The total bandwidth carried by M2 is much larger than that of M1, and M2 supports OSU scheduling. When there are multiple access M1s to a certain M2 access point, the engineering personnel only need to configure a set of bandwidth adjustment policies to provide bandwidth adjustment services for all M1s.

[0103] This embodiment applies LSTM-GRU to the OSU scenario, proposes a feature matrix suitable for the scenario, and screens and preprocesses the data. After obtaining the predicted value, it is not directly applied but optimized in terms of strategy, and proposes a final bandwidth adaptation strategy so that resources can be flexibly allocated and fully utilized. At the same time, from the acquisition of the original performance data to the final bandwidth adjustment according to the strategy, except for the initial strategy configuration and strategy change such as the maximum tolerance number, no manual operation is required, and the degree of intelligence is high, which reduces the manual cost of adjustment and avoids the problems caused by manual adjustment.

[0104] Embodiment 2:

[0105] Based on the method for adaptively adjusting the OSU bandwidth provided in the above embodiment 1, the present invention also provides a device for adaptively adjusting the OSU bandwidth that can be used to implement the above method, such as Figure 8 , which is a schematic diagram of the device architecture of an embodiment of the present invention. The device for adaptively adjusting the OSU bandwidth of this embodiment includes one or more processors 21 and a memory 22. Figure 8 A processor 21 is taken as an example.

[0106] The processor 21 and the memory 22 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0107] The memory 22 is a non-volatile computer-readable storage medium as an OSU bandwidth adaptive adjustment method, which can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the OSU bandwidth adaptive adjustment method in Example 1. The processor 21 executes various functional applications and data processing of the OSU bandwidth adaptive adjustment device by running the non-volatile software programs, instructions and modules stored in the memory 22, that is, the OSU bandwidth adaptive adjustment method of Example 1 is implemented.

[0108] The memory 22 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 22 may optionally include a memory remotely arranged relative to the processor 21, and these remote memories may be connected to the processor 21 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0109] The program instructions / modules are stored in the memory 22. When executed by one or more processors 21, the method for adaptively adjusting the OSU bandwidth in the above embodiment 1 is executed. For example, the method described above is executed. Figure 1 , Figure 3-Figure 5 The steps shown.

[0110] A person skilled in the art may understand that all or part of the steps in the various methods of the embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0111] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for adaptively adjusting OSU bandwidth, Features: Obtain network performance data for services within a preset collection time period; Use feature engineering to process performance data into bandwidth data; The neural network is trained using the bandwidth data, and the neural network is used to predict the bandwidth probability distribution within a preset prediction time period; The prediction result is optimized according to the preset bandwidth adjustment interval, and the bandwidth is adaptively adjusted according to the optimization result.

2. The method for adaptively adjusting the OSU bandwidth according to claim 1, It is characterized in that The use of feature engineering to process performance data into bandwidth data specifically includes: Selecting at least one scattered point in the performance data according to a preset time step; Get the probability of occurrence of each value of each discrete variable in the scatter points; Take the expected value of the scattered points and convert it into an integer as the bandwidth data.

3. The method for adaptively adjusting the OSU bandwidth according to claim 2, It is characterized in that The time steps specifically include: According to the time cycle law of business traffic, device node level and business demand characteristics, the corresponding time step length is divided for each time period.

4. The method for adaptively adjusting the OSU bandwidth according to claim 1, It is characterized in that Before using feature engineering to process the performance data into bandwidth data, the following steps are also included: Remove outliers from performance data; Standardize the performance data after removing outliers; The standardized performance data are screened using the variance screening method.

5. The method for adaptively adjusting the OSU bandwidth according to claim 4, It is characterized in that The removing of outliers in the performance data specifically includes: Find the performance data that exceeds the actual normal working range, contains bit errors, and / or has values ​​that coincide with the alarm time. The performance data value closest in time to each found performance data value is obtained, and the found performance data value is replaced with the performance data value closest in time.

6. The method for adaptively adjusting the OSU bandwidth according to claim 1, It is characterized in that The use of bandwidth data to train the neural network specifically includes: The bandwidth data is saved in time series and divided into training set, validation set and test set, and benchmark comparison is performed; Optimize the prediction results according to the OSU application scenario; According to the training parameters, the segmented bandwidth data is used to perform LSTM-GRU stacking training to obtain the predicted bandwidth probability distribution within the preset prediction time period.

7. The method for adaptively adjusting the OSU bandwidth according to claim 1, It is characterized in that After the LSTM-GRU stack training is performed using the segmented bandwidth data, the following steps are also included: Benchmark the forecasting models using autoregressive models or benchmark mean absolute error; If the prediction model passes the test, use the prediction model to make predictions; If the prediction model fails the test, regenerate the prediction model.

8. The method for adaptively adjusting the OSU bandwidth according to claim 1, It is characterized in that The optimization of the prediction results specifically includes: According to the user's expected interval for bandwidth adjustment, an adjustment strategy for the bandwidth of the prediction result is planned, and the bandwidth data of the prediction result is adjusted according to the planned adjustment strategy.

9. The method for adaptively adjusting the OSU bandwidth according to claim 8, It is characterized in that Before adjusting the bandwidth data of the prediction result, the method further includes: Determine whether the number of adjustments is greater than the user's maximum tolerance number; If the number of adjustments is less than or equal to the user's maximum tolerance, the adjustment is performed according to the planned adjustment strategy; If the number of adjustments is greater than the user's maximum tolerance, the adjustment strategy is replanned according to the user's maximum tolerance.

10. A device for adaptively adjusting OSU bandwidth, Features: The method comprises at least one processor and a memory, wherein the at least one processor and the memory are connected via a data bus, and the memory stores instructions that can be executed by the at least one processor, and after being executed by the processor, the instructions are used to complete the method for adaptively adjusting the OSU bandwidth according to any one of claims 1 to 9.