Disclose the pyrimidine compounds of the EGF-R ELISA (EGFR) of modulation mutant selection and the heterocycle of ALK kinase activities. More specifically the present invention provides the pyrimidine inhibited, adjusts and/or modulates kinases receptors knot, be especially disclosed in the selectively modulation of various EGFR mutant activities and ALK kinase activities. Disclose pharmaceutical compositions comprising be used for and the pyrimidine derivative and method for the treatment of of the associated disease of protein kinase enzymatic activity, especially EGFR or the ALK kinase activities of the non-small cell lung cancer of the management including pyrimidine derivative.