APP下载

嵌入式web服务器的远程数据采集系统研究

2020-07-29蔡创

微型电脑应用 2020年7期

摘 要: 为有效满足远程数据采集需求,本文对远程数据采集系统进行了研究和设计。该系统基于嵌入式Web服务器,通过综合应用ZigBee技术完成了远程数据采集系统的软硬件设计。嵌入式Web服务器同ZigBee传感器之间通过串行总线实现数据通信过程,现场数据的实时采集功能通过使用ZigBee传感器网络实现,通过使用Internet浏览器远端用户即可对Web服务器进行访问并实时获取远程数据。

關键词: 远程数据采集系统; 实现路径; 嵌入式Web服务器; ZigBee技术

中图分类号: TP393.09文献标志码: A

Research on Remote Data Acquisition System Based on Embedded Web Server

CAI Chuang

(School of Information Engineering, Shanxi Polytechnic Institute, Xianyang, Shanxi 712000, China)

Abstract: In order to effectively meet the needs of remote data acquisition, this paper mainly researches and designs a remote data acquisition system. This system is based on the embedded Web server, and we complete the software and hardware design of the remote data acquisition system through the comprehensive application of ZigBee technology. The data communication process between the Web server and the ZigBee sensor is implemented through a serial bus. The real-time collection function of the field data is achieved by using the ZigBee sensor network. Remote users can access the Web server and obtain remote data in real time by using the Internet browser.

Key words: remote data acquisition system; implementing path; embedded Web server; Zigbee technology

0 引言

快速发展完善的物联网技术对远程数据采集功能提出了更高的要求,目前远程数据采集系统已经在日常生产生活中得到广泛应用,主要应用于现场测试和控制设备中的嵌入式Web服务器(Embedded Web Server,EWS,通常采用B/S的工作方式)属于一种基于嵌入式设备的小型Web服务器,具备低资源消耗、易扩展等优势,此类Web服务器需嵌入式设备支持CGI功能(Common Gateway Interface,通用网关接口),并能够生成动态页面,使用非常方便,远端用户据此可实时高效的管理和监控嵌入式设备(通过Ineternet浏览器),已经成为嵌入式设备的主要交互及管理方式。本文的研究重点在于通过综合应用基于IEEE802.15.4标准的ZigBee网络(一种最具研究价值的无线传感器网络)及嵌入式Web服务技术,构建一种可靠和简洁的远程数据采集系统实现方案,从而实现高效的数据采集和传送过程[1]。

1 远程数据采集系统的总体架构设计

本文设计的远程数据采集系统基于ZigBee和嵌入式Web服务器实现,系统主要由3个部分组成,其总体架构示意图如图1所示。……

登录APP查看全文