The safety of the transmission line is related to the overall stability of the smart grid. In order to eliminate the various grid disturbances at the source, grid operators need to closely combine the existing distribution mode of the grid to detect the root cause of the disturbance. Then, in this paper, the hidden danger processing of multi-source data smart grid line using pre-processing technology is studied. This study has designed a novel model from the perspectives of grid line modeling and routing rule analysis, hidden danger and pre-processing technology integration, respectively. First, the grid line modeling and routing rule analysis is studied, in order to analyze the power supply-load flow transmission relationship of the power system, the power flow tracking method is used to analyze the power flow. Second, the HINSE National Standard GB14050 "System Grounding Type and Safety Technical Requirements" is adopted to construct the line system, and then the pre-processing technology integration for the smart grid line stability improvement is studied. In the test section, the protection strategy and hidden hazard processing of micro-grid is simulated by using the computer-automated simulation software of the power line system. The performance is evaluated and the future work plan is discussed.