METHOD AND APPARATUS FOR ROUTING TRAFFIC IN A CIRCUIT-SWITCHED NETWORK

Abstract: A method and an apparatus for routing traffic in a circuit-switched network, comprising offering a call between an origin node and a destination node to a preferred route between said nodes, and if said preferred route is not available, offering an alternative route via an intermediate node, and for links between two nodes, setting a first trunk reservation threshold for reserving a certain number of circuits for direct calls along said links between said two nodes, and setting a second trunk reservation threshold for calls between nodes connecting a second link of said alternative route.

Description: Method and apparatus for routing traffic in a circuit-switched network The present invention relates to telecommunications networks and methods. In particular it relates to routing of traffic in a circuit-switched network with full or multiple interconnecτion. Description of Related Art In a telecommunications netword traffic is normally routed from an origin to a destination along a pre-assigned direct route. With state of the art switching technologies it is possible to divert overflow traffic on overloaded direct routes along alternative paths and computer controlled exchanges, and common channel signalling allows for an increased flexibility in the implementation of routing methods. In a fully interconnected network each node is connected to every other node by a link comprising a number of two-way circuits. Alternatively, each node pair must be connected via one or several intermediate nodes. Alternative routes are, however, in practice usually confined to two-link paths between an origin node and a destination node. Calls between a pair of nodes are first routed via the direct link between the nodes. If the direct link is blocked, the overflowing call is routed on an alternative two-link path. In order to prevent overflowing calls on an alternate two-link path from blocking subsequent direct calls on these links, circuit reservation is applied by setting a trunk reservation threshold for each link. Traffic routed on a direct link can use any idle circuit, whereas overflowing calls are accepted on a link only when the number of idle circuits exceeds the trunk reservation threshold. The development of routing has gone from hierarchical routing methods with fixed alternative paths between nodes arranged in a pre-defined hierarchy to dynamic non-hierarchical routing methods, wherein alternative routes are chosen in a more flexible fashion. Dynamic methods has proved to be importanτ tools to adapt nerworks to changing traffic demands, shifts in traffic patterns and network failures, as well as to even out excessive idle capacity in some parts of the network and overload in other parτs. Dynamic routing methods are basically divided into time dependent methods and state dependent methods. Time dependent methods are focused on systematic variations in the traffic load of a network, and paths between nodes are redefined at fixed times. This method is directed to the handling of forecasted traffic fluctuations, but gives a poor protection against unplanned traffic variations. State dependent methods use information abour the current state of a network to decide an alternative path and adapt well to unplanned traffic changes. It is also known to use a combination of time dependent and state dependent methods. State dependent methods are divided into centralized, distributed and isolated methods, depending on how the information about the current state of a network is handled. In networks employing centralized methods a central network processor has information about the states of all links of a network, and when an alternative path is needed the least loaded path is recommended. In networks adapted to distributed methods an node has information about the state of its own links and is also able to obtain information about specific links from other nodes. In networks using isolated methods the nodes have information only about their own links. A centralized dynamic routing method, which in this description is called centralized least loaded path routing or CLLPR is disclosed in the document Regnier J., Cameron W.H., State- Dependent Dynamic Traffic Management for Telephone Networks, IEEE Communications Magazine, September 1987. The CLLPR method makes alternative routing decisions and repeatedly determines a recommended alternative path with a preset time interval, with the aid of an extensive knowledge about all the alternative two-link paths. Trunk reservation is applied for all links of the paths in the alternative routing domain. In the document Mitra D., Gibbens R.J., Huang B.D., State- Dependent Routing on Symmetric Loss Nβτworks with Trunk Reservations-I. IEEE Transactions on communications, Vol.41 No.2 February 1993, is disclosed a distributed version of least loaded path rouring or LLPR. The LLPR method makes the alternative rouτing decisions on a call-by-call basis with the aid of an extensive knowledge about the states of the alternative two-link paths. A distributed routing method called aggregated least busy alternative routing or ALBA(2) is also disclosed in Mitra D., Gibbens R.J., Huang 3.D., State-Dependent Routing on Symmetric Loss Networks with Trunk Reservations-1, IEEE Transactions on communications, Vol.41 No.2 February 1993. In ALBA(2) the alternative routing decisions are made on a call-by-call basis with only a limited knowledge about the states of the alternative two-link paths. Also in this method, trunk reservation is applied for all links of the paths in the alternative routing domain. The document EP-A1-0 229 494 discloses an isolated dynamical alternate routing method called DAR, in which a call between two nodes interconnected by a direct link is first offered to the direct route. If the direct route is blocked, the call is offered to at currently nominated two-link alternative route between the two nodes. If that route is busy, the call is lost and a randomly chosen two-link route is assigned to be the new current alternative route. Trunk reservation is applied on alternative routes. This kind of routing method is also referred to as dynamic alternative routing or DAR. In comparison with isolated methods, centralized and distributed methods give a more efficient utilization of network resources, i.e. there are less blocked or lost calls for a given total number of connecting circuits. However, the centralized and distributed methods have the drawbacks that they entail a heavier capacity load in the nodes, complicated routing principles and great demand for information exchange between involved nodes and possible calculation centers. Therefore, isolated methods are attractive but suffer from the drawback of relatively low network efficiency. Summary of the Invention The problem to be solved by the present inventior, and thus the object of it is to achieve an isolated alternative routing method with improved network efficiency, i.e. reduced number of lost calls in a network with a given number of connecting links. According to a first aspect of the present invention the problem is solved by setting the trunk reservation threshold for each link in an altemative route depending on the position of the link. In e.g. a two-link path, the trunk reservation threshold on the first link would be set to a normal value reserving an appropriate number of circuits for direct calls, whereas the trunk reservation threshold for the second link would be set lower and preferrably to zero for the second link. In this sense the inventive method may be called unsymmetrical as it applies trunk reservation in an unsymmetrical fashion. Consequently, if an overflowing call has been accepted to use a first link or an attempted altemative route, it is allowed to use a second link as long as there is any idle circuit in said second link. In this way the utilization of network resources is increased, since an overflow call which already has occupied a first link will be accepted in more instances than with prior art. According to a second aspect of the present invention an alternative path, of which a first link has not reached its blocking threshold, is repeatedly searched for a predefined number of times, according to a presetable sequence of alternative routes. In this text this is called multiple scanning, and in a preferred embodiment of the invention multiple scanning is applied for a first link in, for example, a two-link path and single scanning is applied for a second link of said path. In accordance with a third aspect, the present invention may comprise adaptive setτing of a currently recommended route, which is the first altemative route to be selected when a direct route is not available. In one embodiment this aspect a currently recommended route is set dependent on a currently recommended route change threshold, thus allowing the currently recommended route to be changed before a route is blocked. The present invention also provides an apparatus for routing traffic in a circuit-switched network of nodes according to the inventive method, each node comprising at least one processor. Each processor is adapted to offer a call between nodes via at least on preferred node and at least on alternative route. For each processor at least one parameter is provided, which is used to set a first and a second trunk reservation threshold. Advantages of the inventive method is that it requires no new inter-node messages and very little additional processor capacity per call. Another advantage is that the rules for connections over the different links in the considered network are very simple. Brief Description of the Drawings Embodiments of the present invention will be described with reference to the accompanying drawings, in which: Fig 1 is a schematic diagram of a non-hierarchical, fully interconnected network with 6 nodes and direct links between each node; Fig 2 is a schematic diagram of the direct route and the possible two-link routes between the nodes 1 and 2 of the network according to Fig 1; Fig 3 is a table of alternative routing domains according to Fig 2; and Fig 4 and 5 are diagrams and Fig 6 is a table, wherein the performance of the inventive routing method is compared to prior art routing methods. Detailed Description of Embodiments Fig 1 s.ows an example of a non-hierarchical, fully interconnected mesh network with 6 nodes, each provided with at least one processor P. Each node is connected to every other node by a direct link comprising a number of two-way circuits. Calls between a pair of nodes are first routed via the direct link between the nodes. If the direct link is blocked, an overflowing call is routed on an alternative two-link path via an intermediate node. In Fig 2 is for example shown the direct route and the set of possible two-link routes between the nodes 1 and 2 of the network in Fig 1. More generally the set of possible two-link paths between a node pair i and j is called the alternative routing domain D(i,j) and is defined as the arbitrarily ordered set of two-link paths (i->k->j: l=<k=<N, with each k different from i and j). In the present example, the network is fully connected and the nodes are numbered from 1 to N, with N equal to the total number of nodes. Thus, the alternative routing domain D(i,j) may be regarded as a permutation p(l), p(2), ...,p(N-2) of the numbers 1,2,...,N except for the numbers i and j . It is also possible to choose a subset of the possible two-link paths between two nodes as an altemative routing domain. In the example of Fig 2 D(i,j) for i=l and j=2 is D(l,2)=(3,4,5,6). According to an embodiment of the present invention, a currently recommended alternarive route or path CRP is adaptively preset as the first altemative route to be selected and tested for an overflowing call. A trunk reservation threshold or a blocking threshold is set by means of a trunk reservation parameter for each link. For example, the number of circuits on each link could be 100 and the trunk reservation parameter could be set to 10. According to the invention, the trunk reservation parameter K2 for the second link in a two- link oath is set to a lower value than the trunk reservation parameter Kl for the first link, and preferably to zero. The trunk reservation threshold for a link is thus dependent on the direction of an alternatively routed call. In accordance with an embodiment of the inventive method, trunk reservation is thus applied for the first link in an i->l->j connection, whereas a call on the second link is preferably treated as a call without overflow and without trunk reservation. The considered link is a first link if the preceding node in the call attempt is located outside the considered mesh network and a second link if the preceding node belongs to said mesh network. For each originating call, the first choice is the direct link between the origin node and the destination node. If the direct link is blocked, an altemative path of which the first link has not reached its blocking threshold is repeatedly searched, also called multiple scanning or overflow, for a number of up to M times according to a currently recommended routing sequence. The search is started with the currently recommended alternative path CRP and is carried out sequentially or cyclically in the alternative routing domain. If the last alternative path in the altemative routing domain is reached and rejected during a cyclical search, the first altemative path in the alternative routing domain becomes the next to be selected and tested. If the first links of all M investigated alternaτe paths have reached their blocking thresholds, the call is blocked and the next alternative path in the altemative routing domain is set to be the currently recommended path CRP for the next overflowing call. If an alternative path not having reached its blockning threshold on its first link is found within the M allowed trials and if the second is fully occupied, the call is blocked and the next alternate path in the altemative routing domain is set to be the currently recommended path CRP fcr the next overflowing call. If an alternative path not having reached its blocking threshold on its firs- link is found within the M allowed trials and if the second link is not fully occupied, this route is selected, the call is accepted and the selected alternative path is set to be the currently recommended path CRP for the next overflowing call. An embodiment of the, bv means of an example applied for a two- link alternative path, inventive method can be described in a more formal way as follows. With: D(i,j) - being the above mentioned routing domain (p( 1 ) ,p(2) , ... ,p(N-2) and equal to a permutation of the numbers 1,2, ... ,N with i and j excluded; NCRP - being the number of the intermediate node of the currently recommended path CRP (i->NCRP->J); M - being the maximum allowed number of multiple overflows (0<M=<N-2), i.e. multiple overflow occur when an altematively offered rouτe is blocked to a call and the call overflows to a second offered altemative route; N - being the total number of nodes in the considered network; X(r) - being the number of idle trunks or circuits in the first links of a currently recommended routing sequence of M altemative paths i->p(c+r)-> , for l=<r=<M and p(c+l)=NCRP; Y(r) - being the number of idle trunks or circuits in the second links of a currently recommended routing sequence of M alternative paths i->p(c+r)-> , for l=<r=<M and p(c+l )=NCRP; K(r) - being the number of reserved trunks or circuits for directly routed calls in the first links of the currently recommended routing sequence of M alternative paths i->p(c+r)->j , for l=<r=<M and p(c+l )=NCRP; and m - denoting the first of the M alternative paths of a currently recommended routing sequence fulfilling the condition X(m)>K(m), i.e. m = min i l=<r=<M : X(r)>K(r)( , and if there is no such r, l=<r=<M, fulfilling this requirement, then setting m>M. With these definitions the following steps are comprised in an embodiment of the inventive method: 1 ) A call between an origin-destination node pair i and j is first: offered tc a direct link i-> . If said direct link i->j is not fully occupied, the call is accepted on this link and the currently recommended path CRP is kept, otherwise the call is further treated according to step 2, see below. 2) The call is offered to the alternative paths in the routing domain D(i,j) of said node pair according to a currently recommended routing sequence of M altemative paths i->p(c+r)-> , for l=<r=<M and p(c+l)=NCRP. If m>M, i.e. if X(r)=<K(r) for all altemative paths i->p(c+r)-> , for l=<r=<M and p(c+l)=NCRP, the call is blocked and the next altemative path in the altemative routing domain D(i,j) is set to be the currently recommended path CRP for the next overflowing call from the direct link i->j . If m=<M, the call is treated according to step 3, see below. 3) If m = min I l=<r=M : X(r)>K(r), , m=<M and Y(m)=0, the call is blocked and the alternative path i->p(c+M+l )->j is set to be the currently recommended path CRP for the next overflowing call from the direct link i->j . If m=<M and Y(m)>0, the call is accepted and the altemative path i->p(c÷m)->j is kept as the currently recommended path CRP for the next overflowing call from the direct link i-> . Fig 3 shows tables I, II and III illustrating the altemative routing domain and pointers used to set the currently recommended path CRP in another example of a mesh network comprising e.g. 13 nodes, and an implementing principle of an embodiment of the invention. Table I shows the routing domain D(i,j)(r) for l=<r=<JM, M=N-2 ordered in a currently recommended routing sequence, table II shows the corresponding number k of intermediate nodes in said sequence and shows the states for number of circuits, number of busy circuits and trunk reservation parameter of the first links i->k in the two-link path of said sequence. In this instance a first pointer is set on CRP=7, and a second pointer is set on the state of first link i->k, k=7 in the state table III. In a further embodiment of the invention the trunk reservation parameters for first links are periodically or continuously adapted to the actually observed traffic on the network. The trunk reservation parameters may in this instance be non- negative integer valued stochastic processes with its values determined by the originating nodes based on traffic observations at these nodes. Overflow calls have a tendency to occur closely in time, that is in a non-stochastic way or according to a non-Poissonian behaviour. For this reason currently recommended alternative paths may be protected from overflowing, e.g. by changing the currently recommended route or path CRP, if an overflowing call from a particular direct link is followed by another overflow call from the same direct link within a specified and presetable time limit. Test Results The test results shown that the inventive method have better performance than prior art isolated methods and performance close to much more resource demanding centralized and distributed methods, when the network systems are lightly loaded and have a small number of circuits in the links. As the number of circuits increases towards infinity, all methods asymptotically become equivalent. In Fig 4 and 5 is compared, by means of simulation results, the performance of seven methods, whereof 5 prior art methods and two embodiments of the inventive method, as functions of the link traffic A, when implemented in a fairly small system with 12 nodes and links of equal size with 120 circuits. The compared methods are: 1. Only direct traffic; 2. Dynamical altemative routing - DAR; 3. The inventive method - UDR; 4. The invenτive method with adaptive setting of the currently recommended route UDR-CT; 5. ALEA(2) ; 6. CLLPR; and 7. LLPR. In Fig 4 all direct traffic is equal to all links and in Fig 5 there is an unbalanced traffic situation, with the outgoing link traffic equal to /A+0.1A)/2 for six nodes and equal ro (A- 0.1A) for the other six nodes. The situation shown in Fig 5, where one part of the network is heavily loaded while the other part is lightly loaded, can e.g. illustrate a network that meets different traffic situations during different times of day. Examples of this case is an interstate network covering different time-zones, or a network serving a city and its suburbs. In the latter example there is heavy traffic in the central part of the city during office hours, and in the evening the traffic load is shifted to the suburbs. A third example is the case with wrongly forecasted traffic pattems in a network.

Claims: Claims 1. A method for routing traffic in a circuit-switched network, comprising offering a call between an origin node and a destination node to a preferred route between said nodes, and if said preferred route is not available, offering an alternative route via an intermediate node, and for links between two nodes, setting a first trunk reservation threshold for reserving a certain number of circuits for direct calls along said link between said two nodes, characterized by, for said links, setting a second trunk reservation threshold for calls between nodes connecting a second link of said alternative route. 2. A method as recited in claim 1, characterized by setting said second trunk reservation threshold to zero, thereby allowing said second link to be available as long as there is any idle circuit in said second link. 3- A method as recited in claim 1 or 2, characterized by, if the number of idle circuits on a first link of a first offered alternative route is less than said first trunk reservation threshold, selecting and investigating a second alternative route, and if said second alternative route is not available the call is lost. 4. A method as recited in any one of the preceding claims, characterized by selecting and investigating a presetable number of second alternative routes, and if none of said second alternative routes is available, the call is lost. 5. A method as recited in any one of the preceding claims, characterized by selecting a presetable currently recommended route as a first offered altemative route, and if said currently recommended route is not available, selecting and investigating in sequence a presetable number of alternative routes until an available route is found or the call is lost. 6. A method as recited in claim 5, characterized by, if the number of idle circuits on an first link of an offered alternative route is less than said first trunk reservation threshold and thus none of the altemative routes in said sequence is available, the call is lost and the currently recommended route is set to the next alternative route in said sequence. 7. A method as recited in claim 5 or 6, characterized by, if the number of idle circuits on a first link of an offered alternative route in said sequence is larger than said first trunk reservation threshold and there is no idle circuit on a second link, the call is lost and the currently recommended route is set to the alternative route next ot said offered alternative route. 8. A method as recited in any one of claims 5 to 7, characterized by, if none of the altemative routes of said sequence is available, selecting the alternative route with the least number in said sequence for which the number of idle circuits on said first link is larger than the trunk reservation threshold for said first link and for which there is no idle circuit on said second link, and setting the currently recommended route to said selected alternative route. 9. A method as recited in any one of claims 5 to 8, characterized by, if one or more alternative routes of said sequence is available, selecting the alternative route with the least number in said sequence for which the number of idle circuits on said first link is larger than the trunk reservation threshold for said first link and for which there is at least one idle circuit on said second link, accepting the call and setting the currently recommended route to said selected alternative route. 10. A method as recited in any one fo claims 5 to 9, characterized by setting a currently recommended route change threshold and changing said currently recommended route dependent on said currently recommended route change threshold. 11. A method as recited in claim 10, characterized by setting a currently recommended route change threshold for said second link of an alternative route, and, if an overflowing call is accepted on said alternative route and if the number of idle circuits on said second link is less or equal to the sum of the trunk reservation threshold, selecting a new currently recommended route for the traffic from said originating node to said destination node. 12. A method as recited in any one of the preceding claims, characterized in that said preferred route is a single link route and said alternaive route or routes are two-link routes. 13. A method as recited in any one of the preceding claims, characterized in periodically or continuously adapting said first trunk reservation threshold to the actually observed traffic, wherein the trunk reservation threshold may be non- negative integer valued stochastic processes with their values determined by the originating nodes based on traffic observations at these nodes. 14. A method as recited in any one of the preceding claims 5 to 13, characterized in changing said currently recommended route, if an overflow call from a particular direct link is followed by another overflow call from the same direct link within a specified and presetable time limit. 15. An apparatus for routing traffic through a circuit-switched network, comprising at least one processor at each node of the network, said processors being adapted to offering calls between an origin node and a destination node to a preferred route between said nodes, and if said preferred route is not available, offering an alternative route via an intermediate node, and for a link between two nodes, setting a first trunk reservation threshold parameter for reserving a certain number of direct calls along said link between said two nodes, characterized in that said porcessors are further adapted to setting a second trunk reservation threshold parameter for calls between said nodes connecting a second link of said alternative route. 16. An apparatus as recited in claim 15, characterized in that said processors are adapted to set said second trunk reservation rhreshold to zero, thereby allowing said second link to be available as long as there is any idle circuit in said second link. 17. Apparatus as recited in claim 15 or 16, characterized in that, if the number of idle circuits on a first link of a first offered altemative route is less than said first trunk reservation threshold, a second alternative route is selected and investigated, and if said second altemative route is not available the call is lost. 18. Apparatus as recited in any one of claims 15 to 17, characterized in that a presetable number of second alternative routes are selected and investigated, and if none of said second altemative routes is available, the call is lost. 19. Apparatus as recited in any one of claims 15 to 19, characterized in that said porcessors are adapted to select a presetable currently recommended route as a first offered alternative route, and if said currently recommended route is not available, is selected and investigated in sequence a presetable number of alternative routes until an available route is found or the call is lost. 20. Apparatus as recited in claim 19, characterized in that if the number of idle circuits on a first link of an offered altemative route is less than said first trunk reservation threshold an thus none of the altemative routes in said sequence is available, the call is lost and the currently recommended route is set to the next altemative route in said sequence. 21. Apparatus as recited in claim 19 or 20, characterized in that, if the number of idle circuits on a first link of an offered alternative route in said sequence is larger than said first trunk reservation threshold and there is no idle circuit on a second link, the call is lost and the currently recommended route is set to the alternative route next to said offered alternative route. 22. Apparatus as recited in any one of claims 19 to 21, characterized in that, if none of the alternative routes of said sequence is available, is selected the alternative route with the least number in said sequence for which the number of idle circuits on said first link is larger than the trunk reservation threshold for said first link and for which there is no idle circuit on said second link, and the currently recommended route is set to said selected alternative route. 23. Apparatus as recited in any one of claims 19 to 22, characterized in that, if one or more altemative routes of said sequence is available, is selected the alternative route with the least number in said sequence for which the number of idle circuits on said first link is larger than the trunk reservation threshold for said first link and for which there is at least one idle circuit on said second link, the call is accepted and the currently recommended route is set to said selected altemative route. 24. Apparatus as recited in any one of claims 19 to 23, characterized in that a currently recommended route change threshold is set and said currently recommended route is changed dependent on said currently recommended route change threshold. 25. Apparatus as recited in claim 24, characterized in that a currently recommended route change threshold is set for said second link of an altemative route, and, if an overflowing call is accepted on said alternative route and if the number of idle circuits on said second link is less or equal to the sum of the trunk reservation threshold, a new currently recommended route is selected for the traffic from said originating node to said destination node. 26. Apparatus as recited in any one of claims 19 or 25, characterized in that said preferred route is a single link route and said alternative route or routes are two-link routes. 27. Apparatus as recited in any one of claims 19 to 26, characterized in that, periodically or continuously said first trunk reservation threshold is adapted to the actually observed traffic, wherein the trunk reservation threshold may be non- negative integer valued stochastic processes with their values determined by the originating nodes based on traffic observations at these nodes. 28. Apparatus as recited in any one of the preceding claims 19 to 27, characterized in that said currently recommended route is changed if an overflow call from a particular direct link is followed by another overflow call from the same direct link within a specified and presetable time limit.

Inventors: ANDERSSON HANS, ANDERSSON, HANS
Applicants: ANDERSSON HANS, ERICSSON TELEFON AB L M, ANDERSSON, HANS, TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
Application year: 1996
Main classification: H04Q3
IPC codes: H04M3, H04Q3