在线考试系统的设计与实现--软件工程毕业论文 下载本文

本科毕业论文(设计)模板

本科毕业论文(设计)

论文题目: 在线考试系统的设计与实现

学生姓名: 罗 伟 学 号: 1205290203

专 业: 软 件 工 程 班 级: 软 件 1202 指导教师: 王 命 宇

完成日期: 2016年 5 月 30 日

在线考试系统的设计与实现

内 容 摘 要

学生在线考试系统旨在提高考试的质量和效率,充分发挥网上考试的灵活性,不局限于考生所在地理位置,同时,在大规模考生同时线上考试的环境和压力下,以提升考试系统的高并发连接、大数据处理的性能。这也是顺应国内O2O线上线下服务的潮流,如阿里巴巴的淘宝、京东商城、1号店、蘑菇街等几大线上线下巨头,促进社会经济的快速发展。

为了适应在大规模考生同时在线参与考试的压力下,既保证后端服务器的性能和效率,又能良好地处理大量客户连接来保证高并发。系统采用C++编写在Linux环境下运行的后端服务器,使用轻量级的nginx反向代理服务器,nginx相对于Apache的好处在近几年O2O概念下应运而生并取得压倒性的优势取代用Apache作为web反向代理服务器。nginx的高性能、高并发、大数据处理方面表现极佳。采用f-cgi框架来支撑动态网站的开发,比jsp开发动态网站有更加充分的依据,比如服务器可以更高效地与客户端浏览器交互,而不需要安装JVM(java虚拟机)。

另外,对于一些html web文档,不需要开发者大量手动的编辑,而使用模板引擎在cgi程序中就可以帮我们完成,大大提高了开发效率。此外,任何项目没有绝对的好坏优劣之分,系统的大部分功能都可以在现有技术下完成。一些其他功能也可以通过日后的需求而完善。总之,系统的可扩展性也是值得肯定的。

关键词:C++ nginx f-cgi框架 模板引擎 O2O

I

Design and Implementation of Online Examination System

Abstract

Students online examination system aimed at improving the quality and efficiency of the examination, give full play to the flexibility of the online exam, the candidates are not limited to geographical location, while at the same time a large-scale environment and pressure candidates online exam to improve examination system high concurrent connections, the performance of large data processing. This is the tide domestic O2O online and offline services, such as Taobao, Jingdong Mall, Shop No. 1, Street giant mushrooms at several major online and offline Alibaba, promote the rapid development of social economy.

In order to meet the candidates at the same time under the pressure of large-scale participation in the online exam, both to ensure the performance and efficiency of the back-end servers, and can handle a large number of customers with good connections to ensure high concurrency. System written in C ++ back-end servers running the Linux environment, the use of lightweight nginx reverse proxy server, nginx Apache with respect to benefits in recent years, O2O concept came into being and made an overwhelming advantage substituted with Apache as a web reverse proxy server. nginx high-performance, high concurrency, high data processing performance is excellent. Using f-cgi framework to support the development of dynamic websites, there are more than sufficient basis jsp development of dynamic Web sites, such as server more efficiently interact with the client browser, without the need to install the JVM (java virtual machine).

In addition, for some html web documents, the developer does not need a lot of manual editing, and using a template engine cgi program can help us to complete, greatly improving the efficiency of development. In addition, any project there is no absolute good or bad points, most of the functions of the system can be done in the prior art under. Some other features can also improve future needs. In short, the system's scalability is also worthy of recognition.

Key words: CPlusPlus Nginx Framework-of-fcgi Template-Engine OTO

II