Department of Computer Languages and Systems, ETSIIT University of Granada, Granada, Spain.
Sensors (Basel). 2012;12(6):7648-68. doi: 10.3390/s120607648. Epub 2012 Jun 7.
The Request-Response (RR) paradigm is widely used in ubiquitous systems to exchange information in a secure, reliable and timely manner. Nonetheless, there is also an emerging need for adopting the Publish-Subscribe (PubSub) paradigm in this kind of systems, due to the advantages that this paradigm offers in supporting mobility by means of asynchronous, non-blocking and one-to-many message distribution semantics for event notification. This paper analyzes the strengths and weaknesses of both the RR and PubSub paradigms to support communications in ubiquitous systems and proposes an abstract communication model in order to enable their seamless integration. Thus, developers will be focused on communication semantics and the required quality properties, rather than be concerned about specific communication mechanisms. The aim is to provide developers with abstractions intended to decrease the complexity of integrating different communication paradigms commonly needed in ubiquitous systems. The proposal has been applied to implement a middleware and a real home automation system to show its applicability and benefits.
请求-响应 (RR) 范式在无处不在的系统中被广泛用于以安全、可靠和及时的方式交换信息。尽管如此,由于发布-订阅 (PubSub) 范式在通过异步、非阻塞和一对多的消息分发语义支持移动性方面提供的优势,在这种系统中采用这种范式也变得越来越有必要。本文分析了 RR 和 PubSub 范式在支持无处不在的系统中的通信方面的优缺点,并提出了一个抽象的通信模型,以便能够实现它们的无缝集成。因此,开发人员将专注于通信语义和所需的质量属性,而不必关注特定的通信机制。其目的是为开发人员提供抽象,旨在降低在无处不在的系统中通常需要集成不同通信范式的复杂性。该提案已应用于实现一个中间件和一个真实的家庭自动化系统,以展示其适用性和好处。