Abstract: Provided in the present invention are a heteroaromatic acetamide derivative and the preparation and the use thereof, wherein the heteroaromatic acetamide derivative is a heteroaromatic acetamide compound as shown in general formula (I), or a pharmaceutically acceptable salt and/or solvate thereof. According to the present invention, experiments have confirmed that the heteroaromatic acetamide derivative of the present invention can specifically bind to transient receptor potential ankyrin 1 (TRPA1) and inhibit or reduce the activity thereof, and can be used for treating diseases mediated by TRPA1. The present invention further provides a method for preparing the heteroaromatic acetamide derivative, and a drug and pharmaceutical composition containing the heteroaromatic acetamide derivative.