06-08-2015 дата публикации
Номер: US20150220549A1
A method for filtering garbage data, including: a garbage data path value and a garbage data filtering rule are preset, based on an instruction received from the outside; a garbage data scanning point is determined, by parsing the garbage data path value; each file in the garbage data scanning point is scanned, so as to determine whether the each file is the garbage data, based on the garbage data filtering rule. 1. A method for filtering garbage data , comprising:presetting a garbage data path value and a garbage data filtering rule, based on an instruction received from the outside;determining a garbage data scanning point, by parsing the garbage data path value;scanning each file in the garbage data scanning point, and determining whether the each file is the garbage data, based on the garbage data filtering rule.2. The method according to claim 1 , wherein the garbage data path value is an absolute path claim 1 , a registry path or an Ini file path.3. The method according to or claim 1 , wherein the garbage data filtering rule comprises a garbage data basic judgment relationship claim 1 , which comprises:when data of which is compared and data of a comparator meet a preset is condition relationship, determining that the data of which is compared is the garbage data; or,when the data of which is compared and the data of the comparator meet another preset condition relationship, determining that the data of which is compared is not the garbage data.4. The method according to claim 3 , wherein the data of which is compared comprises at least one of: a file name claim 3 , a file path claim 3 , and a file create time of which is compared; andwherein the preset condition relationship comprises: the data of which is compared is the data of the comparator, the data of which is compared is begun with the data of the comparator, or the data of which is compared is ended with the data of the comparator.5. The method according to claim 3 , wherein the garbage data filtering ...
Подробнее