inf 5120 oblig 1 - universitetet i oslo · inf 5120 oblig 1 service ... summary of at one

19
INF 5120 Oblig 1 Service Innovation in the Oslo Public Transport System

Upload: lamhanh

Post on 24-Jun-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

    

INF 5120  Oblig 1   

Service Innovation in the Oslo Public Transport System  

Page 2: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    2 

 

Table of Contents About the delivery ............................................................................................................................................... 3 

Part 1 ............................................................................................................................................................ 5 Summary of AT ONE ............................................................................................................................................ 5 Future Service Innovations .............................................................................................................................. 6 Value Network ...................................................................................................................................................... 6 

Part 2: BPMN .............................................................................................................................................. 8 Introduction of BPMN ......................................................................................................................................... 8 Navigate to the stop ............................................................................................................................................. 8 Buy your ticket via Mobile App ....................................................................................................................... 9 Activate your ticket .......................................................................................................................................... 10 Wait for the train and enjoy the journey on the train ......................................................................... 11 

Part 3: SoaML ........................................................................................................................................... 13 Introduction of SoaML ..................................................................................................................................... 13 Participants and Participant Model ........................................................................................................... 13 Service Contracts .............................................................................................................................................. 14 Message Types ................................................................................................................................................... 15 Interfaces ............................................................................................................................................................. 16 Service Architecture ........................................................................................................................................ 17 Mapping between BPMN and SoaML .......................................................................................................... 18 

   

Page 3: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    3 

 

Table of Figures  

Figure 1 AT ONE table of Service Journey ......................................................................................................... 5 

Figure 2 Value Network ............................................................................................................................................ 6 

Figure 3 BPMN Model: Navigation to the stop ................................................................................................ 7 

Figure 4 BPMN Model: Buy ticket via Mobile App ......................................................................................... 8 

Figure 5 BPMN Model: Activate ticket ................................................................................................................ 9 

Figure 6 BPMN model: Wait and enjoy journey on the train ................................................................. 10 

Figure 7 SoaML model structure ........................................................................................................................ 13 

Figure 8 Strucutre of Participants ..................................................................................................................... 12 

Figure 9 Partipicant Model ................................................................................................................................... 14 

Figure 10 Service contract structure ............................................................................................................... 13 

Figure 11 Service contracts .................................................................................................................................. 15 

Figure 12 Message Type Diagram ..................................................................................................................... 15 

Figure 13 Service Interface Diagram ................................................................................................................ 16 

Figure 14 Service Architecture Diagram ........................................................................................................ 16 

Figure 15 Mapping: Pool to partipicant .......................................................................................................... 18 

Figure 16 Mapping: Message to Message Type ........................................................................................... 18 

Figure 17 Mapping: Process frament to Service Contract ...................................................................... 19 

 

Page 4: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    4 

 

About the delivery  The inf5120_oblig1_2012.zip file includes the following three files:  1. The documentation and description of the oblig1, i.e. this PDF file: inf5120_oblig1 

_description_ document.pdf  

2. The final report of obig1, i.e. this PDF file: inf5120_oblig1_report_document.pdf 

3. The Modelio model file Inf5120_oblig1_Modelio_Model.zip   It includes  a) BPMN model as shown in Chapter 2: Business Modeling  

b) The SoaML models as shown in Chapter 3: Service Modeling  

Page 5: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    5 

Part 1 

Summary of AT ONE In the following possible service innovations are identified through the using of the AT ONE techniques.  

Therefore the relevant results in the five AT ONE areas, Actors, Touch points, Offerings, Needs and Experiences for both the current situation (white rows) and for your ideal future situation (blue rows) are described in the Figure 1.   

Service Journey 

Inform about the route 

Buy a ticket  Go to the stop  Activate your ticket 

Wait for the train  Drive with the train  Get off the train 

Actors  Customer Service Point Employee 

Customer Service Point Employee 

Customer Fellow Traveller 

Customer  Customer  Customer Driver Ticket Inspector 

Customer 

Touch‐points 

Internet Face‐to‐Face Mobile App 

Ticket Vending Machine Face‐to‐Face 

Signs Face‐to‐Face 

Ticket Validator (Sweeping Machine) 

Information Display Announcements 

Information Display Announcements Face‐to‐Face Mean of Transportation 

Door opener Stop button 

  Mobile App SMS Internet 

Mobile App  Mobile App SMS 

  Mobile App SMS 

Mobile App 

Offering  Different types of public transportation ways of getting to the destination 

Get further ticket information 

Location Maps at the stops Information board at the stop 

Validate through sweeping machine 

Display of the arrive time and accidents Enough seats 

Display of destination and next station Enough seats 

Announcement of the current station Button to stop train/bus  

Subscribe for regular information about one train/route 

Buy ticket also via internet or mobile app 

Electronic Card/Navigation Direction boards near a stop 

Information about the validation of the ticket Validate through mobile App 

Shelter from the rain 

  Reminder when you reach your destination (SMS, Alert) Information about further transportation possibilities 

Display the current location  on a electronic map 

Offering a info screen with  news for entertainment 

Offering beverages, book, etc.  

Needs  Find the fastest way to the destination 

Get the cheapest ticket for your trip 

Find the stop the shortest way 

Not travelling with an invalid ticket 

Information about arrival time Not miss the train 

Information how long it lasts till the destination 

Don’t miss the stop Get the door open 

Experience                                     Figure 1 AT ONE table of Service Journey 

ideal 

ideal 

Page 6: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    6 

Future Service Innovations  Buy your ticket via mobile App or Internet  Activate your ticket via SMS or mobile App  Subscribe for current information on your preferred routes  Electronic Navigation to the next stop  Display on an electronic map the location of the train (inside the train and at a stop)  Receive an SMS or get an Alert on your mobile phone when your train reaches your desired 

destination  Get Information about the validation of your ticket through the internet or mobile App  Shelter from the train when you are waiting for a means of transportation  Information Screen at the stops and in the train with news and interesting content to 

shorten the waiting time 

Value Network In the following there is the Value Network of the Oslo Public Transportation System. The roles in this diagram come from the Actors and Touchpoints identified through the AT – ONE Method. The most of the interaction in this environment have the goal getting more information. That is for example the departure time, the fastest way of getting to a destination or the cheapest ticket for a specific trip, which can be  shown in Figure 2 

 

Figure 2 Value Network

Page 7: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    7 

 

Page 8: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    8 

Part 2: BPMN 

Introduction of BPMN The Object Management Group (OMG) has developed a standard Business Process Model and Notation (BPMN). The primary goal of BPMN is to provide a notation that is readily understandable by all business users, from the business analysts that create the initial drafts of the processes, to the technical developers responsible for implementing the technology that will perform those processes, and finally, to the business people who will manage and monitor those processes. Thus, BPMN creates a standardized bridge for the gap between the business process design and process implementation.  

In this section BPMN models of the identified service innovations are presented. They specify the process of the service and the interactions between service providers and service users.  

Navigate to the stop In the current situation a traveller may meet some troubles to get to the stop. This service innovation helps the customer to find the nearest stop and the shortest way to it. The BPMN model for this process is shown in Figure 3.                    

Figure 3 BPMN Model: Navigation to the stop 

Page 9: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    9 

Buy your ticket via Mobile App In the current situation a traveller can only buy his ticket at a vending machine or a service point. This service innovation enables the traveller to buy a ticket also via his smart phone. Therefore he has to install the mobile App, register for the Ticket Service and load some money on his account. Then if he is late on time or there are a lot of people waiting in front of him at the Ticket Vending Machine, he can simply buy his ticket with his mobile phone.  The valid ticket is represented as QR‐Code at the mobile phone. The BPMN model for this process is shown in Figure 4.  Further requirements:  The activation of the ticket can be either in a fixed time span or he can activate his ticket online or via sms.  The ticket inspector is able to validate the QR‐Code in the mobile phone. 

                        Figure 4 BPMN Model: Buy ticket via Mobile App

Page 10: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    10 

Activate your ticket The current situation allows the customer to activate his ticket on the machine. In some situations a customer may be late on time or forgot is his travel card and can then buy a electronic ticket with his mobile app. The electronic ticket then can then be activated through requesting a SMS Code or a validated E‐Ticket via e‐Mail. If the ticket is successfully activated the customer gets a confirmation for this and receives some validation information.  The BPMN model for “Activate your ticket” process is shown in Figure 5. 

 

 

Figure 5 BPMN Model: Activate ticket 

Page 11: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    11 

Wait for the train and enjoy the journey on the train This service innovation with mobile app provides services while waiting for the train and traveling with the train. The BPMN model for “wait for the train and enjoy the journey on the train” process is shown in Figure 6.                                Figure 6 BPMN model: Wait and enjoy journey on the train

Page 12: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    12 

In this process, the customer can check the depart time of the train as well as the real‐time train state. If the transport centre receives the event that the train had an accident, information about the accident and the estimated time to fix it should be sent to customer if the train cannot be fixed and must be cancelled, an alternative option to reach the destination would be provided to customer.   The Customer can enjoy several services with the mobile app while travelling with the train. He can explore the travelling state and train state, and use a navigation function to see the current location and long it lasts to get to the destination. He can also get information about the destination, such as local area map, weather or the infrastructure nearby.  When it is about to get to off the train at destination, the app should remind customer to prepare with a ring and pop‐up message in the case of the customer sleeping.  

Page 13: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    13 

Part 3: SoaML 

Introduction of SoaML Service Oriented Architecture (SOA) is a way of describing and understanding organizations, communities and systems to maximize agility, scale and interoperability. SOA, then, is an architectural paradigm for defining how people, organizations and systems provide and use services to achieve results. Service oriented architecture Modeling Language (SoaML) is a extension to UML2 to support service concepts, and focuses on basic service modeling concept, besides, it is also a foundation for further extensions and integration with BPMN, BMM and other metamodels. 

Participants and Participant Model In this part we chose the “Activate your electronic ticket with mobile app” process to refine the services with SoaML.   

We build 7 kinds of models for this process with SoaML: Participant Model, Service Contract, Service Architecture, Providers, Consumers, Service Interface, and Message Type.  It is shown in Figure 7. 

 Figure 7 SoaML model structure 

We have three participants in the “Activate electronic ticket” process, they are Customer, MobileApp and TicketServer with several requests they send and services they provide. It is shown in figure 8.                   

 Figure 8 Strucutre of Participants

Page 14: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    14 

The Participant Model shows how the participants are related to each other with requests and services. It is shown in Figure 9. 

 Figure 9 Partipicant Model 

Service Contracts In this part, nine services contracts were identified from the BPMN model. Two between the Customer and Mobie App: requesting an activation and geting activation information. The other seven service contracts were identified between Mobile App and Ticket Server: checking user data, send user settings, requesting E‐ticket, sending failure messages, requeseting SMS code, sending E‐ticket activation data, and sending SMS activation data. The service contract structure is shown in Figure 10. 

                          

  Figure 10 Service contract structure

Page 15: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    15 

The first three identified service contracts are shown in Figure 11. 

 Figure 11 Service contracts 

 

Message Types The Message Types define the type of messages sent between two tasks in one contract, which represents the interaction of both provider and consumer. The Figure 12 below shows all the information by using attributes of classes.  

 Figure 12 Message Type Diagram 

 

Page 16: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    16 

 

Interfaces Figure 13 shows the interfaces and each one maps the corresponding contracts .From this diagram we can see each interface inherits the provider interface and meanwhile implements the consumer interface. These interfaces will be used to further detail the specification for the software components.  

 Figure 13 Service Interface Diagram 

  

Page 17: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    17 

Service Architecture In figure 14 the Service Architecture is described. There it is shown how the participant work together for getting a ticket activated. You can also see which services are used. The services are described trough the service contracts below.                           

  

Figure 14 Service Architecture Diagram 

Page 18: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    18 

Mapping between BPMN and SoaML When we built the SoaML diagrams we refer to the mapping rules you can find at http://epf.thingml.org/wikis/inf5120/index.html.  In the following we will show the mapping between BPMN and SoaML with the examples below of the “Activate ticket”. 

Mapping 1: Pool to participant (community‐level) A pool in BPMN stands for a business entity or a participant of a process. In this case, there are three pools in BPMN model (Customer, Mobile App, Ticket Server), which correspond to the three participants in SoaML model. This issue is represented in the figure 15.  

BPMN: Pool  SoaML: Participant 

 

 Figure 15 Mapping: Pool to partipicant 

 

Mapping 2: Message to MessageType The data on the message flow between two tasks in the BPMN model corresponds to one MessageType in the SoaML model. An example form our models is shown in figure 16.  

BPMN  SoaML

 

 Figure 16 Mapping: Message to Message Type 

 

Page 19: INF 5120 Oblig 1 - Universitetet i oslo · INF 5120 Oblig 1 Service ... Summary of AT ONE

Inf5120 Oblig 1    19 

 

Mapping 3: Process fragment (pattern) to service contract There is no single construct in BPMN that resembles a service contract. You need to analyse the BPMN processes and identify process fragments that can be mapped to service contracts.  A service contract defines a service specification that defines the roles each participant plays in the service, and the interfaces they implement to play that role in the service. There is a pattern of BPMN constructs defined that can be mapped to a service contract. The pattern describes a task sequence connected by a sequence flow, but the participants are represented through different pools. The two tasks that belong to a service contract also share a data object. In our example we have the pools Ticket Server and Mobile App, which participate in the contract. For the participants the tasks are the active elements. For the message flow between the two tasks a service contract is defined. You can see this correlation in the figure 17.  

BPMN  SoaML               

Figure 17 Mapping: Process frament to Service Contract