With the continuous development of education in recent years,the scale of universities has been expanding,and higher requirements have been put forward for campus security management.This article designs a campus security monitoring and early warning system,which uses intelligent IoT devices such as cameras,smart access control,and facial recognition to obtain real-time monitoring data.The system's infrastructure is built through SpringBoot and Vue frameworks to achieve front-end and back-end separation.Users can perform corresponding operations on the system through the front-end page,and integration of relevant algorithms is implemented through the back-end business,which provides strong support for system functions.