Font Size: a A A

Software Implementation Of Smart Campus Backend Server Based On Yii2 Framework

Posted on:2020-09-03Degree:MasterType:Thesis
Country:ChinaCandidate:Y B KangFull Text:PDF
GTID:2428330626950784Subject:Integrated circuit engineering
Abstract/Summary:PDF Full Text Request
According to the needs of the school to build a smart campus,this thesis studies the smart campus backend server system and implements the server software design.The backend server plays a vital role in the construction of a smart campus system,traditional server software lacks the good service architecture and logical layering,and have the disadvantages of difficult maintenance and complex function expansion.Therefore,it is of great significance to study a smart campus backend server software.The main contributions of this thesis are as follows,the smart campus backend server software based on the Yii2 framework separates the logic control and the view model from each other,achieving the requirements of convenient maintenance,stable performance and easy function expansion;the server can provide multiple services for mobile terminal users and administrators at the same time.This thesis uses Linux,Apache,Mysql and PHP software combination as a platform,based on the Yii2 framework and representational state transfer specification to design and implement a piece of backend server software.This thesis starts with the operation mechanism of Yii2 framework,analyzes and builds the server development environment based on the framework,and uses the Model-View-Controller design pattern to implement the functions of the server to improve the stability and scalability of the software,customized authentication is designed to improve the security of the server,and ensure that each functional module is independent,logical hierarchy separation to reduce server response delay.The backend server software designed in this thesis is divided into two parts,including the mobile terminal service and the web management service,which are supported by the same database.The mobile terminal service provides various service interfaces for the smart campus mobile terminal application,and satisfies functional requirements such as end user identity authentication,account management,mobile ordering,check-in,storage sharing,campus notification,and application update;the web management service provides administrators with administrative access.The administrator can manage the service modules of the smart campus through interface interaction,and can perform addition,deletion,search and modification operations on the server record data.After testing,the mobile terminal service can respond to the end user request correctly,and has a better coping strategy for the abnormal request;the web management service interface is friendly and easy to operate,and the administrator can implement the management of each service module of the smart campus through the web interface.In addition,in the case of a concurrent number of 100,the server average processing request duration is less than 25 ms;in the case of 5000 consecutive requests to the server,the request success rate is as high as 99.96%.In summary,the smart campus backend server software designed and implemented by this thesis has important research significance and practical value.
Keywords/Search Tags:Smart campus, Server, Yii2 Framework, MVC, RESTful
PDF Full Text Request
Related items