Method of bi-directional synchronization of user data
First Claim
Patent Images
1. A method for writing a data block to a user data file by a software application being executed by a computer including at least one processing unit and a memory, wherein the user data file includes a session file, an index file, and a data file, comprising:
- upon reception of a write request, computing a page index of a page in the index file;
computing an offset value to a location of the page in the index file;
determining a write offset indicating a location in the data file for the data block by;
checking if the page exists in the index file and if the page has been changed during a current session, wherein the current session is designated in the session file, wherein the session file further designates a creation time and close time of the current session, andsetting the write offset to an end of the data file, when the page is not in the index file or when the page has not been changed during the current session, thereby enabling restoring data to a specific point in time; and
writing the data block at the location indicated by the write offset.
7 Assignments
0 Petitions
Accused Products
Abstract
Techniques for enabling writing and reading to and from a user file by at least a virtual software application. The user file includes a session file, an index file, and a data file. The techniques enable roaming between computers without the need to reconfigure, for example, the personalized information when switching between computers.
25 Citations
15 Claims
-
1. A method for writing a data block to a user data file by a software application being executed by a computer including at least one processing unit and a memory, wherein the user data file includes a session file, an index file, and a data file, comprising:
-
upon reception of a write request, computing a page index of a page in the index file; computing an offset value to a location of the page in the index file; determining a write offset indicating a location in the data file for the data block by; checking if the page exists in the index file and if the page has been changed during a current session, wherein the current session is designated in the session file, wherein the session file further designates a creation time and close time of the current session, and setting the write offset to an end of the data file, when the page is not in the index file or when the page has not been changed during the current session, thereby enabling restoring data to a specific point in time; and writing the data block at the location indicated by the write offset. - View Dependent Claims (2, 3, 4, 5, 6, 7, 14)
-
-
8. A method for reading a data block to a user data file by a software application being executed by a computer including at least one processing unit and a memory, wherein the user data file includes a session file, an index file, and a data file, comprising:
-
upon reception of a read request, computing a page index of a page in the index file, wherein the read request contains a reference to a current session included in the session file and a number of bytes to read; computing, using the current session, an offset value to a location of the page in the index file maintained by a client; determining using the computed offset value a location containing a most updated version of the data block by setting the location to point to a data file maintained by a client, if the computed offset value exists in the index file maintained by the client and setting the location to point to a data file maintained by a server, if the computed offset value does not exist in the index file maintained by the client; and reading the data block from the determined location. - View Dependent Claims (9, 10, 11, 12, 13, 15)
-
Specification