1、BSI Standards PublicationBS ISO 15031-7:2013Road vehicles Communication betweenvehicle and external equipmentfor emissions-relateddiagnosticsPart 7: Data link securityBS ISO 15031-7:2013 BRITISH STANDARDNational forewordThis British Standard is the UK implementation of ISO 15031-7:2013. The UK parti
2、cipation in its preparation was entrusted to TechnicalCommittee AUE/16, Electrical and electronic equipment.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 necessary provisions of a contract. Users
3、 are responsible for its correct application. The British Standards Institution 2013.Published by BSI Standards Limited 2013ISBN 978 0 580 80173 0 ICS 13.040.50; 43.040.10 Compliance with a British Standard cannot confer immunity from legal obligations.This British Standard was published under the a
4、uthority of the Standards Policy and Strategy Committee on 31 August 2013.Amendments/corrigenda issued since publicationDate T e x t a f f e c t e dBS ISO 15031-7:2013 ISO 2013Road vehicles Communication between vehicle and external equipment for emissions-related diagnostics Part 7: Data link secur
5、ityVhicules routiers Communications entre un vhicule et un quipement externe pour le diagnostic relatif aux missions Partie 7: Scurit de la liaison de donnesINTERNATIONAL STANDARDISO15031-7Second edition2013-07-15Reference numberISO 15031-7:2013(E)BS ISO 15031-7:2013ISO 15031-7:2013(E)ii ISO 2013 Al
6、l rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO 2013All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without
7、 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. + 41 22 749 01 11Fax + 41 22 749 09 47E-mail copyrightiso.orgWeb www.iso.orgPublished in Switzerla
8、ndBS ISO 15031-7:2013ISO 15031-7:2013(E) ISO 2013 All rights reserved iiiContents PageForeword ivIntroduction v1 Scope . 12 Normative references 13 Terms, definitions, and abbreviated terms . 23.1 Terms and definitions . 23.2 Abbreviated terms . 34 Conventions . 35 Document overview. 36 Technical re
9、quirements 56.1 General . 56.2 Security characteristics . 56.3 Security implementation 5Bibliography 6BS ISO 15031-7:2013ISO 15031-7:2013(E)ForewordISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of prepari
10、ng 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 organizations, governmental and non-governmental, in lia
11、ison 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 further maintenance are described in the ISO/IEC Dir
12、ectives, 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. www.iso.org/directives.Attention is drawn to the possibility that some o
13、f 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 Introduction and/or on the ISO list of patent declaratio
14、ns received. 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.The committee responsible for this document is ISO/TC 22, Road vehicles, Subcommittee SC 3, Electrical and electronic equipment.This second e
15、dition cancels and replaces the first edition (ISO 15031-7:2001) of which has been technically revised.ISO 15031 consists of the following parts, under the general title Road vehicles Communication between vehicle and external equipment for emissions-related diagnostics: Part 1: General information
16、and use case definition Part 2: Guidance on terms, definitions, abbreviations and acronyms Part 3: Diagnostic connector and related electrical circuits, specification and use Part 4: External test equipment Part 5: Emissions-related diagnostic services Part 6: Diagnostic trouble code definitions Par
17、t 7: Data link securityiv ISO 2013 All rights reservedBS ISO 15031-7:2013ISO 15031-7:2013(E)Introduction0.1 OverviewISO 15031 consists of a number of parts which, taken together, provide a coherent self-consistent set of specifications to facilitate emissions-related diagnostics. ISO 15031-1 provide
18、s an introduction to the series of International Standards. ISO 15031-2 through ISO 15031-7 are based on Society of Automative Engineers (SAE) recommended practices. This part of ISO 15031 is based on SAE J2186:1996, E/E Data Link Security.The ISO 15031 document set includes the communication betwee
19、n the vehicles On-Board Diagnostics (OBD) systems and test equipment implemented across vehicles within the scope of the legislated emissions-related OBD.To achieve this, it is based on the Open Systems Interconnection (OSI) Basic Reference Model in accordance with ISO/IEC 7498-1 and ISO/IEC 10731,
20、which structures communication systems into seven layers. When mapped on this model, the services specified by ISO 15031 are broken into the following: Diagnostic services (layer 7), specified in: ISO 15031-5 (emissions-related OBD); ISO 27145-3 (WWH-OBD); Presentation layer (layer 6), specified in:
21、 ISO 15031-2, SAE J1930-DA; ISO 15031-5, SAE J1979-DA; ISO 15031-6, SAE J2012-DA; ISO 27145-2, SAE J2012-DA; Session layer services (layer 5), specified in: ISO 14229-2 supports ISO 15765-4 DoCAN and ISO 14230-4 DoK-Line protocols; ISO 14229-2 is not applicable to the SAE J1850 and ISO 9141-2 protoc
22、ols; Transport layer services (layer 4), specified in: DoCAN: ISO 15765-2 Transport protocol and network layer services; SAE J1850: ISO 15031-5 Emissions-related diagnostic services; ISO 9141-2: ISO 15031-5 Emissions-related diagnostic services; DoK-Line: ISO 14230-4, ISO 15031-5 Emissions-related d
23、iagnostic services; Network layer services (layer 3), specified in: DoCAN: ISO 15765-2 Transport protocol and network layer services; SAE J1850: ISO 15031-5 Emissions-related diagnostic services; ISO 9141-2: ISO 15031-5 Emissions-related diagnostic services; DoK-Line: ISO 14230-4, ISO 15031-5 Emissi
24、ons-related diagnostic services; Data link layer (layer 2), specified in: DoCAN: ISO 15765-4, ISO 11898-1, ISO 11898-2; ISO 2013 All rights reserved vBS ISO 15031-7:2013ISO 15031-7:2013(E) SAE J1850; ISO 9141-2; DoK-Line: ISO 14230-2; Physical layer (layer 1), specified in: DoCAN: ISO 15765-4, ISO 1
25、1898-1, ISO 11898-2; SAE J1850; ISO 9141-2; DoK-Line: ISO 14230-1;in accordance with Table 1.Table 1 Legislated emissions-related OBD/WWH-OBD diagnostic specifications applicable to the OSI layersApplicabil-ityOSI 7 layersEmissions-related OBD communication requirementsEmissions-related WWH-OBD comm
26、unication requirementsSeven layer according to ISO/IEC 7498-1 and ISO/IEC 10731Application (layer 7)ISO 15031-5 ISO 27145-3Presentation (layer 6)ISO 15031-2, ISO 15031-5, ISO 15031-6SAE J1930-DA / SAE J1979-DAISO 27145-2SAE J1930-DA / SAE J1979-DASAE J2012-DA SAE J2012-DASession (layer 5) Not Applic
27、able ISO 14229-2Transport (layer 4)ISO 15031-5ISO 14230-4ISO 15765-2ISO 15765-4ISO 15765-2ISO 27145-4ISO 13400-2Network (layer 3)Data link (layer 2)SAE J1850ISO 9141-2ISO 14230-2ISO 11898-1, ISO 11898-2ISO 11898-1, ISO 11898-2ISO 13400-3Physical (layer 1)ISO 14230-10.2 SAE document reference concept
28、ISO 15031 references several SAE documents which contain all terms, data, and diagnostic trouble code (DTC) definitions.See Figure 1 with the following definition of content in ISO 15031-2, ISO 15031-5, and ISO 15031-6: SAE J1930: this document is concerned with a procedure for naming objects and sy
29、stems and with the set of words from which names are built. It references SAE J1930-DA which contains all standardized naming objects, terms, and abbreviations. SAE J1979: this document is concerned with the definition of emissions-related diagnostic services (diagnostic test modes). It references S
30、AE J1979-DA which contains all standardized data items like Parameter IDs, Test IDs, Monitor IDs, and InfoType IDs. SAE J2012: this document is concerned with the procedure for defining emissions-related diagnostic trouble codes. It references SAE J2012-DA which contains all standardized data items
31、like DTCs and failure type bytes (FTBs).vi ISO 2013 All rights reservedBS ISO 15031-7:2013ISO 15031-7:2013(E)SAE J1979-DAEmissions-related data deg976initionSAE J2012-DA Emissions-relateddiagnostic trouble code deg976initionSAE J1930-DA Emissions-related acronym deg976initionISO 15031-2Terms, deg976
32、initions, abbreviations, and acronymsISO 15031-5Emissions-related diagnostic servicesISO 15031-6Diagnostic trouble code (DTC ) deg976initionsSAE J1930Terms, deg976initions, abbreviations, and acronymsSAE J1979Emissions-related diagnostic servicesSAE J2012Diagnostic trouble code (DTC) deg976initions1
33、Key1 SAE Digital AnnexesFigure 1 SAE Digital Annex document referenceOBD regulations require passenger cars and light, medium, and heavy-duty trucks to support a minimum set of diagnostic information to external (off-board) “generic” test equipment.0.3 SAE J1979-DA (Digital Annex)This part of ISO 15
34、031 references the SAE J1979-DA. The SAE J1979-DA is concerned with the definitions of Parameter Identifiers (PIDs), Test Identifiers (TIDs), OBD Monitor Identifiers (OBDMIDs), Unit and Scaling Identifiers (UASIDs), and INFOTYPEs (INFOTYPEs).0.4 SAE Digital Annex revision procedureNew emissions-rela
35、ted regulatory requirements drive new in-vehicle technology to lower emissions. New technology related OBD monitor data and DTCs need to be standardized to support the external (off-board) “generic” test equipment. All relevant information is proposed by the automotive industry represented by member
36、s of the appropriate SAE task force.The revision request form and instructions for updating the Registers to ISO 15031-5 can be obtained on the Registration Authoritys website at:http:/www.sae.org/servlets/works/committeeHome.do?comtID=TEVDS14 ISO 2013 All rights reserved viiBS ISO 15031-7:2013ISO 1
37、5031-7:2013(E)The column titled “Resources” shows a document with the title: J1979-DA_Revision_Request_Form.doc. Double click on the name and you will be asked to download the document with the filename:SAE_J1979-DA_Revision_Request_Form.docFill out the revision request form with your request.Please
38、 send an email with the completed revision request form as an attachment to:SAE Headquarters755 West Big Beaver RoadSuite 1600Troy, MI 48084-4093, USAFax: +1 (248) 273-2494Email: saej1979sae.orgviii ISO 2013 All rights reservedBS ISO 15031-7:2013INTERNATIONAL STANDARD ISO 15031-7:2013(E)Road vehicle
39、s Communication between vehicle and external equipment for emissions-related diagnostics Part 7: Data link security1 ScopeThis part of ISO 15031 gives guidelines for the protection of road vehicle modules from unauthorized intrusion through a vehicle diagnostic data link. These security measures off
40、er vehicle manufacturers the flexibility to tailor their security to their own specific needs and do not exclude other, additional measures.This part of ISO 15031 applies to vehicle modules whose solid-state memory contents are able to be altered from outside the electronic module through a diagnost
41、ic data communication link. Such alteration could potentially damage a vehicles electronics or other components, placing at risk its compliance with government legislation or the vehicle manufacturers interests in respect of security.2 Normative referencesThe following documents, in whole or in part
42、, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.ISO 9141-2, Road vehicles Diagnostic systems Part 2:
43、 CARB requirements for interchange of digital informationISO 11898-1, Road vehicles Controller area network (CAN) Part 1: Data link layer and physical signallingISO 11898-2, Road vehicles Controller area network (CAN) Part 2: High-speed medium access unitISO 14229-2, Road vehicles Unified diagnostic
44、 services (UDS) Part 2: Session layer servicesISO 14230-2, Road vehicles Diagnostic communication over K-Line (DoK-Line) Part 2: Data link layerISO 14230-4, Road vehicles Diagnostic systems Keyword Protocol 2000 Part 4: Requirements for emission-related systemsISO 15031-2, Road vehicles Communicatio
45、n between vehicle and external equipment for emissions-related diagnostics Part 2: Guidance on terms, definitions, abbreviations and acronymsISO 15031-5, Road vehicles Communication between vehicle and external equipment for emissions-related diagnostics Part 5: Emissions-related diagnostic services
46、ISO 15031-6, Road vehicles Communication between vehicle and external equipment for emissions-related diagnostics Part 6: Diagnostic trouble code definitionsISO 15765-2, Road vehicles Diagnostic communication over Controller Area Network (DoCAN) Part 2: Transport protocol and network layer servicesI
47、SO 15765-4, Road vehicles Diagnostic communication over Controller Area Network (DoCAN) Part 4: Requirements for emissions-related systemsISO 27145-2, Road vehicles Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-OBD) communication requirements Part 2: Common data dictionary ISO 20
48、13 All rights reserved 1BS ISO 15031-7:2013ISO 15031-7:2013(E)ISO 27145-3, Road vehicles - Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-OBD) communication requirements Part 3: Common message dictionaryISO/IEC 7498-1, Information technology Open Systems Interconnection Basic Refe
49、rence Model: The Basic ModelISO/IEC 10731, Information technology Open Systems Interconnection Basic Reference Model Conventions for the definition of OSI servicesSAE J1850-DA, Digital Annex of Class B Data Communications Network InterfaceSAE J1930-DA, Digital Annex of Electrical/Electronic Systems Diagnostic Terms, Definitions, Abbreviations, and AcronymsSAE J1979-DA, Digital Annex of E/E Diagnostic Test ModesSAE J2012-DA,