4. The computing device of claim 1 , wherein the outputting module outputs the retrieved desired data in a predetermined data format.
1. A computing device for parsing a text file to retrieve desired data from the text file, the computing device comprising a storage device and further comprising: a defining module operable to define a tree pattern based on the text file, and define a plurality of character string patterns to identify the desired data; a loading module operable to load the text file into an array, wherein each line of the text file is an element of the array; a parsing module operable to locate one or more text blocks of the text file to determine a tree structure corresponding to the text file according to the tree pattern, and retrieve the desired data from the text file according to the tree structure corresponding to the text file and the character string patterns; an outputting module operable to output the retrieved desired data into the storage system; and at least one processor that executes the defining module, the loading module, the parsing module, and the outputting module.