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