Taking Sangzhuling Tunnel and other typical tunnel entrances and exits of Lalin Railway as the research object, high-reso-lution images, radar images, online monitoring technology, sensor technology and image recognition technology are integrated into the "Internet + tunnel entrance". Based on three-dimensional real scene technology and spatial geographic information technology, com-bined with geographic information system and information management system, the online monitoring and early warning system of dan-gerous events at tunnel entrances and exits is established to provide real-time technical support for the advance prediction of dangerous events and reduce the hidden dangers of traffic operation safety.