- 17
- 0
- 约2.2万字
- 约 38页
- 2017-12-26 发布于湖北
- 举报
校园代理服务器的设计与实现--毕业论文
毕业设计
校园代理服务器的设计与实现
大学
年6月
毕业设计
校园代理服务器的设计与实现
学 生:
指导教师:
专 业:网络工程
所在单位:计算机科学与工程学院
答辩日期: 年 6 月 19 日
摘 要
随着Internet在全世界的普及,越来越多的用户正在将自己的个人计算机连入网络。然而,Internet访问范围的扩大,对网络管理者提出了更高的要求。在决定如何对网络访问进行管理时,需要综合考虑经济投入、经费控制、网络安全以及内容管理等诸多方面的问题,而使用代理服务器软件系统是解决这一系列问题的有效途径。
代理服务器是介于浏览器和WEB之间的一台服务器,能够对浏览器请求进行各种各样的处理,起到很好的访问控制作用。它的工作原理是,接收客户机的数据连接请求,并将请求传给Web服务器;再从Web服务器接收返回的数据,最后把数据传给客户端显示。
本论文设计并实现了一个简单的代理服务器,采用客户机/服务器结构进行开发。系统主要包括三个功能模块,分别为主守护进程模块、代理服务模块、缓存管理模块。主守护进程模块主要负责代理服务器的初始化,提供监听代理服务的端口;代理服务模块主要是负责处理客户端的请求,提供代理服务;缓存管理模块主要是对缓存区进行管理,包括缓存区的更新策略和更新方式等。为了方便分析和设计,系统设计中设置不同的状态量用于标识客户机、代理服务器及服务器间的联结状态。在保证系统基本功能的同时,使用多线程机制使得代理系统有更好的延续性。该代理系统具有简单、易用、网络化等优点,能够完成一般的HTTP访问代理服务。
Abstract
Along with the popularity of Internet all over the world, more and more people connect their computers to the network. However, with the enlargement of the range of access in Internet, it proved to be a challenge to those network managers. When they make a decision about how to manage a network, they have to think it over together with the policy of investment, expenditure control, network security and management of content of access and so on. A proxy server system would be an effective resolution to this problem.
The proxy server is a server which situates between browser and a WEB server. It can request a variety of processing, play a very good access control. It’s principle of work is that it receives the connection request from the client, and hands down the requested to the Web server, then receives data which is returned from the Web server, finally hands it down the data to the client.
This thesis designs and implements a simple proxy server , using client / server structure was developed. The system mainly includes three modules respectively the main daemon module, service module agent, cache management module. Main guard process module is mainly responsible for the initialization of the proxy server and port of the listening agent se
您可能关注的文档
- 既有上跨铁路桥拆除施工方案.doc
- 无线对讲系统用户解决方案.doc
- 景区道路连接线工程施工组织设计.doc
- 有机枸杞基地种植生产安全岗位操作规程汇编.doc
- 有轨电车PHC管桩施工方案.doc
- 服务中心固定资产管理办法.docx
- 有限公司限制性股权协议.doc
- 木业家具厂机械操作安全操作规程.doc
- 机场改造扩建工程高架桥项目--桥梁工程、路基防护工程、路面工程、道路附属工程及交安工程实施性施工组织设计.doc
- 机械加工企业公司工厂安全技术操作规程.doc
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
原创力文档

文档评论(0)