Font Size: a A A

Research And Implementation Of The Extension Of APICloud Cache Mechanism

Posted on:2018-08-09Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhongFull Text:PDF
GTID:2348330515473908Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the development of the mobile Internet,the hybrid development as a means of rapid development has become a trend.This approach can not only present the feature of Web applications for iOS and Android platform,but also solve problem of Web application cannot call the operating system underlying resource.Nowadays,mobile social networking application has a rapid development.Usage,installation rate is much higher than other applications.However,there are a lot of file resources such as pictures and videos in social applications.Multiple access of resource files causes problems such as consuming client traffic,increasing access latency.For social applications,user's social relation could influence frequency of cache use.Therefore,this paper proposed a cache replacement algorithm based on social relations,and analysis of its cache efficiency.With this algorithm proposes a mechanism of suitable mixing mobile social networking applications picture cache management.Social applications using the caching mechanism that caches can be more targeted,improve the cache efficiency and the cache hit ratio of mobile application,reduced waste of data traffic and network resources.As a leading hybrid Mobile development platform,APICloud does not provide a cache management module nowadays.Thus,this paper designed and implemented an image cache management module in APICloud platform,which combining social application cache mechanism,for use by developers in mixed mode.The main work includes:1.This paper presents a picture cache replacement algorithm based on social relations,which combines intimate value in social relationships among users,picture frequency of access,picture size space in social applications.2.Design and development a module which compliance with specification for APICloud module development.Relationship-based cache replacement algorithm is applied to the module,allows the module to JS call supports iOS and Android systems.3.Based on the APICloud platform,the paper develop a mobile social networking application.There is a large number of pictures in the application.The application include some social functions such as concern,collection,praise,comments,personal message etc.,and social cache module is used in the application to achieve applications picture cache management.4.This paper simulated the cache replacement algorithm processes,calculate and analyze the cache replacement efficiency.Experiments show that can increase the cache hit ratio of cache replacement algorithms proposed in this paper.
Keywords/Search Tags:Cache, social relationships, mixed-mode, APICloud
PDF Full Text Request
Related items