An approach combining real-time release testing with near-infrared spectroscopy to improve quality control efficiency of Rhizoma paridis.