Patent ID: 8352673

Claim:
A data writing method, for writing data from a host system into a flash memory chip, wherein the flash memory chip includes a plurality of physical blocks, the data writing method comprising: configuring a plurality of logical access addresses; receiving write-in data from the host system, wherein at least one or more logical access addresses among the logical access addresses are written with the write-in data; determining whether there are at least one or more opened physical blocks; when there is no any opened physical block among the physical blocks, getting a physical block from the physical blocks, writing the write-in data into the gotten physical block and setting one of the written logical access addresses to be an address center of the gotten physical block; when there are at least one or more opened physical blocks among the physical blocks, determining whether there is at least one available physical block among the at least one or more opened physical blocks; and when there is the at least one available physical block among the at least one or more opened physical blocks, writing the write-in data into the at least one available physical block, wherein the address radius of the at least one available physical block is larger than a distance between one of the written logical access addresses and the address center of the at least one available physical block.