achieving interoperability through semantics-based technologies: the instant messaging case

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, 15 th November 2012

Upload: amel-bennaceur

Post on 25-Jun-2015

115 views

Category:

Technology


1 download

DESCRIPTION

Presented at ISWC 2012 The paper is available at http://hal.inria.fr/hal-00721280/en

TRANSCRIPT

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

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

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

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

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

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

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

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

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

×

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

5

Existing Approaches to Interoperability

Standard: chosen shared language

e.g., XMPP

Interoperability platforms: one talks all languages

e.g., Pidgin, Adium

× × Transparent interoperability: Auxiliary language

e.g., J-EAI, CrossTalk

×

Transform on the fly using an intermediary system (the mediator) : Babel fish

e.g., WSMX

How can we synthesise ‘correct’ mediators automatically and deploy them on the network?

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

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

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

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

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

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

Dynamic Synthesis of Mediators

XMPPmodel

MSNPmodel

Behavioral Matching

Mediator

Modelling

Failure

Yes

No

Ontology-based Model Checking

Mediation

XMPPMSNP IM Ontology(OWL)

ab

dc

e

8

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

9

FSP Syntax FSP Semantics

Action Prefix

Choice

Parallel Composition

Sequence

Modelling of Interaction Protocols

FSP (Finite State Processes)• Semantics described using labelled transition systems• Verification supported by the LTSA model checker• Actions do not have any semantics

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

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

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

OFSP Specification of MSNP

1111

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

OFSP Specification of XMPP

1212

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

13

Ontology-based Reasoning about Interaction Protocols

Action Subsumption• is subsumed by iff

• • •

e.g.,

• •

is subsumed by

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

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

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

15

Ontology-based Model Checking

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

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

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

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

17

Implementation

Ontology-based Model Checking(OLTSA)

Composer 2

Parser 2

Parser 1Composer

1

Mediator

Synthesis

XMPP Client MSN Client

SOCKS ProxyBuddyManagement

BindingManagement

DSL Specof messages

DSL Specof messages

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

18

Mediator Performance

MSNP/MSNP

YMSG/YMSG

XMPP/XMPP

MSNP/YMSG

MSNP/XMPP

YMSG/XMPP

0

100

200

300

400

500

600

700

800

900

NativeHand-craftedAutomated

Ro

un

d T

rip

tim

e w

ith

10

0 c

ar

me

ss

ag

e (

ms

)

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

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

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

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

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

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

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

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

22

Thank you

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

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