The present application relates to a substituted amino six-membered saturated heteroalicycle represented by formula I as a long-acting DPP-IV inhibitor, a method for preparing the same, a pharmaceutical composition comprising the same, and a use of the same in treating and/or preventing diseases and disorders benefitting from DPP-IV inhibition.