Time-out management for session dependent applications

Information

  • Patent Application
  • 20060080383
  • Publication Number
    20060080383
  • Date Filed
    July 19, 2004
    19 years ago
  • Date Published
    April 13, 2006
    18 years ago
Abstract
A method, system and apparatus for time-out management for session-dependent applications. A time-out management system can include one or more of pages defining a session-dependent application. The system further can include a server-side time-out manager configured for use in a content server in detecting a time-out condition in the session-dependent application when the session-dependent application has been distributed to a content client. Finally, the system can include at least one client-side time-out manager configured to detect activity for the session-dependent application and to notify the content server when activity is detected in the session-dependent application when the session-dependent application has been distributed to the content client.
Description
BACKGROUND OF THE INVENTION

1. Statement of the Technical Field


The present invention relates to session dependent applications, and more particularly to time-out management for session dependent applications.


2. Description of the Related Art


Prior to the advent of the global Internet, distributed applications were difficult and expensive to deploy and maintain. Specifically, heavyweight clients were configured for proprietary interoperation with backend servers over private communications networks. Modifications to the operating logic of distributed applications often required wholesale changes both to the clients and the servers in the client-server environment. Scalability often became stifled by the nature of the distributed application, the limitations of a proprietary network and the costs of maintaining application specific clients. Accordingly, the ubiquity of the distributed application became a reality only in consequence of the efficient nature of the global Internet and presently established hypermedia document distribution technologies.


The World Wide Web (hereinafter, the “Web”), the most prevalent implementation of a hypermedia document distribution technology, provides an ideal platform for delivering cost effective application logic with unlimited scalability and marginal client side requirements. In most cases, a simple Web browser can suffice as a lightweight client portion of a distributed application. The bulk of the logic of an application can be delivered either as part of a Web page, or the logic of the application can be hosted centrally in the server and accessed and controlled by embedded logic in a Web page. Recent advances in portable programming language interpretation and execution, including Java-type technologies permit further sophistication in regard to distributed applications such that there is little which can be accomplished using a traditional client-server architecture which cannot also be accomplished in a Web based application.


Nevertheless, human factors challenges remain in respect to the distribution of a Web application. For many, the Web has created a user experience that is considered a step backward from what existed previously in the client-server world. In the client-server world, clients enjoyed arbitrary richness as provided by the hosting graphical user interface-based operating system. Even though Web interfaces appear to be quite graphical in nature, the actual interactivity model for Web based applications remains restrictive at best. The perceptible performance gap resulting from full screen refreshes have been an issue for some time. Accordingly, great attention has been paid to closing the performance gap between traditional client-server user interface technology and Web application user interface technology.


One popular technique used to close the perceptible performance gap for the Web application includes the notion of “making pages last longer”. In this regard, distributed Web pages incorporate substantial logic and data in a model-view-controller arrangement so as to avoid more frequent page updates which otherwise would be required where the data and logic of an application remains fixed in a centralized server. Still, limiting the interactions between the content browser and content server, maintaining session state in session-dependent stateful Web application can be difficult. Specifically, many session dependent Web applications determine when a session has gone “stale” by detecting a time-out condition in the application. Generally, a time-out condition arises where no activity has been detected by the server over a threshold period of time. Accordingly, reconciling the contrasting requirements of a long-lasting Web page and frequent client activity can be difficult under the circumstance.


SUMMARY OF THE INVENTION

The present invention addresses the deficiencies of the art in respect to time-out management in a session dependent application and provides a novel and non-obvious method, system and apparatus for time-out management for session-dependent applications. In a preferred aspect of the present invention, a time-out management system can include one or more of pages defining a session-dependent application. The system further can include a server-side time-out manager configured for use in a content server in detecting a time-out condition in the session-dependent application when the session-dependent application has been distributed to a content client. Finally, the system can include at least one client-side time-out manager configured to detect activity for the session-dependent application and to notify the content server when activity is detected in the session-dependent application when the session-dependent application has been distributed to the content client.


The client-side time-out manager can be configured for distribution to the content clients as part of the pages. In this regard, the client-side time-out manager can be defined as a server page for use along with a composition of pages rendered in the content client. Finally, the client-side time-out manager can be configured to detect activity for the session-dependent application and to ping the content server when activity is detected in the session-dependent application when the session-dependent application has been distributed to the content client.


A time-out management method can include the step of listening for activity in association with a session dependent application rendered in a client-side content browser. Responsive to detecting the activity within a pre-specified client-side time-out interval, a content server host of the session dependent application can be notified to maintain a session between the client-side content browser and the content server host. Preferably, the method also can include determining a time-out condition in the client-side content browser and rendering a prompt to continue the session. If a response to the prompt is detected, the content server host can be notified to maintain the session. In this regard, the notification can be performed responsive to detecting one of mouse movement, a mouse click or a keyboard stroke in the client-side content browser within the pre-specified client-side time-out interval.


Additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The aspects of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.




BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention. The embodiments illustrated herein are presently preferred, it being understood, however, that the invention is not limited to the precise arrangements and instrumentalities shown, wherein:



FIG. 1 is a schematic illustration of a system hosting a session dependent application configured for time-out management in accordance with the present invention; and,



FIG. 2 is a flow chart illustrating a process for time-out management in a session dependent application in the system of FIG. 1.




DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

The present invention is a method, system and apparatus for time-out management in a session dependent application. In accordance with the present invention, a client-side time-out manager can be disposed in content distributed to a content browser from a content server as part of a session dependent application. The client-side time-out manager can monitor activity occurring in the session dependent application resident in the client or in association with the session dependent application resident in the client. So long as activity is detected within a client-side time-out interval, a notification can be transmitted to a server-side time-out manager so as to ensure that the server-side time-out manager will not declare a time-out condition in the client for a session established between the client and server.


In more particular illustration, FIG. 1 is a schematic illustration of a system hosting a session dependent application configured for time-out management in accordance with the present invention. The system can include a content server 130 communicatively coupled to one or more content browsing clients 110 over a data communications network 120 such as the global Internet. The content server 130 can include a distributed, session-dependent application defined by one or more content pages 150. For example, the content pages 150 can be Web pages containing markup defining user interface elements, data elements and logic elements.


A data store of session data 140 further can be included in the content server 130. The data store of session data 140 can store session related data for individual ones of the content clients 110 generated in the course of maintaining application sessions with the content clients 110. Finally, one or more server-side time out management processes 160 can be included within the server 130. Each server-side time-out management process 160 can track activity in content clients 110 which participate in a session with the content server 130. When no activity can be detected in a content client 110 engaged in a session with the content server 130 during a specified time-out interval, the session with the content client 110 can be terminated.


Importantly, the content clients 110 can process retrieved pages 180 from the content server 130 to render the user interface 190C of the session dependent application. Optionally, the pages 180 further can define application data 190A and application logic 190B which can be processed in the content clients 110. Notably, the pages 180 further can define a client-side time-out management process 170. The client-side time out management process 170 can track activity within corresponding ones of the content clients 110 to detect idleness over the course of a client-side time-out interval. Preferably, the client-side time-out interval can be of a shorter duration than the server-side time-out duration relied upon by the server-side time-out management process 160.


So long as the client-side time-out management process 170 detects activity in association with the session-dependent application, for example mouse movement, mouse click, or a keyboard stroke, the client-side time-out management process 170 can spoof client-side activity for the benefit of the content server 130. In this regard, the client-side time-out management process 170 can transmit a notification to the content server 130 which can indicate activity to the server-side time-out management process 160. Otherwise, the client-side time-out management process 170 can allow the session between the content client 110 and the content server 130 to lapse through inactivity and the natural operation of the server-side time-out management process 160.


In more particular illustration of a preferred aspect of the present invention, FIG. 2 is a flow chart illustrating a process for time-out management in a session dependent application in the system of FIG. 1. Beginning in block 210, upon the distribution of a page of a session-dependent application to a content browser within a content client, a client-side time-out manager can be activated. Preferably, the client-side time-out manager can be a server page loaded into a frame within a composition of pages in the content browser. In block 220, the client-side time-out manager can listen for activity in the content browser.


In decision block 230, if activity is detected in the content browser, in block 240 the client-side time-out manager can ping the content server to indicate activity in the content server. Subsequently, in block 220 the client-side time-out manager can continue to listen for activity in the content browser. If, however, in decision block 230 no activity is detected in the content browser during a client-side time-out interval, in block 250 the client-side time-out manager can generate a prompt for activity. If a response to the prompt is detected, once again in block 240 the content server can be pinged. Otherwise, in block 270 a notification can be generated specifying the lapsing of the session and in block 280 the process can end.


The present invention can be realized in hardware, software, or a combination of hardware and software. An implementation of the method and system of the present invention can be realized in a centralized fashion in one computer system, or in a distributed fashion where different elements are spread across several interconnected computer systems. Any kind of computer system, or other apparatus adapted for carrying out the methods described herein, is suited to perform the functions described herein.


A typical combination of hardware and software could be a general purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein. The present invention can also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which, when loaded in a computer system is able to carry out these methods.


Computer program or application in the present context means any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of the following a) conversion to another language, code or notation; b) reproduction in a different material form. Significantly, this invention can be embodied in other specific forms without departing from the spirit or essential attributes thereof, and accordingly, reference should be had to the following claims, rather than to the foregoing specification, as indicating the scope of the invention.

Claims
  • 1. A time-out management system comprising: a plurality of pages defining a session-dependent application; a server-side time-out manager configured for use in a content server in detecting a time-out condition in said session-dependent application when said session-dependent application has been distributed to a content client; and, at least one client-side time-out manager configured to detect activity for said session-dependent application and to notify said content server when activity is detected in said session-dependent application when said session-dependent application has been distributed to said content client.
  • 2. The system of claim 1, wherein said at least one client-side time-out manager is configured for distribution to said content clients as part of said pages.
  • 3. The system of claim 2, wherein said at least one client-side time-out manager is defined as a server page for use along with a composition of pages rendered in said content client.
  • 4. The system of claim 1, wherein said at least one client-side time-out manager is configured to detect activity for said session-dependent application and to ping said content server when activity is detected in said session-dependent application when said session-dependent application has been distributed to said content client.
  • 5. A time-out management method comprising the steps of: listening for activity in association with a session dependent application rendered in a client-side content browser; and, responsive to detecting said activity within a pre-specified client-side time-out interval, notifying a content server host of said session dependent application to maintain a session between said client-side content browser and said content server host.
  • 6. The method of claim 5, further comprising the steps of: determining a time-out condition in said client-side content browser; rendering a prompt to continue said session; and, notifying said content server host to maintain said session if a response to said prompt is detected.
  • 7. The method of claim 5, further comprising the step of establishing said time-out interval to be less than a time-out interval defined for said content server.
  • 8. The method of claim 5, further comprising the step of performing said listening and notifying steps in a server page aggregated with other pages in a composition of pages in said client-side content browser.
  • 9. The method of claim 5, wherein said notifying step comprises the step of, responsive to detecting one of mouse movement, a mouse click or a keyboard stroke in said client-side content browser within a pre-specified client-side time-out interval, notifying a content server host of said session dependent application to maintain a session between said client-side content browser and said content server host.
  • 10. A machine readable storage having stored thereon a computer program for time-out management, the computer program comprising a routine set of instructions which when executed by a machine cause the machine to perform the steps of: listening for activity in association with a session dependent application rendered in a client-side content browser; and, responsive to detecting said activity within a pre-specified client-side time-out interval, notifying a content server host of said session dependent application to maintain a session between said client-side content browser and said content server host.
  • 11. The machine readable storage of claim 10, further comprising a routine set of instructions for causing the machine to perform the steps of: determining a time-out condition in said client-side content browser; rendering a prompt to continue said session; and, notifying said content server host to maintain said session if a response to said prompt is detected.
  • 12. The machine readable storage of claim 10, further comprising a routine set of instructions for causing the machine to perform the step of establishing said time-out interval to be less than a time-out interval defined for said content server.
  • 13. The machine readable storage of claim 10, further comprising a routine set of instructions for causing the machine to perform the step of performing said listening and notifying steps in a server page aggregated with other pages in a composition of pages in said client-side content browser.
  • 14. The machine readable storage of claim 10, wherein said notifying step comprises the step of, responsive to detecting one of mouse movement, a mouse click or a keyboard stroke in said client-side content browser within a pre-specified client-side time-out interval, notifying a content server host of said session dependent application to maintain a session between said client-side content browser and said content server host.