Font Size: a A A

The Research And Application Of WebSocket On Sports And Games Websites

Posted on:2015-03-17Degree:MasterType:Thesis
Country:ChinaCandidate:H B BaiFull Text:PDF
GTID:2268330428456351Subject:Computer technology
Abstract/Summary:PDF Full Text Request
The appearance of HTML5brings an absolutely new age of web development along with the rapid expansion of Web technology. As an important part of HTML5, WebSocket also attracts a lot of attention. It has change the case that for all web app, the exchange of information between client and server always started by client, but allow both of them push information to the other after establish a stable connection. Main features of WebSocket is fast and light.Sports and games websites always attract users by publish information like game news, scores without delay. So they have a big demand of promptness of information transmission. The original real-time message transmission technologies increasingly unable to meet this demand of promptness. WebSocket is born to solve this problem. However, as a new technology, there are a lot of different problems in application of WebSocket to real projects.Based on application background of sports and games websites, this paper researchs and analyzes three main problems in application of WebSocket to real projects. By analyzing the causes of these problems, this paper generates strategies to solve them. At the same time, based on requirements of sports and games websites, this paper generates strategies of WebSocket application, designs and implements a real WebSocket application system:a sports and games website’s Mail System. At last, this paper makes an assessment about WebSocket’s application cost through analysis and summary of the whole design and development process.The main content of this paper is as follows:The openning of this paper introduces background of this research, that is sports and games websites’demand of promptness of information transmission, analyzes three main problems of WebSocket application:compatibility, connection lost and application cost. And, this paper also introduces some major techniques to be used when implementating the WebSocket appliaction system at here.Then, according to the analysis above, aiming at solving the three problems, this paper designs and implements a WebSocket application system and give out some of main code. After that, this paper makes an assessment about WebSocket’s performance, application cost and so on.The end of this paper summarizes achievement of WebSocket application, makes outlook of its develepment in the future.In summary, this paper try to implement a WebSocket application system for sports and games website, makes efforts to solve the problems of WebSocket application, evaluates WebSocket, expecting to offer some help to application of WebSocket in the future.
Keywords/Search Tags:Web technology, HTML5, information exchange, WebSocket, sports and gameswebsites
PDF Full Text Request
Related items