基于嵌入式以太网的机房远程监控系统
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
机房远程监控系统是机房监管的重要方式之一,能让本地PC机通过互联网,对远端机房的环境和设备进行监视和控制。目前,机房远程监控系统大多以PC机为处理核心,通过工业总线指示监控终端执行相关操作,存在能耗大、硬件成本高等问题。而且,嵌入式以太网技术已在工控领域成熟应用,为研发嵌入式以太网机房监控系统提供新的契机。苏大嵌入式实验室受飞思卡尔公司所托,对基于Cortex-M4内核的K60芯片的应用进行深入的研究。鉴于上述因素,本文提出了一种基于K60以太网,具备环境采集、图像采集、异常告警、自动化控制等功能的机房远程监控系统设计方案。
     深入研究K60的工作机制,并分析机房监控系统的功能需求,依据嵌入式硬件构件开发思想,设计出既满足实际功能需求又预留可扩展性接口的硬件系统电路。针对机房的环境特性,完成AD采集电路、图像采集电路、GSM电路、SDHC电路和以太网电路等模块的电气隔离和抗电磁干扰设计。
     本文按照软件工程结构化设计理念,将软件体系分为面向硬件的驱动程序、负责通信功能的TCP/IP协议栈和具有人机交互功能的Web服务器程序三层。按照软件构件化的开发思想,完成了各功能模块的构件化设计,提高了程序的可重用性和可维护性。针对数据在TCP/IP协议栈传输占用CPU的问题,本系统使用了“零拷贝”技术,实现了数据在各层传输零复制;为了节约硬件资源,根据实际需求对协议栈进行精简设计;重点叙述了Web服务器的编程要点,编写了CGI程序,完成嵌入式动态网页设计,解决无操作系统下实现人机交互的难题。
     本系统在实验室局域网内布置试运行,基本实现机房的环境采集、图像监控和异常告警功能。实验结果表明,系统具有良好的稳定性,进过必要测试验证后,可应用机房监控领域。
The remote monitoring system in the computer room is one of the important ways tocomputer room supervision,allowing the local PC to realize the monitoring and control ofthe environment and equipment in the remote computer room via internet. At present, mostof the remote monitoring systems in the computer room consider PC as the processing core;indicate the monitoring terminal to perform relative operations. However, this kind ofmodel is inherent with the problems of high energy consumption and high hardware costand so on. Moreover, the embedded Ethernet technology has been masterfully andskillfully applied in the field of IPC, which provides a valuable opportunity for theresearch and development of the embedded Ethernet monitoring system in computer rooms.Meanwhile, entrusted by the Freescale Company, the embedded laboratory in SoochowUniversity has conducted an in-depth research into the application of K60. In terms of theabove-mentioned elements, the study proposes a design based on K60for remotemonitoring system in the computer room which integrates the functions of environmentalacquisition, image acquisition, abnormal alarm, automatic control etc.
     Based on the extensive research on the working mechanism of K60, a detailedanalysis of the functional requirements of the monitoring system in the computer room andthe concept of embedded hardware component development, the paper designs thehardware system circuit that both meet the need of actual function and to reserve scalableinterface. In response to the environmental characteristics of the computer room, the papercompletes the design for electrical isolation and anti-electromagnetic interference ofmodules as AD acquisition circuit, image acquisition circuit, GSM circuit, the SDHCcircuit and Ethernet circuit etc.
     According to the concept of structured design in software engineering, the paperdivides the software system into three-layer system which consists of hardware-oriented driving program, TCP/IP protocol stacks responsible for communicational functions andWeb server programs complete with face-to-face interaction functions. According to thedeveloping concept of component-based software, the paper finishes the component designfor all function modules, so as to improve the repeatability and maintainability of theprogram. As for the problem of the data’s CUP occupation in transmitting data in TCP/IPstacks, this system adopts the technology of 'zero copy' which realizes the zero copy ofdata transmitting in each stack. In order to save hardware resource, the paper makes simpledesign for protocol stacks on the basis of realistic requirements. The paper stresses the keyprogramming points of Web server, writes CGI programs, finishes the design for embeddeddynastic webpage; and solves the problems of face-to-face interaction without an operatingsystem.
     The system is arranged to undergo the test run in the LAN of the laboratory, andbasically realizes the functions of environmental acquisition, image monitoring andabnormal alarm in the environment of computer room. The experiments' results show thatthis system is equipped with good stability and can be applied to the area of computerroom’s monitoring after necessary test and validation.
引文
[1] ETO J H, KEZUNOVIC M, ILIC M. Introduction to electric power systemsmonitoring and control minitrack[J/OL]. System Sciences,2013,7(10):2282.
    [2] Skeie T, Johannessen S, Brunner C. Ethernet in substation automation[J]. IEEEControl Systems Magazine,2002.
    [3]吴小所,郭存鸽.远程智能监控系统的研究与设计[J].中国新技术新产品.2010,(23):9-10.
    [4]2012年度机房监控市场的分析与展望[OL]. http://wenku.baidu.com/view/5a7ead0f6c85ec3a87c2c554.html.
    [5] C.Z. Uche. Effects of energy threshold and dead time on Compton cameraperformance [J]. Nuclear Inst. and Methods in Physics Research, A,2011,641(1).
    [6]赵伟华.基于ARM嵌入式的监控系统[D].武汉:武汉理工大学,2011.
    [7] Bo Yang. Similarity search in sensor networks using semantic-based caching [J].Journal of Network and Computer Applications,2011,35(2).
    [8] Al-Masri,E.;Mahmoud,Q.H..Web Service Discovery and Client Goals[J].Computer,2009,42(1):104-107.
    [9] Trees H L V. Detection, Estimation, and Modulation Theory, Part I[M]. NewYork:Wiley,1968.
    [10]David Urting,Yolande Berbers,Stefan Van Baelen,et a1.A Tool for ComponentBased Design of Embedded Software[C].Proceedings of the40th InternationalConference on Technology of Object-Oriented Languages and Systems,2002
    [11]Umapathy, K.,Purao, S..Systems Integration and Web Services[J].Computer,2010,43(11):91-94.
    [12]朱皆敏.浅谈电气火灾监控系统设计、施工、验收的应用标准[J].电工文摘,2009,(2):59-62
    [13]李翠霞.传感网可编程控制模块WSN-PCM的设计及应用[D].苏州大学,2012.
    [14]Bassam Tabbara, Abdallah Tabbara. Function/Architecture Optimization andCo-design of Embedded Systems[M].USA:Kluwer Academic Publishers,2000.
    [15]张效祥.计算机科学与技术百科全书[M].清华大学出版社,2005.
    [16]杨芙清,梅红.构件化软件设计与实现[M].清华大学出版社,2008.
    [17]Wayne Wolf. A Decade of Hardware/Software Codesign[J]. IEEE Computer,2003,36(4):38-43.
    [18]谢希仁.计算机网络[M].电子工业大学出版社,2008.1
    [19]宋佳,谢湘楠,冉蜀阳. TCP/IP协议的零拷贝和简化实现[J].中国测试技术,2007,(33):114-117.
    [20]任斌.嵌入式Web服务器的设计与研究[J].微型机与应用,2009,(19):32-35.
    [21]吴显伟.嵌入式协议栈结构优化的研究与实现[D].哈尔滨理工大学,2009.
    [22]D K Hammer,M R V Chaudron,Component-Based Software Engineering forResource-Constraint Systems:What are The Needs[C]. Proceedings of SixthInternational Workshop on Object-Oriented Real-Time Dependable Systems,2001.
    [23]王宜怀,吴瑾,蒋银珍.嵌入式系统原理与实践:ARM Cortex-M4[M].电子工业大学出版社,2011.
    [24]周若谷,丁峰,鲁力.视频监控系统中嵌入式Web服务器的设计与实现[J].计算机科学,2011,(38):236-239.
    [25]Hong-Ming Kao. Comparison of airflow and particulate matter transport in multi-roombuildings for different natural ventilation patterns.[J].Energy&Buildings,2009,41(9).
    [26]Freescale Semiconductor Inc. Kinetis Microcontrollers [EB/OL]. http://www.freescale.com/webapp/sps/site/homepage.jsp?code=KINETIS,2011.
    [27]ARM.Cortex-M4Processor [EB/OL]. http://www.arm.com/products/processors/cortex-m/cortex-m4-processor.php,2009.
    [28]Freescale K60P144M100SF2Data Sheet.pdf[DB/OL]. http://www.freescale.com,2011.
    [29]王宜怀.嵌入式技术基础与实践[M].清华大学出版社,2011.
    [30]JATG User’s manual [DB/OL]. http://www.freescaleic.org/bbs.
    [31]刘伟.低端嵌入式系统中物理量回归算法的优化[J].现代电子技术,2008,(18):31-34.
    [32]HS1100data sheet.pdf [DB/OL]. http://wenku.baidu.com/view/9b02dc11f18583d049645930.html.
    [33]`TLC555data.sheet.pdf [DB/OL]. http://wenku.baidu.com/view/727d0485ec3a87c24028c474.html.
    [34]OV7620data.sheet.pdf [DB/OL]. http://wenku.baidu.com/view/e65f407d27284b73f2425073.html.
    [35]EM310data.sheet.pdf [DB/OL]. http://wenku.baidu.com/view/aa7c25f77c1cfad6195fa793.html.
    [36]KSZ8041NL data.sheet.pdf [DB/OL]. http://wenku.baidu.com/view/a1d06b6c1eb91a37f1115c97.html.
    [37]Jahnke,J H,McNair A,Cockburn J.Component-based engineering of distributedembedded control software[C]. Component-Based Software Development forEmbedded Systems,2005:296-319.
    [38]Sommerville I.Software Engineering[M].London:Addison-Wesley,1999.
    [39]尧平.基于嵌入式Web技术的远程监控系统研究[D].中南大学,2012.
    [40]MURAT G, MEHMET M, WIJESEKERA D. Forensic WEB services framework[J]. ItProfessional,2011,13(2):31-37.
    [41]Marco Crasso,Alejandro Zunino,Marcelo Campo Easy.Easy web service discovery:Aquery-by-example approach[J].Science of Computer Programming,2008,71(2):144-164.
    [42]uip-refman data.sheet.pdf [DB/OL] http://www.sics.se/~adam/uip/.
    [43]祝叶.嵌入式以太网远程测控系统通用平台的开发及应用[D].苏州大学,2009.
    [44]王淑娟.基于嵌入式web服务器的远程监控系统的研究[D].武汉理工大学,2004.
    [45]谢仕义.嵌入式Web服务器的设计及其CGI实现[J].计算机工程与设计,2007,28(7):1598-1600.
    [46]王宝忠,马成.基于CGI技术的嵌入式动态Web的研究与实现[J].电子设计工程,2012,20(18):161-166.
    [47]王俊,郭书军.嵌入式Web服务器的实现及其CGI应用[J].电子设计工程,2011,19(21):152-158.
    [48]Shishir Gundavaram.CGI Programming on the World Wide Web[M].1996.
    [49]Wang Z X, Ren X Y. A study on CGI of embedded webserver [J].2008InternationalSymposium on Computer Science and Computational Technology,2008:480-483.
    [50]刘伟,李小武,罗明.CGI技术全面接触[M].北京:清华大学出版社,2001.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700