Patent ID: 11868651
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 13:
14. A key-value (KV) storage apparatus comprising:
a first memory chip;
a second memory chip;
a processor coupled to the first memory chip and the second memory chip; and
a non-transitory computer readable medium storing a program for execution by the processor, the program including instructions to:
receive a write request, wherein the write request is associated with requesting to write a first key and a first value;
store, in the first memory chip, the first key, and store the first value in the second memory chip, based on an erase count of the first memory chip being less than an erase count of the second memory chip; and
create a mapping relationship between the first key, a physical address of the first key, and a physical address of the first value, wherein the physical address of the first key indicates that the first key is stored in storage space of the first memory chip, and wherein the physical address of the first value indicates that the first value is stored in storage space of the second memory chip.