引用本文:谢欢,$2,$2,阙凌燕.实时数据服务器软件设计[J].电力自动化设备,2003,(11):56-59
.Design of real-time database server software[J].Electric Power Automation Equipment,2003,(11):56-59
【打印本页】   【HTML】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3588次   下载 0 本文二维码信息
码上扫一扫!
实时数据服务器软件设计
谢欢,$2,$2,阙凌燕
作者单位
摘要:
介绍了实时数据服务器的特点和设计过程,分析了其中的若干关键技术:多线程、oracle调用接口OCI(Oracle Call Interface),Socket和select函数的优点。通信协议采用基于有连接的TCP/IP通信协议,软件设计采用阻塞的通信模式和OCI连接数据库,利用select函数定时中断阻塞,进行错误冗余处理。经现场实际测试,该设计方式能够满足全网发电机功角监测的实时数据处理要求。
关键词:  数据服务器 实时数据库 历史数据库 Posix threads
DOI:
分类号:TM307 TP393
基金项目:
Design of real-time database server software
XIE Huan  WU Feng  JU Ping  QUE Ling-yan
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

用微信扫一扫

用微信扫一扫