Method for version recording and tracking
First Claim
Patent Images
1. A method for version recording, comprising the steps of:
- storing a file into a data directory;
calculating the checksum of the file;
storing the version information, the filename, and the size of the file into the data directory; and
storing the checksum of the file into the data directory, wherein the step for calculating the checksum of the file comprises the steps of;
dividing the content of the file into a plurality of regions;
calculating the corresponding contents in these regions with XOR (exclusive or) operation, thus obtaining a sample region;
summing the sample contents with a predetermined offset in the sample region into several sub-checksum values; and
combining these sub-checksum values to obtain the checksum of the file.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for version recording and tracking. First, a file is stored into a data directory. Thereafter, the checksum of the file is calculated. Then, the version information, the filename, the size, and the checksum of the file are stored into the data directory. When a file needs to track its version information, the checksum of the file is calculated. Then, a data directory is searched to obtain the version information according to the checksum, the filename, and the size of the file.
-
Citations
7 Claims
-
1. A method for version recording, comprising the steps of:
-
storing a file into a data directory;
calculating the checksum of the file;
storing the version information, the filename, and the size of the file into the data directory; and
storing the checksum of the file into the data directory, wherein the step for calculating the checksum of the file comprises the steps of;
dividing the content of the file into a plurality of regions;
calculating the corresponding contents in these regions with XOR (exclusive or) operation, thus obtaining a sample region;
summing the sample contents with a predetermined offset in the sample region into several sub-checksum values; and
combining these sub-checksum values to obtain the checksum of the file. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for version tracking, comprising the steps of:
-
calculating the checksum of a file;
searching a data directory according to the checksum, the filename, and the size of the file; and
outputting the version information corresponding to the checksum, the filename, and the size of the file in the data directory, wherein the step for calculating the checksum of the file comprises the steps of;
dividing the content of the file into a plurality of regions;
calculating the corresponding contents in these regions with XOR (exclusive or) operation, thus obtaining a sample region;
summing the sample contents with a predetermined offset in the sample region into several sub-checksum values; and
combining these sub-checksum values to obtain the checksum of the file. - View Dependent Claims (7)
-
Specification