With conventional client-server applications, it is difficult to maintain good server health because of increased server load. The increased server load is caused by many client applications all frequently communicating with the server. Each client application may often want to communicate with the server as frequently as possible without regard for the impact such frequent communication may have on the server. Consequently, the server may be overwhelmed, potentially resulting in poor client-server interaction.
This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter. Nor is this Summary intended to be used to limit the claimed subject matter's scope.
Client-server interaction frequency control may be provided. First, a collaborative electronic document may be loaded at a client device in a document collaboration session. The client device may then request a client-server interaction with a server hosting the collaboration session. Next, the client may receive input from the server indicating a state of the server. This input may then be used by the client device to adjust a rate at which the requested client-server interaction may occur.
Both the foregoing general description and the following detailed description provide examples and are explanatory only. Accordingly, the foregoing general description and the following detailed description should not be considered to be restrictive. Further, features or variations may be provided in addition to those set forth herein. For example, embodiments may be directed to various feature combinations and sub-combinations described in the detailed description.
The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate various embodiments of the present invention. In the drawings:
The following detailed description refers to the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the following description to refer to the same or similar elements. While embodiments of the invention may be described, modifications, adaptations, and other implementations are possible. For example, substitutions, additions, or modifications may be made to the elements illustrated in the drawings, and the methods described herein may be modified by substituting, reordering, or adding stages to the disclosed methods. Accordingly, the following detailed description does not limit the invention. Instead, the proper scope of the invention is defined by the appended claims.
As will be described in greater detail below, these requests may be limited in frequency based on various variables associated with document, client, and server status. Though client 105 may be referenced without also referencing clients 110, according to various embodiments of the invention, any operation or function that may be performed by or available to client 105 may also be performed by and available to clients 110.
Consistent with embodiments of the invention, a client-server request may correspond to any client-to-server interaction in which client 105 requests to receive information from or provide information to server 120. One such client-server interaction may be a request made by client 105 to, for example, receive or provide information associated with collaborative electronic document 115. Collaborative electronic document 115 may be any electronic document that may be, for example, created, edited, and viewed by client 105 and clients 110 via server 120. Furthermore, consistent with embodiments of the invention, collaborative electronic document 115 is not limited to being a document and may comprise any type file.
Supporting information may be needed by both client 105 and server 120 to ensure that collaborative electronic document 115 is in a proper collaborative state for client-editing. Provision of this information may be facilitated through, for example, metadata uploading, update checking and downloading, and collaboration status checking.
Consistent with embodiments of the invention, metadata uploading, update checking and downloading, and collaboration status checking may each comprise client-server interactions used to support document collaboration. These client-server interactions may comprise a communication from client 105 to server 120 for receiving or providing the supporting information employed in operating on collaborative electronic document 115. According to various embodiments, such client-server interactions may be known as client-server ‘requests’, though these client-server interactions are not limited to requests made from client 105 to server 120.
Embodiments of the invention may comprise several client-server request types. A first client-server request type may comprise a ‘Metadata Upload’ interaction. This first client-server interaction may provide, for example, server 120 with information about which client is editing collaborative electronic document 115 and at which point within collaborative electronic document 115 the editing is taking place. This editing information may be uploaded to server 120 whenever a user starts editing collaborative electronic document 115.
A second client-server request type consistent with embodiments of the invention may comprise an ‘Update Check and Download’ interaction. This second client-server interaction may be employed in, for example, determining if any new collaborative data is available on server 120 for collaborative electronic document 115. The collaborative data may be, for example, but not limited to, collaborative electronic document 115 metadata provided by to server 120 through the first client-server request type from any of the clients collaborating on document 115. In turn, if it is determined that the new collaborative data is available on server 120, the new collaborative data may be downloaded by the requesting client and used to update a collaborative document state at the requesting client.
A third client-server request type consistent with embodiments of the invention may comprise a “Get Collaboration Status” interaction. This third client-server interaction may be employed in, for example, determining an amount of clients collaborating on collaborative electronic document 115. In embodiments of the invention, this client-server interaction may occur in conjunction with the ‘Update Check and Download’ client-server interaction.
Consistent with embodiments of the invention, the aforementioned client-server request types and interactions are only a few of several client-server communications that may be employed in collaborative document provision. Embodiments of the invention may employ various other client-server interactions for providing document collaboration.
Client-server requests consistent with embodiments of the invention may be ‘on-demand’ requests or repeated requests scheduled via, for example, a request sync scheduler. An on-demand request may comprise a client-server interaction initiated by client 105 in response to an action on client 105. The action may comprise, for example, an edit to collaborative electronic document 115 or any other action pertaining to collaborative electronic document 115 or a state thereof. A repeatable request may comprise a scheduled client-server interaction set to occur repeatedly on a regular cycle.
In accordance to embodiments of the invention, both on-demand and repeated request frequency may be dynamically controlled based on various control variables. These variables may be provided by either client 105 or sever 120 and may be employed in determining a frequency of client-server interaction. These variables may provide information regarding:
Consistent with embodiments of the invention, the aforementioned control variables are only a few of several control variables that may be employed in collaborative document provision. Embodiments of the invention may employ various other control variables for providing client-interaction frequency adjustment.
Dynamic client-server interaction frequency control may also be known as gating. Consistent with embodiments of the invention, on-demand client requests may be gated based on the indications provided by control variables. For example, if client 105 is requesting to upload data to sever 120 every second while at least one control variable indicates that client-server communication should not occur more frequently than every 30 seconds, then client 105 may be denied sending such requests to server 120 until 30 seconds have passed from the point of the initial client request. Should on-demand requests continue to be made during the 30 second period of request denial, embodiments of the invention may buffer the on-demand requests into a client-side ‘batch’ of requests and execute the client-server interactions associated with the ‘batch’ once the 30 second period has passed. In this way, server 120 will not be continuously flooded with client-server requests and receive the requests in batches.
Similarly, for repeatable requests, control variables may be used to calculate and modify request cycle frequency. In various embodiments of the invention, cycle frequency modification may occur by modifying the request cycle frequency set by, for example, the request sync scheduler on client 105, thereby allowing for the request cycle frequency to be set and modified. For example, if client 105 is scheduled to check for updates every 30 seconds while a server health status variable begins to indicate stronger server health, the request cycle frequency may be increased so as to cause the check for updates to occur every 10 seconds. Client-server request gating will be described in greater detail with reference to
The server health status and its corresponding effect on the metadata upload gating period may be illustrated by Table 200a. Table 200a comprises Column 205a representing a server health status integer and Column 210a representing the metadata upload gating period in seconds. As represented by Table 200a, when the server health status integer increases, indicating weaker server health, the metadata upload period may also increase. In this way, metadata upload requests sent from clients 105 to servers 120 may decrease in frequency when server health status variable indicates that server 120 is bearing a greater load.
Table 200b illustrates the session state variable and its corresponding effect on the metadata upload gating period. Table 200b comprises Column 205b representing a number of clients co-authoring collaborative electronic document 115 and Column 210b representing the metadata upload gating period in seconds. As previously mentioned, the session state variable may indicate a number of clients collaborating on collaborative electronic document 115 over server 120. As represented by Table 200b, when the number of clients co-authoring collaborative electronic document 115 increases, the metadata upload gating period may also increase. In this way, metadata upload requests sent from client 105 to servers 120 may decrease in frequency in response to an increasing amount of clients co-authoring collaborative electronic document 115. The decrease in frequency may account for the increased client-server interactions server 120 would need to handle for each additional client in communication with server 120.
Consistent with embodiments of the invention, update check, download, and collaboration session status request gating periods may also be adjusted based on client state variables. As discussed above, the client status variables may indicate whether collaborative electronic document 115 is running in a ‘background’ state on client 105 and whether client 105 is at an ‘idle’ state. In various embodiments, if the client state indicates that collaborative electronic document 115 is running the ‘background’ state, the update check, download, and collaboration session status request gating periods may be decreased. Similarly, if the client state indicates that client 105 is in the ‘idle’ state, the update check, download, and collaboration session status request gating periods may be again decreased.
The aforementioned description refers to gating as a control of client-server interaction frequency. Accordingly, the term ‘gating period’ as used herein may apply to both a period of time in between repeatable requests and a period of time for which on-demand requests are withheld from server communication.
Method 400 may begin at starting block 405 and proceed to stage 410 where computing device 500 may load a collaborative electronic document 115. Collaborative electronic document 115 may be hosted on server 120 in a document collaboration session comprising clients 110.
From stage 410, where computing device 500 loads collaborative electronic document 115, method 400 may advance to stage 420 where computing device 500 may request to communicate with server 120. For example, computing device 500 may request to communicate with server 120 in order to update a state of collaborative electronic document 115. As detailed with reference to
Once computing device 500 communicates with server 120 stage 420, method 400 may continue to stage 430 where computing device 500 may receive input from server 120. The received input may comprise, for example, variables for adjusting client-server interaction frequency, such as server health status information and collaborative session status information. The received input may be analyzed to determine an appropriate client-server interaction frequency.
After computing device 500 receives the input from server 120 in stage 430, method 400 may proceed to stage 440 where computing device 500 may adjust a client-server interaction rate. For example, client-server interaction rate adjustment may comprise client-interaction frequency adjustment for repeatable requests and gating period adjustment for on-demand requests.
As mentioned above, the gating period may be a period of time for which the client-server interactions may not occur. This period may be determined by, for example, analyzing the received input from server 120, as well as local variables reflecting a state of collaborative electronic document 115 and an activity state of computing device 500. In addition, the nature of the server communication, such as the request type discussed above, may also be an analyzed factor in determining the gating period. For repeatable, or scheduled, requests, the gating period may be a period of time in between scheduled client-server interactions. Thus, changes to the gating period may result in changes to a frequency of the repeatable requests. For on-demand requests, the gating period may be a period of time an on-demand request is withheld or buffered as further detailed below.
Consistent with embodiments of the invention, once the gating period is determined, the server communication request may be withheld for a duration of the determined gating period. During this gating period, computing device 500 may buffer the server communication request, as well as any subsequent request made during the gating period, into ‘batches’. When the gating period expires, the computing device 500 may perform the client-server interactions buffered into the ‘batches’ during the gating period. Once computing device 500 adjusts the rate of the requested server communication in stage 440, method 400 may then end at stage 450.
An embodiment consistent with the invention may comprise a system for controlling client-server interaction frequency. The system may comprise a memory storage and a processing unit coupled to the memory storage. The processing unit may be operative to loading a collaborative electronic document in a document collaboration session, request to communicate with a server hosting the collaboration session through a client-server interaction, receive input from the server for determining a gating period, and adjust a rate of the requested client-server interaction.
Another embodiment consistent with the invention may comprise a system for providing controlling client-server interaction frequency. The system may comprise a memory storage and a processing unit coupled to the memory storage. The processing unit may be operative to load a collaborative electronic document on a client device, request to interact with a server hosting a document collaboration session associated with the collaborative electronic document, receive input from the server comprising at least one of the following: a state of the server and a state of the document collaboration session, determine a gating period based on at least one of the following: the received input from the server, a state of the client device, and a state of the collaborative electronic document loaded on the client device, and gate the requested server interaction for a duration of the gating period.
Yet another embodiment consistent with the invention may comprise a system for controlling client-server interaction frequency. The system may comprise a memory storage and a processing unit coupled to the memory storage. The processing unit may be operative to load a collaborative electronic document associated with a document collaboration session, schedule a reoccurring server interaction rate associated with updating a state of the collaborative electronic document, request to interact with a server at the scheduled rate, analyze at least one variable employed in adjusting the scheduled rate, adjust the scheduled reoccurring server interaction rate, and request to interact with the server at the adjusted server interaction rate.
With reference to
Computing device 500 may have additional features or functionality. For example, computing device 500 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 500 may also contain a communication connection 516 that may allow device 500 to communicate with other computing devices 518, such as over a network in a distributed computing environment, for example, an intranet or the Internet. Communication connection 516 is one example of communication media. Communication media may typically be embodied by 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” may describe a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media may include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared, and other wireless media. The term computer readable media as used herein may include both storage media and communication media.
As stated above, a number of program modules and data files may be stored in system memory 504, including operating system 505. While executing on processing unit 502, programming modules 506 (e.g. collaborative document editing application 520) may perform processes including, for example, one or more method 400's stages as described above. The aforementioned process is an example, and processing unit 502 may perform other processes. Other programming modules that may be used in accordance with embodiments of the present invention may include electronic mail and contacts applications, word processing applications, spreadsheet applications, database applications, slide presentation applications, drawing or computer-aided application programs, etc.
Generally, consistent with embodiments of the invention, program modules may include routines, programs, components, data structures, and other types of structures that may perform particular tasks or that may implement particular abstract data types. Moreover, embodiments of the invention may be practiced with other computer system configurations, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. Embodiments of the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote memory storage devices.
Furthermore, embodiments of the invention may be practiced in an electrical circuit comprising discrete electronic elements, packaged or integrated electronic chips containing logic gates, a circuit utilizing a microprocessor, or on a single chip containing electronic elements or microprocessors. Embodiments of the invention may also be practiced using other technologies capable of performing logical operations such as, for example, AND, OR, and NOT, including but not limited to mechanical, optical, fluidic, and quantum technologies. In addition, embodiments of the invention may be practiced within a general purpose computer or in any other circuits or systems.
Embodiments of the invention, for example, may be implemented as a computer process (method), a computing system, or as an article of manufacture, such as a computer program product or computer readable media. The computer program product may be a computer storage media readable by a computer system and encoding a computer program of instructions for executing a computer process. The computer program product may also be a propagated signal on a carrier readable by a computing system and encoding a computer program of instructions for executing a computer process. Accordingly, the present invention may be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). In other words, embodiments of the present invention may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. A computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The computer-usable or computer-readable medium may be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. More specific computer-readable medium examples (a non-exhaustive list), the computer-readable medium may include the following: an electrical connection having one or more wires, a portable computer diskette, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, and a portable compact disc read-only memory (CD-ROM). Note that the computer-usable or computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted, or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
Embodiments of the present invention, for example, are described above with reference to block diagrams and/or operational illustrations of methods, systems, and computer program products according to embodiments of the invention. The functions/acts noted in the blocks may occur out of the order as shown in any flowchart. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
While certain embodiments of the invention have been described, other embodiments may exist. Furthermore, although embodiments of the present invention have been described as being associated with data stored in memory and other storage mediums, data can also be stored on or read from other types of computer-readable media, such as secondary storage devices, like hard disks, floppy disks, or a CD-ROM, a carrier wave from the Internet, or other forms of RAM or ROM. Further, the disclosed methods' stages may be modified in any manner, including by reordering stages and/or inserting or deleting stages, without departing from the invention.
All rights including copyrights in the code included herein are vested in and the property of the Applicant. The Applicant retains and reserves all rights in the code included herein, and grants permission to reproduce the material only in connection with reproduction of the granted patent and for no other purpose.
While the specification includes examples, the invention's scope is indicated by the following claims. Furthermore, while the specification has been described in language specific to structural features and/or methodological acts, the claims are not limited to the features or acts described above. Rather, the specific features and acts described above are disclosed as example for embodiments of the invention.
Number | Name | Date | Kind |
---|---|---|---|
5664106 | Caccavale | Sep 1997 | A |
6330566 | Durham | Dec 2001 | B1 |
6532368 | Hild et al. | Mar 2003 | B1 |
6662230 | Eichstaedt et al. | Dec 2003 | B1 |
6664978 | Kekic et al. | Dec 2003 | B1 |
6684252 | Chow | Jan 2004 | B1 |
6687878 | Eintracht et al. | Feb 2004 | B1 |
6925484 | Fujimori et al. | Aug 2005 | B2 |
6941341 | Logston et al. | Sep 2005 | B2 |
7079546 | Krishnan | Jul 2006 | B2 |
7130883 | Zhu et al. | Oct 2006 | B2 |
7136062 | Butler | Nov 2006 | B1 |
7222305 | Teplov et al. | May 2007 | B2 |
7460556 | Duggirala et al. | Dec 2008 | B2 |
7630862 | Glas et al. | Dec 2009 | B2 |
7822808 | Caplan et al. | Oct 2010 | B2 |
8185828 | Liu et al. | May 2012 | B2 |
8271631 | Horvitz et al. | Sep 2012 | B1 |
20020049786 | Bibliowicz et al. | Apr 2002 | A1 |
20020099777 | Gupta et al. | Jul 2002 | A1 |
20020138624 | Esenther | Sep 2002 | A1 |
20020144136 | Stornetta et al. | Oct 2002 | A1 |
20030115295 | Potts, Jr. et al. | Jun 2003 | A1 |
20030158758 | Kanazawa et al. | Aug 2003 | A1 |
20040071184 | Naveh et al. | Apr 2004 | A1 |
20040181579 | Huck et al. | Sep 2004 | A1 |
20040236860 | Logston et al. | Nov 2004 | A1 |
20040250059 | Ramelson et al. | Dec 2004 | A1 |
20050002372 | Rune et al. | Jan 2005 | A1 |
20050278642 | Chang et al. | Dec 2005 | A1 |
20050289224 | Deslippe et al. | Dec 2005 | A1 |
20060010125 | Beartusk et al. | Jan 2006 | A1 |
20060168073 | Kogan et al. | Jul 2006 | A1 |
20070014259 | Fajardo et al. | Jan 2007 | A1 |
20070245238 | Fugitt et al. | Oct 2007 | A1 |
20070288546 | Rosenberg | Dec 2007 | A1 |
20080028083 | Rezvani et al. | Jan 2008 | A1 |
20080046828 | Bibliowicz et al. | Feb 2008 | A1 |
20080095079 | Barkley et al. | Apr 2008 | A1 |
20080114639 | Meek et al. | May 2008 | A1 |
20080117839 | Raju et al. | May 2008 | A1 |
20080122647 | Schulze et al. | May 2008 | A1 |
20080168139 | Junuzovic et al. | Jul 2008 | A1 |
20080279183 | Wiley et al. | Nov 2008 | A1 |
20080294758 | Xiao et al. | Nov 2008 | A1 |
20090043849 | Blackburn et al. | Feb 2009 | A1 |
20090077641 | Trevallyn-Jones | Mar 2009 | A1 |
20090150544 | Tamura | Jun 2009 | A1 |
20090157811 | Bailor et al. | Jun 2009 | A1 |
20090217175 | Bechtel et al. | Aug 2009 | A1 |
20090240628 | Blair et al. | Sep 2009 | A1 |
20090249224 | Davis et al. | Oct 2009 | A1 |
20090282041 | Skaria et al. | Nov 2009 | A1 |
20090287746 | Brown | Nov 2009 | A1 |
20090327459 | Yoo et al. | Dec 2009 | A1 |
20100005398 | Pratley et al. | Jan 2010 | A1 |
20100036956 | Nishikawa | Feb 2010 | A1 |
20100241760 | Zhang et al. | Sep 2010 | A1 |
20100241972 | Spataro et al. | Sep 2010 | A1 |
20100256902 | Coch et al. | Oct 2010 | A1 |
20100260468 | Khatib et al. | Oct 2010 | A1 |
20100271947 | Abdelal et al. | Oct 2010 | A1 |
20100332454 | Prahlad et al. | Dec 2010 | A1 |
20110055329 | Abt et al. | Mar 2011 | A1 |
20110128889 | Liao et al. | Jun 2011 | A1 |
20110252125 | Tse et al. | Oct 2011 | A1 |
20110258338 | Vass | Oct 2011 | A1 |
20110271005 | Bharrat et al. | Nov 2011 | A1 |
Entry |
---|
Hall et al., “Corona: A Communication Service for Scalable, Reliable Group Collaboration Systems”, 1996. |
Dourish, “Using Metalevel Techniques in a Flexible Toolkit for CSCW Applications”, 1998. |
Knapp et al., “Model Checking Timed UML State Machines and Collaborations”, 2002. |
Dommel et al., “Efficacy of floor control protocols in distributed multimedia collaboration”, 1999. |
Liu et al., “State-Centric Programming for Sensor-Actuator Network Systems”, 2003. |
Azer Bestavros, Demand based Document Dissemination to Reduce Traffic and Balance Load—Published Date: Oct. 1995 http://citeseerx.ist.psu.edu/viewdoc/downlaod?doi=10.1.1.121.1657&rep=rep1&type=pdf. |
Jeremy Kerr, Using Dynamic Feedback to Optimise Load Balancing Decisions—Retrieved Date: Apr. 12, 2010 http://mirror.linux.org.au/linux.conf.au/2003/papers/Jeremy—Kerr/Jeremy—Kerr.pdf. |
Copending U.S. Appl. No. 12/757,062, filed Apr. 9, 2010 entitled “Dynamic Syncing”. |
AbiWord, Published Date: Jan. 11, 2010, 2 pgs., http://en.wikipedia.org/wiki/Abiword. |
Neil Fraser, “Differential Synchronization,” Published Date: Sep. 18, 2009, 8 pgs., http://neil.fraser.name/writing/sync/eng047-fraser.pdf. |
Qinyi Wu et al., “Consistency in Real-Time Collaborative Editing Systems Based on Partial Persistent Sequences,” Published Date: Jul. 2009, 10 pgs., http://smartech.gatech.edu/bitstream/1853/31372/1/git-ceres-09-07.pdf. |
“SynchroEdit,” Published Date: Aug. 22, 2008, 6 pgs., http://www.synchroedit.com/. |
“Colligo Contributor V2.2—A Better Online Experience,” Published Date: Oct. 2007, 7 pgs., http://www.colligo.com/Newsletter/colligo—newsletter—Oct07.html. |
Prasun Dewan et al., “An Editing-Based Characterization of the Design Space of Collaborative Applications,” Published Date: 1994, pp. 1-19, http://citeseerx.ist.psu.edu/viewdoc/downlad?doi=10.1.1.47.6123&rep=rep1&type=pdf. |
U.S. Office Action dated Dec. 23, 2011 cited in U.S. Appl. No. 12/757,062, 22 pgs. |
U.S. Final Office Action dated Sep. 10, 2012 cited in U.S. Appl. No. 12/757,062, 30 pgs. |
Number | Date | Country | |
---|---|---|---|
20110302237 A1 | Dec 2011 | US |