Invention Grant
- Patent Title: Garbage collection method for storage medium, storage medium, and program product
-
Application No.: US16577106Application Date: 2019-09-20
-
Publication No.: US11704239B2Publication Date: 2023-07-18
- Inventor: Rui Feng , Shengqian Jia , Dingguo Yang
- 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.
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F3/06 ; G06F12/0891

Abstract:
A garbage collection technology for a storage medium that includes a plurality of blocks, where each storage unit has a collection parameter related to data in one of the blocks, and where each block includes a plurality of pages. A group of blocks is selected from the plurality of blocks based on the collection parameter. A difference between values of collection parameters of any two blocks in the group of blocks is not greater than a preset value. Data in a first valid page and a second valid page in the group of blocks is replicated to a same destination block, to facilitate garbage collection.
Public/Granted literature
- US20200012598A1 Garbage Collection Method for Storage Medium, Storage Medium, and Program Product Public/Granted day:2020-01-09
Information query