| CPC G06F 3/064 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01)] | 15 Claims |

|
1. A computer-implemented method for data storage, comprising:
receiving data to be stored, wherein the data comprise data corresponding to a plurality of fields;
determining whether a size of the data exceeds a predetermined threshold; and
in response to determining that the size of the data exceeds the predetermined threshold:
determining a field in the plurality of fields that corresponds to a largest portion of the data;
splitting the largest portion of the data to obtain data blocks;
determining block identifiers of the data blocks based on a sequence of the data blocks;
storing a first key-value pair, wherein a key of the first key value pair comprises a data identifier of the data, and a value of the first key-value pair comprises a range of the block identifiers; and
storing second key-value pairs, wherein a key of a second key-value pair comprises a block identifier, and a value of the second key-value pair comprises a corresponding data block;
storing a first portion of the data blocks and corresponding block identifiers in a graph database; and
after a network interruption, resuming to store a second portion of the data blocks and corresponding block identifiers in the graph database.
|