Real time database management system for automatic system of electric power, and implementation method

The invention is a real-time database management system for an electric power automatic system and the implementing method thereof. And the system comprises operating system abstract layer module, database application program interface, database file subsystem, database establishing subsystem, and data I/O system, and the method comprises the steps of: a computer stores database model file defined by database definition language into a memory subarea; judging if to build a database: if yes, using the database establishing subsystem to establish a database; and otherwise ending; judging if to load a database: if yes, loading a real-time database by the real-time database management service subsystem and mapping the database model into a memory and otherwise ending; a data backup subsystem leads data backup into the database; judging if the database call is completed: if yes, ending and otherwise continuing; the invention is suitable for an electronic power automatic system.