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

基于HTTP長連接的WEB實時通信技術(shù)的研究

發(fā)布時間:2018-05-13 11:34

  本文選題:WEB實時應(yīng)用 + HTTP長連接 ; 參考:《電子科技大學(xué)》2014年碩士論文


【摘要】:現(xiàn)階段,WEB應(yīng)用的形式越來越豐富,各種WEB應(yīng)用層出不窮,實時WEB的應(yīng)用也逐漸變得廣泛,實時天氣、股票行情、實時系統(tǒng)監(jiān)控等,這些WEB實時應(yīng)用的流行推動著實時通信技術(shù)的發(fā)展。從傳統(tǒng)的輪詢方式到Flash XMLSocekt,再到AJXA流行后的基于AJAX的長輪詢方式,每種技術(shù)都在前者的基礎(chǔ)上取得了進步,但是都或多或少存在一定不足。目前,最新的WEB實時通信技術(shù)是HTML5標準中的WebSocket,現(xiàn)階段還處于草案時期,但是大多數(shù)廠商在各自的產(chǎn)品中已經(jīng)開始支持它了。然而現(xiàn)在大多數(shù)實時通信解決方案都是對已有技術(shù)的簡單運用,很難全面地解決現(xiàn)實環(huán)境中實時通信所遭遇的一些棘手問題。本論文的目的就是針對目前WEB實時應(yīng)用中的不足,通過最新的WebSocket技術(shù),結(jié)合現(xiàn)有的一些理論技術(shù)提出一種WEB實時通信的解決方案,旨在解決WEB實時通信中低網(wǎng)絡(luò)吞吐率、低資源利用率、高延時等問題,并針對云計算環(huán)境下產(chǎn)生的高并發(fā)實時應(yīng)用進行優(yōu)化與改進。具體的研究過程為:首先提出了基于HTTP長連接的WEB實時通信模型,在模型中,通過WebSocket實現(xiàn)客戶端與瀏覽器的持久連接,并且結(jié)合Comet解決瀏覽器兼容問題;其次分別對模型的客戶端和服務(wù)器端進行相應(yīng)設(shè)計,包括客戶端瀏覽器支持的設(shè)計,服務(wù)器長連接管理的設(shè)計,連接復(fù)用與連接負載均衡的設(shè)計等;然后綜合運用現(xiàn)有的理論基礎(chǔ)和技術(shù)對模型進行初步的設(shè)計與實現(xiàn);接著運用該模型實現(xiàn)一個支持高并發(fā)的實時網(wǎng)頁聊天系統(tǒng),以及實現(xiàn)云平臺中系統(tǒng)狀態(tài)監(jiān)測的WEB端實時通信功能;最后對模型進行理論測試并進行分析,以及對實現(xiàn)的應(yīng)用系統(tǒng)進行相應(yīng)測試得出實驗結(jié)果。本文提出的基于HTTP長連接的WEB實時通信模型,能夠改善實時通信中常見的低網(wǎng)絡(luò)吞吐率、高延時等問題,特別針對大規(guī)模實時通信提出了連接復(fù)用和負載均衡的處理,能夠適應(yīng)目前大規(guī)模實時通信系統(tǒng)的要求。通過驗證,該實時通信技術(shù)方案可以滿足高并發(fā)實時通信要求,能有效減少服務(wù)器資源的利用,提高用戶體驗。
[Abstract]:At the present stage, the forms of Web applications are becoming more and more abundant, various WEB applications emerge in endlessly, and the applications of real-time WEB are becoming more and more extensive, such as real-time weather, stock market, real-time system monitoring, etc. The popularity of these WEB real-time applications promotes the development of real-time communication technology. From the traditional polling method to Flash XML ocekt and to the long polling method based on AJAX after AJXA, each technology has made progress on the basis of the former, but more or less there are some shortcomings. At present, the latest WEB real-time communication technology is Web socket in the HTML5 standard, which is still in the draft stage, but most manufacturers have already begun to support it in their respective products. However, most real-time communication solutions are simple applications of existing technologies, and it is difficult to solve some thorny problems encountered by real-time communication in real environment. The purpose of this paper is to aim at the deficiency of the current WEB real-time application, through the latest WebSocket technology, combining with some existing theories and technologies, a solution of WEB real-time communication is put forward, which aims at solving the low network throughput of WEB real-time communication. Low resource utilization, high latency and other problems, and high concurrent real-time applications generated in cloud computing environment are optimized and improved. The specific research process is as follows: firstly, the WEB real-time communication model based on HTTP long connection is proposed. In the model, the persistent connection between client and browser is realized through WebSocket, and the problem of browser compatibility is solved with Comet. Secondly, the corresponding design of the client side and the server side of the model are carried out, including the design of the client browser support, the design of the server long connection management, the design of connection reuse and connection load balancing, etc. Then we use the existing theory and technology to design and implement the model, and then use the model to implement a real-time web chat system with high concurrency. Finally, the model is tested and analyzed in theory, and the corresponding test results of the application system are obtained. In this paper, the WEB real-time communication model based on HTTP long connection can improve the low network throughput, high delay and other common problems in real-time communication, especially for large-scale real-time communication connection multiplexing and load balancing processing. It can adapt to the requirement of large-scale real-time communication system. It is proved that the real-time communication scheme can meet the requirements of high concurrent real-time communication, reduce the utilization of server resources and improve the user experience.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP393.09

【參考文獻】

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

1 黃錦昌,李仲麟;支持HTTP多路復(fù)用的代理服務(wù)器的設(shè)計與實現(xiàn)[J];計算機應(yīng)用;2003年S1期

2 羅大暉;陳娟;;基于HTML5的Web離線應(yīng)用研究與實現(xiàn)[J];計算機應(yīng)用與軟件;2012年12期

相關(guān)碩士學(xué)位論文 前1條

1 張帥;大規(guī)模即時通知系統(tǒng)研究與實現(xiàn)[D];吉林大學(xué);2012年

,

本文編號:1882976

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

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


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

版權(quán)申明:資料由用戶51855***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com
一本色道久久综合狠狠躁| 中文字幕一二区在线观看| 欧美熟妇一区二区在线| 欧美激情床戏一区二区三| 久久精品国产一区久久久| 国产精品免费自拍视频| 国产亚洲精品久久99| 午夜福利精品视频视频| 精品视频一区二区不卡| 国产精品亚洲欧美一区麻豆| 国产传媒中文字幕东京热| 日韩欧美一区二区亚洲| 日韩精品你懂的在线观看| 久久99亚洲小姐精品综合| 麻豆精品视频一二三区| 激情内射日本一区二区三区| 青青操成人免费在线视频| 亚洲一区二区三区在线免费| 女同伦理国产精品久久久| 午夜久久精品福利视频| 国产精品二区三区免费播放心| 日本亚洲精品在线观看| 91国内视频一区二区三区| 日韩在线一区中文字幕| 在线免费不卡亚洲国产| 好吊一区二区三区在线看| 亚洲欧美中文字幕精品| 精品人妻一区二区四区| 在线免费观看一二区视频| 中文字幕不卡欧美在线| 亚洲视频在线观看你懂的| 亚洲欧美日韩熟女第一页| 高跟丝袜av在线一区二区三区 | 亚洲中文字幕在线乱码av| 欧美区一区二区在线观看| 很黄很污在线免费观看| 色哟哟哟在线观看视频| 色婷婷国产精品视频一区二区保健 | 欧美日韩欧美国产另类| 精品女同一区二区三区| 久久福利视频这里有精品|