Garbage Data Scrubbing Method, and Device
    21.
    发明申请

    公开(公告)号:US20200349069A1

    公开(公告)日:2020-11-05

    申请号: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.

    Instance segmentation method and apparatus

    公开(公告)号:US12254636B2

    公开(公告)日:2025-03-18

    申请号:US17853799

    申请日:2022-06-29

    Abstract: An instance segmentation method and apparatus are provided. A to-be-trained segmentation network performs the following processing on each instance group that is in a sample original image and that is of pixels of a marked instance, where each instance group includes at least one marked instance, and the processing includes: predicting at least two different first basic feature maps and a first attention feature map corresponding to each first basic feature map; performing weighted processing on the at least two first basic feature maps and pixel values of respective first attention feature maps corresponding to the at least two first basic feature maps, to obtain a first feature fusion map; and training the to-be-trained segmentation network based on the first feature fusion map and the sample original image. A segmentation model can precisely determine pixels of an instance in an original image.

    Display control method and apparatus

    公开(公告)号:US11868539B2

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

    申请号:US18153592

    申请日:2023-01-12

    Abstract: A display control method includes: obtaining, by a terminal, orientations and display statuses of a first screen and a second screen; determining, by the terminal, whether a trigger event used for adjusting the display statuses of the first screen and the second screen occurs; and when the trigger event occurs, displaying, by the terminal, adjusted display content on the first screen and the second screen based on the orientations and the display statuses of the first screen and the second screen. By obtaining an orientation and a display status of a terminal screen, when the trigger event occurs, the terminal can adjust the display status of the screen in a timely manner, so that a user can perform an interaction operation and interaction display between different screens.

    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.

    Shooting control method and terminal

    公开(公告)号:US11785331B2

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

    申请号:US18150358

    申请日:2023-01-05

    Abstract: A shooting control method includes displaying, by a terminal, a first screen that is not a video recording viewfinder screen, receiving, by the terminal, a first operation of a user on the first screen, displaying, in response to the first operation, a second screen, starting, in response to the first operation, to record a first video, and buffering, in response to the first operation, the first video, when the terminal detects a second operation, in response to the detected second operation, stopping, by the terminal, a video recording, and displaying, in response to the detected second operation, a third screen prompting the user to determine whether to save the first video, and saving or deleting the first video according to a selection operation of the user on the third screen.

    Display control method and apparatus

    公开(公告)号:US11586293B2

    公开(公告)日:2023-02-21

    申请号:US17500609

    申请日:2021-10-13

    Abstract: A display control method includes: obtaining, by a terminal, orientations and display statuses of a first screen and a second screen; determining, by the terminal, whether a trigger event used for adjusting the display statuses of the first screen and the second screen occurs; and when the trigger event occurs, displaying, by the terminal, adjusted display content on the first screen and the second screen based on the orientations and the display statuses of the first screen and the second screen. By obtaining an orientation and a display status of a terminal screen, when the trigger event occurs, the terminal can adjust the display status of the screen in a timely manner, so that a user can perform an interaction operation and interaction display between different screens.

    Class unloading method and electronic device

    公开(公告)号:US11163589B2

    公开(公告)日:2021-11-02

    申请号:US16754701

    申请日:2017-10-13

    Abstract: A class unloading method comprises: loading, by an electronic device, n classes after an application is started, where n is a positive integer; generating a reference mapping table, where the reference mapping table includes a reference relationship between the n classes and m class objects corresponding to the n classes and a dependency relationship between the m class objects corresponding to the n classes, the dependency relationship is used to represent an interdependency mapping relationship between different class objects, and m is a positive integer greater than or equal to n; and unloading a first class of the n classes based on the reference mapping table in an operation process of the application.

Patent Agency Ranking