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

當(dāng)前位置:主頁(yè) > 科技論文 > 軟件論文 >

基于AOP攔截技術(shù)的精準(zhǔn)信息推送服務(wù)研究

發(fā)布時(shí)間:2018-02-14 16:59

  本文關(guān)鍵詞: SSH2 AOP DWR 線程池 出處:《哈爾濱工程大學(xué)》2016年碩士論文 論文類型:學(xué)位論文


【摘要】:Web技術(shù)日益成熟,基于Web的應(yīng)用軟件被應(yīng)用到各個(gè)領(lǐng)域,尤其是Ajax技術(shù)的出現(xiàn),使得Web應(yīng)用變得更高效、更便捷、交互性更強(qiáng)。在大多數(shù)基于B/S模式的Web應(yīng)用中,由服務(wù)器端主動(dòng)向客戶端推送信息的技術(shù)被廣泛的應(yīng)用。但是現(xiàn)有的推送技術(shù),耦合度高,并在執(zhí)行過(guò)程中影響系統(tǒng)穩(wěn)定性,基于以上問(wèn)題,本課題研究的精準(zhǔn)信息推送服務(wù)方案應(yīng)運(yùn)而生。本方案是基于SSH2框架,針對(duì)現(xiàn)有推送技術(shù)存在的問(wèn)題進(jìn)行分析與研究,設(shè)計(jì)了一套可實(shí)施的、低耦合并且高性能的服務(wù)器精準(zhǔn)信息推送方案。在此方案中,首先,使用Spring AOP技術(shù),運(yùn)用面向切面的思想,將服務(wù)器的推送服務(wù)定義成切面,用戶的所有更新操作定義成切入點(diǎn),并為所有切入點(diǎn)聲明一個(gè)返回后通知,使得在切面和切入點(diǎn)的實(shí)現(xiàn)空間相互獨(dú)立的情況下,Spring AOP對(duì)每一個(gè)切入點(diǎn)執(zhí)行進(jìn)行攔截,并在切入點(diǎn)成功執(zhí)行后,直接將切面織入,從而降低推送服務(wù)與用戶的更新操作的耦合度,提高代碼的可讀性,便于推送服務(wù)的后期維護(hù);其次,使用DWR框架,運(yùn)用反向Ajax技術(shù),精準(zhǔn)記錄需要推送的用戶信息,并通過(guò)遠(yuǎn)程調(diào)用回調(diào)函數(shù)的方式將推送信息返回到已經(jīng)記錄的推送用戶界面,最終實(shí)現(xiàn)精準(zhǔn)信息推送;最后,使用線程池技術(shù),根據(jù)推送任務(wù)數(shù)量以及當(dāng)前系統(tǒng)運(yùn)行狀態(tài),動(dòng)態(tài)地批量創(chuàng)建或是銷毀可循環(huán)執(zhí)行推送任務(wù)的線程,線程池還提供了“緩存”機(jī)制和“拋棄”策略,“緩存”機(jī)制使沒(méi)有獲得工作線程的任務(wù)進(jìn)行排隊(duì)等待,“拋棄”策略通過(guò)降低提交任務(wù)的方式,為沒(méi)有分配到系統(tǒng)資源的推送任務(wù)提供重新提交的機(jī)會(huì),從而提高推送服務(wù)的執(zhí)行性能以及保證系統(tǒng)的穩(wěn)定性。在本方案的實(shí)施過(guò)程中,可根據(jù)項(xiàng)目的具體需求,選擇適合的反向Ajax技術(shù),制定合理的線程池管理策略,從而使本方案能適用于不同執(zhí)行環(huán)境的系統(tǒng)中,并且使其執(zhí)行性能和效率達(dá)到最佳狀態(tài)。
[Abstract]:Web technology is maturing day by day, the application software based on Web is applied to various fields, especially the appearance of Ajax technology, make Web application become more efficient, more convenient, more interactive. In most Web applications based on B / S mode, The technology of actively pushing information from the server to the client is widely used. However, the existing push technology has a high coupling degree and affects the stability of the system in the process of execution. The precision information push service scheme of this research arises at the historic moment. This scheme is based on the SSH2 framework, analyzes and studies the problems existing in the existing push technology, and designs a set of implementable, In this scheme, Spring AOP technology is used to define the push service of the server as a cutting plane, which is based on the idea of section-oriented. All update operations by the user are defined as pointcuts and a post-return notification is declared for all pointcuts, enabling Spring AOP to intercept each pointcut execution when the implementation space of the pointcut and the pointcut is independent of each other. And after the successful implementation of the entry point, directly weaving the cut into the interface, thus reducing the coupling between push service and user update operation, improving the readability of the code, facilitating the later maintenance of push service. Secondly, using DWR framework, By using reverse Ajax technology, the user information needed to be pushed is accurately recorded, and the push information is returned to the recorded user interface by calling the callback function remotely. Finally, the accurate information is pushed. Using thread pool technology, dynamically bulk creates or destroys threads that can be cyclically executed, depending on the number of push tasks and the state of the current system. The thread pool also provides a "cache" mechanism and a "drop" policy, which queues tasks that do not have a worker thread. Provide an opportunity to resubmit push tasks that are not allocated to system resources, thereby improving the performance of push services and ensuring the stability of the system. In the implementation of this programme, the specific needs of the project can be taken into account, The appropriate reverse Ajax technology is selected and a reasonable thread pool management strategy is worked out so that the scheme can be applied to systems with different execution environments and its execution performance and efficiency can reach the best state.
【學(xué)位授予單位】:哈爾濱工程大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2016
【分類號(hào)】:TP393.09;TP391.3

【相似文獻(xiàn)】

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

1 白雪松;徐汝興;鄭巧英;;數(shù)字圖書館的個(gè)性化推送服務(wù)[J];圖書館雜志;2005年09期

2 高孝梅;;基于聚類分析的圖書館個(gè)性化推送服務(wù)的實(shí)現(xiàn)[J];中小學(xué)圖書情報(bào)世界;2009年02期

3 許雯倩;李娟;;論信息化背景下高校檔案推送服務(wù)[J];蘭臺(tái)世界;2013年08期

4 ;生命科學(xué)圖書館竭誠(chéng)提供“文獻(xiàn)推送服務(wù)”[J];生命科學(xué);2003年05期

5 黃紅梅;朱慧;;推送服務(wù)理念下圖書館網(wǎng)絡(luò)服務(wù)平臺(tái)優(yōu)化研究[J];高校圖書館工作;2010年06期

6 左雪梅,馬功蘭;論網(wǎng)絡(luò)環(huán)境下圖書館的個(gè)性化服務(wù)[J];大學(xué)圖書情報(bào)學(xué)刊;2005年01期

7 欒冠楠;孫金立;梁蜀忠;陳冬梅;;通過(guò)手機(jī)推送給醫(yī)務(wù)工作者的信息服務(wù)[J];現(xiàn)代生物醫(yī)學(xué)進(jìn)展;2010年15期

8 聞年喜,游大鳴,王素清,孫永盛;利用數(shù)字化 開展個(gè)性化 縮微影像資源 推送服務(wù)[J];數(shù)字與縮微影像;2005年01期

9 黃微;高俊峰;王晨;齊s,

本文編號(hào):1511171


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

本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/1511171.html


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

版權(quán)申明:資料由用戶4bbf6***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com
欧美精品亚洲精品一区| 亚洲欧美日韩综合在线成成| 国产日本欧美韩国在线| 欧美一级黄片欧美精品| 国产免费一区二区三区av大片| 欧美六区视频在线观看| 激情爱爱一区二区三区| 又黄又硬又爽又色的视频 | 最好看的人妻中文字幕| 少妇高潮呻吟浪语91| 国产欧美精品对白性色| 丝袜人妻夜夜爽一区二区三区| 中文字幕中文字幕在线十八区| 欧美日韩国产欧美日韩| 国产精品偷拍一区二区| 中文字幕有码视频熟女| 亚洲国产av一二三区| 高清一区二区三区大伊香蕉| 日韩性生活片免费观看| 不卡视频免费一区二区三区| 91欧美亚洲精品在线观看| 欧美一区二区三区五月婷婷| 国产又大又黄又粗的黄色| 欧美二区视频在线观看| 日韩精品在线观看完整版| 亚洲最新的黄色录像在线| 日韩毛片视频免费观看| 日韩欧美国产精品中文字幕| 在线精品首页中文字幕亚洲| 97人妻精品一区二区三区免| 国产一级片内射视频免费播放| 日本加勒比在线观看不卡| 日韩精品福利在线观看| 免费在线播放一区二区| 美女被啪的视频在线观看| 一区二区在线激情视频| 国产肥妇一区二区熟女精品| 亚洲乱妇熟女爽的高潮片| 日本东京热加勒比一区二区| 国产精品视频久久一区| 成人午夜视频精品一区|