The present invention relates to a tri-heterocyclic derivatives, preparation process and uses thereof, specifically relates to a tri-heterocyclic derivatives of the formula (I) or a pharmaceutically acceptable salt thereof, preparation process, and further relates to a pharmaceutically acceptable composition comprising compounds of formula (I), or a pharmaceutically acceptable salt thereof, and their pharmaceutical use as inhibitors of kinase.