This invention relates to compounds as general formula (I) or its pharmaceutical salts, especially relates to compounds as general formula (I) or its pharmaceutical salts, process for preparing and their use thereof, the compounds have activity in ALK inhibition, they can be used to treat cancers which show positive in ALK, they have broad prospect in pharmaceutical use.本發明涉及具有ALK抑制活性的化合物及其製備與用途。具體而言,本發明涉及一種如通式(I)所示的化合物或其可藥用鹽,其製備方法及其用途。該化合物具有ALK抑制活性,可用於治療ALK呈陽性的相關癌症,具有廣闊的用藥前景。