节点文献

基于微服务与推荐算法的云课堂平台设计和实现

Design and Implementation of Cloud Classroom Platform Based on Microservice and Recommendation Algorithm

【作者】 杨磊

【导师】 王高丽;

【作者基本信息】 华东师范大学 , 工程硕士(专业学位), 2022, 硕士

【摘要】 21世纪以来,互联网的迅猛发展推动了各行各业的进步。在教育行业,传统的线下教育已经很难满足人们的需要。城乡教育资源的不平衡不充分发展,导致城乡教育差距越拉越大。虽然市面上也有许多在线学习平台,但是质量参差不齐,比如学习资源繁杂,让用户无所适从;学习方式单一化,有的平台仅仅只能点播视频无法为用户量身打造、推荐出用户感兴趣的课程,用户体验性较差;平台所使用的技术架构为传统的单体架构,在复杂的用户场景下,扩展性较差,服务也会经常因为访问人数多而崩溃。为了解决以上问题,云课堂平台在设计之初就对在线学习平台的国内外现状进行了深入了解和分析,随后从学习用户和管理员两个维度分别对其需求进行调研和分析,设计出一款基于微服务和推荐算法的学习平台。在实现平台的过程中,本文采用的是前后端分离的方式进行设计,平台的UI部分采用的是Element UI和基于MVVM模式的Vue.js框架,服务端基于Spring Cloud微服务架构,利用其一站式的组件来实现微服务的注册和发现、服务之间的远程调用和负载均衡,从而提高平台的扩展性和可维护性,在此基础上,平台还引入了离线和实时推荐算法为用户推荐出其感兴趣的课程。最后,本文按照标准的软件开发流程来完成云课堂平台的设计与实现。本文的主要研究方法和创新点在于:1.利用UML建模语言分析出各个功能模块的用例图和时序图。然后利用Spring Cloud微服务的各大组件将各个功能模块拆分成细粒度微服务,实现模块与模块之间的高内聚、低耦合。2.在完成核心功能的基础上引入了离线推荐算法和实时推荐算法为用户提供个性化的推荐服务。3.对实现的云课堂平台进行了严格的功能测试、安全测试和性能测试,保障了系统的运行的流畅稳定、安全可靠的运行要求。

【Abstract】 Since the 21 st century,the rapid development of the Internet has promoted the progress of all walks of life.In the education industry,traditional offline education has been difficult to meet people’s needs.The unbalanced and insufficient development of urban and rural education resources has led to the widening gap between urban and rural education.Although there are many online learning platforms on the market,the quality is uneven,such as the complexity of learning resources,leaving users at a loss;The learning method is unitary.Some platforms can only play video on demand,but can’t tailor and recommend courses that users are interested in,so the user experience is poor;The technical architecture used by the platform is a traditional single architecture.In complex user scenarios,the scalability is poor,and the service often crashes due to a large number of visitors.In order to solve the above problems,the cloud classroom platform had a deep understanding and analysis of the current situation of the online learning platform at home and abroad at the beginning of its design,and then investigated and analyzed its needs from the two dimensions of learning users and administrators,and designed a learning platform based on microservices and recommendation algorithms.In the process of implementing the platform,this paper adopts the method of separating the front end from the back end.The UI part of the platform adopts Element UI and Vue based on MVVM mode Js framework.The server side is based on the Spring Cloud microservice architecture,and uses its one-stop components to realize the registration and discovery of microservices,remote calls between services,and load balancing,so as to improve the scalability and maintainability of the platform.On this basis,the platform also introduces offline and real-time recommendation algorithms to recommend courses of interest to users.Finally,this paper completes the design and implementation of the cloud classroom platform according to the standard software development process.The main research methods and innovations of this paper are:1.Use UML modeling language to analyze the use case diagram and sequence diagram of each functional module.Then,use the major components of Spring Cloud microservices to split each functional module into fine-grained microservices to achieve high cohesion and low coupling between modules.2.On the basis of completing the core functions,offline recommendation algorithm and real-time recommendation algorithm are introduced to provide personalized recommendation services for users.3.The cloud classroom platform has been strictly tested for function,security and performance,ensuring smooth,stable,safe and reliable operation of the system.

  • 【分类号】G434;TP391.3;TP311.52
节点文献中: