Network traffic modeling and prediction method and device based on mixed integer programming

Through network traffic modeling and rolling prediction technology based on mixed integer programming, the problem of difficulty in accurately predicting campus network traffic in the existing technology is solved, accurate interval prediction of future traffic data is achieved, and the accuracy and applicability of traffic modeling are improved. sex.

CN115941511BActive Publication Date: 2024-09-27STATE GRID INFORMATION & TELECOMM GRP CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211627689.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-16
Publication Date
2024-09-27
Estimated Expiration
2042-12-16

AI Technical Summary

Technical Problem

Existing network traffic modeling is difficult to accurately depict the periodicity, autocorrelation, and randomness of traffic in the campus network. As a result, the prediction accuracy of the traffic data volume at future time nodes is not high and cannot be applied to all application scenarios.

Method used

Adopt a network traffic modeling method based on mixed integer programming, collect campus network traffic data, build a Box set model, use rolling prediction technology to describe the uncertainty of traffic, and combine it with budget constraints to reduce prediction errors and achieve accurate prediction of future traffic data. Interval forecast.

Benefits of technology

It improves the accuracy of network traffic modeling, can provide smaller prediction errors while satisfying traffic self-similarity and long-term correlation, and describes the uncertainty of traffic through rolling prediction, which is suitable for a variety of application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941511B
    Figure CN115941511B
Patent Text Reader

Abstract

The present invention discloses a network traffic modeling and prediction method and device based on mixed integer programming, introduces the relevant concepts of Box sets, and establishes a traffic model based on mixed integer programming. In this modeling and optimization problem, the network traffic time series is converted into a high-dimensional point set, with the goal of cutting the most redundant space in all scenarios, and a mixed integer programming model is established to solve multiple hyperplane boundaries of the Box set. In this optimization problem, it can be ensured that the points corresponding to a section of traffic time series in all scenarios are included in this Box set, ensuring that there can be a smaller estimation error when making interval predictions for future data. At the same time, multiple budget constraints are introduced, and the time series is predicted based on this model. The budget constraints are mainly obtained from the analysis results of the network traffic, and these budget constraints can ensure that the Box set describing the network traffic is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of network traffic analysis, and in particular relates to a network traffic modeling and prediction method and device based on mixed integer programming. Background Art

[0002] Network traffic is the amount of data transmitted on the network. Network traffic is an important basis for network performance research. All network behavior characteristics can be obtained through network traffic analysis. It is generally believed that network traffic has the following characteristics: self-similarity, long-term correlation, periodicity, burstiness, etc.

[0003] The campus network is generally tree-like in structure, and a star-like structure may exist in some parts of a relatively large campus network. Generally speaking, a campus network can be divided into three layers: access layer, aggregation layer, and core layer. Since there are many switches connected to the access layer and many APs and terminals extending downward, the addition and exit of traffic in the campus traffic, as well as the throughput and message size of the traffic itself are all uncertain, with strong randomness and many constraints. Therefore, how to analyze the traffic carried on the network, collect traffic in a high-bandwidth and high-load network environment in real time, and dynamically support the latest network protocols, implement network traffic modeling and performance analysis, and improve and optimize network performance are issues that researchers have been working on.

[0004] At present, network traffic is mostly analyzed based on traffic time series, and network models include traditional network traffic models, self-similar network traffic models, prediction models based on machine learning, etc. Specifically, there are Markov models, Poisson process models, FBM / FGN models, multi-fractal wavelet models, etc.

[0005] At present, the use of prediction models based on machine learning, such as LSTM, and chaos theory models has become increasingly common. However, in the process of modeling actual network traffic, there are congestion and burst packet loss on the wired side of the campus network, and random packet loss on the wireless side. The throughput on the wireless side of the campus is greatly affected by the environment. When the number of accessed STAs increases or the air interface status changes, the physical layer of the wireless air interface will cause random packet loss due to interference, and the actual accuracy of modeling is not satisfactory. The inherent bluntness and multi-fractal nature of network traffic, although each model has its own characteristics, their correlation structures all show exponential decay, which is manifested in the rapid decay of the autocorrelation function in mathematical representation, and cannot accurately describe network traffic. When predicting the size of network traffic data at future time nodes, it cannot be applied to all application scenarios.

[0006] This scheme hopes to study a better modeling and prediction strategy for network traffic based on mixed integer programming, combine it with actual network data, minimize the prediction error while satisfying the self-similarity and long-term correlation of traffic, and describe the uncertainty of network traffic through rolling prediction according to the established model. Summary of the invention

[0007] In order to solve the above problems, the present invention provides a calculation process and optimization method for network traffic modeling and prediction based on mixed integer programming, which can accurately describe the periodicity, autocorrelation and randomness of network traffic, improve the accuracy of network traffic modeling, and accurately give interval prediction results for several time points in the future through rolling prediction.

[0008] To achieve the above object, the network traffic modeling and prediction method based on mixed integer programming of the present invention comprises the following steps:

[0009] S1, collect network traffic transmission data of each terminal in the campus network;

[0010] S2, build a Box set of traffic transmission data. Based on the network traffic transmission data collected in S1, establish a mixed integer programming model to solve the Box set that describes the traffic uncertainty. Use the Box set to construct a mathematical programming problem for rolling prediction to obtain the prediction result of the traffic data.

[0011] S3. Control the operation of the campus network system including terminals and various switch devices according to the prediction results of the traffic data obtained in S2.

[0012] Further, S1 includes the following steps:

[0013] S1.1. Use Netflow software to collect network traffic packets;

[0014] S1.2. Aggregate the received data packet flow information into streams.

[0015] Further, S2 includes the following steps:

[0016] S201, dividing the network traffic transmission data into equal time periods to obtain a high-dimensional point set;

[0017] S202, establishing an initial Box set mathematical model based on the high-dimensional point set, then cutting the Box set mathematical model, simplifying the cut Box set to obtain the MILP mathematical model, and finally using the Lagrangian relaxation method to relax some constraints of the MILP mathematical model to the objective function to obtain a Lagrangian relaxation transformation model, and solving the Lagrangian relaxation transformation model to obtain several hyperplane constraints describing the Box;

[0018] S203, analyzing the traffic characteristics and adding budget constraints to obtain another set of hyperplane constraints;

[0019] S204, constructing a prediction node mathematical programming model according to the two sets of hyperplane constraint conditions obtained in S202 and S203, the prediction node mathematical programming model including an objective function and constraint conditions;

[0020] S205. Perform rolling prediction on future traffic data based on the constructed prediction node mathematical programming model to obtain prediction results for each time node in the future.

[0021] Further, S202 includes the following steps:

[0022] 1) Establish the initial Box set mathematical model as:

[0023]

[0024] in For the Box collection you need to get, is a high-dimensional point coordinate, For the The coordinate values ​​in the dimension, is the maximum value in each dimension , It is a high-dimensional point set obtained after processing the S201 traffic data, so that an initial Box set can be obtained;

[0025] 2) Cut the box set using the cutting box set mathematical model;

[0026] 3) Simplify the Box set mathematical model after cutting to obtain the MILP mathematical model:

[0027] 4) Use the Lagrangian relaxation method to relax some constraints of the MILP model to the objective function to obtain the Lagrangian relaxation transformation model. Solving the above Lagrangian relaxation transformation model can obtain an optimal solution , add the constraints of the Lagrangian relaxation transformation mathematical model , solve again to get the suboptimal solution, and repeat the solution many times until you get A hyperplane constraint.

[0028] Furthermore, in S203, analyzing the network traffic characteristics includes time series smoothing, long-term trend fitting, and periodic factor extraction.

[0029] Furthermore, in S204, the objective function of the prediction node mathematical programming model is:

[0030]

[0031] in, For prediction nodes The prediction upper bound of For prediction nodes The predicted lower bound of .

[0032] Furthermore, in S204, the constraint condition is:

[0033]

[0034] in, , In order to solve the coefficients of the two sets of hyperplane constraints obtained from the MILP model after Lagrangian relaxation and the budget constraint mathematical model, The first constraint is the Box set hyperplane constraint, To The first constraint is the budget constraint, and the last constraint is , is the decision variable, The time node for which traffic data needs to be predicted.

[0035] Further, S205 includes the following steps:

[0036] a. According to the coefficient matrix of the mathematical programming model of the prediction node, use the Benders decomposition method to solve the mathematical programming model of the current prediction node and obtain the prediction result of the current prediction node. The coefficient matrix includes the coefficient matrix and right-hand side vector of the inequality constraint, the coefficient matrix and right-hand side vector of the equality constraint, and the upper and lower bounds of the single variable constraint. If the termination condition is met, the process ends and the prediction result of the node flow in the future period is obtained; otherwise, execute b;

[0037] b. Add the prediction result of the current prediction node to the constraint conditions of the mathematical programming model of the next prediction node, update the coefficient matrix of the mathematical programming model, and solve to obtain the prediction result of the next prediction node. Repeat this process and perform backward rolling prediction until the target prediction time is reached to obtain the prediction results of each time node in the future.

[0038] A network traffic modeling and prediction device based on mixed integer programming includes a traffic collection module, an optimization calculation module and a central controller module connected in sequence; the traffic collection module is used to collect network traffic transmission data of each terminal in the campus network; the optimization calculation module is used to construct a Box set of traffic transmission data, establish a mixed integer programming model based on the network traffic transmission data to solve the Box set describing the traffic uncertainty, use the Box set to construct a mathematical programming problem for rolling prediction, and obtain the prediction result of the traffic data; the central controller module is used to control the operation of the campus network system including terminals and various switch devices based on the prediction result of the traffic data.

[0039] Furthermore, the traffic collection module includes a network traffic data packet collection module and a traffic data packet information aggregation module; the network traffic data packet collection module is used to collect network traffic data packets; the traffic data packet information aggregation module is used to aggregate the received data packet traffic information into streams.

[0040] Compared with the prior art, the present invention has at least the following beneficial technical effects:

[0041] In order to describe the uncertainty of the burst volume of network traffic data, this method introduces the concept of Box set and establishes a network traffic model based on mixed integer programming. In this modeling and optimization problem, the network traffic time series is converted into a high-dimensional point set, with the goal of cutting the most redundant space in all scenarios. A mixed integer programming model is established to solve the multiple hyperplane boundaries of the Box set. In this optimization problem, it can be guaranteed that the points corresponding to a section of traffic time series in all scenarios are included in this Box set, ensuring that there can be a smaller estimation error when making interval predictions for future data.

[0042] Furthermore, this method introduces the concept of budget constraints. After obtaining the box set of network traffic, it further removes redundant space to obtain a more accurate description of the distribution of traffic data points, and further predicts the interval of future time series. The budget constraint is mainly obtained from the analysis results of network traffic. By adding budget constraints, the box set describing network traffic can be guaranteed to be more accurate. Each time the future traffic data interval is predicted, a mathematical linear programming model is solved, and the predicted data of future time points are added to the constraints in turn, and accurate prediction results are obtained by continuous rolling. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 This is a schematic diagram of the connection between terminals and switches of the campus network system;

[0044] Figure 2 It is a traffic dispatching system based on the campus network system;

[0045] Figure 3 A flow chart of an operational optimization method for network traffic modeling and prediction based on mixed integer programming;

[0046] Figure 4 This is a schematic diagram of the flow data preprocessing module;

[0047] Figure 5 A budget constraint diagram is obtained for optimizing the computational module;

[0048] Figure 6 Schematic diagram of rolling prediction for optimization calculation module. DETAILED DESCRIPTION

[0049] In order to make the purpose and technical solution of the present invention clearer and easier to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. The specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0050] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are used only for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more. In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0051] The present invention studies a better modeling and prediction strategy for network traffic based on mixed integer programming, combines it with actual network data, minimizes the prediction error while satisfying the self-similarity and long-term correlation of traffic, and describes the uncertainty of network traffic through rolling prediction according to the established model.

[0052] Reference Figure 1 An embodiment of the present invention provides a campus network system including terminals and multiple switch devices, including a central processor, a layer 1 core switch (hereinafter referred to as core SW), a layer 2 aggregation switch (hereinafter referred to as aggregation SW), a layer 3 access switch (hereinafter referred to as access SW), a computer terminal, a mobile terminal, a wireless AP, and a server. The central processor is connected to all the core switches, each core switch is connected to two aggregation switches, each aggregation switch is connected to an access switch, and different access switches are respectively connected to computer terminals, mobile terminals, wireless APs, and servers.

[0053] The system can transmit data packets through links and connect to the operator network through dedicated lines from the outside to provide users with data transmission, forwarding and receiving services;

[0054] The central processor is responsible for network traffic configuration. The configuration models are divided into three types: fully centralized configuration model, hybrid configuration model, and fully distributed configuration model. The fully centralized configuration model uses a centralized network configuration controller (CNC) and a centralized user configuration controller (CUC). The CUC in the management unit is responsible for translating user network requirements and inter-domain coordination of network information and device configuration. The CNC is responsible for implementing device monitoring management, network topology discovery, traffic monitoring and optimization, business modeling, and scheduling model delivery in the same time-sensitive network domain.

[0055] The functional architecture of the network in the centralized configuration model should follow the SDN technology ideas and comply with the current protocol requirements (IEEEstd802.1Qcc), including three functional units: control management unit (CNC, CUC), transmission unit (gateway, switch), and application unit (industrial terminal equipment, base station, etc.).

[0056] The core, aggregation, and access layer SWs form a three-layer architecture to deploy bridge devices, namely core, aggregation, and access layer devices. The core layer devices - core switches are deployed in the factory-level computer room to achieve interconnection between workshops within the factory; the aggregation layer devices - aggregation access switches are deployed in the workshop-level computer room to achieve interconnection between different production lines within the workshop, and between centralized controllers and equipment; access devices - access switches are deployed at the production site to achieve communication protocol conversion of communication interfaces such as field equipment and sensors, and interconnection with controllers and detection and monitoring devices. All three types of switches belong to transmission units. In addition to supporting time-sensitive network-related forwarding features, they also support related online measurement protocols and send related status to the management unit in real time to achieve real-time full-network monitoring and dynamically adjust related configurations according to network requirements and status.

[0057] Terminal devices refer to industrial devices with time-sensitive network functions, including mobile phones, computers, controllers, PLCs, servos, I / O and other devices. These are all application units, which need to have the ability to access time-sensitive networks and support online measurement and operation and maintenance related protocols to achieve full network topology discovery, status monitoring and network service optimization.

[0058] The control plane workflow of the centralized configuration model is as follows: when adding a new data stream, CUC represents Talker and Listener to inform CNC of user demand information through the user network interface; CNC performs corresponding operations based on the information obtained, and sends the obtained network configuration parameters to each related switch in the network; the switch can use the corresponding strategy when forwarding data frames based on the received network configuration information.

[0059] Through CNC, the system is responsible for equipment monitoring and management, network topology discovery, traffic monitoring and optimization in the same time-sensitive network domain according to the results of model optimization, so as to achieve the goal of stable network operation;

[0060] The campus network system includes terminals and various switch devices. The goal of the campus network is to provide service quality by ensuring bandwidth, limiting delays, and accurately synchronizing time on the basis of traditional Ethernet, and to unify and integrate real-time audio and video media streams and conventional asynchronous Ethernet data streams to support various audio and video-based network multimedia applications.

[0061] Reference Figure 2 A traffic scheduling system based on a campus network system includes a traffic collection module, an optimization calculation module and a central controller module connected in sequence; the traffic collection module is used to collect network traffic transmission data of each terminal in the campus network, and transmit the collected network traffic transmission data to the optimization calculation module, and the network traffic transmission data includes current load and predicted demand load data; the optimization calculation module is used to obtain a network traffic scheduling strategy set, that is, an optimal operation strategy set, according to the network traffic transmission data, and transmit the optimal operation strategy set to the central controller; the central controller module is connected to the switches and terminal devices in the campus network system through data cables, and controls the power on and off and the operation status of each device according to the optimal operation strategy set.

[0062] Reference Figure 3 As shown, an embodiment of the present invention provides a network traffic modeling and prediction method based on mixed integer programming. In order to describe the uncertainty of the burst volume of network traffic data, the method establishes a network traffic model based on mixed integer programming. In this traffic modeling and prediction problem, the network traffic time series is converted into a high-dimensional point set, with the goal of cutting the most redundant space in all scenarios, and a mixed integer programming model is established to solve multiple hyperplane boundaries of the Box set. In this optimization problem, it can be ensured that the points corresponding to a section of the traffic time series in all scenarios are included in this Box set, ensuring that there can be a smaller estimation error when making interval predictions for future data.

[0063] A network traffic modeling and prediction method based on mixed integer programming includes the following steps:

[0064] S1, collect network traffic transmission data of each terminal in the campus network;

[0065] S2, build a Box set of traffic transmission data. Based on the network traffic transmission data collected in S1, establish a mixed integer programming model to solve the Box set that describes the traffic uncertainty. Use the Box set to construct a mathematical programming problem for rolling prediction, and obtain the prediction result of the traffic data transmission volume in the future.

[0066] S3. Control the operation of the campus network system including terminals and various switch devices according to the prediction results of the traffic data obtained in S2.

[0067] Wherein, S2 includes the following steps:

[0068] S201, network traffic transmission data processing, the network traffic transmission data collected by S1 is a time series , divided by equal time, several time intervals are obtained. The size of each time node in each time interval corresponds to a coordinate value on a dimension. A time interval corresponds to a high-dimensional coordinate. Thus, a time series can be converted into a high-dimensional point set ,······, .

[0069] S202. Construct a Box set for traffic data: establish an initial Box set mathematical model, then cut the Box set mathematical model, simplify the cut Box set to obtain the MILP mathematical model, and finally use the Lagrangian relaxation method to relax some constraints of the MILP mathematical model to the objective function to obtain the Lagrangian relaxation transformation model, and solve the Lagrangian relaxation transformation model to obtain several hyperplane constraints describing the Box.

[0070] The mathematical model of the initial Box set is established as follows:

[0071]

[0072] in For the Box collection you need to get, is a high-dimensional point coordinate, For the The coordinate values ​​in the dimension, is the maximum value in each dimension , It is a high-dimensional point set obtained after processing the S201 traffic data, so that an initial Box set can be obtained.

[0073] The Box set is cut using the cutting Box set mathematical model. The cutting Box set mathematical model is:

[0074]

[0075]

[0076]

[0077] in, is the dimension of the Box collection, is the length of the flow data time series, is the normal direction of the hyperplane, is the intercept of the hyperplane, is the coordinate of each point in the high-dimensional point set obtained by S201, , Represents the minimum and maximum coordinate values ​​in each dimension respectively.

[0078] The MILP mathematical model obtained by simplifying the cutting Box set mathematical model is:

[0079]

[0080] in, is the distance the hyperplane moves, For point concentration Point The coordinate values ​​in the dimension, Dimensions of polyhedral Box sets Same 0-1 variable.

[0081] Lagrangian relaxation method and solution:

[0082]

[0083] There are two categories of decision variables: , constraints (1) and (2) are only are related, and constraint (3) is a linked constraint, which couples the two types of variables together.

[0084] If we use Lagrangian relaxation to relax constraint (3) to the objective function, we get the relaxed problem:

[0085]

[0086] The subgradient algorithm is used to update the Lagrange multipliers.

[0087]

[0088] in, k is the multiplier, Respectively The step size and sub-gradient direction of the step iteration. The step size selection formula is:

[0089]

[0090] The sub-gradient direction formula is

[0091]

[0092] Use the Lagrangian relaxation method to relax some constraints of the MILP model to the objective function to obtain the Lagrangian relaxation transformation model. Solving the above Lagrangian relaxation transformation model can obtain an optimal solution , add the constraints of the Lagrangian relaxation transformation mathematical model , solve again to get the suboptimal solution. Repeat this cycle several times until you get hyperplane constraints, where The larger the value is set, the more redundant space is removed, and it can generally be equal to the dimension of the high-dimensional point set. The required Box set is obtained by adding the hyperplane constraint to the initial Box set constraint, which is as follows: Hyperplane constraints:

[0093]

[0094] S203, analyzing traffic characteristics and adding budget constraints, mainly including building a budget constraint mathematical model,

[0095] The mathematical model of budget constraint is:

[0096]

[0097] use To represent the direction coordinate set of a type of point set, where Represents the coordinate value of point 1 in a certain dimension, Indicates the coordinate value of point 2 in a certain dimension, sometimes used To abbreviate. Knowing the relationship between the two point sets and the upper limit of the budget constraint , then the budget constraint that can be added can be expressed as above. Figure 5 The method of analyzing traffic characteristics in can obtain another set of hyperplane constraints:

[0098]

[0099] S204. Construct a prediction node mathematical programming model according to the two sets of hyperplane constraints obtained in S202 and S203. The prediction node mathematical programming model includes an objective function and constraints. The constraints include the Box set constraints obtained in S202 and the budget constraints obtained in S203.

[0100] The objective function of the mathematical programming model of the prediction node is:

[0101]

[0102] in, For prediction nodes The prediction upper bound of For prediction nodes The predicted lower bound of .

[0103] The constraints are:

[0104]

[0105] in, , In order to solve the coefficients of the two sets of hyperplane constraints obtained from the MILP model after Lagrangian relaxation and the budget constraint mathematical model, The first constraint is the Box set hyperplane constraint, To The first constraint is the budget constraint, and the last constraint is , is the decision variable, The time node for which traffic data needs to be predicted.

[0106] This method mainly introduces the concept of Box set based on the time series decomposition, multi-period sum change analysis and stationarity study of the random traffic series, and establishes a traffic model based on Box set by rolling prediction. Finally, the time series is predicted based on this traffic model to verify the correctness and practicality of the MILP model. When analyzing the actual random traffic, this method found that good prediction results can be obtained for the periodicity and long-term correlation of random traffic, but only one point prediction result is far from enough for actual traffic scheduling. Therefore, the Box set is introduced to describe all the actual scenarios. Good prediction results can be achieved for one scenario. Some methods in robust optimization can further obtain random traffic results that are suitable for all scenarios.

[0107] S205. Perform rolling prediction of future traffic data based on the constructed prediction node mathematical programming model. It is necessary to solve the mathematical programming model each time to obtain the upper and lower bounds of the traffic data at the prediction time node, add the upper and lower bound constraints of the prediction node to the constraint conditions of the solved mathematical programming model, continue to solve, and continuously roll back until the target prediction time is reached to obtain the prediction results of each time node in the future period of time.

[0108] Reference Figure 4 The diagram of the flow collection module includes the collection of network flow data packets and the information aggregation of flow data packets. Netflow software is used for data collection to collect network flow data packets. Its main principle is that when network data packets are transmitted, consecutive adjacent data packets are usually transmitted to the same location of the destination IP address. With the cache mechanism, when the network administrator turns on the Netflow function of the router or switch interface, the device will analyze the packet header information of the data packet when receiving the data packet to obtain the flow information. The information aggregation of flow data is to aggregate the flow information of the received data packets into streams for analysis. The flow collection function is integrated in the router. While completing the storage and forwarding function, the router collects IP network traffic and simply processes the data before transmitting it to a specific network traffic receiving device.

[0109] Reference Figure 5 , modularly demonstrates the process of S203 analyzing network traffic characteristics and solving budget constraints, including time series smoothing, long-term trend fitting and periodic factor extraction, analyzing the characteristics of network traffic to obtain the coefficients of the S203 budget constraint model. Smoothing time series has the following uses: it can reduce the impact of noise, thereby obtaining a more realistic sequence that filters out noise; the smoothed sequence can be used as a feature to better explain the sequence itself; and the trend of the sequence itself can be better observed. This method performs LOWESS smoothing on the time series using a weighted moving average. The weighted moving average (WMA) is based on the simple moving average and performs a forward smoothing on the time series. The value of each period is assigned a corresponding weight, which is the result of weighted average. , as shown below

[0110]

[0111] in, For each time node, the amount of traffic data is The corresponding weights are assigned, so that the smoothed time series is obtained

[0112] Accurately fitting long-term trends and extracting periodic information can not only reflect the laws of current data and be applied to related scenarios, but also predict future data change trends. This method performs nonlinear fitting on the smoothed time series. To extract periodic factors, Fourier transform is performed on the fitted curve. The spectrum is observed to obtain a pair of impulse responses in symmetrical positions about the origin. The frequency of the impulse response symmetrical about the origin is obtained and its phase is determined, and the periodic information is obtained by analysis. According to the periodic information ,statistics and The difference distribution law between them determines a set of , and The value of , that is, a set of constraints in S204.

[0113] Reference Figure 6 , showing the solution process of the column mathematical programming model and rolling forecast, including the following steps:

[0114] S601, according to the coefficient matrix of the mathematical programming model of the prediction node obtained in S204, use the Benders decomposition method to solve the mathematical programming model of the current prediction node to obtain the prediction result of the current prediction node, the coefficient matrix includes the coefficient matrix of the inequality constraint and the right-hand side vector , the coefficient matrix and right-hand side vector of the equality constraint , upper and lower bounds for univariate constraints If the prediction is finished, the process ends directly and the prediction result of the node traffic in the future period is obtained; if not, execute S602;

[0115] S602, adding the prediction result of the current prediction node to the constraint condition of the mathematical programming model of the next prediction node, updating the coefficient matrix of the mathematical programming model, re-solving to obtain the prediction result of the next prediction node, repeating the process over and over again, forming a backward rolling prediction process, until the target prediction time is reached, and obtaining the prediction results of each time node in the future period of time.

[0116] Since the operation optimization device of the campus network system provided by the embodiment of the present invention can be used to execute the above-mentioned operation optimization method of network traffic modeling and prediction based on mixed integer programming, the technical effects that can be obtained can refer to the above-mentioned method embodiment, and the embodiment of the present invention will not be repeated here.

[0117] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0118] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0119] Although the present invention has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present invention. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present invention as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present invention. Obviously, those skilled in the art may make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, the present invention is intended to include such modifications and variations if they fall within the scope of the claims of the present invention and their equivalents.

Claims

1. A network traffic modeling and prediction method based on mixed integer programming, characterized in that: The following steps are involved: S1, collect network traffic transmission data of each terminal in the campus network; S2, build a Box set of traffic transmission data. Based on the network traffic transmission data collected in S1, establish a mixed integer programming model to solve the Box set that describes the traffic uncertainty. Use the Box set to construct a mathematical programming problem for rolling prediction to obtain the prediction result of the traffic data. S3, controlling the operation of the campus network system including terminals and various switch devices according to the prediction results of the traffic data obtained in S2; The S2 comprises the following steps: S201, dividing the network traffic transmission data into equal time periods to obtain a high-dimensional point set; S202, establishing an initial Box set mathematical model based on the high-dimensional point set, then cutting the Box set mathematical model, simplifying the cut Box set to obtain the MILP mathematical model, and finally using the Lagrangian relaxation method to relax some constraints of the MILP mathematical model to the objective function to obtain a Lagrangian relaxation transformation model, and solving the Lagrangian relaxation transformation model to obtain several hyperplane constraints describing the Box; S203, analyzing the traffic characteristics and adding budget constraints to obtain another set of hyperplane constraints; S204, constructing a prediction node mathematical programming model according to the two sets of hyperplane constraint conditions obtained in S202 and S203, the prediction node mathematical programming model including an objective function and constraint conditions; S205, performing rolling prediction of future traffic data according to the constructed prediction node mathematical programming model, and obtaining prediction results of each time node in the future period of time; S202 includes the following steps: 1) Establish the initial Box set mathematical model as: in For the Box collection you need to get, is a high-dimensional point coordinate, For the The coordinate values ​​in the dimension, is the maximum value in each dimension , It is a high-dimensional point set obtained after processing the S201 traffic data, so that an initial Box set can be obtained; 2) Cut the box set using the cutting box set mathematical model; 3) Simplify the Box set mathematical model after cutting to obtain the MILP mathematical model: 4) Use the Lagrangian relaxation method to relax some constraints of the MILP model to the objective function to obtain the Lagrangian relaxation transformation model. Solving the above Lagrangian relaxation transformation model can obtain an optimal solution , add the constraints of the Lagrangian relaxation transformation mathematical model , solve again to get the suboptimal solution, and repeat the solution many times until you get Hyperplane constraints; In S204, the objective function of the prediction node mathematical programming model is: in, For prediction nodes The prediction upper bound of For prediction nodes The predicted lower bound of ; In S204, the constraints are: in, , In order to solve the coefficients of the two sets of hyperplane constraints obtained from the MILP model after Lagrangian relaxation and the budget constraint mathematical model, The first constraint is the Box set hyperplane constraint, To The first constraint is the budget constraint, and the last constraint is , is the decision variable, The time node where traffic data needs to be predicted; , , , is the time node; S205 includes the following steps: a. According to the coefficient matrix of the mathematical programming model of the prediction node, use the Benders decomposition method to solve the mathematical programming model of the current prediction node and obtain the prediction result of the current prediction node. The coefficient matrix includes the coefficient matrix and right-hand side vector of the inequality constraint, the coefficient matrix and right-hand side vector of the equality constraint, and the upper and lower bounds of the single variable constraint. If the termination condition is met, the process ends and the prediction result of the node flow in the future period is obtained; otherwise, execute b; b. Add the prediction result of the current prediction node to the constraint conditions of the mathematical programming model of the next prediction node, update the coefficient matrix of the mathematical programming model, and solve to obtain the prediction result of the next prediction node. Repeat this process and perform backward rolling prediction until the target prediction time is reached to obtain the prediction results of each time node in the future.

2. The network traffic modeling and prediction method based on mixed integer programming according to claim 1 is characterized in that: The S1 comprises the following steps: S1.

1. Use Netflow software to collect network traffic packets; S1.

2. Aggregate the received data packet flow information into streams.

3. The network traffic modeling and prediction method based on mixed integer programming according to claim 1 is characterized in that: In S203, analyzing the network traffic characteristics includes time series smoothing, long-term trend fitting, and periodic factor extraction.

4. A network traffic modeling and prediction device based on mixed integer programming, characterized in that: Used to implement the method of claim 1, comprising a flow acquisition module, an optimization calculation module and a central controller module connected in sequence; Traffic collection module, used to collect network traffic transmission data of each terminal in the campus network; The optimization calculation module is used to construct a Box set of traffic transmission data. According to the network traffic transmission data, a mixed integer programming model is established to solve the Box set that describes the traffic uncertainty. The Box set is used to construct a mathematical programming problem for rolling prediction to obtain the prediction results of the traffic data. The central controller module is used to control the operation of the campus network system including terminals and various switch devices based on the prediction results of traffic data.

5. The network traffic modeling and prediction device based on mixed integer programming according to claim 4, characterized in that: The flow collection module includes a network flow data packet collection module and a flow data packet information aggregation module; The network traffic data packet collection module is used to collect network traffic data packets; The traffic data packet information aggregation module is used to aggregate the received data packet traffic information into streams.

Citation Information

Patent Citations

  • Linearization method and device for achieving universal station optimization based on SOS-2 constraint

    CN110619129A

  • Prediction control method for active power distribution network two-stage random model considering risks

    CN111799847A

  • Multi-micro-grid energy management method and system based on multi-agent collaboration and electronic equipment

    CN114336585A

  • Power system load flexibility forecasting

    US20180287382A1