None.
None.
This invention relates to the management of session timeouts between mobile messaging clients and servers.
In order to manage resources, many client/server data networks have established session timeout values at the server apparatus. When there is no activity within that period of time the data session is timed out and the message or chat session must be reestablished to the idle client. Currently, under IMAPv4 protocol as described in IETF RFC 3500, client senders of messages may request a session, but does not have exact knowledge of the maximum idle time that the server supports or when it changes. RFC 2177, which addresses the same IMAP protocol, suggests use of the IDLE command from the client to the server every 29 minutes and servers are told to have an idle time of at least 30 minutes. Typically, in a mobile network, due to scarce network resources and limited battery life it is very important for the client to “deregister” well before 30 minutes. This implies that the server setting for IDLE time will be less than 30 minutes as well.
If the timeout value is left at 30 minutes as suggested by the terrestrial network standard, then more resources will needlessly be in use in the cellular network while the session is maintained. If an IMAP server sets a timeout value less than 30 minutes, sooner than the standard dictates, then many IMAPv4 compliant mobile devices, may issue an IDLE command at 29 minute intervals as per the RFC suggestion. These mobile devices will often experience and IDLE session timeout and closure due to inactivity detected by the server. This last scenario implies additional bandwidth and data transmitted in order to reestablish the sessions. What is needed is a modification to the known protocol to share the exact idle timeout value set at the server with the client device.
This invention provides the client messaging device with the session timeout value set at the server. The client may request this value at any time. The client device then performs an activity to reset the server activity timer just in time to avoid the overhead of losing and reestablishing a data session.
110 Client device, typically a mobile phone, tablet or other messaging device capable of initiating a data session with a server and receiving the session timeout value from the server.
140 A server apparatus that receives requests to and communicates with the client apparatus including communicating the IDLE session timeout value.
This consists of a better method to manage data sessions between a messaging client and a messaging server. This a modification to the client and a modification to the server as compared to the well known art. The server is modified to provide the current session timeout value to the client in response to a client command. The client is modified to accept the timeout value and issue a “keepalive” or other command prior to timeout value expiration at the server.
In the preferred embodiment the IMAP protocol is modified to return the session timeout value for the session as an addition to the IMAP SELECT command response. Alternately, the timeout value can be provided as a response to other commands including as part of the response by the server to a IMAP IDLE command. Once this information is shared with the client, the client device modifies the timing of when the IDLE command or other “keepalive” value is sent.
Timeout values may also be modified by the server depending upon the type of client (such as longer timeout value which could be allowed for a premium client or longer battery life) or the timeout value can be modified based upon, for example, the time of day with a shorter timeout needed during an operator's busy hours.
This application claims the benefit of U.S. Provisional Patent Application No. 61/771,379 filed on Mar. 1, 2013 by the present inventor which is incorporated by reference into this application.
| Number | Date | Country | |
|---|---|---|---|
| 61771379 | Mar 2013 | US |