首页> 中文期刊> 《水利信息化》 >基于 Indy 控件的遥测中心 GPRS 数据接收软件应用

基于 Indy 控件的遥测中心 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 software 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 software and reduces the use of system resources.%  如何解决数据碰撞和多线程条件下的数据库操作是遥测中心站 GPRS 数据接收软件开发的关键,采用基于Delphi平台下的Indy控件编写软件,为每个TCP连接分配1个单独线程处理通信任务,是解决数据碰撞的办法之一。多线程条件下数据库操作需要考虑线程安全,采用“连接池”设计模式对多线程操作数据库的连接统一分配和管理,可以减少对数据库资源的占用。通过在山东省水情自动测报系统的应用,说明此设计方式对实现 GPRS 数据接收遇到的关键问题和功能实现能给出基本模型,很好地改善 GPRS 数据接收软件的数据库操作性能,减少系统资源的使用。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号