天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

WebSocket技術(shù)在體育賽事網(wǎng)站中的研究與應(yīng)用

發(fā)布時間:2018-08-07 20:34
【摘要】:隨著Web技術(shù)的快速發(fā)展,HTML5的出現(xiàn)引領(lǐng)了一個全新的Web開發(fā)時代。WebSocket作為HTML5重要組成元素之一,也備受關(guān)注。它改變了Web應(yīng)用當(dāng)中客戶端與服務(wù)器之間信息交互完全由客戶端主導(dǎo),服務(wù)器被動接受的狀態(tài),允許雙方在建立穩(wěn)定的連接之后,互相主動推送消息。推送信息快速、輕量,是WebSocket最主要的特征。 體育賽事類網(wǎng)站一般憑借及時發(fā)布比賽新聞、比分等信息吸引用戶,故其對信息傳輸及時性的需求很大。原始的消息實時傳輸技術(shù)越來越無法滿足網(wǎng)站對信息傳輸及時性的要求。WebSocket技術(shù)的誕生就是用來解決這樣的問題的。但是作為一項新興技術(shù),將其應(yīng)用到具體的網(wǎng)站項目中時,會遇到多種不同的問題。 本文以體育賽事類網(wǎng)站為應(yīng)用背景,重點研究分析了WebSocket技術(shù)應(yīng)用到具體項目當(dāng)中時所需要考慮的三個問題,通過分析問題產(chǎn)生的根源,擬定了解決這些問題的策略。同時,根據(jù)某體育賽事網(wǎng)站的具體需求,本文擬定了WebSocket技術(shù)的應(yīng)用策略,設(shè)計實現(xiàn)了一個實際的WebSocket應(yīng)用系統(tǒng),即某體育賽事網(wǎng)站的站內(nèi)信系統(tǒng)。最后,本文通過分析總結(jié)整個設(shè)計開發(fā)過程,對WebSocket技術(shù)的應(yīng)用代價進行了評估。 文章的主要內(nèi)容如下:本文初段介紹了本課題的背景,即體育類賽事網(wǎng)站對信息傳輸及時性的需求;同時分析了WebSocket目前在具體應(yīng)用中所存在的三個問題,即兼容性問題,連接丟失問題和應(yīng)用代價問題。并且,文章也在開頭處介紹了開發(fā)WebSocket應(yīng)用系統(tǒng)所涉及到的主要技術(shù)。 接著,根據(jù)前文的問題分析,以解決三大問題為目標,文章設(shè)計并實現(xiàn)了WebSocket技術(shù)應(yīng)用系統(tǒng),并在文中列出了用來解決具體問題的主要代碼。之后,通過對以上應(yīng)用系統(tǒng)的測試,對WebSocket的性能、應(yīng)用代價等做出了評估。 最后,本文總結(jié)了WebSocket技術(shù)應(yīng)用的成果,并對該技術(shù)的未來發(fā)展做出了展望。 總的來說,本文主要通過將WebSocket應(yīng)用到體育賽事網(wǎng)站當(dāng)中,嘗試開發(fā)了應(yīng)用系統(tǒng),為解決該技術(shù)所存在的問題做出了努力,并且對技術(shù)的性能等進行了評估,預(yù)計對WebSocket將來的進一步應(yīng)用提供幫助。
[Abstract]:With the rapid development of Web technology, the emergence of HTML5 has led a new era of Web development. WebSocket, as one of the important components of HTML5, has also attracted much attention. It changes the information interaction between client and server in Web application which is dominated by client and passively accepted by server. It allows both sides to push messages to each other actively after establishing a stable connection. Push information fast, lightweight, is the most important feature of WebSocket. Sports events websites generally rely on the timely release of competition news, scores and other information to attract users, so it has a great demand for the timeliness of information transmission. The original real-time message transmission technology is more and more unable to meet the requirements of the website for the timeliness of information transmission. The birth of WebSocket technology is used to solve such problems. However, as an emerging technology, when applied to specific website projects, there are many different problems. This paper takes the sports events website as the application background, emphatically studies and analyzes three problems that need to be considered when the WebSocket technology is applied to the concrete project, and by analyzing the root causes of the problems, it puts forward the strategies to solve these problems. At the same time, according to the specific needs of a sports event website, this paper formulates the application strategy of WebSocket technology, and designs and implements an actual WebSocket application system, that is, the in-station trust system of a sports event website. Finally, this paper evaluates the application cost of WebSocket technology by analyzing and summarizing the whole design and development process. The main contents are as follows: at the beginning of this paper, the background of this subject is introduced, that is, the requirement of information transmission timeliness on sports events website, and the three problems existing in the application of WebSocket are analyzed, that is, compatibility problem. Connection loss problem and application cost problem. At the beginning of the article, the main technologies involved in developing WebSocket application system are introduced. Then, according to the analysis of the above problems, the paper designs and implements the application system of WebSocket technology, and lists the main codes used to solve the specific problems. After that, the performance and application cost of WebSocket are evaluated by testing the above application system. Finally, this paper summarizes the application of WebSocket technology and prospects for the future development of the technology. In general, this paper tries to develop the application system by applying WebSocket to the sports events website, makes efforts to solve the problems existing in the technology, and evaluates the performance of the technology. Further application of WebSocket is expected to be helpful.
【學(xué)位授予單位】:東華大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.09

【參考文獻】

相關(guān)期刊論文 前10條

1 吳曉東;王鵬;;Html5的通信機制及效率的研究[J];長春理工大學(xué)學(xué)報(自然科學(xué)版);2011年04期

2 文愛平;文德民;;基于IE瀏覽器的Ajax Comet架構(gòu)[J];電腦知識與技術(shù);2010年17期

3 李代立;陳榕;;WebSocket在Web實時通信領(lǐng)域的研究[J];電腦知識與技術(shù);2010年28期

4 李慧云;何震葦;李麗;陸鋼;;HTML5技術(shù)與應(yīng)用模式研究[J];電信科學(xué);2012年05期

5 何雪;;初探HTML5-下一代Web開發(fā)技術(shù)[J];計算機光盤軟件與應(yīng)用;2012年04期

6 余勇;;基于ASP.NET及Comet技術(shù)的WEB即時通信系統(tǒng)的設(shè)計與實現(xiàn)[J];電腦與電信;2010年09期

7 賈曉輝;郭麗;;HTML5標準與知識產(chǎn)權(quán)研究[J];信息技術(shù)與標準化;2012年03期

8 王江靜;;Web應(yīng)用的新技術(shù)HTML5[J];電腦知識與技術(shù);2012年31期

9 梁高永;楊正華;;Web Socket的遠程實時監(jiān)控系統(tǒng)設(shè)計[J];吉首大學(xué)學(xué)報(自然科學(xué)版);2010年06期

10 曾斌;彭長根;楊輝;曾凱;姜小麗;;基于J2EE技術(shù)的企業(yè)異步通信解決方案[J];計算機工程;2006年05期

,

本文編號:2171271

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2171271.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶9471c***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com