The present invention relates in general to information transfer and processing and more particularly to a system and method for maintaining seamless session operation.
A Wireless Access Protocol (WAP) load balancer is a device that distributes WAP traffic received over a wireless network on an Internet Protocol (IP) bearer network among a group of WAP gateways. Each WAP gateway translates requests from the WML stack to a WWW protocol stack, such as HTML and TCP/IP. The WAP gateway encodes and decodes web content to reduce the size and number of packets traveling over the wireless network. The WAP gateway interfaces with subscriber databases in order to provide client specific services.
Because of the growth and size of the wireless subscriber market, content customers providing WAP services are quickly experiencing more bottlenecks at their WAP gateways. The WAP load balancer is used to distribute WAP traffic among WAP gateways in order to relieve and avoid bottlenecks in the system. With multiple WAP gateways, the WAP load balancer must ensure that all packets associated with a single session are sent to the same WAP gateway. A Wireless Session Protocol (WSP) is a session layer protocol for operation between a WAP client and a WAP gateway. The WSP allows for sessions to be suspended and resumed without the overhead of session tear-down and re-establishment. When a session is established, a session entry is set up in a database indexed by a session identifier. The suspend facility allows a wireless service provider to change the underlying network bearer resources. The session state is initially maintained using header information in the IP packets identifying source/destination IP addresses and/or source/destination port numbers. However, a subsequent resume request may arrive with a different IP source and port number. If this occurs, a query to a session state database will fail and the session will not be resumed at the previously chosen WAP gateway. Therefore, it is desirable to select a previously chosen WAP gateway in response to a suspend and resume operation.
From the foregoing, it may be apparent that a need has arisen to maintain seamless operation of information transfer between a client and a particular gateway despite suspension of activity between the client and the particular gateway. In accordance with the present invention, a system and method for maintaining seamless session operation are provided that substantially eliminate or greatly reduce disadvantages and problems associated with conventional session operations.
According to an embodiment of the present invention, there is provided a system for maintaining seamless session operation that includes a client that sends a request message within a session. A gateway receives and processes the request message from the client for the session. The gateway provides a reply message to the client in response to the request message. A load balancer assigns the request message to the gateway, the load balancer maintains a record of the session in response to a suspend request from the client. The load balancer re-establishes communications between the client and the gateway according to the record of the session in response to a resume request from the client.
The present invention provides various technical advantages over conventional session operations. For example, one technical advantage is to maintain seamless session operation despite suspension and resumption of the session. Another technical advantage is to provide a capability to identify a particular client and gateway for the session. Yet another technical advantage is to provide session identifier conversion for unique identification of a session. Other technical advantages may be readily apparent to those skilled in the art from the following figures, description, and claims.
For a more complete understanding of the present invention and the advantages thereof, reference is now made to the following description taken in conjunction with the accompanying drawings, wherein like reference numerals represent like parts, in which:
Web server 12 generates a response in the HTML associated with the received WAP traffic request. The response is sent to the appropriate WAP gateway 20 through IP network 22. WAP gateway converts the response from the HTML format to the WML format. WAP gateway passes the response in the WML format to WAP load balancer 18 for transmission to WAP client 14 through air interface 16.
Communications between WAP gateway 20 and WAP mobile client 14 operate according to a session layer protocol such as a Wireless Session Protocol (WSP). WSP allows for sessions to be suspended and resumed. If a session is suspended, WAP load balancer 18 will need to know which WAP gateway 20 to which WAP mobile client 14 was communicating in order to provide a seamless and transparent operation upon the resumption of the session.
At some point in the session, WAP mobile client 14 may desire to temporarily suspend the session for subsequent later resumption. WAP mobile client 14 sends a SUSPEND message that includes the SID for the session. WAP load balancer 18 receives the SUSPEND message with the SID and populates a database to correlate the SID with the assigned WAP gateway 20 for the session. The SUSPEND message is then forwarded to WAP gateway 20 for processing.
Upon desiring to resume a session, WAP mobile client 14 sends a RESUME message with the SID. WAP load balancer receives the RESUME message, looks up the SID in its database to identify the assigned WAP gateway 20, and forwards the RESUME message to the identified WAP gateway 20. WAP gateway 20 may send a CONFIRM message to WAP mobile client 14 through WAP load balancer 18. The previously suspended session between WAP mobile client 14 and the assigned WAP gateway 20 is resumed. REQUEST and REPLY messages may once again flow between WAP mobile client 14 and WAP gateway 20 as if the session had not been suspended. In this manner, WAP mobile client 14 may communicate with the same WAP gateway 20 throughout a session regardless of whether the session is suspended and subsequently resumed. Numerous suspensions may take place in a single session while still providing the capability to connect to the same WAP gateway 20.
Because of the multiple gateway environment, it may be possible for two WAP mobile clients 14 to have sessions ongoing with separate WAP gateways 20 that use the same SID. If both WAP mobile clients 14 suspend their sessions, WAP load balancer 18 may have two entries for a single SID that identify different WAP gateways 20, bringing the possibility that a resumed session from either or both of the WAP mobile clients 14 may not be with the appropriate WAP gateway 20. One technique to avoid this SID collision possibility is to assign a range of SIDs to each WAP gateway 20. For example, a first WAP gateway 20 may only assign SIDs in the range of 00-99 while a second WAP gateway may only assign SIDs in the range of 100-199. This will guarantee that WAP load balancer 18 sees unique SIDs. In order to add other WAP gateways 20, the SID ranges would have to be communicated among the WAP gateways 20 being handled by WAP load balancer 18 through a load balancer specific configuration in each WAP gateway 20. WAP gateways 20 may negotiate among themselves for unique SIDs or each WAP gateway 20 may be separately configured with unique SID ranges.
To avoid having to put some type of WAP load balancer specific configuration in each WAP gateway 20 or to add negotiation and/or configuration support to each WAP gateway 20, WAP load balancer 18 may be configured to translate the SID assigned by WAP gateway 20 for a given session to a unique value so that WAP gateways 20 may continue to use generic SID assignment without worrying about what SIDs other WAP gateways 20 are assigning. Messages between WAP gateways 20 and WAP load balancer 18 will have original SIDs while messages between WAP mobile client 14 and WAP load balancer 18 will have translated SIDs determined by WAP load balancer 18 from the original SIDs. WAP load balancer 18 may perform the conversion between original and translated SIDs using database 19.
Returning to
Thus, it is apparent that there has been provided, in accordance with the present invention, a system and method of maintaining seamless session operation that satisfies the advantages set forth above. Although the present invention has been described in detail, various changes, substitutions, and alterations may be readily ascertainable by those skilled in the art. For example, though described with respect to a wireless environment, the present invention may apply equally to non-wireless environments. Moreover, the conversion from an original SID to a translated SID may be performed in any desired manner that can still identify the serving WAP gateway. Other examples may be readily apparent to those skilled in the art and may be made herein without departing from the spirit and scope of the present invention as defined by the following claims.
Number | Name | Date | Kind |
---|---|---|---|
5303238 | Brodd et al. | Apr 1994 | A |
5835724 | Smith | Nov 1998 | A |
5951694 | Choquier et al. | Sep 1999 | A |
5983281 | Ogle et al. | Nov 1999 | A |
6098093 | Bayeh et al. | Aug 2000 | A |
6199110 | Rizvi et al. | Mar 2001 | B1 |
6223215 | Hunt et al. | Apr 2001 | B1 |
6349337 | Parsons et al. | Feb 2002 | B1 |
6373585 | Mastie et al. | Apr 2002 | B1 |
6374277 | Vong et al. | Apr 2002 | B2 |
6490610 | Rizvi et al. | Dec 2002 | B1 |
6560717 | Scott et al. | May 2003 | B1 |
6718359 | Zisapel et al. | Apr 2004 | B2 |
6760759 | Chan | Jul 2004 | B1 |
6760765 | Asai et al. | Jul 2004 | B1 |
6766373 | Beadle et al. | Jul 2004 | B1 |
6772333 | Brendel | Aug 2004 | B1 |
6779017 | Lamberton et al. | Aug 2004 | B1 |
6785726 | Freeman et al. | Aug 2004 | B1 |
6792463 | Lamberton et al. | Sep 2004 | B1 |
6807580 | Freeman et al. | Oct 2004 | B2 |
6826606 | Freeman et al. | Nov 2004 | B2 |
6873620 | Coveley et al. | Mar 2005 | B1 |
6920502 | Araujo et al. | Jul 2005 | B2 |
6922724 | Freeman et al. | Jul 2005 | B1 |
6947992 | Shachor | Sep 2005 | B1 |
6959436 | Peng | Oct 2005 | B2 |
7003574 | Bahl | Feb 2006 | B1 |