Invention Grant
- Patent Title: Storage fragment management method and terminal
-
Application No.: US17257015Application Date: 2018-06-30
-
Publication No.: US11842046B2Publication Date: 2023-12-12
- Inventor: Chao Yu , Hao Chen , Bifeng Tong , Chengliang Zheng , Xiyu Zhou
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Guangdong
- International Application: PCT/CN2018/093930 2018.06.30
- International Announcement: WO2020/000492A 2020.01.02
- Date entered country: 2020-12-30
- Main IPC: G06F3/06
- IPC: G06F3/06 ; G06F16/18

Abstract:
A storage fragment management method and a terminal. The method may be applied to a file system of the terminal, and the file system includes at least one segment. The method includes: first determining, by the terminal, a source segment from the file system based on an aging degree of the segment and a valid block ratio of the segment; then determining, by the terminal from the file system based on an aging degree of the source segment, a target segment whose aging degree is consistent with the aging degree of the source segment; and finally migrating, by the terminal, data of a valid block in the source segment to an idle block in the target segment. This method is used to resolve a problem that power consumption is high when data migration is performed on a storage fragment in an existing log-structured file system.
Public/Granted literature
- US20210223958A1 STORAGE FRAGMENT MANAGEMENT METHOD AND TERMINAL Public/Granted day:2021-07-22
Information query