自己的个人主页空间管理系统的设计与实现 毕业论文

空间主页  时间:2021-02-26  阅读:()

编号 0413104

 2008届本科

题 目 个人主页空间管理系统的设计与实现系(部)院 计算机系专 业 计算机科学与技术

指导教师 职称 讲师完成日期

个人主页空间管理系统的设计与实现Design and implementation of personalhomepage space management system

Cheng Tianj ing

摘 要

校园网已为学生提供了诸多服务但随着校园网对教学的深入影响学生越来越需要校园网还能给他们提供免费存储空间存储一些个人资料对于部分爱好网页设计制作的同学还希望能够提供主页空间。基于以上背景开发一个“个人主页空间管理系统” 能有效解决上述需求。

本文给出了一个“个人主页空间管理系统”的详细设计与实现过程该系统基于B/S构架 并把WEB服务与FTP服务、 Server-U与SQL数据库相结合 由SQL Server服务器管理Server-U用户帐号。系统实现了空间申请时 自动在服务器上建立以学生学号命名的文件夹并自动开通FTP帐号与主页空间功能 实现了自动检测空间主目录下有无上传文件并反馈相应信息功能实现了对展示网站进行评价根据点击次数好评、差评和管理员评价计算综合得分并按综合得分、 申请时间等进行排序等功能。系统后台管理模块实现了管理员的添加、修改、删除功能 限制用户注册功能及其批量删除过期用户等功能。

关键词 个人空间 ASP 数据库 SQL Sever-U F TP服务器

I

Abstract

The school net has provided many services for the student,but along with theschool net to the teaching thorough influence, the student needs the school net also tobe able to provide more and more the free storage space to them, saves someindividual material, regarding partial hobby homepage design manufactureschoolmate,but also hoped that can provide the homepage space.Based on the abovebackground, develops one “Homepage space management system”, it can theeffective settle above demand.

This article has given one detailed design and implementation process of“Homepage space management system”.This system based on the B/S frame,and the WEBservice 、 FTP、 Server-U and the SQL database unifies, the Server-U user accountmanaged by SQL the Server.When the system has executed the space application,establishes automatically on the server by the student number naming folder, andcreate the FTP account and the homepage space function automatically;Whetherthere is realized the automatic detection space argument to take down to upload thedocument, and fed back the corresponding information function;Realized to haddemonstrate-ted that the website carried on the appraisal, according to the clicknumber of times, the high praise, the difference commented with the managerappraises the computation synthesis score, and according to the synthesis score, theapplication time and so on carried on functions and so on sorting. The systembackstage administration module has realized manager's increase, the revision, thedeletion function, the limit user registration function and the batch deletes functionsand so on expired user.

Keywords: personal space、ASP、 Database、 SQL、 Sever-U、 FTP server

II

目 录

第一章引言. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

1.1选题的意义. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

1.2选题的应用现状. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

1.3选题主要工作内容. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2

第二章系统开发的相关技术. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

2.1 ASP技术. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

2.1.1 ASP简介. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

2.1.2 ASP内置对象. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

2.1.3 ADO组件介绍. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

2.2 SQL Server数据库管理系统. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6

2.3 FTP服务器与Sever-U. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

2.4系统运行环境. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8

第三章系统设计. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9

3.1系统功能模块设计. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9

3.1.1前台用户模块功能. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9

3.1.2后台管理员模块功能. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10

3.2数据库设计. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11

3.3界面设计. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12

第四章主要功能模块的实现. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13

4.1在线分数统计. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13

4.2空间浏览排序与搜索. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14

4.3在服务器上建立文件夹. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15

4.4判断空间中是否存在上传的网页或首页命名是否合法. . . . . . . . . . . . . . . . . . . . . . . . . . .16

4.5空间大小检测. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17

4.6防止连续点击来增加点击次数. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .18

4.7 FTP服务器的配置. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

4.7.1 Server_U的安装. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

4.7.2数据库的导入. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19

III

4.7.3 Server-U与数据库的连接. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20

4.7.4 WWW网站配置. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21

第五章结束语. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22

致谢. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23

参考文献. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24

附件. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25

IV

河西学院计算机系本科毕业论文

第一章引言

1 .1选题的意义

Interne t的繁荣普及极大地改变着人们的学习、工作、生活、交往、娱乐等行为方式甚至思维和语言习惯。 Inte rnet上提供诸多的服务如信息浏览服务 电子邮件服务视频点播服务 即时聊天服务 网络在线游戏论坛博客等。这些服务极大地丰富着Interne t的内容使Interne t成了一个的信息平台娱乐平台、商业平台和学习平台。

校园网是Interne t延伸到学校的一部分在校园网上提供一个“个人主页空间管理系统” 可以丰富校园文化生活 为全校学生提供了一个网络免费存储空间为网页设计爱好者提供一个实践机会和展示平台亦对激发学生计算机学习兴趣提高学生计算机应用技能有着积极的意义。

1 .2选题的应用现状

Interne t上已经有许多提供F TP个人主页空间的服务的网站 如爱迪网

http://www.id666.com所提供的个人主页空间用户可以注册申请但是他使用了web模式的F TP一般只能上传单个文件用户只能使用系统给定的固定模版而不能随意改动而且只能发表自己的日志 以及上传自己的一些图片不能按照用户自己的需求进行制作和修改。

又如兰州大学的FTP个人主页空间http://ho me.lzu.edu.c n虽然可以使用专用软件上传自己的主页而且使用了校园卡进行注册从一定程度上防止外校人员进行注册但是没有实现实名制注册。

再如如中国8u网http://www.8 u.cn ,中国站长网(http://www.anyf.cn)等一些专业提供FTP空间服务的网站它们所提供的免费个人主页空间一般比较小不能满足个人网站的建设收费的空间一般收费比较高而且对一些服务还有所限制 由于使用的用户比较多所以上传速度也比较慢。

通过对以上提供个人空间服务系统的了解分析这些系统具有以下缺点

1非实名制申请用户进入系统填写自己的信息即可开通FTP帐号与主页空间但是不能对使用的用户加以限制 以及实行实名制注册。

第1页

河西学院计算机系本科毕业论文

2速度较慢一般这些免费空间 由于用户多访问速度都比较慢或者为了防止用户上传反动言论或一些恶意代码并对系统作了一些防范措施。

3带有广告此类空间虽为免费但会在申请者的网页上加载广告

另外 以上这些商业系统的代码都不是公开的也不适合学校的实际使用情况。

1 .3选题主要工作内容

本选题要完成的工作是开发一个适合高校使用的主页空间管理系统具体内容包括

1新闻栏目动态管理

本系统导航栏采用动态管理的方法。首页中的导航栏是从数据库中动态读取的。超级管理员登录后台后可以对栏目进行添加修改删除等。

2空间申请

要求实名制申请 申请后即开通50M存储空间的FTP帐号 该空间同时也是主页空间把网页上传到该空间 即可通过浏览器浏览

3个人主页展示

学生上传的网页将出现在网站首页列表中 浏览者可以给与评价并可以根据评价 点击次数和申请时间排序。

4空间管理

学生可以设置或修改自己的空间名称 登录密码 并可选择是否在首页展示。

5管理员后台管理功能

包括公告发布、用户管理、权限管理等。

第2页

河西学院计算机系本科毕业论文

第二章系统开发的相关技术

2.1 ASP技术

2.1 .1 ASP简介

ASP(Active Server Pages)是微软的服务器端开发技术 ASP内含于IIS当中。通过ASP我们可以结合HTM L网页、ASP脚本代码和ActiveX组件建立动态、交互且高效的WEB服务器应用程序。ASP支持VbScript和javascript脚本语言默认为VbScript。

ASP程序都在服务器端执行当程序执行完毕后服务器将执行的结果返回给客户浏览器运行ASP页面相对于普通的HTML页面要慢一点 因为普通的HTML页面只需要浏览器就能够解析而ASP则必须是服务器将整页的代码都执行一遍之后再发送数据。

2.1 .2 ASP内置对象

1 Request对象

通过Request对象我们可以收集到客户端提交的数据客户端的Cookies服务器环境变量等。 Request为我们的ASP程序提供了需加工的“原材料” 没有Request对象的话那么ASP程序就失去了与客户端联系的交互能力。

2 Response对象

Response对象可以把ASP程序加工后的“产品” 发送给客户让他们可以看见结果。同时也可以通过Response对象设置客户端浏览器的状态比如设置CookiesCookies是一种跟踪客户端状态的技术有的网站利用Cookies来记录你是第几次访问他们的网站而Cookies就是那些保存在Windows系统目录Cookies里的那些文件那些文件可以供网站重新读取和设置。

3 Server对象

Server对象为ASP程序的扩展提供灵活方便的途径 比如说如果您需要在ASP程序中读写服务器上的某个文件那么就可以借用“文件存取组件”来读写文件。而Server对象就充当了建立这个组件的实例的角色。需要使用某个组件必需先建立它的一个Server对象实例在后面将要介绍的ADO组件您就能清楚

第3页

盘点618年中大促中这款云服务器/VPS主机相对值得选择

昨天有在"盘点2021年主流云服务器商家618年中大促活动"文章中整理到当前年中大促618活动期间的一些国内国外的云服务商的促销活动,相对来说每年年中和年末的活动力度还是蛮大的,唯独就是活动太过于密集,而且商家比较多,导致我们很多新人不懂如何选择,当然对于我们这些老油条还是会选择的,估计没有比我们更聪明的进行薅爆款新人活动。有网友提到,是否可以整理一篇当前的这些活动商家中的促销产品。哪些商家哪款产...

香港ceranetworks(69元/月) 2核2G 50G硬盘 20M 50M 100M 不限流量

香港ceranetworks提速啦是成立于2012年的十分老牌的一个商家这次给大家评测的是 香港ceranetworks 8核16G 100M 这款产品 提速啦老板真的是豪气每次都给高配我测试 不像别的商家每次就给1核1G,废话不多说开始跑脚本。香港ceranetworks 2核2G 50G硬盘20M 69元/月30M 99元/月50M 219元/月100M 519元/月香港ceranetwork...

Hostiger 16G大内存特价VPS:伊斯坦布尔机房,1核50G SSD硬盘200Mbps带宽不限流量$59/年

国外主机测评昨天接到Hostigger(现Hostiger)商家邮件推送,称其又推出了一款特价大内存VPS,机房位于土耳其的亚欧交界城市伊斯坦布尔,核50G SSD硬盘200Mbps带宽不限月流量只要$59/年。 最近一次分享的促销信息还是5月底,当时商家推出的是同机房同配置的大内存VPS,价格是$59.99/年,不过内存只有10G,虽然同样是大内存,但想必这次商家给出16G,价格却是$59/年,...

空间主页为你推荐
个性qq资料QQ个性资料中国论坛大全中国十大网站是?怎么在qq空间里添加背景音乐如何在qq空间中添加背景音乐百度手写百度手写显示申请证书求高手教下怎么申请证书硬盘人500G的硬盘容量是多少啊?迅雷云点播账号求个迅雷VIP 是VIP就可以 只用来看云点播 改密码是孙子。 谢了 ! 362135668@qq.com雅虎天盾高手进来看看我该怎么办 新装的ie8 内存使用率达到100%了mate8价格华为麦特八多少价格网站营运网站运营要学些什么?
主机 linkcloud gomezpeer 光棍节日志 铁通流量查询 中国电信测速112 免费申请个人网站 河南移动m值兑换 免费网页空间 服务器硬件防火墙 海外空间 宿迁服务器 apnic 阿里云邮箱怎么注册 hdsky 美国主机侦探 winds 标准机柜 so域名 pptpvpn 更多