inf 5120 modelbased system development...2) get an ibm cloud/bluemix account 3) do an exercise in...

41
Telecom and Informatics 1 INF5120 Modelbased System developmentLecture 6: 19.02.2018 Arne-Jørgen Berre [email protected] and [email protected]

Upload: others

Post on 31-Dec-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Telecom and Informatics 1

INF5120

”Modelbased System development”

Lecture 6: 19.02.2018 Arne-Jørgen Berre

[email protected] and [email protected]

Page 2: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Course parts (16 lectures) - 2018

2

Part I-a -(Introduction to Modeling):

15/1 - Start

1-15/1: Introduction to INF5120

Part I-b -(Introduction to Business Architecture and Business Modeling

2-22/1: Modeling structure and behaviour (UML and UML 2.0 and metamodeling)

3-29/1: Business Modeling – BMC, LSC, VDML/VDMBee, (w/meta model) - (Business Model Canvas, Value Proposition, Lean Canvas

Part II - (Modeling – Server side – Node-RED + THingML + Sensors/IoT/Cloud - and the Smart X project): )

4-5/2: BPMN process - UML Activ.Diagram + Flow modelling Node-RED - establish Oblig groups (3-4 persons)

5-12/2: Node-RED/IBM Bluemix/Cloud– getting started + Individual Oblig + VDMBee/VDML

6-19/2: Cognitive Services/AI – Watson services example (for Oblig 1 and 2) (IBM Cloud – presentation from IBM Norway)

7-26/2: ArchiMate 3.0 Modeling + Design Thinking

8-5/3: Smart Office - Design Thinking workshop – IBM new office, Lakkegata 33, Oslo

5/3 - Oblig 1: Smart Office – Individual )Node-RED )

9-12/3: ThingML + server side +Service Modeling + Process Modeling ArchiMate

Part IIi - (Modeling – UI – Client side – Apps + EA/ArchiMate)

10- 19/3: UI App development with IBM Cloud – refer IFML/WebRatio, UI Start lecture – incl. CJML and ArchiMate (for Oblig 3)

19/3 - Oblig 2: Smart Office – Business Architecture – ArchiMate, UML, BPMN

EASTER – 26/3 and 2/4

11- 9/4 UI – Server – EA with ArchiMate - discussion/presentation

16/4 - Oblig 3: Smart Building – Server side and Client side– 10%

Part IV - (MDE – Creating Your own Domain Specific Language – Eclipse, Xtext/SIRIUS):

12-16/4: MDE with Xtext and SIRIUS

13-23/4: MDE transformations, Non Functional requirements

14-30/5 Guest lecture

15-7/5 Guest lecture

14/5 - Oblig 4 - Your own Domain Specific Language – (DSL-x) - 10%

16-14/5: Summary of the course

Mandag 21/5 – PINSE

17-28/5: Conclusions, Previous exams – group collaborations Preparations for the Exam by old exams (+ 4/6, + 11/6)

15/6: Exam (4 hours), Friday June 15th, 1430-1830 - ) - 60%

Page 3: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Core modeling- 2018

3

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

Oblig 1 – IBM Cloud – Node-RED individual

Oblig 2 - Business -BMC, ArchiMate,

Oblig 3 - Project - Node-RED,

Oblig 4 – MDE – CJML in S

Page 4: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Platform based development Example: IBM Cloud Services

Page 5: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Watson IoT

Page 6: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Watson Analytics

Page 7: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Watson AI – Cognitive services

Page 8: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

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

Page 9: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 10: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 11: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

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

Page 12: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 13: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 14: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Chatbot conversation

Page 15: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

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

Page 16: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Oblig - Project

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

• 2) Get an IBM Cloud/Bluemix account

• 3) Do an exercise in Node-RED (filter x)

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

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

• 6) Be creative and innovative on an idea for "Smart Office/Smart Home" – using TJBot -

• 5) Get a setup for the Hardware of TJBot – Raspberry PI – To realise a TJBot

Page 17: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Input – Services - Output

Page 18: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 19: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 20: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

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

Page 21: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

21

Obligs - Smart X Toolbox – for Rapid IoT system building - with Node-RED, Raspberry Pi, IBM Cloud/Bluemix/Watson IoT, NoSQL, ….

ThingML

IoT Hub,

- Analytics

- Visualisation

- Apps

Oblig 1: Business Architecture Models with BMC/LSC/VDML

Oblig 2: Server side Models, with Node-RED, UML, ThingML

Oblig 3: Client side Models, with UI access/Apps

Oblig 4: Domain Specific Language (DSL)

Sensors

and

Actuators

Page 22: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Course components

22

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 X "

3+1 OBLIGS

Enterprise Architecture

Business Architecture

(BMC,LSC,VDML) BPMN

Page 23: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Modeling languages and Zachman Framework

23

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

Service Process

Data

Behaviour

ThingML

CloudML

Node-RED

State

ArchiMate/TOGAF

Program

Workflow

ArchiMate

CJML

Page 24: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

IBM Cloud/Bluemix

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

http://console.bluemix.net/registration

Page 25: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

TJBot Resources

https://ibmtjbot.github.io/

Page 26: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

TJBot Receipes

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

Page 27: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Conversation

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

Page 28: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Watson IoT

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

Page 29: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Watson AI platform

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

Page 30: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image

Node-RED System Flow example

30

Page 31: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 32: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 33: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 34: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 35: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 36: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 37: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 38: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 39: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 40: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image
Page 41: INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in Node-RED (filter x) 4) Try out IBM Watson t a) ChatBot Conversation and/or b)Image