Based on USTC‟S IaaS cloud platform, this paper designs and implements WSN‟s real-time monitoring system. The 6LoWPAN is used to build wireless self-organized sensor network, and each sensor node in system transmits data collected by sensors to sink node, then the sink node sends data to the server on USTC‟s cloud platform through network to record and analyze. In this paper, we adopt Nginx as a web server, and the non-real-time and real-time data is handled by uWSGI application server and Tornado application server respectively. The WebSocket technology is used to achieve real-time data transmission which improves the performance of system in real-time. The test results show that this paper has a certain guiding significance for the construction of real-time monitoring system with good reliability and flexible deployment.%本文基于中科大 IaaS 云平台设计并实现了一种无线传感网实时监测系统。利用6LoWPAN 建立可自组网的无线传感器网络,系统中各个传感器节点将传感器采集的数据发送至汇聚节点,汇聚节点通过网络将数据传送至中科大云平台服务器中进行记录和分析。本文采用 Nginx 作为 Web 服务器, uWSGI 应用服务器和 Tornado 应用服务器分别处理用户的非实时数据和实时数据请求。采用 WebSocket 技术实现实时数据的传输,提高了系统实时性。测试结果表明本文对构建可靠且可灵活部署的实时监测系统具有指导意义。
展开▼