Provided is a compound for inhibiting and degrading anaplastic lymphoma kinase ALK. Specifically provided is a compound as represented by the following formula I, wherein the definition of each group is as stated in the description. The compound has excellent anaplastic lymphoma kinase (ALK) inhibitory activity, and can be used for preparing drugs for treatment of ALK activity-related diseases.