节点文献
实时数据服务器软件设计
Design of real-time database server software
【摘要】 介绍了实时数据服务器的特点和设计过程,分析了其中的若干关键技术:多线程、oracle调用接口OCI(OracleCallInterface),Socket和select函数的优点。通信协议采用基于有连接的TCP/IP通信协议,软件设计采用阻塞的通信模式和OCI连接数据库,利用select函数定时中断阻塞,进行错误冗余处理。经现场实际测试,该设计方式能够满足全网发电机功角监测的实时数据处理要求。
【Abstract】 The features and design of real time database server for real time supervision of power system are introduced,several key techniques of which are analyzed,such as multi-thread,OCI (Oracle Call Interface),Socket and select function.The communication protocol adopts TCP with connection,the software design applies blocking mode and OCI technique,and the function SELECT()is used to disrupt the blocking for error redundant processing.Site test proves that this design meets the demand of phase angle measuring system for real-time data processing.
【Key words】 database server; real-time database; history database; Posix threads;
- 【文献出处】 电力自动化设备 ,Electric Power Automation Equipment , 编辑部邮箱 ,2003年11期
- 【分类号】TM769
- 【被引频次】12
- 【下载频次】141