×

Data storage method, electronic device, and computer non-volatile storage medium

  • US 10,642,515 B2
  • Filed: 07/02/2018
  • Issued: 05/05/2020
  • Est. Priority Date: 10/08/2016
  • Status: Active Grant
First Claim
Patent Images

1. A data storage method for a key-value storage system, comprising:

  • obtaining data, a size of the data, and a data structure type of the data;

    allocating a memory block for the data based on the size of the data and a predetermined block size;

    storing the data in the allocated memory block, the allocated memory block comprising a block attribute that includes the data and a head comprising management information corresponding to the block attribute, and the management information comprising a first block identifier for an antecedent memory block and a second block identifier for a succeeding memory block; and

    linking, based on the data structure type, the allocated memory block to a plurality of memory blocks arranged in a block list structure in response to the data structure type being at least one of a list type or a string type.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×