| CPC G06F 16/288 (2019.01) [G06F 16/215 (2019.01)] | 20 Claims |

|
1. A data storage method for string data, comprising:
performing pattern matching on each piece of string data in a to-be-stored string data set by using a pattern data set, to determine whether the string data comprises matched pattern data in the pattern data set, wherein the pattern data set is obtained through training by using a string data sample set sampled from the to-be-stored string data set, and each piece of pattern data is common string data of a plurality of string data samples and is stored in a pattern data storage area of a data storage system;
in response to that the string data comprises the matched pattern data, extracting dedicated string data other than the matched pattern data from the string data, and storing the extracted dedicated string data in a dedicated data storage area of the data storage system, wherein an index relationship is formed between the stored dedicated string data and corresponding pattern data stored in the pattern data storage area; and
in response to that the string data does not comprise the matched pattern data, storing original data of the string data in the dedicated data storage area as a whole.
|