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

當前位置:主頁 > 管理論文 > 移動網絡論文 >

APICloud緩存機制的擴展研究與實現(xiàn)

發(fā)布時間:2018-12-19 08:46
【摘要】:隨著移動互聯(lián)網的發(fā)展,混合式開發(fā)作為一種快速開發(fā)方式已經成為一種趨勢,這種方式既可以體現(xiàn)Web應用同時適用iOS和Android平臺的特點,又能解決Web應用不能調用操作系統(tǒng)底層資源的問題。當今移動社交應用發(fā)展迅速,使用率、安裝率遠高于其他類應用。然而社交應用中普遍存在大量的圖片、視頻等文件資源,這些文件資源從服務器多次存取存在消耗客戶端流量、增加訪問延遲的問題。針對社交應用,用戶的社交關系對緩存使用頻率有一定影響,因此本文提出一個基于社交關系的緩存替換算法,對其緩存效率進行分析。同時結合該算法提出一個適用于混合式移動社交應用的圖片緩存管理機制,社交應用使用該緩存機制,可以更有針對性地進行緩存,提高移動應用的緩存效率和緩存命中率,減少數(shù)據(jù)流量和網絡資源的浪費。APICloud作為一個國內領先的混合式移動開發(fā)平臺,現(xiàn)如今并沒有提供緩存管理的模塊,因此本文結合社交應用緩存機制在APICloud平臺下設計并實現(xiàn)一個圖片管理的緩存模塊,供開發(fā)者在混合模式下使用。本文的主要工作包括:1.提出了一種基于社交關系的圖片緩存替換算法,該算法結合社交應用中用戶之間的社交關系親密度、圖片訪問頻率、圖片占用空間大小進行緩存替換。2.設計并開發(fā)一個符合APICloud模塊開發(fā)規(guī)范的緩存模塊,將基于社交關系的緩存替換算法應用到該模塊中,使模塊可以通過JavaScript調用,支持iOS和Android系統(tǒng)。3.基于APICloud平臺開發(fā)一個移動社交應用,該應用中存在大量圖片,應用包括關注、收藏、點贊、評論、私信等社交功能,在該應用中運用社交緩存模塊,實現(xiàn)對應用中圖片緩存的管理。4.通過實驗模擬該算法緩存替換流程,計算并分析算法的緩存效率,實驗表明,本文提出的緩存替換算法可以提高緩存命中率。
[Abstract]:With the development of mobile Internet, hybrid development, as a rapid development method, has become a trend, which can not only reflect the characteristics of iOS and Android platform, but also reflect the characteristics of Web application. It can also solve the problem that Web application can not call the underlying resources of operating system. Today's mobile social apps are growing rapidly, using and installing much more than other apps. However, there are a lot of file resources such as pictures, videos and so on in social applications. The problem of consuming client traffic and increasing access delay occurs when these file resources are accessed from the server many times. For social applications, the social relationship of users has a certain impact on the frequency of cache usage, so this paper proposes a cache replacement algorithm based on social relations and analyzes its cache efficiency. At the same time, an image cache management mechanism for hybrid mobile social application is proposed, which can improve the cache efficiency and cache hit rate of mobile application. Reduce data traffic and waste of network resources. APICloud, a leading hybrid mobile development platform in China, does not now offer a cache management module. Therefore, this paper designs and implements a picture management cache module based on APICloud platform, which can be used by developers in mixed mode. The main work of this paper includes: 1. A new image cache replacement algorithm based on social relationship is proposed. The algorithm combines the social relationship affinity between users, the frequency of picture access, and the size of picture space. 2. This paper designs and develops a cache module that conforms to the APICloud module development specification, and applies the cache replacement algorithm based on social relations to the module. The module can be called by JavaScript and can support iOS and Android system. Based on APICloud platform, a mobile social application is developed. There are a lot of pictures in the application. The application includes social functions such as attention, collection, likes, comments, private letter and so on. Implementation of the application of the image cache management. 4. The cache replacement flow is simulated experimentally and the cache efficiency is calculated and analyzed. The experiment shows that the cache replacement algorithm proposed in this paper can improve the cache hit rate.
【學位授予單位】:北方工業(yè)大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:TP393.09

【參考文獻】

相關期刊論文 前10條

1 ;CNNIC發(fā)布第39次《中國互聯(lián)網絡發(fā)展狀況統(tǒng)計報告》[J];中國信息安全;2017年02期

2 陳思;徐晨飛;;基于APICloud的“校園健身達人”APP設計與實現(xiàn)[J];電腦知識與技術;2016年22期

3 周欣欣;盧U,

本文編號:2386687


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

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


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

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