In view of the easily ignored safety problems in the power grid automation of the energy management system(EMS) itself, suggestions for improvement are made while verifying those for realizing the systemic alarming mechanism that is loosely coupled with the EMS platform. As the security configuration files of EMS usually lack systematic design, the safe hierarchical modular design for EMS is provided first. All the security installations are reorganized and packed based on their character and importance. The security configuration management is practiced based on the concurrent versions system(CVS). The data-mining technology is used for searching EMS fault in advance. Finally, case studies on EMS in Guangdong power grid have verified the rationality of the above-mentioned suggestions.