Storage resource recovery method, device and system

Storage resource recovery method, device and system

  • CN 109,391,647 B
  • Filed: 08/04/2017
  • Issued: 08/17/2021
  • Est. Priority Date: 08/04/2017
  • Status: Active Grant
First Claim
Patent Images

1. A storage resource recovery method is characterized by being applied to storage nodes of a cloud storage system, wherein the cloud storage system is used for providing data storage service for data files corresponding to n channels, and n is a positive integer;

  • the method comprises the following steps;

    when a task of regularly cleaning data files corresponding to a target channel stored in the cloud storage system is executed, if coverage period information of the target channel is stored in the storage node, detecting whether expired data files exist in the data files corresponding to the target channel, wherein the coverage period information of the target channel exists in multiple pieces, each piece of coverage period information of the target channel is used for indicating the maximum storage duration of the data files corresponding to the target channel in one resource pool of the cloud storage system, the maximum storage durations of the data files corresponding to the target channel in different resource pools of the cloud storage system are the same or different, the expired data files refer to the data files with the storage duration reaching the maximum storage duration, and the target channel is any one of the n channels, the resource pool to which the storage node belongs stores data files corresponding to a plurality of channels, and the maximum storage time lengths of the data files corresponding to the plurality of channels are the same or different;

    if the expired data file exists in the data file corresponding to the target channel, deleting the expired data file;

    the method further comprises the following steps;

    and if the coverage period information of the target channel is not stored in the storage node, executing a periodic cleaning task on the data file corresponding to the target channel according to a resource pool recovery strategy.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×