ImageVerifierCode 换一换
格式:PDF , 页数:60 ,大小:1.86MB ,
资源ID:584359      下载积分:10000 积分
快捷下载
登录下载
邮箱/手机:
温馨提示:
如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝扫码支付 微信扫码支付   
注意:如需开发票,请勿充值!
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【http://www.mydoc123.com/d-584359.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(BS ISO 14229-2-2013 Road vehicles Unified diagnostic services (UDS) Session layer services《道路车辆 统一诊断设备(UDS) 会话层服务》.pdf)为本站会员(postpastor181)主动上传,麦多课文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文库(发送邮件至master@mydoc123.com或直接QQ联系客服),我们立即给予删除!

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

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

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