The invention discloses a kind of ring-fused pyrimidines aminoderivative its preparation method, intermediate, pharmaceutical composition and application.The preparation method of described ring-fused pyrimidines aminoderivative includes: in solvent, under the catalyst action containing palladium, the compound shown in formula I a and the compound shown in formula I b is carried out coupling reaction, then prepares compound of Formula I through deprotection reaction.The invention also discloses described ring-fused pyrimidines aminoderivative in preparation for the application preventing, alleviate and/or treating cancer and/or in the medicine of relevant disease that anaplastic lymphoma kinase ALK Alk receptor tyrosine kinase causes.The ring-fused pyrimidines aminoderivative of the present invention has obvious inhibiting effect to anaplastic lymphoma kinase ALK Alk receptor tyrosine kinase.