The invention discloses a method for conveniently detecting aluminum ions based on carbon quantum dots synthesized from flavonoid glycosides and derivatives thereof. The method comprises steps of synthesizing the blue fluorescent carbon quantum dots with emission peaks at 400-480nm by taking flavonoid glycosides and derivatives thereof as precursors; inducing the blue fluorescent carbon quantum dots to generate green fluorescence of which the emission peak is located at 490-580nm by using the aluminum ions; and then under ultraviolet irradiation, obtaining a carbon quantum dot color fluorescen...