基于微服务+沙箱技术的自动判题系统的设计与实现  

Design and Implementation of an Automatic Question Judging System Based on Microservice+Sandbox Technology

在线阅读下载全文

作  者:刘梅 汤铭 李峥峰 LIU Mei;TANG Ming;LI Zhengfeng(Communication University of China Nanjing,Nanjing 211172,China)

机构地区:[1]南京传媒学院,江苏南京211172

出  处:《现代信息科技》2024年第19期91-95,99,共6页Modern Information Technology

基  金:江苏高校哲学社会科学研究一般项目(2022SJYB0672)。

摘  要:在在线教育需求不断增长的背景下,传统的人工评测编程题方法存在效率低下等问题,因此开发编程题自动判题系统至关重要。文章设计和实现了基于Spring Cloud的编程题自动评分系统。首先,进行了总体功能、主要系统模块及数据库设计;其次,设计并实现了用户服务、题目服务、评分服务、代码沙箱服务以及其他公共模块的多个微服务;最后,为解决高并发下系统评分速度较慢的问题,采用了RabbitMQ消息队列实现异步评分功能。该系统提供了友好的界面和操作流程,方便用户在线作答。系统在评分的准确性、高效性和稳定性方面具有一定优势,提高了评分效率,减少了人力资源消耗,有显著的实用价值和广泛的应用前景。Under the background of the continuous growth in the demand for online education,the traditional manual evaluation methods for programming questions exist low efficiency and other issues,thereby developing an automatic programming question judging system is essential.This paper designs and implements an automatic programming question grading system based on the Spring Cloud.Firstly,it designs overall functions,main system modules and database.Secondly,multiple microservices including user service,question service,grading service,code sandbox service,and other common modules are designed and implemented.Finally,to address the issue of slow system grading speed under high concurrency,RabbitMQ message queue is utilized to implement asynchronous grading function.The system provides users with a userfriendly interface and operational flow,facilitating online answering.With the advantages in grading accuracy,efficiency and stability,the system enhances grading efficiency,reduces human resource consumption,and has significant practical value and broad application prospects.

关 键 词:微服务 自动判题 沙箱 Spring Cloud RabbitMQ 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象