The relational real-time databases are widely used in the energy management system (EMS), in which the model data complying with the common information model (CIM) cannot be stored directly. To solve this problem, a prototype of object-oriented real-time database is proposed. First, the key techniques for developing an object-oriented real-time database are analyzed. Then, the Memento design-pattern and shared memory pool are adopted to implement this system. The data structure of the real-time database is introduced. In the last part of the paper, some numerical tests are performed to prove the effectiveness of this system in its initial application.%调度自动化系统中采用的实时数据库主要是关系型内存数据库.能量管理系统(EMS)中广泛采用的公共信息模型(CIM)是采用类包的形式定义的,因此无法直接在关系型数据中存取CIM.分析了对象驻留在共享内存中的技术障碍,通过应用备忘录设计模式实现对象状态挂接和共享对象池技术,提出了实现进程间访问共享CIM对象的方法.利用所提出的方法实现了一个采用面向对象技术的实时数据库原型系统,并在CIM服务方面得到了初步应用.
展开▼