期刊文献+

普适环境中面向推理的上下文缓存置换算法 被引量:1

A Reasoning-Oriented Context Replacement Algorithm in Pervasive Computing
下载PDF
导出
摘要 上下文缓存是减少上下文信息访问开销、降低信息传输数量、缓解连接中断引起的程序不可用性的有效途径.面向推理的上下文缓存置换算法CORA的目标是使上下文缓存达到较高命中率,有效节省普适计算中传输上下文的开销.CORA采用状态空间对低级上下文到高级上下文的推理进行建模,对各种上下文推理方法具有普遍适用性.CORA算法分为两个部分:1)在缓存端,该算法计算低级上下文的访问概率和预计失效时间,获得数据的缓存价值,作为上下文缓存置换的依据,以提高缓存的命中率;2)在传感器端设置相应的可变化范围,当传感器读数超出该范围时,主动更新缓存,以保证缓存数据的一致性.模拟实验将CORA和经典的缓存置换算法LRU进行对比,分别通过改变缓存容量、对上下文访问概率的不均匀程度和上下文更新访问比来考察两种算法的命中率,结果显示,当缓存容量相对上下文总数较小、访问概率分布较不均匀、更新访问比较高的情况下,CORA的命中率大大高于LRU.由此证明,CORA更适用于较为动态的普适计算环境. Using context cache is an effective way to reduce the overhead of context access, decrease the amount of information transmission and improve the application availability when disconnections occur. A reasoning-oriented context replacement algorithm (CORA) is presented, which aims at promoting the hit rate of context cache and reducing the overhead of context transmission. CORA adopts context state space as a general model for diverse context reasoning methods used to infer highlevel contexts from low-level contexts. CORA is composed of two parts. 1) at the cache end, to promote hit rate, it computes the estimated access probability and invalidation time of low-level contexts to get their caching values as the criterion for cache replacement; 2) at the sensor end, to maintain data consistency, an error bound is set to trigger a proactive update when the sensor reading is out of the bound. Simulation experiments are conducted to compare CORA with the classical cache replacement algorithm LRU (least recently used). Their hit rates are compared by changing the cache size, unevenness of contexts' access probabilities and update-access ratio. The results demonstrate that CORA can get higher hit rate than LRU when the cache size is small, contexts' access probabilities are uneven, and update-access ratio is high, which means that CORA is more suitable for pervasive computing environment.
出处 《计算机研究与发展》 EI CSCD 北大核心 2009年第4期549-557,共9页 Journal of Computer Research and Development
基金 国家自然科学基金项目(60473052,60773180) 浙江省自然科学基金项目(Y106427)~~
关键词 上下文信息 缓存 置换算法 推理 普适计算 context cache replacement algorithm reasoning pervasive computing
  • 相关文献

参考文献16

  • 1Satyanarayanan M. Pervasive computing: Vision and challenges [J]. IEEE Personal Communications, 2001, 8 (4): 10-17
  • 2李蕊,李仁发.上下文感知计算及系统框架综述[J].计算机研究与发展,2007,44(2):269-276. 被引量:52
  • 3Hong J, Landay J. An infrastructure approach to contextaware computing [J]. Human-Computer Interaction, 2001, 16(2-4): 287-303
  • 4Anandarajah M, Indulska J, Robinson R. Caching context information in pervasive systems [C] //Proc of the 3rd Int Middleware Doctoral Symposium. New York: ACM, 2006
  • 5Acharya S. Broadcast disks: Dissemination based-data management for asymmetric communication environments [D]. Providence, Rhode Island: Brown University, 1998
  • 6Acharya S, Alonso R, Franklin M, et al. Broadcast disks: Data Management for asymmetric communications environments [C] //Proc of ACM SIGMOD 1995. New York: ACM, 1995
  • 7Khanna S,Liberatore V. On broadcast disk paging[J]. SIAM Journal of Computing, 2000, 29(5): 1683-1702
  • 8Xu J, Tang X, Lee D L. Performance analysis of location dependent cache invalidation schemes for mobile environments [J]. IEEE Trans on Knowledge and Data Engineering, 2003, 15(2): 474-488
  • 9Wang X, Dong J S, Chin C Y, et al. Semantic space: An infrastructure for smart spaces [J]. IEEE Pervasive Computing, 2004, 3(3): 32-39
  • 10Anandarajah M, Indulska J, Robinson R. Hoarding context information with context clusters [C] //Proc of IEEE Pervasive Computing and Communications Workshops. Los Alamitos, CA: IEEE Computer Society, 2007

二级参考文献57

  • 1Jason Pascoe.Adding generic contextual capabilities to wearable computers[C].The 2nd Int'l Symp on Wearable Computers,Pittsburgh,1998
  • 2Kay Rmer,Friedemann Mattern,et al.Infrastructure for virtual counterparts of real world objects[R].Department of Computer Science,ETH Zurich,Tech Rep:IFVCORWO,2001
  • 3Stephen Voida,Elizabet D Mynatt,Blair MacIntyre,et al.Integrating virtual and physical context to support knowledge workers[J].IEEE Pervasive Computing,2002,1(3):73-79
  • 4M Khedr,A Karmouch.Acai:Agent-based context-aware infrastructure for spontaneous applications[J].Network and Computer Applications,2005,28(1):19-44
  • 5Jens Wohltorf,Richard Cissee,Andreas Rieger,et al.Berlintainment-An agent-based serviceware framework for context-aware services[J].IEEE Communications Magazine,2005,43(6):102-109
  • 6Paolo Bellavista,Antonio Corradi,Rebecca Montanari,et al.Context-aware middleware for resource management in the wireless Internet[J].IEEE Trans on Software Engineering,2003,29(12):1086-1099
  • 7Anind K Dey,Raffay Hamid,Chris Bechmann,et al.A cappella:Programming by demonstration of context-aware applications[C].CHI 2004,Vienna,2004
  • 8Panu Korpipaa,Esko-Juhani Malm,llkka Salminen,et al.Context management for end user development of context-aware applications[C].MDM 2005,Ayia Napa,Cyprus,2005
  • 9William G Griswold,Robert Boyer,Steven W Brown,et al.A component architecture for an extensible,highly integrated context-aware computing infrastructure[C].The 25th Int'l Conf on Software Engineering,Portland,Oregon,2003
  • 10William G Griswold,Patricia Shanahan,Steven W Brown,et al.Activecampus:Experiments in community-oriented ubiquitous computing[J].IEEE Computer Society,2004,37(10):73-81

共引文献51

同被引文献7

  • 1SAFA H, ARTAIL H, NAHHAS M. A cache invalidation strategy for mobile networks [ J]. Journal of Network and Computer Applica- tions, 2010, 22(2) : 168 - 182.
  • 2ACHARYA S, ALONSO R, FRANKLIN M, et aL Broadcast disks: Data management for asymmetric environments [ C]//SIGMOD'95: Proceedings of the 1995 ACM SIGMOD Inter- national Conference on Management of Data. New York: ACM Press, 1995:199-210.
  • 3KHANNA S, LIBERATORE V. On broadcast disk paging [J]. Journal of Computing, 2000, 29(5) : 1683 - 1702.
  • 4XU J, TANG X, LEE D L. Performance analysis of locatian-de- pendent cache invalidation schemes for mobile environment [ J]. IEEE Transactions on Knowledge and Data Engineering, 2003, 15 (2) : 474 -488.
  • 5XU J, HU Q, LEE W C. Pcrformanee evaluation of an optimal cache replacement policy for wireless data dissemination [ J]. IEEE Transaetions on Knowledge and Data Engineering, 2004, 16 ( 1 ) : 125 - 139.
  • 6ANANDARAJAH M, ROBINSON R. Caching context information in pervasive systems [ C]// Proceedings of the 3rd International Mid- dleware Doctoral Symposium. Melbourne, Australia: [ s. n. ], 2006: 20-27.
  • 7OLSTON C, LOO B T, WIDOM J. Adaptive precision setting for cached approximate values [ J]. ACM SIGMOD Record, 2001, 30 (2) : 355 -366.

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部