基于WEB的在线问题解答系统——用户功能模块专指导教师:2014年9月基于WEB的在线问题解答系统摘要在科学技术飞速发展的今天,传统的教育和管理受到了极大地冲击。
教育的方式、辅助手段和工具也发生着日新月异的变化。
在线教育是一种全新的教育模式,它可以突破时间和空间的限制,让更多的学习者共享优秀教育资源。
在线问题解答系统有着广阔的应用前景。
在线问题解答是实现远程教育的重要环节,在线问题解答系统,它为师生提供了相互交流的平台。
该系统的应用不受时间、科目、空间和地域的限制,可以解决在教学过程中,教师在给学生进行答疑的过程中重复出现一题多答的即浪费时间又降低了工作效率的问题,同时又可以解决由于地域或时间等因素使一些同学很难到达答疑现场,不能及时解决在学习过程中遇到的困难的问题。
应用该系统进行实时答疑以及非即时答疑,真正实现了基于Internet上(1对1,1对多,多对多)的教学模式。
在线教学模式能在教师的主导作用引导下,充分发挥学生的主体作用。
在线问题解答系统中采用了目前流行的B/S结构,采用Java语言,使用JSP动态网页技术,选用SQL Server 2005作为后台数据库进行开发的。
系统用户主要包括学生用户、教师用户、问题管理员用户。
学生用户可以提问、浏览老师回复的相应信息,并且浏览、解答其他人的问题和老师的解答;对于教师用户可以回答问题,但是不可以提问题;对于问题管理员可以回答和删除问题,但是不可以提问题。
整个系统开发过程中遵循软件工程相规范,结合了现有的设备条件和具体的实际情况。
关键词:在线问题解答,Java,SQL Server 2005,Jsp第I页共II页Online question answering system based on WEBAbstractIn the rapid development of science and technology today, education and management have great impact to traditional. The way of education, AIDS and tools are also undergoing change rapidly changes. Online education is a new education model, it can break through the limit of time and space, so that more learners to share excellent educational resources. Learning online question answering system has broad application prospects.Online question answering is an important part of distance education, online question answering system, it provides a communication platform for teachers and students. The application of the system is not affected by time, subject, space and geographical constraints, can be solved in the process of teaching, teachers in the process of giving the students answer repeated in more than one question that is a waste of time and reduces the working efficiency, but also can solve the geographical or time and other factors make some students are difficult to arrive the Q & a site, can not solve the difficulties in the learning process, timely issues. Application of the system in real time and non real time answering questions, truly realized based on the Internet (1 to 1, 1 to many, many to many)teaching mode. Online teaching mode under the guidance of teachers, and give full play to students' subjective role.Online FAQ system adopts present popular B/S structure, using Java language, using JSP dynamic Webpage technology, using SQL Server 2005 as the background database development. Users of the system mainly includes the student, teacher, administrator user problems. The user can ask students relevant information, browse the teacher replies, browse, and answer other people's questions and answers for the teacher; teacher user can answer the question, but you can't ask questions; the administrator can use the answer and remove the problem, but can not ask questions. The whole process of system development follows the software engineering standard, combined with the actual situation of the existing equipment conditions and specific.Keywords: The online FAQ, Java, SQL, Server 2005, Jsp第II页共II页目录1绪论 (1)1.1课题研发的国内外研究动态 (1)1.2课题研究的目的及意义 (1)1.2.1课题研究的目的 (1)1.2.2课题研究的意义 (1)1.3本文的工作 (2)2系统开发环境和相关技术简介 (4)2.1开发语言综述 (4)2.2SQL S ERVER 2005数据库的选用 (4)2.3JSP技术简介 (4)2.4S ERVLET 介绍 (6)2.5B/S体系结构 (6)2.6开发及运行环境 (7)3系统分析 (8)3.1系统可行性分析 (8)3.1.1经济可行性 (8)3.1.2技术可行性 (8)3.1.3操作可行性 (8)3.2系统需求分析 (8)3.2.1系统功能需求 (8)3.2.2系统性能需求 (9)3.2.3系统数据要求 (10)3.3系统流程图 (11)4系统概要设计 (12)4.1系统结构与组成 (12)4.1.1学生部分的功能定义 (12)第I 页共III页4.1.2老师部分的功能定义 (13)4.1.3问题管理员的功能定义 (13)4.2系统数据结构图 (13)4.2.1登录结构图 (13)4.2.2问题管理员界面结构图 (14)4.2.3老师界面结构图 (14)4.2.4学生界面结构图 (14)4.3数据库设计 (15)4.3.1概念模型设计(E-R图) (15)4.3.2数据库表设计 (16)5系统的详细设计与实现 (18)5.1系统界面设计与实现 (18)5.2系统分层设计与实现 (19)5.2.1表示层的设计 (19)5.2.2控制层的设计 (19)5.3各个功能模块的设计与实现 (20)5.3.1用户模块详细设计 (20)5.3.2解答问题模块详细设计 (22)5.3.3用户模块实现 (23)5.3.4解答问题模块实现 (24)6系统的测试与调试 (25)6.1测试概述 (25)6.1.1软件测试的目的 (25)6.1.2软件测试的任务 (26)6.1.3测试环境 (26)6.2单元测试 (26)6.2.1黑盒测试 (26)6.2.2白盒测试 (27)第II 页共III页6.2.3模块接口测试 (28)6.3集成测试 (29)6.3.1自顶向下集成 (30)6.3.2确认测试标准 (30)6.4测试总结 (30)7结论 (30)参考文献 (31)致谢 (32)第III 页共III页1绪论1.1课题研发的国内外研究动态在国内,有很多已经存在的用于高等教育和中小学教育的远程教育系统,我们会发现解答问题的功能在这些系统中或者被忽视或者被置于一个很次要的地位。
目前,国内的在线问题解答系统多是嵌套在教育网站中,作为一个子系统存在,而具有答疑功能的独立的平台或系统非常少。
从功能上说,国内的在线问题解答系统的功能较为丰富和全面,主要包括答疑、问题查询、浏览、用户信息和知识管理、问题统计等,除此之外,还有一些答疑系统提供了一些附加功能,以增强其系统的特色,例如:用户个性化定制等。
国内答疑系统功能的实现主要是通过人工答疑和基于数据库的自动答疑两种方式。
从系统的智能化方面来看,国内的大部分答疑系统在提高关键词的匹配上,经常答非所问;问题和大多数答案的智能管理都不是很完善;而且智能分析、统计功能薄弱,不能根据所提的问题给老师提出教学建议。
在国外有很多专门的、出色的、智能化的答疑系统。
从功能上来说,国外的答疑系统比较简洁,但是所有的功能都是围绕答疑功能而设计,重点突出。
在问题呈现方面,系统会基于问题的类型给用户提供较为简洁的答案,一般有关时间、人物、地点、概念等类型的问题,其答案的简洁性和正确性较高。
1.2课题研究的目的及意义1.2.1课题研究的目的在线问题解答系统,是一种运用计算机网络为工具来帮助教师与学生教学的方式,在这个过程中它利用多媒体技术,人工智能技术,网络技术等多种技术手段。