System and method for providing offline access in a hosted document service
First Claim
Patent Images
1. A method comprising:
- receiving, at a user device while the user device is in an offline state, a request comprising a public uniform resource locator comprising;
(1) a domain identifier of a location remote from the user device, and (2) a document identifier of a remote copy of a document, the remote copy being stored at the location remote from the user device;
in response to receiving the request and determining that the user device is in the offline state, launching a launcher application using a fallback entry of an application cache manifest, the application cache manifest comprising a first list of all uniform resource locators used by the document;
intercepting, by the launcher application, the request;
selecting, by the launcher application, one of a plurality of local caches based on the document identifier;
constructing, by the launcher application, a private uniform resource locator comprising the domain identifier, the document identifier, and a cache identifier of the selected local cache;
accessing the selected local cache via the private uniform resource locator to retrieve an editor;
after accessing the selected local cache, adding the private uniform resource locator to a uniform resource locator history that comprises a second list of uniform resource locators of documents that were previously accessed using the user device;
modifying, at the user device, the uniform resource locator history to replace the private uniform resource locator with the public uniform resource locator; and
providing, while the user device is in the offline state, a local copy of the document that is stored locally on the user device, via the editor, to a display on the user device.
2 Assignments
0 Petitions
Accused Products
Abstract
A request for a document is received at a user device while in an offline state. The request includes a public uniform resource locator (URL) corresponding to a location remote from the user device. The user device launches an application that intercepts the request and selects one of multiple local caches based on the public URL. Each of the multiple local caches is associated with a private URL. The user device accesses the selected local caches via a corresponding private URL to retrieve an editor. The user device modifies a URL history to replace the private URL with a public URL and provides the document, via the editor, to the user device.
11 Citations
20 Claims
-
1. A method comprising:
-
receiving, at a user device while the user device is in an offline state, a request comprising a public uniform resource locator comprising;
(1) a domain identifier of a location remote from the user device, and (2) a document identifier of a remote copy of a document, the remote copy being stored at the location remote from the user device;in response to receiving the request and determining that the user device is in the offline state, launching a launcher application using a fallback entry of an application cache manifest, the application cache manifest comprising a first list of all uniform resource locators used by the document; intercepting, by the launcher application, the request; selecting, by the launcher application, one of a plurality of local caches based on the document identifier; constructing, by the launcher application, a private uniform resource locator comprising the domain identifier, the document identifier, and a cache identifier of the selected local cache; accessing the selected local cache via the private uniform resource locator to retrieve an editor; after accessing the selected local cache, adding the private uniform resource locator to a uniform resource locator history that comprises a second list of uniform resource locators of documents that were previously accessed using the user device; modifying, at the user device, the uniform resource locator history to replace the private uniform resource locator with the public uniform resource locator; and providing, while the user device is in the offline state, a local copy of the document that is stored locally on the user device, via the editor, to a display on the user device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer readable medium storing computer program instructions, which, when executed on a processor, cause the processor to perform a method comprising:
-
receiving, at a user device while the user device is in an offline state, a request comprising a public uniform resource locator comprising;
(1) a domain identifier of a location remote from the user device, and (2) a document identifier of a remote copy of a document, the remote copy being stored at the location remote from the user device;in response to receiving the request and determining that the user device is in the offline state, launching a launcher application using a fallback entry of an application cache manifest, the application cache manifest comprising a first list of all uniform resource locators used by the document; intercepting, by the launcher application, the request; selecting, by the launcher application, one of a plurality of local caches based on the document identifier; constructing, by the launcher application, a private uniform resource locator comprising the domain identifier, the document identifier, and a cache identifier of the selected local cache; accessing the selected local cache via the private uniform resource locator to retrieve an editor; after accessing the selected local cache, adding the private uniform resource locator to a uniform resource locator history that comprises a second list of uniform resource locators of documents that were previously accessed using the user device; modifying, at the user device, the uniform resource locator history to replace the private uniform resource locator with the public uniform resource locator; and providing, while the user device is in the offline state, a local copy of the document that is stored locally on the user device, via the editor, to a display on the user device. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A system comprising a processor configured to:
-
receive, at a user device while the user device is in an offline state, a request comprising a public uniform resource locator comprising;
(1) a domain identifier of a location remote from the user device and (2) a document identifier of a remote copy of the document, the remote copy being stored at the location remote from the user device;in response to receiving the request and determining that the user device is in the offline state, launch a launcher application by using a fallback entry of an application cache manifest, the application cache manifest comprising a first list of all uniform resource locators used by the document; intercept, by the launcher application, the request; select, by the launcher application, one of a plurality of local caches based on the document identifier of the public uniform resource locator, construct, by the launcher application, a private uniform resource locator comprising the domain identifier, the document identifier, and a cache identifier of the selected local cache; access the selected local cache via the private uniform resource locator to retrieve an editor; after accessing the selected the local cache, add the private uniform resource locator to a uniform resource locator history that comprises a second list of uniform resource locators of documents that were previously accessed using the user device; modify, at the user device, the uniform resource locator history to replace the private uniform resource locator with the public uniform resource locator; and provide, while the user device is in the offline state, a local copy of the document that is stored locally on the user device, via the editor, to a display on the user device. - View Dependent Claims (20)
-
Specification