Electrical dispatch system is the most reliable and effective technique to ensure the stable, secure and economic operation of power system. The traditional relational database management system can't fulfill the need of times-critical applications, such as the master station of electrical dispatch system.Now, Real-Time Database (RTDB) is used widely in the master station of electrical dispatch system. Aiming at the current application of RTDB used in the master station of electrical dispatch system, a kind of general real-time database is proposed and designed in this thesis.To construct the general real-time database model based on master station of electrical dispatch system, several key technologies, such as data storage and management, transaction scheduling, concurrency control and active mechanism are researched in detail.Based on the key technology, Unified Modeling Language (UML) is used to design the model of RTDB. The general Real-Time database model can define the information of table and field and can describe the relation of tables by setting the key words of table. Transaction scheduling model based on the priority queue and the ordered shared locking protocol are designed. On analyzing the based active event of the master station of electrical dispatch system, a kind of monitor trigger is designed.On the basis of the designed general Real-Time database model, RTDB is implement used DLL based on VC++ 。The performance of RTDB is verified using the instance. Calculating indicates the system has reached the goal of initial stage, realized the interface universalization and the high efficiency running.
|