为了解决命名数据网络(Named Data Networking,NDN)中存在的数据冗余,缓存数据内容多样性差以及数据内容请求时延高的问题,提出了一种二分缓存方案.该方案将首次请求的数据内容缓存在中心路由器中,将再次被请求的相同数据内容缓存在内容请求者的邻接路由器中,过滤了请求热度不高的数据内容,增加了数据内容被就近请求的概率,降低了数据内容的请求时延.同时该方案将被替换的数据包缓存至上游路由器,使路由器中重复的数据内容逐渐推向内容生产者,减少了数据冗余的同时增加了路由器缓存的数据内容的多样性.仿真结果显示该算法能降低数据内容的平均请求时延,减少服务器负载,有效提升缓存命中率.
Binary cache scheme in Named-Data Networking
In order to address the problems of data redundancy,poor diversity of cached data content and high delay of data content request in Named Data Networking(NDN),a binary cache scheme is proposed.The scheme caches the data content requested for the first time in the central router,caches the same data content requested again in the adjacent router of the content requester,and filters the data content with low heat,increases the probability of data content being requested nearby,reduced request delay of data content.At the same time,the scheme caches the replaced data packets to the upstream router,so that the repeated data content in the router is gradually pushed to the content producer,which reduces the data redundancy and increases the diversity of the data content cached by the router.Simulation results show that the scheme can reduce the average request delay of data content,reduce the server load,and effectively improve the cache hit ratio.