| The Smart Campus is an information service platform that uses frontier technologies such as the Internet of Things,virtualization and cloud computing to change the interactive way of teachers,students and campus resources.It uses the application service software as a carrier,be integrated with the school’s teaching resources,now has become a hot spot in campus information construction.The virtual experiment platform is one of the application results of the smart campus.It is a simulation teaching system constructed by means of the Internet.The use of virtual teaching in schools not only improves students’ enthusiasm for learning but also provides new teaching modes.This paper first analyzes the virtual experiment management system of a certain university in China,summarizes the function of the network virtual experiment platform,and analyzes its current problems.Through research,it is found that in the experimental guidance module,the virtual experimental platform provides on-line experimental instructions,and students can read it when they encounter problems in the process of doing virtual experiments.However,this function is characterized by low efficiency of reference and students’ questions cannot be resolved immediately.Moreover,the experimental report of the platform is set to allow students to fill in the blanks.The advantage of this platform is that the system can automatically identify the answers and improve the review efficiency.The disadvantage is that the experimental report has a single function and cannot accurately determine students’ mastery of experiments.In order to solve the above problems,this paper mainly focuses on the design and implementation of the virtual experimental platform to conduct requirements analysis,overall design and program development.In the demand analysis phase,this paper has drawn four detailed functional models of virtual experiment platform virtual experiment,user management,network chat room and virtual experiment management,and three user role models of students,teachers and administrators.In the overall design stage,first of all,this paper analyzes and compares the Client/Server and Browser/Server structures.Based on scalability and maintainability,the Browser/Server structure is selected to implement the virtual experimental platform development.Then,this article selects the MySQL database and ER model diagram from the actual needs to complete the design of the system database table;In addition,this article analyzes and compares the characteristics of the two network communication protocols of Http and WebSocket,and then selects the WebSocket network communication protocol,brings the platform built-in Internet chat room stable and efficient transmission.In the stage of development and implementation,this paper uses the SSM framework and MVC design pattern to develop the platform hierarchically,which effectively guarantees the scalability of the software.For the virtual experiment operation,this article adopts Unity3D’s WebGL technology for development,ensuring that students can use the browser to operate the virtual instrument to experiment;For the problem of uploading experimental pictures,this paper uses Nginx and Ftp to build a picture server,which solves the problem of users accessing pictures in a cluster environment.For the consideration of platform security,this paper adopts Shiro security framework to implement user authentication and authorization.In summary,this paper designed and implemented a virtual experiment platform built-in network chat room for teacher-student exchange,improved the efficiency of answering doubts,replaced the online experiment instruction book,and improved the experimental guidance method.The chat room has two modes of group chat and private chat,which are convenient for groups to discuss the issue and facilitate the user to discuss the issue in private.In the function module of the experiment report,this article designs a pattern including pictures and texts,not only can fill in the text information,but also can upload the image of experimental result,so that the teacher can know the students’ mastery of the experiment more thoroughly and comprehensively.The virtual experiment platform studied in this paper not only provides students with a place for learning and practice and provides teachers with a mode of assisted teaching,but also saves the the experimental instruments and materials needed in real experimental scenarios for schools.Therefore,the virtual experiment platform studied in this paper has a very high practical significance. |