43
Telecom and Informatics 1 INF5120 Modelbased System developmentLecture 8: 04.03.2019 Arne-Jørgen Berre [email protected] and [email protected]

INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Telecom and Informatics 1

INF5120

”Modelbased System development”

Lecture 8: 04.03.2019Arne-Jørgen Berre

[email protected] and [email protected]

Page 2: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Course parts – 2019 (tentative plan)

2

◼ Part I-a -(Introduction to Modeling): ◼ 14/1 - Start◼ 1-14/1: Introduction to INF5120◼ Part I-b -(Introduction to Modeling and Metamodeling and)◼ 2-21/1: Modeling structure and behaviour (UML and UML 2.0 and metamodeling) ◼ 3-28/1: MDE with Eclipse EMF, Xtext and SIRIUS◼ 4-4/2: Business Modeling – BMC, LSC, VDML/VDMBee, (w/meta model) - (Business Model Canvas, Value Proposition,

Lean Canvas - VDMBee, VDML◼ Part II - (Business Architecture/Business Modeling Modeling + Server side – Node-RED + THingML + Sensors/IoT/Cloud -

and the Smart Home project): )◼ 5-11/2: BPMN◼ 6-18/2: ArchiMate 3.0 Modeling, TOGAF 9.0 ◼ 7-25/2: Node-RED Cognitive Services/AI – Watson services example (for Oblig 2) (IBM Cloud)◼ 8-4/3: Smart Home - Design Thinking + Chatbots◼ 9-11/3: Service Modeling with UML 2.X Collaboration Models and Composite Models and SoaML + CJML◼ 10- 18/3: UML 2.x Sequence Diagrams, UML 2.x State Machines. ArchiMate ArchIsurance, ArhiMetal examples, ◼ Group presentations – Oblig 1 ideas .. ◼ 11- 25/3 SysML and Arcadia/Capella and ThingML◼ Part IIi - (Modeling –Apps + EA/ArchiMate)◼ 1/4 - Oblig 1: Specification Models Smart Home – Business Architecture – Business Canvases, ++, ArchiMate + IBM

Cloud basis◼ 11- 1/4 UI – Server, UI Start lecture – incl. IFML – EA with ArchiMate - Oblig 2 (3) discussion/presentationPart IV - (MDE – Creating Your own Domain Specific Language – Eclipse, Xtext/SIRIUS): ◼ 12-8/4: Model driven engineering – revisited◼ EASTER – 15/4 and 22/4 ◼ 29/4 - Oblig 2 – delivery: Individual / Pairs - Metamodeling (Editor)◼ 13-29/4: MDE – Lexical (ThingML) and Graphical (CJML) DSLs and Transformations◼ 14-6/5 Lecture – Model Driven Engineering◼ 15-13/5 Lecture - Model Driven Engineering◼ 13/5 – Oblig 3- : Smart Home – Realisation with Node-RED, IBM Watson/IoT services + ArchiMate/UML++ Application,

Technology, Physical models – Smart Home demonstrations - 10%◼ 16-20/5: Summary of the course - Oblig 4 final discussions - Conclusions, Previous exams – group collaborations

Preparations for the Exam by old exams

◼ 3/6: Exam (4 hours), Mandag June 3rd, (0900-1300) - 70%

Page 3: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Course components

3

Model Driven

Engineering –

New DSL -3

Software Architecture with

Analytics and Visualisation

client -1

Software/System Architecture

Engineering for Technology

Platforms (Node-RED,

ThingML Server -2

"Smart Home "

3+1 OBLIGS

Enterprise Architecture

Business Architecture

(BMC,LSC,VDML)BPMN

Page 4: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Oblig 1 + 3 - Project Smart Home

• 1) Get familiar with Node-RED and VDMBee/BMC/VDML

• 2) Get an IBM Cloud/Bluemix account

• 3) Do an exercise/tutorial in Node-RED

• 4) Try out IBM Watson – a) ChatBot Conversation and/or b)Image Classification – ref. also Speech to text and text to Speech, c) IoT

• 5) Understand the possibilities of TJBot – with input/output and connection of Watson services

• 6) Be creative and innovative on an idea for "Smart Home" – usingsensors/actuators -

• 5) Prepare for a MVP – Minimum Viable Product – Demonstrator for the Smart Home

Oblig 2 - Editor for Domain Specific Language

Page 5: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Modeling languages and ZachmanFramework

5

Data

(What)

Function

(How)

Network

(Where)

People

(Who)

Time

(When)

Motivation

(Why)

Scope

(Contexts)

Business

(Concepts)

System

(Logic)

Technology

(Physics)

Component

(Assemblies)

List of things

important

to business

List of processes

that the business

performs

List of locations

which the business

operates

List of organizations

important to the

business

List of events/cycles

important to the

business

List of business

goals/strategies

Semantic Model

Business

Process

Model

Business

Logistics

System

Workflow

Model

Master

Schedule

Business

Plan

Logical Data ModelApplication

Architecture

Distributed

System

Architecture

Human

Interface

Architecture

Process

Structure

Business Rule

Model

Physical Data Model System DesignTechnology

Architecture

Presentation

Architecture

Control

Structure

Rule

Design

Data Definition ProgramNetwork

Architecture

Security

Architecture

Timing

Definition

Rule

Definition

Operation

(Instances)Data Function Network Organization Schedule Strategy

BMM

SBVR

VDM OSMSBVR

DTFV

BPMN

UMLIMM

(CWM)

CMPM

SoaML

ODM

UML

SoaML

BPMN

IFML

User interaction

ServiceProcess

Data

Behaviour

ThingML

CloudML

Node-RED

State

ArchiMate/TOGAF

Program

Workflow

ArchiMate

CJML

Page 6: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

IBM Cloud/Bluemix

http://www.onthehub.com/ibm/

http://console.bluemix.net/registration

Page 7: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Core modeling- 2019

7

◼ UML Class diagrams◼ BPMN◼ VDML – BMC – VDMBee◼ ArchiMate 3.0 Motivation/Strategy Business models◼ CJML

◼ Node-RED Flow models◼ Cognitive services – Conversation – workflow◼ TJBot - Chatbots ◼ IoT Watson ◼ ArchiMate 3.0 Application/Technology/Implementation models◼ ThingML◼ Sirius + Xtext

◼ Tutorials – IBM Cloud – Node-RED individual, …. (Individual/Pairs)◼ Oblig 1 - Project Smart Home - Business -BMC, ArchiMate, ◼ Oblig 2 – MDE – DSL Editor (Graphical or Lexical)◼ Oblig 3 - Project Smart Home - Node-RED, IBM Cloud

Page 8: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 9: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 10: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Platform baseddevelopment

Example:

IBM Cloud Services

Page 11: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Watson IoT

Page 12: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Watson Analytics

Page 13: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Watson AI – Cognitive services

Page 14: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

https://console.bluemix.net/catalog/?search=label:lite&category=watson

Page 15: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 16: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 17: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

https://www.ibm.com/watson/how-to-build-a-chatbot/

Page 18: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 19: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 20: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Chatbot conversation

Page 21: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

https://console.bluemix.net/developer/watson/dashboard

Page 22: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 23: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 24: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 25: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

https://console.bluemix.net/catalog/starters/internet-of-things-platform-starter

Page 26: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

TJBot Resourceshttps://ibmtjbot.github.io/

Page 27: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

TJBot Receipes

https://github.com/ibmtjbot/tjbot/tree/master/recipes

Page 28: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Conversation

https://github.com/ibmtjbot/tjbot/tree/master/recipes/conversation

Page 29: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Watson IoT

https://developer.ibm.com/academic/ibm-watson-internet-things-educator-guide/

Page 30: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Watson AI platform

https://developer.ibm.com/academic/watson-educator-guide/

Page 31: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

https://nodered.org/

Page 32: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 33: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 34: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)
Page 35: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Telecom and Informatics

Archi

35

http://www.archimatetool.com/

Page 36: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Telecom and Informatics 36

Page 37: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Telecom and Informatics 37

Page 38: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Telecom and Informatics 38

Page 39: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Telecom and Informatics

Overview of the ArchiMate concepts and main relationships.

Page 40: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Telecom and Informatics

Use case modeling

40

Page 41: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Telecom and Informatics

Template of a Use Case Description

……….

Page 42: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Telecom and Informatics

User Story template

◼ I <in the role of XX> needs functionality <zzz> to achieve

the goal of <YYY>

42

Page 43: INF5120 Modelbased System development - uio.no · Oblig 1 + 3 - Project Smart Home •1) Get familiar with Node-RED and VDMBee/BMC/VDML •2) Get an IBM Cloud/Bluemix account •3)

Telecom and Informatics

Backlog metamodel