A method, an apparatus and a computer program product for performing reactive ventilation or prevention operations to air pollution in a moving vehicle. The method comprises obtaining a driving path of the vehicle that comprises a future sub-path that the vehicle is expected to arrive to at a future time, an estimated time-window the vehicle is expected to be located thereon, and air pollution data of the driving path that comprises an air pollution level at the future sub-path. In response to predicting, based on the air pollution data and the driving path, that the vehicle is about to encounter air pollution at the future sub-path, a prevention action is performed prior to the vehicle reaching the future sub-path. In response to a determination that the estimated air pollution level is below a threshold, performing a ventilation action while the vehicle is located on the future sub-path.
展开▼