Patent ID: 8255424

Claim:
A system for structuring data in a storage device, the system implemented by a computer connected with the storage device that stores a plurality of original data, the system comprising: a data reading module operable to obtain the original data from the storage device, and store the original data in the form of character strings into a buffer memory of the computer according to end of file-line (EOF) tags; a data matrix construction module operable to construct a plurality of data arrays, store the character strings to each of the data arrays based on a capacity of the data array, and arrange each of the data arrays into a data matrix; a data matrix classification module operable to classify each of the data arrays in the data matrix according to properties of the character strings, and arrange the classified data arrays into a data file, and store the data file into the storage device; and wherein the data reading module is further operable to generate a data reading pointer for pointing to each of the character strings, and determine whether the reading pointer points to a character string with an end tag and wherein the data reading pointer points to a character string when the character string is read from the buffer memory, and points to a subsequent character string of the read character string after the read character string is deleted from the buffer memory.