SlideShare a Scribd company logo
Achieving Interoperability through
Semantics-based Technologies:
    The Instant Messaging Case

   Amel Bennaceur and Valérie Issarny (Inria, France)
    Romina Spalazzese (University of L’Aquila, Italy)
       Shashank Tyagi (Banaras University, India)

            ISWC 2012, 15th November 2012
Outline

 The Interoperability challenge in pervasive
  environments
 Automated synthesis of mediators
     • Ontology-based Modelling of Interaction Protocols
     • Ontology-based Model Checking
 Implementation
 Lessons learned and future work



 2
Interoperability in Pervasive
                Environments
 Systems are becoming increasingly connected
     • Future Internet, Cyber-Physical System, Internet of Things
     • Integration becoming more difficult
 Interactions among components cannot be planned
  beforehand
     • Increasingly dynamic
     • Unanticipated components
 System and its components figure out how to interact
  dynamically
     • Automatically ensuring interoperation at runtime




 3
Illustrating the Interoperability
                 Challenges
 A plethora of applications with
  compatible functionalities
  • e.g., exchanging instant messages
 Unable to interact
  • e.g., MSN and XMPP clients
 Heterogeneous data and
  behavioral models
  • e.g., use of chat rooms



  4
Existing Approaches to
                    Interoperability


×   Standard: chosen   × Interoperability platforms: × Transparent interoperability:
    shared language        one talks all languages          Auxiliary language
       e.g., XMPP            e.g., Pidgin, Adium           e.g., J-EAI, CrossTalk




                   Transform on the fly using an mediators
                   How can we synthesise ‘correct’intermediary
                 automatically and deploy them : Babel network?
                          system (the mediator)
                                                on the fish
                                      e.g., WSMX

       5
Outline

 The Interoperability challenge in pervasive
  environments
 Automated synthesis of mediators
     • Ontology-based Modelling of Interaction Protocols
     • Ontology-based Model Checking
 Implementation
 Lessons learned and future work



 6
Dynamic Synthesis of Mediators

 Sustaining composition in highly heterogeneous
  and dynamic environments
     • Semantics of networked systems needed to reason
       about and achieve on-the-fly interoperability
        • Ontology for the description of functional semantics
        • Process algebra for the description of behavioural
          semantics
     • Combining ontology reasoning and behavioural analysis
        • To support the automated generation of mediators



 7
Dynamic Synthesis of Mediators
                          b       a
                          c       d
                              e
          MSNP         IM Ontology      XMPP      Modelling
                         (OWL)

          MSNP                          XMPP
          model                         model   Ontology-based
                                                Model Checking
                  No   Behavioral
                       Matching

                                  Yes
                                                  Mediation
                        Mediator

Failure




8
Modelling of Interaction Protocols
 FSP (Finite State Processes)
      • Semantics described using labelled transition systems
      • Verification supported by the LTSA model checker
      • Actions do FSP Syntaxany semantics
                    not have                   FSP Semantics
Action Prefix

Choice


Sequence



Parallel
Composition



  9
Ontology-based Modelling of
          Interaction Protocols
 An action specifies
     • The operation required from or provided to the environment
     • The associated input and output data




10
OFSP Specification of MSNP




11
                                  11
OFSP Specification of XMPP




12
                                  12
Ontology-based Reasoning about
          Interaction Protocols
 Action Subsumption
   •                 is subsumed by   iff
      •
      •
      •
 e.g.,

      •
      •

     is subsumed by

13
Ontology-based Reasoning about
        Interaction Protocols
 Processes synchronise based on the semantics of actions


     • If is subsumed by then generate         to make them
       synchronise

 Verify that the processes reach their final states using
  model checking




14
Ontology-based Model Checking




15
Outline

 The Interoperability challenge in pervasive
  environments
 Automated synthesis of mediators
     • Ontology-based Modelling of Interaction Protocols
     • Ontology-based Model Checking
 Implementation
 Lessons learned and future work



16
Implementation
                Ontology-based Model Checking
                           (OLTSA)
                                    Synthesis



 DSL Spec     Parser 1
                             Mediator           Composer 2    DSL Spec
of messages   Composer
                                                Parser 2     of messages
                 1



                             SOCKS Proxy
XMPP Client              BuddyManagement                     MSN Client
                         BindingManagement




    17
Round Trip time with 100 car         Mediator Performance
                               900
                               800
                               700
      message (ms)




                               600
                               500
                               400
                                                            Native
                               300
                                                            Hand-crafted
                               200                          Automated
                               100
                                0




      18
Outline

 The Interoperability challenge in pervasive
  environments
 Automated synthesis of mediators
     • Ontology-based Modelling of Interaction Protocols
     • Ontology-based Model Checking
 Implementation
 Lessons learned and future work



19
Lessons Learned (1)

 It works!!!!
 Automated synthesis of mediators
  promises to address interoperability in a
  future-proof manner
 Ontologies have a key role to play in
  supporting the automated synthesis of
  mediators

20
Lessons Learned (2)

 Dealing with a larger set of mappings
     • One-to-many and many-to-many mappings
     • Dealing with ambiguous mappings
 Extracting the system model automatically
     • Using automata learning to learn the behaviour
     • Using schema annotation to learn the annotations
 Need for standard benchmarks
     • To evaluate the kind of mismatches that occur in real
       systems
     • To compare with similar approaches

21
Thank you




22
Further Information
 Home page: www-rocq.inria.fr/~bennaceu
 ARLES: www.rocq.inria.fr/arles
 CONNECT: connect-forever.eu
 The Role of Ontologies in Emergent Middleware:
  Supporting Interoperability in Complex Distributed
  Systems, In Proc. Middleware 2011
 Middleware-layer Connector Synthesis: Beyond State of
  the Art in Middleware Interoperability, In SFM 2011
 Towards an architecture for runtime interoperability, In
  Proc. ISoLA 2010

23

More Related Content

PDF
Enterprise Instant Messaging
PDF
The Rise of Instant Messaging
PDF
Orey Gilliam A Turaround Story
PDF
Enterprise Instant Messaging Market in India
PPTX
Achieving Buy In Across Your Organization - SharePoint Saturday Baltimore 2013
ZIP
XMPP In Real Time
PDF
Instant Messaging Apps
PPT
Instant Messaging
Enterprise Instant Messaging
The Rise of Instant Messaging
Orey Gilliam A Turaround Story
Enterprise Instant Messaging Market in India
Achieving Buy In Across Your Organization - SharePoint Saturday Baltimore 2013
XMPP In Real Time
Instant Messaging Apps
Instant Messaging

Similar to Achieving Interoperability through Semantics-based Technologies: The Instant Messaging Case (20)

PPTX
PPTX
Dynamic Synthesis of Mediators to Support Interoperability in Autonomic Systems
PDF
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...
PDF
Complex Er[jl]ang Processing with StreamBase
PPTX
Supporting Concurrency Abstractions in High-level Language Virtual Machines
PDF
Rule Responder Nccu Taipei Mar2008 Talk [Compatibility Mode]
PDF
StreamBase - Embedded Erjang - Erlang User Group London - 20th April 2011
PPTX
Architecture Analysis of Systems based on Publish-Subscribe Systems
PDF
Reifying the concurrency concern into xDSML specifications
PPTX
VTU 6th Sem Elective CSE - Module 3 cloud computing
PDF
Ontology Mapping for Dynamic Multiagent Environment
PPTX
Parallelization using open mp
PDF
ICPW2007.Paschke
PPTX
Introduction to actor model with examples on Akka.NET
PDF
Wireless network basics
PDF
MICE: Monitoring and modelIing the Context Evolution
PPT
Computer Architecture: A quantitative approach - Cap4 - Section 3
PDF
Actor model in F# and Akka.NET
DOCX
Conversational Networks for AutomaticOnline Moderation
PDF
NLP and Deep Learning for non_experts
Dynamic Synthesis of Mediators to Support Interoperability in Autonomic Systems
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...
Complex Er[jl]ang Processing with StreamBase
Supporting Concurrency Abstractions in High-level Language Virtual Machines
Rule Responder Nccu Taipei Mar2008 Talk [Compatibility Mode]
StreamBase - Embedded Erjang - Erlang User Group London - 20th April 2011
Architecture Analysis of Systems based on Publish-Subscribe Systems
Reifying the concurrency concern into xDSML specifications
VTU 6th Sem Elective CSE - Module 3 cloud computing
Ontology Mapping for Dynamic Multiagent Environment
Parallelization using open mp
ICPW2007.Paschke
Introduction to actor model with examples on Akka.NET
Wireless network basics
MICE: Monitoring and modelIing the Context Evolution
Computer Architecture: A quantitative approach - Cap4 - Section 3
Actor model in F# and Akka.NET
Conversational Networks for AutomaticOnline Moderation
NLP and Deep Learning for non_experts
Ad

Recently uploaded (20)

PDF
project resource management chapter-09.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Mushroom cultivation and it's methods.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Hybrid model detection and classification of lung cancer
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
August Patch Tuesday
PDF
Getting Started with Data Integration: FME Form 101
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
project resource management chapter-09.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
TLE Review Electricity (Electricity).pptx
Hindi spoken digit analysis for native and non-native speakers
Mushroom cultivation and it's methods.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Zenith AI: Advanced Artificial Intelligence
NewMind AI Weekly Chronicles - August'25-Week II
OMC Textile Division Presentation 2021.pptx
Enhancing emotion recognition model for a student engagement use case through...
Chapter 5: Probability Theory and Statistics
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Hybrid model detection and classification of lung cancer
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
August Patch Tuesday
Getting Started with Data Integration: FME Form 101
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
1 - Historical Antecedents, Social Consideration.pdf
Unlocking AI with Model Context Protocol (MCP)
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Ad

Achieving Interoperability through Semantics-based Technologies: The Instant Messaging Case

  • 1. Achieving Interoperability through Semantics-based Technologies: The Instant Messaging Case Amel Bennaceur and Valérie Issarny (Inria, France) Romina Spalazzese (University of L’Aquila, Italy) Shashank Tyagi (Banaras University, India) ISWC 2012, 15th November 2012
  • 2. Outline  The Interoperability challenge in pervasive environments  Automated synthesis of mediators • Ontology-based Modelling of Interaction Protocols • Ontology-based Model Checking  Implementation  Lessons learned and future work 2
  • 3. Interoperability in Pervasive Environments  Systems are becoming increasingly connected • Future Internet, Cyber-Physical System, Internet of Things • Integration becoming more difficult  Interactions among components cannot be planned beforehand • Increasingly dynamic • Unanticipated components  System and its components figure out how to interact dynamically • Automatically ensuring interoperation at runtime 3
  • 4. Illustrating the Interoperability Challenges  A plethora of applications with compatible functionalities • e.g., exchanging instant messages  Unable to interact • e.g., MSN and XMPP clients  Heterogeneous data and behavioral models • e.g., use of chat rooms 4
  • 5. Existing Approaches to Interoperability × Standard: chosen × Interoperability platforms: × Transparent interoperability: shared language one talks all languages Auxiliary language e.g., XMPP e.g., Pidgin, Adium e.g., J-EAI, CrossTalk Transform on the fly using an mediators How can we synthesise ‘correct’intermediary automatically and deploy them : Babel network? system (the mediator) on the fish e.g., WSMX 5
  • 6. Outline  The Interoperability challenge in pervasive environments  Automated synthesis of mediators • Ontology-based Modelling of Interaction Protocols • Ontology-based Model Checking  Implementation  Lessons learned and future work 6
  • 7. Dynamic Synthesis of Mediators  Sustaining composition in highly heterogeneous and dynamic environments • Semantics of networked systems needed to reason about and achieve on-the-fly interoperability • Ontology for the description of functional semantics • Process algebra for the description of behavioural semantics • Combining ontology reasoning and behavioural analysis • To support the automated generation of mediators 7
  • 8. Dynamic Synthesis of Mediators b a c d e MSNP IM Ontology XMPP Modelling (OWL) MSNP XMPP model model Ontology-based Model Checking No Behavioral Matching Yes Mediation Mediator Failure 8
  • 9. Modelling of Interaction Protocols  FSP (Finite State Processes) • Semantics described using labelled transition systems • Verification supported by the LTSA model checker • Actions do FSP Syntaxany semantics not have FSP Semantics Action Prefix Choice Sequence Parallel Composition 9
  • 10. Ontology-based Modelling of Interaction Protocols  An action specifies • The operation required from or provided to the environment • The associated input and output data 10
  • 11. OFSP Specification of MSNP 11 11
  • 12. OFSP Specification of XMPP 12 12
  • 13. Ontology-based Reasoning about Interaction Protocols  Action Subsumption • is subsumed by iff • • •  e.g., • •  is subsumed by 13
  • 14. Ontology-based Reasoning about Interaction Protocols  Processes synchronise based on the semantics of actions • If is subsumed by then generate to make them synchronise  Verify that the processes reach their final states using model checking 14
  • 16. Outline  The Interoperability challenge in pervasive environments  Automated synthesis of mediators • Ontology-based Modelling of Interaction Protocols • Ontology-based Model Checking  Implementation  Lessons learned and future work 16
  • 17. Implementation Ontology-based Model Checking (OLTSA) Synthesis DSL Spec Parser 1 Mediator Composer 2 DSL Spec of messages Composer Parser 2 of messages 1 SOCKS Proxy XMPP Client BuddyManagement MSN Client BindingManagement 17
  • 18. Round Trip time with 100 car Mediator Performance 900 800 700 message (ms) 600 500 400 Native 300 Hand-crafted 200 Automated 100 0 18
  • 19. Outline  The Interoperability challenge in pervasive environments  Automated synthesis of mediators • Ontology-based Modelling of Interaction Protocols • Ontology-based Model Checking  Implementation  Lessons learned and future work 19
  • 20. Lessons Learned (1)  It works!!!!  Automated synthesis of mediators promises to address interoperability in a future-proof manner  Ontologies have a key role to play in supporting the automated synthesis of mediators 20
  • 21. Lessons Learned (2)  Dealing with a larger set of mappings • One-to-many and many-to-many mappings • Dealing with ambiguous mappings  Extracting the system model automatically • Using automata learning to learn the behaviour • Using schema annotation to learn the annotations  Need for standard benchmarks • To evaluate the kind of mismatches that occur in real systems • To compare with similar approaches 21
  • 23. Further Information  Home page: www-rocq.inria.fr/~bennaceu  ARLES: www.rocq.inria.fr/arles  CONNECT: connect-forever.eu  The Role of Ontologies in Emergent Middleware: Supporting Interoperability in Complex Distributed Systems, In Proc. Middleware 2011  Middleware-layer Connector Synthesis: Beyond State of the Art in Middleware Interoperability, In SFM 2011  Towards an architecture for runtime interoperability, In Proc. ISoLA 2010 23