CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of China application serial no. 201910585014.7, filed on Jul. 1, 2019. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.

BACKGROUND

1. Technology Field

The present disclosure relates to a memory management technology, and in particular, to a memory management method, a memory storage device and a memory control circuit unit.

2. Description of Related Art

Digital cameras, mobile phones and MP3 players have been developed very rapidly in recent years, and the demands of customers for storage media also have increased rapidly. A rewritable non-volatile memory module (for example, a flash memory) is very suitable for being installed in the above exemplified various portable multimedia devices thanks to the characteristics of non-volatile data, power saving, small volume, no mechanical structure, and the like.

In a memory management technology, many operations are performed based on the characteristics and/or types of stored data. For example, in a data merging procedure (or a garbage collection procedure), valid data can be classified as cold data and hot data. The valid data belonging to cold data can be collected preferentially and stored centrally to improve the efficiency of the data merging process. Alternatively, data with different characteristics and/or of different types also can be managed by different data management mechanisms or data protection mechanisms to improve the data maintenance capacity for memory storage devices. Therefore, how to classify specific data effectively affects the system performance of the memory storage devices.

Nothing herein should be construed as an admission of knowledge in the prior art of any portion of the present disclosure. Furthermore, citation or identification of any document in this application is not an admission that such document is available as prior art to the present disclosure, or that any reference forms a part of the common general knowledge in the art.

SUMMARY

The present disclosure provides a memory management method, a memory storage device and a memory control circuit unit which are capable of improving the data classification efficiency.

An exemplary embodiment of the present disclosure provides a memory management method, used for a rewritable non-volatile memory module. The memory management method includes: receiving a first write command from a host system; instructing the rewritable non-volatile memory module to perform a first write operation according to the first write command; obtaining first performance information corresponding to the first write operation; and updating threshold information according to the first performance information, where the threshold information is configured to determine a type of target data.

An exemplary embodiment of the present disclosure further provides a memory storage device which includes a connection interface unit, a rewritable non-volatile memory module and a memory control circuit unit. The connection interface unit is configured to be coupled to a host system. The memory control circuit unit is coupled to the connection interface unit and the rewritable non-volatile memory module. The memory control circuit unit is configured to receive a first write command from the host system. The memory control circuit unit is further configured to instruct the rewritable non-volatile memory module to perform a first write operation according to the first write command. The memory control circuit unit is further configured to obtain first performance information corresponding to the first write operation. The memory control circuit unit is further configured to update threshold information according to the first performance information, where the threshold information is configured to determine a type of target data.

An exemplary embodiment of the present disclosure further provides a memory control circuit unit which is configured to control a rewritable non-volatile memory module, and the memory control circuit unit includes a host interface, a memory interface and a memory management circuit. The host interface is configured to be coupled to a host system. The memory interface is configured to be coupled to the rewritable non-volatile memory module. The memory management circuit is coupled to the host interface and the memory interface. The memory management circuit is configured to receive a first write command from the host system. The memory management circuit is further configured to instruct the rewritable non-volatile memory module to perform a first write operation according to the first write command. The memory management circuit is further configured to obtain first performance information corresponding to the first write operation. The memory management circuit is further configured to update threshold information according to the first performance information, where the threshold information is used to determine type of target data.

Based on the above, after the first write command from the host system is received, the rewritable non-volatile memory module may perform the first write operation according to the first write command, and the first performance information corresponding to the first write operation may be obtained. Then, the threshold information may be updated and configured to determine the type of the target data according to the first performance information. Therefore, the data classification efficiency of the memory storage device can be effectively improved.

In order to make the aforementioned objectives and advantages of the present disclosure comprehensible, embodiments accompanied with figures are described in detail below.

It should be understood, however, that this Summary may not contain all of the aspects and embodiments of the present disclosure, is not meant to be limiting or restrictive in any manner, and that the disclosure as disclosed herein is and will be understood by those of ordinary skill in the art to encompass obvious improvements and modifications thereto.

