During the large-scale outbreak of COVID-19 in China, the Chinese government adopted multiple measures to prevent the epidemic. The consequence was that a sudden variation in residents’ travel behavior took place. In order to better evaluate the temporal distribution of air pollution, and to effectively explore the influence of human activities on air quality, especially under the special situation, this study was conducted based on the real data from a case city in China from this new perspective. Two case scenarios were constructed, in which the research before the changes of residents’ travel behavior was taken as case one, and the research after the changes in residents’ travel behavior as case two. The hourly real-time concentrations of PM2.5, PM10, SO2, NO2, CO and O3 that have passed the augmented Dickey–Fuller (ADF) test were employed as a data source. A series of detailed studies have been carried out using the correlation method, entropy weight method and the Air Quality Index (AQI) calculation method. Additionally, the research found that the decrease rate of NO2 concentration is 61.05%, and the decrease rate of PM10 concentration is 53.68%. On the contrary, the average concentration of O3 has increased significantly, and its growth rate has reached to 9.82%. Although the air quality in the first week with fewer travels was in the excellent category, and chief pollutant (CP), as well as excessive pollutant (EP), were not found, as traffic volume increased, it became worse in the second and third weeks. In addition to that, special attention should still be paid to the development trend of O3, as its average hourly concentration has increased. The findings of this study will have some guiding significance for the study of air pollution prevention, cleaner production, and indoor environmental safety issues, especially for the study of abnormal traffic environments where residents’ travel behaviors have changed significantly.