Patent ID: 8495279
Filing Date: 2013-07-23
Classification: G06F

Abstract:
1. A flash file system allowing a host to perform data accessing to a flash, the flash file system comprising: an application programming interface (API) module receiving an access function inputted from the host and verifying parameters in the access function, wherein the parameters comprises control code and read/write size; a physical driver module performing data accessing to the flash; a file data table recording file data stored in the flash; a file system driver module analyzing a file name of a file to be accessed included in the access function, and querying the file data table for a starting position of the file to be accessed; and a virtual disk driver module controlling the physical driver module, and performing data accessing to the flash according to the starting position and the parameters, wherein the virtual disk driver module performs byte-to-page translations while engaging in data reading/writing operations, and comprises an access buffer unit temporarily storing at least one page of data read from the flash; wherein the physical driver module performs data reading or writing on the flash by pages; wherein the control code comprises file size, position and offset to the last read/write, and when performing data accessing operations, the file system driver module based on the control code and the read/ write size to calculate the starting position of data read/written as well as amount of data read/written, then the file system driver module calls the virtual disk driver module to perform the byte-to-page translations while engaging in data reading/writing operations.