新型互聯(lián)網(wǎng)服務(wù)標(biāo)識解析映射系統(tǒng)緩存機(jī)制研究
發(fā)布時(shí)間:2018-05-04 15:49
本文選題:新型互聯(lián)網(wǎng) + 服務(wù)標(biāo)識 ; 參考:《北京交通大學(xué)》2017年碩士論文
【摘要】:隨著互聯(lián)網(wǎng)的不斷發(fā)展,當(dāng)今社會(huì)的各行各業(yè)對互聯(lián)網(wǎng)的需求也是不斷增加。為了減小用戶的海量請求對網(wǎng)絡(luò)設(shè)備造成的巨大壓力,往往需要將用戶的請求停止在服務(wù)器之前,即需要將服務(wù)器提供的部分服務(wù)做一份拷貝放置在離用戶更近的位置來代替服務(wù)器工作,這就是緩存提供的功能。因此,高效的緩存技術(shù)便成了當(dāng)下的研究熱點(diǎn),任何一個(gè)互聯(lián)網(wǎng)系統(tǒng)在投入實(shí)際使用之前都需要有一套完善的緩存機(jī)制。在現(xiàn)有的新型互聯(lián)網(wǎng)服務(wù)標(biāo)識解析映射系統(tǒng)中,已經(jīng)設(shè)計(jì)并實(shí)現(xiàn)了服務(wù)標(biāo)識到接入標(biāo)識的映射。但面對未來使用中對系統(tǒng)高可靠、低時(shí)延的需求,本文在其基礎(chǔ)上,為其設(shè)計(jì)了一套完整的緩存方案。該緩存存在于映射系統(tǒng)的邊緣,用于暫存通信對端的服務(wù)標(biāo)識與接入標(biāo)識的映射關(guān)系,以減少用戶的查詢時(shí)延,提高用戶體驗(yàn)。本文設(shè)計(jì)的緩存系統(tǒng)主要著眼于以下幾點(diǎn)。首先優(yōu)化內(nèi)存分配與劃分。在涉及內(nèi)存資源利用的項(xiàng)目中,往往不能在需要使用時(shí)直接進(jìn)行手動(dòng)分配,由于這樣操作的內(nèi)存不連續(xù)而導(dǎo)致大量的內(nèi)存塊無法得到利用,有限資源的利用率隨即下降。在本文中需要設(shè)計(jì)一種高效的內(nèi)存管理方案來減少內(nèi)存冗余,使有限的資源得到最大化的利用;接著添加緩存替換算法。設(shè)備的內(nèi)存往往都是有限的,設(shè)計(jì)緩存系統(tǒng)需要為其選擇合適的替換算法來應(yīng)對內(nèi)存資源有限的問題;之后添加緩存一致性策略。為了滿足新型互聯(lián)網(wǎng)服務(wù)標(biāo)識對緩存一致性的要求,選擇合適的一致性策略來保證用戶訪問的數(shù)據(jù)的有效性;然后設(shè)計(jì)數(shù)據(jù)包格式和交互流程。為了使緩存系統(tǒng)完美地融入原有新型互聯(lián)網(wǎng)服務(wù)標(biāo)識解析映射系統(tǒng)中,需要設(shè)計(jì)所有緩存數(shù)據(jù)包的格式以及與原有網(wǎng)絡(luò)實(shí)體之間的交互流程;最后編碼實(shí)現(xiàn)所有的設(shè)計(jì)方案并應(yīng)用于新型互聯(lián)網(wǎng)服務(wù)標(biāo)識解析映射系統(tǒng)。
[Abstract]:With the continuous development of the Internet, the demand for the Internet in various industries is also increasing. In order to reduce the huge pressure on network devices caused by users' massive requests, it is often necessary to stop the user's requests before the server. That is to say, it is necessary to make a copy of some of the services provided by the server to replace the server in a place closer to the user, which is the function provided by the cache. Therefore, efficient caching technology has become the current research hotspot. Any Internet system needs a set of perfect caching mechanism before it is put into practical use. The mapping from service identification to access identification has been designed and implemented in the existing new mapping system of Internet service identification. However, facing the need of high reliability and low delay in the future, this paper designs a complete cache scheme for the system. The cache exists on the edge of the mapping system and is used to temporarily store the mapping relationship between the service identity and the access identity of the communication peer, so as to reduce the query delay of the user and improve the user experience. The cache system designed in this paper mainly focuses on the following points. First, optimize memory allocation and partition. In the projects involving the utilization of memory resources, it is often impossible to allocate them manually when they need to be used. As a result of the discontinuity of memory in this way, a large number of memory blocks cannot be utilized, and the utilization rate of limited resources will then decline. In this paper, we need to design an efficient memory management scheme to reduce memory redundancy and maximize the utilization of limited resources, and then add cache replacement algorithm. The memory of the device is often limited, so it is necessary to select the appropriate replacement algorithm to deal with the problem of limited memory resources, and then add the cache consistency policy. In order to meet the requirement of cache consistency in new Internet service identification, we choose a suitable consistency policy to ensure the validity of the data accessed by users, and then design the data packet format and interaction flow. In order to integrate the cache system into the original new Internet service identity parsing and mapping system, it is necessary to design the format of all cached packets and the interaction process with the original network entities. Finally, all the design schemes are implemented by coding and applied to the new Internet service identity analysis and mapping system.
【學(xué)位授予單位】:北京交通大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP393.09
【相似文獻(xiàn)】
相關(guān)期刊論文 前4條
1 王興元;駱超;;一個(gè)非解析復(fù)映射的廣義Mandelbrot集[J];大連理工大學(xué)學(xué)報(bào);2009年01期
2 林福宏;陳常嘉;楊冬;張宏科;;一體化網(wǎng)絡(luò)的名字解析映射系統(tǒng)[J];北京交通大學(xué)學(xué)報(bào);2009年05期
3 林福宏;陳常嘉;;下一代互聯(lián)網(wǎng)中名系統(tǒng)的研究[J];中興通訊技術(shù);2010年05期
4 ;[J];;年期
相關(guān)碩士學(xué)位論文 前3條
1 朱柯;新型互聯(lián)網(wǎng)服務(wù)標(biāo)識解析映射系統(tǒng)緩存機(jī)制研究[D];北京交通大學(xué);2017年
2 李志臻;新型互聯(lián)網(wǎng)服務(wù)標(biāo)識解析映射系統(tǒng)的研究與實(shí)現(xiàn)[D];北京交通大學(xué);2016年
3 馬驍;解析映射的Fock表示及其在量子隨機(jī)分析中的應(yīng)用[D];西北師范大學(xué);2006年
,本文編號:1843600
本文鏈接:http://sikaile.net/guanlilunwen/ydhl/1843600.html
最近更新
教材專著