摘要
介绍了实时数据服务器的特点和设计过程,分析了其中的若干关键技术:多线程、oracle调用接口OCI(OracleCallInterface),Socket和select函数的优点。通信协议采用基于有连接的TCP/IP通信协议,软件设计采用阻塞的通信模式和OCI连接数据库,利用select函数定时中断阻塞,进行错误冗余处理。经现场实际测试,该设计方式能够满足全网发电机功角监测的实时数据处理要求。
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.
出处
《电力自动化设备》
EI
CSCD
北大核心
2003年第11期56-59,共4页
Electric Power Automation Equipment