Lonicerae japonicae flos (LJF, Lonicera japonica Thunb.) is adopted as a core herb for preventing and treating influenza. However, the anti-influenza virus components of LJF and the impact of quality-affecting factors on the anti-influenza activity of LJF have not been systematically investigated. In this study, a strategy integrating anti-influenza virus activity, ultrahigh-performance liquid chromatography fingerprint and chemical pattern recognition was proposed for the efficacy and quality evaluation of LJF. As a result, six bioactive compounds were screened out and identified as neochlorogenic acid, chlorogenic acid, cryptochlorogenic acid, 4,5-Di-O-caffeoylquinic acid, sweroside and secoxyloganin. Based on the bioactive compounds, chemical pattern recognition models of LJF were established by a linear discriminant analysis (LDA). The results of the LDA models and anti-influenza virus activity demonstrated that cultivation pattern significantly affected the anti-influenza effect of LJF and that the neuraminidase inhibition rate of wild LJF was significantly higher than that of cultivated LJF. Moreover, the quality of LJF samples with different processing methods and geographical origins showed no obvious difference. Overall, the proposed strategy in the current study revealed the anti-influenza virus components of LJF and provided a feasible method for thequality evaluation of LJF, which has great importance for assuring the clinical effect against influenza of LJF.