A method for online joint optimization of traffic engineering

Through the online joint optimization method, combined with linear programming and competitive regularization technology, traffic engineering and network update costs are optimized, future traffic demand is predicted, routing oscillation and cost integration problems in the existing technology are solved, and traffic closer to the global optimal is achieved. Engineering solutions improve network performance and efficiency.

CN112633563BActive Publication Date: 2024-08-23NANJING UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011463448.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-11
Publication Date
2024-08-23
Estimated Expiration
2040-12-11

AI Technical Summary

Technical Problem

When optimizing traffic engineering in the WAN between data centers, the existing technology cannot effectively integrate network update costs, resulting in route oscillation and unnecessary operations, and cannot obtain a globally optimal traffic engineering solution.

Method used

Propose an online joint optimization method for traffic engineering. By obtaining the network topology map and its data information, the online optimization algorithm is started to adjust the traffic engineering strategy and routing configuration in real time. It combines linear programming and competitive regularization technology to optimize the total cost and predict future traffic. According to the requirements, the retreat level control and average fixed level control algorithms are adopted.

Benefits of technology

It achieves the overall optimization of network costs from a global perspective, reduces routing flapping, reduces joint costs, improves network performance, supports various topologies and routing paths, simplifies deployment, and does not change the original routing architecture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112633563B
    Figure CN112633563B
Patent Text Reader

Abstract

The present invention discloses an online joint optimization method for traffic engineering, including: obtaining a network topology diagram and the related data information contained therein; starting an online optimization algorithm and performing initialization settings; performing traffic transmission, performing calculations on a given path with the optimization goal of minimizing the total cost, providing a traffic distribution plan on each path, and adjusting the traffic engineering strategy and routing configuration in real time; the total cost is equal to the sum of the network update cost and the traffic engineering calculation cost. The present invention enables traffic engineering to optimize network expenses as a whole from a global perspective, while also taking into account the prediction of future traffic to obtain a plan that is closer to the global optimum, thereby improving network performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communication network routing, and in particular to an online joint optimization method for traffic engineering. Background Art

[0002] Software-defined networking, as an advanced centralized traffic engineering (TE) technology, is increasingly being adopted in wide area networks between data centers to coordinate data transmission.

[0003] Since the inter-datacenter WAN is a very expensive network infrastructure, centralized traffic engineering requires running optimization programs regularly to improve network performance. For example, Google and Microsoft often optimize data plane performance by scheduling TE plans to the data plane in a timely manner. Once the traffic engineering calculations for the current time interval are completed, a network update operation can be performed to switch the routing from the last traffic engineering configuration to the current traffic engineering configuration. In general, traffic engineering optimization can be abstracted as a basic minimum cost flow problem, where the cost can represent network latency, link load, flow completion time, missed deadline ratio, etc. As the traffic engineering calculations proceed, the network update operation is triggered periodically and changes the routing between two adjacent traffic engineering configurations.

[0004] Existing works divide this process into two individuals, centralized traffic engineering calculation and network update, for optimization, which inevitably leads to suboptimal solutions. In essence, directly optimizing traffic engineering objectives, such as minimizing transmission delay, minimizing process completion time, etc., can produce the traffic engineering solution with the lowest cost in each time period. However, it may perform poorly in the case of continuous time periods, especially in terms of competition analysis and regret analysis. In addition, if the network update cost is not respected and the network update cost is not incorporated into the traffic engineering optimization, the frequent network update process between two adjacent traffic engineering solutions will cause routing oscillation and generate a large number of unnecessary operations to add, delete or modify routes on the data plane. This defect prompts network operators to jointly optimize the traffic engineering calculation and network update process. In addition, the network update plan between two adjacent traffic engineering solutions is usually not unique, which can provide a broader optimization space for network operators when designing online frameworks. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides an online joint optimization method for traffic engineering, so that traffic engineering can optimize network costs as a whole from a global perspective, while also considering the prediction of future traffic to obtain a solution closer to the global optimum, thereby improving network performance.

[0006] To achieve the above object, the present invention adopts the following technical solutions:

[0007] A traffic engineering online joint optimization method, the online joint optimization method comprising the following steps:

[0008] S1, obtaining the network topology map and the related data information contained therein;

[0009] S2, start the online optimization algorithm and perform initialization settings;

[0010] S3, performs traffic transmission, performs calculations on a given path with the optimization goal of minimizing the total cost, provides a traffic allocation plan on each path, and adjusts traffic engineering strategies and routing configurations in real time;

[0011] The total cost is equal to the sum of the network update cost and the traffic engineering calculation cost.

[0012] To optimize the above technical solutions, the specific measures taken also include:

[0013] Furthermore, in step S1, the relevant data information includes network node information, link connection status, link bandwidth and link length.

[0014] Furthermore, in step S2, the process of starting the online optimization algorithm and performing initialization settings includes the following steps:

[0015] S21, first perform dimensionality reduction processing on the data to convert the two-dimensional link information data into one dimension;

[0016] S22, selecting a corresponding path type in combination with actual delay requirements and / or link load requirements for subsequent cost optimization, wherein the path types include K-shortest paths, equal-value multipath routing, forgotten paths, and K-edge-disjoint shortest paths.

[0017] Furthermore, in step S3, the flow demand conservation constraint and the link load constraint are used as constraints, and the flow distribution solution on each path is solved by linear programming according to the following formula:

[0018]

[0019]

[0020]

[0021]

[0022]

[0023] Where P(f, t) is the set of available paths for flow f at time t, P is the union of all P(f, t), E is the set of directed links in the network topology, and L is the set of all P(f, t). e,t is the capacity of link e at time t, d p,t is the flow demand of flow f at time t, where p∈P(f, t), α p,t is the coefficient of the cost of changing the routing scheme and rerouting, β p,t is the coefficient of the cost of deploying the traffic distribution solution, x p,t is the proportion of bandwidth allocated to flow f on path p at time t in the total demand, y p,t is x p,t and x p,t-1 The absolute value of the difference.

[0024] Furthermore, in step S3, the process of solving the traffic distribution solution on each path includes the following steps:

[0025] Transform the solution target and include the constraints in the solution target; use the relative entropy function to describe the migration cost between solutions at adjacent moments, use the KKT condition to perform the primal-dual analysis to solve the target, that is, use the logarithmic function instead of the maximum function, and solve the traffic distribution plan on each path based on the competitive regularization method:

[0026]

[0027]

[0028]

[0029] Wherein, η=ln(1+n / ∈), n=|P|, ∈, and c are all configurable parameters greater than 0.

[0030] Furthermore, the online joint optimization method further comprises the following steps:

[0031] Based on the fallback level control, the traffic demand in multiple future periods is predicted with bounded prediction error:

[0032] S401, given a prediction window ω;

[0033] S402, Initialization

[0034] S403, solve according to the following formula

[0035]

[0036]

[0037] Where, dp,τ|t is the d obtained by prediction at time t p,τ The value of It is an intermediate variable used during the algorithm operation, representing all x in the time interval [t, t+w].

[0038] Furthermore, the online joint optimization method further comprises the following steps:

[0039] Based on average fixed level control, the traffic demand in multiple future periods is predicted with bounded prediction error:

[0040] S411, given prediction window ω;

[0041] S412, Initialization

[0042] S413, solve according to the following formula

[0043]

[0044]

[0045] In the formula, are intermediate variables used during the algorithm operation and are grouped by t mod(ω+1).

[0046] The beneficial effects of the present invention are:

[0047] (1) The present invention proposes a method for optimizing the traffic engineering calculation cost and the network update cost together, so that the routing strategy is no longer limited to the current state, but is considered globally, thereby obtaining a solution that is closer to the global optimal solution, reducing unnecessary routing oscillations, reducing joint costs, and further improving network performance.

[0048] (2) The present invention also develops a set of provable online algorithms to solve the problem, and conducts theoretical research on them, and provides strict competition ratio and regret ratio analysis. Since the optimization of network update cost is coupled by two adjacent time slots, the present invention uses regularization technology to stabilize the solution and decouples the original problem into a series of sub-problems, each of which can be solved within a time slot. The present invention first proposes an algorithm based on competitive regularization, which can accurately predict the demand of each flow in a certain period of time in the future. In addition, the prediction accuracy is relaxed, and algorithms based on back-off level control and average fixed level control are proposed, so that network operators can predict the flow demand in multiple time periods in the future when the prediction error is bounded.

[0049] (3) The present invention supports any type of topology and routing path, is easy to deploy, and can be directly applied to a centralized controller without changing the original routing architecture. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a flow chart of the online joint optimization method of traffic engineering of the present invention.

[0051] Figure 2 It is a traffic engineering routing strategy adjustment comparison schematic diagram of the present invention.

[0052] Figure 3 It is a basic solution structure schematic diagram of the present invention.

[0053] Figure 4 It is an example diagram of a competitive regularization algorithm of the present invention.

[0054] Figure 5 It is an example diagram of an algorithm based on retreat level control of the present invention.

[0055] Figure 6 It is an example diagram of an algorithm based on average fixed level control of the present invention.

[0056] Figure 7 is an example of an algorithm based on average fixed level control. DETAILED DESCRIPTION

[0057] The present invention will now be described in further detail with reference to the accompanying drawings.

[0058] It should be noted that the terms such as "upper", "lower", "left", "right", "front", "back", etc. cited in the invention are only for the convenience of description and are not used to limit the scope of implementation of the present invention. Changes or adjustments to their relative relationships should be regarded as the scope of implementation of the present invention without substantially changing the technical content.

[0059] Combination Figure 1 The present invention relates to an online joint optimization method for traffic engineering, and the online joint optimization method comprises the following steps:

[0060] S1, obtain the network topology map and the related data information contained therein.

[0061] S2, start the online optimization algorithm and perform initialization settings.

[0062] S3 performs traffic transmission and calculates on a given path with the optimization goal of minimizing the total cost, provides a traffic allocation plan on each path, and adjusts the traffic engineering strategy and routing configuration in real time.

[0063] The total cost is equal to the sum of the network update cost and the traffic engineering calculation cost.

[0064] In the first step, we must first obtain the topology map and connection status of the entire network, including network node information, link connection status, link bandwidth, link length, etc.

[0065] In the second step, the data is first reduced in dimension, and the two-dimensional link information data is converted into one dimension for easy algorithm call. Then the path type is selected. In this method, four different paths are provided for cost optimization, namely K-shortest path, equal-value multi-path routing, forgotten path, and K-edge-disjoint shortest path. The performance of these four paths in different algorithms is slightly different, but they are greatly improved compared to traditional methods, and the paths themselves have different characteristics. Therefore, different types of paths can be flexibly selected according to actual conditions. For example, when a smaller delay is required, K-shortest path and K-edge-disjoint shortest path can be selected. If link load balancing is required, forgotten path and equal-value multi-path routing can be selected.

[0066] In the third step, when traffic arrives, the online optimization algorithm will start executing immediately, performing calculations on a given path based on the optimization goal of minimizing the total cost, and then providing a traffic allocation plan on each path. The plan provided may not be the current optimal one, but it is close to the global optimal solution from a global perspective. The router replaces the old plan with the new routing strategy and starts transmitting traffic until the strategy is reallocated the next time the algorithm is started.

[0067] Figure 2 This is a comparison diagram of traffic engineering routing strategy adjustments. The diagram includes a schematic diagram of the network topology structure, node connections, link capacity, and routing conditions at different times. Figure 2 (a) represents the strategy given by the traditional traffic engineering method, and Figure 2 (b) represents the strategy given by the method used in the present invention. First, each point in the figure is marked with R, which represents a node, and the edge represents a link. The capacity of each link is 1 unit capacity. The arrows in the figure represent traffic transmission, and the annotations below represent the name and size of the flow. For example, at time t0, the black dotted arrow points from R3 to R7, indicating that there is a flow FA, with the source point being R3, the destination point being R7, and the path being<R3,R1,R2,R7> , the flow size is 1 unit capacity. At the initial time t0, there are three flows, flow FA transmits 1 unit capacity of flow from R3 to R7, flow FB transmits 1 unit capacity of flow from R10 to R11, and flow FC transmits 1 unit capacity of flow from R14 to R15. At this time, after traffic engineering calculation, Figure 2 (a) and Figure 2(b) Given the same routing path, the path of flow FA is<R3,R1,R2,R7> , flow FB is<R10,R8,R9,R11> , flow FC is<R14,R12,R13,R15> At time t1, the size of flow FA becomes 2 units of capacity. At this time, the transmission capacity of the original path is 1, so the excess flow needs to be distributed to other paths. In traditional traffic engineering, considering the minimum cost of traffic transmission, it is avoided.<R3,R4,R5,R6,R7> This longest path transfers the flow FC to<R14,R16,R17,R15> On, transfer the stream FB to<R10,R12,R13,R11> In this way, the remaining 1 unit capacity flow of flow FA is used<R3,R8,R9,R7> However, if the network update cost is also considered, such an operation may lead to a suboptimal solution. The method of the present invention maintains the paths of flows FB and FC unchanged and puts the extra 1 unit of flow into the path<R3,R4,R5,R6,R7> At time t2, the size of flow FA returns to 1 unit capacity, while the size of flow FC becomes 2 units of capacity. The traditional traffic engineering method is to remove the path of FA added at time t1. For the extra traffic of flow FC, there are only two paths from R14 to R15, and the other path is occupied by flow FB. Therefore, in order to successfully transmit all traffic, the flow of FB must be placed back on the path at time t0, and the newly added traffic of FC must be placed on the path.<R10,R12,R13,R11> For the method of the present invention, it is only necessary to remove the path of the newly added flow FA at time t2 and put the excess flow of flow FC into<R14,R16,R17,R15> Just go on.

[0068] Figure 3 is a table showing the total routing cost. Figure 2 For example, without loss of generality, we assume that the cost of transmitting a unit of traffic on each link is 1, and the cost of updating the route of a link is also 1. Therefore, at time t0, the cost of the traditional traffic engineering method is 1*3+1*3+1*3=9. At time t1, a new path of length 3 is added, and the transmission cost becomes 12. However, in fact, a total of 2 deletion operations and 3 modification operations are performed, and the path length of each operation is 3. Therefore, the total cost at time t1 is 12+(2+3)*3=27. Similarly, the total cost at time t2 is 24, so the total cost of the routing strategy given by the traditional traffic engineering method is 60. For the method of the present invention, the cost at time t0 is also 9, and although the transmission cost at time t1 is 1 more, only one update operation is required, and the total cost is 17. The cost at time t2 is 19, so the total cost of the routing strategy given by the present invention is 45, which is significantly lower than that of the traditional traffic engineering method.

[0069] Figure 4 This is an example of constructing a basic solution. The solution proposed by the present invention is the joint optimization of network updates and traffic engineering calculations. Therefore, the basic idea is to construct a linear programming solution with the optimization goal of minimizing network update costs and traffic engineering calculation costs. The optimization constraints satisfy the constraints of general network flow methods, namely, flow demand conservation constraints and link load constraints. In addition, if the flow size of a link changes at a certain moment, it means that the routing state has changed, which can be used to determine the cost of network updates.

[0070] Figure 5 is an example of a competitive regularization algorithm. In the actual solution process, Figure 4 The constraint condition of (1b) will lead to high complexity of solution, long time consumption, and difficulty in obtaining a better solution. The present invention designs a new solution target by converting Figure 4 The constraint of (1b) is included in the solution objective. Instead of using the norm or semi-norm, the relative entropy function is used to describe the migration cost between solutions at adjacent moments, so that it is easy to use the KKT (Karush-Kuhn-Tucker) condition to perform the primal-dual analysis solution objective, that is, the logarithmic function is used instead of the maximum function. Although it may cause it to fail to meet the capacity constraint, it is theoretically proved that this violation is bounded, and the impact of the violation can be almost ignored in actual experiments. The transformed solution objective is as follows Figure 5 (1) and then use Figure 5 The algorithm shown in (2) can be iterated to obtain a solution based on the competitive regularization algorithm.

[0071] Figure 6 This is an example of an algorithm for fallback level control. The present invention also discusses the situation where traffic demand can be accurately predicted within a certain time period in the future. This prediction can enable the algorithm to more closely solve the global optimal solution, improving the optimization strategy of "seeking the optimal solution in a single step" in the traditional algorithm. Specifically, for a given prediction window size w, this method can take into account the data of the next w moments when calculating the routing strategy at the current moment, and then give a solution that takes the global situation into consideration, while iterating and using the latest data for the next round of calculations.

[0072] Figure 7 This is an example of an algorithm based on average fixed level control. For the algorithm based on retreating level control, it was found in actual experiments that the window size cannot be effectively increased when the number of tunnels is greater than one. Therefore, by taking the average value through multiple solutions, the disadvantage of the previous method in general is overcome, so that the "prediction window size" can explicitly reduce the theoretical competition ratio. The resulting solution is more stable and usually closer to the optimal solution.

[0073] The novelty of the present invention lies in that this method is the first to optimize the traffic engineering calculation cost and network update cost together, so that the routing strategy is no longer limited to the current state, but is considered globally, thereby obtaining a near-optimal solution, reducing unnecessary routing oscillations, reducing joint costs, and improving network utilization and benefits. At the same time, the present invention is applicable to various routing paths and has strong adaptability.

[0074] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. A traffic engineering online joint optimization method, characterized in that: The online joint optimization method comprises the following steps: S1, obtaining the network topology map and the related data information contained therein; S2, start the online optimization algorithm and perform initialization settings; S3, performs traffic transmission, performs calculations on a given path with the optimization goal of minimizing the total cost, provides a traffic allocation plan on each path, and adjusts traffic engineering strategies and routing configurations in real time; The total cost is equal to the sum of the network update cost and the traffic engineering calculation cost; In step S1, the relevant data information includes network node information, link connection status, link bandwidth and link length; In step S3, the flow demand conservation constraint and the link load constraint are used as constraints, and the flow distribution solution on each path is solved by linear programming according to the following formula: Where P(f, t) is the set of available paths for flow f at time t, P is the union of all P(f, t), E is the set of directed links in the network topology, and L e,t is the capacity of link e at time t, d p,t is the flow demand of flow f at time t, where p∈P(f,t), α p,t is the coefficient of the cost of changing the routing scheme and rerouting, β p,t is the coefficient of the cost of deploying the traffic distribution solution, x p,t is the proportion of bandwidth allocated to flow f on path p at time t in the total demand, y p,t is x p,t and x p,t-1 The absolute value of the difference; T is the total number of time steps in the monitoring period, and F is the set of flows.

2. The method for online joint optimization of traffic engineering according to claim 1, characterized in that: In step S2, the process of starting the online optimization algorithm and performing initialization settings includes the following steps: S21, first perform dimensionality reduction processing on the data to convert the two-dimensional link information data into one dimension; S22, selecting a corresponding path type in combination with actual delay requirements and / or link load requirements for subsequent cost optimization, wherein the path types include K-shortest paths, equal-value multipath routing, forgotten paths, and K-edge-disjoint shortest paths.

3. The method for online joint optimization of traffic engineering according to claim 1, characterized in that: In step S3, the process of solving the flow distribution solution on each path includes the following steps: Transform the solution objective and include the constraints in the solution objective; use the relative entropy function to describe the migration cost between solutions at adjacent moments, and use the Karush-Kuhn-Tucker condition to perform the primal-dual analysis to solve the objective, that is, replace the maximum function with a logarithmic function, and solve the traffic allocation solution on each path based on the competitive regularization method: Wherein, η=ln(1+n / ∈), n=|P|, ∈, and c are all configurable parameters greater than 0.

4. The method for online joint optimization of traffic engineering according to claim 1, characterized in that: The online joint optimization method further comprises the following steps: Based on the fallback level control, the traffic demand in multiple time periods in the future is predicted with bounded prediction error: S401, given a prediction window ω; S402, Initialization S403, solve according to the following formula Where, d p,τ|t is the d obtained by prediction at time t p,τ The value of It is an intermediate variable used in the algorithm, representing all x in the time interval [t, t+w], and c is a configuration parameter greater than 0.

5. The method for online joint optimization of traffic engineering according to claim 4, characterized in that: The online joint optimization method further comprises the following steps: Based on average fixed level control, the traffic demand in multiple future periods is predicted with bounded prediction error: S411, given prediction window ω; S412, Initialization S413, solve according to the following formula In the formula, It is the intermediate variable used in the algorithm and is grouped by tmod(ω+1). n is the size of the set P.