ELECTRONIC DEVICE AND FILE READ AND WRITE METHOD THEREOF
First Claim
1. An electronic device comprising:
- at least one first memory being nonvolatile; and
a processor electrically connected to the first memory and configured to read a file from the first memory or to write a file on the first memory,wherein the first memory is configured to store instructions, the instructions, when executed, cause the processor to provide a software layer structure comprising;
a first virtual file system layer configured to interface with an application program layer;
a compressed file system layer being a lower layer of the first virtual file system layer and configured to compress at least a part of data of the written file or to decompress at least a part of data of the read file;
a second virtual file system layer being a lower layer of the compressed file system layer and configured to manage at least one of the written or read file; and
a first file system layer being a lower layer of the second virtual file system layer and configured to read at least a part of the read file from the first memory or to write at least a part of the written file on the first memory.
1 Assignment
0 Petitions
Accused Products
Abstract
An electronic device is provided. The electronic device includes at least one first memory being nonvolatile and a processor configured to read a file from the first memory or to write a file on the first memory. The first memory stores instructions, the instructions, when executed, causing the processor to provide a software layer structure including a first virtual file system layer configured to interface with an application program layer, a compressed file system layer configured to compress at least a part of data of the written file or to decompress at least a part of data of the read file, a second virtual file system layer configured to manage the written or read file, and a first file system layer configured to read at least a part of the file from the first memory or to write at least a part of the file on the first memory.
7 Citations
20 Claims
-
1. An electronic device comprising:
-
at least one first memory being nonvolatile; and a processor electrically connected to the first memory and configured to read a file from the first memory or to write a file on the first memory, wherein the first memory is configured to store instructions, the instructions, when executed, cause the processor to provide a software layer structure comprising; a first virtual file system layer configured to interface with an application program layer; a compressed file system layer being a lower layer of the first virtual file system layer and configured to compress at least a part of data of the written file or to decompress at least a part of data of the read file; a second virtual file system layer being a lower layer of the compressed file system layer and configured to manage at least one of the written or read file; and a first file system layer being a lower layer of the second virtual file system layer and configured to read at least a part of the read file from the first memory or to write at least a part of the written file on the first memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method of operating an electronic device for writing a file, the method comprising:
-
requesting a compressed file system layer to write data based on a file writing request of an application program layer, at a first virtual file system layer; compressing the data at the compressed file system layer; requesting a second virtual file system layer to write the compressed data at the compressed file system layer; and writing the compressed data in a first memory through a first file system layer at the second virtual file system layer. - View Dependent Claims (16, 17)
-
-
18. A method of operating an electronic device for reading a file, the method comprising:
-
requesting a compressed file system layer to read data through a first virtual file system layer at an application program layer; requesting a second virtual file system layer to read the data at the compressed file system layer; requesting a block layer to read the data through a first file system layer at the second virtual file system layer; reading the data from a first memory at the block layer; transmitting the read data to the second virtual file system layer through the first file system layer at the block layer; decompressing the data transmitted to the second virtual file system layer at the compressed file system layer; and transmitting the decompressed data to the application program layer through the first virtual file system layer at the compressed file system layer. - View Dependent Claims (19, 20)
-
Specification