File deletion in storage devices based on the deletion priority rules
First Claim
Patent Images
1. A computer-implemented method of deleting files, comprising executing on one or more processors the steps of:
- identifying files stored in a storage device to delete based on one or more deletion rules;
categorizing the identified files into at least a first group and a second group;
triggering deletion of files based on a free space threshold, wherein the triggering deletion of files comprises;
deleting the files in the first group;
determining whether the free space threshold is met by deleting the files in the first group;
responsive to determining that the free space threshold is not met by deleting the files in the first group, triggering deletion of files in the second group based on at least a cost optimization, wherein the cost optimization comprises solving an objective function subject to a constraint, the objective function comprising minimizing a sum, over the files in the second group, of a product of a decision variable of whether a file in the second group is deleted or not deleted, a cost for recovery of the file in the second group, and a probability that the file in the second group will be needed within a predetermined time period, and the constraint comprising a sum, over the files in the second group, of a product of the decision variable of whether the file in the second group is deleted or not deleted and the file'"'"'s size of the file in the second group is greater than or equal to the free space threshold, and marking the files in the second group indicated by the decision variable for deletion.
1 Assignment
0 Petitions
Accused Products
Abstract
Deleting files may include identifying files stored in a storage device to delete based on one or more deletion rules. The identified files are categorized into at least a first group and a second group. Deletion of files may be triggered based on a free space threshold. Deletion of files in the first group may be triggered. If the free space threshold is not met by deleting the files in the first group, deletion of files in the second group is triggered based on one or more of prioritization and cost optimization.
11 Citations
16 Claims
-
1. A computer-implemented method of deleting files, comprising executing on one or more processors the steps of:
-
identifying files stored in a storage device to delete based on one or more deletion rules; categorizing the identified files into at least a first group and a second group; triggering deletion of files based on a free space threshold, wherein the triggering deletion of files comprises; deleting the files in the first group; determining whether the free space threshold is met by deleting the files in the first group; responsive to determining that the free space threshold is not met by deleting the files in the first group, triggering deletion of files in the second group based on at least a cost optimization, wherein the cost optimization comprises solving an objective function subject to a constraint, the objective function comprising minimizing a sum, over the files in the second group, of a product of a decision variable of whether a file in the second group is deleted or not deleted, a cost for recovery of the file in the second group, and a probability that the file in the second group will be needed within a predetermined time period, and the constraint comprising a sum, over the files in the second group, of a product of the decision variable of whether the file in the second group is deleted or not deleted and the file'"'"'s size of the file in the second group is greater than or equal to the free space threshold, and marking the files in the second group indicated by the decision variable for deletion. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for deleting files, comprising:
-
a storage device; and one or more processors operable to identify files stored in the storage device to delete based on one or more deletion rules, one or more of the processors further operable to categorize the identified files into at least a first group and a second group; one or more of the processors further operable to trigger deletion of files based on a free space threshold, wherein one or more of the processors triggers deletion of files by deleting the files in the first group, determining whether the free space threshold is met by deleting the files in the first group, and responsive to determining that the free space threshold is not met by deleting the files in the first group, triggering deletion of files in the second group based on at least a cost optimization, wherein one or more of the processors determines the cost optimization by solving an objective function subject to a constraint, the objective function comprising minimizing a sum, over the files in the second group, of a product of a decision variable of whether a file in the second group is deleted or not deleted, a cost for recovery of the file in the second group, and a probability that the file in the second group will be needed within a predetermined time period, and the constraint comprising a sum, over the files in the second group, of a product of the decision variable of whether the file in the second group is deleted or not deleted and the file'"'"'s size of the file in the second group is greater than or equal to the free space threshold, and marking the files in the second group indicated by the decision variable for deletion. - View Dependent Claims (9, 10, 11)
-
-
12. A non-transitory computer readable storage medium storing a program of instructions executable by a machine to perform a method of deleting files, the method comprising:
-
identifying files stored in a storage device to delete based on one or more deletion rules; categorizing the identified files into at least a first group and a second group; triggering deletion of files based on a free space threshold, wherein the triggering deletion of files comprises; deleting the files in the first group; determining whether the free space threshold is met by deleting the files in the first group; responsive to determining that the free space threshold is not met by deleting the files in the first group, triggering deletion of files in the second group based on at least a cost optimization, wherein the cost optimization comprises solving an objective function subject to a constraint, the objective function comprising minimizing a sum, over the files in the second group, of a product of a decision variable of whether a file in the second group is deleted or not deleted, a cost for recovery of the file in the second group, and a probability that the file in the second group will be needed within a predetermined time period, and the constraint comprising a sum, over the files in the second group, of a product of the decision variable of whether the file in the second group is deleted or not deleted and the file'"'"'s size of the file in the second group is greater than or equal to the free space threshold, and marking the files in the second group indicated by the decision variable for deletion. - View Dependent Claims (13, 14, 15, 16)
-
Specification