摘 要
近年来,随着社会的发展,各种大学生赛事层出不穷,有关赛事自身的信息量也成倍的增长。因此开发出一套全国大学生竞赛赛管理系统迫在眉睫。本系统目的正是在于为管理全国各大高校的竞赛赛事而设计的。
本文围绕系统的需求分析、系统设计、系统实现和系统测试展开了一系列工作。需求分析从用户对功能的需求和软件性能需求两方面展开。在系统设计中充分利用业务流程图、数据流程图、 UML类图,从而完成了详细规整的整体架构和设计。在数据库的设计中给出了数据库E-R图和数据库的逻辑结构。在系统的需求分析和系统设计的基础上,结合C#、ASP的相关技术对三个层的实现分别进行了阐述和分析。最后对系统的功能测试等做了详尽的描述。系统采用面向对象方法进行开发设计,系统的体系结构使用B/S与MVC相结合的三层结构,以C#为开发语言进行程序设计,运用ASP、web等先进技术对系统进行开发和实现。本系统采用直观、清晰的ASP页面,用户界面友好、风格统一。
现在本系统己经开发完毕。成功做出了用户注册、权限分配、修改密码、管理竞赛、管理竞赛相关综合信息、竞赛报表等模块。
它具有让管理者能发布竞赛内容、竞赛新闻、竞赛规则等;让大学生能够浏览、报名、查询竞赛;它能够大大的提高大赛主办方的工作效率,使赛事管理更加透明化、公正化,预计可以投入到正式的使用之中。
关键字:B/S;大学生竞赛考试管理系统;竞赛报表;ASP.net.
Abstract
In recent years, with the development of society, all kinds of college students emerge in endlessly, the competition events of information also doubled their growth. Therefore developed a national student competition "management system is imminent. This system is that the management aim for the universities game and the design competition.
This paper focus on the system requirement analysis, system design, system and system test launch a series of work. Demand analysis from the user to the function demand and software performance needs two aspects. In system design make full use of business flow chart, flow diagram of data, UML class diagram, thus completing the detailed the overall structure of the neat and design. In the design of database are given a R diagram and database E the logic structure of database. In the demand analysis of the system and the system on the basis of design, combined with the c #, ASP technology related to the realization of the three layers of this paper describes and analyses. In the end, system function test made detailed description. System uses object-oriented methods for the development of design, the system structure of use B/S with the MVC combination of three layer structure in c #, for developing language program design, uses ASP, web, and other advanced technology development and implementation of the system. The system uses ASP page visual, clear, user friendly interface, the style is unified.
Now this system have been developed over. Success made the user registration, authority distribution, modify, password, and management competition, management competition related comprehensive information, competitions, and statements, and other modules.
It has let managers can publish competition content, news, competition rules, competition; For the college students can browse, registration, inquires the competition; It can greatly improve the work efficiency of the competition, make the competition more transparent, just management, to the use of formal into them.
Key word: B/S; The national college students' competition management system; Competition statement; ASP.net.
目 录
引言 1
1 绪论 2
1.1 课题介绍 2
1.2 国内外发展现状 2
1.2.1国内发展现状 2
1.2.2 国外发展现状 2
1.3 可行性分析 3
1.3.1经济可行性 3
1.3.2技术可行性 3
1.3.3政策可行性 3
1.4 论文主要工作 3
1.5 论文安排 3
2 需求分析 5
2.1 系统功能模块需求 5
2.1.1层次方框图 5
2.1.2各模块说明 6
2.2 数据流图和数据字典 8
2.2.1一级数据流图 8
2.2.2核心模块的二级数据流图 8
2.2.3重要数据字典 9
2.3 系统静态建模 11
2.3.1全局用例图 11
2.3.2核心模块的局部用例图 12
2.4 系统动态建模 14
2.4.1时序图 14
2.4.2协作图 17
2.4.3状态图 20
2.4.4活动图和泳道图 22
3 系统设计 27
3.1 概念结构设计 27
3.1.1全局E-R图 27
3.1.2各模块的局部E-R图 27
3.2 逻辑结构设计 28
3.2.1关系表的范式与约束 28
3.2.2关系表间的关系图 32
3.2.3系统类图 33
3.3 物理结构设计 34
3.3.1存储方式和位置 34
3.3.2索引 35
3.3.3配置图 35
4 系统实现与编码 36
4.1 前台设计 36
4.1.1主要功能模块的界面与代码 36
4.1.2核心算法编程 40
4.2 后台设计 41
4.2.1后台功能模块的界面及编码 41
4.2.2 登录与MD5加密算法 47
4.2.3用户权限管理 48
5 测试 49
5.1 正确测试用例 49
5.1.1测试用例设计 49
5.1.2测试结果 51
5.2 错误测试用例 51
5.2.1测试用例设计 51
5.2.2测试结果 53
5.3组件图 54
6 结束语 56
6.1 主要成果 56
6.1.1完成的系统功能 56
6.1.2系统特点 56
6.2 展望 57
6.2.1未完成的系统功能 57
6.2.2存在的不足之处 57
参考文献 58
附 录 59
附录一: 59
附录二: 62
附录三 : 63
附录四 : 64