Lightning location system is a large scale, real time lightning detection system, using remote sensing automatically, precisely and continuously. With the research of the lightning location data collected from a long time, we can not only locate the position of the lightning accident, but also know the distribution of lightning activities in the giving area, analyse the direction and forecasting. Consequently it can provide data for the the lightning proof of buildings and reduce the damage to the human activities. Talking the study of lightning proof for power grid, this article present the grid method to store and analyse the lightning date, study the ways and applications for the lightning activities in the process of building smart gird.