System and method for adaptive remote file caching
First Claim
Patent Images
1. A method of caching information on an electronic device, comprising:
- determining a file type for a file to be downloaded;
assigning an integer limit value for the file based at least partly upon the file type, the integer limit value corresponding to a particular byte number in the file;
reading the file up to a specified last byte of data, the last byte of data having a value corresponding to its position within the file;
if the value of the last byte of data is less than the integer limit value, caching a portion of the file up to the integer limit value; and
if the value of the last byte of data exceeds the integer limit value, caching the entire file.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for caching the results of various operations on a remote or distributed file system. The present invention takes into account the MIME type or other file type for a particular file and the application being used to open the file in order to determine whether the entire file should be cached, or whether only the metadata-portion of the file should be cached.
28 Citations
23 Claims
-
1. A method of caching information on an electronic device, comprising:
-
determining a file type for a file to be downloaded;
assigning an integer limit value for the file based at least partly upon the file type, the integer limit value corresponding to a particular byte number in the file;
reading the file up to a specified last byte of data, the last byte of data having a value corresponding to its position within the file;
if the value of the last byte of data is less than the integer limit value, caching a portion of the file up to the integer limit value; and
if the value of the last byte of data exceeds the integer limit value, caching the entire file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product for caching information on an electronic device, comprising:
-
computer code for determining a file type for a file to be downloaded;
computer code for assigning an integer limit value for the file based at least partly upon the file type, the integer limit value corresponding to a particular byte number in the file;
computer code for reading the file up to a specified last byte of data, the last byte of data having a value corresponding to its position within the file;
computer code for, if the value of the last byte of data is less than the integer limit value, caching a portion of the file up to the integer limit value; and
computer code for, if the value of the last byte of data exceeds the integer limit value, caching the entire file. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. An electronic device, comprising:
-
a processor; and
a memory unit operatively connected to the processor, the memory unit including;
computer code for determining a file type for a file to be downloaded;
computer code for assigning an integer limit value for the file based at least partly upon the file type, the integer limit value corresponding to a particular byte number in the file;
computer code for reading the file up to a specified last byte of data, the last byte of data having a value corresponding to its position within the file;
computer code for, if the value of the last byte of data is less than the integer limit value, caching a portion of the file up to the integer limit value; and
computer code for, if the value of the last byte of data exceeds the integer limit value, caching the entire file. - View Dependent Claims (19, 20, 21, 22, 23)
-
Specification