-
公开(公告)号:US20230153088A1
公开(公告)日:2023-05-18
申请号:US18154560
申请日:2023-01-13
Applicant: Huawei Technologies Co., Ltd.
Inventor: Yuming WU , Fangzhou LU , Xie MIAO
IPC: G06F8/41
CPC classification number: G06F8/457
Abstract: This application provides a system architecture switching method and apparatus. The method includes: when a system architecture needs to be switched, transforming a first system architecture into a second system architecture, where the first system architecture represents a system architecture before switching; and providing a service for a user by using the second system architecture. Dynamic switching of a system architecture is implemented by using a transformable system architecture, so that switching of different architectures can be implemented by using only one system architecture. Therefore, only code for implementing the system architecture is required, and code overheads can be reduced in comparison with a conventional technology.
-
公开(公告)号:US20220350531A1
公开(公告)日:2022-11-03
申请号:US17867880
申请日:2022-07-19
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Chengke WANG , Yongjun WEI , Xie MIAO , Wei FANG
IPC: G06F3/06
Abstract: A memory swapping method and apparatus are provided. The method includes: selecting n to-be-swapped-out pages; compressing the n to-be-swapped-out pages into n compressed blocks, and buffering the n compressed blocks in a compressed data buffer area; organizing at least one of the n compressed blocks into m to-be-written units; and writing the m to-be-written units into a swap area of a non-volatile storage device in a maximum of m batches, where at least one to-be-written unit is stored in a segment of continuous space in the swap area. The method reduces a quantity of write times during memory swapping, thereby prolonging a service life of the non-volatile storage device.
-
公开(公告)号:US20190258582A1
公开(公告)日:2019-08-22
申请号:US16400319
申请日:2019-05-01
Applicant: Huawei Technologies Co., Ltd.
Inventor: Xie MIAO , Yijing WANG , Bintian WANG , Qiulin CHEN
IPC: G06F12/0893 , G06F12/0804 , G06F12/0868
Abstract: Embodiments of the present disclosure provide a DRAM-based storage caching method for a smart terminal, and the method includes: capturing an IO delivered by an upper-layer application; determining, based on a configuration policy, whether the IO belongs to a pre-specified to-be-cached IO type; and when the IO belongs to the pre-specified to-be-cached IO type, performing a corresponding caching operation for the IO in a DRAM disk based on a read/write type of the IO and a preset caching policy, where the DRAM disk is a block device created by using a reserved part of DRAM space of an operating system.
-
公开(公告)号:US20220253252A1
公开(公告)日:2022-08-11
申请号:US17732854
申请日:2022-04-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Wei FANG , Xie MIAO , Xiang GAO , Hongjiang ZHAO , Xu TANG
IPC: G06F3/06
Abstract: A data processing method and apparatus are provided. The data processing method is: receiving a write request, where the write request is for requesting to write, to an external memory, first data in a first storage area in an internal memory; writing the first data to a second storage area in the internal memory, where the second storage area is a storage area, in the internal memory, that is reallocated to the first data, and the second storage area is different from the first storage area; sending a response message after the first data is written to the second storage area, where the response message indicates that processing of the write request is completed; and writing the first data in the second storage area to the external memory.
-
公开(公告)号:US20240192877A1
公开(公告)日:2024-06-13
申请号:US18584329
申请日:2024-02-22
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Laibin QIU , Wei FANG , Xie MIAO , Hongjiang ZHAO , Jie QIU
IPC: G06F3/06
CPC classification number: G06F3/064 , G06F3/0604 , G06F3/0679
Abstract: This application discloses a super block management method and apparatus. An example method includes: obtaining a parameter of a memory and a type of target data, where the target data is data to be written into the memory; configuring a capacity of a section in a file system based on at least one of the type of the target data or the parameter of the memory, where the configured capacity of the section matches a capacity of a super block in the memory; and managing, based on the configured capacity of the section, a logical address space corresponding to the memory.
-
公开(公告)号:US20230153236A1
公开(公告)日:2023-05-18
申请号:US18147362
申请日:2022-12-28
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
CPC classification number: G06F12/0246 , G06F12/0253 , G06F13/1668 , G06F2212/7201
Abstract: Data writing methods and computing devices are provided. An example data writing method is applied to a computer system, and the computer system includes a file system and a flash memory-based storage system. The example data writing method includes obtaining a target logical address, where the target logical address is an address allocated from a first logical block to target data to be written into the flash memory-based storage system, the first logical block is one of multiple logical blocks in the file system, and the flash memory-based storage system includes multiple physical blocks. It is determined that the target logical address belongs to the first logical block. The target data is written into a first physical block based on a correspondence between the first logical block and the first physical block, where the first physical block is one of the multiple physical blocks.
-
-
-
-
-