摘要
在分布式环境中,分布式节点间存在多种形式的数据交换,为了实现数据的灵活可靠交换,需要一种通用的通讯机制作为数据交换应用的基础设施。同时,对象管理组织提出的数据分发服务(DDS)框架,其核心是以数据为中心的发布/订阅模式,能很好地解决分布式环境中的数据交换和分发问题。本文首先介绍数据分发服务的相关理论及其优点;然后介绍一种支持多数据包及文件传输的通讯机制作为上层应用的基础设施和该通讯机制的服务调度机制;最后依据DDS框架,结合以服务为中心、以交易码驱动的架构,设计并实现一种以数据为中心的发布/订阅模式。
In a distributed environment, distributed nodes exist in the various forms of data exchange, in order to realize the flexi- ble and reliable data exchange, a general communication mechanism is needed for data exchange application infrastructure. At the same time, data distribution service (DDS) framework invented by Object Management Group, its core is the data-centric pub- lish-subscribe pattern, can solve data exchange and distribution problem in distributed environment very well. Firstly, this paper introduces the data distribution service theory and its advantages, then introduces a support multiple data packets and file transfer communication mechanism as the application infrastructure and the service scheduling mechanism of this communication mecha- nism, finally, based on the DDS framework, combining to the service-centric and transaction code driven architecture, designs and implements a data-centric publish-subscribe pattern.
出处
《计算机与现代化》
2012年第3期128-130,135,共4页
Computer and Modernization
关键词
数据分发服务
发布/订阅
通讯机制
服务调度机制
data distribution service
publish/subscribe
communication mechanism
service scheduling mechanism