Font Size: a A A

Design And Implementation Of Online Learning System Based On Microservice Architecture

Posted on:2020-11-26Degree:MasterType:Thesis
Country:ChinaCandidate:X L WuFull Text:PDF
GTID:2428330575459496Subject:Engineering
Abstract/Summary:PDF Full Text Request
Nowadays,the rapid development of the Internet has not only brought about a subversive change in people's lifestyle and values,but also has a significant impact in the political field,economic field and cultural field,which will become more profound with the development of science and technology.In the field of education,due to the increasing number of college students in our country,the teaching resources of schools are tight,and the number of large-class teaching classes is increasing gradually.These phenomena not only increases the difficulty of teaching teachers,but also reduces the teacher to student's attention,which leads to the students' learning efficiency drops,did not understand in class,review the difficult problems such as the class was over.Therefore,this paper designs an online learning system based on the microservice archite cture to enable college students to learn and assess courses through the online teaching platform,so as to solve the above problems.With the development of software development technology,various software development architectures are emerging.The software development architecture is of great significance for the development of the whole system.Selecting the appropriate software development architecture can not only improve the reliability,security,scalability and maintainability of the software,but also can improve the development efficiency of IT professionals,shorten the software development cycle and enhance the competitiveness of the software in the same industry.Therefore,this system adopts a relatively new software development architecture--microservice architecture.The online learning system based on the microservice architecture changes the centralized development mode of the previous monomer online learning system,and divides the system into several more fine-grained services,each service could expands independently,which makes encoding,upgrading and maintenance of the software system more convenient.This paper designs and implements an online learning system based on microservice architecture.The system includes three types of users,namely students,teachers and administrators.The system includes video learning,online examination,course scoring,course collection,course reviewing,course recommend-dation,personal information management,user management and other functions.This paper adopts the design method of micro-service architecture and divides the system into four micro-services including user service,course service,comment service and examination service according to the business logic.The system mainly adopts the Spring Cloud framework,and uses the registration and component services of Spring Cloud Eureka to register and discover micro services,making it easy for micro services to be discovered and deployed.RestTemplate service communication mechanism is used for inter-service communication invocation,and HTTP+JSON lightweight transmission mechanism is adopted between micro services to make inter-service invocation faster.Spring Boot+Freemarker is used for API gateway design and JWT authentication mechanism is used to ensure system security and improve service invocation speed.Page rendering by Freemarker is convenient for data integration and transmission to the client.Spring Cloud Ribbon client load balancing component was used for the load balancing design,and the principle of successful example priority was adopted to improve the reliability of the system.In the process of system design and implementation,first of all,this paper analysed the main functions of the system,and then designed the overall architecture of the ssystem,the database structure and detailed function flow diagram,sequence diagram.Finally,designed and implemented the system's various micro service components and specific services,and demostrated the system's main functional interface and related source code.The online learning system based on the micro-service architecture can integrate many excellent teaching resources and cover multiple disciplines,which can meet the personalized learning needs of college students.
Keywords/Search Tags:Online learning system, Microservice architecture, Spring Cloud framework, API Gateway
PDF Full Text Request
Related items