The invention relates to a method for fast detecting content of dioscin in 
dioscorea zingiberensis by utilizing near 
infrared spectrum technology, which effectively solves the problems that a traditional 
analysis method is complex, high in production cost, low in efficiency and plenty in 
raw material waste and comprises utilizing a 
near infrared spectrometer to scan near 
infrared absorbing spectrum of a calibration sample set, performing pre-treatment and spectrum area selection to obtain calibration sample set characteristic spectrum, and utilizing 
high performance liquid chromatography to detect index content of the calibration sample set 
dioscorea zingiberensis to serve as a reference value; utilizing a partial 
least squares method to combine the characteristic spectrum of the calibration sample set and the reference value to establish a calibration model, then substituting characteristic spectrum of a validation sample set into the calibration model, and obtaining a night-time 
ozone profile (NIR) predict value; comparing the NIR predict value with the content of validation sample set 
dioscorea zingiberensis detected through the 
high performance liquid chromatography (HPLC), performing validation on the calibration model, crushing a sample to be tested, scanning a near 
infrared spectrogram of the sample to be tested , and after performing pre-treatment and spectrum area selection, inputting the calibration model. The method for fast detecting the content of the dioscin in the 
dioscorea zingiberensis by utilizing the near infrared spectrum technology is short in time, fast in speed, accurate and capable of performing detection on line in real time, improving working efficiency and reducing cost.