Font Size: a A A

Web Real-Time Model Synchronization Research

Posted on:2016-05-03Degree:MasterType:Thesis
Country:ChinaCandidate:Y LinFull Text:PDF
GTID:2298330467491985Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of communication technology, there are a lot of new information has been published on the Internet all the time, some information likely gets out of date after seconds. Faced with these highly time-sensitive information, users want to be able to obtain real-time information, if there is something changed, they will be informed immediately. For example, investors want to get the stock price fluctuation situation more early more better, the users who concerns of certain news event want to get the most updated information on events and so on.To a certain extent, Existing real-time web applications satisfy some needs, however it had to adopt a compromise solution. One of the most commonly used is the polling and Comet technology. The current so-called real-time technology we use is not really real-time technology, they are just using Ajax technology to simulate real-time effects, every communication between Client and server will take an complete HTTP header information, which increases the amount of data communicating, while achieving these solutions are always complex, the purpose of HTML5WebSocket designed is to replace these out-of-date technology, enabling the client browser capability of real-time communication like C/S structure of desktop systems. Because WebSocket use TCP connection, it has the advantage on performance and size of the data transfer, compared with the Comet and Polling and technology.First, the paper introduces related technologies about the implementation of real-time data model synchronization, laying theoretical basis of implementing the synchronous real-time data model design based on NodeJS and webSocket. Secondly, introduce how to complete the design, the design mainly includes the API design, and sensitive information encryption, as well as an overview of the overall design logic. Finally, the paper achieve an real-time application-Wedding interactive wall, and validating the performance of the design on concurrent and communicating data. At last, the paper presents some imperfect points of the design and the future research.
Keywords/Search Tags:webRTC, websocket, NodeJS, Model-synchronization, Mongodb, AngularJS
PDF Full Text Request
Related items