US 11,868,651 B2
Key-value KV storage method and apparatus, and storage device
Tao Huang, Shenzhen (CN); Siwei Luo, Chengdu (CN); and Zhong Qin, Chengdu (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Feb. 11, 2022, as Appl. No. 17/669,726.
Application 17/669,726 is a continuation of application No. PCT/CN2020/088825, filed on May 6, 2020.
Claims priority of application No. 201910744198.7 (CN), filed on Aug. 13, 2019.
Prior Publication US 2022/0164132 A1, May 26, 2022
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0655 (2013.01) [G06F 3/0622 (2013.01); G06F 3/0679 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A key-value (KV) storage method, comprising:
receiving a write request, wherein the write request is associated with writing a first key and a first value;
storing the first key in a first memory chip of a solid state drive (SSD), and storing the first value in a second memory chip of the SSD, based on an erase count of the first memory chip being less than an erase count of the second memory chip; and
creating 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.