The application provides a
memory control method and a memory storage device. The method comprises: receiving a data write request from a host
system, the data write request comprising to-be-written data; determining a frequency of the data write request issued by the host
system or a number of target blocks in a plurality of entity blocks; dynamically adjusting a first threshold and a second threshold for cold and hot
data classification according to the frequency of the data write request issued by the host
system or the number of target blocks; calculating a hotness value of the to-be-written data according to the data write request; determining a data state of the to-be-written data according to the first threshold, the second threshold and the hotness value, and writing the to-be-written data into an entity block corresponding to the data state. Through the distinction of the double thresholds and the plurality of data states, more refined cold and hot
data management is realized, the frequent
jumping (ping-pong effect) of data between different storage blocks due to the cold and hot
data classification error is avoided, and the
data migration flow is smoothed.