Invention Grant
- Patent Title: Method and storage device for collecting garbage data
-
Application No.: US14983211Application Date: 2015-12-29
-
Publication No.: US10303600B2Publication Date: 2019-05-28
- Inventor: Chungong Lin
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201310573861 20131114
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F3/06

Abstract:
A method and a storage device for collecting garbage data, where the method includes separately recording a data volume of first data in each segment of a storage device at a current time and a variation of the first data in each segment of the storage device in a preset period of time before the current time; obtaining, by means of calculation, a predicted value of the first data according to the data volume of the first data in each segment and the variation of the first data in each segment; and determining, according to the predicted value of the first data in each segment, a segment whose garbage data needs to be collected. A segment that has more garbage data and whose garbage creating rate is lower is reclaimed preferentially.
Public/Granted literature
- US20160132429A1 Method and Storage Device for Collecting Garbage Data Public/Granted day:2016-05-12
Information query