With the advent and explosion of the Internet, computer users have grown accustomed to conveniently accessing virtually any kind of electronic document from virtually any location. In particular, the proliferation of the World Wide Web (the “Web”) and Web browser application programs have made accessing many kinds of documents, such as text and graphics documents, very convenient. Through a Web browser application program, a user can access and view many types of electronic documents without the need for additional software.
When a user accesses a document on a server via the Internet, the server may instigate a session. A session may be defined as the amount of time a user interacts with an application. Stated another way, a session may begin when a user accesses a document and end when the user quits the document. When a session begins, resources are consumed on the server. Such resources may include storage, memory, power or any other resource used to maintain a session. Accordingly, as the number of sessions on a server increases, the available resources on the server decrease.
The present disclosure relates to a system and method for optimizing server resources while providing interaction with documents accessible through the server. In general, the present disclosure allows a user to open and interact with a document without opening a session. Aspects of the present disclosure relate to a computer-implemented method having steps for determining whether a document is static in response to a request to open the document, and opening the document in a sessionless mode when the document is static.
The computer-implemented method of the present disclosure may also include steps for associating a mark with the document when the document is static and opening the document so that session resources are not allocated to the document. Steps may also include determining if a trigger occurs, transitioning to a session mode when a trigger has occurred, and allocating session resources to the document when in a session mode.
Another aspect of the present disclosure includes a computer-readable medium having computer-executable instructions. The instructions include identifying a static document, associating the static document with a sessionless mode, and transitioning from a sessionless mode to a session mode if a trigger has occurred.
Yet another aspect of the present disclosure includes a computer-readable medium having computer-executable components. The components include a document governor component that is arranged to identify whether a document is a static document, and is further arranged to open the file in a sessionless mode when the document is a static document. Components also include a server application component that is associated with the document governor and is arranged to allow user interaction with the document. Components further include a storage component associated with the document governor for storing documents, wherein the storage component includes at least the document.
Embodiments of the present disclosure now will be described more fully hereinafter with reference to the accompanying drawings, which form a part hereof, and which show, by way of illustration, specific exemplary embodiments for practicing the disclosure. This disclosure may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Among other things, the present disclosure may be embodied as methods or devices. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. The following detailed description is, therefore, not to be taken in a limiting sense.
Illustrative Embodiments of a Method and System for Optimizing Server Resources
It is contemplated that a user may have access, via a server, to static documents and dynamic documents. A static document may include data that is always static or does not contain externally dependent data. For example, a static document may include a document that does not rely on, or is not “linked to”, external data such as time, stock quotes, weather, market fluctuations or any other data external to the document that is volatile and requires updating in the document to remain current. In comparison, a dynamic document may include time dependent variables or rely on “links” to external data to remain current. For example, a dynamic document may include a spreadsheet document that automatically updates as the stock marked fluctuates. Such a document may include a formula that “links” the document to current market values and automatically refreshes the document.
Patent application Ser. No. 10/903,568, filed Jul. 30, 2004, titled “METHOD, SYSTEM AND APPARATUS FOR EXPOSING WORKBOOKS AS DATA SOURCES” is incorporated herein by reference to provide one type of detailed exemplary embodiment of a dynamic system that may incorporate a dynamic document. Patent application Ser. No. 10/858,175, filed Jun. 1, 2004, titled “METHOD, SYSTEM AND APPARATUS FOR EXPOSING WORKBOOK RANGES AS DATA SOURCES” is incorporated herein by reference to provide a detailed exemplary embodiment of another type dynamic system that may incorporate a dynamic document. Patent application Ser. No. 10/858,190, filed Jun. 1, 2004, titled “METHOD, SYSTEM, AND APPARATUS FOR DISCOVERING AND CONNECTING TO DATA SOURCES” is incorporated herein by reference to provide a detailed exemplary embodiment of yet another type of dynamic system that may incorporate a dynamic document. The above examples of static documents and dynamic documents are for exemplary purposes only, and other types of static and dynamic documents are contemplated from the disclosure herein. Such documents may include spreadsheet documents, word processing documents, ADOBE documents, Web-based documents, notes or any other document that may maintain a static or dynamic state.
As stated above, a user may have access to Web-based static or dynamic documents via a server. In some situations, when a user accesses a document, the server instigates a session. A session may be defined as an interval of interaction with an application. Stated another way, a session may begin when a user accesses a document and end when the user quits the document. When a session begins, resources are consumed on the server. Such resources may include storage, memory, power or any other resource used to maintain a session. As is more fully set forth herein, the present disclosure contemplates that there are many instances where a user may access a document on a server and interact with the document without starting a session and thereby conserve resources on the server. Such instances may include when a user only navigates or views a document.
With reference to
Client 302 may include a number of program modules and data files stored on Client 302. Client 302 may have a Web browser application that is operative to request, receive, render, and provide interactivity with electronic documents, such as a Web page that has been formatted using HTML. According to one embodiment of the disclosure, the Web browser application comprises the INTERNET EXPLORER Web browser application program from MICROSOFT CORPORATION headquartered in Redmond, Wash. It should be appreciated, however, that other Web browser application programs from other manufactures may be utilized to embody various aspects of the present disclosure, such as the FIREFOX Web browser application from the MOZILLA FOUNDATION headquartered in Mountain View, Calif.
Server application 304 may include any type of server that is capable of access to document governor 308. In one embodiment, server application 304 includes a file share server. It should be appreciated that, according to another embodiment, server application 304 includes a WINDOWS SHAREPOINT SERVER from MICROSOFT CORPORATION. In yet another embodiment of the disclosure, server application 304 includes an EXCEL CALCULATION SERVER program from MICROSOFT CORPORATION. In still another embodiment, server application 304 may be operative to convert a document into HyperText Markup Language (HTML) so that a user may view the document.
Reference number 308 is a document governor. Document governor 308 may include several embodiments. In one embodiment, document governor 308 is an application or program associated with server application 304. In another embodiment, document governor 308 is a Web-based application. In yet another embodiment, document governor is a spreadsheet calculation server. In still another embodiment, document governor 308 includes an EXCEL CALCULATION SERVER program from MICROSOFT CORPORATION. Patent application Ser. No. 10/607,780, filed Jun. 27, 2003, titled “METHOD AND APPARATUS FOR VIEWING AND INTERACTING WITH A SPREADSHEET FROM WITHIN A BROWSER” is incorporated herein by reference to provide a detailed embodiment of one type of document governor 308.
Reference numbers 310 and 312 indicate a static document storage and a dynamic document storage, respectively. Even though storages 310 and 312 are depicted as separate storages, it is well within the scope of the present disclosure that storages 310 and 312 are a single storage. Also, storages 310 and 312 may be external or internal to document governor 308. In another embodiment, storages 310 and 312 include a memory associated with document governor 308.
In one aspect of the present disclosure, static documents are marked to indicate that the documents are static or in the alternative a dynamic document may be marked to indicate that the document is dynamic. As an example of a static document mark, when the document is initially saved, a user may have a save option that saves the document as a static document. In another embodiment, document governor 308 includes a save program that identifies whether or not a document contains dynamic material. If the document does not contain dynamic material, the document is saved as a static document. In still another embodiment, when the document is loaded, document governor 308 may identify dynamic functions in the document and then mark the document as static if no dynamic functions exist. Again, such dynamic functions may include external data queries, NOW functions, volatile functions or user defined functions. The mark that identifies a document as static may include any type of mark useful for indicating an attribute of a document. Such marks may include a flag, a header, a footer, metadata or other indicator.
Reference number 314 indicates a sessionless mode. As indicated by system 300, a static document (or marked document) may be opened in a sessionless mode. In a sessionless mode, resources that would be used to open a document in a session mode are freed for use by other components of system 300. Stated another way, the resources that would normally be allocated to the static document in a session mode are recycled so that they may be reallocated to thereby improve efficiency of system 300. In another embodiment, resources of document governor 308 remain associated with the document when the document is in a sessionless mode. System 300 may utilize the resources until a trigger occurs, as more fully defined below. The trigger reallocates the resources back to the static document and instigates a session for the document.
As stated, a static document may remain in a sessionless mode until a trigger occurs. A trigger is any event that takes place that requires resources to be reallocated back to the static document and puts the static document into session mode 316. In one exemplary embodiment, a non-trigger may include a navigation input. Such a navigation input may include scrolling the static document, paging, a find command, a GOTO command, changing document sheets, or moving around the document. In accordance with one aspect of the present disclosure, triggers may include, a filter command, sort command, a refresh command, a recalculation command, a get command or any other command that prompts a change of values within the document. It is further contemplated that the trigger may be a user defined trigger or a trigger may be a default so that a static document automatically enters session mode 316 upon opening. Any input that requires a session to be instigated may be a trigger and any input that does not require a session to be open may be a non-trigger.
Reference number 316 indicates a session mode. When a document is in session mode 316, the resources allocated to the document may not be accessible by other components of system 300. Stated another way, the resources may not be free when a session has occurred. In one embodiment, a document is reopened in a session mode once a trigger takes place. In another embodiment, the document is assigned a session identification once a session occurs. In yet another embodiment, dynamic documents are opened in a session mode despite the option to open in a sessionless mode. As is evident from system 300, resources are optimized on system 300 by providing and maintaining documents for client 302 with sessionless modes.
Set forth below, in light of
If the document is static, however, the document is opened in sessionless mode 314. While in a sessionless mode, resources that would be associated with a session are recycled (freed) so that system 300 may utilize these resources. Also, a client may view, navigate or otherwise traverse the document while in a sessionless mode without instigating a session. If client 302 inputs a trigger, the sessionless mode ends and the resources are reallocated to a session mode. Once in session mode 316, the resources allocated to the document are not accessible by other components to system 300. In accordance with aspects of the present disclosure, sessionless mode 314, session mode 316 and traversing between sessionless mode 314 and session mode 316, is seamless to client 302. Stated another way, the mode of the document or whether the document has moved between sessionless mode 314 and session mode 316 is transparent to client 302.
At block 406, a determination is made whether the requested document is static. In one embodiment of the present disclosure, a mark is associated with a static document when the document is saved. In such a situation, a static document is identified by this mark. In another embodiment of the present disclosure, a static document is marked after a request occurs. When the document is loaded, the document governor may search the document for dynamic functions and then mark the document as static if no dynamic functions exist. If the document is dynamic, a session is opened as indicated by block 408 and the process ends at end block 416.
In the situation where the requested document is static, the process 400 flows to block 410 where the document is opened in a sessionless mode. In a sessionless mode, resources that would be used to open a document in a session mode are freed for use. The resources that are normally allocated to the static document in a session mode are recycled. These resources may then be reallocated to improve efficiency and optimize resource allocation.
The document remains in a sessionless mode while the client interacts with the document using non-triggers. In one embodiment, a non-trigger may include a navigation input or a view input. Such a navigation input may include scrolling the static document, paging, a find command, a GOTO command, changing document sheets, or moving around the document. A non-trigger may include any type of input that does not require resources to be allocated to the document and a session to occur.
At block 412, the process 400 determines if a client has entered a trigger. As stated above, triggers may include, a filter command, sort command, a refresh command, a recalculation command, a get command or any other command that prompts a change of values within the document. A trigger may also be a user-defined trigger or a trigger may be a default so that a static document automatically enters a session mode upon opening. Any input that requires a session to be instigated may be a trigger. If the user does enter a trigger, the process 400 flows to block 414 where a session is instigated. If the document was in a sessionless mode, the sessionless mode ceases and a session occurs. In such a situation, resources that were free during the sessionless mode are reallocated to the document in the session mode. In one embodiment of the present disclosure, a document is reopened in a session mode once a trigger takes place.
If a client does not enter a trigger the process 400 flows to end block 416 where the client quits the document. As is evident from the above, resource allocation is optimized while a document is in a sessionless mode because resources that are not necessary for a client to view and navigate a document may be freed for other uses. Also, resources are allocated, reallocated, freed or recycled seamlessly. Stated another way, a client's experience is not hindered or interrupted by the optimization of resources.
Illustrative Operating Environment
Referring to
Computing device 100 may also have additional features or functionality. For example, computing device 100 may also include additional data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape. Such additional storage is illustrated in
Computing device 100 also contains communications connection(s) 116 that allow the device to communicate with other computing devices 118, such as over a network or a wireless mesh network. Communications connection(s) 116 is an example of communication media. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. The term computer readable media as used herein includes both storage media and communication media.
One or more application programs 266 are loaded into memory 262 and run on the operating system 264. Examples of application programs include phone dialer programs, email programs, scheduling programs, PIM (personal information management) programs, word processing programs, spreadsheet programs, Internet browser programs, and so forth. The mobile computing device 200 also includes non-volatile storage 268 within the memory 262. The non-volatile storage 268 may be used to store persistent information which should not be lost if the mobile computing device 200 is powered down. The applications 266 may use and store information in the storage 268, such as e-mail or other messages used by an e-mail application, contact information used by a PIM, appointment information used by a scheduling program, documents used by a word processing application, and the like. In one embodiment, applications 266 further include an application 280 for communicating with a network.
The mobile computing device 200 has a power supply 270, which may be implemented as one or more batteries. The power supply 270 might further include an external power source, such as an AC adapter or a powered docking cradle that supplements or recharges the batteries.
The mobile computing device 200 is shown with two types of external notification mechanisms: an LED 240 and an audio interface 274. These devices may be directly coupled to the power supply 270 so that when activated, they remain on for a duration dictated by the notification mechanism even though the processor 260 and other components might shut down to conserve battery power. The LED 240 may be programmed to remain on indefinitely until the user takes action to indicate the powered-on status of the device. The audio interface 274 is used to provide audible signals to and receive audible signals from the user. For example, the audio interface 274 may be coupled to a speaker for providing audible output and to a microphone for receiving audible input, such as to facilitate a telephone conversation.
The mobile computing device 200 also includes a radio interface layer 272 that performs the function of transmitting and receiving communications, such as radio frequency communications. The radio interface layer 272 facilitates wireless connectivity between the mobile computing device 200 and the outside world, via a communications carrier or service provider. Transmissions to and from the radio interface layer 272 are conducted under control of the operating system 264. In other words, communications received by the radio interface layer 272 may be disseminated to application programs 266 via the operating system 264, and vice versa.
The above specification, examples and data provide a complete description of the manufacture and use of the composition of the disclosure. Since many embodiments of the disclosure can be made without departing from the spirit and scope of the disclosure, the invention resides in the claims hereinafter appended.
This application is a continuation of application Ser. No. 11/015,230, filed Dec. 17, 2004. The benefit of the earlier filing date is hereby claimed under 35 U.S.C. §120.
Number | Name | Date | Kind |
---|---|---|---|
6330561 | Cohen et al. | Dec 2001 | B1 |
6879999 | Elnozahy | Apr 2005 | B2 |
6978298 | Kuehr-McLaren | Dec 2005 | B1 |
7171443 | Tiemann et al. | Jan 2007 | B2 |
7673050 | Battagin et al. | Mar 2010 | B2 |
20020129123 | Johnson et al. | Sep 2002 | A1 |
20020178253 | Sedlack | Nov 2002 | A1 |
20030023766 | Elnozahy | Jan 2003 | A1 |
20030145101 | Mitchell et al. | Jul 2003 | A1 |
20040128346 | Melamed et al. | Jul 2004 | A1 |
20050015765 | Covell et al. | Jan 2005 | A1 |
20050177635 | Schmidt et al. | Aug 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
20100077081 A1 | Mar 2010 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11015230 | Dec 2004 | US |
Child | 12629154 | US |