The embodiment of the invention provides a
data processing method and device and a storage medium, and the method comprises the steps: obtaining first access log information of a block device in a first time period, the block device being corresponding to a plurality of
logic block addresses; a target grouping length is determined according to the first access log information, grouping
processing is carried out on the multiple
logic block addresses based on the target grouping length, multiple groups are obtained, and the
logic block addresses in the same group have similar access behaviors; determining access characteristic values corresponding to the groups respectively; and according to the access feature values corresponding to the multiple groups, determining cold and hot data categories corresponding to the multiple groups. According to the scheme, the logic block addresses with similar access behaviors are determined as the same group through the target group length, so that reasonable grouping of the logic block addresses is realized, and then cold and hot data categories can be accurately identified based on the access characteristic values of the groups, and the accuracy of
data processing is improved. The cold and hot data category can be used as a reference basis for compression or storage
processing of data in the block device.