US 12,353,721 B2
Method, electronic device, and computer program product for processing key-value data
Aaron Wu, Shanghai (CN); Xiao Le Shang, Shanghai (CN); and Wesley Wei Sun, Shanghai (CN)
Assigned to DELL PRODUCTS L.P., Round Rock, TX (US)
Filed by Dell Products L.P., Round Rock, TX (US)
Filed on Oct. 12, 2023, as Appl. No. 18/486,028.
Claims priority of application No. 202310945414.0 (CN), filed on Jul. 28, 2023.
Prior Publication US 2025/0036287 A1, Jan. 30, 2025
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0613 (2013.01) [G06F 3/0653 (2013.01); G06F 3/0685 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
acquiring, by a system comprising a processor, first key-value data and a first storage level corresponding to the first key-value data, wherein the first key-value data comprises first key data and first value data, and the first storage level indicates a first storage performance level of a memory in a storage system;
determining that the first storage level is a first level;
in response to the first storage level being determined to be the first level, storing the first key-value data in a primary storage tree in a first memory of the storage system;
acquiring second key-value data and a second storage level corresponding to the second key-value data, wherein the second key-value data comprises second key data and second value data, and the second storage level indicates a second storage performance level of the memory in the storage system;
determining that the second storage level is a second level that is different than the first level;
in response to the second storage level being determined to be the second level,
storing the second key data in the primary storage tree, and
storing the second key-value data in a secondary storage tree in a second memory of the storage system, wherein the first level is higher than the second level.