The present invention concerns a method of routing in a private network in which at least some links employ compression.
The invention concerns private telecommunication networks. Such networks are made up of communication nodes interconnected by links carrying calls and/or signaling. It applies equally to private networks made up of dedicated links (physical private networks), virtual private networks and hybrid networks combining these two solutions. In the remainder of the description, the invention is described with reference to one example of a private network with signaling, but it applies more generally to other private networks.
In such networks, compressing the signal transmitted on some links is known in itself. This can be the case in particular on links that have only one channel, to enable the routing of a greater number of calls. Compression can have the drawback of causing a loss of quality and, sometimes, of increasing transit time because of the time needed for compression and decompression. A large number of compressions and decompressions can cause echoes and attenuation.
Some prior art routing methods are unaware of the number of compressions and decompressions and accept deterioration of call quality if the number is high. In some instances quality is degraded. Other routing methods use a static routing table, in which the number of compressions and decompressions is limited. This solution has limitations and the private network cannot be exploited to the full using that solution. A final solution is to use the configuration facility to limit the number of transit nodes and therefore the number of compressions and decompressions; that solution is not applicable in all private networks and limits their configurations.
The problem of overflow also occurs in private networks, i.e. the problem of a call request that cannot be satisfied by the network because its resources are congested. This can happen if the private links of the private network are of fixed capacity, rather than of a capacity that is allocated dynamically and which is less than the maximum volume of traffic. Completing the corresponding call by way of the public network or some other external network is known in itself. In other words, if a user at a first node of the private network wishes to call a user at a second node, and if at least one link of the private network is congested so the call cannot be completed, the call is completed directly from the first node to the second node via some external network—typically the public network.
This solution gives rise to the following problems. Firstly, using the public network incurs a cost; secondly, it is not certain that there is a public network access circuit group for all the nodes. Moreover, from the economic point of view, that solution is not very cost effective, and it does not exploit the resources of the private network to the full.
The invention proposes a solution to these problems; it manages overflows out of the private network in a way that minimizes the cost of access to the public network and maximizes the use of resources within the private network. It applies not only to overflows to the public network, but more generally to overflows to any type of network external to the private network: public switched network, public land or satellite mobile network, another private network, etc.
The Dijkstra algorithm is described in the literature on algorithms and it calculates the shortest path between two nodes in a graph. The algorithm operates as follows: it considers a graph G with N nodes, and which is valued, i.e. each existing path of the graph between two nodes i and j is given a value or weight I(i, j). It considers an outgoing node s of the graph G and an incoming node d; it seeks a path minimizing π(s, d), the distance from s to d, i.e. the sum of the values of the connections connecting s to d. {overscore (S)} is the subgraph of G made up of the nodes x for which the minimum path to s is known, and {overscore (S)} is its complement. Γi is the set of nodes adjoining a given node i.
Initially the subgraph {overscore (S)} contains only the node s, and {overscore (S)} contains all the other nodes, with the following initial values given thereto:
An iteration of the algorithm is effected in the following manner.
If {overscore (S)} is empty, or if it contains only nodes i with π(s, i)=∞, the algorithm has finished.
Otherwise, the node n of {overscore (S)} is considered which is nearest the source node, i.e. the node which minimizes π(s, i), i ε {overscore (S)}; this node is taken from {overscore (S)} and placed in S.
The nodes adjacent this node n are then considered and the algorithm calculates
If this quantity is less than π(s, j), then π(s, j) is updated:
π(s, j)=l(s, n)+l(n, j)
This operation is carried out for all the nodes of Γn, after which {overscore (S)} is reordered.
In this way, all the nodes of the graph are progressively added to S, in order of increasing path length. To find a path to a given node d, the algorithm can be interrupted before it finishes, once the destination node has been added to the subgraph S.
The validity of the algorithm is demonstrated by the following reduction ad absurdum argument. Consider the node n nearest {overscore (S)} which must be added to S. If there is a nearer path, that path starts from s and arrives at n and has a first node m in {overscore (S)}. Then:
π(s, m)<p (s, n)
The invention proposes a solution to the problem of routing in private networks using compression of signals on some links, which preserves call quality, combined with good exploitation of the capacities of the network. It also satisfies other constraints and manages overflows to other networks, for example.
It is clear that this problem is a serious technical problem and that the claimed method constitutes a technical solution to a technical problem from this point of view, even if it does use an algorithm.
To be more precise, the invention proposes a method of routing between a source node (s) and a destination node (d) in a network having nodes interconnected by links, compression being used on at least one of said links, the method comprising at least two routing calculation steps for a given number of compressions, a routing calculation step for a given number of compressions using information obtained during a routing calculation step for a number of compressions less than said given number.
In one embodiment of the invention the method comprises choosing a cost function and the routing calculation minimizes the cost function.
A routing calculation step for a given number of compressions advantageously comprises, at a node (n) where the number of compressions from the source node is equal to the given number, seeking and saving for a subsequent calculation step adjacent links on which compression is used.
A routing calculation step for a given number of compressions can use the Dijkstra algorithm and verify the number of compressions when adding a node to the route.
In another embodiment of the invention, the network includes overflow links to an external network and the method comprises at least two routing calculation steps for a given number of overflows- and for a given number of compressions, a routing calculation step for a number of overflows- and a given number of compressions using information obtained during a routing calculation step for a number of overflows less than said given number of overflows.
In this case the method preferably comprises choosing a cost function representative of the cost of overflows and the routing calculation minimizes the cost function. The calculation steps are preferably effected for a given number of overflows by varying the number of compressions and then by varying the number of overflows.
Other features and advantages of the invention will become apparent on reading the following description of embodiments of the invention given by way of example and with reference to the accompanying drawings, in which:
The invention proposes, in a private network, to calculate a route by seeking the shortest path between an source node and a destination node for a given value of the number of compressions and decompressions, and then increasing the value of the number of compressions and decompressions. Furthermore, to limit the number of calculations, the invention proposes to save the results obtained for a given value of the number of compressions and decompressions in order to use them in subsequent calculations.
The invention is described hereinafter in the example of a private network comprising different types of link, namely links with or without the network can also route voice or data calls. The example uses the following rules for routing across the network:
In the example described with reference to
To obtain the solution, the invention proposes to apply the Dijkstra shorter path calculation algorithm with modifications to satisfy the constraints on the number of compressions and decompressions. It proposes to apply the algorithm to seek successively shorter paths for given numbers of compressions and decompressions. In the
In
π0(1, 3)=1,
π0(1, 2)=2,
π0(1, 4)=3,
π0(1, 5)=4,
π0(1, 6)=5,
the shorter paths being shown in bold in FIG. 1.
In the plane P(1), it considers routes with compression and calculates:
In the plane P(2), it considers routes with two compressions or decompressions and calculates:
The invention advantageously proposes using a step of calculating the shortest path used for a node in the preceding calculation step. Accordingly, still referring to
In this way, π1(1, 2) and π1 (1, 6) can be calculated directly in plane P(1).
Similarly, the dashed lines between planes P(1) and P(2) indicate that the results obtained in the calculations in plane P(1) can be used in plane P(2).
The Dijkstra algorithm or a similar shorter path calculation algorithm can be used for the calculations in each plane. In this case, during an iteration of the Dijkstra algorithm, when testing the adjoining nodes, the algorithm can verify if the maximum number of compressions is complied with. If so, the distance can be updated in a higher plane.
In the
In a plane, if no shorter paths are found, or if no forward progress is possible, the given number of compressions is increased to move to a higher plane.
This embodiment of the invention amounts to seeking successive paths involving a given number of compressions and decompressions and updating the distances in the higher planes on each change in the number of compressions or decompressions. The best path—if there is one—is
The best path is therefore calculated with a number of compressions and decompressions less than the maximum number NVCompMax. The path is determined by moving backwards through the parent nodes from the destination node d and counting the number of compressions and decompressions.
The algorithm seeks the predecessor of d in the plane P(h), i.e. φh(d), where h is the value of v for which the minimum π*(s,d) is reached. For any node j on the route from s to d reached with k compressions and decompressions the predecessor of j is chosen in the plane P(n), n2k and
πn(s, j)+π(j, d) π*(s, d)
the distance π(j, d) being the distance on the optimum route already determined between j and d. In this way the algorithm works back to the node s. The change of plane is then indicative of a change of compression. In this way it is possible to determine when the call must be decompressed or when it must be transitted without being decompressed.
This embodiment concerns a private network in which there is a compressed signal at the exit from a link with compression that can be forwarded retaining its compression. Accordingly, in the calculations in the plane P(v), the values of πv+1(s, i) are updated. It is also possible to manage links necessarily generating a compression and a decompression—which can be the case with links using an external multiplexer or a compressor of some other kind. In this case, the values of πv+2(s, i) are simply updated on reaching a link using a multiplexer of this kind with an uncompressed signal. The signal must be decompressed before it enters the link on reaching a link using a multiplexer of the above kind with a compressed signal. In this case, the values of πv+3(s, i) are updated. The invention therefore enables different types of compression to be managed and adapts to comply with all compatibility rules in the transfer of signals.
What is more, in the
This example seeks a route between node 1 and node 4 which has at most two overflows NoverflowMax and which minimizes the sum of the charges. The example does not consider compressions, but the invention also applies when compression is present, as shown by the embodiment described with reference to FIG. 3.
Intuitively, the solution is a route with one overflow between nodes 1 and 2, via the private network between nodes 2 and 3, and with another overflow between nodes 3 and 4.
To obtain this solution, the invention proposes to use the Dijkstra shorter path calculation algorithm with modifications to satisfy the constraints on the number of overflows. It proposes to apply the algorithm to seek successively shorter paths for given number of overflows. In the
The
π0(1, 2)=∞;
π0(1, 3)=∞;
π0(1, 4)=∞;
since it is impossible to reach any node of the network without overflow.
In plane P(1), the routes with compression are considered and the following are calculated:
π1(1, 2)=1 with overflow between 1 and 2;
In plane P(2), the routes with two overflows are considered and π2(1, 4)=2, is calculated, with overflow between 1 and 2 and then between 3 and 4.
As above, the invention proposes to use a step of calculating the shortest path used for a node in the preceding calculation step. Accordingly, referring to
Similarly, the dashed line between planes P(1) and P(2) indicates that the result obtained from the calculations in plane P(1) can be used in plane P(2), i.e. on reaching node 3, node 4 cannot be reached because of the constraint on the number of overflows, but this node can be reached with two overflows.
The method described with reference to
The invention is described with reference to
The
An overflow is possible between nodes 1 and 4, with a charge of 1. The example seeks a route between the source node 1 and the destination node 4 with a maximum number NvcompMax of passes in a multiplexed link equal to 2 and a maximum number NoverflowMax of overflows equal to 2. A route is sought which minimizes the cost πb, v(s, −i) of the overflows, i.e. the total charge incurred because is of the overflows. Intuitively, the solution is a route with direct overflow between nodes 1 and 4.
Overflowh, v(s, n) is the minimum number of overflows between s and n.
To obtain the solution, the invention proposes to apply the Dijkstra algorithm to seek successively shorter paths for given numbers v of passes in a multiplexed link, on the one hand, and h of overflows, on the other hand. The
In plane P(0, 0), routes with no compression or overflow are considered and the algorithm determines that there is no route without compression or overflow. By testing the neighbors of node 1, it is found that node 2 can be reached with one compression and node 4 can be reached with one overflow. This leads to updating of the distances in the planes P(0, 1) and P(1, 0), as shown in dashed line in the figure.
In plane P(0, 1), routes with one compression and without overflow are considered and the algorithm determines that π0, 1(1, 2) has the value 0 and that other nodes cannot be reached. On examining the neighbors of node 2, it finds that node 3 can be reached with two compressions and the corresponding distance is updated in the plane P(0, 2), as shown by the dashed line between planes P(0, 1) and P(0, 2).
In plane P(0, 2), it considers routes with two compressions and no overflow and finds that π0, 2(1, 3) has the value 0 and that node 4 cannot be reached.
In plane P(1, 0), it determines that node 4 can be reached with one overflow and that π1, 0(1, 4) has the value 1.
This example seeks to minimize the number of overflows and the algorithm therefore stops as soon as the destination node has been reached in a plane. If the destination node is reached for a given number h0 of overflows, the algorithm can continue with the calculations for the various values of v and consider the path which has a minimum distance for all possible values of v with h2h0.
The appendix at the end of this description shows one method of carrying out the calculations for a network of the type shown in FIG. 3. In this embodiment of the invention, the Dijkstra algorithm again handles the shorter path calculations in each plane.
In the example set out in the appendix, the value of the number of overflow is scanned from 0 to NOverflowMax and, for each value, the values of the number v of compressions and decompressions are scanned from 0 to NVCompmax. The calculation is then done in each plane P(h, v) in succession.
In each plane, the calculation begins with an initialization. If h and v are zero, in other words in the P(0, 0) plane, initialization is as follows: for all nodes other than the source node, the value of πh, v(s, n) is initialized to infinity; for any node of the network, φh, v(n) has a NULL value in the plane P(h, v), i.e. no node has a predecessor in the tree of shorter paths. For h=0 and v=0, for nodes neighboring s, π0, 0(s, n) is initialized to the corresponding value of the function ReadCost; this function estimates the cost of passage between two neighboring nodes on the link connecting them or on an overflow link connecting them.
All nodes n other than the source node are then put in {overscore (S)}, with a distance π0, 0(s, n). The function VerifConsistency(l(s, n), h=0, v=0, s, n) then carries out a consistency check. This function checks the compatibility of the qualities of the current plane and prepares the cost for the next plane. In plane P(0, 0), it verifies the consistency between s and n, in other words it verifies that routing between s and n is possible.
For values of h and v that are not both zero, i.e. in planes other than P(0, 0), initialization is as follows: the set {overscore (S)} is emptied and points are put in it for which the number of overflows is greater than or equal to the current value of h. This corresponds to the following approach:
Accordingly, after initialization in the plane P(h, v), all the nodes not yet reached or reached by routes with h or more overflows are in {overscore (S)} After initialization, paths are calculated in the plane P(h, v). A calculation is performed in each plane using the Dijkstra algorithm, updating the values of πh, v in the higher planes, if no further progress is possible that conforms to the constraints on h and v.
Node n of {overscore (S)} which minimizes the charge πh, v(s, i) is therefore considered. Thereafter the process is as in the Dijkstra algorithm; however, when the neighbors of n are considered, a verification is performed to determine if compression is necessary to move towards point n, or if decompression is necessary, as in the
Furthermore, when a point in the vicinity cannot be reached except with an overflow, the corresponding distance value is updated in plane P(h+1). In this plane, a verification is performed as previously to determine if compression or decompression is necessary; the compression and decompression constraints can also apply to an overflow link.
In one embodiment, if there is a link without compression supporting the overflow, the overflow is authorized only if the link is congested; this amounts to optimizing the resources of the private network before authorizing the overflow; a similar result could be obtained with a distance π taking account of the use of the resources of the network, as explained in the Applicants' aforementioned patent application.
After processing the various planes, at least until a route reaching the destination node is found, the route is found as explained with reference to FIG. 1.
In the
The invention is not limited to the embodiments described; it applies more generally in any private network for calculating routes minimizing one or more charges and satisfying one or more constraints on a maximum value; in the
It would also be possible to eliminate the step of determining the minimum number of compressions or decompressions; the only consequence of this would be a longer calculation, where necessary, or unnecessary scanning of unsatisfactory solutions.
In the preferred embodiments, the number of compressions and decompressions is counted. It is clear that only the number of compressions could be counted, or only the number of decompressions, likewise to limit the total number of compressions and decompressions. This is based on the-generally applicable rule that a decompression necessarily follows an earlier compression. Note that this rule is not always valid if there is more than one type of compression.
The invention applies also to network types different from those described in the preferred embodiments.
Finally, the description and the claims mention the Dijkstra algorithm. It is to be understood that this term covers not only the version of the shorter path algorithm proposed by Dijkstra, but also similar versions, and in particular the Bellman algorithm or the Floyd algorithm. Note that the Bellman algorithm applies only for graphs without circuits.
Number | Date | Country | Kind |
---|---|---|---|
98 10131 | Aug 1998 | FR | national |
Number | Name | Date | Kind |
---|---|---|---|
5095480 | Fenner | Mar 1992 | A |
5258983 | Lane et al. | Nov 1993 | A |
5295183 | Langlois et al. | Mar 1994 | A |
5638363 | Gittins et al. | Jun 1997 | A |
5689641 | Ludwig et al. | Nov 1997 | A |
5894588 | Kawashima et al. | Apr 1999 | A |
5930348 | Regnier et al. | Jul 1999 | A |
6111870 | Kurtz | Aug 2000 | A |
6122283 | Lee | Sep 2000 | A |
6226304 | Ravishankar et al. | May 2001 | B1 |
6330231 | Bi | Dec 2001 | B1 |
6359902 | Putzolu | Mar 2002 | B1 |
6483835 | Tanigawa et al. | Nov 2002 | B1 |
Number | Date | Country |
---|---|---|
196 14 926 | Oct 1997 | DE |
2 283 154 | Apr 1995 | GB |
WO 9816083 | Apr 1998 | WO |