Automated Synthesis of Software Artifacts for Middleware-layer - - PowerPoint PPT Presentation

automated synthesis of software artifacts for
SMART_READER_LITE
LIVE PREVIEW

Automated Synthesis of Software Artifacts for Middleware-layer - - PowerPoint PPT Presentation

Automated Synthesis of Software Artifacts for Middleware-layer Protocol Interoperability in the IoT Georgios Bouloukakis Donald Bren School of Information & Computer Sciences DSM Group, UC Irvine, June 2018 Enabling Emergent mobile systems


slide-1
SLIDE 1

Automated Synthesis of Software Artifacts for Middleware-layer Protocol Interoperability in the IoT

Georgios Bouloukakis

Donald Bren School of Information & Computer Sciences

DSM Group, UC Irvine, June 2018

slide-2
SLIDE 2

Enabling Emergent mobile systems in the IoT

2

TIM system

Dynamic Heterogeneous

  • Traffic Information Management (TIM) system:

Automated synthesis of interoperability artifacts – Georgios Bouloukakis

slide-3
SLIDE 3

IoT heterogeneity at multiple layers

3

CoAP

Physical layer Data Link layer (MAC & LLC) Network layer Transport Layer Middleware layer Application layer Physical layer Data Link layer (MAC & LLC) Network layer Transport Layer Middleware layer Application layer

IP

Automated synthesis of interoperability artifacts – Georgios Bouloukakis

slide-4
SLIDE 4

Middleware protocols in the mobile IoT

4

DPWS CoAP MQTT ZeroMQ WebSockets …. Client-server Pub/sub Streaming …. reliable/unreliable mobile connectivity ….

Automated synthesis of interoperability artifacts – Georgios Bouloukakis

slide-5
SLIDE 5

Heterogeneous interconnections in the mobile IoT

5

Protocol X Protocol Y

vehicle-devices Yannis

 How to enable interconnections in the mobile IoT ?  What is the end-to-end QoS of the interconnection ?

Bridging middleware protocols Convergence to a single protocol Convergence to a single protocol Relying on a service bus Providing common API abstractions Providing common API abstractions

evaluation of specific protocols and their interconnections performance evaluation in pub/sub systems formal analysis of coupling in distributed architectures

Automated synthesis of interoperability artifacts – Georgios Bouloukakis

slide-6
SLIDE 6

Our proposed solution

6

vehicle-devices

Protocol Y Protocol X

systematic solution to interoperability end-to-end performance analysis

Yannis

Automated synthesis of interoperability artifacts – Georgios Bouloukakis

  • push-based
  • resource
  • data feeds lifetime
  • unreliable
  • pub/sub
  • topic
  • mobile connectivity
  • reliable

functional semantics QoS semantics e.g. CoAP server e.g. MQTT subscriber

Automated synthesis of interoperability artifacts:

  • enables functional middleware-layer interoperability

End-to-end performance modeling & analysis:

  • evaluates the interoperability effectiveness
slide-7
SLIDE 7

Models for core interaction paradigms

Automated synthesis of interoperability artifacts – Georgios Bouloukakis 7

Client–Service (CS)

  • Tight Time & Space Coupling

Publish-Subscribe (PS)

  • Time & Space Decoupling

client server subscriber broker publisher subscriber

Data Streaming (DS)

  • Tight Time & Space Coupling

Tuple Space (TS)

  • Time & Space Decoupling

consumer producer reader tspace writer taker

  • ne-way

two-way sync or async

  • ne-way

two-way stream two-way stream two-way sync

  • ne-way
slide-8
SLIDE 8

Generic Middleware (GM) connector model

Automated synthesis of interoperability artifacts – Georgios Bouloukakis 8

  • Our generic connector defines 4 basic interaction types:
  • ne-way

two-way async two-way sync two-way stream

each interaction is represented as combination of post and get primitives post and get primitives abstract CS, PS, DS and TS primitives

We rely on the GM abstraction to introduce

  • ur middleware protocol interoperability solution
slide-9
SLIDE 9

bus protocol

Our middleware protocol interoperability solution

Automated synthesis of interoperability artifacts – Georgios Bouloukakis 9

  • eVolution Service Bus (VSB)1

vehicle- device PS Protocol X DS Protocol Y

ACCEPT data PUBLISH event

Binding Component 1 Binding Component 2

 BC architecture: relies on GM for automated BC synthesis  Primitives & data conversion between the bus protocol and the Things’ protocols  A universal way to describe the Things’ I/O required

Protocol X Protocol Y

GM connector A GM connector C GM connector B

bus protocol

BC logic BC logic

mobile app

1 G. Bouloukakis et al., ICSOC, 2016

slide-10
SLIDE 10

Automated BC synthesis

Automated synthesis of interoperability artifacts – Georgios Bouloukakis 10

{ "protocol": “Protocol Y”, "operations": { "operation_1": { "type": "stream", "role": “consumer", "scope": "location", "input_data" : " lon,lat" } } }

BC generator

Generic BC

Generic BC logic GM API GM API

GM connector X GM connector Y

GM API

<< Protocol Pool >>

Protocol X Protocol Y Protocol Z

… Concrete BC

Concrete BC logic GM for Bus protocol GM for Protocol Y Bus protocol Protocol Y

  • Generic Interface Description Language (GIDL) & Generic BC
slide-11
SLIDE 11

VSB novelty

Automated synthesis of interoperability artifacts – Georgios Bouloukakis 11

vehicle device MQTT traffic light CoAP estimation service REST Binding Component

MQTT CoAP

Binding Component

CoAP REST

  • Lightweight bus
  • Any bus protocol
  • BCs employed only when necessary
  • Support for any protocol classified under CS, PS, DS & TS
  • Automated BC synthesis
  • 75-96 % person-hours reduction when using VSB
  • Evolution support
slide-12
SLIDE 12

Software artifacts and adoption

12

  • VSB is part of the zefxis1 platform (https://gitlab.inria.fr/zefxis):
  • BC generator: https://gitlab.inria.fr/zefxis/BCgenerator
  • Eclipse plugin for defining Things’ GIDLs: https://gitlab.inria.fr/zefxis/GIDL
  • Web console: https://gitlab.inria.fr/zefxis/IoT-web-console
  • Demos:
  • BC generation: https://youtu.be/UgfM3810RS8
  • Web console installation: https://youtu.be/IGjZ5u3QYOw
  • Fire Detection scenario: https://youtu.be/SJeiqJkBhls
  • VSB is used as a core component in H2020 CHOReVOLUTION project

1zefxis in ancient Greek (ζεῦξις) means connection or coupling

slide-13
SLIDE 13

Thank you!

Automated synthesis of interoperability artifacts – Georgios Bouloukakis