1. A data writing method for a hard disc module, wherein the hard disc module comprises a plurality of memory units, the data writing method comprising: receiving a cache data; determining a data class of the cache data; if the data class of the cache data belongs to a first type, distributing and writing the cache data into the memory units; and if the data class of the cache data belongs to a second type, writing the cache data into one of the memory units.