JSP+SQL design and implementation of WEB-based open experiment management system (source code + thesis + opening report + Chinese and English literature + defense PPT)

Graduation project (thesis) task statement Graduation project (thesis) task statement

Graduation design (thesis) topic based on WEB open experiment management system An important place for academic exchanges and an important base for cultivating talents' innovative thinking and innovative ability. An open laboratory is to provide necessary conditions for experimental teaching, experimental technology research, and scientific research, including experimental time, experimental equipment, experimental venues, experimental materials, experimental instructors, etc., part or all of which are provided to experimenters (including undergraduates, Graduate students, teachers, technicians, etc.) are purposefully open to provide services for experimenters to complete a certain experimental project. In the innovative activity base of the open laboratory, students can give full play to their imagination and creativity, which plays an important role in cultivating students' innovative consciousness, innovative spirit and pioneering ability. Open laboratories in colleges and universities can cultivate and train high-quality professional and technical personnel for various scientific research and enterprises and institutions, and meet the needs of social development for professional and technical personnel. Therefore, the research on the opening and management of university laboratories is of great significance. This topic requires the establishment of an open experimental teaching management system, which mainly realizes the following basic functions: (1) Release and browse information such as laboratory rules and regulations. (2) Laboratory open experiment project management. (3) Students can make an appointment for experiment time according to their actual situation. (4) Record information such as the time when students enter or leave the laboratory. (5) The teacher grades the students' experiments according to the students' experiments. (6) Students can check their own experimental results. (7) The teacher can count the students' experimental situation and so on. Other requirements: Students are required to complete the graduation project independently. If you encounter problems during the graduation project, you should communicate with the instructor in time. It is required to independently conduct subject research and collect relevant data. Translate an English article of about 3000 words related to this topic. Write various documents related to graduation design on time. Participate in graduation design defense on time. Instructor: Year, Month, Day Responsible Teacher: Year, Month, Day

Opening report of "Open Teaching Experiment Management System Based on WEB"

  1. topic summary
  2. Topic name
    WEB-based open teaching experiment management system
  3. Subject Advisors and Tutors
  4. Student Grade Name
    Name:
    Student ID:
  5. Brief description of the topic

University laboratories are an important place for experimental teaching, scientific research, technology development and academic exchanges, and an important base for cultivating talents' innovative thinking and innovative ability. An open laboratory is to provide necessary conditions for experimental teaching, experimental technology research, and scientific research, including experimental time, experimental equipment, experimental venues, experimental materials, experimental instructors, etc., part or all of which are provided to experimenters (including undergraduates, Graduate students, teachers, technicians, etc.) are purposefully open to provide services for experimenters to complete a certain experimental project. In the innovative activity base of the open laboratory, students can give full play to their imagination and creativity, which plays an important role in cultivating students' innovative consciousness, innovative spirit and pioneering ability. The open laboratories of colleges and universities can cultivate and train high-quality professional and technical personnel for various scientific research and enterprises and institutions, and meet the needs of social development for professional and technical personnel. Therefore, the research on the opening and management of university laboratories is of great significance.

  1. topic background
  2. With the development of science and technology and social progress at home and abroad
    , especially the wide-scale popularization of computers, computer applications have gradually shifted from massive data processing of large-scale scientific calculations to large-scale transaction processing and management of workflows, which has resulted in desktop computers. As the core, the application of the management residence system with the database management system as the development environment in large-scale transaction processing and workflow management, and its application in personnel management has attracted increasing attention.
    The open teaching management system is an indispensable part of an educational unit, and its content is very important to the decision-makers and managers of the school, so the open teaching management system should be able to provide users with sufficient information and quick query means. However, people have always used the traditional manual method to teach and manage file archives. This management method has many shortcomings, such as: low efficiency, poor confidentiality, and over time, a large number of files and data will be generated, which is very important for searching, updating and Maintenance has brought a lot of difficulties. This not only increases the workload, but also results in frequent loss of files due to errors. With the continuous improvement of science and technology, computer science is becoming more and more mature, and its powerful functions have been deeply recognized by people. It has entered various fields of human society and is playing an increasingly important role. The development of the system using JSP language has many advantages
    . , The biggest feature of the JSP language is its portability, that is, "program once, run everywhere". In addition, JSP also provides compatibility with multiple operating systems, so the JSP language has high performance. Therefore, the use of JSP language to develop the system makes the open teaching management system have many advantages and reduces the cumbersomeness of traditional manual management.
  3. Main technical direction

JSP technology

According to NetCraft's survey, in the past year, the use of JSP has grown by 94%. In terms of operating system platforms using JSP, 40% are Linux, 26% are Windows, and 17% are Solaris. After Sun officially released JSP (JavaServer Pages), this new Web application development technology quickly attracted people's attention. . JSP provides a unique development environment for creating highly dynamic web applications. According to Sun, JSP can adapt to 85% of server products including Apache WebServer and IIS4.0 on the market. Even if you have a "deep love" for ASP, we think it's still worthwhile to keep an eye on the development of JSP. It turns out that Java Servlets are an ideal framework for developing Web applications. Based on Servlet technology, JSP has been improved in many aspects. JSP pages look like ordinary HTML pages, but it allows embedded code execution, in this regard, it is very similar to ASP technology. With JavaBean components that run across platforms, JSP provides an excellent solution for separating processing logic from display styles. JSP will surely become a powerful competitor of ASP technology

  1. The main technology used in the topic

JSP+SQL Server2000

SQL Server2000: Like most modern relational languages, SQL is based on record relational calculus. The result is that every query that can be expressed in record-relational calculus (or, equivalently, in relational algebra) can also be expressed in SQL. However, SQL has some capabilities beyond relational algebra or calculus. Here is a list of what SQL offers that are not relational algebra or relational calculus:

  • Commands to insert, delete or change data.
  • Arithmetic ability: In SQL, we can perform arithmetic operations like comparison functions, such as A < B + 3. Essentially + or other arithmetic operators never appear in relational algebra or relational calculus.
  • Assign and print commands: We can print a relation constructed by a query and assign a relation name to a computed relation.
  • Aggregate functions: operators like  average , sum , max , etc. can be applied to the columns of a relation to obtain a single

JSP technology introduction is the same as above

  1. Topic task (task book)
  2. main requirement

(1) Publication and browsing of laboratory rules and regulations and other information.

(2) Laboratory open experiment project management.

(3) Students can make an appointment for experiment time according to their actual situation.

(4) Record information such as the time when students enter or leave the laboratory.

(5) The teacher grades the students' experiments according to the students' experiments.

(6) Students can check their own experimental results.

(7) The teacher can count the students' experimental situation and so on.

  1. Topic needs analysis (students need to confirm with the instructor)
  2. What data is processed
    (1) Basic information
    1. , Basic information of teachers
      2), Basic information of students
      3), Basic information of laboratories The basic
      relationship ER diagram is as follows
      Figure 4-1
      (2) Laboratory information
      1), release information
      (3) Teacher management information
      1), statistical information
      2 ), assessment information
      (4) student information
      1), appointment information
      2), query information
      (5) administrator
      1), system maintenance authority information

  1. What functions are needed (for theoretical topics, what theoretical method is to be adopted)

2.1.1 Functional requirements

1) This system requires valid identity verification before you can log in

2) Divide the identities of logging into the system into three types: one is the administrator, the other is the teacher, and the third is the student. Only authorized users can use the system

3) The system provides students with information such as appointment time, entry or departure time, query results, etc.

4) The system provides the release and browsing of information such as laboratory rules and regulations, and experimental project management

5) The system provides teacher ratings and statistics

6) Different user identities use different system resources. Students can only check their own grades, make an appointment time, enter, enter or leave time, and teachers can score and count students' grades. The administrator has full access to the entire system.

2.1.2 Performance requirements

(1) Hardware environment

  • Processor: Inter Pentium 4 1.6GHz or higher
  • Memory: 256MB
  • Hard disk space: 80GB
  • Optical drive: CD-ROM 48X
  • Graphics card: SVGA graphics card adapter
    (2) client
  • Processor: Inter Pentium 166 MX or higher
  • Memory: 32MB
  • Hard disk space: 1GB
  • Optical drive: CD-ROM 48X
  • Graphics card: SVGA display adapter

2. Software Environment

  • Operating system: Windows 2000 Server
  • Network protocol: TCP/IP
  • Web server: Information Server 5.0/Personal Web Server
  • Database: Microsoft Explore 5.0 or above
  • Browser Internet Explorer 5.0 or above
    (2) client
  • Operating system: Windows 98/ME/2000/XP
  • Network protocol: TCP/IP
  • Database: Microsoft SQL Server 2000
  • Browser Internet Explorer 5.0 or above

2.1.3 System block diagram

Figure 4-2.1.3

  1. The generated result standard
    first checks the legitimacy of the user through the authority verification module. If the user is a legitimate user, he can enter the system and display the system’s organization display interface (that is, the main interface of the system). In the organization display interface, he can enter the administrator Module, to add, delete, modify and query all kinds of information. You can also enter the teacher management module to query, evaluate and publish the relative information of teachers, and you can also enter the student management module to make reservations and inquiries for the student module.
  2. Whether an interface is needed, and what is the style of the interface (students need to propose several sets of plans for the instructor to confirm)

Interface is required. When the system is started, it first enters the login interface, and enters the main interface of the system after authorization verification, and selects the operation you want to perform in the main interface. as follows:

home page:

Open teaching experiment management system based on WEB
Home Username Password Welcome to the WEB-based open teaching experiment management system

Admin page:

Open teaching experiment management system based on WEB
Home Release and Browse Project Management Rules and regulations, etc.

Faculty Page:

Open teaching experiment management system based on WEB
Home Browse Function Publish Function Rating Function Statistics Function Query Function student information

Student page:

Open teaching experiment management system based on WEB
Home Reservation Function Inquiry Function computer time

……

  1. What are the required development tools, and the current mastery.
    Basic knowledge of Sql Server2000, Dreamwear MX 2004, and eclipse
  2. The main test items required.
Test content Input data theoretical results actual results whether to pass
System login function Enter user and password Jump to the relative function interface no yet no yet
upload function Add upload file name and path Right click to download no yet no yet
download function click to download pop-up download dialog no yet no yet
browse and publish left click Jump to the relative function interface no yet no yet
Inquire Enter username and data Jump to the relative function interface no yet no yet
  1. topic planning
  2. The development progress is arranged on a weekly basis. (Just arrange the content of the system development phase, thesis writing does not count)
1-2 weeks In the stage of the opening report, there is a preliminary analysis of the system and the division of modules
3 weeks Detailed analysis and design of the system
4-5 weeks Complete the interface design
6-12 weeks write program code
13-14 weeks System testing phase
15-16 weeks writing thesis stage
  1. Test plan (test content items, time, test results)
(1) Test of the authority verification module: Test content: Enter the system as administrator, teacher and student respectively. When entering the system as an administrator, check whether the user management module can be operated, and if so, the result is correct. If the user management module cannot be operated when entering the system as a general user, the result is correct.
(2) Test of the system management module: Test content: Enter the system as an administrator, and test the user management module to add and delete operations and modify passwords. Enter the system as a general user and perform a password modification test.
(3) Tests on the teacher management module: Test content: Add, delete, modify and query the various information of teachers respectively, and check whether the results are correct.
(3) Tests on the student management module: Test content: Add, delete, modify and query the various information of students respectively, and check whether the results are correct.
  1. Topic plan arrangement
    One computer, equipped with Jbuilder, SQL Server, Visio, Office and other necessary software
  2. references

1. Main reference books and materials

[1] [US] Microsoft Corporation, Microsoft SQL Server 2000 Database Management [M], Beijing: Hope Electronic Publishing House, 2001.7

[2] Sa Shixuan, Wang Shan, Introduction to Database System. Higher Education Press, 2002.2.

[3] Tang Youming, Wu Hua, etc., JSP Dynamic Website Development Tsinghua University Press, 2006.8

[4] Stephen. (US) Management Information System in the Information Age. Machinery Industry Press, 2001

Open experiment management system based on WEB

Faculty
major
class
student ID
Name
mentor
Teacher in charge

2012

Summary

The laboratory of colleges and universities is an important base for experimental teaching, scientific research, and promotion of scientific and technological development. It is an important part of the school's teaching and scientific research work. The level of laboratory construction and management is directly related to the quality of training talents. The Internet is currently greatly changing our lives. With the advancement of modern campus informatization, it has become an irresistible trend for computers to enter all aspects of daily teaching work. In school laboratories, the introduction of computers for standardized management will inevitably greatly improve work efficiency, effectively utilize laboratory resources, improve school efficiency, and ensure the quality of experimental teaching. This system adopts the B/S mode, which mainly realizes the functions of laboratory information management, experiment information management and online reservation of experiments.

Key words: laboratory management; B/S mode; appointment experiment

Abstract

The college laboratory is the important base that carries on the experimental teaching ,develops scientific research and improves science and technology development.It is also the important part of the school teaching and scientific research .Therefore, construction and management level of the laboratory has direct relation with the quality of cultivating talents.The Internet changes our life so much that it has been the irresistible trend that computers enters all respects of the daily teaching work with the advancement of campus informationization .In the capus laboratory,the standardized management with computers will surely increase the working efficiency ,make the best use of the laboratory resources ,improve efficiency and guarantee the teaching quality.This system adopts B/S mode and mainly implement the laboratory information management and experiment information management as well as the experiment reservation online and so on.

Key word: The laboratory management; B/S mode; experiment reservation online

 

1 概述11

1.1 题目背景及研究意义11

1.2 本论文的目的、内容及作者的主要贡献22

2 需求分析33

2.1 项目内容33

2.2 设计目标33

2.3 系统用例图44

2.4 可行性分析44

2.4.1 经济可行性44

2.4.2 社会可行性55

2.5 开发的工具论述55

2.5.1 前台开发工具55

2.5.2 后台数据库88

3 系统结构特性设计99

3.1 系统涉及的关系实体和对应关系99

3.2 关系模式99

3.3 系统分析模型1010

3.4 数据库设计1212

3.4.1 数据表设计1212

4 行为特性设计1414

4.1 软件结构设计1414

4.1.1 功能描述1414

4.1.2 总体结构图1414

4.2 功能子模快设计1616

4.2.1 系统登录管理模块1616

4.2.2 用户管理功能模块1717

4.2.3 实验室管理功能模块1818

4.2.4 实验管理功能模块2020

4.2.5 公告管理功能模块2222

4.2.6 教师登录界面2424

4.2.7 个人信息管理功能模块2626

4.2.8 实验管理功能模块2727

4.2.9 实验评分管理功能模块2727

4.2.10 学生功能模块2828

4.2.11 实验预约功能模块3030

4.2.12 实验操作功能模块3030

4.2.13 实验分数查看功能模块3131

5 系统测试及分析3232

5.1 软件测试的目的和原则3232

5.2 测试实例的研究与选择3232

5.3 测试环境与测试条件3232

5.4 实例测试3232

5.5 测试结果3434

6 总结与展望3535

参考文献3636

致 谢3737

  1. 概述
    1. 题目背景及研究意义
      开放性实验管理信息系统是一个以实验室管理和实验管理为主的先进的网络系统,能够为用户提供充足的实验室信息和实验信息的查询手段。传统的人工管理实验室这种古老的方式来进行,已完全不能满足学校对实验室规划的需要,开放性实验管理能够极大地提高实验室管理的效率,也是使学校的科学化、正规化管理的重要条件。随着科学技术的不断提高,计算机科学日渐成熟,其强大的功能已为人们深刻认识,它已进入人类社会的各个领域并发挥着越来越重要的作用。现代企业的竞争逐渐整合为工作效率的竞争,在信息爆炸的时代,传统教学实验管理面临着诸多挑战。
      基于WEB的开放性管理系统就是要将手工管理变为计算机管理,把开放性实验管理放在网上进行,达到高效、准确、便捷的目的。供学生查阅相关信息,限定学生在一定时间内统一在网上预约实验,由于开放性实验放在网上,学生在自己的学号就可以网上预约,提高了实验室实验的效率,实验完成后,由实验指导教师在网上为自己的学生评分,上传到网络后学生查看成绩。
      本文从高效管理计算机实验室出发,结合我院计算机机房的具体情况,针对如何合理安排机房的课程实验,实习以及如何调节设备的冲突,实现资源的高效组合和利用,提出了一系列解决方案。
      已往的教学实验室是处于理论课辅助的地位,而实验室的建设发展均从属于教研室的发展规划。实验课课程无独立性,跟着理论走,实验课程的设置实际上是理论课程的延续,实验手段仅仅是简单的验证理论和演示重复书本。而现在,教学实验室不但要承担多门学科、多门课程,还要在同一个时间面对不同年级、不同水平、不同层次的学生,如大一到大四的普通本科生、研究生等,甚至可能要服务于社会,实验室工作内涵发生了改变,工作量成倍增加。现在实验室实验教学准备的复杂程度和工作强度都几倍于已往的实验室。在这种现实情况下,实验室的管理就显得更加举足轻重了,只有加强实验室规范管理,进行优化组合,理顺内、外部关系,有效利用实验室资源,优化实验室教学仪器的运行环境,构建一种全新的整合优势,将实验室管理员、教师、学生三者有机结合,以保证教学实验有序、顺利、合理的完成,提高实验课的效率,从而保障实验教学质量,提高实验室综合能力和效率,提高实验室的投资效益。
    2. 本论文的目的、内容及作者的主要贡献
      本论文的目的,主要有两个方面;一是对自身的知识与能力进行一次全面的考核。二是对自身进行计算机基本功的训练,培养自身综合运用所学知识独立地分析问题和解决问题的能力,为以后能更好地从事计算机工作打下良好的基础。
      撰写毕业论文是在校大学生最后一次知识的全面检验,是对学生基本知识、基本理论和基本技能掌握程度的一次总测试,这是撰写毕业论文的第一个目的。在学习期间,我已经按照教学计划的规定,学完了公共课、基础课、专业课以及选修课等,每门课程也都经过了考试或考查。学习期间的这种考核是单科进行,主要是考查学生对本门学科所学知识的记忆程度和理解程度。但毕业论文则不同,它不是单一地对某一学科已学知识的考核,而是着重考查运用所学知识对某一问题进行探讨和研究的能力。
      撰写毕业论文的第二目的是培养自己在计算机科学与技术方面的科学研究能力,使自己能逐步掌握进行科学研究的基本程序和方法。
      本论文的内容是针对毕业设计《基于WEB的开放性实验管理系统》进行综合的论述和介绍。其中着重于该毕业设计的研究现状及设计目标,以及所涉及到的关键问题及分析,并对系统设计,系统实现进行了详细的论述。
      针对《基于WEB的开放性实验管理系统》,作者的主要贡献是对该毕业设计进行了详细的系统分析、设计和实现,努力使该系统更专业,更人性化,更实用,更趋近于实际使用。

  1. 需求分析
    1. 项目内容
      高校实验室是从事实验教学、科学研究、技术开发和学术交流的重要场所,是培养人才创新思维和创新能力的重要基地。开放性实验室就是为实验教学、实验技术研究、科学研究提供必要条件,包括实验时间、实验仪器设备、实验场地、实验资料、实验指导人员等,部分或全部向实验者(包括本科生、研究生、教师、技术人员等)有目的地开放,从而为实验者完成某个实验项目提供服务。学生在开放性实验室这个创新活动基地内,能够充分挥他们的想象力与创造力,对培养学生的创新意识、创新精神和开拓能力具有重要作用。高校开放性实验室可为各类科研和企事业单位培养和培训高素质专业技术人才,满足社会发展对专业技术人才的需求。因此,对高校实验室开放与管理的研究具有重要意义。
    2. 设计目标
      ⑴系统提供用户管理功能
      ⑵系统提供实验室的管理功能
      ⑶系统提供实验的管理功能
      ⑷系统提供公告管理
      ⑸系统提供教师信息信息修改功能
      ⑹系统提供教师评分的功能
      ⑺系统提供教师查询学生成绩的功能
      ⑻系统提供学生网上预约实验功能
      ⑼系统提供学生查询成绩的功能
      ⑽系统提供学生个人信息修改的功能
    3. 系统用例图


图2.1基于WEB开放性的实验管理的用例图

    1. 可行性分析
      1. 经济可行性
        因为由于系统并不十分复杂,且操作起来也非常简单,所以开发费用比较低。另外,考虑到现在已经有的硬件设备需增加、调整的硬件投入亦很低。
      2. 社会可行性
        由于已往的实验室管理完全或大部分都靠人力亲为,浪费人力、物力、财力,而实验室教学质量的体现,师资队伍是关键,管理是保证。同时,按照“教育要面向现代化,面向世界,面向未来”的要求,实验室教学和管理也要和时代同步,与时俱进。加强实验室规范管理,既能保证完成实验教学任务,满足科学研究的需要,又可以节省人力、物力、财力。
        在实验室管理中有时会产生这样的矛盾:学生来实验室上实验课,实验室管理员和教师都认为应该由对方管理,这就不利于实验教学的正常、有序进行。因此,实验室管理不只是管理员或教师的行为,而应是双方共同的责任。管理员应积极主动地配合,与任课教师共同管理,这种管理不只是单纯的课前、课间、课后的管理,而应贯穿整个实验教学的始终。本实验室管理系统正可以解决这样的矛盾。

    1. 开发的工具论述
      1. 前台开发工具
        1. Java简介
          Java起源于80年代的中末期,是Sun公司产品开发的一种语言,其目标是在小型嵌入式系统上运行。但是由于动态图像压缩标准MPEG却始终未能出台,因而这个时期的Java也就中途夭折了。到了1990年,Sun公司副总裁James Gosling再次提出Java的设计,其目标是希望仿效C和C++那样设计出一种更简单、更有效、更容易使用的跨多种计算机平台的通用语言。到了90年代中期,互联网迅速崛起,短短几年得到了巨速的发展。成千上万的计算机,其中有个人的、企业的、政府的,公司加入到了互联网上,致使互联网深入到了生活、社会、经济、政治、军事的每一个角落,因此急需开发一种跨平台软件开发工具,这给Java得到了一个极好的发展机遇,1995年Sun公司首次推出Java语言。短短的几年中Java得到了极大的发展,成立互联网开发和应用发展的一个重要工具。 Java的特点是1)通用性:指的是跨平台、跨网络、跨语种和跨时间。2)跨平台:指的是Java与计算机平台(硬件、操作系统)无关。3)跨网络:指的是Java与网络平台无关,可以穿越多种常用的网络类型(平台)。它的结构确切地说是B/S模型(浏览器/服务器模型,亦称Web模型)。B/S模型是一种三层结构的模型:客户端/应用服务器(Web服务器)/数据库服务器。4)跨语种:指的是Java的应用软件不存在语言本地化问题,它本身带有语言机制。它主要是通过所谓“国际语言管理”(International Language Management)模块实现的。5)跨时间:技术更新和保护投资的方案、产品升级容易,只需编写一个新的模块,替换老模块即可。6)可移植性:Java的源代码是可移植的,而且对现有的几乎所有操作系统无须修改便能运行,还具有多线程同步、与平台无关的用户接口、内置联网功能、对象会打印功能、出错处理、内存管理等功能。CPU可移植性和虚拟操作系统。7)支持分布式环境:分布式计算环境支持:通过不断扩充的Java网络类库支持分布式计算环境。Java提供一个URL(统一资源定位器)对象,用以打开并访问网上对象。其方式几乎与访问文件系统几乎完全相同。Java的客户机/服务器模式把运算从服务器分散到客户端。以提高系统执行效率,增加动态可扩充性。
        2. JSP简介
          在 Sun 正式发布 JSP之后,这种新的 Web 应用开发技术很快引起了人们的关注。JSP 为创建高度动态的 Web 应用提供了一个独特的开发环境。
          JSP是Java Server Pages的简写。JSP技术能让Web开发员和网页设计员快速地开发容易维护的动态Web主页。 用JSP开发的Web应用是跨平台的,即能在Linux下运行,也能在其他操作系统上运行。
          在传统的网页 HTML文件(*.htm, *.html)中加入Java程序片段 (Scriptlet)和JSP标记(tag),就构成了JSP网页(*.jsp)。Web服务器在遇到访问JSP网页的请求时,首先执行其中的程序片段,然后将执行结果以HTML格式返回给客户。程序片段可以操作数据库、可以重新定向网页、可以发送 email 等等,这就是建立动态网站所需要的功能。
          即使您对 ASP "一往情深",我们认为,关注 JSP 的发展仍旧很有必要。事实证明,Java Servlet 是一种开发 Web 应用的理想构架。 JSP 以 Servlet 技术为基础,又在许多方面作了改进。 JSP 页面看起来象普通 HTML 页面,但它允许嵌入执行代码,在这一点上,它和 ASP 技术非常相似。利用跨平台运行的 JavaBean 组件, JSP 为分离处理逻辑与显示样式提供了卓越的解决方案。 JSP 必将成为 ASP 技术的有力竞争者。
        3. Dreamweaver简介
          Dreamweaver是美国MACROMEDIA公司开发的集网页制作和管理网站于一身的所见即所得网页编辑器,它是第一套针对专业网页设计师特别发展的视觉化网页开发工具,利用它可以轻而易举地制作出跨越平台限制和跨越浏览器限制的充满动感的网页。
          Dreamweaver是建立 Web 站点和应用程序的专业工具。它将可视布局工具、应用程序开发功能和代码编辑支持组合在一起,其功能强大,使得各个层次的开发人员和设计人员都能够快速创建界面吸引人的基于标准的网站和应用程序。从对基于 CSS 的设计的领先支持到手工编码功能,Dreamweaver 提供了专业人员在一个集成、高效的环境中所需的工具。开发人员可以使用 Dreamweaver 及所选择的服务器技术来创建功能强大的 Internet 应用程序,从而使用户能连接到数据库、Web 服务和旧式系统。Dreamweave特点是 1)最佳的制作效率 Dreamweaver可以用最快速的方式将Fireworks,FreeHand,或Photoshop等档案移至网页上。使用检色吸管工具选择荧幕上的颜色可设定最接近的网页安全色。对于选单,快捷键与格式控制,都只要一个简单步骤便可完成。除此之外,只要单击便可使Dreamweaver自动开启Firework或Photoshop来进行编辑与设定图档的最佳化。2)网站管理使用网站地图可以快速制作网站雏形、设计、更新和重组网页。改变网页位置或档案名称,Dreamweaver 会自动更新所有连结。使用支援文字、HTML码、HTML属性标签和一般语法的搜寻及置换功能使得复杂的网站更新变得迅速又简单。3)无可比拟的控制能力 Dreamweaver是唯一提供Roundtrip HTML、视觉化编辑与原始码编辑同步的设计工具。它包含HomeSite和BBEdit等主流文字编辑器。帧(frames)和表格的制作速度快的令您无法想像。进阶表格编辑功能使您简单的选择单格、行、栏或作未连续之选取。甚至可以排序或格式化表格群组,Dreamweaver 支援精准定位,利用可轻易转换成表格的图层以拖拉置放的方式进行版面配置。所见即所得 Dreamweaver成功整合动态式出版视觉编辑及电子商务功能,提供超强的支援能力给Third-party厂商,包含ASP, Apache,BroadVision, Cold Fusion,iCAT, Tango与自行发展的应用软体。当您正使用Dreamweaver在设计动态网页时,所见即所得的功能,让您不需要透过浏览器就能预览网页。梦幻样版和XML Dreamweaver将内容与设计分开,应用于快速网页更新和团队合作网页编辑。建立网页外观的样版,指定可编辑或不可编辑的部份,内容提供者可直接编辑以样式为主的内容却不会不小心改变既定之样式。您也可以使用样版正确地输入或输出XML内容。 全方位的呈现利用Dreamweaver设计的网页,可以全方位的呈现在任何平台的热门浏览器上。对于cascading style sheets的动态HTML支援和鼠标换图效果,声音和动画的DHTML效果资料库可在Netscape和Microsoft浏览器上执行。使用不同浏览器检示功能,Dreamweaver可以告知您在不同浏览器上执行的成效如何。当有新的浏览器上市时,只要从Dreamweaver的网站在下载它的描述档,便可得知详尽的成效报告。

      1. 后台数据库
        1. 数据库介绍
          SQL是英文Structured Query Language的缩写,意思为结构化查询语言。SQL语言的主要功能就是同各种数据库建立联系,进行沟通。按照ANSI(美国国家标准协会)的规定,SQL被作为关系型数据库管理系统的标准语言。SQL语句可以用来执行各种各样的操作,例如更新数据库中的数据,从数据库中提取数据等。
          目前,绝大多数流行的关系型数据库管理系统,如Oracle、Sybase、Microsoft SQL Server、Access等都采用了SQL语言标准。虽然很多数据库都对SQL语句进行了再开发和扩展,但是包括Select、Insert,、Update、Delete、Create以及Drop在内的标准的SQL命令仍然可以被用来完成几乎所有的数据库操作。

  1. 系统结构特性设计
    1. 系统涉及的关系实体和对应关系
      本系统有四个实体,分别是实验室、教师、学生和实验。
      实验室实体的基本属性有实验室名称,实验室地址,实验室标识。一个实验室可以对多个学生,一个学生可以使用一个实验室,所以是一对多的关系。
      教师实体的基本属性有用户名,教师编号,性别,部门。由于一名教师可以使用多个实验室,一个实验室库可以被多个老师使用,所以是多对多的关系。
      学生实体的基本属性有学号,性别,姓名。一个教师可以交多个学生,一个学生被一个老师交,所以是一对多的关系。
      实验实体的基本属性有编号,实验编号,实验教师,实验名称,实验内容,实验地点。一教师可以指导一个实验,一个实验可以被一个教师所指导,所以是一对一的关系;一个学生可以选修多个实验,一实验可以被多个学生选修,所以是多对多的关系。
    2. 关系模式
      用户(用户名,用户密码,用户级别,关联ID)
      实验室(实验室标识,实验室名称,实验室地点)
      学生(学号,姓名,班级,性别,系别,专业)
      教师(教师编号,用户名,性别,部门)
      实验(编号,实验编号,实验教师,实验地点,实验名称,实验内容,开始时间,结束时间)
      实验预约表(学生编号,实验编号,实验状态)
      实验成绩表(学生编号,实验编号,成绩)
      公告(编号,公告名称,公告要求,公告发布时间)
    3. 系统分析模型

  1. 实验室(实验室标识,实验室名称,实验室地点)

图3.1 实验室实体图

2.学生(学号,姓名,班级,性别,系别,专业)

图3.2 学生实体图

3.实验(编号,实验编号,实验教师,实验地点,实验名称,实验内容,开始时间,结束时间)

图3.3 实验实体图

4.教师(教师编号,用户名,性别,部门)

图3.4教师实体图

5.E-R图

图3.5 E-R图

  1. 数据库设计
    数据库是软件开发的灵魂和基础,是整个系统成功的关键所在,是开发高品质应用的前提。完整性约束包括三种:实体完整性约束、关联完整性约束、用户定义的完整性约束。实体完整性约束有如下几种:列值非空、列值唯一、检查列值是否满足一个布尔表达式、主属性非空、检查各列之间是否满足一个布尔表达式2)关联完整性约束有如下几种:外码是否可以接受空值、删除参照关系的列时考虑、修改参照关系的主码时的考虑。用户定义的完整性约束:一些企业规则、常识性规则、表的取名要规范、规范化处理、数据库设计应尽力满足3NF。
    1. 数据表设计
      经过初步的分析,该系统主要包括以下8个数据表,表中的设计如下:
      表3.1用户信息表(ex_user)
字段名称 字段标识 数据类型 长度 允许空 主键
标识 ID int 4 No Yes
用户名 iuser vchar 50 No No
用户密码 Pass vchar 50 No No
用户级别 Type int 4 No No
关联ID glid vchar 20 Yes No

表3.2实验室(ex_sys)

字段名称 字段标识 数据类型 长度 允许空 主键
实验室标识 Sys_id int 4 No Yes
实验室名称 Sys_name vchar 50 No No
实验室地点 Sys_place vchar 50 No No

表3.3学生(ex_stu)

字段名称 字段标识 数据类型 长度 允许空 主键
学号 Stu_id vchar 20 No No
姓名 Stu_name vchar 50 No No
班级 Stu_class vChar 50 No No
专业 Stu_zhy vChar 50 No No
性别 Stu_stu vChar 50 No No
系别 Stu_xb vChar 50 No No


表3.4教师(ex_tch)

字段名称 字段标识 数据类型 长度 允许空 主键
教师编号 tch_id vchar 50 No Yes
用户名 Username vchar 50 Yes No
性别 tch_sex vchar 50 Yes No
部门 tch_department vchar 50 Yes No

表3.5实验(ex_sy)

字段名称 字段标识 数据类型 长度 允许空 主键
自动编号 id Int 4 No no
实验编号 sy_id varchar 80 No Yes
实验教师 Sy_tch varchar 50 No No
实验地点 Sy_place varchar 50 No No
实验名称 Sy_title varchar 50 No No
实验内容 Sy_content ntext 16 No No
开始时间 Sy_starttime datetime 8 No No
结束时间 Sy_endtime datetime 8 No No

表3.6实验预约表(ex_syyy)

字段名称 字段标识 数据类型 长度 允许空 主键
学生编号 id Int 4 No Yes
实验编号 sy_id vchar 50 No Yes
实验状态 Sy_tch vchar 50 No No

表3.7公告(ex_note)
表3.8实验成绩表(ex_sycj)

字段名称 字段标识 数据类型 长度 允许空 主键
自动编号 id Int 4 No Yes
公告名称 ititle vchar 50 No No
公告要求 content ntext 16 No No
公告发布时间 itime datetime 8 No No
字段名称 字段标识 数据类型 长度 允许空 主键
学生编号 id Int 4 No Yes
实验编号 sy_id vchar 50 No Yes
成绩 Sy_tch vchar 50 No No

  1. 行为特性设计
    1. 软件结构设计
      1. 功能描述
        本系统分为用户管理模块、实验室管理模块、实验管理模块、公告管理模块、个人信息管理模块、实验预约管理模块、实验分数查看管理模块、实验评分管理模块。
        用户管理模块实现的是用户的添加、修改、删除等功能。实验室管理模块实现的是实验室的添加、修改、删除等功能。实验管理模块实现的是实验的添加、修改、删除等功能。公告管理模块实现的是公告的添加、修改、删除和查看等功能。个人信息管理模块实现的是对姓名、密码修改等功能。实验预约管理模块实现的是预约实验、查看已预约的实验等功能。实验分数查看管理模块实现的是实验评分、查看已评分的实验等功能。实验评分管理模块实现的是查看已评分的实验等功能。
      2. 总体结构图


图4.1 总体结构图

    1. 功能子模快设计
      1. 系统登录管理模块
        1. 功能
          输入用户名和密码,判断用户是否存在,如果是管理员,就进管理员界面,否则判断是否是教师,如果是教师,就进教师界面,否则进学生界面。
        2. 算法流程


图4.2系统登录流程图

        1. 数据接口
          用户信息表
        2. 界面设计


图4.3系统登录界面

      1. 用户管理功能模块
        1. 功能
          添加一个新用户时,输入用户名,密码,确认密码,选择是学生,教师,还是管理员,学生/教师的编号,然后提交,提示成功后,系统提示添加成功,否则提示添加失败。
        2. 数据接口
          用户信息表


图4.4用户管理功能界面

      1. 实验室管理功能模块
        1. 功能
          单击添加实验室,添加实验室名称,实验室地点提交,系统提示添加成功,如果已有实验室,系统就提示该实验室已存在。
        2. 算法流程


图4.5实验室流程图

        1. 数据接口
          实验室信息表
        2. 界面设计


图4.6实验室管理功能界面

      1. 实验管理功能模块
        1. 功能
          单击添加实验,添加实验编号、实验名称、实验地点、实验开始时间、实验结束时间和实验内容,然后提交,系统会提示添加成功。如果添加一个系统已经有的实验名,系统就提示该实验已存在,并返回到本页继续添加实验。
        2. 算法流程


图4.7实验流程图

        1. 数据接口
          实验信息表
        2. 界面设计


图4.8实验管理功能界面

      1. 公告管理功能模块
        1. 功能
          进入添加公告界面后,添加公告的标题和内容并提交,系统会提示添加成功。否则提示错误。
        2. 算法流程


图4.9公告流程图

        1. 数据接口
          公告信息表
        2. 界面设计


图4.10公告管理界面


图4.11查看公告结果界面

      1. 教师登录界面
        1. 功能
          输入的教师的用户名和密码正确时,就可进入教师的界面。否则当输入教师的用户名和密码错误时,系统则提示用户名或密码错误,请重新输入,并返回系统的主界面重新输入。
        2. 算法流程


图4.12教师登录流程图

        1. 数据接口
          用户信息表
        2. 界面设计


图4.13教师登录界面

      1. 个人信息管理功能模块
        1. 功能
          教师可以通过个人信息管理,只可以修改自己的密码和教师性别,提示修改成功。对教师编号、教师部门进行修改,系统不提示,返回到本页面。
        2. 数据接口
          教师信息表
        3. 界面设计


图4.14个人信息管理功能界面

      1. 实验管理功能模块
        1. 功能
          添加实验的所有的内容包括实验编号、实验名称、实验地点、实验开始时间、实验结束时间、实验教师、实验内容后提交。系统提示添加实验成功,否则提示添加失败。
        2. 数据接口
          实验信息表
        3. 界面设计


图4.15 实验管理功能界面

      1. 实验评分管理功能模块
        1. 功能
          根据学生的的实验的开始和结束时间、实验内容,对学生进行评分。学生评分以后提交,系统提示成功,否则提示错误。
        2. 数据接口
          实验信息表
        3. 界面设计


图4.16 对实验评分的界面

      1. 学生功能模块
        1. 功能
          输入的学生的用户名和密码正确时,进入学生的界面。否则当输入学生的用户名和密码错误时,系统则提示用户名或密码错误,请重新输入。并返回系统的主界面重新输入。
        2. 算法流程


图4.17学生登录界面

        1. 数据接口
          学生信息表
        2. 界面设计


图4.18学生登录页面

      1. 实验预约功能模块
        1. 功能
          学生通过实验编号、实验名称、实验的开始和实验的结束时间、实验的教师、实验的内容,正确的预约实验,预约实验以后系统提示预约成功。如果已经预约了该实验,系统提示该实验已经预约。
        2. 数据接口
          实验预约表
        3. 界面设计


图4.19预约实验功能界面

      1. 实验操作功能模块
        1. 功能
          预约时间以后,就可以单击开始实验,如果这时再次单击开始,系统提示该实验已经开始。实验实验结束后,单击结束实验,系统提示该实验已结束。
        2. 数据接口
          实验预约表
        3. 界面设计


图4.20实验操作功能界面

      1. 实验分数查看功能模块
        1. 功能
          查看学生实验成绩
        2. 数据接口
          实验成绩信息表
        3. 界面设计


图4.21实验分数查看功能界面

  1. 系统测试及分析
    1. 软件测试的目的和原则
      在软件生存周期的每个阶段都不可避免地会产生错误,我们力求在每个阶段结束之前通过严格的技术审查,尽可能早地发现并纠正错误。测试的目的就是在软件投入生产性运行之前,尽可能多地发现软件中的错误。目前软件测试仍然是保证软件质量的关键步骤,它是对软件规格说明、设计和编码的最后复审。
      尽管面向对象技术的基本思想保证了软件应该有更高的质量,但无论采用什么样的编程技术,编程人员的错误都是不可避免的,而且由于面向对象技术开发的软件代码重用率高,更需要严格测试,避免错误的繁衍。因此,软件测试在面向对象编程里面更具有它的重要性。
    2. 测试实例的研究与选择
      测试是对于任何软件程序都必须要有的步骤,详细的测试对于系统以后的正常使用有着至关重要的作用。
      对于本系统测试主要数据库连接测试、功能测试、界面链接测试和数据测试。
      对于测试实例应该采用如:对于界面要考虑该界面是否符合本系统应有的风格。
      对于功能测试要考虑对于一些输入部分容易出错的地方是否作了相应对策以及系统主要功能是否实现。对于数据测试要充分考虑数据的长度是否在给定的范围内。
    3. 测试环境与测试条件
      测试环境:windows XP+tomcat5.0+sql server2000
      测试条件:运行tomcat5.0+sql server2000
    4. 实例测试
      表5.1用户管理功能实例测试表
测试条目 输入用例 输出结果 说明
用户管理功能 添加用户修琳琳 通过 提示添加成功
修改用户修琳琳为修琳琳123 通过 提示修改成功
删除用户修琳琳 通过 不提示

表5.2实验室管理功能实例测试表

测试条目 输入用例 输出结果 说明
实验室管理功能 添加实验名离散上机,地点1号楼 通过 提示添加成功
添加实验名:英语上机,地点钟楼4楼 不通过 提示该实验已存在
修改实验名:JAVA,地点钟楼3楼 通过 提示修改成功
删除用户修琳琳 通过 不提示

表5.3实验管理功能实例测试表

测试条目 输入用例 输出结果 说明
实验管理功能 修改111的实验名:JAVA,实验地点北软6机房 通过 提示修改成功
添加实验名日语上机,实验地点北软1机房 通过 提示添加成功
删除实验日语 通过 不提示

表5.4公告管理功能实例测试表

测试条目 输入用例 输出结果 说明
公告管理功能 添加公告123,内容123 通过 提示添加成功
修改公告123为123123,内容为123123 不通过 提示该实验已存在
删除公告123 通过 不提示

表5.5实验评分功能实例测试表

测试条目 输入用例 输出结果 说明
实验评分功能 单击查看数据结构上机 通过 弹出实验详细资料界面
修改20050103实验的分数为87 通过 提示该修改成功
删除数据结构上机 通过 不提示

表5.6实验预约功能实例测试表

测试条目 输入用例 输出结果 说明
实验预约功能 预约JSP上机实验 通过 提示预约成功
预约JSP上机实验 不通过 提示该实验已预约
查看已预约JSP上机实验 通过 弹出实验详细资料界面

表5.7实验操作功能实例测试表

测试条目 输入用例 输出结果 说明
实验操作功能 单击操作系统上机的开始实验 通过 提示成功
再次单击操作上机的开始实验 不通过 提示你输入的实验已开始
单击操作系统上机的结束实验 通过 提示成功
再次单击操作上机的结束实验 不通过 提示你输入的实验已结束

表5.8实验分数查看功能实例测试表

测试条目 输入用例 输出结果 说明
实验分数查看功能 日语打字练习 实验学生20050103 98分 本页显示
    1. 测试结果
      系统经过测试实现了基本功能,可以正常使用。但系统的功能还不够完善,在软件投入使用后,必然会有一些隐藏的错误被暴露出来。在以后的学习中,要加强这些方面的学习,多查阅相关资料,多实践,积累经验,避免上述的缺憾和限制。

  1. 总结与展望

经过了四个多月的学习和工作,我终于完成了<<基于WEB开放性教学管理系统>>。从开始接到论文题目到系统的实现,再到论文文章的完成,每走一步对我来说都是新的尝试与挑战,这也是我在大学期间独立完成的最大的项目。

系统能够实现用户管理模块、实验室管理模块、实验管理模块、公告管理模块、个人信息管理模块、实验预约管理模块、实验分数查看管理模块、实验评分管理模块。

由于第一次比较系统地开发开放性实验教学管理系统,系统还有许多不足的地方,例如进入用户添加,修改等界面,界面不美观。

将来系统在实际的使用中,将会增加一些功能,来增强系统功能,例如把上机完成的作业打包上传。

这次做论文的经历也会使我终身受益,我感受到做论文是要真真正正用心去做的一件事情,是真正的自己学习的过程和研究的过程,没有学习就不可能有研究的能力,希望这次的经历能让我在以后学习中激励我继续进步。

参考文献

  1. [美]微软公司.Microsoft SQL Server 2000数据库管理[M].编著.北京:希望电子出版社.2001.7
  2. 萨师煊,王珊编著.数据库系统概论.高等教育出版社.2002.2
  3. 唐有明,吴华等编著.JSP动态网站开发.清华大学出版社.2006.8
  4. 斯蒂芬.(美)信息时代的管理信息系统.机械工业出版社.2001
  5. 符福桓.信息管理学.国防工业出版社.1995.6
  6. 郑人杰,殷人昆,陶永雷.实用软件工程[M].北京:清华大学出版社.2001
  7. Jeffrey R.Shapiro.SQL Server 2000参考大全[M].北京:清华大学出版社.2002
  8. 李晓喆,张晓军,李祥胜.SQL Server2000管理及应用系统开发[M].北京:人民邮电出版社.2003
  9. 孔长征,李震,姜岭编著.Dreamweaver短期培训教程.北京电子希望出版社,.2002.4
  10. 亚沃斯基编著. JavaScript从入门到精通.电子工业出版社.2002
  11. 飞思科技产品研发中心编著.JSP应用开发详解.北京:电子工业出版社.2004

 

大学生活就快走入尾声,我们的校园生活就要划上句号,心中是无尽的难舍与眷恋。从这里走出,对我的人生来说,将是踏上一个新的征程,要把所学的知识应用到实际工作中去。

本设计在老师的悉心指导和严格要求下完成的。从课题选择、方案论证到具体设计和调试,无不凝聚着老师的心血和汗水。在两年的本科学习和生活期间,也始终感受着导师的精心指导和无私的关怀,让我受益匪浅。在此向老师表示深深的感谢和崇高的敬意。

不积跬步何以至千里,本设计能够顺利的完成,也归功于各位任课老师的认真负责,使我能够很好的掌握和运用专业知识,并在设计中得以体现。正是有了他们的悉心帮助和支持,才使我的毕业论文工作顺利完成。在此向沈阳航空工业学院,北方软件学院的全体老师表示由衷的谢意。感谢他们两年来的辛勤栽培。

Guess you like

Origin blog.csdn.net/m0_66999594/article/details/128678528