1、 ETSI TS 102 871-2 V1.3.1 (2015-06) Intelligent Transport Systems (ITS); Testing; Conformance test specifications for GeoNetworking ITS-G5; Part 2: Test Suite Structure and Test Purposes (TSS Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available
2、 from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/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
3、 (or the updates on the ETSI Web server) which are, or may be, or may become, essential to the present document. Foreword This Technical Specification (TS) has been produced by ETSI Technical Committee Intelligent Transport Systems (ITS). The present document is part 2 of a multi-part deliverable co
4、vering Conformance test specification for GeoNetworking ITS-G5 as identified below: Part 1: “Test requirements and Protocol Implementation Conformance Statement (PICS) pro forma“; Part 2: “Test Suite Structure and Test Purposes (TSS Part 3: “Abstract Test Suite (ATS) and Protocol Implementation eXtr
5、a Information for Testing (PIXIT)“. Modal verbs terminology In the present document “shall“, “shall not“, “should“, “should not“, “may“, “need 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
6、provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. ETSI ETSI TS 102 871-2 V1.3.1 (2015-06)6 1 Scope The present document provides the Test Suite Structure and Test Purposes (TSS Vehicular Communications; GeoNetworking; Part 4: Geographical ad
7、dressing and forwarding for point-to-point and point-to-multipoint communications; Sub-part 1: Media-Independent Functionality“. 2 ETSI TS 102 871-1 (V1.3.1): “Intelligent Transport Systems (ITS); Testing; Conformance test specifications for GeoNetworking ITS-G5; Part 1: Test requirements and Protoc
8、ol Implementation Conformance Statement (PICS) pro forma“. 3 ISO/IEC 9646-1 (1994): “Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 1: General concepts“. 4 ISO/IEC 9646-2 (1994): “Information technology - Open Systems Interconnection - Co
9、nformance testing methodology and framework - Part 2: Abstract Test Suite specification“. 5 ISO/IEC 9646-7 (1995): “Information technology - Open Systems Interconnection - Conformance testing methodology and framework - Part 7: Implementation Conformance Statements“. 6 ETSI ETS 300 406 (1995): “Meth
10、ods for testing and Specification (MTS); Protocol and profile conformance testing specifications; Standardization methodology“. 2.2 Informative references References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific referenc
11、es, only the cited version applies. For non-specific references, the latest version of the reference 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 following re
12、ferenced 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 EG 202 798 (V1.1.1): “Intelligent Transport Systems (ITS); Testing; Framework for conformance and interoperability testing“. ETSI ETSI TS 102 8
13、71-2 V1.3.1 (2015-06)7 3 Definitions and abbreviations 3.1 Definitions For the purposes of the present document, the terms and definitions given in ETSI EN 302 636-4-1 1, ISO/IEC 9646-1 3, ISO/IEC 9646-7 5 and the following apply: ItsNode: node that implements GeoAdhoc router functionality by ETSI E
14、N 302 636-4-1 1 neighbour: ItsNode is in direct (single-hop) communication range “to be in direction of X“: to be a valid candidate for a forwarding algorithm to forward the packet to the destination X NOTE: This means that the candidate ItsNode is geographically closer to X than the IUT. to broadca
15、st a packet: to send a packet as a link-layer broadcast frame to all surrounding neighbours to forward a packet: to send a packet as a link-layer unicast frame to the selected node 3.2 Abbreviations For the purposes of the present document, the following abbreviations apply: ATS Abstract Test Suite
16、BAA GeoBroadcast Advanced Algorithm BAH Basic Header BC Broadcast BCA GeoBroadcast CBF Algorithm BEA Beacon BI Invalid test events for Behaviour tests BO Inopportune test events for Behaviour tests BV Valid test events for Behaviour tests CAP Buffer Capacities CBF Contention Based Forwarding COH Com
17、mon Header DEPV Destination Position Vector EN European Norm FDV Formatting and Data Validity FPB Forwarding Packet Buffer GAC Geographically-Scoped Anycast GBC Geographically-Scoped BroadcastGEONW GeoNetworking GNA GeoNetworking Address GUC Geographically-Scoped Unicast HST Header Subtype HT Header
18、 TypeISO International Organization for Standardization ITS Intelligent Transportation Systems ITS-G5 Intelligent Transportation Systems - 5 GHz wireless communication IUT Implementation Under Test LOS Location Service LOT Location TableLPV Local Position Vector LS Location ServiceLT LifetimeLT/TIC
19、Transmission Interval Control MAC Medium Access Control MHL Maximum Hop Limit MIB Management Information Base NH Next Header PAI Position Accuracy Indicator PICS Protocol Implementation Conformance Statement ETSI ETSI TS 102 871-2 V1.3.1 (2015-06)8 PL Payload Length PON Protocol Operation PV Positio
20、n VectorRHL Remaining Hop Limit SAP Service Access PointSCC Station Country Code SCF Store Carry & Forward SHB Single Hop Broadcast SN Sequence Number SOPV Source Position Vector SQN Sequence Number ST Station Type TH ThresholdTI Timer testsTP Test Purposes TS Test SuiteTSB Topologically-Scoped Broa
21、dcast TSS Test Suite Structure TST Timestamp UC Unicast FSR Forwarder, Sender, local GeoAdhoc Router 4 Test Configuration 4.1 Test Configuration Overview This clause introduces the test configurations that have been used for the definition of test purposes. The test configurations cover the various
22、scenarios of the GeoNetworking tests. The test configurations show: green ItsNode: ItsNode is in the communication range of the IUT. red ItsNode: ItsNode is not in the communication range of the IUT. dashed rectangle: definition of a specific geographical area (see note). NOTE: A geographical area i
23、s defined in the GeoBroadcast or GeoAnycast packet by HST field of Common Header and GeoAreaPos Latitude, GeoAreaPos Longitude, DistanceA, DistanceB and Angle fields of the Extended Header. Seven test configurations are defined below. ETSI ETSI TS 102 871-2 V1.3.1 (2015-06)9 4.2 Configuration 1: CF0
24、1 Figure 1 ItsNodeA is not in IUTs communication range ItsNodeB is in IUTs communication range is in direction of ItsNodeA is in AREA1 is in AREA2 IUT is in AREA1 4.3 Configuration 2: CF02 Figure 2 ItsNodeAItsNodeBIUTAREA1AREA2CF01ItsNodeBAREA1AREA2ItsNodeDCF02IUTETSI ETSI TS 102 871-2 V1.3.1 (2015-
25、06)10 ItsNodeB is in IUTs communication range is close to the centre of AREA2 is in AREA1 is in AREA2 ItsNodeD is in IUTs communication range is in direction of ItsNodeB is in AREA1 is in AREA2 IUT is in AREA1 4.4 Configuration 3: CF03 Figure 3 ItsNodeA is not in IUTs communication range ItsNodeB is
26、 in IUTs communication range is in direction of ItsNodeA is in AREA1 is in AREA2 ItsNodeC is in IUTs communication range is not in direction of ItsNodeA IUT is in AREA1 ItsNodeAItsNodeBIUTAREA1AREA2ItsNodeCCF03ETSI ETSI TS 102 871-2 V1.3.1 (2015-06)11 4.5 Configuration 4: CF04 Figure 4 ItsNodeA is n
27、ot in IUTs communication range ItsNodeB is in IUTs communication range is in direction of ItsNodeA is closer to ItsNodeA than ItsNodeD is in AREA1 is in AREA2. is close to the centre of AREA2 ItsNodeC is in IUTs communication range is not in direction of ItsNodeA ItsNodeD is in IUTs communication ra
28、nge is in direction of ItsNodeA is in AREA1 is in AREA2 IUT is in AREA1 ETSI ETSI TS 102 871-2 V1.3.1 (2015-06)12 4.6 Configuration 5: CF05 Figure 5 ItsNodeB is in IUTs communication range is in AREA1 is close to the centre of AREA1 ItsNodeE is in IUTs communication range is in AREA1 IUT is in AREA1
29、 is closer to ItsNodeB than ItsNodeE (Dist_R Dist_F) Angle_FSR formed by ItsNodeD, ItsNodeB and IUT is less than Angle_TH IUT is in AREA1 5 Test Suite Structure (TSS) 5.1 Structure for GEONW tests Table 1 shows the GEONW Test Suite Structure (TSS) including its subgroups defined for conformance test
30、ing. Table 1: TSS for GEONW Root Group Sub-group Category GEONW Formatting and data validity Basic Header Valid and Invalid Common Header Valid and Inopportune Beacon Valid GeoUnicast Valid GeoBroadcast Valid GeoAnycast Valid Single-Hop Broadcast Valid Topologically Scoped Broadcast Valid Protocol o
31、peration Location Table Valid Local Position Vector Valid Sequence Number Valid Location Service Valid, Inopportune and Timer Forwarding Packet Buffer Valid GeoNetworking Address Valid Beacon Valid and Timer GeoUnicast Valid and Inopportune GeoBroadcast Valid and Inopportune GeoAnycast Valid behavio
32、ur Single-Hop Broadcast Valid Topologically Scoped Broadcast Valid and Inopportune GeoBroadcast CBF algorithm Valid and Inopportune GeoBroadcast Advanced Algorithm Valid and Inopportune Buffer Capacities Location Service Valid Forwarding Packet Buffer Valid The test suite is structured as a tree wit
33、h the root defined as GEONW. The tree is of rank 3 with the first rank a Group, the second a sub-group and the third a category. The third rank is the standard ISO conformance test categories. 5.2 Test groups 5.2.1 Root The root identifies the GeoNetworking protocol given in ETSI EN 302 636-4-1 1. 5
34、.2.2 Test group This level contains three major areas identified as: tests of formatting and data validity, tests of protocol operation, tests of buffer capacities. ETSI ETSI TS 102 871-2 V1.3.1 (2015-06)15 5.2.3 Test sub-group This level identifies the sub categories of each Group. 5.2.4 Categories
35、 This level contains the standard ISO conformance test categories: behaviour for valid, invalid, inopportune events and timers. 6 Test Purposes (TP) 6.1 Introduction 6.1.1 TP definition conventions The TPs are defined by the rules shown in table 2. Table 2: TP definition rules TP Header TP ID The TP
36、 ID is a unique identifier. It shall be specified according to the TP naming conventions defined in the above clause. Test objective Short description of test purpose objective according to the requirements from the base standard. Reference The reference indicates the sub-clauses of the reference st
37、andard specifications in which the conformance requirement is expressed. Config Id The Config Id references the GeoNetworking configuration selected for this TP PICS Selection Reference to the PICS statement involved for selection of the TP. Contains a Boolean expression. TP Behaviour Initial condit
38、ions The initial conditions define in which initial state the IUT has to be to apply the actual TP. In the corresponding Test Case, when the execution of the initial condition does not succeed, it leads to the assignment of an Inconclusive verdict. Expected behaviour (TP body) Definition of the even
39、ts, which are parts of the TP objective, and the IUT are expected to perform in order to conform to the base specification. In the corresponding Test Case, Pass or Fail verdicts can be assigned there. Final conditions Definition of the events that the IUT is expected to perform or shall not perform,
40、 according to the base standard and following the correct execution of the actions in the expected behaviour above. In the corresponding Test Case, the execution of the final conditions is evaluated for the assignment of the final verdict. 6.1.2 TP Identifier naming conventions The identifier of the
41、 TP is built according to table 3. ETSI ETSI TS 102 871-2 V1.3.1 (2015-06)16 Table 3: TP naming convention Identifier: TP/ = root GEONW = group FDV Formatting and Data Validity PON Protocol Operation CAP Buffer Capacities =sub-group BAH Basic Header COH Common Header BEA Beacon GUC GeoUnicast GBC Ge
42、oBroadcast GAC GeoAnycast SHB Single-Hop Broadcast TSB Topologically Scoped Broadcast LOT Location Table LPV Local Position Vector SQN Sequence Number LOS Location Service FPB Forwarding Packet Buffer GNA GeoNetworking Address LT/TIC Transmission Interval Control BCA GeoBroadcast CBF Algorithm BAA G
43、eoBroadcast Advanced Algorithm = type of testing BV Behaviour tests to valid test events BI Behaviour tests to invalid test events BO Behaviour tests to inopportune test events TI Timer tests = sequential number 01 to 99 6.1.3 Rules for the behaviour description The description of the TP is built ac
44、cording to ETSI EG 202 798 i.1. In the TP the following wordings are used: “The IUT is requested to send“: an upper layer requests the geonetworking layer to send a packet “The IUT generates“: for internal events generation, i.e. Beacon packets “The IUT receives“: for packets coming from the network
45、 and given by the lower layer “The packet is originated by ItsNodeX“: the source of the packet is ItsNodeX “The packet is received from ItsNodeX“: the sender of the packet is ItsNodeX “The packet is addressed to ItsNodeX“: the destination of the packet is ItsNodeX 6.1.4 Sources of TP definitions All
46、 TPs are specified according to ETSI EN 302 636-4-1 1. 6.1.5 Mnemonics for PICS reference To avoid an update of all TPs when the PICS document is changed, table 4 introduces mnemonics name and the correspondence with the real PICS item number. The PICS item column refers to Table/Item of ETSI TS 102
47、 871-1 2. Table 4 lists mnemonic names and maps them to the PICS item number. ETSI ETSI TS 102 871-2 V1.3.1 (2015-06)17 Table 4: Mnemonics for PICS reference Mnemonic PICS item PICS_GN_LOCAL_GN_ADDR A.32/1 PICS_GN_LOCAL_ADDR_CONF_METHOD A.32/2PICS_GN_IS_MOBILE A.32/5PICS_GN_MINIMUM_UPDATE_FREQUENCY_
48、LPV A.32/7 PICS_GN_MAX_SDU_SIZE A.32/9PICS_GN_MAX_GN_HEADER_SIZE A.32/10PICS_GN_LIFETIME_LOC_TE A.32/11PICS_GN_SECURITY A.32/12PICS_GN_LOCATION_SERVICE_MAX_RETRANS A.32/14 PICS_GN_LOCATION_SERVICE_RETRANSMIT_TIMER A.32/15 PICS_GN_LOCATION_SERVICE_PACKET_BUFFER_SIZE A.32/16 PICS_GN_BEACON_SERVICE_RET
49、RANSMIT_TIMER A.32/17 PICS_GN_BEACON_SERVICE_MAX_JITTER A.32/18PICS_GN_DEFAULT_HOP_LIMIT A.32/19PICS_GN_MAX_PACKET_LIFETIME A.32/20PICS_GN_MAX_GEO_AREA_SIZE A.32/24 PICS_GN_MIN_PACKET_REPETITION_INTERVAL A.32/25PICS_GN_GEOUNICAST_FORWARDING_ALGORITHM A.32/26 PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM A.32/27 PICS_GN_GEOUNICAST_CBF_MIN_TIME A.32/28PICS_GN_GEOUNICAST_CBF_MAX_TIME A.32/29PICS_GN_GEOBROADCAST_CBF_MIN_TIME A.32/30 PICS_GN_GEOBROADCAST_CBF_MAX_TIME A.32/31PICS_GN_DEFAULT_MAX_COMMUNICATION_RANGE A.32/32 PICS_GN_UC_FORWAR