• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (增刊A1): 28-61.

• 论文 • 上一篇    下一篇

基于B/S架构的多用户在线程序评判系统设计与实现

乔少杰,杨燕,葛永明,张翠芳,戴齐   

  1. (西南交通大学信息科学与技术学院,四川 成都 610031)
  • 收稿日期:2011-05-15 修回日期:2011-07-29 出版日期:2011-10-12 发布日期:2011-10-12

The Design and Implement of Multiuser  Online Judge System Based on B/S Mode

QIAO Shaojie,YANG Yan,GE Yongming,ZHANG Cuifang,DAI Qi   

  1. (School of Information Science and Technology,Southwest Jiaotong University,Chengdu 610031,China)
  • Received:2011-05-15 Revised:2011-07-29 Online:2011-10-12 Published:2011-10-12

摘要:

针对现有在线程序评判系统存在的判题效率和安全性问题,本文在分析多用户在线评判系统的功能需求基础上,提出了一种基于B/S架构采用Struts + Spring +Hibernate(SSH)组合框架的多用户在线程序评判系统,介绍了系统的程序评判原理及采用的安全机制。该系统不但可以用于ACM程序设计等比赛,而且可以为程序设计课程教学提供很好的辅助实验平台支持。

关键词: 在线程序评判, B/S架构, 多用户, 安全机制

Abstract:

In order to solve the problems including the efficiency of judging programs and the system security problem existing in ACM online judge systems, this article introduced the functional requirements of online programming judge system and proposed a multiuser online judge system based on the architecture of Struts + Spring + Hibernate (SSH). In addition, this article presented the principle of judging programs and the applied security mechanism. The proposed system can be used for ACM programming contests and assist in the teaching of programming language courses with sound effects as well.

Key words: online judge;B/S mode;multiuser;security mechanism