Device and method to divide and download content data
Abstract
A data write control device includes: a memory that stores a data write control program and data; and a processor that executes the data write control program, wherein the processor: divides data to be downloaded into pieces of divided data; downloads the pieces of divided data; and performs, based on a file system of a storage that is a storage destination to store the data to be downloaded, a first write process of sequentially writing the pieces of divided data into the storage, or a second write process of writing all of the pieces of divided data into the storage at once after all of the pieces of divided data are downloaded.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A terminal device comprising:
a memory that stores a data write control program and data; and
a processor that executes the data write control program,
wherein the processor:
divides data to be downloaded into pieces of divided data;
downloads the pieces of divided data;
stores the pieces of divided data in the memory;
when a file system of a storage that is a storage destination to store the data to be downloaded is a file system other than a file allocation table (FAT) system, performs a first write process of writing the pieces of divided data into the storage in an order in which the pieces of divided data are downloaded; and
when the file system is the file allocation table (FAT) system, performs a second write process of writing all of the pieces of divided data into the storage at once after all of the pieces of divided data are downloaded.
2. The terminal device according to claim 1 ,
wherein the processor performs the first write process via random access to the storage.
3. The terminal device according to claim 1 ,
wherein the processor performs the second write process via sequential access to the storage.
4. The terminal device according to claim 1 ,
wherein the data to be downloaded is data regarding one file to be downloaded.
5. A control method executed by a terminal device, comprising:
dividing data to be downloaded into pieces of divided data;
downloading the pieces of divided data;
storing the pieces of divided data;
when a file system of a storage that is a storage destination to store the data to be downloaded is a file system other than a file allocation table (FAT) system, performing a first write process of writing the pieces of divided data into the storage in an order in which the pieces of divided data are downloaded; and
when the file system is the file allocation table (FAT) system, performing a second write process of writing all of the pieces of divided data into the storage at once after all of the pieces of divided data are downloaded.
6. The control method executed by the terminal device according to claim 5 ,
wherein the first write process is performed via random access to the storage.
7. The control method executed by the terminal device according to claim 5 ,
wherein the second write process is performed via sequential access to the storage.
8. The control method executed by the terminal device according to claim 5 ,
wherein the data to be downloaded is data regarding one file to be downloaded.
9. A non-transitory computer-readable recording medium recording a data write control program which causes a terminal device to perform a process, the process comprising:
dividing data to be downloaded into pieces of divided data;
downloading the pieces of divided data;
storing the pieces of divided data;
when a file system of a storage that is a storage destination to store the data to be downloaded is a file system other than a file allocation table (FAT) system, performing a first write process of writing the pieces of divided data into the storage in an order in which the pieces of divided data are downloaded; and
when the file system is the file allocation table (FAT) system, performing a second write process of writing all of the pieces of divided data into the storage at once after all of the pieces of divided data are downloaded.
10. The non-transitory computer-readable recording medium according to claim 9 ,
wherein the first write process is performed via random access to the storage.
11. The non-transitory computer-readable recording medium according to claim 9 ,
wherein the second write process is performed via sequential access to the storage.
12. The non-transitory computer-readable recording medium according to claim 9 ,
wherein the data to be downloaded is data regarding one file to be downloaded.Join the waitlist — get patent alerts
Track US10209916B2 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.