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

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

编号 0413104

 2008届本科

题 目 个人主页空间管理系统的设计与实现系(部)院 计算机系

专 业 计算机科学与技术

指导教师 职称 讲师

完成日期

个人主页空间管理系统的设计与实现Design and implementation ofpersonal homepage spacemanagement system

Cheng Tianj ing

摘 要

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

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

关键词个人空间 ASP数据库 SQL Sever-U FTP服务器

I

Abstract

The school net has provided many services for the student, butalong with the school net to the teaching thorough influence, thestudent needs the school net also to be able to provide more andmore the free storage space to them, saves some individual material,regarding partial hobby homepage design manufacture schoolmate, butalso hoped that can provide the homepage space. Based on the abovebackground, develops one “Homepage space management system”, it canthe effective settle above demand.

This article has given one detailed design and implementationprocess of “Home page space management system” .This system based onthe B/S frame, and the WEB service 、 FTP、 Server-U and the SQLdatabase unifies, the Server-U user account managed by SQL theServer. When the system has executed the space application,establishes automatically on the server by the student number namingfolder, and create the FTP account and the homepage space functionautomatically; Whether there is realized the automatic detectionspace argument to take down to upload the document, and fed back thecorresponding information function; Realized to had demonstrate- tedthat the website carried on the appraisal, according to the clicknumber of times, the high praise, the difference commented with themanager appraises the computation synthesis score, and according tothe synthesis score, the application time and so on carried onfunctions and so on sorting. The system backstage administrationmodule has realized manager's increase, the revision, the deletionfunction, the limit user registration function and the batch deletesfunctions and so on expired user.

Keywords: personal space、 ASP、 Database、 SQL、 Sever-U、 FTPserver

II

II I

目 录

第一章引言. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .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 SQLServer数据库管理系统. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6

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

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

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

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

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

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

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

3.3界面设计. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13

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

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

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

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

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

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

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

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

4.7.1 Server_U的安装. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20

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

IV

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

4.7.4WWW网站配置. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22

第五章结束语. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24

致谢. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25

参考文献. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26

附件. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .27

V

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

第一章引言

1 .1选题的意义

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

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

1 .2选题的应用现状

Inte rnet上已经有许多提供FTP个人主页空间的服务的网站 如爱迪网h t tp://www. id666.com所提供的个人主页空间用户可以注册申请但是他使用了web模式的FTP一般只能上传单个文件用户只能使用系统给定的固定模版而不能随意改动而且只能发表自己的日志以及上传自己的一些图片不能按照用户自己的需求进行制作和修改。

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

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

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

1非实名制申请用户进入系统填写自己的信息即可开通FTP帐号与主

第1页

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

页空间但是不能对使用的用户加以限制以及实行实名制注册。

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

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

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

1 .3选题主要工作内容

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

1新闻栏目动态管理

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

2空间申请

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

3个人主页展示

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

4空间管理

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

5管理员后台管理功能

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

第2页

速云:广州移动/深圳移动/广东联通/香港HKT等VDS,9折优惠,最低月付9元;深圳独立服务器1050元/首月起

速云怎么样?速云,国人商家,提供广州移动、深圳移动、广州茂名联通、香港hkt等VDS和独立服务器。现在暑期限时特惠,力度大。广州移动/深圳移动/广东联通/香港HKT等9折优惠,最低月付9元;暑期特惠,带宽、流量翻倍,深港mplc免费试用!点击进入:速云官方网站地址速云优惠码:全场9折优惠码:summer速云优惠活动:活动期间,所有地区所有配置可享受9折优惠,深圳/广州地区流量计费VDS可选择流量翻...

hosteons:10Gbps带宽,免费Windows授权,自定义上传ISO,VPS低至$21/年,可选洛杉矶达拉斯纽约

hosteons当前对美国洛杉矶、达拉斯、纽约数据中心的VPS进行特别的促销活动:(1)免费从1Gbps升级到10Gbps带宽,(2)Free Blesta License授权,(3)Windows server 2019授权,要求从2G内存起,而且是年付。 官方网站:https://www.hosteons.com 使用优惠码:zhujicepingEDDB10G,可以获得: 免费升级10...

Spinservers:美国圣何塞机房少量补货/双E5/64GB DDR4/2TB SSD/10Gbps端口月流量10TB/$111/月

Chia矿机,Spinservers怎么样?Spinservers好不好,Spinservers大硬盘服务器。Spinservers刚刚在美国圣何塞机房补货120台独立服务器,CPU都是双E5系列,64-512GB DDR4内存,超大SSD或NVMe存储,数量有限,机器都是预部署好的,下单即可上架,无需人工干预,有需要的朋友抓紧下单哦。Spinservers是Majestic Hosting So...

空间主页为你推荐
主页改不了浏览器主页改不了 怎么办啊1433端口如何打开1433端口今日热点怎么删除怎样删除实时热点godaddyGodaddy域名怎么接受宕机宕机 这个词是什么意思啊虚拟专用网虚拟专用网适用于什么行业什么是云平台谁能简单说一下什么是云平台啊?怎么在图片上写文字如何在图片上写字?中国杀毒软件排行榜中国杀毒软件排行手工杀毒蠕虫病毒怎么手工杀毒
高防直连vps 免费申请域名 重庆服务器托管 香港bgp机房 vpsio kddi 免备案空间 本网站服务器在美国 数字域名 有奖调查 韩国名字大全 ntfs格式分区 中国电信测网速 1g空间 如何用qq邮箱发邮件 沈阳主机托管 国内域名 德隆中文网 东莞主机托管 服务器论坛 更多