Aiming at the problem of congestion and blockage caused by the increasing number of cars in urban roads, in order to alleviate the congestion and blockage of urban main roads, the number of vehicles in each lane was calculated based on geomagnetic sensor and infrared counter. At the same time, considering the influence of the number of lanes on the capacity of the road, according to the actual situation of the road needs to establish the variable lane research program in line with the actual section, and put forward the intelligent lane control system suitable for the urban main road. By analyzing the data collected by sensors, the lane adaptive control can be realized. According to the special situation of emergency rescue, the emergency mode is put forward to save rescue time. Real-time lane information on the screen can help you plan your route in advance and reduce travel time.