Abstract:
A method is described for controlling a signalling gateway interconnecting a signalling network with a plurality of remote processes in one or more second processing entities, said method comprising the step of determining a remote process as a hash function of global title information contained within a signalling message. In preferred embodiments, the hash function is a CRC-32c cyclic redundancy check function.

Description:
BACKGROUND OF THE INVENTION  
       [0001]     1. Field of the Invention  
         [0002]     The invention relates to methods, and related apparatus, for controlling processing entities used, for instance, in communication systems such as for the control of signalling traffic between a signalling gateway and a plurality of application server processes.  
         [0003]     2. Background Art  
         [0004]     Establishing connections between two telephones involves a complex interaction of digital messages, hereinafter referred to generally as signalling. Nowadays telephone systems perform what is known as “out-of-band” signalling. Out-of-band signalling means that the communications required between the switches and other equipment in the network take place on communication channels other than the channel by which the voice or data flows. Typically, the out-of-band signalling takes place by means of digital communication channels. Thus, the public switch telephone network (PSTN) generally uses two types of channels, media and signalling.  
         [0005]     Several protocols have been defined for out-of-band signalling. The most commonly used protocol, in North America, Asia and Europe, is known as Signalling System No. 7 (SS7). However, the SS7 protocol defines more than just a protocol for communication between switches. It also defines an entire switching network for facilitating signalling for call establishment, routing, and information exchange functions of switched circuit networks.  
         [0006]     Since the amount of data transferred over data networks is now much larger than the voice traffic that is carried over the PSTN, carriers are in the process of consolidating both types of networks. In addition, telecommunication networks are increasingly making use of standard computing hardware in order to reduce IT costs.  
         [0007]     Therefore, there is a trend in the telephone industry to migrate telephone systems using SS7-based networks for signalling to Internet Protocol (IP) networks. The Internet protocols are standardised by the Internet Engineering Task Force (IETF). Moving either or both of the media and signalling channels to an IP infrastructure involves the use of very different technologies and can be done independently. One IETF working group, called the Sigtran Group, is defining the protocols for back-hauling SS7 signalling messages across IP networks. Generally speaking, signalling across an IP network involves replacing the lower levels of the SS7 layered protocol communications and transport layers with IP network protocol communications and transport layers.  
         [0008]     The IETF in collaboration with the Sigtran group have taken the initiative to define open standards for transporting SS7 over IP networks. With Sigtran technology, telephone services which today lie on top of SS7 networks, can run Application Servers (ASs) lying on top of IP networks. The interworking with SS7 networks is performed by Sigtran signalling gateways (SGs).  
         [0009]     For additional information regarding SS7 network switching over IP networks, reference may be made to the (IETF) working drafts “ Signalling Connecting Control Part User Adaptation Layer  ( SUA )” available from the IETF website at www.ietf.org, and IETF RFC 3332  “SS 7  MTP 3- User Adaptation Layer  ( M 3 UA )”, available from the IETF website, and which is incorporated herein by reference as if reproduced in full. It is noted that each of these IETF documents is a work in progress and is therefore subject to change. However, these documents exemplify the changes necessary to a standard SS7 signalling system for its implementation in an IP network context. As well as defining the functions of signalling gateways and signalling gateway processes, the Sigtran documents referred to above specify in detail the protocols to be implemented between an SGP and an ASP.  
         [0010]     More general background information regarding Sigtran protocols, reference may be made to the International Engineering Consortium, in document “ SS 7  Over IP Signalling Transport and SCTP ,” which is available from the IEC website www.iec.org, and which is incorporated herein by reference as if reproduced in full.  
         [0011]     To enhance the availability of the signalling gateway, it can be distributed over several processes running in one or several computers, each of them being a Signalling Gateway Process (SGP). Every SGP belonging to a particular SG has the same SS7 point code (or the same list of PCs), with each SGP being connected to the SS7 network through redundant links.  
         [0012]     On the IP side, each SGP is connected to the ASPs running the services. Each AS, which can typically be identified with a single logical service, such as a Short Message Service Centre (SMSC), can be implemented in a distributed manner by one or more processes or computers—referred to as the ASPs. To provide improved reliability, each SGP is typically directly connected to each ASP through an SCTP association such that there is one association between each SGP and each ASP.  
         [0013]     There are three modes of Application Server traffic handling in the SGP SUA layer: Override, Load-share and Broadcast. In the case of Loadshare mode, reception of an ASP Active message at an SGP causes the direction of traffic to the ASP sending the ASP Active message, in addition to all the other ASPs that are currently active in the AS in accordance with a load sharing algorithm. The algorithm at the SGP for load-sharing traffic within an AS to all the active ASPs is not defined in the SUA specification and is implementation dependent. It is suggested in the SUA specification that the algorithm could, for example, be round robin or based on information in the data message.  
         [0014]     Published PCT patent application WO 02/51095 proposes a communication apparatus running a protocol stack implementation in which a name based addressing mechanism is used which isolates a logical communication endpoint, such as an ASP, from its IP addresses. A name mapping unit within the SUA layer is adapted to receive a signalling target node name from the signalling source node and to map the signalling target node name into a peer signalling association. The name mapping unit comprises a load sharing management unit adapted to consider at least one criterion selected from a group comprising target node capability, target node load and routing policy to map a destination name into the destination, e.g., a peer signalling association or a transport address. Examples given for the routing policy supported by the load sharing management unit are round robin, weighted round robin, least used, and/or least used with degradation, i.e. increment use value after each use of an IP address or a combination of these.  
         [0015]     The problem with round robin or other non-predeterminable approaches is that transactions typically involve a series of related message exchanges and there may be a need to maintain a record at the SG of which ASP is involved in a particular transaction, so that messages involved in a transaction are dispatched to the ASP that maintains context information for the transaction. It is also desirable in at least some applications to be able to predict in advance to which ASP a particular set of messages will be directed. For instance, an ASP may reference a database or cache containing data for only a subset of subscribers and it may be necessary to route all messages with those subscribers as calling party to the ASP that has local access to data for those subscribers.  
         [0016]     This invention is directed to the assignment of SS7 messages to identified ASP&#39;s in order to balance the workload across the ASP&#39;s in a desired, replicable, determinable and computationally efficient manner.  
       SUMMARY OF THE INVENTION  
       [0017]     In brief, this achieved by a method of controlling a signalling gateway interconnecting an signalling network with a plurality of remote processes in one or more second processing entities, said method comprising the step of determining a remote process as a hash function of global title information contained within a signalling message.  
         [0018]     Routing using hashing functions has already been proposed in certain situations where the input data can be expected to relatively well distributed. This is the case with IP addresses—see for example U.S. Pat. No. 6,370,584. However hash functions, such as SHA or MD5, that are adapted for badly distributed input data such as text are too computationally heavy for implementation in signalling gateways using standard computing technology.  
         [0019]     Therefore, the hash function is preferably a cyclic redundancy check function based on polynomial division. In preferred embodiments, the hash function is a CRC-32c function and the determination includes consulting a look-up table comprising polynomial remainder of sets of input bits. The CRC32-c is used for cyclic redundancy checking in the SCTP protocol and must be mandatorily embedded in a Sigtran Signalling Gateway. This function can therefore suitable be reused for the purposes of loadsharing. Thus, at least in preferred embodiments the need is obviated for an additional hash function than the one already present in a Signalling Gateway that uses SCTP.  
         [0020]     The second processing entities can be application servers and the remote processes can be application server processes, for instance.  
         [0021]     In another aspect, the invention provides a signalling gateway comprising computer program code elements for performing the above described methods.  
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0022]     Preferred embodiments of the invention will now be described, by way of example only, with reference to the accompanying drawings in which:  
         [0023]      FIG. 1  shows the general configuration of a signalling gateway;  
         [0024]      FIG. 2  shows a basic configuration of the different layers of the layered protocol communications schemes of a Signalling End Point, a Signalling Gateway Process and an Application Server Process;  
         [0025]      FIG. 3  illustrates SCTP associations between Signalling Gateway processes and Application Server processes;  
         [0026]      FIG. 4  is a flow diagram illustrating a method for routing a message. 
     
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS  
       [0027]      FIG. 1  shows the general configuration of a signalling gateway  100  interconnecting an SS7 network  110  and a series of Application Servers (ASs)  130  via an IP Network  120 .  FIG. 2  illustrates the layered software architecture of the various components. SS7 Signal Transfer Point (STP)  200  includes the MTP1, MTP2, MTP3, SCCP and SCCP user part layers. As is known in the prior art, a Signal Transfer Point (STP) routes SS7 signalling within the SS7 network and manages various signalling links which comprise the SS7 network. Routing is accomplished by processing of the routing label of an SS7 message by the Message Transfer Part (MTP) functionality. The MTP layers comprise three levels. Levels  1  and  2  are used for the transfer of SS7 messages from one point to another over an individual signalling link. Level  3  is used for the transfer of SS7 messages over the SS7 network beyond the requirements of individual link transmission. The MTP3 layer is mainly dedicated to ensuring the delivery of incoming and outgoing messages (such as discrimination, distribution and routing), and the network reconfiguration (such as traffic management, route management and link management).  
         [0028]     Communication between Signalling Gateway Processes (SGPs) of the SG  100  and Application Server Processes (ASPs) within the ASs  130  is carried out using a transport layer defined by the Sigtran working group and referred to as SCTP (Stream Control Transfer Protocol). Signalling Gateway  100  terminates the MTP1, MTP2, MTP3 and SCCP layers and includes a Nodal Interworking function (NIF) as well as SUA and SCTP and IP layers. Each AS  130  includes IP, SCTP, SUA and SCCP user layers. Signalling Gateway  100  thus terminates the SS7 lower layers and encapsulates their payload data into SCTP messages to send them to an Application Server  130 . The AS terminates the SCTP layers, processes the signalling messages and replies to the SG  100  in the same way.  
         [0029]     This architecture is well known to those skilled in the relevant art and is described in the SUA specification defined by the IETF.  
         [0030]      FIG. 3  illustrates the interconnection of a plurality of SGPs, such as SGP 1  and SGP 2  to a plurality of ASPs, such as APS 1 , ASP 2  and ASP 3  via a plurality of SCTP associations  300 .  
         [0031]     The AS for each particular SS7 message received at the SG  100  via SS7 network  110  is determined by a Routing Key. The Routing Key describes a set of SS7 parameters and/or parameter-ranges that uniquely defines the range of signalling traffic configured to be handled by a particular Application Server. An example would be where a Routing Key consists of a particular SS7 SCCP SSN plus an identifier to uniquely mark the network that the SSN belongs to, for which all traffic would be directed to a particular Application Server. Possible SS7. address/routing information that comprise a Routing Key entry includes, for example, OPC, DPC, SIO found in the MTP3 routing label, SCCP subsystem number, or Transaction ID. IP addresses and hostnames can also be used as Routing Key Information. Routing Keys are mutually exclusive in the sense that a received SS7 signalling message cannot be directed to more than one Routing Key.  
         [0032]     So when an SGP inside an SG receives a message coming from the SS7 network, at least 2 determinations must be made:  
         [0033]     First, the SGP needs to determine the AS to which the message must be forwarded based on the provisioned Routing Keys.  
         [0034]     And then, the ASP within the AS needs to be determined. For the purpose of this invention description, we will suppose that the ASPs inside the AS are in loadshare mode.  
         [0035]     In this embodiment, SUA message traffic is distributed between the ASPs inside an AS, based on the calling party GTAI (Global Title Address Information) of an SS7 message received from an SS7 network by a SUA SG. As is well known, the Global Title generally consists of a regular directory telephone number and information as to how to interpret that number. Since these numbers are assigned in many different ways and can have a wide range of different sizes and formats, they are in general extremely badly distributed numerically.  
         [0036]     To map the GTAI into a fixed numerical range a hash function f( ) is employed that provides a uniform output in the range 0.2 32 -1.  
         [0037]     The hash function f( ) used is the CRC-32c which is defined in RFC3309 in connection with SCTP. This CRC function has generator polynomial:
 
x 32 +x 28 +x 27 +x 26 +x 25 +x 23 +x 22 +x 20 +x 19 +x 18 +x 14 +x 13 +x 11 +x 10 +x 9 +x 8 +x 6 +x 0 .
 
         [0038]     This known function is used for cyclic redundancy checking within the SCTP connections. This function, applied on badly distributed GTAI values, has been found to return a sufficiently uniform distribution in the range 0.2 32 -1 to serve as a hash function. The function ensures that 2 identical GTAI values as input always provide the same result value so that a message with a particular GTAI value is always forwarded to the same ASP.  
         [0039]     In the preferred embodiment, the CRC-32c function is implemented in a known computationally efficient manner using a pre-computed look-up tables giving the polynomial remainder of multiple input bits as described in RFC 3309.  
         [0040]     Using this hash function, the SG does not need to maintain a large database to ensure the right distribution of messages according to the ASPs. The SG is provisioned with the percentage of messages that must be forwarded to a particular ASP and then each message is routed following a dynamic calculation of the hash value.  
         [0041]     For example, suppose that a SG is configured with 1 AS served by 3 ASPs: ASP 1 , ASP 2  and ASP 3  and it is desired that: 
        ASP 1  receives 20% of the traffic     ASP 2  receives 30% of the traffic     ASP 3  receives 50% of the traffic        
 
         [0045]     A means are provided to provision this by defining a series of thresholds for the hash results, using for instance an appropriate configuration file accessible to the SG, and then, each time an SS7 message is received by the SG  100 , the CRC-32c function is performed on the GTAI of the calling address of the message and this function returns a value between 0.2 32 -1. Note that this calculation may be carried out in any one of a plurality of SGPs in a single SG and will return the same result.  
         [0046]     According to the provisioning (ASP 1 =&gt;20%, ASP 2 =&gt;30% and ASP 3 =&gt;50%), the output range of the CRC32-c is split in 3 parts (because in this case we have 3 ASPs):  
                                               Range   20%   30%   50%       CRC32-c   Between 0 and   Between INT(2 32  *   Between IINT(232 *       value range   INT(2 32 × 0.2)   0.2)+1 and NT(2 32  *   0.2)+1+ INT(232 *       according to       0.2)+1+ INT   0.3)+1 and       GTAI input       (2 32  * 0.3)   2 32  − 1       parameter       Decision   Message to be   Message to be   Message to be           forwarded   forwarded to ASP2   forwarded to ASP3           to ASP1                  
 
         [0047]     This process is illustrated in  FIG. 4  which shows the step  400  of receiving a message, a step  410  of extracting the GTAI, the step  420  of calculating a hash function and a step  430  of determining a particular ASP according to the hash function.  
         [0048]     We have performed a set of tests against a database containing around 30,000 GTAI that represents a snapshot of actual (random) calls made during a few hours. The outcome of the tests showed that the CRC-32c output is sufficiently close to being uniform and is thus suitable for this purpose.  
         [0049]     For instance, using the above described hashing algorithm based on CRC32c to loadshare this simulated traffic between 2 ASPs, with a target load of 20% on the first ASP, we actually obtained 23% to ASP 0  and 77% to ASP 1 . This tends to show that the homogeneity of the distribution produced by CRC32c is sufficient for the above-described application to loadsharing in a Signalling Gateway.  
         [0050]     The above discussion is meant to be illustrative of the principles and various embodiments of the present invention. Numerous variations and modifications in each of the illustrated examples will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications. Even though the following description focuses on implementing a SUA signalling gateway, it should also be kept in mind that the same techniques may also be applied in M3UA signalling gateways or any other similar or comparable situation.