BS ISO 14229-2-2013 Road vehicles Unified diagnostic services (UDS) Session layer services《道路车辆 统一诊断设备(UDS) 会话层服务》.pdf

上传人:postpastor181 文档编号:584359 上传时间:2018-12-15 格式:PDF 页数:60 大小:1.86MB
下载 相关 举报
BS ISO 14229-2-2013 Road vehicles Unified diagnostic services (UDS) Session layer services《道路车辆 统一诊断设备(UDS) 会话层服务》.pdf_第1页
第1页 / 共60页
BS ISO 14229-2-2013 Road vehicles Unified diagnostic services (UDS) Session layer services《道路车辆 统一诊断设备(UDS) 会话层服务》.pdf_第2页
第2页 / 共60页
BS ISO 14229-2-2013 Road vehicles Unified diagnostic services (UDS) Session layer services《道路车辆 统一诊断设备(UDS) 会话层服务》.pdf_第3页
第3页 / 共60页
BS ISO 14229-2-2013 Road vehicles Unified diagnostic services (UDS) Session layer services《道路车辆 统一诊断设备(UDS) 会话层服务》.pdf_第4页
第4页 / 共60页
BS ISO 14229-2-2013 Road vehicles Unified diagnostic services (UDS) Session layer services《道路车辆 统一诊断设备(UDS) 会话层服务》.pdf_第5页
第5页 / 共60页
亲,该文档总共60页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBS ISO 14229-2:2013Road vehicles Unifieddiagnostic services (UDS)Part 2: Session layer servicesBS ISO 14229-2:2013 BRITISH STANDARDNational forewordThis British Standard is the U

2、K implementation of ISO 14229-2:2013. The UK participation in its preparation was entrusted to T e c h n i c a l Committee 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 t

3、o include all the necessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2013. Published by BSI Standards Limited 2013.ISBN 978 0 580 71057 5 ICS 43.180 Compliance with a British Standard cannot confer immunityfrom legal obligations.T

4、his British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 March 2013.Amendments issued since publicationDate T e x t a f f e c t e dBS ISO 14229-2:2013Reference numberISO 14229-2:2013(E)ISO 2013INTERNATIONAL STANDARD ISO14229-2First edition2013-02-15

5、Road vehicles Unified diagnostic services (UDS) Part 2: Session layer services Vhicules routiers Services de diagnostic unifis (SDU) Partie 2: Squence des couches de services BS ISO 14229-2:2013ISO 14229-2:2013(E) COPYRIGHT PROTECTED DOCUMENT ISO 2013 All rights reserved. Unless otherwise specified,

6、 no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case po

7、stale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO 2013 All rights reservedBS ISO 14229-2:2013ISO 14229-2:2013(E) ISO 2013 All rights reserved iii Contents Page 1 Scope 1 2 Normative references 1 3 Terms, de

8、finitions and abbreviated terms 1 3.1 Terms and definitions . 1 3.2 Abbreviated terms . 2 4 Conventions . 2 5 Document overview . 3 6 Session layer services 4 6.1 General . 4 6.2 Specification of session layer service primitives 6 6.3 Session data unit specification 7 7 Timing parameter definition .

9、 9 7.1 General application timing considerations. 9 7.2 Application timing parameter definitions defaultSession 10 7.3 Example for P4Server without enhanced response timing . 15 7.4 Example for P4Server with enhanced response timing 16 7.5 Session timing parameter definitions for the non-default ses

10、sion 17 7.6 Client and server timer resource requirements . 19 7.7 Error handling 20 8 Timing handling during communication . 21 8.1 Physical communication 21 8.2 Functional communication . 29 8.3 Minimum time between client request messages 36 Annex A (normative) T_PDU interface 43 Annex B (informa

11、tive) Vehicle diagnostic OSI layer architecture examples 44 B.1 Vehicle diagnostic OSI layer gateway example . 44 B.2 Vehicle diagnostic OSI layer CAN router example 45 B.3 Vehicle diagnostic OSI layer CAN switch example 46 Bibliography 47 BS ISO 14229-2:2013ISO 14229-2:2013(E) iv ISO 2013 All right

12、s reserved Foreword ISO (the International Organization for Standardization) is a worldwide federation of national standards 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 fo

13、r which a technical committee has been established has the right to be represented on that committee. International organizations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical Commission (IEC) on

14、all matters of electrotechnical standardization. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of technical committees is to prepare International Standards. Draft International Standards adopted by the technical committees ar

15、e circulated to the member bodies for voting. Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote. 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 r

16、esponsible for identifying any or all such patent rights. ISO 14229-2 was prepared by Technical Committee ISO/TC 22, Road vehicles, Subcommittee SC 3, Electrical and electronic equipment. ISO 14229 consists of the following parts, under the general title Road vehicles Unified diagnostic services (UD

17、S): Part 1: Specification and requirements Part 2: Session layer services Part 3: Unified diagnostic services on CAN implementation (UDSonCAN) Part 4: Unified diagnostic services on FlexRay implementation (UDSonFR) Part 5: Unified diagnostic services on Internet Protocol implementation (UDSonIP) Par

18、t 6: Unified diagnostic services on K-Line implementation (UDSonK-Line) The following part is under preparation: Part 7: Unified diagnostic services on Local Interconnect Network implementation (UDSonLIN) The titles of future parts will be drafted as follows: Part n: Unified diagnostic services on i

19、mplementation (UDSon) BS ISO 14229-2:2013ISO 14229-2:2013(E) ISO 2013 All rights reserved v Introduction ISO 14229 has been established in order to define common requirements for diagnostic systems that are independent of the underlying serial data link. To achieve this, ISO 14229 is based on the Op

20、en Systems Interconnection (OSI) Basic Reference Model in accordance with ISO 7498-1 and ISO/IEC 10731, which structures communication systems into seven layers. When mapped on this model, the services used by a diagnostic tester (client) and an Electronic Control Unit (ECU, server) are broken into

21、the following layers in accordance with Table 1: Application layer (layer 7), unified diagnostic services specified in ISO 14229-1, ISO 14229-3 UDSonCAN, ISO 14229-4 UDSonFR, ISO 14229-5 UDSonIP, ISO 14229-6 UDSonK-Line, ISO 14229-7 UDSonLIN, further standards and ISO 27145-3 WWH-OBD. Presentation l

22、ayer (layer 6), vehicle manufacturer specific, ISO 27145-2 WWH-OBD. S ession layer services (layer 5) specified in this part of ISO 14229. Transport layer services (layer 4), specified in ISO 15765-2 DoCAN, ISO 10681-2 Communication on FlexRay, ISO 13400-2 DoIP, ISO 27145-4 WWH-OBD. Network layer se

23、rvices (layer 3), specified in ISO 15765-2 DoCAN, ISO 10681-2 Communication on FlexRay, ISO 13400-2 DoIP, ISO 27145-4 WWH-OBD. Data link layer (layer 2), specified in ISO 11898-1, ISO 11898-2, ISO 17458-2, ISO 13400-3, IEEE 802.3, ISO 14230-2 and further standards, ISO 27145-4 WWH-OBD. Physical laye

24、r (layer 1), specified in ISO 11898-1, ISO 11898-2, ISO 17458-4, ISO 13400-3, IEEE 802.3, ISO 14230-1, further standards, ISO 27145-4 WWH-OBD. Table 1 Example of diagnostic/programming specifications applicable to the OSI layers Applicability OSI seven layer Enhanced diagnostics services WWH-OBD Sev

25、en layer according to ISO/IEC 7498-1 and ISO/IEC 10731 Application (layer 7) ISO 14229-1, ISO 14229-3 UDSonCAN, ISO 14229-4 UDSonFR, ISO 14229-5 UDSonIP, ISO 14229-6 UDSonK-Line, ISO 14229-7 UDSonLIN, further standards ISO 27145-3 Presentation (layer 6) vehicle manufacturer specific ISO 27145-2 Sess

26、ion (layer 5) ISO 14229-2 Transport (layer 4) ISO 15765-2 ISO 10681-2 ISO 13400-2 Not applicable further standards ISO 27145-4 Network (layer 3) further standards Data link (layer 2) ISO 11898-1, ISO 11898-2 ISO 17458-2 ISO 13400-3, IEEE 802.3 ISO 14230-2 further standards Physical (layer 1) ISO 174

27、58-4 ISO 14230-1 further standards BS ISO 14229-2:2013ISO 14229-2:2013(E) vi ISO 2013 All rights reserved BS ISO 14229-2:2013INTERNATIONAL STANDARD ISO 14229-2:2013(E) ISO 2013 All rights reserved 1 Road vehicles Unified diagnostic services (UDS) Part 2: Session layer services 1 Scope This part of I

28、SO 14229 specifies data link independent requirements of session layer services. This part of ISO 14229 specifies common session layer services to provide independence between unified diagnostic services (ISO 14229-1) and all transport protocols and network layer services (e.g. ISO 15765-2 DoCAN, IS

29、O 10681-2 Communication on FlexRay, ISO 13400 DoIP, ISO 14230-2 DoK-Line, etc.) This part of ISO 14229 specifies a common service primitive interface between OSI layer 4 (Transport) and layer 5 (Session) via so-called service request/confirmation/indication primitives. This interface allows seamless

30、 implementation of ISO 14229-1 Unified diagnostic services (UDS) with any communication protocol titled “DoXYZ / CoXYZ“ like ISO 15765 DoCAN Diagnostic communication over Controller Area Network, ISO 13400 DoIP, ISO 10681 Communication over FlexRay, ISO 14230 DoK-Line. ISO 15031 (emissions-related O

31、BD) and ISO 27145 (WWH-OBD) support the standardized service primitive interface. 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the

32、referenced document (including any amendments) applies. ISO 14229-1, Road vehicles Unified diagnostic services (UDS) Part 1: Specification and requirements 3 Terms, definitions and abbreviated terms 3.1 Terms and definitions For the purposes of this document, the following terms and definitions appl

33、y. 3.1.1 gateway networking device that transfers the PDU on different OSI layers EXAMPLE A network device that enables communication between control module networks that use different communication protocols, different communication rates, etc. That includes, but is not limited to, gateway function

34、alities like bridge, switch, router or application layer routing. BS ISO 14229-2:2013ISO 14229-2:2013(E) 2 ISO 2013 All rights reserved 3.1.2 router networking device that transfers the PDU on OSI layers 3 and 4 3.1.3 switch networking device that transfers the PDU on OSI layer 2 3.2 Abbreviated ter

35、ms CDD common data dictionary CMD common message dictionary DSC diagnostic session control ECU electronic control unit OSI open systems interconnection S_AE session layer address extension S_SA session layer source address S_Data session layer data transfer service name SI service identifier SOM sta

36、rt of message S_Mtype session layer message type S_PDU session layer protocol data unit S_TA session layer target address S_TAtype session layer target address type 4 Conventions This part of ISO 14229 is guided by the conventions discussed in the OSI Service Conventions (ISO 10731:1994) as they app

37、ly to the diagnostic services. These conventions specify the interactions between the service user and the service provider. Information is passed between the service user and the service provider by service primitives, which may convey parameters. BS ISO 14229-2:2013ISO 14229-2:2013(E) ISO 2013 All

38、 rights reserved 3 5 Document overview Figure 1 illustrates implementations of ISO 14229-2 onto various protocols. Figure 1 Implementation of UDS document reference according to OSI model BS ISO 14229-2:2013ISO 14229-2:2013(E) 4 ISO 2013 All rights reserved 6 Session layer services 6.1 General The s

39、ervice interface defines a set of services that are needed to access the functions offered by the session layer, i.e. transmission/reception of data and setting of protocol parameters. All session layer services have the same general structure. The service primitives define how a service user (e.g.

40、diagnostic application) cooperates with a service provider (e.g. session layer). To define the services, three types of service primitives are specified: a service request primitive S_Data.request, used by the higher application layer to pass control information or data required to be transmitted to

41、 the session layer (i.e. the service provider is being requested by the service user to process control information or to transmit data); a service indication primitive S_Data.indication, used by the session layer to pass status information and received data to the higher application layer (i.e. the

42、 service user is being informed by the service provider about an internal event of the session layer or the service request of a peer protocol layer entity service user); a service confirmation primitive S_Data.confirm used by the session layer to pass status information to the application layer (i.

43、e. the service user is being informed by service provider about the result of a preceding service request of the service user); All session layer services have the same general format. Service primitives are written in the form: service_name.type ( parameter A, parameter B, parameter C , parameter X

44、, . ) Where: “service_name“ is the name of the service (e.g. S_Data), “type“ indicates the type of the service primitive (e.g. request, indication, confirm), “parameter A, .“ is the S_PDU (Session layer Protocol Data Unit) as a list of values passed by the service primitive (e.g. addressing informat

45、ion, Data, Length, Result), “parameter A, parameter B, parameter C“ are mandatory parameters that shall be included in all service calls, “parameter X“ is an optional parameter that is included if specific conditions are fulfilled. BS ISO 14229-2:2013ISO 14229-2:2013(E) ISO 2013 All rights reserved

46、5 Figure 2 shows the session layer service primitives for a single frame message. Figure 2 Session layer service primitives Single frame message Figure 3 shows the session layer service primitives for a multiple frame message, if the transport/network layer supports the T_DataSOM.ind interfaces. T_D

47、ataSOM.indS_Data.indS_Data.reqS_Data.con T_Data.indT_Data.reqT_Data.conSession LayerSession LayerSender ReceivertimeApplication LayerReceiverApplication LayerSenderMessage1Key 1 optional, i.e. the transport/network layer supports the T_DataSOM.ind interfaces Figure 3 Session layer service primitives

48、 Multiple frame message The following communication scenarios shall be distinguished: a) physical communication during 1) default session, and 2) non-default session session handling required; b) functional communication during 1) default session, and 2) non-default session session handling required

49、. BS ISO 14229-2:2013ISO 14229-2:2013(E) 6 ISO 2013 All rights reserved For all cases, the possibility of requesting an enhanced response-timing window by the server via a negative response message, including a negative response code 0x78, shall be considered. The transport/network layer services as defined in different ISO standards (e.g. ISO 15765-2 DoCAN or ISO 10681-2 CoFR) are used to perform the diagnostic session management timing in the cl

展开阅读全文
相关资源
  • BS ISO IEC 29150-2011 Information technology Security techniques Signcryption《信息技术 安全技术 签密》.pdfBS ISO IEC 29150-2011 Information technology Security techniques Signcryption《信息技术 安全技术 签密》.pdf
  • BS ISO IEC 15408-1-2009 Information technology - Security techniques - Evaluation criteria for IT Security - Introduction and general model《信息技术 安全技术 IT安全评价准则 一.pdfBS ISO IEC 15408-1-2009 Information technology - Security techniques - Evaluation criteria for IT Security - Introduction and general model《信息技术 安全技术 IT安全评价准则 一.pdf
  • BS ISO 7295-1988+A1-2014 Tyre valves for aircraft Interchangeability dimensions《飞机轮胎汽门嘴 互换性尺寸》.pdfBS ISO 7295-1988+A1-2014 Tyre valves for aircraft Interchangeability dimensions《飞机轮胎汽门嘴 互换性尺寸》.pdf
  • BS ISO 15118-1-2013 Road vehicles Vehicle to grid communication interface General information and use-case definition《道路车辆 车辆到电力通讯接口 通用信息和使用案例定义》.pdfBS ISO 15118-1-2013 Road vehicles Vehicle to grid communication interface General information and use-case definition《道路车辆 车辆到电力通讯接口 通用信息和使用案例定义》.pdf
  • BS ISO 13765-2-2004 Refractory mortars - Determination of consistency using the reciprocating flow table method《耐熔灰浆 使用往复流动表法测定一致性》.pdfBS ISO 13765-2-2004 Refractory mortars - Determination of consistency using the reciprocating flow table method《耐熔灰浆 使用往复流动表法测定一致性》.pdf
  • BS ISO 10998-2008+A1-2014 Agricultural tractors Requirements for steering《农业拖拉机 操纵要求》.pdfBS ISO 10998-2008+A1-2014 Agricultural tractors Requirements for steering《农业拖拉机 操纵要求》.pdf
  • BS Z 9-1998 Space data and information transfer systems - Advanced orbiting systems - Networks and data links - Architectural specification《空间数据和信息传输系统 高级轨道系统 网络和数据链接 结构规范》.pdfBS Z 9-1998 Space data and information transfer systems - Advanced orbiting systems - Networks and data links - Architectural specification《空间数据和信息传输系统 高级轨道系统 网络和数据链接 结构规范》.pdf
  • BS Z 7-1998 Space data and information transfer systems - ASCII encoded English《空间数据和信息传输系统 ASCII 编码英语》.pdfBS Z 7-1998 Space data and information transfer systems - ASCII encoded English《空间数据和信息传输系统 ASCII 编码英语》.pdf
  • BS Z 5-1997 Space data and information transfer systems - Standard formatted data units - Control authority procedures《航天数据和信息发送系统 标准格式数据单元 控制授权程序》.pdfBS Z 5-1997 Space data and information transfer systems - Standard formatted data units - Control authority procedures《航天数据和信息发送系统 标准格式数据单元 控制授权程序》.pdf
  • BS Z 4-1997 Space data and information transfer systems - Standard formatted data units - Structure and construction rules《航天数据和信息传输系统 标准格式数据单元 结构和构造规则》.pdfBS Z 4-1997 Space data and information transfer systems - Standard formatted data units - Structure and construction rules《航天数据和信息传输系统 标准格式数据单元 结构和构造规则》.pdf
  • 猜你喜欢
    相关搜索

    当前位置:首页 > 标准规范 > 国际标准 > BS

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1