The present invention relates heteroaryl derivatives, a preparation method thereof and pharmaceutical use thereof. Specifically, the present invention relates to a heteroaryl derivative represented by the general formula (I), a preparation method thereof, pharmaceutical compositions containing the same and as a therapeutic agent, particularly the use as an A2a receptor and/or A2a receptor agonist, and the use in the preparation of a medicament for the treatment of a condition or disorder ameliorated by inhibition of the A2a receptor and/or the A2b receptor. The definition of each substituent of formula (I) is as defined in the specification.本發明涉及雜芳基類衍生物、其製備方法及其在醫藥上的應用。具體而言,本發明涉及一種通式(I)所示的雜芳基類衍生物、其製備方法及含有該衍生物的醫藥組成物以及其作為治療劑,特別是作為A2a受體和/或A2b受體拮抗劑的用途和在製備用於治療藉由對A2a受體和/或A2b受體的抑制而改善的病況或病症的藥物中的用途,其中通式(I)的各取代基與說明書中的定義相同。