摘要
基于主题的发布订阅系统存在着表达能力较弱的缺点,订阅者没有办法很好的描述自己对于订阅事件的要求,从而降低了订阅者接收数据的有效性,浪费了系统资源,同时也影响了用户体验。本文提出了一种对基于主题的发布订阅系统(Data Distribution Service,DDS)进行扩展的方法,使其具有一定的基于内容的发布订阅能力。文章在详细分析现有系统问题的基础上,提出采用增加关键字描述的方式来使得订阅者能够更细粒度的描述自己的订阅要求的方法,并分析其可行性。进行整体设计,以尽可能保留原系统优点及体系结构为前提,修改其匹配算法,最终实现了对原系统的扩展,完成了基于内容的发布订阅功能,提升了用户体验。
The topic-based publish/subscribe system has a disadvantage of weak expression capacity. The subscribers are not able to describe their exact demand of subscription. Thereby, it decreases the validity of the data which is received by the subscriber and wastes the resource of system as well as user experience. In this paper, we propose a method to extend the expression capacity of the topic- based system(Data Distribution Service, DDS). This method can extend the DDS system from topic-based model to content-based model. Depending on analyzing the existing DDS system, we propose a method of increasing key words to describe the subscribers' demand of the events and analyze its feasibility. We retain the advantages of the original system and modify the matching algorithm to extend the DDS system. Our method realizes the content-based publish/subscribe model and enhance the user experience.
出处
《软件》
2012年第12期41-46,共6页
Software