Composition-based Interaction Design for Adaptable Distributed Software Systems

Similar documents
Kenji Tei Associate Professor National Institute of Informatics, Japan

User s Guide. OM-EL-WiFi-TH. Shop online at omega.com. OM-EL-WiFi-T-PLUS. Data Logging Sensor

ScienceDirect. Analogy between immune system and sensor replacement using mobile robots on wireless sensor networks

Monitoring the environment with a Cloud Robotics Service

Project acronym: TraSer. Duration: 36 months. System Architecture

User s Guide. OM-EL-WiFi-TH. Shop online at omega.com. OM-EL-WiFi-TP-PLUS. Probe Data Logging Sensor

ebro has expanded its wide range of loggers in the food sector even further: ebro Data Logger Family EBI 20

Prime Capsule Portable Data Logger

Supplementary Manual for Model 287a Ionizer Performance Analyzer. 287a-1/100A V1.12 P/N

A Goal Model Elaboration for Localizing Changes in Software Evolution

EBI 25 Wireless Data Logger System

At 5% print coverage (A4 or Letter size). The actual number of printed pages will vary depending on the average type of print job and paper.

Active Recognition and Manipulation of Simple Parts Exploiting 3D Information

HW4 Software version 3. HP23 Humidity Temperature Indicator

Modeling Requirements

Temperature & Humidity Datalogger

Extend Your Security into Multi-dimension

EL-WiFi-TH -

Advancing AiHD Cloud Solution

Wireless Sensor Networks Chapter 7: Naming & Addressing

Temperature logger with internal sensor Instruction manual

Table of Contents & Introduction 2 Product features & composition. 3 Functions Specifications

Modellistica Medica. Maria Grazia Pia, INFN Genova. Scuola di Specializzazione in Fisica Sanitaria Genova Anno Accademico

On-board wireless temperature and humidity logger

GRYF. Measuring Instruments. measuring electrochemical and physical values. monitoring the environment. controlling technological processes

Chapter 7: Naming & Addressing

AUTOMATED GARBAGE COLLECTION USING GPS AND GSM. Shobana G 1, Sureshkumar R 2

DICKSON FH320/325 & FT300/325 DICKSON. Temperature/Humidity Recorder. Specifications. Applications & Product. Product. Contents: Getting Started

EasyLog Bluetooth. quick start guide

8.3 cloud roadmap. Dr. Andrei Borshchev, CEO Nikolay Churkov, Head of Software Development. The AnyLogic Company Conference 2018 Baltimore

PRODUCT GUIDE. Your Data, Anytime, Anywhere.

INSTRUCTION MANUAL CONTAINS: MOUNTING DIMENSION: For RVs,Caravans,and boats METER for duo-battery charging solar controller,

8 CHANNEL ANALOG DATA LOGGER

Service-Oriented Computing in Recomposable Embedded Systems

! SCARLET TECH. WL11-WS/WSD Wireless Wind Logger User Guide

Sygonix Home Starter Kit

MEDICAL, PHARMACEUTICAL & VETERINARY TEMPERATURE & HUMIDITY DATA LOGGERS

EasyLog 21CFR Compatible Temperature, Humidity & Dew Point Data Logger with LCD Screen

testo 184 Data logger Instruction manual


Wireless Irrigation Control System

What can IoT do for Facility Management? Marie Lassborn, Yanzi Anders Thun, Microsoft

Temperature/Rh Data logger. Users Manual. USB Datalogger IP 65 Water Proof

Services Techniques 1616 René-Levesque Ouest. Technical specifications Timing Sheet August 2017

NHT-310. Broadband EM Field Meter: DC 40 GHz. HAVSCo LTD. Key Features:

Effective Waste Collection with Shortest Path Semi-Static and Dynamic Routing

1366 INSTRUCTION MANUAL

Novel Signaling Scheme for 1x CDMA based Femtocell Networks

F %RH. %rf CO 2. g/m 3. inch H₂O. hpa. Measure. Record. Monitor. Choose the right data loggers for your application now.

Management of Intelligent Campus Wireless Sensor Networks Based on Runtime Model

Presented by Viraj Anagal Kaushik Mada. Presented to Dr. Mohamed Mahmoud. ECE 6900 Fall 2014 Date: 09/29/2014 1

A Very Short Introduction to Pervasive Computing

Handheld GPS/GSM Tracker MH2000. Quick Start USER MANUAL. Version 1.04 Release date:

PROGRAMMING FOR THE INTERNET OF THINGS: USING WINDOWS 10 IOT CORE AND AZURE IOT SUITE (DEVELOPER REFERENCE) BY DAWID BORYCKI

Humidity & Temperature Datalogger

Dr Robot C# Advance Sentinel 2. Demo Program. Version: June Copyright 2008, Dr Robot Inc. All Rights Reserved.

Data logger systems from ROTRONIC

Aggregation and Segregation Mechanisms. AM, EE141, Swarm Intelligence, W4-1

Highlights. Main Features. Product Images: Mini Trooper 2-Camera Wire-Free Video Security System

A Modular Software Framework for Eye-Hand Coordination in Humanoid Robots

go Measurement-System

BESANTEK USB Data Logger Instructional Manual (BST-DL10, BST-DL13, BST-DL14)

Smart Ocean Smart Hockey Puck Padlock Data Sheet

WIRELESS ACCELEROMETER

TR100-A / TR200-A. Temperature / Humidity Data Loggers. Users Manual. For detailed specifications and ordering info go to

BST-DL114 / BST-DL115/BST-DL116/BST-DL117 Wireless Monitor Temperature Humidity Data Logger. Manual V1.0

Web-based Building Energy Consumption Monitoring and Conservation Service DONG Wei1, a

Portal Quick Start Guide Portal version 1.9

L2 - Internet of Things

KNX T-UP. Temperature Sensor. Technical specifications and installation instructions

Introduction to ThingWorx

USER MANUAL. Sens it SENS IT 2.1

Mission interface. Technical Documentation

Actuated Sensor Networks: a 40-minute rant on convergence of vision, robotics, and sensor networks

An introduction to Machine Learning silicon

RMS Monitoring Software System Operation

S500 Series. Operation manual for GSM temperature humidity data logger

Supply voltage 230 V AC Service button 1

Your Development Partner for Innovative Electronics and Embedded Software Solutions. Jakob Bjerre

Field Equipment for Measuring Electrical Conductivity, Humidity and ph of Soil

A REASONING COMPONENT S CONSTRUCTION FOR PLANNING REGIONAL AGRICULTURAL ADVANTAGEOUS INDUSTRY DEVELOPMENT

IMU6420 V0.98 Data Logger Release Notes January 12, 2013

Emerging Vision Technologies: Enabling a New Era of Intelligent Devices

HIGH TEMPERATURE / FOOD PASTEURIZATION LOGGER

PLAYBACK MODE. Blue: Manual Record. Red: White: Motion Detection Record Schedule Record

The Future of Lighting Is Smart. Martin Mueller Roger Sexton

CM-700 Technical Information

4G and 5G Cellular Technologies Enable Intelligent Transportation Use Cases

Always there to help you. Register your product and get support at TX2BT. Question? Contact Philips.

Temperature logger with display Instruction Manual

Steven Edouard SDET, US - DX Audience West Microsoft Bruno Terkaly Principal Software Engineer - Microsoft

Collaborative Alliance for Semiconductor Test (CAST) Special Interest Group (SIG) Rich Interactive Test Data Base (RITdb) 2017

Implementation and Operation of Mobility in WIDE

Web-enabled DAQ System

testo Comfort Software Professional 4 Instruction manual

Ralph Bauknecht Siemens Industry Sector Siemens Industry Software GmbH Weissacher Straße 11 D Stuttgart siemens.

RADI-CEM. User manual. MPB S.r.l. Via Giacomo Peroni 400/ Rome - Italy. Tel Fax

testo Comfort Software Professional 4 Instruction manual

English. Quick Guide

PRODUCT DESCRIPTION PACKAGE CONTENTS

Transcription:

Composition-based Interaction Design for Adaptable Distributed Software Systems Kenji Tei Assistant Professor, National Institute of Informatics

Self-Introduction : Kenji Tei Assistant professor at NII tei@nii.ac.jp http://researchmap.jp/teikenji Research Interests adaptive software system model-driven development, software architecture networked embedded systems especially wireless sensor networks recently IoT, wireless control systems, and robots GRACE Center 2

Distributed Software System Service-oriented (cloud) system robots network sensor network networked control system 3

Adaptive Systems self-adaptation systems that are able to modify their behavior and/or structure in response to their perception of the environment and the system itself, and their requirements Rogério de Lemos, et.al., Software Engineering for Self-Adaptive Systems: A Second Research Roadmap, SEAMS2011. Specification Domain properties(assumptions) S, D = R Goal/Requirement Adaptation S, D = R Modify S in response to changes in D to satisfy R off-line : Adaptive maintenance on-line : Self-adaptation Carlo Ghezzi, The fading boundary between development time and run time, SEAMS 2011 4

Our Focus self-adaptive software Analyze Analyze Analyze Plan Plan Plan monitoring Adaptation Engine Adaptable Software Monitor Monitor Monitor Execute Execute Execute effecting MAPE loops How to develop adaptable software to be adaptable? Adaptable software should be developed to support one or more solutions All solutions should be tightly related to requirements 5

Adaptable Software Development Req. analysis Architecture Design Detailed Design Impl. R S Analyze & Decide method level Conditional charged maintained level disposed Station Control loop for battery maintenance Analyze & Decide Analyze& Decide swept Object with Got close to Migration avoiding obstacles object direction picked up Object and Object Current obstacle found position Current position appearance position detected and cleaning Control loop for approaching object result bin Load Control loop for cleaning amount senddatatype = HUMIDITY senddatatype = ACCELERATION transmissioncondition = 10 min transmissioncondition = 30 sec compress = Huffman datatype = HUMIDITY datatype = ACCELERATION deploymentcondition = ALL deploymentcondition = ALL samplingcondition = 0.2 sec id = 141 id = 146 id = 153 location = 3F location = 3F location = 3F datatype = TEMPERATURE datatype = DEFORMATION deploymentcondition = ALL deploymentcondition = ALL : TemporalAggregationTask appearance unloaded Load capacity not Load amount into dustbin exceeded Analyze & Decide Control loop for load amount management senddatatype = TEMPERATURE transmissioncondition = 10 min senddatatype = DEFORMATION transmissioncondition = 10 min inputdatatype = DEFORMATION function = AVERAGE timewindow = 100 min duration = 10 min adaptation S Conditional swept picked up appearance and cleaning result appearance disposed Control loop for cleaning Analyze & Decide method charged Station Current position detected Analyze & Decide maintained Analyze& Decide Current position Object Object found Got close to object level Control loop for battery maintenance Migration direction Object position Control loop for approaching object Traceability links between R and S should be maintained Changes in S for adaptation should be localized level datatype = HUMIDITY datatype = TEMPERATURE senddatatype = HUMIDITY transmissioncondition = 10 min deploymentcondition = ALL id = 141 location = 3F deploymentcondition = ALL senddatatype = TEMPERATURE transmissioncondition = 10 min id = 146 location = 3F senddatatype = ACCELERATION transmissioncondition = 30 sec compress = Huffman deploymentcondition = ALL id = 153 location = 3F deploymentcondition = ALL senddatatype = DEFORMATION transmissioncondition = 10 min datatype = ACCELERATION samplingcondition = 0.2 sec datatype = DEFORMATION : TemporalAggregationTask inputdatatype = DEFORMATION function = AVERAGE timewindow = 100 min duration = 10 min

Architecture Design for Distributed Software Req. analysis Architecture Design Detailed Design Impl. method Conditional disposed charged Analyze & Decide maintained level level swept Analyze & Decide Station Control loop for battery maintenance Requirements (Goal) picked up appearance and cleaning result appearance Control loop for cleaning Analyze& Decide Current position detected Current position Object Object found Got close to object Structural models A A A A B B B B Interactions C C C C Migration direction Object position Control loop for approaching object Structure design component-based software structure component allocation to subsystems Behavior design interaction between subsystems local behavior in a subsystem Behavioral models

Traceablity between R and S to Localize Changes Structural view R Behavioral view S / Manager Drone Logger/ Robot/ / Manager Drone Logger/ cfp Robot/ / Manager Drone cfp Logger/ Robot/ cfp refuse6proposal refuse6proposal accept6proposal refuse6proposal accept6proposal Un;l/ accept6proposal Un;l/ Un;l/ Send6map Send6map Send6map Interaction 8

Importance of Interaction Design Interaction is usually designed to satisfy one or more requirements especially, for networked embedded system, reliability, performance, security, etc..., will be affected by interaction design One interaction is related to many concerns centralized/decentralized coordination, logging, compression, encryption, retransmission, etc 9

Room System Scenario 10

Less Traceability between R and S(Interaction) scattering interweaving Manager* Room* sensor * robot* Logging** server* Manager Mobile/ robot / robot/ Logging/ server/ cfp request auth5request refuse6proposal accept6proposal accept... Un:l* Un;l/ mapping hard to localize changes for adaptation 11

Our Approach : Composition-based Interaction Design (1) design a piece of interaction Base Obser ver request, Send, Send,map obseving 3 Robot3 Requeste Room* r Sensor request auth.request user.info accept Inrom.* Request er cfp propos e Mobile- Robot refuse2proposal accept2 proposal inform2 loop Sen der Failure0 Result Rece iver (2) automate compositions of interactions Manager* Room* sensor * robot* Logging** server* Manager Mobile/ robot / robot/ Logging/ server/ cfp request auth5request refuse6proposal accept6proposal accept... Un:l* Un;l/

Interaction Composition Complete interaction can be achieved by composing sub-interactions corresponding to a requirement Base Obse rver Roo mba Requ ester Dr Dr on on e e e Dron Drone Drone Leader Drone Rumba Logger request- Send- obseving cfp refuse-proposal cfp Send-map acceptproposal inform- Com pose refuse-proposal accept-proposal Until 処理が成功 loop Failure Result Send-map

Interaction Composition Complete interaction can be achieved by composing sub-interactions corresponding to a requirement Base Obse rver Roo mba Request R_Sen er sor request Drone Drone Leader Drone Rumba Logger request- Send- Send-map obseving auth-request user-info accept Inrom- Com pose request auth-request accept Until 処理が成功 loop Failure Result Send-map 14

Requ ester Dron e Ongoing Work : Composition-based Interaction Design Identify specifications of interaction pieces from goal model goal elaboration process to clarify requirements for interaction pieces, Compose interactions bind roles and data, and merge message sequences explore and find a composition satisfying all their constraints R. Takahashi, F.Ishikawa, K.Tei, and Y.Fukazawa: Intention-based Automated Composition Approach for Coordination Protocol, ICWS2013. Detailed behavior design and implementation should also be changed according to the changed interaction local behaviors and implementation are also designed to be composable Base Obser ver Room ba0 request, Send, obseving Send,map cfp Dro Dro ne ne Com pose refuse,proposal accept,proposal inform, 15

Summary Interaction is high level design decision about behavior of distributed software system one or more solutions exist for one requirement Adaptable software should be designed to support one or more interactions for each requirement however, traceability link between req. and interactions is unclear To clarify traceability between requirements and interactions, we adopt composition-based approach one requirement corresponds to one interaction piece complete interaction can be achieve by composing interaction pieces easy to change solutions of a certain requirement 16

Overview of works in NII Req. analysis Architecture Design Exploration of adaptation space Fuyuki Ishikawa Adaptation space analysis Detailed Design Impl. Traceability maintenance to localize changes Conditional swept picked up appearance and cleaning result appearance disposed Control loop for cleaning method Analyze & Decide Current position charged Station Current position detected Analyze & Decide maintained Analyze& Decide Object with avoiding obstacles unloaded into dustbin Got close to object Object and obstacle found level Control loop for battery maintenance bin Load capacity not exceeded Analyze & Decide Control loop for approaching object Control loop for load amount management adaptation Migration direction Object position Load amount Load amount level datatype = HUMIDITY datatype = TEMPERATURE senddatatype = HUMIDITY transmissioncondition = 10 min deploymentcondition = ALL id = 141 location = 3F deploymentcondition = ALL senddatatype = TEMPERATURE transmissioncondition = 10 min id = 146 location = 3F senddatatype = ACCELERATION transmissioncondition = 30 sec compress = Huffman deploymentcondition = ALL id = 153 location = 3F deploymentcondition = ALL senddatatype = DEFORMATION transmissioncondition = 10 min datatype = ACCELERATION samplingcondition = 0.2 sec datatype = DEFORMATION : TemporalAggregationTask inputdatatype = DEFORMATION function = AVERAGE timewindow = 100 min duration = 10 min Designing Self-adaptive System using Putback-based Bidirectional Programming Control Loops Shinichi Honiden Zhenjiang Hu Bidirectional Graph Transformation Infrastr and its Applications Soichiro Hidaka Change propagation Composition-based interaction design Conditional disposed Analyze & Decide swept for adaptable distributed software systems Kenji Tei picked up appearance and cleaning result appearance Control loop for cleaning method charged Station Current position detected Analyze & Decide maintained Analyze& Decide Current position Object Object found Got close to object level Control loop for battery maintenance Migration direction Object position Control loop for approaching object level senddatatype = HUMIDITY senddatatype = ACCELERATION transmissioncondition = 10 min transmissioncondition = 30 sec compress = Huffman datatype = HUMIDITY datatype = ACCELERATION deploymentcondition = ALL deploymentcondition = ALL samplingcondition = 0.2 sec id = 141 id = 146 id = 153 location = 3F location = 3F location = 3F datatype = TEMPERATURE datatype = DEFORMATION deploymentcondition = ALL deploymentcondition = ALL : TemporalAggregationTask inputdatatype = DEFORMATION senddatatype = TEMPERATURE senddatatype = DEFORMATION function = AVERAGE transmissioncondition = 10 min transmissioncondition = 10 min timewindow = 100 min duration = 10 min