Automotive Front Lighting System(AFS) can receive the steering signal and the vehicular speed signal to adjust the position of headlamps automatically. AFS will provide drivers more information of front road to protect drivers safe when driving at night.AFS works when there is a steering signal input. However, drivers often need the front road's information before they turn the steering wheel when vehicles are going to go through a sharp corner, AFS will not work in such a situation. This paper studied how to optimize the working time of AFS based on GIS (Geographic Information System) and GPS(Geographic Information System) to solve the problem.This paper analyzed the process of the vehicle is about to go through a corner. Low beams and high beams were discussed respectively. Taking into account the characteristics of GIS, GPS and driving conditions, this paper researched that when the vehicle derived on the single lane or double lane, the feasibility of the steering side headlight adjusted the position of the front light, and calculated the rotation angle and rotating angular velocity for the headlight, then determined the effective working range of the system. Then, the lighting areas of the system are showed by the simulation.The results showed that the pre-AFS can make the steering side headlight adjust the position of the lights most effectively before the vehicle go through the corner with the turning radius between 10-40 meters for low beams, and over 40 meters for high beams, it can provide more effective driving visual areas for drivers when they driving at night to reduce the incidence of accidents.