Storage fragment management method and terminal

    公开(公告)号:US11842046B2

    公开(公告)日:2023-12-12

    申请号:US17257015

    申请日:2018-06-30

    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.

    Method for Identifying Questions with Same Semantics and Electronic Device

    公开(公告)号:US20220391400A1

    公开(公告)日:2022-12-08

    申请号:US17764002

    申请日:2020-09-10

    Abstract: A method for identifying questions with same semantics includes creating a user behavior graph based on at least two user logs; determining a first associated question node set based on the user behavior graph and a seed question; calculating, based on the first associated question node set, association scores of questions corresponding to all question nodes in the user behavior graph; using a question corresponding to each associated question node in the first associated question node set as a new seed node, to determine M second associated question node sets; updating, based on the M second associated question node sets, the association scores of the questions corresponding to all the question nodes in the user behavior graph; and determining K questions with top K association scores based on updated association scores of the questions corresponding to all the question nodes in the user behavior graph.

    Garbage data scrubbing method, and device

    公开(公告)号:US11126546B2

    公开(公告)日:2021-09-21

    申请号:US16754537

    申请日:2017-10-13

    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.

    Method for identifying questions with same semantics and electronic device

    公开(公告)号:US12008003B2

    公开(公告)日:2024-06-11

    申请号:US17764002

    申请日:2020-09-10

    CPC classification number: G06F16/24578 G06F16/26

    Abstract: A method for identifying questions with same semantics includes creating a user behavior graph based on at least two user logs; determining a first associated question node set based on the user behavior graph and a seed question; calculating, based on the first associated question node set, association scores of questions corresponding to all question nodes in the user behavior graph; using a question corresponding to each associated question node in the first associated question node set as a new seed node, to determine M second associated question node sets; updating, based on the M second associated question node sets, the association scores of the questions corresponding to all the question nodes in the user behavior graph; and determining K questions with top K association scores based on updated association scores of the questions corresponding to all the question nodes in the user behavior graph.

    System Startup Method and Related Device

    公开(公告)号:US20220269428A1

    公开(公告)日:2022-08-25

    申请号:US17626331

    申请日:2020-07-09

    Abstract: A system startup method includes creating a first thread when a kernel driver in a kernel mode detects a first disk partition, reading, in the kernel mode, metadata of the first disk partition using the first thread, and writing the metadata of the first disk partition into a first page cache using the first thread. In the kernel mode, metadata of a disk partition is pre-cached into a page cache using the first thread, and in a subsequent process in a user mode, the metadata of the disk partition is directly read from the page cache. A storage area of the page cache is memory and has a higher read/write operation rate compared with a disk.

    STORAGE FRAGMENT MANAGEMENT METHOD AND TERMINAL

    公开(公告)号:US20210223958A1

    公开(公告)日:2021-07-22

    申请号:US17257015

    申请日:2018-06-30

    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.

    System startup method and related device

    公开(公告)号:US11868631B2

    公开(公告)日:2024-01-09

    申请号:US17626331

    申请日:2020-07-09

    Abstract: A system startup method includes creating a first thread when a kernel driver in a kernel mode detects a first disk partition, reading, in the kernel mode, metadata of the first disk partition using the first thread, and writing the metadata of the first disk partition into a first page cache using the first thread. In the kernel mode, metadata of a disk partition is pre-cached into a page cache using the first thread, and in a subsequent process in a user mode, the metadata of the disk partition is directly read from the page cache. A storage area of the page cache is memory and has a higher read/write operation rate compared with a disk.

Patent Agency Ranking