摘要近年来,云计算应用被越来越推广(云计算是把很多普通的计算机整合,将计算机资源重新分配使用,充分利用计算资源)。人们充分利用连接在互联网上的各种资源来服务自己。
ACM/ICPC在大陆高校中日渐风靡,随着在线判题系统的使用,现有的很多学校的OnlineJudge判题压力也越来越大。导致难以应付大规模的同时提交。
本毕业论文利用云计算的基本原理设计了一个基于云计算的判题核,采用动态的网络计算资源分配方式,组织了应用于ACM/ICPC判题云服务,节约了服务器的开销,使大量提交的时不仅不会导致服务器的宕机,反而可以使系统服务能力更加加强。 本设计应用于ACM/ICPC的比赛中,起到了初步的效果。9528
关键词 云计算 OnlineJudge 判题 计算资源
毕业设计说明书(论文)外文摘要
Title : Judge Kernel based on cloud computing.
Abstract
In recent years ,cloud computing applications has been widely promoted(Cloud computing is to integrate many common computers, and redistribute the use of computing resources to make full use of the resources ).People are making full use of various resources which connected to the internet to serve themselves.
As the ACM/ICPC is being popular among the universities in mainland and with the use of Onlinejudge ,the pressure of Onlinejudge in many existing universities become greater and greater , which can hardly deal with the submit in huge scale at the same time.
In the paper, the author designed a judge kernel based on the basic principle of cloud computing . With the usage of dynamic allocation of the network computing resources, the author organized the judegement cloud service which has been applied to ACM/ICPC, which saved the cost of the servers. What's more, when there are large number submits at the same time ,it will not cripple the sever but strengthen the service ability of the system .This design has been applied it the ACM/ICPC match, and had make a preliminary effect.
Keywords: Cloud computing ,OnlineJudge ,judgement , Computing resources
目 次
1 引言 1
1.1 云计算定义 1
1.2 云计算的发展 2
2 应用背景和研究现状 7
2.1 云计算模型 7
2.2 目前的负载均衡发展 9
2.3 实际应用背景 11
3 设计架构 13
3.1 软件设计思路与具体应用环境分析 13
3.2 硬件架构 14
3.3 软件架构 15
3.4 Server端软件结构 16
3.5 Client端软件结构 27
4 关键技术 30
4.1 调度 30
4.2 缓存 32
4.3 加密 32
4.4 权限 32
5 运行结果及实验数据分析 33
5.1 客户端运行效果图 33
5.2 Server端运行效果图 37
5.3 运行效用分析 38
结 论 41
致 谢 43
参考文献 44
附 录 45
A.任务分发次数原始日志 45