European Ground System Architecture
Workshop (ESAW 2009)
Message Oriented
Architecture


© GMV, 2009 Property of GMV
     All rights reserved
Agenda
     1 Overview

     2 Message Oriented Architecture

     3 Message Bus

     4 Ground Control System Message Oriented Architecture

     5 Monitoring & Control System Message Oriented Architecture

     6 Conclusions

     7Q&A




                       14/05/2009
ESAW 2009                           Page 2   © GMV, 2009
Overview
                                                                                Event Logger
                                                                                 (Java RCP)


  NETCOM GSTP
(Alignment of SCOS-                                               Message Bus
2000 release 5.0 with
hifly)
                                     Event Logger
                                     Message Bus




                                       TCP/IP

 Integration of a
Commercial Message
                                       CPD
Bus in hifly as Proof of
Concept in the scope of
NETCOM GSTP project                   TCP/IP




                                     PDSserver




                        14/05/2009
ESAW 2009                              Page 3       © GMV, 2009
Objetives

   Take advance of the lessons learnt on the NETCOM project in
   order to:

   – Propose an Architecture for integration of the Ground Control System
     applications

   – Propose a Message Architecture for the Satellite Control System




                         14/05/2009
ESAW 2009                             Page 4   © GMV, 2009
Message Oriented Architecture
Key Points
  Ground Control Application Integration
        Ground Control Applications interact
      each other in the same way
                                                                        Application
                                                                        Integration

  Asynchronous component communication
         Components are no longer waiting
      for response neither connected
                                                                          Message
      continuously each others                                           Oriented
                                                                        Architecture

  Decouple components
                                                        Asynchronous                    Decouple
        Components interface are                       Communications                  Components
      messages, no more function calls




                                14/05/2009
ESAW 2009                                    Page 5   © GMV, 2009
Message Oriented Architecture
Ground Control Application Integration

     File Transfer




    Remote Procedure Invocation




     Messages




                              14/05/2009
ESAW 2009                                  Page 6   © GMV, 2009
Message Oriented Architecture
Through Asynchronous Communication

   CORBA 2 – Synchronous


  SOAP 1.1 – Synchronous


  CORBA 3 – Asynchronous


   SOAP 1.2 – Asynchronous


  Messages Bus – Asynchronous




                                14/05/2009
ESAW 2009                                    Page 7   © GMV, 2009
Message Oriented Architecture
Through Decouple Components

  Function as interface – Very tight couple


  Remote Process Call – Tight couple


  CORBA – Loosely couple


  SOAP & WSDL – Loosely couple


  Messages Bus – Decouple




                                 14/05/2009
ESAW 2009                                     Page 8   © GMV, 2009
Message Bus
Asynchronous/Synchronous Communications

  Asynchronous communication
        Point to Point – Implemented by a Queue interface
        Publisher - Subscribers – Implemented by Topic interface
        Message Acknowledgment – Implemented by ACK message
        Heartbeat – heart beat message


  Synchronous communication
        Request and Reply (Point to Point) – Implemented by two Queues




                                14/05/2009
ESAW 2009                                    Page 9   © GMV, 2009
Message Bus
Messages definition

  Data format
        XML
        Fixed length data fields
        Proprietary format (Binary format)
        Object Format


  Persistence


  Versioning


  Sequencing




                                   14/05/2009
ESAW 2009                                       Page 10   © GMV, 2009
Message Bus
Interoperability

  Programming languages
        C/C++
        Java with support for Java Messaging Service
        Fortran
        Python


  Operating Systems
        Linux
        Solaris
        Windows


  Message Version
        Message field
        Version Router



                                14/05/2009
ESAW 2009                                    Page 11   © GMV, 2009
Message Bus
Commercial Bus Messages
  Open Source - ActiveMQ from Apache                COTS – TIBCO
used in NETCOM prototype
                                                            Most popular Commercial Message Bus
        Interoperability C++/Java JMS
                                                            Interoperability C++/Java JMS
        http://activemq.apache.org                          http://www.tibco.com



 Open Source – Message Queue from                   COTS – OpenFusion (CORBA 3 message service)
Sun
                                                            Interoperability Java/C++
        Interoperability C++/Java JMS                       http:www.prismtechnologies.com/products/openfusion

        https://mq.dev.java.net




  Open Source – xmlBluster
        Java JMS fully implemented in
      Java
        Interoperability C++/Java JMS
        http://www.xmlblaster.org




                                     14/05/2009
ESAW 2009                                         Page 12    © GMV, 2009
Ground Control System Message Oriented
Architecture




             14/05/2009
ESAW 2009                 Page 13   © GMV, 2009
Ground Control System Message Oriented
Architecture Step 1
                                                 Telecommand                          Variable
                                                                     Event
                                                    History                            Packet
                                                                    Logger
                                                                                      Display




                                       Message Bus




 Event Logger   Telecomman     Telemetry
  Bussiness     ds Bussiness    Bussines                                         PDSserver
    Logic           Logic        Logic                                           EV/TC/TM



                                                                                                            Packets Archive
                                                                                   TCP/IP




                                                                    Packetizer                   Releaser




                                   14/05/2009
ESAW 2009                                       Page 14   © GMV, 2009
Ground Control System Message Oriented
Architecture Step 2




             14/05/2009
ESAW 2009                 Page 15   © GMV, 2009
Ground Control System Message Oriented
Architecture Step 3




             14/05/2009
ESAW 2009                 Page 16   © GMV, 2009
Ground Control System Message Oriented
Architecture Step 4
                  PIF                                                    On-Board                              TimeTag
MISC                             TCSpacon              Multiplexer
                                                                        Queue Model        Releaser           Monitoring




                                                          Message Bus




  Event Logger   Telecommand                                                                                                  PDSserver
                                 Telemetry                                              Manual Stack
   Bussiness       Bussiness                          Packetizer        Verifier                          WebServices         EV/TC/TM
                               Bussines Logic
     Logic           Logic




                                                                                           HTTP/SOAP



                                                                                                                           Packets Archive



                                                                                      Web Manual       Web Event
                                                                                      Stack with       Logger with
                                                                                         AJAX             AJAX



                                         14/05/2009
ESAW 2009                                               Page 17      © GMV, 2009
Conclusions
Benefits from Message Oriented Architecture

  Support for Asynchronous and Synchronous component
communication.


   Support N-layer architecture


   Hot plug/unplug components


   Support to integrate with Ground Control System Components




                      14/05/2009
ESAW 2009                          Page 18   © GMV, 2009
Conclusions


 Proposed a Roadmap for a Message Architecture for the
Satellite Control System in four steps based on an Open Source
Commercial Message Bus (activeMQ).


 Proposed the first step of an Architecture for integration of the
Ground Control System applications based on a Commercial
Message Bus.




                       14/05/2009
ESAW 2009                           Page 19   © GMV, 2009
Thank you

                              Jesús Santana & T. Lopez-Ciudad
                              Ground Control Systems
                              Email: jsantana@gmv.com;
                              tlopez@gmv.com
                              www.gmv.com
© GMV, 2009 Property of GMV
     All rights reserved

Message Oriented Architecture

  • 1.
    European Ground SystemArchitecture Workshop (ESAW 2009) Message Oriented Architecture © GMV, 2009 Property of GMV All rights reserved
  • 2.
    Agenda 1 Overview 2 Message Oriented Architecture 3 Message Bus 4 Ground Control System Message Oriented Architecture 5 Monitoring & Control System Message Oriented Architecture 6 Conclusions 7Q&A 14/05/2009 ESAW 2009 Page 2 © GMV, 2009
  • 3.
    Overview Event Logger (Java RCP) NETCOM GSTP (Alignment of SCOS- Message Bus 2000 release 5.0 with hifly) Event Logger Message Bus TCP/IP Integration of a Commercial Message CPD Bus in hifly as Proof of Concept in the scope of NETCOM GSTP project TCP/IP PDSserver 14/05/2009 ESAW 2009 Page 3 © GMV, 2009
  • 4.
    Objetives Take advance of the lessons learnt on the NETCOM project in order to: – Propose an Architecture for integration of the Ground Control System applications – Propose a Message Architecture for the Satellite Control System 14/05/2009 ESAW 2009 Page 4 © GMV, 2009
  • 5.
    Message Oriented Architecture KeyPoints Ground Control Application Integration Ground Control Applications interact each other in the same way Application Integration Asynchronous component communication Components are no longer waiting for response neither connected Message continuously each others Oriented Architecture Decouple components Asynchronous Decouple Components interface are Communications Components messages, no more function calls 14/05/2009 ESAW 2009 Page 5 © GMV, 2009
  • 6.
    Message Oriented Architecture GroundControl Application Integration File Transfer Remote Procedure Invocation Messages 14/05/2009 ESAW 2009 Page 6 © GMV, 2009
  • 7.
    Message Oriented Architecture ThroughAsynchronous Communication CORBA 2 – Synchronous SOAP 1.1 – Synchronous CORBA 3 – Asynchronous SOAP 1.2 – Asynchronous Messages Bus – Asynchronous 14/05/2009 ESAW 2009 Page 7 © GMV, 2009
  • 8.
    Message Oriented Architecture ThroughDecouple Components Function as interface – Very tight couple Remote Process Call – Tight couple CORBA – Loosely couple SOAP & WSDL – Loosely couple Messages Bus – Decouple 14/05/2009 ESAW 2009 Page 8 © GMV, 2009
  • 9.
    Message Bus Asynchronous/Synchronous Communications Asynchronous communication Point to Point – Implemented by a Queue interface Publisher - Subscribers – Implemented by Topic interface Message Acknowledgment – Implemented by ACK message Heartbeat – heart beat message Synchronous communication Request and Reply (Point to Point) – Implemented by two Queues 14/05/2009 ESAW 2009 Page 9 © GMV, 2009
  • 10.
    Message Bus Messages definition Data format XML Fixed length data fields Proprietary format (Binary format) Object Format Persistence Versioning Sequencing 14/05/2009 ESAW 2009 Page 10 © GMV, 2009
  • 11.
    Message Bus Interoperability Programming languages C/C++ Java with support for Java Messaging Service Fortran Python Operating Systems Linux Solaris Windows Message Version Message field Version Router 14/05/2009 ESAW 2009 Page 11 © GMV, 2009
  • 12.
    Message Bus Commercial BusMessages Open Source - ActiveMQ from Apache COTS – TIBCO used in NETCOM prototype Most popular Commercial Message Bus Interoperability C++/Java JMS Interoperability C++/Java JMS http://activemq.apache.org http://www.tibco.com Open Source – Message Queue from COTS – OpenFusion (CORBA 3 message service) Sun Interoperability Java/C++ Interoperability C++/Java JMS http:www.prismtechnologies.com/products/openfusion https://mq.dev.java.net Open Source – xmlBluster Java JMS fully implemented in Java Interoperability C++/Java JMS http://www.xmlblaster.org 14/05/2009 ESAW 2009 Page 12 © GMV, 2009
  • 13.
    Ground Control SystemMessage Oriented Architecture 14/05/2009 ESAW 2009 Page 13 © GMV, 2009
  • 14.
    Ground Control SystemMessage Oriented Architecture Step 1 Telecommand Variable Event History Packet Logger Display Message Bus Event Logger Telecomman Telemetry Bussiness ds Bussiness Bussines PDSserver Logic Logic Logic EV/TC/TM Packets Archive TCP/IP Packetizer Releaser 14/05/2009 ESAW 2009 Page 14 © GMV, 2009
  • 15.
    Ground Control SystemMessage Oriented Architecture Step 2 14/05/2009 ESAW 2009 Page 15 © GMV, 2009
  • 16.
    Ground Control SystemMessage Oriented Architecture Step 3 14/05/2009 ESAW 2009 Page 16 © GMV, 2009
  • 17.
    Ground Control SystemMessage Oriented Architecture Step 4 PIF On-Board TimeTag MISC TCSpacon Multiplexer Queue Model Releaser Monitoring Message Bus Event Logger Telecommand PDSserver Telemetry Manual Stack Bussiness Bussiness Packetizer Verifier WebServices EV/TC/TM Bussines Logic Logic Logic HTTP/SOAP Packets Archive Web Manual Web Event Stack with Logger with AJAX AJAX 14/05/2009 ESAW 2009 Page 17 © GMV, 2009
  • 18.
    Conclusions Benefits from MessageOriented Architecture Support for Asynchronous and Synchronous component communication. Support N-layer architecture Hot plug/unplug components Support to integrate with Ground Control System Components 14/05/2009 ESAW 2009 Page 18 © GMV, 2009
  • 19.
    Conclusions Proposed aRoadmap for a Message Architecture for the Satellite Control System in four steps based on an Open Source Commercial Message Bus (activeMQ). Proposed the first step of an Architecture for integration of the Ground Control System applications based on a Commercial Message Bus. 14/05/2009 ESAW 2009 Page 19 © GMV, 2009
  • 20.
    Thank you Jesús Santana & T. Lopez-Ciudad Ground Control Systems Email: jsantana@gmv.com; tlopez@gmv.com www.gmv.com © GMV, 2009 Property of GMV All rights reserved