1、BSI Standards PublicationPD ISO/TS 21219-2:2014Intelligent transport systems Traffic and travel information(TTI) via transport protocolexperts group, generation 2(TPEG2)Part 2: UML modelling rulesPD ISO/TS 21219-2:2014 PUBLISHED DOCUMENTNational forewordThis Published Document is the UK implementati
2、on of ISO/TS 21219-2:2014.The UK participation in its preparation was entrusted to Technical Committee EPL/278, Intelligent transport systems.A list of organizations represented on this committee can be obtained on request to its secretary.This publication does not purport to include all the necessa
3、ry provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2014.Published by BSI Standards Limited 2014ISBN 978 0 580 88644 7ICS 03.220.01; 35.240.60Compliance with a British Standard cannot confer immunity from legal obligations.This Published
4、Document was published under the authority of the Standards Policy and Strategy Committee on 30 November 2014.Amendments/corrigenda issued since publicationDate T e x t a f f e c t e dPD ISO/TS 21219-2:2014 ISO 2014Intelligent transport systems Traffic and travel information (TTI) via transport prot
5、ocol experts group, generation 2 (TPEG2) Part 2: UML modelling rulesSystmes intelligents de transport Informations sur le trafic et le tourisme via le groupe expert du protocole de transport, gnration 2 (TPEG2) Partie 2: Rgles de modelage UMLTECHNICAL SPECIFICATIONISO/TS21219-2First edition2014-09-1
6、5Reference numberISO/TS 21219-2:2014(E)PD ISO/TS 21219-2:2014ISO/TS 21219-2:2014(E)ii ISO 2014 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO 2014All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any means, ele
7、ctronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below or ISOs member body in the country of the requester.ISO copyright officeCase postale 56 CH-1211 Geneva 20Tel. +
8、 41 22 749 01 11Fax + 41 22 749 09 47E-mail copyrightiso.orgWeb www.iso.orgPublished in SwitzerlandPD ISO/TS 21219-2:2014ISO/TS 21219-2:2014(E) ISO 2014 All rights reserved iiiContents PageForeword ivIntroduction vi1 Scope . 12 Terms, definitions and abbreviated terms 12.1 Terms and definitions . 12
9、.2 Abbreviated terms . 23 TPEG UML model definition 23.1 Allowed UML elements 23.2 Modelling rules and recommendations . 73.3 Extending TPEG UML models 123.4 Adding documentation to TPEG UML models . 124 Drafting specifications using UML models .134.1 Specification of contents 134.2 Normative clause
10、s . 154.3 Specification of normative annexes . 16Annex A (normative) TPEG abstract data types .17Annex B (normative) TPEG tables 20Bibliography .44PD ISO/TS 21219-2:2014ISO/TS 21219-2:2014(E)ForewordISO (the International Organization for Standardization) is a worldwide federation of national standa
11、rds bodies (ISO member bodies). The work of preparing International Standards is normally carried out through ISO technical committees. Each member body interested in a subject for which a technical committee has been established has the right to be represented on that committee. International organ
12、izations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization.The procedures used to develop this document and those intended for its f
13、urther maintenance are described in the ISO/IEC Directives, Part 1. In particular the different approval criteria needed for the different types of ISO documents should be noted. This document was drafted in accordance with the editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/direc
14、tives). Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of any patent rights identified during the development of the document will be in the
15、 Introduction and/or on the ISO list of patent declarations received (see www.iso.org/patents). Any trade name used in this document is information given for the convenience of users and does not constitute an endorsement.For an explanation on the meaning of ISO specific terms and expressions relate
16、d to conformity assessment, as well as information about ISOs adherence to the WTO principles in the Technical Barriers to Trade (TBT) see the following URL: Foreword - Supplementary informationThe committee responsible for this document is ISO/TC 204 Intelligent transport systems, in cooperation wi
17、th the Traveller Information Services Association (TISA), TPEG Applications Working Group through Category A Liasion status. ISO/TS 21219 consists of the following parts, under the general title Intelligent transport systems Traffic and travel information (TTI) via transport protocol expert group, g
18、eneration 2 (TPEG2): Part 2: UML modelling rules Technical Specification Part 3: UML to binary conversion rules Technical Specification Part 4: UML to XML conversion rules Technical Specification Part 5: Service framework Technical Specification Part 6: Message management container Technical Specifi
19、cation Part 7: Location referencing container Technical Specification Part 18: Traffic flow and prediction application Technical SpecificationThe following parts are planned: Part 1: Introduction, numbering and version Technical Specification Part 9: Service and network information Technical Specifi
20、cation Part 10: Conditional access information Technical Specification Part 14: Parking information application Technical Specification Part 15: Traffic event compact application Technical Specification Part 16: Fuel price information application Technical Specificationiv ISO 2014 All rights reserve
21、dPD ISO/TS 21219-2:2014ISO/TS 21219-2:2014(E) Part 19: Weather information for travellers application Technical Specification Part 20: Extended TMC locations for applications Technical Specification Part 21: Geographic location referencing Technical Specification Part 22: OpenLRlocationreference Tec
22、hnical Specification ISO 2014 All rights reserved vPD ISO/TS 21219-2:2014ISO/TS 21219-2:2014(E)IntroductionHistoryTPEG technology was originally proposed by the European Broadcasting Union (EBU) Broadcast Management Committee, who established the B/TPEG project group in the autumn of 1997 with a bri
23、ef to develop, as soon as possible, a new protocol for broadcasting traffic and travel-related information in the multimedia environment. TPEG technology, its applications and service features were designed to enable travel-related messages to be coded, decoded, filtered and understood by humans (vi
24、sually and/or audibly in the users language) and by agent systems. Originally a byte-oriented data stream format, which may be carried on almost any digital bearer with an appropriate adaptation layer, was developed. Hierarchically structured TPEG messages from service providers to end-users were de
25、signed to transfer information from the service provider database to an end-users equipment.One year later in December 1998, the B/TPEG group produced its first EBU specifications. Two documents were released. Part 2 (TPEG-SSF, which became ISO/TS 18234-2) described the Syntax, Semantics and Framing
26、 structure, which was used for all TPEG applications. Meanwhile Part 4 (TPEG-RTM, which became ISO/TS 18234-4) described the first application, for Road Traffic Messages.Subsequently in March 1999, CEN TC 278/WG 4, in conjunction with ISO/TC 204/WG 10, established a project group comprising members
27、of the former EBU B/TPEG and they continued the work concurrently. Further parts were developed to make the initial set of four parts, enabling the implementation of a consistent service. Part 3 (TPEG-SNI, ISO/TS 18234-3) described the Service and Network Information Application, used by all service
28、 implementations to ensure appropriate referencing from one service source to another.Part 1 (TPEG-INV, ISO/TS 18234-1), completed the series, by describing the other parts and their relationship; it also contained the application IDs used within the other parts. Additionally, Part 5, the Public Tra
29、nsport Information Application (TPEG-PTI, ISO/TS 18234-5), was developed. The so-called TPEG-LOC location referencing method, which enabled both map-based TPEG-decoders and non map-based ones to deliver either map-based location referencing or human readable text information, was issued as ISO/TS 18
30、234-6 to be used in association with the other applications parts of the ISO/TS 18234-series to provide location referencing.The ISO/TS 18234-series has become known as TPEG Generation 1.TPEG Generation 2With the inauguration of the Traveller Information Services Association (TISA) in December 2007
31、derived from former Forums and the CEN/ISO development project group, the TPEG Applications Working Group took over development work for TPEG technology.It was about this time that the (then) new Unified Modeling Language (UML) was seen as having major advantages for the development of new TPEG Appl
32、ications in communities who would not necessarily have binary physical format skills required to extend the original TPEG TS work. It was also realised that the XML format for TPEG described within the ISO/TS 24530-series (now superseded) had a greater significance than previously foreseen; especial
33、ly in the content-generation segment and that keeping two physical formats in synchronism, in different standards series, would be rather difficult.As a result TISA set about the development of a new TPEG structure that would be UML based this has subsequently become known as TPEG Generation 2.TPEG2
34、 is embodied in the ISO/TS 21219-series and it comprises many parts that cover introduction, rules, toolkit and application components. TPEG2 is built around UML modelling and has a core of rules that contain the modelling strategy covered in Parts 2, 3, 4 and the conversion to two current physical
35、formats: binary and XML; others could be added in the future. TISA uses an automated tool to convert from the agreed UML model XMI file directly into an MS Word document file, to minimise drafting errors, that forms the Annex for each physical format.vi ISO 2014 All rights reservedPD ISO/TS 21219-2:
36、2014ISO/TS 21219-2:2014(E)TPEG2 has a three container conceptual structure: Message Management (Part 6), Application (many Parts) and Location Referencing (Part 7). This structure has flexible capability and can accommodate many differing use cases that have been proposed within the TTI sector and w
37、ider for hierarchical message content.Toolkit parts: TPEG2-INV (Part 1), TPEG2-UML (Part 2), TPEG2-UBCR (Part 3), TPEG2-UXCR (Part 4), TPEG2-SFW (Part 5), TPEG2-MMC (Part 6), TPEG2-LRC (Part 7)Special applications: TPEG2-SNI (Part 9), TPEG2-CAI (Part 10)Location referencing: TPEG2-ULR (Part 11), TPE
38、G2-ETL (Part 20), TPEG2-GLR (Part 21), TPEG2-OLR (Part 22)Applications: TPEG2-PKI (Part 14), TPEG2-TEC (Part 15), TPEG2-FPI (Part 16), TPEG2-TFP (Part 18), TPEG2-WEA (Part 19), TPEG2-RMR (Part 23)TPEG2 also has many location referencing options as required by the service provider community, any of w
39、hich may be delivered by vectoring data included in the Location Referencing Container.TPEG2 has been developed to be broadly (but not totally) backward compatible with TPEG1 to assist in transitions from earlier implementations, whilst not hindering the TPEG2 innovative approach and being able to s
40、upport many new features, such as dealing with applications having both long-term, unchanging content and highly dynamic content, such as Parking Information. ISO 2014 All rights reserved viiPD ISO/TS 21219-2:2014PD ISO/TS 21219-2:2014Intelligent transport systems Traffic and travel information (TTI
41、) via transport protocol experts group, generation 2 (TPEG2) Part 2: UML modelling rules1 ScopeThis Technical Specification specifies rules for the creation and extending of TPEG application UML models. The rules are intended to ensure that TPEG application UML models can be interpreted unambiguousl
42、y for conversion to physical format representations. TPEG application UML models that are defined according to these rules may be used for automatic generation of TPEG standards and for automatic generation of TPEG application physical format descriptions.This Technical Specification also specifies
43、the preferred structure of TPEG application specifications.The TPEG abstract data types and the set of TPEG tables of common use are specified in the annexes.2 Terms, definitions and abbreviated terms2.1 Terms and definitions2.1.1abstract data typedata type of atomic nature2.1.2attribute compartment
44、graphical section of a UML class box positioned directly under the class name compartment2.1.3class name compartmenttop most graphical section of a class box defining the name of the class and optionally a stereotype, inherited class and package scope2.1.4data structuredata type being composed of ot
45、her data types being either of abstract or complex data type, not having a component header, stereotyped as 2.1.5componentrevisable, named, complex data type, not stereotyped as 2.1.6component headerdata structure consisting of a component identifier, component length indicator and attribute length
46、indicatorTECHNICAL SPECIFICATION ISO/TS 21219-2:2014(E) ISO 2014 All rights reserved 1PD ISO/TS 21219-2:2014ISO/TS 21219-2:2014(E)2.1.7elementcomponent or data structure2.1.8linkrelation between two or more elements2.1.9TPEG Applicationset of classes and rules defining TPEG information services at t
47、he highest layer of the ISO OSI model2.2 Abbreviated termsIPR Intellectual Property Right(s)ISO International Organization for StandardizationLRC Location Referencing ContainerMMC Message Management ContainerOSI Open Systems InterconnectionPTI PTI Public Transport InformationTISA Traveller Informati
48、on Services AssociationTPEG Transport Protocol Experts GroupUML Unified Modelling Language3 TPEG UML model definition3.1 Allowed UML elementsTPEG UML models are based on the UML standard1, but only use a subset of the elements defined in the standard. This clause provides a description of the elemen
49、ts of UML that are used for modelling TPEG. This clause also defines restrictions on these elements. TPEG UML models shall only use the UML elements described in this clause. The defined restrictions shall be obeyed.3.1.1 ClassA class provides a description of the structure of the data stored in an instance of a class. The data are stored in the class attributes.3.1.2 Abstract classAbstract classes may be used to define shared properties of specialized child classes.3.1.3 AttributeAn attr