Method for Recognizing Infrequently-Used Data and Terminal
AssigneeHuawei Technologies Co., Ltd.
InventorsYanhui Yu, Zhonglin Xia
Life of this patent
Estimating the term…
Abstract
A method for recognizing infrequently-used data includes scanning files in storage space according to a first scanning rule, generating a file set according to the scanned files, for each file in the file set, obtaining a last access time of the file, where the last access time indicates a time when the file was last accessed and not modified, obtaining a file attribute of the file, querying an infrequently-used file recognition condition corresponding to the file attribute, and when the last access time of the file meets the infrequently-used file recognition condition, recognizing the file as an infrequently-used file.
Claims22
A method for recognizing infrequently-used data, comprising:
- scanning files in a memory according to a first scanning rule;
- generating a file set according to the files scanned;
- for each file in the file set, obtaining a last access time of the file, the last access time indicating a time when the file was last accessed and not modified;
- obtaining a file attribute of the file;
- querying an infrequently-used file recognition condition corresponding to the file attribute;
- and
- recognizing the file as an infrequently-used file when the last access time of the file meets the infrequently-used file recognition condition.
(canceled)
A terminal, comprising:
- a memory storing instructions;
- and
- a processor coupled to the memory and configured to execute the instructions, the instructions causing the processor to be configured to:
- scan files in a memory according to a first scanning rule;
- generate a file set according to the scanned files;
- for each file in the file set, obtain a last access time of the file, the last access time indicating a time when the file was last accessed and not modified;
- obtain a file attribute of the file;
- query an infrequently-used file recognition condition corresponding to the file attribute;
- and
- recognize the file as an infrequently-used file when the last access time of the file meets the infrequently-used file recognition condition.
A terminal, comprising:
- one or more processors;
- a memory comprising one or more programs;
- and
- a transceiver, the one or more processors, the memory, and the transceiver being connected by a bus, the one or more programs comprise instructions, the instructions causing the terminal to:
- scan files in the memory according to a first scanning rule;
- generate a file set according to the files scanned;
- for each file in the file set, obtain a last access time of the file, the last access time indicating a time when the file was last accessed and not modified;
- obtain a file attribute of the file;
- query an infrequently-used file recognition condition corresponding to the file attribute;
- and
- recognize the file as an infrequently-used file when the last access time of the file meets the infrequently-used file recognition condition.
(canceled)
Dependencies are inferred from the claim text.