Aiming at the low level of SCD file management in smart substation, a method of SCD file management and analysis based on graph database is proposed. First, the file structure and function model of SCD under the SCL model are analyzed, and analyzed into DOM structure tree. Then, the SCD knowledge graph was constructed, and the Neo4j graph database was used for storage, management and parsing. Python was used to implement the method, and the visibility and query performance of the method were tested. The results show that this method is helpful to the management of SCD files and can improve the efficiency of operation and maintenance staff.