计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (29): 101-103.

• 产品、研发、测试 • 上一篇    下一篇

基于P2P和XML内容的发布订阅系统

胡昔祥1,2   

  1. 1.浙江大学 计算机学院,杭州 310027
    2.杭州电子科技大学 软件与智能研究所,杭州 310018
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-10-11 发布日期:2007-10-11
  • 通讯作者: 胡昔祥

XML-based publish subscribe system over P2P network

HU Xi-xiang1,2   

  1. 1.Computer Science & Technology College,Zhejiang University,Hangzhou 310027,China 2.Computer and Software College,Hangzhou Dianzi University,Hangzhou 310018,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-10-11 Published:2007-10-11
  • Contact: HU Xi-xiang

摘要: 介绍了一种面向大规模分布式应用的发布订阅中间件系统,系统采用一种结合了下推树和自下而上树自动机的XPath订阅快速匹配算法,支持XPath多谓词和分支特性。系统事件代理P2P网络节点之间的事件或订阅消息路由采用了扩展的Chord路由协议和订阅聚合、覆盖等多种优化措施。实验结果表明,系统具有较好的效率和性能,能满足面向大规模分布式应用的要求。

关键词: 发布/订阅, 树自动机, P2P

Abstract: This paper presents a large-scale distributed publish/subscribe system,in which a new forest automata based approach has been proposed for fast processing XPath subscriptions with multi-predicates on XML streaming data.Among distributed P2P brokers,publish/subscription messages have been routed by an extended Chord protocol with subscription aggregation and subsume optimizations.Experiment result shows that it satisfies the requirement of large-scale distributed applications on time,space and bandwidth cost.

Key words: publish/subscribe, tree automata, P2P