华中科技大学
硕士学位论文
支持异构总线的嵌入式Web服务器设计与实现
姓名:瞿刚
申请学位级别:硕士
专业:计算机系统结构
指导教师:赵开文
20070608
华中科技大学硕士学位论文
摘要
嵌入式系统是当今计算机领域热点之一,基于嵌入式的应用已深入到人们生活
的各个方面。此外,因特网的飞速发展,特别是基于 HTTP 协议的 Web 服务,使得
网络化的生活更加便捷。在此背景下,作为嵌入式系统网络化的必需设备——嵌入
式 Web 服务器(Embedded Web Server, EWS)应运而生。为充分保证系统扩展性和连
接网络便利性,设计并实现了一种支持异构总线的 EWS,为下位机提供丰富总线接
口,为远程用户提供 B/S 模式的 Web 服务,实现远程 Web 方式监控目的。
从软件和硬件两个方面进行系统总体设计,提出解决方案。系统实现了软、硬
件各自功能,在硬件上采用基于 ARM(Advanced RISC Machine)核的微处理器作为主
控制器,采用 Flash Memory 作为存储器,扩展多种至下位机总线接口,配备网络接
口;在软件上移植 操作系统,编写设备驱动程序,移植嵌入式 web 服务器
程序 Boa 和嵌入式数据库引擎 SQLite。针对 EWS 对异构总线的支持,提出总线中
间层驱动的思想和实现方法,分析添加总线中间层驱动对嵌入式系统开发带来的益
处。
作为 EWS 的一个应用,详细介绍远程表监控系统设计。针对具体应用,编写
mon Gateway Interface)程序,设计数据库和上下位机的通信协议。对该 EWS
的服务性能做出测试,结果表明,实现的 EWS 具有良好的稳定性和较高的数据吞
吐率,在远程网络监控领域有应用潜力。
关键词: 嵌入式 Web 服务器,总线中间层驱动,软件移植,监控系统
I
华中科技大学硕士学位论文
Abstract
Embedded system is one of worldwide issues in the field puter science, and
the applications of embedded system have applied in all aspects of people’s daily life.
The well developed makes people’s life more convenient. At this background, the
embedded web server (EWS), which integrates embedded devices to the , has
e more and more essential. In order to keep the system’s expansibility and
network’s convenience, An EWS supporting heterogeneous buses is designed. This EWS
provides various bus interfaces for bottom terminals and provides B/S mode web service
for remote users, and realizes remote monitor control by .
The total solution of EWS is made both on hardware and software. The system’s
function is realized in detail. In hardware, MPU base on ARM (Advanced RISC Machine)
is used as main controller, Flash memory is used as main storage, various bottom
terminal bus interfaces are supported, and work chip is equipped; In software,
is ported as the OS (Operate System), and device driver program is developed,
Boa is used as web server program and SQLite is used as embed
支持异构总线的嵌入式Web服务器设计与实现 来自淘豆网www.taodocs.com转载请标明出处.