88
7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockho lm 1 VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

  • Upload
    shawna

  • View
    28

  • Download
    0

Embed Size (px)

DESCRIPTION

VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005. Agenda Tuesday 7 June 1000 – 1700 10.00 – 11.30 Welcome and presentation of the DATEX2 project 11.30 – 12.30 Lunch - PowerPoint PPT Presentation

Citation preview

Page 1: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 1

VIKING Domain2DATEX2 Workshop

in

Stockholm

7 - 8 June 2005

Page 2: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 2

Agenda Tuesday 7 June 1000 – 1700

10.00 – 11.30 Welcome and presentation of the DATEX2 project

11.30 – 12.30 Lunch

12.30 – 14.30 Presentation of the data model and data dictionary (WP 1 and 2)

14.30 – 14.50 Coffee

14.50 – 15.30 Presentation of the data model and data dictionary (cont.)

15.30 – 16.30 Discussion and conclusions about the data model and data dictionary

16.30 – 17.00 Presentation of the XML schema (WP 3) and discussion

19.00 Dinner

Page 3: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 3

Wednesday 8 June 8.30 – 12.30

08.30 – 09.00 Presentation of the Platform Independent Model (PIM) for data exchange (WP 4)

09.00 – 09.30 Discussion and conclusions about the PIM for data exchange

09.30 – 10.00 Presentation of the study for Platform Specific Models (PSM) for data exchange and “Low cost profile” (WP 4 and 5)

10.00 – 10.20 Coffee

10.20 – 10.50 Discussion and conclusions about PSM for data exchange and “Low cost profile”

10.50 – 11.20 Presentation of the study for migration (WP 6) and discussion

11.20 – 12.30 Concluding discussions and harmonising of Viking viewpoints

12.30 Close of workshop and lunch

Page 4: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 4

Background

• Standardisation – CEN ENV13106 and ENV13777

• DATEX MoU – organisation – GAS,SMC,TC – User Fora

• EC – role

• EG-Projects - members

Page 5: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 5

The DATEX2 Project

• Tender procedures• Organisation• Work packages• Progress• Status today • TC´s role• Ongoing work

Page 6: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 6

DATEX2 Project - Organisation

• The European Commission - owner of the study,The DATEX2 Project finances and signs the contract.

• The DATEX Technical Committee (TC) - supports the Commission in the programme definition and the technical aspects of the study.

• The contractor - a consortium of experts led by Faber Maunsell.

Page 7: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 7

2003

2004

2005

2007

2006

EC initiative for a DATEX projectTechnical specificationPreannouncment for a DATEX projectInvitation to tenderStart of the project

FM consortium – 6 wpTC monitoring

End of the DATEX2 projectTC continues the work

Interoperability between a RP and a LCPMigration

Demonstrator – ITS Barcelona 2006 Testing and validationReleased documents

DATEX2 implementations

Page 8: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 8

DATEX2 Project

• WP1: Data Model

• WP2: Data dictionary

• WP3: XML schema

• WP4: Exchange model and PSM study

• WP5: Low cost profile

• WP6: Migration

Page 9: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 9

WP1: Data Model

• Content Platform Independent Model (PIM)

• Described in UML

Page 10: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 10

WP2: Data dictionary

• Revision of the current DATEX Data Dictionary (ENV 13106)

• Requirements from EC - DATEX TC and CEN TC278 WG8

Page 11: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 11

WP3: XML schema

• Derived from the data model

• Generated by software

Page 12: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 12

WP4: Exchange model and PSM study

• Exchange Platform Independent Model (PIM)

• Exchange Platform Specific Model (PSM) study

Page 13: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 13

WP5: Low cost profile

• Simple and low cost

• Minimum implementation and link establishment complexity

Page 14: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 14

WP6: Migration

• Migration path from old Datex

• Backwards compatibility issues

Page 15: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 15

DATEX Technical Committee

Strategical road map for DATEX2

Page 16: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 16

DATEX Objectives

Facilitate the widespread exchange of travel information in EU through the use of common standards and best practice for both public-sector and commercial interests and ensure there are mechanisms in place to make them happen.

Page 17: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 17

The way to the market

1. Finalize the DATEX2 project

2. Produce usable DATEX2 documents (DATEX 2.0 specifications) – PIM Data Model incl. Data Dictionary– PIM Data Exchange– XML-schema– PSM Data Exchange using HTTP, XML

and Web Services– ”Low cost profile” (subset of ”Regular

profile”)

Page 18: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 18

The way to the market

Cont.

3. Implementation of demonstrators

4. Evaluation of demonstrators

5. Produce DATEX 2.1 specifications for the market

Page 19: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 19

The way to the market

Cont.

6. Organize and implement DATEX support

7. Start the standardisation process in CEN

Page 20: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 20

The way to the market

Comments:

• ”Low cost profile” is a true subset of ”Regular profile”

• Migration is a matter of normal upgrading or implementation of a new system and is handled by the users of DATEX

Page 21: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 21

Strategical road map for DATEX2

End

Page 22: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 22

Relationship with Other Initiatives

– ISO TC204 WG9.1

• Should be considered in modelling activity

– CENTRICO OTAP

• The initial phase of OTAP should be a simple form of the interface defined in this standard.

• The Platform Independent Models used in OTAP should be compatible with the models defined in this standard

– Trident

• Experience in the PT domain is useful

Page 23: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 23

Structure

• Divide Project into:

– Platform Independent Model (PIM)

• Independent of the implementation technology

• Universal across all implementations

– Platform Specific Model (PSM)

• Specific to the implementation technology

• One model for each technology

• New models added as new technologies become available

Page 24: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 24

The DATEX Project

INTERFACE

UML Mapping requirements/restrictions to implementationtechnologiesPlatform

SpecificModel(PSM)

JAVA RMIImplementation

PlatformIndependent

Model(PIM)

XML (HTTP)Implementation

XML Schema

CORBAImplementation

IDL

EDIFACT(FTP - ISDN)

Implementation

SOAP(XML - HTTP)

ImplementationXML Schema

EDIFACT(FTP - HTTP))

Implementation

???

Exchange Mechanism / Protocol(Interface Definition - technology Independent)

Various levels of sophistication(simplest being OTAP)

Modelling/Definition of I/F objects& methods (+ sequence, state,

collaboration diagrams)

PIMTesting /

CertificationStrategy

(Independentof

technology)

Static UML Information Data Models(DATEX Data Object Models)

Universal modelsindependent of Technology

(see UML mappingrestrictions)

UML Static Models of Objects(defining relationships,

attributes but no methods)

Methodology for Development ofStatic UML Information Models

PSMTesting /

CertificationStrategy

(Specific toTechnology)

Data Dictionary(Data Registry ISO 14817 ?)

Input fromISO

TC204

Location Referencing(on-the-fly referencing ?)

INTERFACE

Page 25: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 25

Platform Independent Model (PIM)

• Methodology for developing Static Information Publication Models

• Static UML Information Publication Models (DATEX Data Objects)

• Location Referencing

• Data Dictionary

• Exchange Mechanism / Protocol (PIM interface)

• PIM Testing/Certification Strategy

Page 26: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 26

Platform Specific Model (PSM)

• UML Mapping Requirements/Restrictions to specific technology

• Technology Specific Model (one for each technology)

• PSM Testing/Certification Strategy (one for each technology)

Page 27: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 27

PIM - 1

• Static UML Information Publication Models (DATEX Data Objects)

– What Data Objects are to be modelled?

• ACC, INC, RMK, LOS, TTM, AVS, CTT, FLO, IVD etc.

• new object types e.g. both fixed and moving images

– All attributes in Data Dictionary or only those known to be used?

– Multimodality (PT) ?

Page 28: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 28

PIM - 2

• Location Referencing

– What system? Compare options

• AlertC Location Code

• TPEGLoc

• ....

– Extendable to PT ?

– On-the-fly referencing ?

Page 29: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 29

PIM - 3

• Data Dictionary

– Static (frozen) or dynamic dictionary?

– Application to Data Registry (ISO 14817)

– Data Directory functions ?

Page 30: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 30

PIM - 4

• Exchange Mechanism / Protocol

– Various levels of sophistication

– Simplest being initial like OTAP

– Objects with behaviour (methods)

– Sequence, state and collaboration diagrams

Page 31: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 31

PIM - 5

• PIM Testing/Certification Strategy

– Defined testing/certification strategy for each level of sophistication of the interface

– Is independent of the implementation technology

– Will be used as basis for PSM testing/certification strategies

Page 32: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 32

PSM - 1

• UML Mapping Requirements/Restrictions

– Each technology may impose restrictions on validity of UML models, e.g.

• UML Profile for CORBA

• XMI

Page 33: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 33

PSM - 2

• Technology Specific Model

– Each technology will have its own model defined

– Will define how the Interface specified in the PIM is mapped on to the specific technology, e.g.

• IDL for CORBA

• XML Schema for XML over HTTP

– Each model will define link management appropriate to the technology

Page 34: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 34

PSM - 3

• PSM Testing/Certification Strategy

– Specific testing/certification strategy for each implementation technology

– Defined testing/certification strategy for each level of sophistication of the interface

– PIM Testing/Certification Strategy will be used as a basis

Page 35: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 35

WP 1

• Type of model

• MDA

• Deliverables

• Constrains report

• Tools

• Model content

• Detail study of the model

Page 36: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 36

Type of model

• UML model

• Model driven Architecture (MDA)

• It is a content model for exchange of traffic information– It’s not a data model that you put in a database

– It’s not a model that you need to have in a TIC system.

• In the model we describe the information and how it relates to other information.

• It’s the content/payload

• Independent of technology

Page 37: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 37

MDA

• Model Driven Architecture

• Defined by OMG (Object Management Group)

• PIM (Platform Independent Model)

• PSM (Platform Specific Model)

• A PIM can be realized in more then one PSM.

• DATEX1 technology dependent

Page 38: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 38

Deliverables

• Constrains report– Notation– Rules and UML constrains– Naming conventions– Extension mechanisms– Tagged values– Data types

• UML model

Page 39: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 39

Requirements

• Input from– DATEX1– TRIDENT– OTAP– National extensions– Etc

• All inclusion option was chosen

Page 40: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 40

Data types

• Generic data type are defined like Integer, String etc.

• Support that you can create your own specific data types. Those have to be derived from a Generic data type.

• E.g.– Old Attribute SpeedInMetersPerSecond– Now

• A data type called MetersPerSecond• An attribute called Speed with data type

MetersPerSecond

Page 41: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 41

Tools

• Enterprise Architect, http://www.sparxsystems.com.au/

• Cheap 200€

• Free viewer

Page 42: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 42

Model content

• Four high level packages– General– Payload (WP1)– Exchange (WP4)– Management (?)

Page 43: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 43

Model contentcd D2LogicalModel

Payload

+ Payload

+ Publication

General

+ DataTypes

+ Location

+ PayloadEnumerations

+ ReusableClasses

Exchange

+ Authorization

+ CatalogueReference

+ Compression

+ Encryption

+ Exchange

+ FilterReference

+ Subscription

+ Target

+ ExchangeEnumerations

D2LogicalModel

Exchange::Exchange

+ supplierIdentification: String+ clientIdentification: String [0..1]+ requestType: RequestTypeEnum [0..1]+ response: ResponseEnum [0..1]+ subscriptionReference: GUID [0..1]+ keepAlive: Boolean [0..1]+ creationTime: DateTime+ deliveryBreak: Boolean [0..1]+ changedFlag: ChangedFlagEnum [0..1]+ historicalStartDate: DateTime [0..1]+ historicalStopDate: DateTime [0..1]

Payload::Payload

1

1

1

1

+conveys

+toBeExchanged

uses

Page 44: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 44

General

cd General

ReusableClasses

+ DataCharacteristics

+ HazardousMaterials

+ HeaderInformation

+ Mobility

+ NonManagedCause

+ Record

+ RecordIdentifier

+ Restriction

+ SituationRecord

+ SourceInformation

+ TrafficViewRecord

+ ClassificationScheme

+ ElaboratedData

+ Impact

+ People

+ Period

+ Vehicles

+ WeatherRelated

+ TrafficElement

+ OperatorAction

+ Advice

PayloadEnumerations

+ PayloadEnumerations

+ AtoD

+ EtoH

+ ItoM

+ LocationEnums

+ NtoR

+ StoZ

Location

+ AlertCDirection

+ AlertCLinear

+ AlertCLocation

+ AlertCPoint

+ AlertCPrimaryPointLocation

+ AlertCSecondaryPointLocation

+ Area

+ Destination

+ GroupOfLocations

+ Itinerary

+ ItineraryIdentifier

+ Linear

+ Location

+ NetworkLocation

+ OffsetDistance

+ Point

+ PointsByCoordinates

+ PositionalDescription

+ TPEGLanguage

+ AlertCArea

+ AlertCLinearByCode

+ AlertCMethod2Linear

+ AlertCMethod2Point

+ AlertCMethod4Linear

+ AlertCMethod4Point

+ TPEGAreaLocation

+ TPEGDescriptor

+ TPEGEnumerations

+ TPEGLinearLocation

+ TPEGPointLocation

DataTypes

+ Generic

+ Specific

Page 45: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 45

Payload

cd Payload

Payload

«abstract»Publication::Publication

Page 46: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 46

Payload Publicationscd Publication

«abstract»Publication

CataloguePublication::CataloguePublication

ElaboratedDataPublication::ElaboratedDataPublication

LocationTablePublication::LocationTablePublication

MassDataPublication::MassDataPublication

MeasurementTablePublication::MeasurementTablePublication

SituationPublication::SituationPublication

TrafficViewPublication::TrafficViewPublication

FilterPublication::FilterPublication

NetworkViewPublication::NetworkViewPublication

Page 47: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 47

Publications

• Show all publications

• Focus on – SituationPublication– MassDataPublication

Page 48: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 48

DATEX2 vs DATEX1

• All is identified with GUID• Not bound to AlertC LocationCode• TPEGLoc support• X and Y support• No Trigrams• A real data model• Hierarchical “attributes”• Split in TrafficElements and

OperatorAction• Old DOB’s have a separate definition of

what it contains.

Page 49: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 49

Summary

• Large model – union

• Not finished, but a good starting point

• Refinement of traffic data?

• Core model and national extensions?

Page 50: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 50

WP 2

• Role

• Tools

• Format

Page 51: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 51

Role

• Same function as the old Data Dictionary

• Include all definitions

Page 52: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 52

Tools

• Definitions are in the PIM UML model, as tagged values.

• The tag “Definition”

• The dictionary is created with a tool that extracts all definitions and puts those in a Word document.

Page 53: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 53

More definitions

• Not all definitions are in the UML model– Vehicle classification– Speed classification – etc– Other describing text

• Currently no domain ranges

Page 54: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 54

Summary

• The final document will be created when the model is finished.

• Tight connection to the model

• National DD are still needed for translation

Page 55: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 55

WP 3

• Deliverables

• The role of the XML Schema

• The process

• The tool

• Demo create a Schema

• Demo create a XML document

• Summary

Page 56: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 56

Deliverables

• Word document describing the process and the rules

• XSD conversion tool

Page 57: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 57

The role of the XML Schema

• XSD

• The XML Schema will be the base in all PSM implementations.

• Act as a specification of the protocol

• Validation

Page 58: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 58

The process

DATEX 2UML Model

Enterprise Architect

DATEX 2 Conversion Tool

XML Schema

XML Spy

saved as XMI

saved as XSD

DATEX 2Namespaces

&Data Type

Transformation

saved as Config.XML

Page 59: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 59

The tool

• Developed in C# (MS.Net)

• Open Source

• The tool reads an XMI file and creates an XSD file.

• XMI (OMG specification, how to store an UML model in XML)

Page 60: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 60

Demo

• Create a Schema

• Create a XML document

Page 61: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 61

Summary

• Very simple to create a XML Schema from the UML model.

• The tool also helps validating the UML model.

Page 62: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 62

WP 4

• Background

• Deliverables

• Deliverable modes

• Define the Exchange package

Page 63: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 63

Background

• At a PIM level define the exchange mechanism

• The dynamic features

• Without choosing technology

Page 64: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 64

Deliverables

• UML model – Sequence diagrams– Exchange package

• Word document

Page 65: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 65

The document

• System overview

• Defines Actors

• Use cases

• Deliverable modes

Page 66: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 66

The document

Page 67: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 67

Use cases

Page 68: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 68

Exchange

Page 69: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 69

Sequence diagrams

Page 70: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 70

Summary

• Sometimes handles internal things

• A lot of optional things

• A more clear definition of the interface is needed.

Page 71: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 71

WP4 PSM study

• Background

• Deliverables

• Summary

Page 72: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 72

Background

• The study has, evaluate and proposed the best suited technology for the “regular profile”

Page 73: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 73

Deliverable

• Document

• A workshop

Page 74: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 74

DocumentPossible Candidates

• Transport Control Protocol / Internet Protocol– TCP/IP is the basis for all following communication protocols. In addition it

can be used on its own and is known as socket connection. It is a powerful and flexible platform, but programming TCP/IP as it is can be a complex job.

• File Transfer Protocol– FTP is a simple and widely used protocol. Its functionality is limited though.

• Hyper Text Transfer Protocol– HTTP is a simple and standardised protocol. Its functionality is limited and

additionally leads to some server overhead.• Remote Method Invocation

– Java RMI is relatively simple, powerful and flexible. It uses HTTP as communication medium. It is pure Java so it inherits all advantages and disadvantages of Java.

• Common Object Request Broker Architecture– CORBA is powerful and flexible. Its complexity is a big disadvantage.

• Web Service– Web services are software-powered resources or functional components

whose capabilities can be accessed via internet. Standards-based web services use XML to interact with each other, which allows them to link up on demand. Web Services use HTTP as communication medium.

Page 75: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 75

Study criteria

• Referring to ISO 9126

• Functionality, performance, usability etc.

• Out comes a matrix

• The winner was…

Page 76: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 76

Outcome from workshop

• Workshop in January 2005

• The workshop agreed on technology

• Web Services, HTTP, XML

Page 77: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 77

Summary

• Web services the best suited technology for Datex2.

Page 78: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 78

WP 5

• Background

• Deliverables

• Summary

Page 79: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 79

Background

• Low cost profile

• OTAP inspired

Page 80: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 80

Deliverable

• A short document

Page 81: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 81

Basic idea

• Subset of regular profile

• Client requests only

• No subscription management

• All data sent every time

• Cheap and easy to implement

Page 82: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 82

Summary

• Ongoing project in Centrico

• Looks like OTAP exchange

• DATEX2 content

• Compatible with Regular profile SERTI

Page 83: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 83

Conclusions and Viking statements

• Data model and Data Dictionary– Union vs core model– Traffic data and refinement– Structure

Page 84: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 84

Refinement chain

Data collection

Data supplier

Refinement of data

Content provider

Refinement to services

Service provider

Dissemination to road user

Distributor

Presentation and use

Road user

Main objectives:

• Traffic safety

• Availability

• Environment

Page 85: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 85

Conclusions and Viking statements

• Exchange model– Degree of refinement– Level of standardisation

Page 86: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 86

Conclusions and Viking statements

• Low cost profile– Subset of regular profile?– Matter of implementation?

Page 87: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 87

Conclusions and Viking statements

• Migration– Matter of implementation?– Issue for the market and users?

Page 88: VIKING Domain2 DATEX2 Workshop in Stockholm 7 - 8 June 2005

7-8 June 2005 Viking Domain 2 DATEX2 Workshop in Stockholm 88

Viking and DATEX2

• Swedish test implementation 2005

• Viking test sites?– Denmark– Finland– Germany– Norway