机电工程
機電工程
궤전공정
MECHANICAL & ELECTRICAL ENGINEERING MAGAZINE
2012年
12期
1498-1502
,共5页
城市路灯%远程监控系统%服务器端软件%动态数据对象
城市路燈%遠程鑑控繫統%服務器耑軟件%動態數據對象
성시로등%원정감공계통%복무기단연건%동태수거대상
针对城市中大规模的路灯远程监控系统,设计开发了基于C/S与GPRS远程路灯监控系统的服务器端软件.为了解决同时和大量的客户端进行并发的网络通信问题,将微软的完成端口(IOCP)模型技术应用到了软件的网络通信模块中,并且采用了多线程机制.在利用ADO技术对Microsoft Access 2003数据库进行读写操作的数据处理模块中,采用了模块编程后进行分层的思想,把相同或相似的功能封装成模块,按照功能的调用划分层次,使模块间的调用变得有序,以尽可能降低代码的冗余量,节约空间.性能测试结果表明,所设计的服务器软件能够承载大量的客户端,具有较高的数据处理能力,在实际项目测试运行中也表现出良好的性能.
針對城市中大規模的路燈遠程鑑控繫統,設計開髮瞭基于C/S與GPRS遠程路燈鑑控繫統的服務器耑軟件.為瞭解決同時和大量的客戶耑進行併髮的網絡通信問題,將微軟的完成耑口(IOCP)模型技術應用到瞭軟件的網絡通信模塊中,併且採用瞭多線程機製.在利用ADO技術對Microsoft Access 2003數據庫進行讀寫操作的數據處理模塊中,採用瞭模塊編程後進行分層的思想,把相同或相似的功能封裝成模塊,按照功能的調用劃分層次,使模塊間的調用變得有序,以儘可能降低代碼的冗餘量,節約空間.性能測試結果錶明,所設計的服務器軟件能夠承載大量的客戶耑,具有較高的數據處理能力,在實際項目測試運行中也錶現齣良好的性能.
침대성시중대규모적로등원정감공계통,설계개발료기우C/S여GPRS원정로등감공계통적복무기단연건.위료해결동시화대량적객호단진행병발적망락통신문제,장미연적완성단구(IOCP)모형기술응용도료연건적망락통신모괴중,병차채용료다선정궤제.재이용ADO기술대Microsoft Access 2003수거고진행독사조작적수거처리모괴중,채용료모괴편정후진행분층적사상,파상동혹상사적공능봉장성모괴,안조공능적조용화분층차,사모괴간적조용변득유서,이진가능강저대마적용여량,절약공간.성능측시결과표명,소설계적복무기연건능구승재대량적객호단,구유교고적수거처리능력,재실제항목측시운행중야표현출량호적성능.