作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (13): 277-279. doi: 10.3969/j.issn.1000-3428.2009.13.095

• 开发研究与设计技术 • 上一篇    下一篇

一种快速的持久订阅事件恢复算法

陈 勤,邹志兵,张 旻,刘 昊   

  1. (杭州电子科技大学计算机学院,杭州 310018)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-07-05 发布日期:2009-07-05

Fast Durable Subscription Event Recover Algorithm

CHEN Qin, ZOU Zhi-bing, ZHANG Min, LIU Hao   

  1. (School of Computer, Hangzhou Dianzi University, Hangzhou 310018)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-07-05 Published:2009-07-05

摘要: 在支持移动客户发布/订阅系统中,针对持久订阅者事件恢复存在事件丢失、时间较长的问题,提出一种快速的持久订阅事件恢复算法。该算法利用事件转发提取命令,重新传播订阅并入提取缓存事件,并对缓存事件转发进行优化。分析和实验结果表明,该算法能保证事件完整性,缩短事件恢复时间,缩小消息转发范围。

关键词: 发布/订阅, 持久订阅, 漫游, 事件恢复

Abstract: In Pub/Sub(P/S) system that supports mobile clients, aiming at event loss and high time cost in durable subscription events recover, this paper proposes a fast durable subscription event recover algorithm. The algorithm imposes forwards events fetching command and integrates respread and resubscription into buffered events fetching, optimizes buffered events forwarding. Algorithmic analyses and experimental result show the algorithm guartees the integrality of event, decreases the events recover time, and reduces the range of messages forwarding.

Key words: Pub/Sub(P/S), durable subscription, roaming, event recover

中图分类号: