首页> 中文期刊> 《机电工程》 >城市路灯远程监控系统中服务器端软件的设计与实现

城市路灯远程监控系统中服务器端软件的设计与实现

         

摘要

Aiming at the large-scale remote monitoring system of city-street-lighting, a set of server software was designed in road lighting control system based on C/S mode and GPRS networking. In order to solve a large number of clients communicating via the Internet with the server at the same time, Microsoft's completion port communication technology and multi-threading mechanism were applied in the network communication module of the server software. Modules programming and hierarchical idea were introduced in the data processing module which uses the active data objects (ADO) technology access to the Access database. The same or similar functions were packaged into a module and were divided into hierarchies according to function calls in order to make calls between modules become the order. The amount of code redundancy could be minimized and memory space would be saved. Performance tests results indicate that the server software can support numbers of clients and has a high data processing capability, and it has good performance in the actual project testing.%针对城市中大规模的路灯远程监控系统,设计开发了基于C/S与GPRS远程路灯监控系统的服务器端软件.为了解决同时和大量的客户端进行并发的网络通信问题,将微软的完成端口(IOCP)模型技术应用到了软件的网络通信模块中,并且采用了多线程机制.在利用ADO技术对Microsoft Access 2003数据库进行读写操作的数据处理模块中,采用了模块编程后进行分层的思想,把相同或相似的功能封装成模块,按照功能的调用划分层次,使模块间的调用变得有序,以尽可能降低代码的冗余量,节约空间.性能测试结果表明,所设计的服务器软件能够承载大量的客户端,具有较高的数据处理能力,在实际项目测试运行中也表现出良好的性能.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号