欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PDF文档下载
    分享到微信 分享到微博 分享到QQ空间

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

    • 资源ID:584359       资源大小:1.86MB        全文页数:60页
    • 资源格式: PDF        下载积分:10000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要10000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    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


    注意事项

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




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

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

    收起
    展开