INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE ...
INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in...
Transcript of INF 5120 Modelbased System development...2) Get an IBM Cloud/Bluemix account 3) Do an exercise in...
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/1.jpg)
Telecom and Informatics 1
INF5120
”Modelbased System development”
Lecture 6: 19.02.2018 Arne-Jørgen Berre
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/3.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/4.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/5.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/6.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/7.jpg)
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://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/9.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/10.jpg)
![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://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/11.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/12.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/13.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/14.jpg)
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://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/15.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/16.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/17.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/18.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/19.jpg)
![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://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/20.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/21.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/22.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/23.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/24.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/25.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/26.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/27.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/28.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/29.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/30.jpg)
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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/31.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/32.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/33.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/34.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/35.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/36.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/37.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/38.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/39.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/40.jpg)
![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](https://reader033.fdocuments.in/reader033/viewer/2022060901/609e4a0d51b2da0c18144728/html5/thumbnails/41.jpg)