This paper mainly introduces the technical principles of near-infrared spectral analysis and the significance of data processing, analyzes the common methods of spectral preprocessing, and finally compares the advantages and disadvantages of several different spectral data processing methods, and summarizes the progress of their applications.