The invention is explained in further detail, and by way of example, with reference to the accompanying drawings wherein:
Throughout the drawings, the same reference numerals indicate similar or corresponding features or functions. The drawings are included for illustrative purposes and are not intended to limit the scope of the invention.
In the following description, for purposes of explanation rather than limitation, specific details are set forth such as the particular architecture, interfaces, techniques, etc., in order to provide a thorough understanding of the concepts of the invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments, which depart from these specific details. In like manner, the text of this description is directed to the example embodiments as illustrated in the Figures, and is not intended to limit the claimed invention beyond the limits expressly included in the claims. For purposes of simplicity and clarity, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
These link loads can typically be obtained by querying each of the routers for the amount of data being received and/or transmitted during a given period of time. Other methods of determining link loads may be used, including estimating loads based on heuristics, deduced from related data, and so on. For example, if the load on a particular link cannot be measured, it may be estimated based on loads of links providing or receiving traffic to or from this link. Because loads vary with time, the techniques disclosed herein may be repeated at different times to provide data for time-dependent traffic flow determinations; however, for ease of presentation, the invention is described herein using a single set of link loads measured and/or estimated for a particular time period. For ease of reference, the term ‘measured link load’ is defined hereinafter as including both measured and estimated link loads.
As illustrated in
In
A very different traffic flow pattern is illustrated in
A network manager, knowing the characteristics of each node of a network, would be able to identify which of
From a gravity perspective, wherein gravity corresponds to a node's likelihood of generating (sourcing) or terminating (sinking) traffic,
In a typical embodiment of this invention, the user is provided the opportunity to assign a relative gravity to each node of the network, and, based on these assigned gravities and the measured link loads, the system will attempt to estimate the traffic flow between individual nodes consistent with these gravity assignments. For example, in the aforementioned Chicago-New York network example, the network manager would assign node A a high source gravity, nodes B and C very low source and sink gravities, and node D a high sink gravity, based on the knowledge and/or assumption that Chicago is likely to generate a significant amount of traffic, and that New York is likely to be a destination of traffic flowing of the network. Given these gravity assignments, one would expect the determined flow to be similar to the flow illustrated in
The determination of traffic flow between nodes of a network is complicated by the fact that, generally, the information available is incomplete. Except in relatively small networks, the network configuration that is used to analyze a network is rarely a completely accurate representation of the network. Prominent nodes and links will generally be included in the model, but relatively insignificant nodes and spurs may not be included. In like manner, the configuration and other parameters associated with prominent nodes and links may be continually updated, whereas the information associated with insignificant nodes may only be updated at infrequent intervals.
Because of the lack of complete and/or accurate information, the amount of measured traffic flowing on the links may not correspond solely to the traffic flow between the nodes of the modeled network.
In a preferred embodiment of this invention, the user is also provided the option of specifying how much of the measured link loads must be allocated to the determined traffic flows. Generally, this parameter is dependent upon the assumed accuracy of the modeled network. If all of the possible sources and sinks are modeled, and the link loads are assumed to be accurate, then all of the link loads should be allocatable to the sources and sinks. If, on the other hand, a degree of error is assumed, the user may be satisfied with an allocation of, for example, ninety percent of the link loads to the sources and sinks.
As noted above, the gravity measures associated with each node are estimates of each node's likelihood of sourcing or sinking traffic. These estimates may be based, for example, on the demographics of the area served by the node, including the number of people served, types of businesses served, and so on. Alternatively, or additionally, the estimates may be based on prior flow estimates and/or parameters that are typically correlated with traffic flow, such as network interface bandwidths, link bandwidths, link loads, including link load gradients at each node, and so on.
In a preferred embodiment of this invention, because the gravity measures are generally heuristic estimates, rather than absolutes, the gravity measures are used to guide and/or influence the determination of traffic flows to generally conform to these gravity measures, rather than forcing the traffic flows to conform to these measures. To effect this guidance/influence, the gravity measures are used to define an objective function in a system of linear equations. This objective function is constructed to allocate the link loads among the possible traffic flows while minimizing the difference between the assigned gravity measures and the resultant gravity measures based on the allocated traffic flows.
At 210, the network topology is determined, to define the nodes and links that form the network. This may be a manual or automated process, and is often the combination of both. Optionally, for example, the network can be queried to identify each router in the network and its corresponding routing table and other parameters, from which the topology can be deduced. These same routers may subsequently be queried to determine the cumulative load on each of the links. In this example, each router is considered a node of the network. The local devices that are supported by a router, typically coupled by a subnetwork of the router, form the sinks and sources of traffic flow from and to the router.
To facilitate the assignment of gravity measures to the nodes, nodes that do not support local subnetworks are identified and marked as having no likelihood of sourcing or sinking traffic flow. In like manner, sink-only nodes, such as a router that couples network traffic to a bank of printers, are identified as having little or no likelihood of sourcing traffic, and source-only nodes, such as a router that supports data collection devices, are identified as having little or no likelihood of sinking traffic. As noted, this classification of nodes may be performed manually, automatically, or as a combination of both.
At 220, the link loads are measured or otherwise determined for each link in the network. Generally, this is an automated process, wherein each node is queried to report its load over a given time interval, using conventional network management tools, such as SNMP, MRTG, CA ehealth, InfoVista, HP Openview, and so on. If the load cannot be measured directly, or if the load is hypothetical, such an estimated load in a “what-if?” scenario, the user is provided the option of entering the estimated load directly, including replacing the measured load.
At 230, the link loads are used to define linear equations that constrain the subsequent allocation and optimization task. Referring to
Link 1, between A and B, must pass all of the traffic between A and B, and its share of the traffic from A to D. Generally, the split of traffic among the different paths between two nodes will be dependent upon the ‘metrics’ associated with each path, and can be estimated using conventional tools of the art. In this example, because the path from A to D via either B or C is of equal length (two hops), the traffic from A to D will be assumed to split equally over the link 1 to link 2 path (A to B to C) and the link 3 to link 4 path (A to C to D). Therefore, Link 1 will carry all of the traffic from A to B, and half of the traffic from A to D. In like manner, Link 2 will carry half of the traffic from A to D, and all of the traffic from B to D; and so on for the other links 3 and 4. Using the terms L1, L2, L3, L4 to represent the corresponding link loads, the above relationships can be expressed as:
L1>=1.0*fAB+0.0*fAC+0.5*fAD+0.0*fBD+0.0*fCD;
L2>=0.0*fAB+0.0*fAC+0.5*fAD+1.0*fBD+0.0*fCD;
L3>=0.0*fAB+1.0*fAC+0.5*fAD+0.0*fBD+0.0*fCD; and
L4>=0.0*fAB+0.0*fAC+0.5*fAD+0.0*fBD+1.0*fCD.
At 240, gravity measures are assigned to each node. As discussed above, these measures are typically assigned manually, based on demographics or other factors that would suggest the relative likelihoods of each node being a source or sink of traffic. In a preferred embodiment, the user is provided the option of specifying relative gravity measures, or gravity weights, to each node, and the system is configured to assign gravity measures to each node that the user omits. Any of a variety of techniques can be used for generating gravity measures for omitted nodes. For example, in a straightforward embodiment, the user may identify each node having high or low gravities, and the system may assign an average gravity to the remainder; or, the user may identify only the high gravity nodes, and the system may assign low gravity to the remainder. In another embodiment, the system may assign gravities based on other factors, such as link loads at the node, differential link loads at the node, prior traffic flows, and so on. In a more complex embodiment, the system may include an expert system or a learning system that is configured to deduce an appropriate assignment of gravity based on correlations or patterns of prior user assignments.
At 250, these measures are used to define objective functions for solving the system of linear equations that include the above link load constraints. Two sets of equations are provided, one set that addresses the source of traffic flows, and another set that addresses the sink of traffic flows. Given a relative source (originating) gravity goi associated with each nodei, a normalized source gravity constant Koi, a proportion between 0 and 1, can be defined as:
In the ideal case, the amount of traffic sourced from each nodei should be proportional to this normalized source gravity constant:
where Toi is the total traffic sourced from nodei, S is the set of all nodes, Oi is the set of flows originating from nodei, and fo is the particular traffic flow. For example, the set of flows originating from node A is the flow from A to B (fAB), A to C (fAC), and A to D (fAD); the set of flows originating from node B is the single flow from B to D (fBD); and the set of flows originating from node C is the single flow from C to D (fCD).
The above ideal relation between the normalized source gravity and the flows for each node can be rewritten as:
As noted above, this equation represents the ideal case wherein the allocation of flows corresponds exactly to the gravity measure for the given nodei. Any difference from zero in the left side of the above equation corresponds to a difference between the allocation of flows and the ideal allocation. Thus, an objective function can be stated as:
which, in the form of a set of linear equations can be stated as:
In like manner, defining Kei as the normalized sink (ending) gravity, and Ei as the set of flows that are sunk (end) at each nodei, a corresponding set of objective functions can be stated as:
For example, the set of ending flows for node B is the single flow from A to B (fAB); the set of ending flows for node C is the single flow from A to C (fAC); and the set of ending flows for node D is the flow from A to D (fAD), the flow from B to D (fBD), and the flow from C to D (fCD).
At 260, other constraints and/or objective functions may be added. As noted above, in the ideal case all of the link loads will be allocated among the defined flows; however, because the link loads may include traffic from undefined nodes, the allocation may not be totally efficient. In an example embodiment, the user is provided an option of specifying how much of the link load must be allocated to the defined flows. The user specifies a proportion, c, of the total load that must be allocated, and this proportion is used to define a corresponding allocation efficiency constraint:
1.0*fAB+1.0*fAC2.0*fAD+1.0*fBD+1.0*fCD≧c*ΣLoads.
The left side of the equation is the total flow; the factor of 2.0 for the flow from A to D is due to the fact that the flow appears on two links between A and D (regardless of the path used). That is, the link load produced by a given flow is equal to the amount of flow multiplied by the number of hops.
One of skill in the art will recognize that additional constraints and/or objectives can be added as desired. For example, if it is likely that at least half the flow from node A will be destined for node D, the following example constraint can be added:
1.0*fAD−(1.0*fAB+1.0*fAC)≧0.
Care should be taken to avoid constraints that overconstrain the system such that no feasible solution can be found. In a preferred embodiment, if a solution is not found after some maximum reasonable limit, the system will prompt the user to eliminate or reduce these additional constraints. Alternatively, the system may be configured to avoid such overconstraints where feasible. For example, in the above allocation-efficiency constraint situation, the system may be configured to first determine a maximum allocation-efficiency without consideration of gravity measures. Thereafter, when a user specifies an acceptable conversion efficiency as a proportion, c, the proportion is considered to be relative to the maximum achievable allocation efficiency, and not relative to an unachievable ideal allocation. That is, if the maximum achievable allocation efficiency is 90 percent of the total load, and the user identifies an acceptable proportion of 80 percent [of the maximum achievable efficiency], the constraint will be structured to assure that the solution achieves at least 72 percent of the total load (0.80*0.90*Sum(Loads)).
The following table illustrates the coefficients of the system of linear equations corresponding to the above link constraints, flow allocation objectives, and allocation efficiency constraints.
The first five columns correspond to each of the flows, whereas the remaining columns correspond to the differences between the assigned gravity and determined flows that are to be minimized. Typically, there would be two columns corresponding to each node, for each of the source and sink flows; in this uni-directional example, however, node A does not have a sink flow, and node D does not have a source flow.
At 270, the set of linear equations is solved, using conventional linear programming techniques. Given an assumption that each of the nodes have equal gravities (K..=0.25), solving the above set of example linear equations will result in allocated traffic flows as illustrated in
At 280, the determined traffic flows are presented to the user, preferably in graphic form to facilitate visualization of the traffic flow between nodes, as discussed further below.
One of skill in the art will recognize that the link load constraints would typically include loads in each direction between the nodes, and corresponding additional traffic flows (D to C, B, and A; B and C to A). The allocation of link load to each of the traffic flows is determined by adding the additional link load constraints and the objective function equations 2a, 2b, 3a, and 3b for these additional traffic flows to the above set of linear equations, and solving the equation subject to these constraints so as to minimize the cumulative difference between the assigned gravities for each node and the resultant gravities corresponding to the determined traffic flows.
In a preferred embodiment, the aforementioned cumulative difference is provided to the user as a qualitative ‘score’ of the correspondence between the assigned gravities and the determined flows. That is, as indicated by equation (1), above, if the allocation is perfect, the ratio of a node's source (or sink) gravity (gi) to the total of all source (or sink) gravities should equal the ratio of the sum of flows (foi, fei) originating (or ending) at the nodei to the total of flows originating (or ending) at all nodes, which equals the assigned gravity factor (Koi, Kei) for the node. For ease of reference, the ratio of the sum of flows (foi, fei) originating (or ending) at the nodei to the total of flows originating (or ending) at all nodes is hereinafter termed the ‘determined’ gravity, or gravity from the determined flow.
In an example embodiment, each node's gravity score is based on the Euclidean distance between the specified sink and source gravities and the determined sink and source gravities at the node. The overall gravity score is based on a sum-of-squares of each node's gravity scores. In this example embodiment, a lower gravity score indicates a closer correspondence between the specified and determined gravities, although an inverse of such a score could be used to associate a higher score with a higher correspondence.
In a preferred embodiment, the user is provided the option of adding or modifying constraints or objectives, by looping, at 285, back to 260, refining the gravity estimates, by looping back to 240, and/or, if the measured loads had been estimated, by looping back to 220.
The aforementioned gravity ‘score’ serves a variety of purposes. Preferably, the score is normalized, for example to a range of 0 to 100, so that the scores achieved for different networks, or for different sets of constraints and objectives, can be compared. Additionally, by providing a normalized score, the user is provided a quantitative measure that indicates whether the achieved solution is “close enough” to a perfect correspondence between the specified and determined gravities, or whether additional effort should be devoted to improving the correspondence.
Generally, the aforementioned allocation efficiency and the above gravity score are inversely related to each other, and the solution will involve a tradeoff between the two. That is, if the user is willing to accept a lower allocation efficiency, the correspondence between specified and determined gravities is likely to be higher; if the user is willing to accept a lesser correspondence between the specified and determined gravities, a higher allocation efficiency can generally be achieved. By preferably providing a normalized gravity score and an allocation efficiency that is relative to a maximum achievable efficiency, the user is given measures that facilitate an assessment of the tradeoffs involved in deriving the solution.
In the network of
When the user is satisfied with the determined traffic flows, the flows are preferably saved for use by other network analysis tools, such as a flow analyzer, a network simulator, and the like, at 290.
In a preferred embodiment of this invention, graphic characteristics are used to convey the information, to facilitate a visualization of the network and the determined traffic flows. For example, as noted above, the nodes of the network may be classified based on their source and sink capabilities. Different icons are preferably used to each class of nodes, such as example icons 301, 302, 303, and 304, which each illustrate a different combination of flows into each node from the sub-network supported by the node and out from each node into the supported subnetwork by arrows at the bottom of each icon. An arrow at the bottom on a node icon that indicates traffic flowing into the node (from its subnetwork components) indicates source traffic that correspondingly flows into the network; an arrow at the bottom of the node that indicates traffic flowing out from the node (to its subnetwork components) indicates sink traffic that correspondingly flows out from the network. In
The links between nodes are illustrated as lines between the nodes, and the width of the line is preferably based on the amount of traffic on the link, or based on the amount of unallocated link load, or other characteristics of the link. Optionally, the amount of right-to-left and left-to-right traffic, or unallocated traffic, can be presented in text boxes on each line, as illustrated, or displayed in a ‘tool-tip’ that is displayed when the link is selected, or as the mouse pointer overlays the link. Similarly, a detailed text block can be provided that displays the individual determined traffic flows on the selected link, as well as other parameters associated with the link, such as its bandwidth, data rate, ports used, and so on. Depending upon the information provided, the text boxes may be interactive, and coupled to the graphics display. For example, in a preferred embodiment, the path from the source node to the destination node corresponding to each traffic flow is graphically illustrated upon selection of the particular flow entry in the text box, using highlighting and other graphic techniques common in the art.
Colors are preferably also used to indicate the results of the allocation of traffic flows. A color, such as green, may be used to indicate a close correspondence between the determined flows and the assigned gravity measures, while another color, such as red, can be used to indicate a lack of correspondence. Such a color scheme can be used to indicate correspondences at each of the links and at each node. That is, when the user specifies an allocation efficiency below 100%, the inefficiency is typically not uniformly distributed among the links. If the load on a particular link is not sufficiently allocated among the traffic flows, the line representing the link is appropriately colored to indicate this sub-allocation. The threshold for identifying a sub-allocation may be fixed or variable, such as a percent deviation from the average allocation of the other links. Alternatively, different colors or hues may be associated with different ranges of allocation efficiency. In like manner, each node may be colored based on the difference between the measured source and sink flows at the node and the flows expected based on its assigned gravity.
One of skill in the art will recognize that various combinations of line widths, colors, and other graphic features can be used to represent different combinations of parameters associated with the links and nodes. For example, the width of the link may be based on the amount of unallocated load, while the color may represent the proportion of the total load that is unallocated. Depending upon the parameter being displayed, the selected color or width may be based on a peak value, an average value, a variance, and so on.
A loads-to-flow converter element 440 is configured to obtain the link loads and the gravity measures. As discussed above, the gravity measures are typically provided via a user interface 430, and the loads-to-flow converter 440 may be configured to provide gravity measures for nodes that the user omits. The converter 440 processes the assigned gravity measures to determine an assigned gravity factor K, or other normalized factor, for the cumulative source and sink flows at each node. Using the relationships/connectivity among the nodes and links, which can be determined from a network model 450, or directly via the user interface 430, the converter 440 provides the parameters of the constraints and objective function to a form a system of linear equations 460. As discussed above, the converter 440 allows the user to add other constraints and objective functions to this linear system 460.
A linear programming system 470 solves the set of linear equations subject to the constraints imposed by the link loads and other factors, while optimizing the allocation of traffic flows between nodes to minimize a difference between the assigned gravity factor and the gravity factor provided by the determined traffic flows. The loads-to-flow converter 440 provides the determined solution via the user interface 430, preferably in graphic form to facilitate visualization of the traffic flow within the modeled network. Optionally, the user may modify any of the aforementioned input items and re-run the conversion/allocation process. Upon completion, the converter stores the determined traffic flows 480, and optionally, any data related to these flows, such as the constraints and objectives applied, for use by other network analysis tools.
The foregoing merely illustrates the principles of the invention. It will thus be appreciated that those skilled in the art will be able to devise various arrangements which, although not explicitly described or shown herein, embody the principles of the invention and are thus within the spirit and scope of the following claims.
In interpreting these claims, it should be understood that:
a) the word “comprising” does not exclude the presence of other elements or acts than those listed in a given claim;
b) the word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements;
c) any reference signs in the claims do not limit their scope;
d) several “means” may be represented by the same item or hardware or software implemented structure or function;
e) each of the disclosed elements may be comprised of hardware portions (e.g., including discrete and integrated electronic circuitry), software portions (e.g., computer programming), and any combination thereof,
f) hardware portions may be comprised of one or both of analog and digital portions;
g) any of the disclosed devices or portions thereof may be combined together or separated into further portions unless specifically stated otherwise;
h) no specific sequence of acts is intended to be required unless specifically indicated; and
i) the term “plurality of” an element includes two or more of the claimed element, and does not imply any particular range of number of elements; that is, a plurality of elements can be as few as two elements, and can include an immeasurable number of elements.
This application claims the benefit of U.S. Provisional Patent Application 60/803759, filed Jun. 2, 2006.
Number | Date | Country | |
---|---|---|---|
60803759 | Jun 2006 | US |