It aims to perfect the preservice training system and improve the teaching quality of primary schools. The research methods are questionnaire survey and interview, and 154 teachers from 16 primary schools under the background of smart city development are used as the research objects. Questionnaires are distributed to them, and the Internet of Things (IoT) technology is used to analyze the adaptation law of primary school teachers’ preservice training and to conduct in-depth research on teacher education and training strategies according to the relevant curriculum system. The results manifest that the IoT technology can effectively process the questionnaire data. From the perspective of the smart city, more than 70% of art teachers and physical education (PE) teachers know nothing about their professional level, and nearly 40% of music teachers know little about their professional level of teachers. In addition, more than 50% of the teachers surveyed do not have a clear understanding of their own professional standards, teacher training standards, primary school training strategies, and guarantee mechanisms of the teaching effect. It means that teachers in the progress of smart cities should strengthen the training of professional level and education policy during preservice training. After the evaluation and training system is established according to the ratio of “25.4% of primary school students’ growth knowledge +42.7% of professional knowledge +31.9% of teacher education curriculum knowledge”, students’ learning enthusiasm increased by 23%, and their academic performance increased by 15%. This indicates that the training system can ensure the good learning effect of students. Therefore, the research on preservice training strategies and guarantee mechanisms for primary and secondary school teachers in smart cities by the IoT provides a certain direction for subsequent teacher training.