Caching infrastructure
Abstract
Example systems and methods are directed at maintaining and retrieving presence metadata. One example method includes receiving a request from a first client to edit a document file, and sending short-term check out metadata to the first client to begin an editing session. The method also includes writing the transition ID to a transition table stored in a cache, wherein the presence of another transition ID in the cache indicates that a document has switched from a single-client mode to a multi-client mode. An example system includes a processing unit operative to receive a document, the document including short-term check out metadata indicating an editing session has begun, ping a cache to determine if another transition ID is stored in the cache, and send a transition ID to a transition table stored in a cache to switch from a single-client mode to a multi-client mode.
Claims
exact text as granted — not AI-modified1 - 20 . (canceled)
21 . A method for updating presence information for a document, the method comprising:
receiving, at a first client, short term check out metadata by opening the document, the short term check out metadata comprising presence metadata; adding a transition ID for the first client to the short term check out metadata; sending the transition ID to a transition table stored in a cache; determining that presence information in the cache has not been updated by a second client in a configurable window of time; and upon determining that the presence information has not been updated, deleting the presence information of the second client.
22 . The method of claim 21 , wherein adding the transition ID for the first client switches the document to a multi client editing mode.
23 . The method of claim 21 , wherein deleting the presence information of the second client indicates that the document is in a single client editing mode.
24 . The method of claim 21 , further comprising:
deleting the transition ID from the transition table.
25 . The method of claim 21 , further comprising:
pinging the server to determine whether a new transition ID has been added to the transition table.
26 . The method of claim 25 , further comprising
receiving a ping from the server indicating that the document is still in the single client editing mode.
27 . The method of claim 25 , further comprising
receiving a ping from the server indicating that the document has switched to the multi client editing mode.
28 . One or more computer storage media not consisting of a propagated data signal and having computer-executable instructions that, when executed, provide a method for updating presence information for a document, the method comprising:
receiving, at a first client, short term check out metadata by opening the document, the short term check out metadata comprising presence metadata; adding a transition ID for the first client to the short term check out metadata; sending the transition ID to a transition table stored in a cache; determining that presence information in the cache has not been updated by a second client in a configurable window of time; and upon determining that the presence information has not been updated, deleting the presence information of the second client.
29 . The one or more computer storage media of claim 28 , wherein adding the transition ID for the first client switches the document to a multi client editing mode.
30 . The one or more computer storage media of claim 28 , wherein deleting the presence information of the second client indicates that the document is in a single client editing mode.
31 . The one or more computer storage media of claim 28 , further comprising:
deleting the transition ID from the transition table.
32 . The one or more computer storage media of claim 28 , further comprising:
pinging the server to determine whether a new transition ID has been added to the transition table.
33 . The one or more computer storage media of claim 32 , further comprising
receiving a ping from the server indicating that the document is still in the single client editing mode.
34 . The one or more computer storage media of claim 32 , further comprising
receiving a ping from the server indicating that the document has switched to the multi client editing mode.
35 . A computer system comprising:
a processor; and a memory communicatively coupled to the processor, the memory having computer-executable instructions that when executed by the processor, provide a method for updating presence information for a document, the method comprising:
receiving, at a first client, short term check out metadata by opening the document, the short term check out metadata comprising presence metadata;
adding a transition ID for the first client to the short term check out metadata;
sending the transition ID to a transition table stored in a cache;
determining that presence information in the cache has not been updated by a second client in a configurable window of time; and
upon determining that the presence information has not been updated, deleting the presence information of the second client.
36 . The computer system of claim 35 , wherein adding the transition ID for the first client switches the document to a multi client editing mode.
37 . The computer system of claim 35 , wherein deleting the presence information of the second client indicates that the document is in a single client editing mode.
38 . The computer system of claim 35 , further comprising:
deleting the transition ID from the transition table.
39 . The computer system of claim 35 , further comprising:
pinging the server to determine whether a new transition ID has been added to the transition table.
40 . The computer system of claim 39 , further comprising
receiving a ping from the server indicating that the document has switched to the multi client editing mode.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.