好文档 - 专业文书写作范文服务资料分享网站

嵌入式WEB服务器的设计与实现毕业论文

天下 分享 时间: 加入收藏 我要投稿 点赞

武汉大学毕业设计(论文)用纸

嵌入式WEB服务器

摘 要

Linux操作系统是一个开放源代码的免费操作系统,它不仅有安全、稳定、成本低的特点,而且很少发现有病毒传播。近年来,随着linux操作系统在我国的不断普及,越来越多的服务器、工作站和个人电脑开始使用linux软件。基于linux具有稳定、可靠、安全和强大的网络功能这些优点,本文选择在linux环境下实现一个Web服务器。

本文研究了HTTP协议实现了数据的传输,阐述了采用linux套接字编程接口的方法实现HTTP协议的方案,详细分析了客户端和服务器之间的通信过程。本文在linux系统下实现一个Web服务器程序,在局域网内,将此服务器程序在一台计算机上运行,使网内其它计算机访问这台服务器时,实现客户端和服务器以HTTP协议进行请求和响应的功能。此外还编写了Web浏览器。

Web服务器实现的全部代码采用linux下的C语言编程,可进一步提高系统运行速度,并且增强了系统的安全性和可靠性。Web浏览器代码是采用C++和Qt的编程,界面设计是用Qt实现的。

关键词:嵌入式;linux操作系统;HTTP协议;Web服务器;Socket;Internet;Qt

i

武汉大学毕业设计(论文)用纸

Embedded WEB server

ABSTRACT

The Linux operate system is a free operate system which opens asource code.Not only it has characteristics such as safe,stability,and the low cost,but also it seldom dissemiantes the Virus. In recent years,along with the Linux operatesystem in our country makes widely available continuously,more and more servers,work stations and personal computer start using Linux software.As the Linux operting system has the function of stable reliable,safe and formidable network,to realize a Web server in the Linux environment is the best choice.

This paper introduces design and implement of Web server in Linux operating system. The problem of how to realize data transmission by HTTP protocol which based on Linux is valuable to research. This paper expounds realizing scheme for HTTP protocol, and gives out protocol communication module,wih the method of Linux socket programming intefface, and analyze the communication process between client and server. This paper realizes a Web server procedure in Linux operating sysytem.In the local area network, if this server procedure runs on a computer, which can realizes the function that the client requests and the server responds by HTTP agreement, when other computers in the net visit it.

The complete code of the Web server’s realization uses the C language programming in Linux operating system,which may further enhance the running rate,and strengthened the security and reliability of the system. The code of Web browser’srealization uses The C++ language and Qt,

Key words: Embedded ;Linux operating system;HTTP protocol;Web server ;Socket;

ii

武汉大学毕业设计(论文)用纸

目 录

摘 要 ....................................................... I

ABSTRACT .................................................... II

1 绪论 ...................................................... 1 1.1 课题的研究意义 .......................................... 1 1.2 国内外研究现状 .......................................... 1 1.3 论文研究内容和主要工作 ................................... 2

2 相关理论与知识 ............................................ 3 2.1 Linux操作系统简介 ....................................... 3 2.2 Web服务器的概念 ......................................... 3 2.3 WEB服务器基本构架 ....................................... 4 2.3.1 WEB服务器和浏览器 .................................... 4 2.3.2 WEB页面 ............................................. 6 2.4 WEB系统的基本原理是请求/响应 ............................ 6 2.5 WEB B/S的通信 ........................................... 7 2.5.1 分析请求 ............................................. 8 2.5.2 构造响应 ............................................. 8

iii

嵌入式WEB服务器的设计与实现毕业论文

武汉大学毕业设计(论文)用纸嵌入式WEB服务器摘要Linux操作系统是一个开放源代码的免费操作系统,它不仅有安全、稳定、成本低的特点,而且很少发现有病毒传播。近年来,随着linux操作系统在我国的不断普及
推荐度:
点击下载文档文档为doc格式
668db0s37r207lq1bbd16zh7s4eqk601d5j
领取福利

微信扫码领取福利

微信扫码分享