-
公开(公告)号:US20210223958A1
公开(公告)日:2021-07-22
申请号:US17257015
申请日:2018-06-30
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Chao Yu , Hao Chen , Bifeng Tong , Chengliang Zheng , Xiyu Zhou
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.
-
公开(公告)号:US11842046B2
公开(公告)日:2023-12-12
申请号:US17257015
申请日:2018-06-30
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Chao Yu , Hao Chen , Bifeng Tong , Chengliang Zheng , Xiyu Zhou
CPC classification number: G06F3/0604 , G06F3/0647 , G06F3/0674 , G06F16/1805
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.
-
公开(公告)号:US11126546B2
公开(公告)日:2021-09-21
申请号:US16754537
申请日:2017-10-13
Applicant: Huawei Technologies Co., Ltd.
Inventor: Chao Yu , Hao Chen , Bifeng Tong , Chengliang Zheng , Xiyu Zhou
Abstract: This application provides a garbage data scrubbing method and a device, and relates to the field of terminals, to resolve a problem that delivering a discard message in a file system transaction affects a user foreground operation. The method includes: obtaining an IO busy/idle status of a terminal at a current moment, where the IO busy/idle status includes a busy state and an idle state (S301); and if the IO busy/idle status of the terminal at the current moment is the idle state, delivering a discard message to a storage device (S302), where the discard message includes an initial address and a size of to-be-scrubbed physical space in the storage device, and the discard message is used to unbind a mapping relationship between a physical address of the to-be-scrubbed physical space and a corresponding logical address.
-
公开(公告)号:US20220058118A1
公开(公告)日:2022-02-24
申请号:US17464174
申请日:2021-09-01
Applicant: Huawei Technologies Co., Ltd.
Inventor: Chao Yu , Hao Chen , Bifeng Tong , Chengliang Zheng , Xiyu Zhou
Abstract: A garbage data scrubbing method includes obtaining an input/output (IO) busy/idle status of a terminal at a current moment, where the IO busy/idle status includes a busy state and an idle state. When the IO busy/idle status of the terminal at the current moment is the idle state, a discard message is delivered to a storage device, where the discard message includes an initial address and a size of to-be-scrubbed physical space in the storage device, and where the discard message is used to unbind a mapping relationship between a physical address of the to-be-scrubbed physical space and a corresponding logical address.
-
公开(公告)号:US20200349069A1
公开(公告)日:2020-11-05
申请号:US16754537
申请日:2017-10-13
Applicant: Huawei Technologies Co., Ltd.
Inventor: Chao Yu , Hao Chen , Bifeng Tong , Chengliang Zheng , Xiyu Zhou
Abstract: This application provides a garbage data scrubbing method and a device, and relates to the field of terminals, to resolve a problem that delivering a discard message in a file system transaction affects a user foreground operation. The method includes: obtaining an IO busy/idle status of a terminal at a current moment, where the IO busy/idle status includes a busy state and an idle state (S301); and if the IO busy/idle status of the terminal at the current moment is the idle state, delivering a discard message to a storage device (S302), where the discard message includes an initial address and a size of to-be-scrubbed physical space in the storage device, and the discard message is used to unbind a mapping relationship between a physical address of the to-be-scrubbed physical space and a corresponding logical address.
-
公开(公告)号:US11704240B2
公开(公告)日:2023-07-18
申请号:US17464174
申请日:2021-09-01
Applicant: Huawei Technologies Co., Ltd.
Inventor: Chao Yu , Hao Chen , Bifeng Tong , Chengliang Zheng , Xiyu Zhou
CPC classification number: G06F12/0253 , G06F12/10 , G06F16/1727 , G06F2212/1044
Abstract: A garbage data scrubbing method includes obtaining an input/output (IO) busy/idle status of a terminal at a current moment, where the IO busy/idle status includes a busy state and an idle state. When the IO busy/idle status of the terminal at the current moment is the idle state, a discard message is delivered to a storage device, where the discard message includes an initial address and a size of to-be-scrubbed physical space in the storage device, and where the discard message is used to unbind a mapping relationship between a physical address of the to-be-scrubbed physical space and a corresponding logical address.
-
公开(公告)号:US11537477B2
公开(公告)日:2022-12-27
申请号:US16977426
申请日:2018-03-15
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Chao Yu , Hao Chen , Bifeng Tong , Chengliang Zheng , Xiyu Zhou
Abstract: A method for protecting application data includes detecting a deleting operation performed by a first application on first data. The method also includes determining, based on a preset condition, whether to delete the first data of the first application. The method further includes renaming the first data of the first application based on a determination that the first application meets the preset condition. The method additionally includes storing the renamed first data in a memory.
-
-
-
-
-
-