Font Size: a A A

Research And Design Of Real-Time Communication System Based On WebSocket In English Testing System

Posted on:2018-12-01Degree:MasterType:Thesis
Country:ChinaCandidate:X WangFull Text:PDF
GTID:2348330515996088Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development and maturity of Web development technology,online examination has been more and more widely used.But the current existing network online exam system,have been pay more attention on the examination system itself to achieve the realization of the function,ignoring the exam invigilation end and test end machines in the process of information communication link.In the general-purpose English test system,it is necessary to monitor the examination room through real-time communication technology to ensure the fairness and credibility of the online examination.Therefore,it is the main purpose of this paper to design and implement a solution for test communication in general-purpose English test system through Web real-time communication technology.Before the WebSocket protocol proposed in the new HTML5 standard,Web real-time application solutions were divided into two categories,one is the browser plug-in technology;the second is based on HTTP long connection technology,which is based on Ajax long polling technology and based on Iframe streaming technology.In the current real-time communication solutions,Ajax long-polling technology is most widely used.However,these solutions in the practical application have shortage,such as waste of resources,to achieve complex,real-time is not high and so on.In these paper,by researching and analyzing the current popular Web real-time communication solutions,deeply studies and analyzes the WebSocket protocol in the new HTML5 standard,This program to a certain extent,can avoid the current real-time application of technical solutions to the shortcomings.On this basis,the author combines with the actual needs of the universal English testing system,and implements a real-time communication system based on WebSocket protocol in the general English test system.First of all,according to the actual needs of the system,this paper designs the general structure of communication subsystem in general English test system and completes the design of WebSocket server in communication system.Secondly,the realization of the connection processing module,the communication information reading module,the data transmission module,the examination service processing module.the session control management and so on.Finally,according to the actual needs of the examination,the examination process,the examination,the examination,the examination and other functions are realized.In order to ensure the normal use of each function module of the system,the system is tested in this paper.At the same time,in order to evaluate the actual performance of the communication scheme designed in this paper,the WebSocket protocol and Ajax long polling are used to realize the same application of a business function,and the average response time and data of network bandwidth are recorded.The comparison of experimental results shows the superiority of WebSocket communication scheme.
Keywords/Search Tags:Online test, Test communication, Real-time web application technology, WebSocket protocol
PDF Full Text Request
Related items