With the development of mining industry,people have obtained profits from it,but they are facing environmental damages.In order to monitor these environmental changes,a spectral library is set up for the spectrum data organization and management of mine typical objects.Most of the spectrum data come from the long-term field measuring in mining area and other spectral libraries.For the data quality control and error detection in the measuring data,an inner precision calculation method is presented and a series of interactive graphical controls are developed for the spectrum visualization and analysis.Through extracting and saving spectrum characters for the mine typical objects,realizs spectrum matching and classification for new measured spectrum samples are realized by using Euclidean distance,Aitchison distance,Pearson correlation coefficient and vector angular cosine methods.Based on the matching result,this work is able to gather dynamically physicochemical environment parameters from the library and gives an early warning for the mine environmental changes.