The present invention provides a substituted fused heteroaryl compound serving as a kinase inhibitor, and applications thereof. Specifically, the present invention provides a compound represented by formula I, or a medicinal salt or a prodrug thereof, A1-A4, B1-B3, D1-D4 and R1-R3 being defined herein. The compound represented by formula I is a kinase inhibitor. Accordingly, the compound in the present invention can be used for treating cancer and other clinical conditions caused by a defect in a DDR function.La présente invention concerne un composé hétéroaryle fusionné substitué servant d'inhibiteur de kinase et ses applications. La présente invention concerne particulièrement un composé représenté par la formule I, ou un sel médicinal ou un promédicament de celui-ci, A1-A4, B1-B3, D1-D4 et R1-R3 étant définis dans la description. Le composé représenté par la formule I est un inhibiteur de kinase. Le composé de la présente invention peut être utilisé pour traiter le cancer et d'autres états cliniques provoqués par un défaut dans une fonction DDR.本发明提供取代的稠合杂芳基化合物作为激酶抑制剂及其应用。具体而言,本发明提供下式I的化合物,或其可药用盐或前药,其中A1-A4,B1-B3,D1-D4和R1-R3为本文所定义。式I的化合物是激酶抑制剂。因此,本发明的化合物可用于治疗因为DDR功能缺陷而引起的临床病症,例如癌症。