The present invention relates to C-aryl glucoside derivative, a preparationmethodfor same, and medical applications thereof. Specifically, the presentinvention relates tocompounds as represented by formula I, and, tautomers, enantiomers,diastereomers,racemates, and pharmaceutically acceptable salts of the compounds, apreparationmethod for same or a pharmaceutical composition comprising the compounds, andapplications thereof as a therapeutic agent and particularly as a sodium-dependentglucose contransporter protein (SGLT) inhibitor.