基于Indy控件的遥测中心GPRS数据接收软件应用  被引量:2

Application of GPRS Data Receiving Software in Telemetry Center Based on Controls of Indy

在线阅读下载全文

作  者:熊启龙[1] 

机构地区:[1]水利部淮河水利委员会水文局,安徽蚌埠232001

出  处:《水利信息化》2012年第5期49-52,共4页Water Resources Informatization

摘  要:如何解决数据碰撞和多线程条件下的数据库操作是遥测中心站GPRS数据接收软件开发的关键,采用基于Delphi平台下的Indy控件编写软件,为每个TCP连接分配1个单独线程处理通信任务,是解决数据碰撞的办法之一。多线程条件下数据库操作需要考虑线程安全,采用"连接池"设计模式对多线程操作数据库的连接统一分配和管理,可以减少对数据库资源的占用。通过在山东省水情自动测报系统的应用,说明此设计方式对实现GPRS数据接收遇到的关键问题和功能实现能给出基本模型,很好地改善GPRS数据接收软件的数据库操作性能,减少系统资源的使用。How to solve database manipulation in the condition of data collision and multithreading is the key of GPRS data receiving software application in telemetry center. The soRware is written with the control of Indy based on Delphi platform. Every TCP connection is distributed an independent thread processing communication task. It is one of methods to solve the data collision. In the condition of multithreading, database manipulation needs to consider thread- safe. The connection of multithreading operation database is assigned and managed by design patterns of "connecting pool" . It can reduce database resource occupancy. Through application of water regime automatic telemetry system in Shandong, it illustrates that the designing style can give the basic model for function implementation and the key problems receiving GPRS data. It well improves database performance of GPRS data receiving soft'ware and reduces the use of system resources.

关 键 词:GPRS网络 TCP UDP数据接收 数据碰撞 INDY控件 多线程 连接池 

分 类 号:TV929.5[水利工程—水利水电工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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