Hiroki Nakayama, Dilawaer Duolikun, T. Enokido, M. Takizawa
{"title":"基于关键字向量的P2P发布/订阅系统中事件消息的因果顺序传递","authors":"Hiroki Nakayama, Dilawaer Duolikun, T. Enokido, M. Takizawa","doi":"10.1109/AINA.2015.233","DOIUrl":null,"url":null,"abstract":"In distributed systems, a group of multiple processes are cooperating with one another by exchanging messages in networks. A process is modeled to be a finite state machine. In this paper, we discuss a peer-to-peer (P2P) model of a publish/subscribe (P2PPS) system composed of peer processes (peers). Each peer can both subscribe a subscription and publish event messages with a publication. In this paper, subscriptions and publications are specified in terms of keywords. If a subscription of a subscriber peer and a publication of an event message include some common keywords, the subscriber peer is a target peer of the event message. The event message is notified to the target subscriber peer. A pair of event messages are related, which have a common target subscriber peer. Only a pair of related event messages are required to be delivered to common target subscriber peers in the causal order. We newly propose vectors of 〈V<;sub>1<;/sub>, ..., V<;sub>m<;/sub>〉 of keywords k , ..., k<;sub>m<;/sub> to causally order event messages. Each event message e carries the keyword vector e.V. An event message e<;sub>1<;/sub> causally precedes an event message e<;sub>2<;/sub> with respect to a subscription S<;sub>i<;/sub> iff e<;sub>1<;/sub>·V<;sub>h<;/sub> <; e<;sub>2<;/sub>·V<;sub>h<;/sub> for every keyword k<;sub>h<;/sub> which is in the publications of the event messages e<;sub>1<;/sub> and e<;sub>2<;/sub> and the subscription S<;sub>i<;/sub>. Only a pair of related messages are causally delivered to common subscriber peers.","PeriodicalId":6845,"journal":{"name":"2015 IEEE 29th International Conference on Advanced Information Networking and Applications Workshops","volume":"1 1","pages":"534-541"},"PeriodicalIF":0.0000,"publicationDate":"2015-03-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":"{\"title\":\"Causally Ordered Delivery of Event Messages with Keyword Vectors in P2P Publish/Subscribe Systems\",\"authors\":\"Hiroki Nakayama, Dilawaer Duolikun, T. Enokido, M. Takizawa\",\"doi\":\"10.1109/AINA.2015.233\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In distributed systems, a group of multiple processes are cooperating with one another by exchanging messages in networks. A process is modeled to be a finite state machine. In this paper, we discuss a peer-to-peer (P2P) model of a publish/subscribe (P2PPS) system composed of peer processes (peers). Each peer can both subscribe a subscription and publish event messages with a publication. In this paper, subscriptions and publications are specified in terms of keywords. If a subscription of a subscriber peer and a publication of an event message include some common keywords, the subscriber peer is a target peer of the event message. The event message is notified to the target subscriber peer. A pair of event messages are related, which have a common target subscriber peer. Only a pair of related event messages are required to be delivered to common target subscriber peers in the causal order. We newly propose vectors of 〈V<;sub>1<;/sub>, ..., V<;sub>m<;/sub>〉 of keywords k , ..., k<;sub>m<;/sub> to causally order event messages. Each event message e carries the keyword vector e.V. An event message e<;sub>1<;/sub> causally precedes an event message e<;sub>2<;/sub> with respect to a subscription S<;sub>i<;/sub> iff e<;sub>1<;/sub>·V<;sub>h<;/sub> <; e<;sub>2<;/sub>·V<;sub>h<;/sub> for every keyword k<;sub>h<;/sub> which is in the publications of the event messages e<;sub>1<;/sub> and e<;sub>2<;/sub> and the subscription S<;sub>i<;/sub>. Only a pair of related messages are causally delivered to common subscriber peers.\",\"PeriodicalId\":6845,\"journal\":{\"name\":\"2015 IEEE 29th International Conference on Advanced Information Networking and Applications Workshops\",\"volume\":\"1 1\",\"pages\":\"534-541\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-03-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"8\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2015 IEEE 29th International Conference on Advanced Information Networking and Applications Workshops\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/AINA.2015.233\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 IEEE 29th International Conference on Advanced Information Networking and Applications Workshops","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/AINA.2015.233","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8
摘要
在分布式系统中,一组多个进程在网络中通过交换消息相互协作。流程被建模为有限状态机。本文讨论了由对等进程组成的发布/订阅(P2PPS)系统的点对点(P2P)模型。每个对等点既可以订阅订阅,也可以使用发布发布事件消息。在本文中,订阅和出版物是根据关键词来指定的。如果订阅者对等体的订阅和事件消息的发布包含一些通用关键字,则订阅者对等体是事件消息的目标对等体。将事件消息通知给目标订阅者对等体。一对事件消息是相关的,它们有一个共同的目标订阅者对等体。只需要按照因果顺序将一对相关的事件消息传递给共同的目标订阅者对等点。我们提出了< V1,…, Vm >的关键字k,…, km对事件消息进行随机排序。每个事件消息e都携带关键字向量e.V。对于事件消息e1和e2以及订阅Si发布中的每个关键字kh,事件消息e1因果关系地先于事件消息e2。只有一对相关的消息被偶然地传递给公共订阅者对等体。
Causally Ordered Delivery of Event Messages with Keyword Vectors in P2P Publish/Subscribe Systems
In distributed systems, a group of multiple processes are cooperating with one another by exchanging messages in networks. A process is modeled to be a finite state machine. In this paper, we discuss a peer-to-peer (P2P) model of a publish/subscribe (P2PPS) system composed of peer processes (peers). Each peer can both subscribe a subscription and publish event messages with a publication. In this paper, subscriptions and publications are specified in terms of keywords. If a subscription of a subscriber peer and a publication of an event message include some common keywords, the subscriber peer is a target peer of the event message. The event message is notified to the target subscriber peer. A pair of event messages are related, which have a common target subscriber peer. Only a pair of related event messages are required to be delivered to common target subscriber peers in the causal order. We newly propose vectors of 〈V<;sub>1<;/sub>, ..., V<;sub>m<;/sub>〉 of keywords k , ..., k<;sub>m<;/sub> to causally order event messages. Each event message e carries the keyword vector e.V. An event message e<;sub>1<;/sub> causally precedes an event message e<;sub>2<;/sub> with respect to a subscription S<;sub>i<;/sub> iff e<;sub>1<;/sub>·V<;sub>h<;/sub> <; e<;sub>2<;/sub>·V<;sub>h<;/sub> for every keyword k<;sub>h<;/sub> which is in the publications of the event messages e<;sub>1<;/sub> and e<;sub>2<;/sub> and the subscription S<;sub>i<;/sub>. Only a pair of related messages are causally delivered to common subscriber peers.