DTS中实时内存数据库的构建及匿名管道进程通信  被引量:2

Construction of real-time memory resident database and anonymous pipes used in IPC of DTS

在线阅读下载全文

作  者:常鲜戎[1] 张帅民[1] 姜志宇[1] 

机构地区:[1]华北电力大学电力系统保护与动态安全监控教育部重点实验室

出  处:《电力自动化设备》2006年第3期61-65,共5页Electric Power Automation Equipment

摘  要:针对调度员仿真培训系统DTS(Dispatcher Training Simulator)对数据库快速传输数据的要求,结合DTS中访问数据库的特点及进程间通信的特征提出一种结合内存数据库与对象数据库构建实时内存数据库的方法。该实时内存数据库的优点是读/写速度快、无操作冗余、根据给定的条件主动向用户传输数据。针对所构建的实时内存数据库,提出了使用匿名管道方法进行计算进程与实时内存数据库进程间的通信(IPC),同时,对比了共享内存和套接字方法,给出了部分程序代码及对比试验数据。开发实践证明效果良好。A new real-time memory resident database combining the memory database and objective database is put forward for high-speed data transmission in DTS databases,which takes into account the characters of database access and IPC(Inter Process Communication) in DTS. It has fast I/O without redundant operations and sends data to users actively according to the query received. Anonymous pipes are adopted in IPC between calculation process and real-time memory database process,and the shared memory method and the socket method are compared. Partial codes and test data are provided. Practice shows it effective.

关 键 词:DTS 实时内存数据库 匿名管道 进程间通信 实时性 共享内存 

分 类 号:TM73[电气工程—电力系统及自动化]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象