GARBAGE DATA SCRUBBING METHOD, AND DEVICE
    1.
    发明公开

    公开(公告)号:EP4099177A1

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

    申请号:EP22169777.4

    申请日:2017-10-13

    IPC分类号: G06F16/00 G06F12/02 G06F3/06

    摘要: 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.

    APPLICATION PROGRAM DATA PROTECTION METHOD AND TERMINAL

    公开(公告)号:EP3742316A1

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

    申请号:EP18909794.2

    申请日:2018-03-15

    IPC分类号: G06F21/60

    摘要: A method for protecting application data and a terminal provided in this application relate to the field of communications technologies, help prevent data in an application from being deleted mistakenly, and help improve data security of the application in the terminal. The method specifically includes: detecting a deleting operation performed by a first application on first data; determining, based on a preset condition, whether to delete the first data of the first application; renaming, if the first application meets the preset condition, the first data of the first application; and storing the renamed first data in a memory.

    DATA COMPRESSION METHOD AND APPARATUS
    3.
    发明公开

    公开(公告)号:EP4336336A1

    公开(公告)日:2024-03-13

    申请号:EP22823871.3

    申请日:2022-04-07

    IPC分类号: G06F3/06

    摘要: This application discloses a data compression method and apparatus. The method includes: obtaining m data blocks in a data area of a readable and writable file system; compressing the m data blocks by using a preset compression algorithm, to sequentially obtain n compressed data blocks, where first capacities of all compressed data blocks are the same, and the first capacity represents a quantity of bytes of compressed data that can be included in the compressed data block; and establishing a first index of each of j data blocks corresponding to an i th compressed data block in the n pieces of compressed data, and recording a mapping relationship between first indexes and the j data blocks. The first index is used to identify a storage location, in a storage medium, of each data block included in the j data blocks, and attribute information included in each of the j data blocks. When a data block is read, read efficiency can be effectively improved, and it can be ensured that data is read in a random read scenario with a small read amplification coefficient.

    RECOMMENDATION METHOD AND APPARATUS BASED ON USER PRIVATE DATA, AND MEDIUM AND SYSTEM

    公开(公告)号:EP4036758A1

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

    申请号:EP20878083.3

    申请日:2020-08-10

    IPC分类号: G06F16/9535 G06F21/62

    摘要: A user privacy data-based recommendation method and apparatus, a medium, and a system are provided. The recommendation method includes: sending a user preference tag to a cloud (100), where the user preference tag includes a first generalized tag obtained after a first tag generated based on privacy data of a user is generalized; receiving a plurality of resource items found by the cloud (100) from a resource library based on the user preference tag; and selecting a recommended resource item from the plurality of resource items. In this way, an accurate, thoughtful, and personalized recommendation service can be more intelligently provided for the user in a case in which generalized privacy data instead of user privacy data is uploaded.

    MODEL SELECTION METHOD AND TERMINAL
    5.
    发明公开

    公开(公告)号:EP3876117A1

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

    申请号:EP18941272.9

    申请日:2018-11-26

    发明人: YU, Chao ZHOU, Xinyu

    IPC分类号: G06F17/00

    摘要: A model selection method and a terminal are provided. The method includes: A terminal obtains first behavior data generated when a user operates the terminal. The terminal selects a first model from a plurality of stored models according to a preset policy. The terminal runs the first model by using the first behavior data as an input parameter of the first model, to obtain a first output result. The terminal provides a first artificial intelligence AI service based on the first output result. When the first model does not meet a condition, the terminal selects a second model from the plurality of models. The terminal runs the second model by using second behavior data as an input parameter of the second model, to obtain a second output result, where the second behavior data is generated after the first behavior data, and is a same behavior of operating the terminal by the user. The terminal continues to provide the first AI service based on the second output result. In this manner, flexibility of model selection is improved, thereby providing the AI service more accurately and improving user experience.

    METHOD FOR IDENTIFYING QUESTIONS HAVING SAME SEMANTIC MEANING AND ELECTRONIC DEVICE

    公开(公告)号:EP4024264A1

    公开(公告)日:2022-07-06

    申请号:EP20869384.6

    申请日:2020-09-10

    IPC分类号: G06F40/30

    摘要: A method for identifying questions with same semantics and an electronic device are provided. The method 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. The method can effectively improve accuracy of identifying questions with same semantics.

    SYSTEM STARTUP METHOD AND RELATED DEVICE
    7.
    发明公开

    公开(公告)号:EP3974969A1

    公开(公告)日:2022-03-30

    申请号:EP20839633.3

    申请日:2020-07-09

    IPC分类号: G06F9/4401

    摘要: Embodiments of this application disclose a system startup method and a related device. The 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 by using the first thread; and writing the metadata of the first disk partition into a first page cache by using the first thread. In the kernel mode, metadata of a disk partition is pre-cached into a page cache by using the first thread, and in a subsequent process in a user mode, the metadata of the disk partition may be 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. Therefore, congestion occurring when a system of a terminal device starts can be effectively avoided, and time required for system startup can be reduced.

    AI MODEL DEVELOPMENT METHOD AND DEVICE
    8.
    发明公开

    公开(公告)号:EP3836021A1

    公开(公告)日:2021-06-16

    申请号:EP18933825.4

    申请日:2018-09-19

    IPC分类号: G06K9/62

    摘要: Embodiments of this application disclose an AI model development method and apparatus, and relate to the field of AI technologies, so that an AI model that satisfies a running environment and a performance requirement of a terminal can be developed with comparatively low costs. A specific solution is as follows: A development platform obtains platform indication information, service indication information, and parameter requirement information of a to-be-generated AI model; selects, from an operator database, a plurality of available operators that correspond to a running platform and that are used to execute a first service; selects an operator from the plurality of available operators, and sets a parameter of the selected operator, to generate a first candidate policy; performs sample training on the first candidate policy to obtain a first candidate AI model; invokes a simulator component of the running platform to run the first candidate AI model to execute processing on test data of the first service, so as to obtain a first running parameter; and if the first running parameter matches the parameter requirement information, determines that the first candidate AI model is a target AI model.

    STORAGE FRAGMENT MANAGING METHOD AND TERMINAL

    公开(公告)号:EP3789883A1

    公开(公告)日:2021-03-10

    申请号:EP18924374.4

    申请日:2018-06-30

    IPC分类号: G06F12/02 G06F3/06

    摘要: This application provides 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.

    GARBAGE DATA CLEANING METHOD AND EQUIPMENT
    10.
    发明公开

    公开(公告)号:EP3680786A1

    公开(公告)日:2020-07-15

    申请号:EP17928462.5

    申请日:2017-10-13

    IPC分类号: G06F16/00

    摘要: 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.