In a distributed environment, distributed nodes exist in the various forms of data exchange, in order to realize the
flexible 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 datacentric publishsubscribe 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 mechanism, finally, based on the DDS framework, combining to the servicecentric and
transaction code driven architecture, designs and implements a datacentric publishsubscribe pattern.