基于Android的消防监控网关的设计与实现
发布时间:2018-11-08 07:40
【摘要】:传统的有线消防报警系统存在着安装复杂,成本较高等问题,整个网络只能依赖有线电缆进行数据传输,,所以当火灾发生或节点发生故障时,整个监测网络极易陷入瘫痪状态。这种方式已经不能胜任现代社会对于消防工作的需求。随着无线通信技术、嵌入式技术、传感器技术的快速发展,消防报警系统在功能结构上都有了很大的变化,出现了无线消防远程监控系统。而消防监控网关作为无线消防远程监控系统的重要一环,是连接感知网络与传统通信网络的桥梁,是整个系统实时性、可靠性的重要保障。本文针对现有消防系统存在的问题及需求,设计开发了一种面向消防远程监控的无线传感器网络网关。论文的主要工作如下: 1)基于CC2530芯片对消防监控网关上的Zigbee协调器节点进行了软硬件的设计。在硬件上设计了两种不同通信接口的协调器,串口通信与USB通信两种方式。在软件上对协调器的组网流程以及数据通信流程进行了设计。 2)通过三种方式实现了Android平台与Zigbee协调器之间的通信。第一种为串口通信,利用了NDK本地开发工具及JNI技术实现了串口操作动态链接库,Android通过调用这个库可实现对串口的操作。第二种为USB HOST通信方式,通过利用USB相关类在Android应用层实现了PL2303HX芯片的驱动,从而获取USB设备的输入输出流实现通信。第三种则是通过利用Arduino平台作为中继,从而实现数据透传的功能。 3)对消防监控网关系统的功能进行了设计。实现了本地数据存储、报警数据上传、穿透NAT的远程控制、基于achartengine的数据可视化等功能,满足了无线消防远程监控系统的需要。 该网关系统已经在某文物保护单位应用,通过对环境信息的实时监测以及感知数据、报警信息的可靠传输,能够及时准确的发现异常情况并迅速报警。
[Abstract]:The traditional wired fire alarm system has some problems such as complicated installation and high cost. The whole network can only rely on cable for data transmission. Therefore, when the fire occurs or the node fails, the whole monitoring network is prone to be paralyzed. This way has not been able to meet the needs of modern society for fire work. With the rapid development of wireless communication technology, embedded technology and sensor technology, the function structure of fire alarm system has changed greatly. As an important link of wireless remote fire control system, fire monitoring gateway is a bridge between perceptual network and traditional communication network. It is an important guarantee for the real-time and reliability of the whole system. In this paper, a wireless sensor network gateway for remote monitoring and control of fire protection is designed and developed according to the existing problems and requirements of the fire fighting system. The main work of this paper is as follows: 1) the software and hardware of the Zigbee coordinator node closed by the fire control network are designed based on CC2530 chip. In hardware, two kinds of communication interface coordinator, serial communication and USB communication are designed. In the software, the network flow and data communication flow of the coordinator are designed. 2) the communication between Android platform and Zigbee coordinator is realized in three ways. The first is serial port communication. The serial port operation dynamic link library is realized by using NDK local development tool and JNI technology. Android can realize the operation of serial port by calling this library. The second is the USB HOST communication mode. The driver of the PL2303HX chip is realized by using the USB correlation class in the Android application layer, so as to obtain the input and output stream of the USB device to realize the communication. The third is to realize the function of data transmission by using Arduino platform as relay. 3) the function of fire control gateway system is designed. The functions of local data storage, alarm data upload, remote control of penetrating NAT and data visualization based on achartengine are realized. The gateway system has been used in a cultural relic protection unit. Through the real-time monitoring of environmental information and the reliable transmission of alarm information and perceptual data, the gateway system can timely and accurately detect the abnormal situation and alarm quickly.
【学位授予单位】:武汉理工大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.05
本文编号:2317821
[Abstract]:The traditional wired fire alarm system has some problems such as complicated installation and high cost. The whole network can only rely on cable for data transmission. Therefore, when the fire occurs or the node fails, the whole monitoring network is prone to be paralyzed. This way has not been able to meet the needs of modern society for fire work. With the rapid development of wireless communication technology, embedded technology and sensor technology, the function structure of fire alarm system has changed greatly. As an important link of wireless remote fire control system, fire monitoring gateway is a bridge between perceptual network and traditional communication network. It is an important guarantee for the real-time and reliability of the whole system. In this paper, a wireless sensor network gateway for remote monitoring and control of fire protection is designed and developed according to the existing problems and requirements of the fire fighting system. The main work of this paper is as follows: 1) the software and hardware of the Zigbee coordinator node closed by the fire control network are designed based on CC2530 chip. In hardware, two kinds of communication interface coordinator, serial communication and USB communication are designed. In the software, the network flow and data communication flow of the coordinator are designed. 2) the communication between Android platform and Zigbee coordinator is realized in three ways. The first is serial port communication. The serial port operation dynamic link library is realized by using NDK local development tool and JNI technology. Android can realize the operation of serial port by calling this library. The second is the USB HOST communication mode. The driver of the PL2303HX chip is realized by using the USB correlation class in the Android application layer, so as to obtain the input and output stream of the USB device to realize the communication. The third is to realize the function of data transmission by using Arduino platform as relay. 3) the function of fire control gateway system is designed. The functions of local data storage, alarm data upload, remote control of penetrating NAT and data visualization based on achartengine are realized. The gateway system has been used in a cultural relic protection unit. Through the real-time monitoring of environmental information and the reliable transmission of alarm information and perceptual data, the gateway system can timely and accurately detect the abnormal situation and alarm quickly.
【学位授予单位】:武汉理工大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP393.05
【参考文献】
相关期刊论文 前10条
1 张跃华;苏颖;;NAT穿越技术在远程控制系统中的研究[J];电脑与信息技术;2008年04期
2 金海;刘文超;韩建亭;丁英丽;;家庭物联网应用研究[J];电信科学;2010年02期
3 金纯,蒋小宇,罗祖秋;ZigBee与蓝牙的分析与比较[J];信息技术与标准化;2004年06期
4 张辉;陈古典;;基于物联网的城市消防远程监控系统[J];信息化研究;2010年10期
5 杨晓光;;火灾自动报警系统的发展和前景[J];广东公安科技;2007年04期
6 何晓明;欧亮;朱永庆;;物联网网关的设计与实现[J];广东通信技术;2012年04期
7 万洪莉;李雨晨;孟宪尧;;使用SOAP协议与Web Service通信的研究与实现[J];工业控制计算机;2010年09期
8 位恒曦;段晋军;韩晓红;常晓明;;基于AOA协议实现Android设备的USB通信[J];电子技术应用;2013年09期
9 杨伟;刘强;顾新;;Linux下USB设备驱动研究与开发[J];计算机工程;2006年19期
10 王多林;秦贵和;徐海一;陈筠翰;;基于P2P的移动机器人远程控制系统[J];计算机工程;2012年06期
本文编号:2317821
本文链接:https://www.wllwen.com/guanlilunwen/ydhl/2317821.html