Smart classroom is based on information technology, and its operation, upgrading, and development need technical support. At present, most of the smart classroom teaching adopts traditional architecture, highlighting the characteristics of disciplines, insufficient data processing, and narrow application fields. Based on this, this paper studies and analyzes the application of Internet of things architecture in college smart classroom teaching analysis. Based on the simple analysis of the development of intelligent algorithms and smart classrooms of the Internet of things, this paper constructs a smart classroom system based on the architecture of the Internet of things, transfers it to information-based teaching, introduces an intelligent service platform, and uses intelligent algorithms to mine and cluster data. The core algorithm is improved based on K-means algorithm and grid algorithm to improve the pertinence and effectiveness of the algorithm. Through the simulation results, the improved clustering analysis algorithm can shorten the running time and improve the clustering effect. At the same time, the application test results of the algorithm also show the superiority of the clustering results, which can provide more strategies for later teaching.