INF5120 ”Modellbasert Systemutvikling” ”Modelbased System development” Lecture 3: 30.01.2012 Arne-Jørgen Berre arneb@ifi.uio.no or Arne.J.Berre@sintef.no Telecom and Informatics 1 INF5120 - Lecture plan - 2012 Part I: SSI – Service Innovation and Agile Service/Software Engineering Part II: SSMDE – Model Driven Engineering Part III – Model Driven Interoperability and ADM 1: 16/1: Introduction to Model Based System Development (INF5120) 2: 23/1: SIE I: Enterprise Architecture, Role modeling-Collaboration and Value Networks – Verna Allee (VNA) 3: 30/1: SIE II:: Business Process Modeling with BPMN 2.0 and Business Model Innovation - Peter Lindgren (BMI) 4: 6/2: SIE III: AT ONE – Service Design, Agile User-oriented design – with Use cases/stories and UI models 5: 13/2: SIE IV: Service modeling with SoaML – Service modeling - Design, patterns 6: 20/2: SIE V: Information Modeling with UML and Design with DCI - Design, patterns 7: 27/2: MDE I: Software Process Model Frameworks – Essence/SEMAT, SPEM, EPF and ISO 24744 –Shihong Huang/Brian Elvesæter 8: 5/3: MDE II: Metamodels, Domain specific languages and UML profiles (Franck Fleurey) 9: 12/3: MDE III: Metamodeling, MDLE and DSL Tools (EMF, GMF, ATL, Kermeta) 10: 19/3: MDE IV: Model transformations - MOFScript, QVT DSLs with examples 11: 26/3: MDE V: Internet Service Architectures - with BPM/BPEL and SOA/Cloud transformations 2/4, 9/4: EASTER 12: 16/4: MDE VI: User Interface Modeling – IFML etc. - ESITO 13: 23/4: MDI I: Semantic technologies, Ontologies and Semantic annotations , Rules/SBVR 14: 30/4: MDI II: Model Driven Service Interoperability 15: 7/5: MDI III: ADM and Migration to Cloud computing 16: 13/5: Conclusion and Summary for INF5120 - Preparation of Exam Exam: Monday June 4th, 2011, 1430-1830 (4 hours) Telecom and Informatics 2 INF5120 – Oblig/Exercise plan - 2012 1: 16/1: None 2: 23/1: Guest lecture: Value Networks – Verna Allee (VNA) 3: 30/1: Guest lecture: Business Model Innovation - Peter Lindgren (BMI) – Establish groups 4: 6/2: AT ONE initial exercise – overall approach for Oblig 1 – “myServiceFellow” 5: 13/2: Group presentation 6: 20/2: Group presentation 7: 27/2: Group presentation 8: 5/3: MDE Tools – introduction – Oblig 2 intro 9: 12/3: MDE Tools II - EMF 10: 19/3: MDE Transformation tools 11: 26/3: MDE V: Internet Service Architectures - with BPM/BPEL and SOA/Cloud transformations 2/4, 9/4: EASTER 12: 16/4: MDE User Interface tools – ESITO o.a. 13: 23/4: Oblig 2 questions 14: 30/4: Oblig 2 delivery 15: 7/5: Oblig 2 summary 16: 13/5: Conclusion and Summary for INF5120 - Preparation of Exam Exam: Monday June 4th, 2011, 1430-1830 (4 hours) Telecom and Informatics 3 Outline SiSaS methodology, sisas.modelbased.net Oblig 1 NEFFICS methodology, neffics.modelbased.net BPMN 2.0 Business Model Innovation Telecom and Informatics SiSaS – SINTEF Software as a Service Methodology, sisas.modelbased.net Telecom and Informatics 5 SiSaS – Disciplines and Practices Telecom and Informatics 6 Telecom and Informatics 7 Telecom and Informatics 8 Oblig 1 – Group work – Service Innovation and Design Service Innovation and Design - for the Informatics Department and students at the University of Oslo -Value Networks (23/1) -BPMN processes (30/1) -Business Model Innovation (30/1) -AT ONE methodology (6/2) -Service Innovation/identification/design/specification (13/2) -Any areas for innovative services/apps/applications ? -Use Modelio UML tool, www.modeliosoft.com -Establish groups today Telecom and Informatics 9 Oblig 1 – Group work – Service Innovation and Design Service Innovation and Design - for the Informatics Department and students at the University of Oslo Groups of 2-4 persons Select one focus area within the processes and services of Ifi that you would like to concentrate on. Course registration, Course interaction, Study lab, ….. Consider all touchpoints between you and Ifi. Telecom and Informatics 10 BPMN (Business Process Model and Notation) Telecom and Informatics What is BPMN ? Telecom and Informatics BPMN example Telecom and Informatics BPMN 2.0 and SoaML tools today BPMN 2.0 Signavio has 2.0 Conversation and Choreography diagrams – a SaaS solution Most BPMN 1.2 are doing stepwise migration, making existing parts 2.0 compliant SoaML (in most UML tools) Magic Draw (Cameo), Enterprise Architect, IBM RSA/RSM, Modelio, … Telecom and Informatics BPMN History BPMN 1.0 (BPMI) – Mai 2004 BPMN1.x BPMN 1.1 (OMG) – Januar 2008 BPMN 1.2 (OMG) – Januar 2009 BPMN 2.0 final Juni 2010 http://www.omg.org/spec/BPMN/2.0/ 16 Telecom and Informatics History for BPMN Telecom and Informatics BPMI.org Hourglass Audiences: Business Environment Purposes: Business Analysts BPMN Modeling rocess Designers Focus BP Scope tegy Consultants System Architects BPEL Execution ftware Engineers Technology Implementation Telecom and Informatics BPMN requirements Telecom and Informatics Core Set of Diagram Elements The core set of modeling elements enable the easy development simple Business Process Diagrams that will look familiar to most Business Analysts (a flowchart diagram) Telecom and Informatics Complete Set of Diagram Elements, Events An Event is something that “happens” during the course of a business process. These Events affect the flow of the Process and usually have a trigger or a result. They can start, interrupt, or end the flow. Telecom and Informatics Complete Set of Diagram Elements, Activities, Cont. A Sub-Process can be in an expanded form that shows the process details of the a lowerlevel set of activities. Telecom and Informatics Complete Set of Diagram Elements, Gateways Gateways are modeling elements that are used to control how Sequence Flows interact as they converge and diverge within a Process. If the flow does not need to be controlled, then a Gateway is not needed. Telecom and Informatics BPMN Diagram elements Telecom and Informatics Diagram elements (2) Telecom and Informatics Activities Telecom and Informatics Task Telecom and Informatics Sub-processes Telecom and Informatics Events Telecom and Informatics Start Events Telecom and Informatics Intermediate Events Telecom and Informatics Intermediate events (normal flow) Telecom and Informatics Intermediate events (linked to Boundary) Telecom and Informatics End events Telecom and Informatics Gateways Telecom and Informatics Exclusive Gateways Telecom and Informatics Exclusive Gateways, based on data Telecom and Informatics Exclusive Gateways, based on events Telecom and Informatics Inclusive Gateways Telecom and Informatics Complex Gateways Telecom and Informatics Complex Gateways Telecom and Informatics Parallell Gateways Telecom and Informatics Conectors Telecom and Informatics Sequence flow Telecom and Informatics Conditions in sequence flow Telecom and Informatics Default sequence flow Telecom and Informatics Message flow Telecom and Informatics Associations Telecom and Informatics Swim lanes Telecom and Informatics Pool Telecom and Informatics Lanes Telecom and Informatics Artifacts Telecom and Informatics Text annotations Telecom and Informatics Data objects Telecom and Informatics Groups Telecom and Informatics Extended artifacts Telecom and Informatics Normal flow Telecom and Informatics Link events Telecom and Informatics Process leves Telecom and Informatics Data flow Telecom and Informatics Exceptions Telecom and Informatics Compenations and transacations Telecom and Informatics Loops Telecom and Informatics Timers Telecom and Informatics Ad hoc processes Telecom and Informatics EPC og BPMN EPC EPC BPMN Telecom and Informatics Orchestration versus Choreography Telecom and Informatics Orkestrering Telecom and Informatics Koreografi Telecom and Informatics Eksempel Telecom and Informatics Prosess informasjon Telecom and Informatics Forslag Telecom and Informatics BPMN Eksempler … Telecom and Informatics Telecom and Informatics Telecom and Informatics Telecom and Informatics Telecom and Informatics Telecom and Informatics Example – doctor’s office A text description of the choreography was presented as so: 1) Patient send a "I want to see doctor" message to the Receptionist 2) Receptionist send a "Are you available ?" message to a a list of Doctors 3) One doctor send a "I'm available" message to the Receptionist. 4) Receptionist send a "I'll book you" message to the Doctor. 5) Receptionist send a "Go see doctor" message to the Patient 6) Patient send a "I feel sick" message to Doctor 7) Doctor send a "Prepare this medicine" message to Receptionist 8) Doctor send a "Pickup your medicine and you can leave" message to Patient 9) Patient send a "I need my medicine" message to Receptionist 10) Receptionist send a "Here is your medicine" message to Patient Telecom and Informatics Telecom and Informatics Telecom and Informatics Telecom and Informatics Telecom and Informatics Telecom and Informatics BPMN 2.0: Major changes from BPMN1.x Notational changes New diagrams for Choreography and Conversation New event-types (escalation, …) Non-interrupting events Event sub-process Call Activity– replaces linked/reusable activity Technical changes Formal metamodel – specified in UML Interchange formats for semantic model interchange (XMI, XSD) Interchange formats for diagram interchange (XMI, XSD) XSLT transformations between XMI and XSD formats Telecom and Informatics Process diagram Flowchart view to sequence activities within an organization Support the modeling of simple processes Enhanced by BPMN to handle more complex concepts, such as exception handling, transactions, and compensation. Telecom and Informatics Collaboration diagram Provides a view of the interactions (flow of messages) between two or more business partners (Participants). Collaborations can be combined with Processes to show how the interactions are related to the internal Process activities. Telecom and Informatics Collaboration diagram example Telecom and Informatics Conversation diagram example Telecom and Informatics Allows a modeler to group Collaboration interactions between two or more Participants, which together achieve a common goal, e.g. “negotiate delivery” The grouping can be based on business keys such as customer id or shipping id. Corresponding choreography • Provides a flowchart view to example sequence interactions between Participants • Choreographies define a “business contract” or protocol to which the Participants agree to follow during real-time interactions. Telecom and Informatics Content EA and the Zachman Framework Architectural Frameworks - (IEEE/ 1471/ISO 42010, UML 2.x, TOGAF, UPDM (DODAF/MODAF) OO Modeling and abstraction levels Role modeling UML Collaboration modeling GRASP - General Responsibility Assignment Software Patterns VNA – Value Network Analysis, Verna Allee Telecom and Informatics 103 Zachman Framework – for Enterprise Architecture (IBM, 1987) VA Enterprise Architecture DATA What FUNCTION How NETWORK Where PEOPLE Who TIME When MOTIVATION Why SCOPE (CONTEXTUAL) Things Im portant to the Business Processes Performed Business locations Important Organiz ations Ev ents Signific ant to the Business Business Goals and Strategy Planner Entity = Class of Business Thing Function = Class of Business Process Node = Major Business Locations People = Major Organiz ations Time = Major Business Event Ends/Means = Major Business Goals ENTERPRISE MODEL (CONCEPTU AL) Semantic Model Business Process Model Business Logistic s System Work Flow Model Master Schedule Business Plan Owner Ent = Business Entity Proc = Business Process Rel = Business Relationship I/O = Business Resources Node = Business Location People = Organization Unit Time = Business Event Link = Business Linkage Work = Work Product Cycle = Business Cycle End = Business Objectiv e Means = Business Strategy SYSTEM MODEL (LOGICAL) Logical Data Model Application Architecture Distributed System Architecture Processing Structure Business Rule Model Designer Ent = Data Entity Rel = Data Relationship Proc = Application Function Node = IS Function People = Role I/O = User Views Link = Line Characteristic s Work = Deliv erable Time = System Event Cycle = Processing Cycle End = Structural Assertion Means = Action Assertion TECHNOLOGY MODEL (PHYSICAL) Physical Data Model System Design Control Structure Rule Design Builder Ent = Segment/Table Rel = Pointer/Key Proc = Computer Function Node = Hardware/Softw are People = User I/O = Data Elements /Sets Link = Line Specifications Work = Screen Format Time = Ex ecute End = Condition Cycle = Component Cycle Means = Action Program Security Architecture Timing Definition Rule Design Data DETAILED REPRESENTATIONS Definition (OUT-OF-CONTEXT) Technology Architecture Netw ork Architecture Human Interface Architecture Presentation Architecture Sub-Contractor Ent = Field Rel = Address Proc = Language Statement Node = Addresses I/O = Control Block Link = Protocols People = Identity Work = Job Time = Interrupt Cycle = Machine Cycle End = Sub-Condition Means = Step FUNCTIONING ENTERPRISE Data Function Netw ork Organiz ation Schedule Strategy Ent = Rel = Proc = I/O = Node = Link = People = Work = Time = Cycle = End = Means = DATA What FUNCTION How NETWORK Where PEOPLE Who TIME When Based on work by John A. Zachman SCOPE (CONTEXTUAL) Planner ENTERPRISE MODEL (CONCEPTU AL) Owner SYSTEM MODEL (LOGICAL) Designer TECHNOLOGY MODEL (PHYSICAL) Builder DETAILED REPRESENTATIONS (OUT-OF-CONTEXT) Sub-Contractor FUNCTIONING ENTERPRISE MOTIVATION Why Telecom and Informatics 104 Telecom and Informatics 105 Use of OMG metamodels BPMN (BPMN 2.0) BMM UML 2.0 SoaML OSM VDM Case Management SBVR ODM Telecom and Informatics 106 OMG standards coverage Data (What) Function (How) SBVR Network (Where) List of locations VDMwhich the business Scope (Contexts) List of things important to business List of processes that the business performs operates Business (Concepts) Semantic Model Business Process Model Business Logistics System Distributed System Architecture ODM People (Who) Time (When) Motivation (Why) List of events/cycles important to the business List of business goals/strategies Workflow Model Master Schedule Business Plan Human Interface Architecture Process Structure Business Rule Model OSM List of organizations important to the business BPMN BMM CMPM System (Logic) Logical Data Model Application Architecture Technology (Physics) Physical Data Model IMM (CWM) System Design Technology Architecture Presentation Architecture Structure DTFV Control Rule Design Component (Assemblies) Data Definition Program Network Architecture Security Architecture Timing Definition Rule Definition Operation (Instances) Data Function Network Organization Schedule Strategy SoaML UML Telecom and Informatics SBVR 107 UI Interactions Role SoaML BPMN Models Roles Functions Processes collaboration Implementation Interface Actors Goal oriented Use cases/stories UML Class Information Ontologies Tasks Orchestration Quality Information Coordination Context and Goals Requirements Design Function Structure Interaction ASD Framework with INF5120 Modeling techniques Data OCL EFA Extra Functional Aspects QoS SLA Model Driven Architecture/MDE Infrastructure Channels Resources Executors Workflows Telecom and Informatics Stores and Messages Monitoring, adaptation Businss Model Innovation The Alexander Osterwalder canvas Telecom and Informatics www.businessmodelgeneration.com Telecom and Informatics 110 www.businessmodelgeneration.com Telecom and Informatics www.neffics.eu EU project, 2010-2013, 4 Meuro, led by SINTEF & Induct Telecom and Informatics Business Model Innovation Peter Lindgren, Univ. of Aalborg Denmark 113 Telecom and Informatics Business Model Frameworks – with Modeling support – from NEFFICS Building block Incremental innovation ‘Do what we do but better’ Radical innovation ‘Do something different’ Value proposition Offering ’more of the same’ Offering something different (at least to the company) Target customer Existing market New market Value chain architecture [Internal] Exploitation (e.g. internal, lean, continuous improvements) Exploration (e.g. open, flexible, diversified) Familiar competences (e.g. improvement of existing technology, HR, organizational system, culture) Disruptively new, unfamiliar, competences (e.g. new emerging technology, new HR skills, organizational systems, culture) Familiar (fixed) network New (dynamic) networks (e.g. alliance, jointventure, community) Continuous improvements of existing relations (e.g. channels) New relations, relationships (e.g. channels physical, digital, virtual, personal) Competences Network Partners Relations Profit formula Existing processes to generate revenues followed-by/or incremental processes of retrenchments and cost cutting New processes to generate revenues followedby /or disruptive processes of retrenchments and cost cutting Telecom and Informatics 114 NEFFICS BMI (1/2) Telecom and Informatics NEFFICS BMI (2/2) Telecom and Informatics Basis for VDML standardisation Porter Value Chain Organization Model Capability Model Value Stream VDML Value Network REA-Resource Event Agent Business Model Shared Services Telecom and Informatics Osterwalder versus NEFFICS + new idea: Enhance role collaborations (with value networks) as a focal point for relations – supporting enactement and simulation of the model Relations Value network Value stream Value chain Network Role collaborations Target customers Value proposition Competences Profit formula (Cost+Revenue) REA (ownership - POA) Telecom and Informatics Next Lecture – February 6th, 2012 Service Innovation and Design AT ONE Requirements modeling and Use cases – User stories Service Design, Service Innovation and User Experiences Oblig 1 further details … Telecom and Informatics 119