The invention relates to techniques for maintaining an IP (Internet protocol) connection in a mobile network.
In a packet-switched mobile network, a mobile terminal is not normally assigned a dedicated circuit-switched connection. Instead, the network establishes and maintains a session for the terminal, and data packets are sent when necessary. In order to integrate mobile terminals with office applications, it is becoming increasingly popular to maintain Internet Protocol (IP) connections over packet data channels in packet-switched mobile networks. Maintaining an IP connection to/from a mobile terminal is desirable in order to keep data banks synchronized between the mobile terminal and an office computer, for example.
Maintaining an IP connection in packet-switched mobile networks involves certain problems. For example, it consumes the mobile terminal's battery. Further, many networks apply operator-defined policies to break connections after a certain period of inactivity. This period can be quite short, such as five minutes. When the IP connection to/from the mobile terminal is disconnected, database synchronization is impossible before connection re-establishment. Connection re-establishment must be initiated from the mobile terminal's side, the network cannot initiate connection re-establishment.
But connection re-establishment involves further expenses in tariff and/or battery consumption. Yet further, since the network cannot initiate re-establishment of the IP connection, network-initiated data synchronization must be initiated by means of an out-band trigger, i.e., signalling independent from the Internet Protocol. A short message service (SMS) and its derivatives are examples of theoretically suitable out-band triggering mechanisms. But a single GSM-compliant short message can only transfer approximately 160 characters, which means that it is impracticable to transfer actual data in the trigger message. This has the consequence that the subscriber must bear the expenses and delays in re-establishing the IP connection.
The mobile terminal can send keep-alive messages in order to prevent the network from disconnecting a temporarily inactive IP connection. A keep-alive message is a message sent for the purpose of preventing the network from disconnecting the IP connection.
The mobile terminal's operating parameters in respect of the keep-alive messages could be optimized for a single network, but connection break-up habits vary between networks and in a single network they may depend on roaming arrangements between operators.
An object of the present invention is to provide a method, equipment and a computer program product to so as to alleviate the above disadvantages relating to connection break-up in packet-switched mobile radio networks. The object of the invention is achieved by the methods and equipment which are characterized by what is stated in the independent claims. The dependent claims relate to specific embodiments of the invention.
The invention is based on the following idea. An IP connection is established between the mobile terminal and its correspondent node. During periods of inactivity in the IP connection, keep-alive messages are sent at a predetermined schedule. Keep-alive messages can be quite short, such as 10 bytes, but they prevent the network from detecting the connection as inactive, whereby it is not disconnected. The keep-alive schedule is varied. At least one of the parties monitors the lengths of several periods of inactivity at which the mobile radio network disconnects the IP connection. Based on several monitored lengths of periods of inactivity, a maximum interval between keep-alive messages is determined such that the maximum interval meets some predetermined criterion of statistical confidence. In other words, spurious connection break-ups, which are not avoidable by keep-alive messages, are ignored. The interval between keep-alive messages is set to the determined maximum interval.
An aspect of the invention is a method according to claim 1. Other aspects of the invention relate to computer systems or program products for implementing the above methods.
In the following the invention will be described in greater detail by means of specific embodiments with reference to the attached drawings, in which:
The invention is applicable to virtually any mobile network architecture. The mobile network may be based on GPRS, 1xRTT or EVDO technologies, for example. The invention can also be implemented as part of a push-type mobile e-mail system, particularly in a consumer e-mail system, in which optimization of network resources is important because of the large number of users.
Reference numeral 100 denotes a host system that is able to send an receive e-mail messages. Reference numeral 102 denotes a mobile terminal, also able to send an receive e-mail messages. The e-mail messages may originate or terminate at external e-mail terminals, one of which is denoted by reference numeral 104. The invention aims at improving cooperation between the host system 100 and mobile terminal 102 such that they can use a single e-mail account as transparently as possible. This means, for example, that the users of the external e-mail terminals 104, when sending or receiving e-mail, do not need to know if the user of the host system 100 actually uses the host system 100 or the mobile terminal 102 to communicate via e-mail. The transparency also means that e-mail manipulation at the mobile terminal 102 has, as far as possible, the same effect as the corresponding e-mail manipulation at the host system 100. For example, e-mail messages read at the mobile terminal 102 should preferably be marked as read at the host system.
Reference numeral 106 denotes a data network, such as an IP (Internet Protocol) network, which may be the common Internet or its closed subnetworks, commonly called intranets or extranets. Reference numeral 108 denotes an e-mail server and its associated database. There may be separate e-mail servers and/or server addresses for incoming and outgoing e-mail. The database stores an e-mail account, addressable by means of an e-mail address, that appears as a mailbox to the owner of the e-mail account. In order to communicate with mobile terminals 102, the data network 106 is connected, via a gateway 112 to an access network 114. The access network comprises a set of base stations 116 to provide wireless coverage over a wireless interface 118 to the mobile terminals 102.
Reference numeral 110 denotes a messaging centre that is largely responsible for providing the above-mentioned transparency between the host system 100 and the mobile terminal 102. The system architecture also comprises a connectivity function 120, whose task is to push e-mail messages to the mobile terminal. In the embodiment shown in
The mobile terminal 102 may be a pocket or laptop computer with a radio interface, a smart cellular telephone, or the like. Depending on implementation, the host system 100, if present, may have different roles. In some implementations the host system 100 is optional and may be a conventional office computer that merely acts as the mobile terminal user's principal computer and e-mail terminal. In other implementations the host system may act as a platform for a single user's connectivity function, in addition to being an office computer. In yet other implementations the host system 100 may comprise the connectivity function for several users. Thus it is a server instead of a normal office computer.
We assume here that the access network 114 is able to establish and maintain a IP connection 122 between the messaging centre 110 and the mobile terminal 102.
A real e-mail system supports a large number of mobile terminals 102 and IP connections 122. In order to keep track of which e-mail account and which IP connection belongs to which mobile terminal, the messaging centre 110 and the connectivity function collectively maintain an association 124, 124′ for each supported mobile terminal. Basically, each association 124, 124′ joins three fields, namely an e-mail address 124A assigned to the mobile terminal or its user, encryption information 124C and a temporary wireless identity 124D of the mobile terminal in the access network. The embodiment shown in
In the above-described system, the messaging centre 110 and connectivity function 120 were arranged to support a fairly large number of users of e-mail and/or calendar data. In order to satisfy the needs of the present invention, virtually any communication server able to maintain an IP connection to the mobile terminal can be used.
Accordingly, step 2-8 comprises achieving a desired degree of statistical confidence in respect of the detected maximum inactivity period. In order to achieve statistical significance, the mobile terminal applies a confidence measure, such as variance. In a typical but non-restricting implementation, the mobile terminal may regard the connection break-up as regular if it happens after a certain inactivity period with a variance lower than some predetermined value. For example, the connection break-up may be considered regular if the network has discontinued the IP connection a predetermined minimum number x of times after an inactivity period of t, wherein the distribution of t has a variance var(t) which is smaller than some predetermined value y.
The act of achieving a desired degree of statistical confidence preferably comprises subtracting a safety margin Δt from the detected maximum inactivity period. For example, the safety margin may be expressed in minutes, such as 1-2 minutes, or as a percentage, such as 10-20%. If the detected maximum inactivity period is, say, 15 minutes, the mobile terminal may store a value of 13-14 minutes as a maximum safe interval between keep-alive messages. Let us denote this interval value by TINT.
In step 2-10 the mobile terminal and/or its correspondent node set up a schedule for sending keep-alive messages at intervals no higher than TINT in absence of net user traffic. By sending keep-alive messages via an otherwise idle IP connection at intervals no higher than TINT, the network regards the IP connection as active and, under normal operating conditions, does not disconnect it.
The keep-alive messages can be sent by either end of the connection, i.e., by the mobile terminal and/or its correspondent node, such as a server, in the fixed part of the mobile radio network.
Sending the keep-alive messages at intervals no higher than TINT can be accomplished by means of a timer, which may be a physical timer or a logical one, such as a program thread or process. Each time any message is sent (either a real message or a keep-alive message), a timer with a value TINT is triggered. When the timer expires, a keep-alive message is sent and the timer is re-triggered.
The optimum value for the safety margin safety margin Δt depends on the costs (battery-wise and tariff-wise) of sending keep-alive messages and re-establishing disconnected IP connections. It may also depend on the behaviour of the network, i.e., the regularity by which it breaks up temporarily inactive connections. If the network's behaviour is poorly predictable, and break-ups occurs with a certain safety margin, the safety margin should be increased.
In a further optional step 2-12, the maximum safe interval between keep-alive messages, TINT, is stored together with an identifier of the network in which the TINT was determined, whereby it can be quickly taken into use on re-entry to the same network. This value can be stored in the mobile terminal. Instead of storing the value in the mobile terminal, or in addition to it, the mobile terminal may send the value to its home network to be stored in a data base which can be inquired by mobile terminals which are about to begin roaming in a foreign network. The value stored by other mobile terminals in the data base in the home network may override any default value otherwise used by the roaming mobile terminal.
Instead of sending the keep-alive messages from the mobile terminal, or in addition to it, the keep-alive messages may be sent from a stationary server connected to the mobile radio network.
Reference numeral 34 in
This maximum period is denoted by reference numeral 36, and its value is approximately 11.5 minutes in this example. A value of 10 minutes for TINT is appropriate, as indicated by dashed line 37. Reference numeral 38 denotes a safety margin between the lines 36 and 37.
Although this example shows that as much as 30% of connections were disconnected after 10 minutes of inactivity, it is reasonable to assume that these disconnections were caused by spurious effects rather than the network's policy to break up idle connections.
It is readily apparent to a person skilled in the art that, as the technology advances, the inventive concept can be implemented in various ways. The invention and its embodiments are not limited to the examples described above but may vary within the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
20055333 | Jun 2005 | FI | national |
Number | Name | Date | Kind |
---|---|---|---|
4831582 | Miller et al. | May 1989 | A |
4875159 | Cary et al. | Oct 1989 | A |
4897781 | Chang et al. | Jan 1990 | A |
5263157 | Janis | Nov 1993 | A |
5386564 | Shearer et al. | Jan 1995 | A |
5392390 | Crozier | Feb 1995 | A |
5572643 | Judson | Nov 1996 | A |
5581749 | Hossain et al. | Dec 1996 | A |
5600834 | Howard | Feb 1997 | A |
5613012 | Hoffman et al. | Mar 1997 | A |
5623601 | Vu | Apr 1997 | A |
5627658 | Connors et al. | May 1997 | A |
5630081 | Rybicki et al. | May 1997 | A |
5634053 | Noble et al. | May 1997 | A |
5647002 | Brunson | Jul 1997 | A |
5652884 | Palevich | Jul 1997 | A |
5666553 | Crozier | Sep 1997 | A |
5680542 | Mulchandani et al. | Oct 1997 | A |
5682524 | Freund et al. | Oct 1997 | A |
5684990 | Boothby | Nov 1997 | A |
5701423 | Crozier | Dec 1997 | A |
5704029 | Wright, Jr. | Dec 1997 | A |
5706502 | Foley et al. | Jan 1998 | A |
5710918 | Lagarde et al. | Jan 1998 | A |
5713019 | Keaten | Jan 1998 | A |
5715403 | Stefik | Feb 1998 | A |
5717925 | Harper | Feb 1998 | A |
5721908 | Lagarde et al. | Feb 1998 | A |
5721914 | DeVries | Feb 1998 | A |
5727202 | Kucala | Mar 1998 | A |
5729735 | Meyering | Mar 1998 | A |
5745360 | Leone et al. | Apr 1998 | A |
5752246 | Rogers et al. | May 1998 | A |
5757916 | MacDoran et al. | May 1998 | A |
5758150 | Bell et al. | May 1998 | A |
5758354 | Huang et al. | May 1998 | A |
5765171 | Gehani et al. | Jun 1998 | A |
5778346 | Frid-Neilsen et al. | Jul 1998 | A |
5785355 | Main | Jul 1998 | A |
5787441 | Beckhardt | Jul 1998 | A |
5790425 | Wagle | Aug 1998 | A |
5790790 | Smith et al. | Aug 1998 | A |
5799318 | Cardinal et al. | Aug 1998 | A |
5832483 | Barker | Nov 1998 | A |
5857201 | Wright, Jr. et al. | Jan 1999 | A |
5870759 | Bauer et al. | Feb 1999 | A |
5909689 | Van Ryzin | Jun 1999 | A |
5943676 | Boothby | Aug 1999 | A |
5961590 | Mendez et al. | Oct 1999 | A |
5968131 | Mendez et al. | Oct 1999 | A |
6006259 | Adelman et al. | Dec 1999 | A |
6006274 | Hawkins et al. | Dec 1999 | A |
6023708 | Mendez et al. | Feb 2000 | A |
6044381 | Mendez et al. | Mar 2000 | A |
6085192 | Mendez et al. | Jul 2000 | A |
6131096 | Ng et al. | Oct 2000 | A |
6131116 | Riggins et al. | Oct 2000 | A |
6138124 | Beckhardt | Oct 2000 | A |
6141664 | Boothby | Oct 2000 | A |
6151606 | Mendez | Nov 2000 | A |
6212175 | Harsch | Apr 2001 | B1 |
6212529 | Boothby et al. | Apr 2001 | B1 |
6223187 | Boothby et al. | Apr 2001 | B1 |
6233341 | Riggins | May 2001 | B1 |
6324542 | Wright, Jr. et al. | Nov 2001 | B1 |
6708221 | Mendez et al. | Mar 2004 | B1 |
6799190 | Boothby | Sep 2004 | B1 |
20030128676 | Lee | Jul 2003 | A1 |
20040120294 | Yang et al. | Jun 2004 | A1 |
20050188098 | Dunk | Aug 2005 | A1 |
Number | Date | Country |
---|---|---|
1 107 519 | Jun 2001 | EP |
1 569 404 | Aug 2005 | EP |
WO 9824257 | Jun 1998 | WO |
WO 03067447 | Aug 2003 | WO |
WO 03098890 | Nov 2003 | WO |
WO 2004-045171 | May 2004 | WO |
WO 2005024569 | Mar 2005 | WO |
Number | Date | Country | |
---|---|---|---|
20070019610 A1 | Jan 2007 | US |
Number | Date | Country | |
---|---|---|---|
60707170 | Aug 2005 | US |