SlideShare a Scribd company logo
1 of 23
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

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

Dynamic Synthesis of Mediators to Support Interoperability in Autonomic Systems
Dynamic Synthesis of Mediators to Support Interoperability in Autonomic SystemsDynamic Synthesis of Mediators to Support Interoperability in Autonomic Systems
Dynamic Synthesis of Mediators to Support Interoperability in Autonomic Systems
Amel Bennaceur
 
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...
Natalia Díaz Rodríguez
 
Architecture Analysis of Systems based on Publish-Subscribe Systems
Architecture Analysis of Systems based on Publish-Subscribe SystemsArchitecture Analysis of Systems based on Publish-Subscribe Systems
Architecture Analysis of Systems based on Publish-Subscribe Systems
Dharmalingam Ganesan
 
Ontology Mapping for Dynamic Multiagent Environment
Ontology Mapping for Dynamic Multiagent Environment Ontology Mapping for Dynamic Multiagent Environment
Ontology Mapping for Dynamic Multiagent Environment
IJORCS
 
Wireless network basics
Wireless network basicsWireless network basics
Wireless network basics
Kumar
 
Computer Architecture: A quantitative approach - Cap4 - Section 3
Computer Architecture: A quantitative approach - Cap4 - Section 3Computer Architecture: A quantitative approach - Cap4 - Section 3
Computer Architecture: A quantitative approach - Cap4 - Section 3
Marcelo Arbore
 

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

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

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

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