US 12,468,624 B2
Hot-data-based decision-making method for using in a storage device of a computer
Yuan-Mao Chang, Hsinchu (TW); and Wan-Ru Lin, Hsinchu (TW)
Assigned to TrustTeks Ltd., Hsinchu (TW)
Filed by TrustTeks Ltd., Hsinchu (TW)
Filed on Mar. 11, 2024, as Appl. No. 18/600,812.
Prior Publication US 2025/0284625 A1, Sep. 11, 2025
Int. Cl. G06F 12/00 (2006.01); G06F 12/02 (2006.01)
CPC G06F 12/0223 (2013.01) 15 Claims
OG exemplary drawing
 
1. A hot-data-based decision-making method for using use in a storage device of a computer to facilitate data accessing, wherein the storage device includes a plurality of storage units, and the hot-data-based decision-making method comprises:
a data pre-processing step for extracting a new data fingerprint from a new datum, and hashing the new datum so as to obtain at least two storage index values, in which the storage index values each correspond to one of the storage units; and
an old datum comparing step for determining whether a datum stored in a storage unit corresponding to any of the at least two storage index values is identical in value and sequence to the new datum, determining that the new datum is an old datum if so, and proceeding with an old datum updating step, or determining that the new datum is not the old datum if not so, and proceeding with a new datum updating step;
in which the old datum updating step comprises:
updating a pre-stored hotness score of an old data fingerprint of the old datum to generate an update hotness score, wherein if the update hotness score is not lower than a hotness threshold score, the old datum is determined as a hot datum, or if the update hotness score is lower than the hotness threshold score, the old datum is determined as a cold datum; and
in which the new datum updating step comprises:
determining whether the storage unit corresponding to the storage index value is blank or has had an existing data fingerprint of an existing datum stored therein, correspondingly storing the new data fingerprint, and marking the new data fingerprint with a new hotness score.