Data Distribution Service

The Data Distribution Service for real-time systems (DDS) is an Object Management Group (OMG) machine-to-machine (sometimes called middleware) standard that aims to enable scalable, real-time, dependable, high-performance and interoperable data exchanges using a publish–subscribe pattern. DDS addresses the needs of applications like financial trading, air-traffic control, smart grid management, and other big data applications. The standard is used in applications such as smartphone operating systems,[1] transportation systems and vehicles,[2] software-defined radio, and by healthcare providers. DDS was promoted for use in the Internet of things.[3]

History

A few proprietary DDS systems had been available for several years. Starting in 2001, two vendors, the American government contractor Real-Time Innovations and the French Thales Group teamed up to create the DDS specification, which was subsequently approved by the Object Management Group (OMG) resulting in version 1.0 in published in December 2004.[4] Version 1.1 was published in December 2005,[5] 1.2 in January 2007,[6] and 1.4 in April 2015.[7] DDS is covered by several US patents,[8][9][10][11] among others.

The DDS specification describes two levels of interfaces:

Other related standards followed the initial core document. The Real-time Publish-Subscribe Wire Protocol DDS Interoperability Wire Protocol Specification ensured that information published on a topic using one vendor's DDS implementation is consumable by one or more subscribers using the same or different vendor's DDS implementations. Although the specification is targeted at the DDS community, its use is not limited. Versions 2.0 was published in April 2008, version 2.1 in November 2010, and 2.2 in September 2014.[12]

DDS for Lightweight CCM (dds4ccm) offers an architectural pattern that separates the business logic from the non-functional properties. A 2012 extension added support for streams.[13] A Java 5 Language PSM for DDS defined a Java 5 language binding, referred to as a Platform Specific Model (PSM) for DDS. It specified only the Data-Centric Publish-Subscribe (DCPS) portion of the DDS specification; Additionally, it encompasses the DDS APIs introduced by DDS-XTypes and DDS-CCM. DDS-PSM-Cxx defines the ISO/IEC C++[14] PSM language binding, referred to as a Platform Specific Model (PSM) for DDS. It provides a new C++ API for programming DDS that is more natural to a C++ programmer.[15] The specification provides mappings for the application programming interface (API) specified in DDS-XTypes, and accessing quality of service (QoS) profiles specified in DDS-CCM.

Extensible and Dynamic Topic Types for DDS (DDS-XTypes) provided support for data-centric publish-subscribe communication where topics are defined with specific data structures. To be extensible, DDS topics use data types defined before compile time and used throughout the DDS global data space. This model is desirable when static type checking is useful.[16] A Unified Modeling Language (UML) profile specified DDS domains and topics to be part of analysis and design modeling.[17] This specification also defined how to publish and subscribe objects without first describing the types in another language, such as XML or OMG IDL.[18] An interface definition language (IDL) was specified in 2014 independently from the Common Object Request Broker Architecture (CORBA) specification chapter 3. This IDL 3.5 was compatible with the CORBA 3 specification, but extracted as its own specification so that it can evolve independently from CORBA.[19]

Starting with DDS version 1.4 in 2015, the optional DLRL layer was moved to a separate specification.[20]

Architecture

Model

DDS is networking middleware that simplifies complex network programming. It implements a publish–subscribe pattern for sending and receiving data, events, and commands among the nodes. Nodes that produce information (publishers) create "topics" (e.g., temperature, location, pressure) and publish "samples". DDS delivers the samples to subscribers that declare an interest in that topic.

DDS handles transfer chores: message addressing, data marshalling and demarshalling (so subscribers can be on different platforms from the publisher), delivery, flow control, retries, etc. Any node can be a publisher, subscriber, or both simultaneously.

The DDS publish-subscribe model virtually eliminates complex network programming for distributed applications.

DDS supports mechanisms that go beyond the basic publish-subscribe model. The key benefit is that applications that use DDS for their communications are decoupled. Little design time need be spent on handling their mutual interactions. In particular, the applications never need information about the other participating applications, including their existence or locations. DDS transparently handles message delivery without requiring intervention from the user applications, including:

DDS allows the user to specify quality of service (QoS) parameters to configure discovery and behavior mechanisms up-front. By exchanging messages anonymously, DDS simplifies distributed applications and encourages modular, well-structured programs. DDS also automatically handles hot-swapping redundant publishers if the primary fails. Subscribers always get the sample with the highest priority whose data is still valid (that is, whose publisher-specified validity period has not expired). It automatically switches back to the primary when it recovers, too.

Interoperability

Both commercial and open-source software implementations of DDS are available. These include application programming interfaces (APIs) and libraries of implementations in Ada, C, C++, C#, Java, Scala, Lua, Pharo and Ruby. Some implementations are shown in the table at the end of this article.

DDS vendors participated in interoperability demonstrations at the OMG Spring technical meetings from 2009 to 2013.[21][22][23][24][25][26]

During demos, each vendor published and subscribed to each other's topics using a test suite called the shapes demo. For example, one vendor publishes information about a shape and the other vendors can subscribe to the topic and display the results on their own shapes display. Each vendor takes turns publishing the information and the other subscribe. Two things made the demos possible: the DDS-I or Real-Time Publish-Subscribe (RTPS) protocol,[12] and the agreement to use a common model.

OMG Data Distribution Service interoperability

In March 2009, three vendors (Real-Time Innovations, Inc., PrismTech and Twin Oaks) demonstrated interoperability between the individual, independent products that implemented the OMG Real-time Publish-Subscribe protocol version 2.1 from January 2009. The demonstration included the discovery of each other's publishers and subscribers on different OS Platforms (Microsoft Windows and Linux) and supported multicast and unicast network communications.[21]

By March 2013, six more companies joined the interoperability demonstration: Object Computing Inc. (OCI, OpenDDS), Electronics and Telecommunications Research Institute (ETRI), IBM, Kongsberg, Milsoft, and RemedyIT.[25]

The DDS interoperability demonstration used scenarios such as:

See also

References

  1. "What Can DDS Do For Android?" (PDF). Promotional brochure. Twin Oaks Computing. January 27, 2012. Retrieved November 9, 2016.
  2. "City of Tokyo Metropolitan Highway Line" (PDF). Promotional brochure. Real-Time Innovations. May 15, 2013. Retrieved November 9, 2016.
  3. Angelo Corsaro (October 11, 2013). "Building the Internet of Things with DDS" (PDF). PrismTech. Retrieved November 9, 2016.
  4. "Data Distribution Service (DDS), Version 1.0". Object Management Group. December 2, 2004. Retrieved November 9, 2016.
  5. "Data Distribution Service (DDS), Version 1.1". December 4, 2005. Retrieved November 9, 2016.
  6. "Data Distribution Service (DDS), Version 1.2". January 1, 2007. Retrieved November 9, 2016.
  7. "Data Distribution Service (DDS), Version 1.4". April 10, 2015. Retrieved November 9, 2016.
  8. US Patent US8874686
  9. US Patent US8671135
  10. US Patent US8150988
  11. US Patent US9015672
  12. 1 2 "The Real-time Publish-Subscribe Wire Protocol DDS Interoperability Wire Protocol Specification (DDSI-RTPS)". September 2014. Retrieved November 9, 2016.
  13. DDS for Lightweight CCM (dds4ccm), Version 1.1, formal/2012-02-01, February 2012, http://www.omg.org/spec/dds4ccm/1.1/PDF/
  14. Programming languages — C++, 15 October 2003, ISO/IEC 14882, http://www.iso.org/iso/catalogue_detail.htm?csnumber=38110
  15. DDS-PSM-Cxx: ISO/IEC C++ 2003 Language DDS PSM, Version ptc/2011-01-02, January 2011, http://www.omg.org/spec/DDS-PSM-Cxx/1.0/Beta1/PDF
  16. Extensible and Dynamic Topic Types for DDS (DDS-XTypes), 1.0, formal/2012-11-10, November 2012, http://www.omg.org/spec/DDS-XTypes/1.0/PDF
  17. UML Profile for Data Distribution, version: 1.0, http://www.omg.org/cgi-bin/doc?ptc/10-05-17.pdf
  18. DDS-Java: Java 5 Language PSM for DDSVersion 1.0, ptc/2012-12-01, March 2013 http://www.omg.org/spec/DDS-Java/1.0/Beta3/PDF
  19. "Interface Definition Language (IDL), Version 3.5". OMG. March 1, 2014. Retrieved November 9, 2016.
  20. "DDS Data Local Reconstruction Layer (DDS-DLRL)". April 2015. Retrieved November 9, 2016.
  21. 1 2 Angelo Corsaro, Gerardo Pardo-Castellote and Clark Tucker (August 12, 2009). "DDS Interoperability Demo" (PDF). Object Management Group. Archived from the original (PDF) on September 15, 2011. Retrieved November 9, 2016.
  22. "DDS Interoperability Demo December 2010" (PDF). Real-Time Innovations, Inc. December 11, 2010. Retrieved November 9, 2016.
  23. 2011, March 2011, https://community.rti.com/content/presentation/omg-dds-interoperability-demo-2011
  24. 2012, March 2012, https://community.rti.com/content/presentation/omg-dds-interoperability-demo-2012
  25. 1 2 2013, March 2013, http://www.slideshare.net/GerardoPardo/dds-interoperability-demo-2013-washington-dc
  26. "DDS Interoperability Demonstration". video. Real-Time Innovations. December 14, 2010. Retrieved November 9, 2016.

External links

Availability

Publisher Product Download Source Code License
OCI OpenDDS Windows/Linux/Solaris/MacOSX GitHub Open Source, No licensing fees
Real-Time Innovations Connext DDS RTI DDS Download Open Community Source and Commercial Licenses
PrismTech Vortex OpenSplice Vortex OpenSplice, DDS Community Edition DDS Community Edition GitHub Open Source LGPLv3
This article is issued from Wikipedia - version of the 12/1/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.