WO2012149748A1 - Network optimization traffic control method, device and system - Google Patents

Network optimization traffic control method, device and system Download PDF

Info

Publication number
WO2012149748A1
WO2012149748A1 PCT/CN2011/079827 CN2011079827W WO2012149748A1 WO 2012149748 A1 WO2012149748 A1 WO 2012149748A1 CN 2011079827 W CN2011079827 W CN 2011079827W WO 2012149748 A1 WO2012149748 A1 WO 2012149748A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
data stream
traffic
sub
node
Prior art date
Application number
PCT/CN2011/079827
Other languages
French (fr)
Chinese (zh)
Inventor
项炎平
文刘飞
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180001972.7A priority Critical patent/CN102388585B/en
Priority to PCT/CN2011/079827 priority patent/WO2012149748A1/en
Publication of WO2012149748A1 publication Critical patent/WO2012149748A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation

Definitions

  • the present invention relates to communication technologies, and in particular, to a network optimization flow control method, apparatus, and system. Background technique
  • the traditional Internet Service Provider mainly provides Internet connection. It mainly solves the problem of traffic engineering (TE) in network optimization functions, specifies the optimal path for traffic, and minimizes the congestion degree of the network.
  • the performance of the network is the optimization goal;
  • the content Provider (CP) mainly provides the user with the required content, provides the user with reasonable resources, solves the problem of server selection (SS), and the user experience is optimize the target.
  • a joint optimization (JO) of TE and SS can be performed to obtain an optimal solution for the entire network, minimizing link congestion while minimizing end-to-end delay. Achieving a globally optimal balance of network performance can significantly improve network performance.
  • an optimization processing server is usually set separately, and the server needs to collect network state information (such as link capacity, link traffic, user request information, and server status information) required for optimization problem solving. Etc.), obtain the optimal solution of the network in a centralized manner, and apply the optimal solution to the network.
  • the centralized method refers to that the network has multiple data source nodes and multiple server nodes as data transmission destinations, and correspondingly has multiple sub-data stream transmission paths, and data flows of all sub-data stream transmission paths are It is uniformly processed by the optimization processing server, and then the obtained optimal data traffic is loaded into the sub-data stream transmission path in the network, and the network optimal solution is usually a sub-data stream between the data source node and the server node in the network. The data traffic of the transmission path.
  • the embodiment of the invention provides a network optimization flow control method, device and system, so as to realize joint optimization of ISP and CP, and the calculation amount is small, and the speed and real-time performance of the optimization processing are improved.
  • An embodiment of the present invention provides a network optimization flow control method, where the network includes a data source node, a router node, and a server node, where two adjacent router nodes are a link, and the two adjacent nodes The router node constitutes a link control module; the method includes: the data source node obtaining, according to network topology information, a sub-data stream transmission path between the data source node and the server node, and in the sub- Loading the first data stream traffic on the data stream transmission path; one of the sub-data stream transmission paths includes a plurality of the links;
  • the router node aggregates traffic of the first data stream on the link into link traffic, and the link control module obtains a link price of the link according to the link traffic; Link price aggregation of several links in the sub-data stream transmission path to obtain a link aggregation price, and feedback the link aggregation price to the data source node; the data source node aggregates the price according to the link And the server weight of the server node, obtaining the second data stream traffic, and loading the second data stream traffic to the first data stream traffic to the sub-data stream transmission path.
  • An embodiment of the present invention provides a network optimization flow control apparatus, including: an initial loading module, configured to obtain a sub-data stream transmission path between a data source node and a server node according to network topology information, and Loading the first data stream traffic on the sub-data stream transmission path; one of the sub-data stream transmission paths includes a plurality of the links; a feedback receiving module, configured to receive a link aggregation price of the sub-data stream transmission path fed back by the router node, where the link aggregation price is a chain of the sub-data stream transmission path by the router node
  • the traffic price adjustment module is configured to: obtain, according to the link aggregation price, the server weight of the server node, the second data flow, and replace the second data flow with the first data Stream traffic is loaded to the sub-data stream transmission path.
  • Another aspect of the present invention provides a network optimization flow control system, including: a data source node, a server node, and a routing node, where two adjacent router nodes are a link, and the two adjacent nodes
  • the router node constitutes a link control module
  • the data source node is configured to obtain, according to the network topology information, a sub-data stream transmission path between the data source node and the server node, and in the sub-data stream Loading a first data stream traffic on the transmission path; one of the sub-data stream transmission paths includes a plurality of the links; and further configured to obtain, according to a link aggregation price fed back by the router node, and a server weight of the server node, a second data stream traffic, and the second data stream traffic is replaced by the first data stream traffic to the sub-data stream transmission path; the router node is configured to use the first data on the link Flow traffic is aggregated into link traffic, and the link control module obtains a link price of the link according to the link
  • the network optimization flow control method, device and system according to the embodiment of the present invention respectively solve the problem that the network optimization traffic calculation information demand is large by decomposing the traffic calculation in the network optimization into each node and the link in the network. It greatly reduces the amount of calculation and improves the real-time performance of network optimization.
  • DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings to be used in the description of the embodiments will be briefly made. It is obvious that the drawings in the following description are the present invention. For some embodiments, other drawings may be obtained from those of ordinary skill in the art without departing from the drawings.
  • Embodiment 1 is a schematic flowchart of Embodiment 1 of a network optimization flow control method according to the present invention
  • Embodiment 2 is a schematic flowchart of Embodiment 2 of a network optimization flow control method according to the present invention
  • Embodiment 3 is a schematic diagram of dividing a sub-data stream transmission path in Embodiment 2 of the network optimization flow control method according to the present invention
  • FIG. 4 is a top view of a simulation example in the second embodiment of the network optimized flow control method of the present invention
  • FIG. 5 is a flow state change diagram obtained by solving the exponential function in the second embodiment of the network optimized flow control method of the present invention
  • FIG. 6 is a diagram showing a state of link utilization state obtained by solving an exponential function in the second embodiment of the network optimization flow control method of the present invention.
  • FIG. 7 is a flow state change diagram obtained by solving a power function in the second embodiment of the network optimization flow control method according to the present invention.
  • FIG. 8 is a diagram showing a state change of a link utilization state obtained by solving a power function in the second embodiment of the network optimization flow control method of the present invention.
  • Embodiment 9 is a schematic structural diagram of Embodiment 1 of a network optimization flow control apparatus according to the present invention.
  • FIG. 10 is a schematic structural diagram of Embodiment 2 of a network optimized flow control apparatus according to the present invention
  • FIG. 11 is a schematic structural diagram of an embodiment of a network optimized flow control system according to the present invention. detailed description
  • the main technical solution of the embodiment of the present invention is to decompose the traffic calculation in the network optimization into each node and the link in the network, for example, calculate the sub-data flow of each sub-data stream transmission path in the network separately.
  • FIG. 1 is a schematic flowchart of Embodiment 1 of a network optimization flow control method according to the present invention, wherein a network source node, a router node, and a server node may be included in the network; and, a chain between two adjacent router nodes The two adjacent router nodes form a link control module. As shown in FIG.
  • the flow control method in this embodiment may include the following steps: Step 101: A data source node obtains a sub-data stream transmission path between the data source node and the server node according to network topology information. And loading the first data stream traffic on the sub-data stream transmission path; for example, compared with the prior art, in the prior art, the network processing traffic is calculated by using an optimization processing server separately set outside the network, but not in this embodiment. Then, the above optimization processing server is set, and the traffic calculation is performed directly through the data source node in the network. Moreover, the network includes a plurality of data source nodes, and the plurality of data source nodes respectively calculate traffic on the sub-data stream transmission path to which they are connected.
  • the source node of the data stream transmission is a data source node
  • the destination node of the data stream transmission is a server node
  • the path between the data source node and the server node is a data stream transmission path.
  • each data source node may divide, according to network topology information, a plurality of sub-data stream transmission paths to the server node according to possible transmission paths of the data streams.
  • the data stream is from the data source node
  • the foregoing network topology information may be obtained by the data source node from the router node.
  • the data source node loads the first data stream traffic on each of the sub-data stream transmission paths obtained as the initial traffic, and the initial traffic may be a preset starting value, which is a smaller constant. For example, suppose there are three sub-stream transmission paths between the data source node A and the server node B, then the first data stream traffic is loaded in the three sub-stream data transmission paths, but the number of each sub-data stream transmission path is A data stream traffic may be the same or different.
  • Step 102 The router node acquires link prices of several links in the sub-data stream transmission path, and aggregates them to obtain a link aggregation price, and feeds back the link aggregation price to the data source node; for example, a router node
  • the first data stream traffic obtained in step 101 can be loaded onto each link in the sub-data stream transmission path according to the routing matrix. Wherein, it may be that multiple sub-data stream transmission paths pass through the same link, and corresponding data may be loaded on the link; for example, the link between the router node A and the router node B is simultaneously
  • the first sub-stream transmission path and the second sub-data stream transmission path are loaded with the traffic a on the first sub-stream transmission path and the traffic b on the second sub-stream transmission path.
  • Router node A can aggregate traffic a and traffic b into link traffic.
  • the link control module can calculate the link price based on the link traffic obtained above.
  • the router node may aggregate the link price of the links in the sub-stream transmission path to obtain the link aggregation price, and feed back the link aggregation price to the data source. Node.
  • the link aggregation price may be calculated in multiple ways. For example, the maximum of the multiple link prices may be selected as the link aggregation price, or the multiple link prices may be added to obtain the link aggregation price, or The multiple link prices are separately weighted to obtain the link aggregation price and the like.
  • Step 103 The data source node obtains the second data flow according to the link aggregation price and the server weight of the server node, and loads the second data flow to replace the first data flow to the sub data flow.
  • the link price is an indicator reflecting the link utilization.
  • the data source node can adjust the initial traffic loaded in step 101 according to the link price. If the link price is lower, the link utilization rate is used. It is still low, and the link traffic can be increased. Then, the data source node can continue to increase the traffic based on the initial traffic of step 101 according to a certain growth factor.
  • the data source node may also adjust the initial traffic loaded in step 101 according to the server weight of the server node.
  • the server weight may reflect the processing capability of the server.
  • the server may be weighted according to performance parameters such as server load and service average delay. Value, if the server weight is high, it indicates that the server has high processing capacity (such as small load, small delay, etc.), then the data source node can continue to increase traffic based on the initial traffic based on a certain growth factor. . After the foregoing adjustment to the traffic, the data source node can obtain the second data flow, and the second data flow is the adjusted traffic, and the second data flow can be replaced by the first data flow in the step 101, and the traffic is loaded. To the sub-streaming path.
  • the link performance requirement (link price) and the server performance requirement (server weight) are considered at the same time, which is a joint optimization between the ISP and the CP, and the global optimal balance of the network performance can be obtained.
  • the network optimization flow control method in this embodiment is not only a distributed computing method, that is, the traffic calculation is distributed to each data source node and the network node for calculation, and the centralized processing method is compared with the prior art.
  • the network optimization flow control method in this embodiment is a process of dynamically adjusting the traffic, and the traffic can be adjusted in real time according to the network link state and the server state.
  • Intraoperative static optimization calculation method can dynamically adapt to network changes, quickly respond to network abnormal states, and the system is robust.
  • the network optimization flow control method of the embodiment is implemented by decomposing the traffic calculation in the network optimization into each node and the link in the network, thereby solving the problem that the network optimization traffic calculation information demand is large, and the calculation amount is greatly reduced. , improve the real-time performance of network optimization.
  • the second embodiment of the present invention is basically the same as the first embodiment, but the steps in the first embodiment are described in more detail.
  • the flow control method of this embodiment may include the following steps: Step 201: A data source node divides, according to network topology information, a sub-data stream transmission path between the data source node and the server node. And loading the first data stream traffic on the sub-data stream transmission path; for example, as shown in FIG. 3, FIG.
  • FIG. 3 is a schematic diagram of the sub-data stream transmission path division in the second embodiment of the network optimization flow control method according to the present invention.
  • the data source node performs the division of the sub-data stream transmission path according to the network topology information, and the network topology information may be received by the router node.
  • the router node broadcasts the collected network topology information to the neighboring node, and after receiving the information, the data source node may locally generate a network topology table; the data source node further according to the content of the network topology table, The possible transmission path division of the data stream to the server node results in several independent sub-stream transmission paths.
  • the data source node can calculate and generate the first data stream traffic, as the initial traffic, and load it onto the obtained sub-data stream transmission path.
  • the intermediate router needs to perform a corresponding forwarding policy when the data stream is loaded, and may include loading based on MPLS and IP-based.
  • the first number can be directly According to the flow rate, the flow is loaded to the MPLS pipe, and the path is forwarded according to the path when the pipeline is established.
  • the path identifier may be added to the data packet corresponding to the first data flow, and the router node may forward the data packet according to the path identifier.
  • Step 202 The router node aggregates the traffic on the link to obtain the link traffic.
  • the router node may load the first data flow obtained in step 201 into each chain in the sub-data transmission path according to the routing matrix. On the road. Among them, it is possible that multiple sub-data stream transmission paths pass through the same link, and corresponding data may be loaded on the link. For example, the link between router node A and router node B is passed by xl l and xl2 at the same time, then the traffic on a1 l and the traffic on xl2 are loaded on the link 1). Router node A can aggregate traffic a and traffic b into link traffic.
  • Step 203 The link control module obtains a link price of the link according to the link traffic.
  • the link price is a parameter that reflects link performance, and the link control module can directly set according to performance requirements of the link. .
  • Link based on a predetermined price utility function / (setting ⁇ linear utility function associated with the link, the utility function is a nonlinear function, for example, monotonic convex function; link control module can link the utility function according ⁇ Update the link price, which can be used as the price obtained on a certain link.
  • the utility function / ( calculated from the link state information, such as the link traffic, link delay, chain obtained in step 202, The length of the control cache queue required by the road, etc.
  • setting the utility function as a nonlinear function can make the optimization method have a faster response speed and optimize the traffic to approach the target balance point flow faster.
  • Step 204 The router node aggregates link price of several links in the sub-data stream transmission path to obtain a link aggregation price, and feeds back the link aggregation price to the data source node; for example, a sub-data There may be multiple links on the streaming path, and each link can obtain the link price according to the above method.
  • the router node may aggregate the link prices of the links in the sub-stream transmission path to obtain a link aggregation price, and feed back the link aggregation price to the data source node.
  • the router node aggregates the link prices of the links on the sub-data stream transmission path according to the selected fairness rule;
  • the fairness rule generally has a maximum and minimum fairness criterion and a proportional fairness criterion, respectively, corresponding to different Link aggregation method; for example, if the maximum and minimum fairness criterion is selected, the maximum of the multiple link prices can be selected as the link aggregation price, or the proportional fairness criterion is selected, and the multiple link prices are added to obtain the link. Aggregate the price, or select the weighted proportional fairness criterion, then add the weights of the multiple linkes separately to obtain the link aggregation price and so on.
  • Step 205 The data source node obtains the second data flow according to the link aggregation price and the server weight of the server node, and loads the second data flow to replace the first data flow to the sub data flow.
  • the transmission path for example, the server weight may be an indicator reflecting the processing capability of the server node, wherein the link price represents an optimization requirement of the ISP, and the server weight represents the optimization requirement of the CP, that is, the parameter selection of the server node is determined according to the server node.
  • Performance information dynamically assigns weights to server nodes.
  • the server weight is calculated according to the following formula (1):
  • Data traffic that the server can process per unit of time; For reference delay constant; in the above formula (1), y is the total load of the server node, and D is the service average delay of the server node.
  • the server performance information (such as load, delay, etc.) may be sent by the server node to the data source node, and the data source node calculates the server weight of the server node according to the server performance information.
  • the router nodes in the network can forward. Since each sub-data stream is independently calculated, when a plurality of data streams pass through a link, the plurality of data streams will compete, and the capability of competing can pass the server weight of the target server node corresponding to each sub-data stream.
  • the server has a higher weight, it indicates that the server has higher processing capacity (such as smaller load, less delay, etc.), and the sub-data stream corresponding to the server node can appropriately increase the traffic.
  • the above calculation of the server weight has no time step limitation, as long as it can be obtained before the flow calculation.
  • the data source node can calculate the traffic of the sub-stream transmission path according to the link aggregation price and the server weight of the server node. Specifically, the data source node can perform traffic calculation according to the following formula (2):
  • the formula (2) calculates the flow is a greedy trial calculation method, the formula includes two parts, namely the rate increase part and the rate limit part.
  • the rate increase part is a greedy expansion mode, the expansion rate is related to the price and the server weight; the ' w ' ( ) is added per unit time;
  • the rate limiting part means limiting greedy expansion.
  • the higher the rate of data flow, the higher the expansion constraint, and the rate is limited by ' X ⁇ .
  • the utility function in the formula (2) has a heuristic factor, and the value is based on the following formula (3):
  • a is a normal number
  • the balance point is a target state of global optimization of the network, which is equivalent to the ideal optimal solution solved by static optimization in the prior art.
  • the traffic calculated according to the above formula in the step 205 is the traffic adjusted according to the network state information and the server state information, and may be referred to as the second data flow.
  • the data source node may replace the second data stream traffic with the first data stream traffic in step 201 and load onto the sub-data stream transmission path. Then, after loading the second data stream traffic, the router node can perform traffic aggregation and subsequent steps as in step 202.
  • the entire network automatically obtains the network optimized traffic control result in the dynamic feedback adjustment shown in FIG. 2.
  • FIG. 4 is a topological diagram of a simulation example in Embodiment 2 of a network optimization flow control method according to the present invention.
  • the source data node is connected to a sub-stream transmission path, and the sub-data stream transmission path connected to the source 1 includes a three-segment link, and the three-segment link is a source link, a source link, and a source node.
  • the traffic distribution on the four sub-stream transmission paths in the network is represented.
  • the traffic on the four sub-stream transmission paths in the embodiment should be the link capacity C. 1/3
  • y represents the link utilization of the three-segment link.
  • the utilization rates of Linkl, Link2, and Link3 in this embodiment are 2/3*C, respectively. , C. And C 0 .
  • the calculated result can be seen in Figure 5 and Figure 6.
  • the design of the utility function is simplified, and the utility function is adopted.
  • the calculation formula is a relatively simple implementation form of the utility function, and can also be other power functions and other functional forms.
  • 5 is a flow state change diagram obtained by solving an exponential function in the second embodiment of the network optimization flow control method according to the present invention
  • FIG. 6 is a link utilization state obtained by solving the exponential function in the second embodiment of the network optimized flow control method of the present invention. Change chart. As can be seen from FIG.
  • the data transmission rate of the four data source nodes in the network shown in FIG. 4 is 1/3*C on average. , that is, the traffic equivalent to the sub-stream transmission path is 1/3*C. It is consistent with x * in the static optimal solution; as can be seen from Figure 6, the utilization of the three-segment link in the network shown in Figure 4 is both Co and the other is
  • FIG. 8 is a link utilization state obtained by solving a power function in the second embodiment of the network optimized flow control method according to the present invention. Change chart. The results obtained are consistent with those of Figures 5 and 6, and are also consistent with the static optimal solution, but the process of dynamic approximation is different.
  • FIG. 9 is a schematic structural diagram of Embodiment 1 of a network optimization flow control apparatus according to the present invention.
  • the network optimization flow control apparatus of this embodiment may be a data source node according to any embodiment of the present invention, and may perform any implementation of the present invention.
  • the apparatus may include an initial loading module 91, a feedback receiving module 92, and a flow conditioning module 93.
  • the initial loading module 91 may obtain a sub-data stream transmission path between the data source node and the server node according to the network topology information, and load the first data stream traffic on the sub-data stream transmission path;
  • the data stream transmission path includes a plurality of the links;
  • the feedback receiving module 92 may receive a link aggregation price of the sub-data stream transmission path fed back by the router node, where the link aggregation price is determined by the router node a plurality of link price aggregations in the sub-streaming transmission path are obtained;
  • the traffic adjustment module 93 can obtain the second data stream traffic according to the link aggregation price and the server weight of the server node, and the second data flow rate The data stream traffic replaces the first data stream traffic to the sub-data stream transmission path.
  • the network optimization flow control device of the embodiment by setting an initial loading module, a feedback receiving module, and a traffic adjusting module, respectively decomposes the traffic calculation in the network optimization into each node and link in the network, and solves the network optimization traffic. Calculating the problem of large amount of information demand greatly reduces the amount of calculation and improves the real-time performance of network optimization.
  • FIG. 10 is a schematic structural diagram of Embodiment 2 of a network optimization flow control apparatus according to the present invention.
  • This embodiment refines the structure in Embodiment 1 of the apparatus.
  • the initial loading module 91 can include a first loading unit 911 and/or a second loading unit 912.
  • the first loading unit 911 can load the first data stream traffic to the MPLS pipe, and the sub data stream transmission path is an MPLS pipe.
  • the second loading unit 912 can correspond to the first data stream traffic.
  • a path marker is added to the data packet to cause the router node to load the first data stream traffic onto the sub-data stream transmission path according to the path label.
  • first loading unit 911 and/or second loading unit 912 means that the network optimization flow control device can have both the first loading unit 911 and the second loading unit. 912, that is, having two corresponding functions at the same time; or, there may be only one of the first loading unit 911 and the second loading unit 912, that is, having only one of the functions.
  • the weight calculation module 94 may include a server performance information sent by the server node, and obtain a server weight of the server node according to the server performance information.
  • the network optimization flow control device of the embodiment By setting the initial loading module, the feedback receiving module and the traffic conditioning module, the traffic calculation in the network optimization is decomposed into the nodes and links in the network respectively, which solves the problem that the network optimization traffic calculation information demand is large, and is greatly reduced. The amount of calculation increases the real-time performance of network optimization.
  • FIG. 11 is a schematic structural diagram of an embodiment of a network optimization flow control system according to the present invention.
  • the system in this embodiment may perform a network optimization flow control method according to any embodiment of the present invention, and specifically, functions and execution principles of each module and unit. See the method embodiments for description.
  • the system of this embodiment may include a data source node 1101, a server node 1102, and a routing node 1103.
  • the two adjacent router nodes are a link between the two adjacent router nodes.
  • the data source node is equivalent to the network optimized flow control device described in the embodiment of the present invention.
  • the data source node 1101 is configured to obtain, according to the network topology information, a sub-data stream transmission path between the data source node and the server node, and load the first on the sub-data stream transmission path.
  • a data stream traffic one of the sub-data stream transmission paths includes a plurality of the links; the router node 1103, configured to aggregate traffic of the first data stream on the link into link traffic, where the link control
  • the module obtains a link price of the link according to the link traffic; aggregates link price of several links in the sub-stream transmission path to obtain a link aggregation price, and aggregates the link price feedback
  • the data source node 1101 is further configured to obtain a second data flow according to a link aggregation price fed back by the router node and a server weight of the server node, and obtain the second data flow
  • the second data stream traffic replaces the first data stream traffic to the sub-data stream transmission path.
  • the network optimization flow control system of the embodiment is respectively implemented by decomposing the traffic calculation in the network optimization into each node and the link in the network, thereby solving the problem that the network optimization traffic calculation information demand is large, and the calculation amount is greatly reduced. , improve the real-time performance of network optimization.
  • a person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

Provided are a network optimization traffic control method, device and system. The method includes: a data source node obtaining a sub-data stream transmission path between the data source node and a server node according to network topology information, and loading first data stream traffic on the sub-data stream transmission path; a router node aggregating the link prices of several links in the sub-data stream transmission path to obtain a link aggregation price, and feeding back the link aggregation price to the data source node; the data source node obtaining second data stream traffic according to the link aggregation price and the server weight of the server node, and replacing the first data stream traffic with the second data stream traffic and loading the same to the sub-data stream transmission path. The embodiments in the present invention greatly reduce the calculation amount, improving the timeliness of network optimization.

Description

网络优化流量控制方法、 装置和系统  Network optimization flow control method, device and system
技术领域 Technical field
本发明涉及通信技术,特别涉及一种网络优化流量控制方法、装置和系统。 背景技术  The present invention relates to communication technologies, and in particular, to a network optimization flow control method, apparatus, and system. Background technique
传统互联网服务提供商(Internet Service Provider, 简称: ISP )主要是提 供互联网连接, 在网络优化功能上主要解决流量工程 (TE)问题, 为流量指定 最优的路径、 最小化网络的拥塞程度, 以网络的性能为优化目标; 而内容服 务商 ( Content Provider, 简称: CP )主要为用户提供所需的内容, 为用户提 供合理的资源, 解决服务器选择 (SS)的问题, 是以用户的体验为优化目标。 如果将 ISP与 CP的优化联合起来, 进行 TE和 SS的联合优化 (JO), 可以得 到整个网络的最优求解, 在达到最小化链路拥塞的同时最小化端到端时延。 获得网络性能全局最优的平衡, 能够大幅提升网络性能。 现有技术的网络优化流量控制方法,通常是单独设置一优化处理服务器, 该服务器需要收集优化问题求解所需的全网状态信息 (如链路容量、 链路流 量、 用户请求信息、 服务器状态信息等), 采用集中式方式获取网络最优解, 并将最优解作用到网络。 该集中式方式指的是, 该网络中具有多个数据源节 点以及作为数据传输目的地的多个服务器节点, 相应的也具有多条子数据流 传输路径, 所有子数据流传输路径的数据流量都是由该优化处理服务器统一 处理得到, 再将得到的最优数据流量加载到网络中的子数据流传输路径上, 网络最优解通常是网络中数据源节点到服务器节点之间的子数据流传输路径 的数据流量。  The traditional Internet Service Provider (ISP) mainly provides Internet connection. It mainly solves the problem of traffic engineering (TE) in network optimization functions, specifies the optimal path for traffic, and minimizes the congestion degree of the network. The performance of the network is the optimization goal; the content Provider (CP) mainly provides the user with the required content, provides the user with reasonable resources, solves the problem of server selection (SS), and the user experience is optimize the target. If the ISP and CP optimization are combined, a joint optimization (JO) of TE and SS can be performed to obtain an optimal solution for the entire network, minimizing link congestion while minimizing end-to-end delay. Achieving a globally optimal balance of network performance can significantly improve network performance. In the prior art network optimization flow control method, an optimization processing server is usually set separately, and the server needs to collect network state information (such as link capacity, link traffic, user request information, and server status information) required for optimization problem solving. Etc.), obtain the optimal solution of the network in a centralized manner, and apply the optimal solution to the network. The centralized method refers to that the network has multiple data source nodes and multiple server nodes as data transmission destinations, and correspondingly has multiple sub-data stream transmission paths, and data flows of all sub-data stream transmission paths are It is uniformly processed by the optimization processing server, and then the obtained optimal data traffic is loaded into the sub-data stream transmission path in the network, and the network optimal solution is usually a sub-data stream between the data source node and the server node in the network. The data traffic of the transmission path.
但是, 上述现有技术存在如下技术缺陷: 由于该方案采用集中方式进行 求解, 在实际网络中, 求解该最优问题需要的网络状态信息较多, 尤其是在 网络规模扩大时, 信息需求随节点数量指数增加, 收集信息和计算所耗费的 时间将急剧增加, 而且计算量过大, 网络节点难以实时反应, 给优化方案的 实施带来极大的难度。 发明内容 However, the above prior art has the following technical defects: Since the solution is solved in a centralized manner, in the actual network, more network state information is needed to solve the optimal problem, especially in the case of When the network scale is expanded, the information demand increases with the number of nodes, the time spent collecting information and calculations will increase sharply, and the calculation amount is too large, and the network nodes are difficult to react in real time, which brings great difficulty to the implementation of the optimization scheme. Summary of the invention
本发明实施例提供一种网络优化流量控制方法、装置和系统, 以实现 ISP 与 CP的联合优化, 并且计算量小, 提高优化处理的速度和实时性。 本发明实施例一方面提供一种网络优化流量控制方法, 所述网络包括数 据源节点、 路由器节点和服务器节点, 两个相邻的路由器节点之间为一条链 路, 且所述两个相邻的路由器节点组成链路控制模块; 所述方法包括: 所述数据源节点根据网络拓朴信息 , 得到所述数据源节点至所述服务器 节点之间的子数据流传输路径, 并在所述子数据流传输路径上加载第一数据 流流量; 一条所述子数据流传输路径包括若干所述链路;  The embodiment of the invention provides a network optimization flow control method, device and system, so as to realize joint optimization of ISP and CP, and the calculation amount is small, and the speed and real-time performance of the optimization processing are improved. An embodiment of the present invention provides a network optimization flow control method, where the network includes a data source node, a router node, and a server node, where two adjacent router nodes are a link, and the two adjacent nodes The router node constitutes a link control module; the method includes: the data source node obtaining, according to network topology information, a sub-data stream transmission path between the data source node and the server node, and in the sub- Loading the first data stream traffic on the data stream transmission path; one of the sub-data stream transmission paths includes a plurality of the links;
所述路由器节点将所述链路上的第一数据流流量聚合成链路流量, 所述 链路控制模块根据所述链路流量得到所述链路的链路价格; 所述路由器节点 将所述子数据流传输路径中的若干链路的链路价格聚合得到链路聚合价格 , 并将所述链路聚合价格反馈至所述数据源节点; 所述数据源节点根据所述链路聚合价格, 以及所述服务器节点的服务器 权重, 得到第二数据流流量, 并将所述第二数据流流量替换所述第一数据流 流量加载至所述子数据流传输路径。 本发明实施例另一方面提供一种网络优化流量控制装置, 包括: 初始加载模块, 用于根据网络拓朴信息, 得到数据源节点至服务器节点 之间的子数据流传输路径, 并在所述子数据流传输路径上加载第一数据流流 量; 一条所述子数据流传输路径包括若干所述链路; 反馈接收模块, 用于接收所述路由器节点反馈的所述子数据流传输路径 的链路聚合价格, 所述链路聚合价格由所述路由器节点将所述子数据流传输 路径中的若干的链路价格聚合得到; 流量调节模块, 用于根据所述链路聚合价格, 以及所述服务器节点的服 务器权重, 得到第二数据流流量, 并将所述第二数据流流量替换所述第一数 据流流量加载至所述子数据流传输路径。 本发明实施例再另一方面提供一种网络优化流量控制系统, 包括: 数据 源节点、 服务器节点和路由节点, 两个相邻的路由器节点之间为一条链路, 且所述两个相邻的路由器节点组成链路控制模块; 所述数据源节点, 用于根据网络拓朴信息, 得到所述数据源节点至所述 服务器节点之间的子数据流传输路径, 并在所述子数据流传输路径上加载第 一数据流流量; 一条所述子数据流传输路径包括若干所述链路; 还用于根据所述路由器节点反馈的链路聚合价格, 以及所述服务器节点 的服务器权重, 得到第二数据流流量, 并将所述第二数据流流量替换所述第 —数据流流量加载至所述子数据流传输路径; 所述路由器节点,用于将所述链路上的第一数据流流量聚合成链路流量, 所述链路控制模块根据所述链路流量得到所述链路的链路价格; 将所述子数 据流传输路径中的若干链路的链路价格聚合得到链路聚合价格, 并将所述链 路聚合价格反馈至所述数据源节点。 本发明实施例的网络优化流量控制方法、 装置和系统, 通过将网络优化 中的流量计算分解到网络中的各个节点和链路上分别实现, 解决了网络优化 流量计算信息需求量大的问题, 大大缩减了计算量, 提高了网络优化的实时 性。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描述中的 附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造 性劳动的前提下, 还可以根据这些附图获得其他的附图。 The router node aggregates traffic of the first data stream on the link into link traffic, and the link control module obtains a link price of the link according to the link traffic; Link price aggregation of several links in the sub-data stream transmission path to obtain a link aggregation price, and feedback the link aggregation price to the data source node; the data source node aggregates the price according to the link And the server weight of the server node, obtaining the second data stream traffic, and loading the second data stream traffic to the first data stream traffic to the sub-data stream transmission path. An embodiment of the present invention provides a network optimization flow control apparatus, including: an initial loading module, configured to obtain a sub-data stream transmission path between a data source node and a server node according to network topology information, and Loading the first data stream traffic on the sub-data stream transmission path; one of the sub-data stream transmission paths includes a plurality of the links; a feedback receiving module, configured to receive a link aggregation price of the sub-data stream transmission path fed back by the router node, where the link aggregation price is a chain of the sub-data stream transmission path by the router node The traffic price adjustment module is configured to: obtain, according to the link aggregation price, the server weight of the server node, the second data flow, and replace the second data flow with the first data Stream traffic is loaded to the sub-data stream transmission path. Another aspect of the present invention provides a network optimization flow control system, including: a data source node, a server node, and a routing node, where two adjacent router nodes are a link, and the two adjacent nodes The router node constitutes a link control module, and the data source node is configured to obtain, according to the network topology information, a sub-data stream transmission path between the data source node and the server node, and in the sub-data stream Loading a first data stream traffic on the transmission path; one of the sub-data stream transmission paths includes a plurality of the links; and further configured to obtain, according to a link aggregation price fed back by the router node, and a server weight of the server node, a second data stream traffic, and the second data stream traffic is replaced by the first data stream traffic to the sub-data stream transmission path; the router node is configured to use the first data on the link Flow traffic is aggregated into link traffic, and the link control module obtains a link price of the link according to the link traffic; Some price link streaming link path polymerization link aggregation price, and the price of the link aggregation is fed back to the data source node. The network optimization flow control method, device and system according to the embodiment of the present invention respectively solve the problem that the network optimization traffic calculation information demand is large by decomposing the traffic calculation in the network optimization into each node and the link in the network. It greatly reduces the amount of calculation and improves the real-time performance of network optimization. DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings to be used in the description of the embodiments will be briefly made. It is obvious that the drawings in the following description are the present invention. For some embodiments, other drawings may be obtained from those of ordinary skill in the art without departing from the drawings.
图 1为本发明网络优化流量控制方法实施例一的流程示意图;  1 is a schematic flowchart of Embodiment 1 of a network optimization flow control method according to the present invention;
图 2为本发明网络优化流量控制方法实施例二 -的流程示意图;  2 is a schematic flowchart of Embodiment 2 of a network optimization flow control method according to the present invention;
图 3为本发明网络优化流量控制方法实施例二 -中的子数据流传输路径划 分示意图;  3 is a schematic diagram of dividing a sub-data stream transmission path in Embodiment 2 of the network optimization flow control method according to the present invention;
图 4为本发明网络优化流量控制方法实施例二 -中的仿真实例拓朴图; 图 5为本发明网络优化流量控制方法实施例二 -中的指数函数求解得到的 流量状态变化图;  4 is a top view of a simulation example in the second embodiment of the network optimized flow control method of the present invention; FIG. 5 is a flow state change diagram obtained by solving the exponential function in the second embodiment of the network optimized flow control method of the present invention;
图 6为本发明网络优化流量控制方法实施例二中的指数函数求解得到的 链路利用率状态变化图;  6 is a diagram showing a state of link utilization state obtained by solving an exponential function in the second embodiment of the network optimization flow control method of the present invention;
图 7为本发明网络优化流量控制方法实施例二中的幂函数求解得到的流 量状态变化图;  7 is a flow state change diagram obtained by solving a power function in the second embodiment of the network optimization flow control method according to the present invention;
图 8为本发明网络优化流量控制方法实施例二中的幂函数求解得到的链 路利用率状态变化图;  8 is a diagram showing a state change of a link utilization state obtained by solving a power function in the second embodiment of the network optimization flow control method of the present invention;
图 9为本发明网络优化流量控制装置实施例一的结构示意图;  9 is a schematic structural diagram of Embodiment 1 of a network optimization flow control apparatus according to the present invention;
图 10为本发明网络优化流量控制装置实施例二的结构示意图; 图 11为本发明网络优化流量控制系统实施例的结构示意图。 具体实施方式  FIG. 10 is a schematic structural diagram of Embodiment 2 of a network optimized flow control apparatus according to the present invention; FIG. 11 is a schematic structural diagram of an embodiment of a network optimized flow control system according to the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合本发明实施 例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明 中的实施例, 本领域普通技术人员在没有做出创造性劳动的前提下所获得的 所有其他实施例, 都属于本发明保护的范围。 本发明实施例的主要技术方案是, 将网络优化中的流量计算分解到网络 中的各个节点和链路上分别实现, 例如, 对网络中的各条子数据流传输路径 分别计算其子数据流流量, 而且在流量计算中所需要的参数也分布在子数据 流传输路径中的网络节点实现, 从而相对于现有技术中的优化处理服务器集 中式处理方式, 大大缩减了计算量, 提高了网络优化的实时性。 下面通过附图和实施例, 对本发明的技术方案做进一步的详细描述。 实施例一 图 1为本发明网络优化流量控制方法实施例一的流程示意图, 其中, 网 络中可以包括数据源节点、 路由器节点和服务器节点; 并且, 两个相邻的路 由器节点之间为一条链路且该两个相邻的路由器节点组成链路控制模块。 如 图 1所示, 本实施例的流量控制方法可以包括以下步骤: 步骤 101、 数据源节点根据网络拓朴信息, 得到所述数据源节点至所述 服务器节点之间的子数据流传输路径, 并在子数据流传输路径上加载第一数 据流流量; 例如, 与现有技术相比较, 现有技术中是采用网络之外单独设置的优化 处理服务器来计算网络流量,而本实施例中不再设置上述的优化处理服务器, 而是直接通过网络中的数据源节点来进行流量计算。 并且, 网络中包括多个 数据源节点, 该多个数据源节点是分别计算其所连接的子数据流传输路径上 的流量的。 数据流传输的源节点为数据源节点, 数据流传输的目的节点是服务器节 点, 数据源节点和服务器节点之间的路径为数据流传输路径。 本实施例中, 每一数据源节点都可以根据网络拓朴信息, 依据数据流可能的传输路径, 划 分出到服务器节点的若干条子数据流传输路径。 并且, 数据流从数据源节点 到服务器节点之间可能经过多个路由器节点, 相应的, 即一条子数据流传输 路径上可能经过若干条链路。 其中, 上述的网络拓朴信息可以是数据源节点 从路由器节点获得。 数据源节点在上述划分得到的各子数据流传输路径上分别加载第一数据 流流量, 作为初始流量, 该初始流量可以为一预设的起始值, 为一个较小的 常数。 例如, 假设数据源节点 A到服务器节点 B之间有三条子数据流传输路 径, 那么在这三条子数据流传输路径加载的均为第一数据流流量, 但是各条 子数据流传输路径上的第一数据流流量可以相同, 也可以不相同。 步骤 102、 路由器节点获取子数据流传输路径中的若干链路的链路价格, 并将其聚合得到链路聚合价格,将所述链路聚合价格反馈至所述数据源节点; 例如, 路由器节点可以依据路由矩阵, 将步骤 101中得到的第一数据流 流量加载到子数据流传输路径中的各条链路上。 其中, 有可能出现多条子数 据流传输路径经过同一条链路,则该链路上就相应的可能加载有多个数据流; 例如, 路由器节点 A和路由器节点 B之间的链路, 同时被第一子数据流传输 路径和第二子数据流传输路径, 那么该链路上就加载有第一子数据流传输路 径上的流量 a和第二子数据流传输路径上的流量 b。 路由器节点 A可以将流 量 a和流量 b聚合成链路流量。 The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Some embodiments, rather than all of the embodiments, are invented. Based on the embodiments of the present invention, those obtained by those skilled in the art obtained without creative labor All other embodiments are within the scope of the invention. The main technical solution of the embodiment of the present invention is to decompose the traffic calculation in the network optimization into each node and the link in the network, for example, calculate the sub-data flow of each sub-data stream transmission path in the network separately. Moreover, the parameters required in the flow calculation are also distributed in the network node in the sub-stream transmission path, thereby greatly reducing the calculation amount and improving the network optimization compared with the centralized processing method of the optimization processing server in the prior art. Real time. The technical solution of the present invention will be further described in detail below through the accompanying drawings and embodiments. Embodiment 1 FIG. 1 is a schematic flowchart of Embodiment 1 of a network optimization flow control method according to the present invention, wherein a network source node, a router node, and a server node may be included in the network; and, a chain between two adjacent router nodes The two adjacent router nodes form a link control module. As shown in FIG. 1 , the flow control method in this embodiment may include the following steps: Step 101: A data source node obtains a sub-data stream transmission path between the data source node and the server node according to network topology information. And loading the first data stream traffic on the sub-data stream transmission path; for example, compared with the prior art, in the prior art, the network processing traffic is calculated by using an optimization processing server separately set outside the network, but not in this embodiment. Then, the above optimization processing server is set, and the traffic calculation is performed directly through the data source node in the network. Moreover, the network includes a plurality of data source nodes, and the plurality of data source nodes respectively calculate traffic on the sub-data stream transmission path to which they are connected. The source node of the data stream transmission is a data source node, the destination node of the data stream transmission is a server node, and the path between the data source node and the server node is a data stream transmission path. In this embodiment, each data source node may divide, according to network topology information, a plurality of sub-data stream transmission paths to the server node according to possible transmission paths of the data streams. And, the data stream is from the data source node There may be multiple router nodes passing between the server nodes, and correspondingly, there may be several links on a sub-data stream transmission path. The foregoing network topology information may be obtained by the data source node from the router node. The data source node loads the first data stream traffic on each of the sub-data stream transmission paths obtained as the initial traffic, and the initial traffic may be a preset starting value, which is a smaller constant. For example, suppose there are three sub-stream transmission paths between the data source node A and the server node B, then the first data stream traffic is loaded in the three sub-stream data transmission paths, but the number of each sub-data stream transmission path is A data stream traffic may be the same or different. Step 102: The router node acquires link prices of several links in the sub-data stream transmission path, and aggregates them to obtain a link aggregation price, and feeds back the link aggregation price to the data source node; for example, a router node The first data stream traffic obtained in step 101 can be loaded onto each link in the sub-data stream transmission path according to the routing matrix. Wherein, it may be that multiple sub-data stream transmission paths pass through the same link, and corresponding data may be loaded on the link; for example, the link between the router node A and the router node B is simultaneously The first sub-stream transmission path and the second sub-data stream transmission path are loaded with the traffic a on the first sub-stream transmission path and the traffic b on the second sub-stream transmission path. Router node A can aggregate traffic a and traffic b into link traffic.
链路控制模块可以根据上述得到的链路流量计算链路价格。 其中, 链路 价格的计算可以有多种方式, 依据网络优化目标对链路的性能要求而定; 例 如, 在网络优化中, 较侧重于链路的利用率, 希望使得链路的利用率较高, 则链路价格就可以设定为反映链路利用率的指标, 如 "链路价格 =链路流量 / 链路最大容量" 。 一条子数据流传输路径上可能具有多条链路, 每一条链路都可以依据上 述方式获取链路价格。 路由器节点可以将该子数据流传输路径中的若干链路 的链路价格聚合, 得到链路聚合价格, 并将所述链路聚合价格反馈至数据源 节点。 其中, 链路聚合价格的计算方式也可以有多种, 例如, 可以选择多个 链路价格中的最大值作为链路聚合价格, 或者将多个链路价格相加得到链路 聚合价格, 或者将多个链路价格分别赋权相加得到链路聚合价格等。 The link control module can calculate the link price based on the link traffic obtained above. The calculation of the link price can be performed in a variety of ways, depending on the performance requirements of the network optimization target; for example, in network optimization, the link utilization is more focused on, and it is desirable to make the link utilization ratio better. If it is high, the link price can be set to reflect the link utilization index, such as "link price = link traffic / link maximum capacity". There may be multiple links on a sub-stream transmission path, and each link can obtain the link price according to the above manner. The router node may aggregate the link price of the links in the sub-stream transmission path to obtain the link aggregation price, and feed back the link aggregation price to the data source. Node. The link aggregation price may be calculated in multiple ways. For example, the maximum of the multiple link prices may be selected as the link aggregation price, or the multiple link prices may be added to obtain the link aggregation price, or The multiple link prices are separately weighted to obtain the link aggregation price and the like.
步骤 103、 数据源节点根据链路聚合价格, 以及服务器节点的服务器权 重, 得到第二数据流流量, 并将所述第二数据流流量替换所述第一数据流流 量加载至所述子数据流传输路径; 例如, 以链路价格为反映链路利用率的指标为例, 数据源节点可以根据 链路价格调整步骤 101中加载的初始流量, 若链路价格较低, 则表示链路利 用率还很低, 可以增加链路流量, 则数据源节点可以依据一定的增长因子在 步骤 101的初始流量的基础上继续增加流量。 数据源节点还可以根据服务器节点的服务器权重调整步骤 101中加载的 初始流量, 该服务器权重可以是反映服务器的处理能力, 例如可以依据服务 器的负载和服务平均时延等性能参数对服务器赋以权重值, 若服务器权重较 高, 则表明该服务器的处理能力较高 (如负载还较小、 时延较小等) , 则数 据源节点可以依据一定的增长因子在初始流量的基础上继续增加流量。 经过上述对于流量的调节, 数据源节点可以得到第二数据流流量, 该第 二数据流流量是调整后的流量, 可以将该第二数据流流量替换步骤 101中的 第一数据流流量, 加载至子数据流传输路径上。 其中, 本实施例的方法中同 时考虑了链路性能要求(链路价格)和服务器性能要求(服务器权重) , 是 ISP与 CP的联合优化, 可以获得网络性能全局最优的平衡。  Step 103: The data source node obtains the second data flow according to the link aggregation price and the server weight of the server node, and loads the second data flow to replace the first data flow to the sub data flow. For example, the link price is an indicator reflecting the link utilization. The data source node can adjust the initial traffic loaded in step 101 according to the link price. If the link price is lower, the link utilization rate is used. It is still low, and the link traffic can be increased. Then, the data source node can continue to increase the traffic based on the initial traffic of step 101 according to a certain growth factor. The data source node may also adjust the initial traffic loaded in step 101 according to the server weight of the server node. The server weight may reflect the processing capability of the server. For example, the server may be weighted according to performance parameters such as server load and service average delay. Value, if the server weight is high, it indicates that the server has high processing capacity (such as small load, small delay, etc.), then the data source node can continue to increase traffic based on the initial traffic based on a certain growth factor. . After the foregoing adjustment to the traffic, the data source node can obtain the second data flow, and the second data flow is the adjusted traffic, and the second data flow can be replaced by the first data flow in the step 101, and the traffic is loaded. To the sub-streaming path. In the method of the embodiment, the link performance requirement (link price) and the server performance requirement (server weight) are considered at the same time, which is a joint optimization between the ISP and the CP, and the global optimal balance of the network performance can be obtained.
与现有技术相比较, 本实施例的网络优化流量控制方法, 不仅是一个分 布式计算方式, 即将流量计算分布到各个数据源节点和网络节点进行计算, 相对于现有技术的集中式处理方式, 大大减小了计算量和网络信令交互; 而 且, 本实施例的网络优化流量控制方法是一个对流量进行动态调节的过程, 可以根据网络链路状态和服务器状态等进行流量的实时调节, 相对于现有技 术中的静态优化计算方式, 能够动态适应网络变化, 快速应对网络异常状态, 系统的鲁棒性好。 本实施例的网络优化流量控制方法, 通过将网络优化中的流量计算分解 到网络中的各个节点和链路上分别实现, 解决了网络优化流量计算信息需求 量大的问题, 大大缩减了计算量, 提高了网络优化的实时性。 实施例二 图 2为本发明网络优化流量控制方法实施例二的流程示意图, 本实施例 与实施例一基本相同, 只是对实施例一中的各步骤进行更加详细的说明。 如 图 2所示, 本实施例的流量控制方法可以包括以下步骤: 步骤 201、 数据源节点根据网络拓朴信息, 划分得到所述数据源节点至 所述服务器节点之间的子数据流传输路径, 并在子数据流传输路径上加载第 一数据流流量; 例如, 参见图 3所示, 图 3为本发明网络优化流量控制方法实施例二中 的子数据流传输路径划分示意图。 数据源节点 R1到服务器节点 S1之间的数 据流传输路径可能有多条, 图 3中所示为两条, 分别为 xl l和 xl2。 其中,数据源节点是根据网络拓朴信息进行子数据流传输路径的划分的, 该网络拓朴信息可以是由路由器节点接收。 具体是, 路由器节点将收集到的 网络拓朴信息广播至周边节点, 数据源节点在接收到该信息后, 可以在本地 生成网络拓朴表; 数据源节点再根据网络拓朴表的内容, 依据至服务器节点 的数据流可能的传输路径划分得到若干独立的子数据流传输路径。 数据源节点可以计算生成第一数据流流量, 作为初始流量, 加载至上述 得到的子数据流传输路径上。 其中, 在数据流的加载时, 中间路由器需要做 相应的转发策略, 可以包括基于 MPLS和基于 IP两种方式的加载。 例如, 基 于 MPLS时, 由于路由器节点支持 MPLS数据管道功能, 可以直接将第一数 据流流量加载至 MPLS管道上, 依据管道建立时的路径转发; 基于 IP时, 可 以在第一数据流流量对应的数据包中添加路径标记, 路由器节点可以根据该 路径标记进行数据包转发。 Compared with the prior art, the network optimization flow control method in this embodiment is not only a distributed computing method, that is, the traffic calculation is distributed to each data source node and the network node for calculation, and the centralized processing method is compared with the prior art. The network optimization flow control method in this embodiment is a process of dynamically adjusting the traffic, and the traffic can be adjusted in real time according to the network link state and the server state. Relative to the prior art Intraoperative static optimization calculation method can dynamically adapt to network changes, quickly respond to network abnormal states, and the system is robust. The network optimization flow control method of the embodiment is implemented by decomposing the traffic calculation in the network optimization into each node and the link in the network, thereby solving the problem that the network optimization traffic calculation information demand is large, and the calculation amount is greatly reduced. , improve the real-time performance of network optimization. The second embodiment of the present invention is basically the same as the first embodiment, but the steps in the first embodiment are described in more detail. As shown in FIG. 2, the flow control method of this embodiment may include the following steps: Step 201: A data source node divides, according to network topology information, a sub-data stream transmission path between the data source node and the server node. And loading the first data stream traffic on the sub-data stream transmission path; for example, as shown in FIG. 3, FIG. 3 is a schematic diagram of the sub-data stream transmission path division in the second embodiment of the network optimization flow control method according to the present invention. There may be multiple data transmission paths between the data source node R1 and the server node S1, and two are shown in FIG. 3, which are xl l and xl2, respectively. The data source node performs the division of the sub-data stream transmission path according to the network topology information, and the network topology information may be received by the router node. Specifically, the router node broadcasts the collected network topology information to the neighboring node, and after receiving the information, the data source node may locally generate a network topology table; the data source node further according to the content of the network topology table, The possible transmission path division of the data stream to the server node results in several independent sub-stream transmission paths. The data source node can calculate and generate the first data stream traffic, as the initial traffic, and load it onto the obtained sub-data stream transmission path. The intermediate router needs to perform a corresponding forwarding policy when the data stream is loaded, and may include loading based on MPLS and IP-based. For example, based on MPLS, since the router node supports the MPLS data pipe function, the first number can be directly According to the flow rate, the flow is loaded to the MPLS pipe, and the path is forwarded according to the path when the pipeline is established. When the IP is based, the path identifier may be added to the data packet corresponding to the first data flow, and the router node may forward the data packet according to the path identifier.
步骤 202、 路由器节点将链路上的流量进行聚合得到链路流量; 其中, 路由器节点可以依据路由矩阵, 将步骤 201中得到的第一数据流 流量加载到子数据流传输路径中的各条链路上。 其中, 有可能出现多条子数 据流传输路径经过同一条链路,则该链路上就相应的可能加载有多个数据流。 例如, 路由器节点 A和路由器节点 B之间的链路, 同时被 xl l和 xl2经 过,那么该链路上就加载有 xl l上的流量 a和 xl2上的流量1)。路由器节点 A 可以将流量 a和流量 b聚合成链路流量。  Step 202: The router node aggregates the traffic on the link to obtain the link traffic. The router node may load the first data flow obtained in step 201 into each chain in the sub-data transmission path according to the routing matrix. On the road. Among them, it is possible that multiple sub-data stream transmission paths pass through the same link, and corresponding data may be loaded on the link. For example, the link between router node A and router node B is passed by xl l and xl2 at the same time, then the traffic on a1 l and the traffic on xl2 are loaded on the link 1). Router node A can aggregate traffic a and traffic b into link traffic.
步骤 203、 链路控制模块根据所述链路流量得到所述链路的链路价格; 其中, 链路价格是反映链路性能的参数, 链路控制模块可以直接根据链 路的性能要求设定。 例如, 在网络优化中, 较侧重于链路的利用率, 希望使 得链路的利用率较高, 则链路价格就可以设定为反映链路利用率的指标, 如 "链路价格 =链路流量 /链路最大容量" 。 链路价格依据预定的效用函数 /( 设定, 与链路的效用函数^ 线性相 关, 该效用函数为非线性函数, 例如可以为单调的凸函数; 链路控制模块可 以根据链路的效用函数^ 更新链路价格, 该 就可以作为某一链路上获 得的价格。 其中, 效用函数 /( 由链路状态信息计算得到, 例如步骤 202中 所获得的链路流量、 链路时延、 链路所要求的控制緩存队列长度等。 其中, 设置效用函数为非线性函数, 可以使得该优化方法的响应速度更快, 优化流 量更快的逼近目标平衡点流量。 Step 203: The link control module obtains a link price of the link according to the link traffic. The link price is a parameter that reflects link performance, and the link control module can directly set according to performance requirements of the link. . For example, in network optimization, focusing on link utilization and hoping to make the link utilization higher, the link price can be set to reflect the link utilization index, such as "link price = chain Road traffic / link maximum capacity". Link based on a predetermined price utility function / (setting ^ linear utility function associated with the link, the utility function is a nonlinear function, for example, monotonic convex function; link control module can link the utility function according ^ Update the link price, which can be used as the price obtained on a certain link. Among them, the utility function / ( calculated from the link state information, such as the link traffic, link delay, chain obtained in step 202, The length of the control cache queue required by the road, etc. Among them, setting the utility function as a nonlinear function can make the optimization method have a faster response speed and optimize the traffic to approach the target balance point flow faster.
此外, 链路控制模块还可以同步网络的拓朴表以及链路计算参数, 以同 步链路间的分布式计算误差。 步骤 204、 路由器节点将所述子数据流传输路径中的若干链路的链路价 格聚合得到链路聚合价格, 并将所述链路聚合价格反馈至所述数据源节点; 例如, 一条子数据流传输路径上可能具有多条链路, 每一条链路都可以 依据上述方式获取链路价格。 路由器节点可以将该子数据流传输路径中的若 干链路的链路价格聚合, 得到链路聚合价格, 并将所述链路聚合价格反馈至 数据源节点。 其中, 路由器节点根据选定的公平性规则, 对子数据流传输路径上的各 条链路的链路价格进行聚合; 该公平性规则一般有最大最小公平准则和比例 公平准则等, 分别对应不同的链路聚合方法; 例如, 如果选择最大最小公平 准则, 可以选择多个链路价格中的最大值作为链路聚合价格, 或者选择比例 公平准则, 则将多个链路价格相加得到链路聚合价格, 或者选择加权比例公 平准则, 则将多个链路价格分别赋权相加得到链路聚合价格等。 步骤 205、 数据源节点根据链路聚合价格, 以及服务器节点的服务器权 重, 得到第二数据流流量, 并将所述第二数据流流量替换所述第一数据流流 量加载至所述子数据流传输路径; 例如, 服务器权重可以是反映服务器节点的处理能力的指标, 其中, 链 路价格代表 ISP的优化要求,该服务器权重代表 CP的优化要求, 即将服务器 节点的选择参数化,依据服务器节点的性能信息对服务器节点动态分配权重。 本实施例中, 依据如下公式(1 )计算服务器权重: In addition, the link control module can synchronize the topology table of the network and the link calculation parameters to synchronize the distributed calculation errors between the links. Step 204: The router node aggregates link price of several links in the sub-data stream transmission path to obtain a link aggregation price, and feeds back the link aggregation price to the data source node; for example, a sub-data There may be multiple links on the streaming path, and each link can obtain the link price according to the above method. The router node may aggregate the link prices of the links in the sub-stream transmission path to obtain a link aggregation price, and feed back the link aggregation price to the data source node. The router node aggregates the link prices of the links on the sub-data stream transmission path according to the selected fairness rule; the fairness rule generally has a maximum and minimum fairness criterion and a proportional fairness criterion, respectively, corresponding to different Link aggregation method; for example, if the maximum and minimum fairness criterion is selected, the maximum of the multiple link prices can be selected as the link aggregation price, or the proportional fairness criterion is selected, and the multiple link prices are added to obtain the link. Aggregate the price, or select the weighted proportional fairness criterion, then add the weights of the multiple linkes separately to obtain the link aggregation price and so on. Step 205: The data source node obtains the second data flow according to the link aggregation price and the server weight of the server node, and loads the second data flow to replace the first data flow to the sub data flow. The transmission path; for example, the server weight may be an indicator reflecting the processing capability of the server node, wherein the link price represents an optimization requirement of the ISP, and the server weight represents the optimization requirement of the CP, that is, the parameter selection of the server node is determined according to the server node. Performance information dynamically assigns weights to server nodes. In this embodiment, the server weight is calculated according to the following formula (1):
w = H(y, D) (1)  w = H(y, D) (1)
上述公式(1 )例如可以为: = 0, 0) = ;^/^。) + (1 _ (^/¾) ; 其中: 为常数, 且 o≤r≤i ; The above formula (1) can be, for example: = 0, 0) = ; ^/^. ) + (1 _ (^/3⁄4) ; where: is a constant, and o ≤ r ≤ i;
^。为单位时间内服务器能处理的数据流量; 为参考时延常数; 上述的公式(1 ) 中, y为服务器节点的总负载, D为服务器节点的服务 平均时延。 服务器性能信息 (如负载、 时延等)可以是服务器节点发送至数 据源节点, 再由该数据源节点根据服务器性能信息计算该服务器节点的服务 器权重。 在服务器节点向数据源节点发送的过程中, 网络中的路由器节点可 以进行转发。 由于各个子数据流是独立计算的, 在多条数据流经过一条链路时, 该多 条数据流将进行竟争, 竟争的能力则可以通过各子数据流对应的目标服务器 节点的服务器权重得以体现; 例如, 服务器权重较高, 则表明该服务器的处 理能力较高 (如负载还较小、 时延较小等) , 则该服务器节点对应的子数据 流就可以适当增大流量。 通过上述各子数据流之间的自适应调节, 可以同时 实现 TE与 SS的目标。 上述的服务器权重的计算没有时间步骤的限制, 只要能够在流量计算之 前得到即可。 在获得服务器权重之后 , 数据源节点可以根据链路聚合价格 , 以及服务器节点的服务器权重, 计算子数据流传输路径的流量。 具体的, 数 据源节点可以依据如下的公式(2 )进行流量计算:
Figure imgf000013_0001
^. Data traffic that the server can process per unit of time; For reference delay constant; in the above formula (1), y is the total load of the server node, and D is the service average delay of the server node. The server performance information (such as load, delay, etc.) may be sent by the server node to the data source node, and the data source node calculates the server weight of the server node according to the server performance information. During the process of sending a server node to a data source node, the router nodes in the network can forward. Since each sub-data stream is independently calculated, when a plurality of data streams pass through a link, the plurality of data streams will compete, and the capability of competing can pass the server weight of the target server node corresponding to each sub-data stream. For example, if the server has a higher weight, it indicates that the server has higher processing capacity (such as smaller load, less delay, etc.), and the sub-data stream corresponding to the server node can appropriately increase the traffic. Through the adaptive adjustment between the above sub-data streams, the goals of TE and SS can be achieved simultaneously. The above calculation of the server weight has no time step limitation, as long as it can be obtained before the flow calculation. After obtaining the server weight, the data source node can calculate the traffic of the sub-stream transmission path according to the link aggregation price and the server weight of the server node. Specifically, the data source node can perform traffic calculation according to the following formula (2):
Figure imgf000013_0001
其中,  among them,
为常数, 且 0 < ;  Is a constant, and 0 < ;
w为所连接的服务器的权重; 上述公式( 2 )得到的结果是流量的导数,根据导数值可以计算得到流量。 该公式(2 )计算流量的方式是一种贪婪的试探计算方式, 公式中包括两个部 分, 即速率增长部分和速率限制部分。 其中, 速率增长部分是一种贪婪的扩 张方式, 扩张速率与价格、 以及服务器权重相关; 每单位时间增加 ' w' ( ); 速率限制部分的意思是限制贪婪扩张, 速率越高的数据流, 扩张受限越高, 速率受限于 'X<。 其中, 公式(2 ) 中的效用函数中具有试探因子 , 该 的取值依据如下 的公式 ( 3 ) : w is the weight of the connected server; the result of the above formula (2) is the derivative of the flow, and the flow can be calculated according to the derivative value. The formula (2) calculates the flow is a greedy trial calculation method, the formula includes two parts, namely the rate increase part and the rate limit part. Among them, the rate increase part is a greedy expansion mode, the expansion rate is related to the price and the server weight; the ' w ' ( ) is added per unit time; The rate limiting part means limiting greedy expansion. The higher the rate of data flow, the higher the expansion constraint, and the rate is limited by ' X <. Wherein, the utility function in the formula (2) has a heuristic factor, and the value is based on the following formula (3):
Figure imgf000014_0001
Figure imgf000014_0001
a 为正常数;  a is a normal number;
q 为每条子数据流得到的聚合价格; 通过上述公式, 可以实现小幅震荡, 进而可以使得计算的流量最终在 平衡点附近做小幅震荡, 实现流量的动态逼近, 从而需要较少的网络信息即 可实现较高的控制精度, 即提高逼近最优点的程度。 其中, 平衡点是一种网 络全局优化的目标状态, 即相当于现有技术中以静态优化方式求解得到的理 想最优解。 本实施例中, 平衡点对应于 x; = H(_y, D)./( ), 与 NBS (纳什议价 解)静态求解的平衡点是一致的, 采用本实施例的流量计算方式可以自动逼 近预设的最优点, 在动态竟争中实现整个网络的最优化。 本步骤 205中按照上述的公式计算得到的流量为依据网络状态信息和服 务器状态信息调整之后的流量, 可以称为第二数据流流量。 数据源节点可以 将该第二数据流流量替换步骤 201中的第一数据流流量, 并加载至子数据流 传输路径上。接着, 加载第二数据流流量之后,路由器节点又可以如步骤 202 那样, 进行流量聚合, 以及后续的步骤; 整个网络会在图 2所示的动态反馈 调整中自动得到网络优化的流量控制结果。  q is the aggregate price obtained for each sub-stream; through the above formula, a small oscillation can be realized, which can make the calculated flow finally oscillate slightly near the equilibrium point, realizing the dynamic approximation of the flow, thus requiring less network information. Achieve higher control accuracy, that is, to improve the degree of approximation. Among them, the balance point is a target state of global optimization of the network, which is equivalent to the ideal optimal solution solved by static optimization in the prior art. In this embodiment, the balance point corresponds to x; = H(_y, D)./( ), which is consistent with the equilibrium point of the NBS (Nash bargaining solution) static solution, and the flow calculation method of the embodiment can be automatically approximated. The best of the presets, the optimization of the entire network in dynamic competition. The traffic calculated according to the above formula in the step 205 is the traffic adjusted according to the network state information and the server state information, and may be referred to as the second data flow. The data source node may replace the second data stream traffic with the first data stream traffic in step 201 and load onto the sub-data stream transmission path. Then, after loading the second data stream traffic, the router node can perform traffic aggregation and subsequent steps as in step 202. The entire network automatically obtains the network optimized traffic control result in the dynamic feedback adjustment shown in FIG. 2.
下面以一仿真实例说明本实施例的方法所最终达到的流量控制结果与静 态最优解是一致的, 本实施例的方法是有效的: The following is a simulation example to illustrate the flow control result and static result finally achieved by the method of this embodiment. The state optimal solution is consistent, and the method of this embodiment is effective:
参见图 4, 图 4为本发明网络优化流量控制方法实施例二中的仿真实例 拓朴图。 该 分别为 Source 1、 Source2、 Source3 和 Source4, 每一数据源节点连接一条子数据流传输路径; 其中, Source 1所 连接的子数据流传输路径上包括三段链路, 该三段链路为 Linkl、 Link2和 Link3。 假设上述三段链路的容量均为 c。 = 10000; 该容量为路由器节点之间的 最大传输速率, 是归一化的容量, 单位例如可以为 kb。  Referring to FIG. 4, FIG. 4 is a topological diagram of a simulation example in Embodiment 2 of a network optimization flow control method according to the present invention. The source data node is connected to a sub-stream transmission path, and the sub-data stream transmission path connected to the source 1 includes a three-segment link, and the three-segment link is a source link, a source link, and a source node. Linkl, Link2 and Link3. Assume that the capacity of the above three links is c. = 10000; This capacity is the maximum transmission rate between router nodes and is the normalized capacity, which can be, for example, kb.
若按照静态方式求解, 该网络的静态最优解如下:  If solved in a static manner, the static optimal solution of the network is as follows:
Figure imgf000015_0001
其中, 表示网络中四条子数据流传输路径的流量分配情况, 例如, 本实施例中表示四条子数据流传输路径上的流量应各自为链路容量 C。的 1/3 , y 表示三段链路的链路利用率情况, 例如, 本实施例中的 Linkl、 Link2 和 Link3的利用率分别为 2/3*C。、 C。和 C0
Figure imgf000015_0001
The traffic distribution on the four sub-stream transmission paths in the network is represented. For example, the traffic on the four sub-stream transmission paths in the embodiment should be the link capacity C. 1/3, y represents the link utilization of the three-segment link. For example, the utilization rates of Linkl, Link2, and Link3 in this embodiment are 2/3*C, respectively. , C. And C 0 .
采用本实施例中的动态求解方式计算优化流量, 例如, 殳链路的效用 函数 为指数函数, 则对应的公式(2 )为 ' = Mwexp( )_ '] , 试探因子 的
Figure imgf000015_0002
The dynamic solution method in this embodiment is used to calculate the optimized flow. For example, if the utility function of the 殳 link is an exponential function, the corresponding formula (2) is ' = Mwexp ( ) _ ' ] , the test factor
Figure imgf000015_0002
取值参照公式(3 ) , 链路价格公式为 cj, 数据源节点获得的链路聚合价 格为 = ^^ , 得到的计算结果可以参见图 5和图 6。 其中, 本实施例中为 了便于说明, 简化了效用函数的设计, 采用效用函数
Figure imgf000015_0003
直接作为价格的 计算公式; 是效用函数的一种较为简单的实现形式, 还可以是其他的 幂函数等函数形式。 图 5为本发明网络优化流量控制方法实施例二中的指数函数求解得到的 流量状态变化图, 图 6为本发明网络优化流量控制方法实施例二中的指数函 数求解得到的链路利用率状态变化图。 由图 5可以得到, 最终图 4所示的网 络中的四个数据源节点的数据包发送率平均都为 1/3*C。, 即相当于子数据流 传输路径的流量为 1/3*C。, 与静态最优解中的 x* 是一致的; 由图 6可以 得到, 最终图 4所示的网络中的三段链路的利用率两个均为 Co, 另一个为
The value refers to formula (3), the link price formula is c j , and the link aggregation price obtained by the data source node is = ^^. The calculated result can be seen in Figure 5 and Figure 6. In this embodiment, for convenience of description, the design of the utility function is simplified, and the utility function is adopted.
Figure imgf000015_0003
Directly as a price The calculation formula is a relatively simple implementation form of the utility function, and can also be other power functions and other functional forms. 5 is a flow state change diagram obtained by solving an exponential function in the second embodiment of the network optimization flow control method according to the present invention, and FIG. 6 is a link utilization state obtained by solving the exponential function in the second embodiment of the network optimized flow control method of the present invention. Change chart. As can be seen from FIG. 5, the data transmission rate of the four data source nodes in the network shown in FIG. 4 is 1/3*C on average. , that is, the traffic equivalent to the sub-stream transmission path is 1/3*C. It is consistent with x * in the static optimal solution; as can be seen from Figure 6, the utilization of the three-segment link in the network shown in Figure 4 is both Co and the other is
2/3*C。, 与静态最优解中的 一致。 而且, 由图 5和图 6也可以看出, 流 量和利用率在由初始值到最终优化值是一个动态自适应逼近的过程, 而且在 平衡点附近做小幅震荡直至达到平衡状态。 再例如, 假设链路的效用函数 为幂函数, 则对应的公式(2 ) 为 2/3*C. , consistent with the static optimal solution. Moreover, as can be seen from Figures 5 and 6, the flow and utilization are a process of dynamic adaptive approximation from the initial value to the final optimized value, and a small oscillation near the equilibrium point until equilibrium is reached. For another example, suppose the utility function of the link is a power function, and the corresponding formula (2) is
• P =— x' = k[w - 2-χ'] , 试探因子 的取值参照公式(3 ) , 链路价格公式为 J CJ , 数据源节点获得的链路聚合价格为 = ¾^ , 得到的计算结果可以参见图 7 和图 8。 图 7为本发明网络优化流量控制方法实施例二中的幂函数求解得到 的流量状态变化图, 图 8为本发明网络优化流量控制方法实施例二中的幂函 数求解得到的链路利用率状态变化图。 得到的结果与图 5和图 6是一致的, 也与静态最优解一致, 只是动态逼近的过程不同。 • P =— x ' = k[w - 2 - χ ' ] , the value of the probe factor is given by formula (3), the link price formula is JC J , and the link aggregation price obtained by the data source node is = 3⁄4^ The calculation results obtained can be seen in Figure 7 and Figure 8. 7 is a flow state change diagram obtained by solving a power function in the second embodiment of the network optimized flow control method according to the present invention, and FIG. 8 is a link utilization state obtained by solving a power function in the second embodiment of the network optimized flow control method according to the present invention; Change chart. The results obtained are consistent with those of Figures 5 and 6, and are also consistent with the static optimal solution, but the process of dynamic approximation is different.
本实施例的网络优化流量控制方法, 通过将网络优化中的流量计算分解 到网络中的各个节点和链路上分别实现, 解决了网络优化流量计算信息需求 量大的问题, 大大缩减了计算量, 提高了网络优化的实时性。 实施例三 图 9为本发明网络优化流量控制装置实施例一的结构示意图, 本实施例 的网络优化流量控制装置可以为本发明任意实施例中所述的数据源节点, 可 以执行本发明任意实施例中所述的网络优化流量控制方法。 本实施例简单介绍该装置的结构, 具体的各模块功能与执行原理可以参 见方法实施例所述。 如图 9所示, 该装置可以包括初始加载模块 91、 反馈接 收模块 92和流量调节模块 93。 其中, 初始加载模块 91可以根据网络拓朴信息, 得到数据源节点至服务 器节点之间的子数据流传输路径, 并在所述子数据流传输路径上加载第一数 据流流量; 一条所述子数据流传输路径包括若干所述链路; 反馈接收模块 92可以接收所述路由器节点反馈的所述子数据流传输路 径的链路聚合价格, 所述链路聚合价格由所述路由器节点将所述子数据流传 输路径中的若干的链路价格聚合得到; 流量调节模块 93可以根据所述链路聚合价格,以及所述服务器节点的服 务器权重, 得到第二数据流流量, 并将所述第二数据流流量替换所述第一数 据流流量加载至所述子数据流传输路径。 本实施例的网络优化流量控制装置, 通过设置初始加载模块、 反馈接收 模块和流量调节模块, 将网络优化中的流量计算分解到网络中的各个节点和 链路上分别实现, 解决了网络优化流量计算信息需求量大的问题, 大大缩减 了计算量, 提高了网络优化的实时性。 The network optimization flow control method of the embodiment is implemented by decomposing the traffic calculation in the network optimization into each node and the link in the network, thereby solving the problem that the network optimization traffic calculation information demand is large, and the calculation amount is greatly reduced. , improve the real-time performance of network optimization. Embodiment 3 FIG. 9 is a schematic structural diagram of Embodiment 1 of a network optimization flow control apparatus according to the present invention. The network optimization flow control apparatus of this embodiment may be a data source node according to any embodiment of the present invention, and may perform any implementation of the present invention. The network optimized flow control method described in the example. This embodiment briefly describes the structure of the device. For the specific function and execution principle of each module, refer to the method embodiment. As shown in FIG. 9, the apparatus may include an initial loading module 91, a feedback receiving module 92, and a flow conditioning module 93. The initial loading module 91 may obtain a sub-data stream transmission path between the data source node and the server node according to the network topology information, and load the first data stream traffic on the sub-data stream transmission path; The data stream transmission path includes a plurality of the links; the feedback receiving module 92 may receive a link aggregation price of the sub-data stream transmission path fed back by the router node, where the link aggregation price is determined by the router node a plurality of link price aggregations in the sub-streaming transmission path are obtained; the traffic adjustment module 93 can obtain the second data stream traffic according to the link aggregation price and the server weight of the server node, and the second data flow rate The data stream traffic replaces the first data stream traffic to the sub-data stream transmission path. The network optimization flow control device of the embodiment, by setting an initial loading module, a feedback receiving module, and a traffic adjusting module, respectively decomposes the traffic calculation in the network optimization into each node and link in the network, and solves the network optimization traffic. Calculating the problem of large amount of information demand greatly reduces the amount of calculation and improves the real-time performance of network optimization.
实施例四 图 10为本发明网络优化流量控制装置实施例二的结构示意图,本实施例 对装置实施例一中的结构进行了细化, 具体的各模块和单元的功能与执行原 理可以参见方法实施例所述。 如图 10所示, 该装置中, 初始加载模块 91可以包括第一加载单元 911和 /或第二加载单元 912。其 中, 第一加载单元 911可以将所述第一数据流流量加载至所述 MPLS管道, 所述子数据流传输路径为 MPLS管道; 第二加载单元 912可以在所述第一数 据流流量对应的数据包中添加路径标记, 以使得所述路由器节点根据所述路 径标记, 将所述第一数据流流量加载至所述子数据流传输路径上。 其中, 上述的 "第一加载单元 911和 /或第二加载单元 912" 中的 "和 /或,, 指的是, 该网络优化流量控制装置可以同时具有第一加载单元 911和第二加 载单元 912, 即同时具有对应的两种功能; 或者, 也可以只具有第一加载单 元 911和第二加载单元 912中的其中一个, 即只具有其中一种功能。 进一步的, 本实施例的装置还可以包括权重计算模块 94, 该权重计算模 块 94可以接收所述服务器节点发送的服务器性能信息,并根据所述服务器性 能信息得到所述服务器节点的服务器权重。 本实施例的网络优化流量控制装置, 通过设置初始加载模块、 反馈接收 模块和流量调节模块, 将网络优化中的流量计算分解到网络中的各个节点和 链路上分别实现, 解决了网络优化流量计算信息需求量大的问题, 大大缩减 了计算量, 提高了网络优化的实时性。 Embodiment 4 FIG. 10 is a schematic structural diagram of Embodiment 2 of a network optimization flow control apparatus according to the present invention. This embodiment refines the structure in Embodiment 1 of the apparatus. For the functions and execution principles of each module and unit, refer to the method. As described in the examples. As shown in Figure 10, in the device, The initial loading module 91 can include a first loading unit 911 and/or a second loading unit 912. The first loading unit 911 can load the first data stream traffic to the MPLS pipe, and the sub data stream transmission path is an MPLS pipe. The second loading unit 912 can correspond to the first data stream traffic. A path marker is added to the data packet to cause the router node to load the first data stream traffic onto the sub-data stream transmission path according to the path label. Wherein, in the above-mentioned "first loading unit 911 and/or second loading unit 912", "and/or" means that the network optimization flow control device can have both the first loading unit 911 and the second loading unit. 912, that is, having two corresponding functions at the same time; or, there may be only one of the first loading unit 911 and the second loading unit 912, that is, having only one of the functions. Further, the device of the embodiment further The weight calculation module 94 may include a server performance information sent by the server node, and obtain a server weight of the server node according to the server performance information. The network optimization flow control device of the embodiment, By setting the initial loading module, the feedback receiving module and the traffic conditioning module, the traffic calculation in the network optimization is decomposed into the nodes and links in the network respectively, which solves the problem that the network optimization traffic calculation information demand is large, and is greatly reduced. The amount of calculation increases the real-time performance of network optimization.
实施例五 图 11为本发明网络优化流量控制系统实施例的结构示意图,本实施例的 系统可以执行本发明任意实施例的网络优化流量控制方法, 具体的其中各模 块和单元的功能与执行原理可以参见方法实施例所述。 如图 11所示, 本实施例的系统可以包括数据源节点 1101、 服务器节点 1102和路由节点 1103 , 两个相邻的路由器节点之间为一条链路, 且所述两个 相邻的路由器节点组成链路控制模块; 其中, 数据源节点相当于本发明实施 例中所述的网络优化流量控制装置。 其中, 所述数据源节点 1101 , 用于根据网络拓朴信息, 得到所述数据源 节点至所述服务器节点之间的子数据流传输路径, 并在所述子数据流传输路 径上加载第一数据流流量; 一条所述子数据流传输路径包括若干所述链路; 所述路由器节点 1103 , 用于将所述链路上的第一数据流流量聚合成链路 流量, 所述链路控制模块根据所述链路流量得到所述链路的链路价格; 将所 述子数据流传输路径中的若干链路的链路价格聚合得到链路聚合价格, 并将 所述链路聚合价格反馈至所述数据源节点; 所述数据源节点 1101 ,还用于根据所述路由器节点反馈的链路聚合价格, 以及所述服务器节点的服务器权重, 得到第二数据流流量, 并将所述第二数 据流流量替换所述第一数据流流量加载至所述子数据流传输路径。 本实施例的网络优化流量控制系统, 通过将网络优化中的流量计算分解 到网络中的各个节点和链路上分别实现, 解决了网络优化流量计算信息需求 量大的问题, 大大缩减了计算量, 提高了网络优化的实时性。 本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 存储介质包括: ROM, RAM,磁碟或者光盘等各种可以存储程序代码的介质。 最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或 者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技 术方案的本质脱离本发明各实施例技术方案的精神和范围。 Embodiment 5 FIG. 11 is a schematic structural diagram of an embodiment of a network optimization flow control system according to the present invention. The system in this embodiment may perform a network optimization flow control method according to any embodiment of the present invention, and specifically, functions and execution principles of each module and unit. See the method embodiments for description. As shown in FIG. 11, the system of this embodiment may include a data source node 1101, a server node 1102, and a routing node 1103. The two adjacent router nodes are a link between the two adjacent router nodes. The data source node is equivalent to the network optimized flow control device described in the embodiment of the present invention. The data source node 1101 is configured to obtain, according to the network topology information, a sub-data stream transmission path between the data source node and the server node, and load the first on the sub-data stream transmission path. a data stream traffic; one of the sub-data stream transmission paths includes a plurality of the links; the router node 1103, configured to aggregate traffic of the first data stream on the link into link traffic, where the link control The module obtains a link price of the link according to the link traffic; aggregates link price of several links in the sub-stream transmission path to obtain a link aggregation price, and aggregates the link price feedback The data source node 1101 is further configured to obtain a second data flow according to a link aggregation price fed back by the router node and a server weight of the server node, and obtain the second data flow The second data stream traffic replaces the first data stream traffic to the sub-data stream transmission path. The network optimization flow control system of the embodiment is respectively implemented by decomposing the traffic calculation in the network optimization into each node and the link in the network, thereby solving the problem that the network optimization traffic calculation information demand is large, and the calculation amount is greatly reduced. , improve the real-time performance of network optimization. A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The method includes the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk. It should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that: The technical solutions described in the foregoing embodiments are modified, or some of the technical features are equivalently replaced. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 Rights request
1、一种网络优化流量控制方法,其特征在于,所述网络包括数据源节点、 路由器节点和服务器节点, 两个相邻的路由器节点之间为一条链路, 且所述 两个相邻的路由器节点组成链路控制模块; 所述方法包括: 所述数据源节点根据网络拓朴信息 , 得到所述数据源节点至所述服务器 节点之间的子数据流传输路径, 并在所述子数据流传输路径上加载第一数据 流流量; 一条所述子数据流传输路径包括若干所述链路;  A network optimization flow control method, characterized in that the network comprises a data source node, a router node and a server node, wherein two adjacent router nodes are a link, and the two adjacent ones The router node constitutes a link control module; the method includes: the data source node obtaining, according to network topology information, a sub-data stream transmission path between the data source node and the server node, and in the sub-data Loading the first data stream traffic on the streaming path; one of the sub-data stream transmission paths includes a plurality of the links;
所述路由器节点将所述链路上的第一数据流流量聚合成链路流量, 所述 链路控制模块根据所述链路流量得到所述链路的链路价格; 所述路由器节点 将所述子数据流传输路径中的若干链路的链路价格聚合得到链路聚合价格 , 并将所述链路聚合价格反馈至所述数据源节点;  The router node aggregates traffic of the first data stream on the link into link traffic, and the link control module obtains a link price of the link according to the link traffic; Link price aggregation of several links in the sub-data stream transmission path to obtain a link aggregation price, and feedback the link aggregation price to the data source node;
所述数据源节点根据所述链路聚合价格, 以及所述服务器节点的服务器 权重, 得到第二数据流流量, 并将所述第二数据流流量替换所述第一数据流 流量加载至所述子数据流传输路径。  The data source node obtains the second data stream traffic according to the link aggregation price and the server weight of the server node, and loads the second data stream traffic to replace the first data stream traffic to the Substream streaming path.
2、 根据权利要求 1所述的网络优化流量控制方法, 其特征在于, 在所述 子数据流传输路径上加载第一数据流流量, 包括: 所述子数据流传输路径为 MPLS管道, 将所述第一数据流流量加载至所 述 MPLS管道上; 或者, 在所述第一数据流流量对应的数据包中添加路径标记, 以使得所述路由 器节点根据所述路径标记, 将所述第一数据流流量加载至所述子数据流传输 路径上。  The network optimization flow control method according to claim 1, wherein the loading of the first data stream on the sub-stream transmission path comprises: the sub-data stream transmission path being an MPLS pipe, Loading the first data stream traffic onto the MPLS pipe; or adding a path marker to the data packet corresponding to the first data stream traffic, so that the router node marks the first according to the path identifier Data stream traffic is loaded onto the sub-stream stream transmission path.
3、根据权利要求 1所述的网络优化流量控制方法,其特征在于,还包括: 所述数据源节点接收所述服务器节点发送的服务器性能信息, 并根据所 述服务器性能信息得到所述服务器节点的服务器权重。 The network optimization flow control method according to claim 1, further comprising: the data source node receiving server performance information sent by the server node, and obtaining the server node according to the server performance information Server weights.
4、 根据权利要求 1所述的网络优化流量控制方法, 其特征在于, 所述链 路控制模块根据所述链路流量得到所述链路的链路价格, 包括: The network optimization flow control method according to claim 1, wherein the link control module obtains a link price of the link according to the link traffic, and includes:
所述链路控制模块根据所述链路流量得到所述链路的效用函数, 并根据 所述效用函数得到所述链路的链路价格;  The link control module obtains a utility function of the link according to the link traffic, and obtains a link price of the link according to the utility function;
所述效用函数为非线性函数。  The utility function is a non-linear function.
5、 根据权利要求 1所述的网络优化流量控制方法, 其特征在于, 所述效用函数中包括试探因子, 所述试探因子在所述链路聚合价格小于 等于 1时为正常数, 在所述链路聚合价格大于 1时为负常数。  The network optimization flow control method according to claim 1, wherein the utility function includes a heuristic factor, and the heuristic factor is a normal number when the link aggregation price is less than or equal to 1, in the A link aggregation price greater than 1 is a negative constant.
6、 一种网络优化流量控制装置, 其特征在于, 包括: 初始加载模块, 用于根据网络拓朴信息, 得到数据源节点至服务器节点 之间的子数据流传输路径, 并在所述子数据流传输路径上加载第一数据流流 量; 一条所述子数据流传输路径包括若干所述链路;  A network optimization flow control device, comprising: an initial loading module, configured to obtain a sub-data stream transmission path between a data source node and a server node according to network topology information, and in the sub-data Loading the first data stream traffic on the streaming path; one of the sub-data stream transmission paths includes a plurality of the links;
反馈接收模块, 用于接收所述路由器节点反馈的所述子数据流传输路径 的链路聚合价格, 所述链路聚合价格由所述路由器节点将所述子数据流传输 路径中的若干的链路价格聚合得到; 流量调节模块, 用于根据所述链路聚合价格, 以及所述服务器节点的服 务器权重, 得到第二数据流流量, 并将所述第二数据流流量替换所述第一数 据流流量加载至所述子数据流传输路径。  a feedback receiving module, configured to receive a link aggregation price of the sub-data stream transmission path fed back by the router node, where the link aggregation price is a chain of the sub-data stream transmission path by the router node The traffic price adjustment module is configured to: obtain, according to the link aggregation price, the server weight of the server node, the second data flow, and replace the second data flow with the first data Stream traffic is loaded to the sub-data stream transmission path.
7、 根据权利要求 6所述的网络优化流量控制装置, 其特征在于, 所述初 始加载模块包括:  The network optimization flow control device according to claim 6, wherein the initial loading module comprises:
第一加载单元, 用于将所述第一数据流流量加载至所述 MPLS管道, 所 述子数据流传输路径为 MPLS管道; 或者,  a first loading unit, configured to load the first data stream to the MPLS pipe, where the sub-data stream transmission path is an MPLS pipe; or
第二加载单元, 用于在所述第一数据流流量对应的数据包中添加路径标 记, 以使得所述路由器节点根据所述路径标记, 将所述第一数据流流量加载 至所述子数据流传输路径上。 a second loading unit, configured to add a path identifier to the data packet corresponding to the first data flow So that the router node loads the first data stream traffic onto the sub-data stream transmission path according to the path label.
8、根据权利要求 6所述的网络优化流量控制装置,其特征在于,还包括: 权重计算模块, 用于接收所述服务器节点发送的服务器性能信息, 并根 据所述服务器性能信息得到所述服务器节点的服务器权重。 The network optimization flow control device according to claim 6, further comprising: a weight calculation module, configured to receive server performance information sent by the server node, and obtain the server according to the server performance information The server weight of the node.
9、 一种网络优化流量控制系统, 其特征在于, 包括: 数据源节点、 服务 器节点和路由节点, 两个相邻的路由器节点之间为一条链路, 且所述两个相 邻的路由器节点组成链路控制模块; 所述数据源节点, 用于根据网络拓朴信息, 得到所述数据源节点至所述 服务器节点之间的子数据流传输路径, 并在所述子数据流传输路径上加载第 一数据流流量; 一条所述子数据流传输路径包括若干所述链路; 还用于根据所述路由器节点反馈的链路聚合价格, 以及所述服务器节点 的服务器权重, 得到第二数据流流量, 并将所述第二数据流流量替换所述第 一数据流流量加载至所述子数据流传输路径; 所述路由器节点,用于将所述链路上的第一数据流流量聚合成链路流量, 所述链路控制模块根据所述链路流量得到所述链路的链路价格; 将所述子数 据流传输路径中的若干链路的链路价格聚合得到链路聚合价格, 并将所述链 路聚合价格反馈至所述数据源节点。 A network optimization flow control system, comprising: a data source node, a server node, and a routing node, wherein two adjacent router nodes are a link, and the two adjacent router nodes Forming a link control module; the data source node is configured to obtain, according to network topology information, a sub-data stream transmission path between the data source node and the server node, and on the sub-data stream transmission path Loading the first data stream traffic; one of the sub-data stream transmission paths includes a plurality of the links; and further configured to obtain the second data according to the link aggregation price fed back by the router node and the server weight of the server node Flowing traffic, and replacing the first data stream traffic with the first data stream traffic to the sub-data stream transmission path; the router node, configured to aggregate traffic of the first data stream on the link a link traffic, the link control module obtaining a link price of the link according to the link traffic; transmitting the sub data Some price link link path polymerization link aggregation price, and the price of the polymerization feedback link to the data source node.
PCT/CN2011/079827 2011-09-19 2011-09-19 Network optimization traffic control method, device and system WO2012149748A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180001972.7A CN102388585B (en) 2011-09-19 2011-09-19 Network optimization flow control method, device and system
PCT/CN2011/079827 WO2012149748A1 (en) 2011-09-19 2011-09-19 Network optimization traffic control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/079827 WO2012149748A1 (en) 2011-09-19 2011-09-19 Network optimization traffic control method, device and system

Publications (1)

Publication Number Publication Date
WO2012149748A1 true WO2012149748A1 (en) 2012-11-08

Family

ID=45826513

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079827 WO2012149748A1 (en) 2011-09-19 2011-09-19 Network optimization traffic control method, device and system

Country Status (2)

Country Link
CN (1) CN102388585B (en)
WO (1) WO2012149748A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471997A (en) * 2015-12-04 2016-04-06 燕山大学 Method for controlling flow in P2P file sharing network based on price mechanism
CN105721573A (en) * 2016-02-04 2016-06-29 燕山大学 P2P file sharing network bandwidth fairness allocation algorithm based on utility optimization
US9998531B2 (en) 2013-09-18 2018-06-12 International Business Machines Corporation Computer-based, balanced provisioning and optimization of data transfer resources for products and services

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070803A (en) * 2017-01-18 2017-08-18 中国人民解放军信息工程大学 A kind of jamming control method communicated suitable for multi-path network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025628A (en) * 2010-12-07 2011-04-20 北京邮电大学 Distribution method of network flow
CN102136998A (en) * 2010-08-30 2011-07-27 华为技术有限公司 Traffic engineering and server selection joint optimization method, system and related equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3923863B2 (en) * 2002-07-09 2007-06-06 株式会社日立製作所 Request router device
CN101924680B (en) * 2009-06-10 2013-02-20 谢海永 Distributed network flow combined optimization system and method based on feedback

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136998A (en) * 2010-08-30 2011-07-27 华为技术有限公司 Traffic engineering and server selection joint optimization method, system and related equipment
CN102025628A (en) * 2010-12-07 2011-04-20 北京邮电大学 Distribution method of network flow

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JIANG W.: "Cooperative Content Distribution and Traffic Engineering in an ISP Network.", SIGMETRICS/PERFORMANCE'09, 15 June 2009 (2009-06-15), pages 239 - 250 *
XIA, P.: "DISTRIBUTED JOINT OPTIMIZATION OF TRAFFIC ENGINEERING AND SERVER SELECTION", PROCEEDINGS OF 2010 IEEE 18TH INTERNATIONAL PACKET VIDEO WORKSHOP., 13 December 2010 (2010-12-13), pages 86 - 93 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9998531B2 (en) 2013-09-18 2018-06-12 International Business Machines Corporation Computer-based, balanced provisioning and optimization of data transfer resources for products and services
US9998532B2 (en) 2013-09-18 2018-06-12 International Business Machines Corporation Computer-based, balanced provisioning and optimization of data transfer resources for products and services
CN105471997A (en) * 2015-12-04 2016-04-06 燕山大学 Method for controlling flow in P2P file sharing network based on price mechanism
CN105471997B (en) * 2015-12-04 2019-02-22 燕山大学 Method for controlling flow in P2P file sharing network based on price mechanism
CN105721573A (en) * 2016-02-04 2016-06-29 燕山大学 P2P file sharing network bandwidth fairness allocation algorithm based on utility optimization
CN105721573B (en) * 2016-02-04 2019-06-25 燕山大学 P2P file sharing network fair bandwidth sharing method based on optimization utility

Also Published As

Publication number Publication date
CN102388585B (en) 2014-01-08
CN102388585A (en) 2012-03-21

Similar Documents

Publication Publication Date Title
CN106533960B (en) A kind of data center network method for routing based on Fat-Tree structure
CN105471764B (en) A kind of method of end-to-end QoS guarantee in SDN network
CN105897575A (en) Path computing method based on multi-constrained path computing strategy under SDN
JP4357537B2 (en) Distribution route control device
CN108183823B (en) Method for multiplexing and configuring multiple resources in data center network
JPWO2004073269A1 (en) Transmission system, distribution route control device, load information collection device, and distribution route control method
JP2010538581A (en) Method and system for aggregate bandwidth control
WO2012106918A1 (en) Content processing method, device and system
CN103905332B (en) A kind of method and apparatus for determining cache policy
JP2013520137A (en) Rate-variable multicast transmission for clock distribution in packet networks
JP5943431B2 (en) Network, data transfer node, communication method and program
CN109168050B (en) SDN-based video multicast method
WO2012149748A1 (en) Network optimization traffic control method, device and system
Li et al. Rate-selective caching for adaptive streaming over information-centric networks
CN107154897B (en) Isomery stream partition method based on packet scattering in DCN
CN112804151B (en) Data processing method and device and electronic equipment
WO2012155406A1 (en) Method, device and system for service splitting
CN106850422A (en) A kind of route optimal selection method and system based on Router Reflector
Liu et al. Optimal scheduling for multi-flow update in software-defined networks
CN107483355B (en) Data center-oriented online scene low-bandwidth overhead traffic scheduling scheme
Kulakov et al. Load Balancing in Software Defined Networks Using Multipath Routing
WO2024055780A1 (en) Computing power network information announcement and routing decision-making method and apparatus, and medium
CN1819556A (en) Multi-routing broadcasting method with dynamic delay constraining based on minimal generating tree and greedy algorithm
CN107968748A (en) The method and device that a kind of multichannel run-off is sent
CN110324255A (en) A kind of switch/router buffer queue management method of data-oriented central site network coding

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001972.7

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11864884

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11864884

Country of ref document: EP

Kind code of ref document: A1