1、 ETSI TR 103 099 V1.4.1 (2017-03) Intelligent Transport Systems (ITS); Architecture of conformance validation framework TECHNICAL REPORT ETSI ETSI TR 103 099 V1.4.1 (2017-03) 2 Reference RTR/ITS-0002 Keywords architecture, conformance, ITS, testing ETSI 650 Route des Lucioles F-06921 Sophia Antipoli
2、s Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-search The present docum
3、ent may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/o
4、r in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current sta
5、tus of this and other ETSI documents is available at https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may
6、be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing re
7、striction extend to reproduction in all media. European Telecommunications Standards Institute 2017. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit
8、of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI TR 103 099 V1.4.1 (2017-03) 3 Contents Foreword . 5g3Modal verbs terminology 5g3Introduction 5g31 Scope 6g32 References 6g32.1 Normative references . 6g
9、32.2 Informative references 6g33 Abbreviations . 7g34 Test platform overview 8g34.1 Constraints and requirements . 8g34.2 General architecture . 8g35 Hardware equipment 9g35.1 PC . 9g35.2 G5 switch 10g36 Codecs 10g36.1 Introduction 10g36.2 Advanced details of implementation 10g37 Test Adapter . 12g3
10、7.1 Introduction 12g37.2 Lower Tester 13g37.2.1 Overview 13g37.2.2 Advanced details of implementation 15g37.2.3 Extensibility of the test adapter. 17g37.2.4 Adapter Control primitives . 17g37.2.5 Adapter configuration parameters . 17g37.3 Platform Adapter 19g37.4 Upper Tester . 19g3Annex A: Codecs S
11、ource Code 21g3Annex B: Test Adapter Source Code . 22g3Annex C: Upper Tester Message Format. 23g3C.1 Introduction 23g3C.2 Common Upper Tester Primitives 24g3C.2.1 UtInitialize 24g3C.2.2 ChangePosition . 24g3C.2.3 ChangePseudonym . 25g3C.3 CAM Upper Tester Primitives . 25g3C.3.1 ChangeCurvature 25g3C
12、.3.2 ChangeSpeed 26g3C.3.3 SetAccelerationControlStatus. 26g3C.3.4 SetExteriorLightsStatus 28g3C.3.5 ChangeHeading 28g3C.3.6 SetDriveDirection . 29g3C.3.7 ChangeYawRate . 29g3C.3.8 CamEventIndication . 30g3C.3.9 SetStationType . 30g3C.3.10 SetVehicleRole . 31g3C.3.11 SetEmbarkationStatus 31g3C.3.12
13、SetPtActivation . 32g3ETSI ETSI TR 103 099 V1.4.1 (2017-03) 4 C.3.13 SetDangerousGoods . 32g3C.3.14 SetLightBarSiren 33g3C.4 DENM Upper Tester Primitives . 34g3C.4.1 GenerateDenmEvent 34g3C.4.2 UpdateDenmEvent . 35g3C.4.3 TerminateDenmEvent 37g3C.4.4 DenmEventIndication . 37g3C.5 GeoNetworking Upper
14、 Tester Primitives . 37g3C.5.1 GenerateGeoUnicast . 37g3C.5.2 GenerateGeoBroadcast . 38g3C.5.3 GenerateGeoAnycast 39g3C.5.4 GenerateSHB 40g3C.5.5 GenerateTSB 40g3C.5.6 GnEventIndication 41g3C.6 IPv6OverGeoNetworking Upper Tester Primitives . 41g3C.6.1 SendIPv6Message 41g3C.6.2 GetInterfaceInfos 42g3
15、C.6.3 Gn6EventIndication 42g3C.7 BTP Upper Tester Primitives . 43g3C.7.1 GenerateBtpA . 43g3C.7.2 GenerateBtpB . 43g3C.7.3 BtpEventIndication . 44g3C.8 MAPEM/SPATEM Upper Tester Primitives . 44g3C.8.1 MapemSpatemTrigger 44g3C.8.2 MapemEventInd . 44g3C.8.3 SpatemEventInd . 45g3C.9 IVIM Upper Tester P
16、rimitives . 45g3C.9.1 GenerateIvimEvent . 45g3C.9.2 UpdateIvimEvent 46g3C.9.3 TerminateIvimEvent . 47g3C.9.4 IvimEventInd 47g3C.10 SREM/SSEM Upper Tester Primitives 48g3C.10.1 GenerateSremEvent 48g3C.10.2 UpdateSremEvent . 48g3C.10.3 SremEventInd . 49g3C.10.4 SsemEventInd . 49g3Annex D: Example of T
17、est Platform implementation . 50g3Annex E: Complete Test Adapter class diagram 55g3Annex F: Bibliography 56g3History 57g3ETSI ETSI TR 103 099 V1.4.1 (2017-03) 5 Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The informatio
18、n pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI
19、Secretariat. Latest updates are available on the ETSI Web server (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the upda
20、tes on the ETSI Web server) which are, or may be, or may become, essential to the present document. Foreword This Technical Report (TR) has been produced by ETSI Technical Committee Intelligent Transport Systems (ITS). Modal verbs terminology In the present document “should“, “should not“, “may“, “n
21、eed not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. Introduction In response to EC
22、 mandate M/453 i.10, ETSI Technical Committee (TC) ITS has standardized base and test specifications for ITS protocols. In a next step a prototype TTCN-3 test system was built and validated. The present document describes the design and validation of the prototype TTCN-3 test system. The action desc
23、ribed in the present document has supported the implementation of ITS standards by: Making available validated and standardized test specifications and thus enabling the application of reliable certification schemes. Executing conformance validation framework against real Implementations Under Test
24、(IUTs) from industry and thus providing these companies a conformance assessment of their implementations. During the lifetime of this action, the conformance validation framework was as well provided at ITS Cooperative Mobility Services Interoperability events. Releasing all software as open source
25、 and thus allowing industry to build and run their own conformance validation framework. ETSI ETSI TR 103 099 V1.4.1 (2017-03) 6 1 Scope The present document provides a description of the architecture of the ITS conformance validation framework, including definition of the test environment, codec an
26、d test adapter. It provides, as well, all the necessary source code to build and run the ITS conformance validation framework. The ITS conformance validation framework integrates the test suites ETSI TS 102 871-3 i.4, ETSI TS 102 868-3 i.5, ETSI TS 102 869-3 i.6, ETSI TS 102 870-3 i.7, ETSI TS 102 8
27、59-3 i.8 and ETSI TS 103 191-3 i.9. 2 References 2.1 Normative references Normative references are not applicable in the present document. 2.2 Informative references References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specif
28、ic references, only the cited version applies. For non-specific references, the latest version of the referenced document (including any amendments) applies. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The
29、following referenced documents are not necessary for the application of the present document but they assist the user with regard to a particular subject area. i.1 ETSI ES 201 873-5 (V4.5.1): “Methods for Testing and Specification (MTS); The Testing and Test Control Notation version 3; Part 5: TTCN-
30、3 Runtime Interface (TRI)“. i.2 ETSI EG 201 015 (V2.1.1): “Methods for Testing and Specification (MTS); Standards engineering process; A handbook of validation methods“. i.3 IEEE 802.11p: “IEEE Standard for Local and Metropolitan Area Networks - Specific requirements; Part 11: Wireless LAN Medium Ac
31、cess Control (MAC) and Physical Layer (PHY) Specifications; Amendment 6: Wireless Access in Vehicular Environments“. i.4 ETSI TS 102 871-3 (V.1.3.1): “Intelligent Transport Systems (ITS); Testing; Conformance test specifications for GeoNetworking ITS-G5; Part 3: Abstract Test Suite (ATS) and Protoco
32、l Implementation eXtra Information for Testing (PIXIT)“. i.5 ETSI TS 102 868-3 (V.1.4.1): “Intelligent Transport Systems (ITS); Testing; Conformance test specifications for Cooperative Awareness Basic Service (CA); Part 3: Abstract Test Suite (ATS) and Protocol Implementation eXtra Information for T
33、esting (PIXIT)“. i.6 ETSI TS 102 869-3 (V.1.5.1): “Intelligent Transport Systems (ITS); Testing; Conformance test specifications for Decentralized Environmental Notification Basic Service (DEN); Part 3: Abstract Test Suite (ATS) and Protocol Implementation eXtra Information for Testing (PIXIT)“. i.7
34、 ETSI TS 102 870-3 (V.1.1.1): “Intelligent Transport Systems (ITS); Testing; Conformance test specifications for Geonetworking Basic Transport Protocol (BTP); Part 3: Abstract Test Suite (ATS) and Protocol Implementation eXtra Information for Testing (PIXIT)“. i.8 ETSI TS 102 859-3 (V.1.2.1): “Intel
35、ligent Transport Systems (ITS); Testing; Conformance test specifications for Transmission of IP packets over Geonetworking; Part 3: Abstract Test Suite (ATS) and Protocol Implementation eXtra Information for Testing (PIXIT)“. ETSI ETSI TR 103 099 V1.4.1 (2017-03) 7 i.9 ETSI TS 103 191-3 (V.1.2.1): “
36、Intelligent Transport Systems (ITS); Testing; Conformance test specifications for Signal Phase And Timing (SPAT) and Map (MAP); Part 3: Abstract Test Suite (ATS) and Implementation eXtra Information for Testing (IXIT)“. i.10 EC mandate M/453: “Standardisation mandate addressed to CEN, CENELEC and ET
37、SI in the field of Information and Communication Technologies to support the interoperability of co-operative systems for Intelligent Transport in the European Community“. 3 Abbreviations For the purposes of the present document, the following abbreviations apply: AC Adapter Control ACC Adaptive Cru
38、ise Control API Application Programming Interface ASN Abstract Syntax Notation AT Authorization TicketATS Abstract Test Suite BTP Basic Transport Protocol BTP-A Basic Transport Protocol - Type A BTP-B Basic Transport Protocol - Type B CAM Cooperative Awareness Message CC Cruise Control DENM Decentra
39、lized Environmental Notification Message EC European Commission ETH ETHernet GN GeoNetworking HB High BeamIP Internet Protocol ITS Intelligent Transportation Systems ITS-S Intelligent Transportation Systems - Station IUT Implementation Under Test IVI Infrastructure to Vehicle Information IVIM Infras
40、tructure to Vehicle Information Message JDK Java Development Kit LB Low Beam LS Location Service LT Left Turn MAC Media Access Control MAP MapData MAPEM Road/lane topology and traffic maneuver message MTC Main Test Component OS Operating SystemOSI Open Systems Interconnection model PC Personal Compu
41、ter PDU Protocol Data Unit PICS Protocol Implementation Conformance Statement RT Right Turn SHB Single Hop Broadcast SPAT Signal Phase And Timing SPATEM Signal Phase And Timing Message SREM Signal Request Message SSEM Signal Request Status Message SUT System Under Test TA Test Adapter TC Test CasesT
42、CI TTCN-3 Control Interface TLM Traffic Light Maneuver TP Test Purposes TRI TTCN-3 Runtime Interface ETSI ETSI TR 103 099 V1.4.1 (2017-03) 8 TSB Topology Scoped Broadcast TTCN-3 Testing and Test Control Notation 3 UDP User Datagram Protocol UT Upper Tester 4 Test platform overview 4.1 Constraints an
43、d requirements The purpose of the ITS test platform is to provide a reliable set of software and hardware equipments that can be used to validate TTCN-3 abstract test suites (ATS) developed in ETSI. The architecture of this test platform has been designed with respect to the following constraints: t
44、o be compatible with the requirements expressed in the validation handbook (ETSI EG 201 015 i.2); to be independent of the platform used to implement the test system; to be independent of the TTCN-3 tool provider; to be configurable and customizable; to provide tools and well defined interfaces to s
45、ystem under test (SUT), allowing test automation; to be easily extensible for future ITS protocols; to provide generic components that can be reused in other test platforms. In order to ensure independence of hardware platforms, all software pieces running on the test platform have been implemented
46、using Java language, using generic and widely used libraries. Test tool independence has been achieved by isolating the tool specific interfaces from core functionalities of the platform. Adapting the current platform to a different test tool would only require the implementation of a very simple pi
47、ece of software mapping tool-specific functions to generic functions defined in this project. In addition, great care has been taken to separate ITS specific functionalities from generic test platform tasks in order to provide a maximum number of reusable components for future test platforms. 4.2 Ge
48、neral architecture Typically a TTCN-3 test platform is composed of four different components: The TTCN-3 test tool providing necessary software to execute the abstract test suites. The hardware equipment supporting TTCN-3 test execution and adaptation to SUTs. The codecs which convert protocol messa
49、ges into their abstract TTCN-3 representation. The Test Adapter (TA) implementing interfaces with the device under test. The interaction of these components is described in figure 1. ETSI ETSI TR 103 099 V1.4.1 (2017-03) 9 Figure 1: General architecture The TTCN-3 test tools are usually provided by commercial companies and their description is out of the scope of the present document. The implementation details of the other components are described in the present document. 5 Hardware equipment 5.1 PC The main h
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1