Glass products have a long history and are the media of early civilization exchange and the precious material evidence of trade between various countries. Glass is prone to weathering in natural environment, and the color, shape and internal chemical composition of glass may change greatly before and after weathering. In the present era of cultural exchanges and mutual learning and cultural confidence, the research and innovation of glass and other important ancient trade objects is particularly important. At present, most of the literature only explores the influencing factors of glass weathering, and there is no study on the correlation of its internal chemical composition content. In order to solve this problem, In this paper, based on the new data, Spearman correlation coefficient was used to study the key factors affecting glass surface weathering from the three aspects of type, color and decoration, and it was found that the only significant influencing factor was glass type. Random forest and decision tree were used to classify high‐potassium glass and lead‐barium glass as follows: The content of lead oxide less than 5.46% is high potassium glass, and the content of lead barium glass more than 5.46% is lead barium glass. Finally, through gray correlation analysis, we found that in high potassium glass, the grey correlation degree of silica and tin oxide with surface weathering is the highest; in lead barium glass, the grey correlation degree of lead oxide and calcium oxide with surface weathering is the highest.