Abstract:On the basis of analyzing pattern matching algorithm, this paper puts forward an improved algorithm and applies it to data analysis system that can deal with large-scale data. The system establishes an index table in the beginning of data analysis, then analyses data with index table and frame structure table. The algorithm can efficiently resolve large-scale data problem and improve system performance.