{"id":5509,"date":"2025-07-23T13:45:52","date_gmt":"2025-07-23T05:45:52","guid":{"rendered":"https:\/\/www.key-iot.com\/?p=5509"},"modified":"2025-07-23T13:45:52","modified_gmt":"2025-07-23T05:45:52","slug":"automotive-ethernet-doip","status":"publish","type":"post","link":"https:\/\/www.key-iot.com\/zh_tw\/blog\/automotive-ethernet-doip\/","title":{"rendered":"\u8eca\u7528\u4e59\u592a\u7db2\u8def - DoIP"},"content":{"rendered":"<h2><\/h2>\n<h2>1. What Can DoIP Do?<img decoding=\"async\" class=\"size-full wp-image-5510 aligncenter\" title=\"f2adf6936e9aef84fef6d1065dde7eee\" src=\"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/f2adf6936e9aef84fef6d1065dde7eee.png\" alt=\"f2adf6936e9aef84fef6d1065dde7eee\" width=\"961\" height=\"475\" srcset=\"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/f2adf6936e9aef84fef6d1065dde7eee.png 961w, https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/f2adf6936e9aef84fef6d1065dde7eee-300x148.png 300w, https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/f2adf6936e9aef84fef6d1065dde7eee-768x380.png 768w, https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/f2adf6936e9aef84fef6d1065dde7eee-18x9.png 18w, https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/f2adf6936e9aef84fef6d1065dde7eee-600x297.png 600w\" sizes=\"(max-width: 961px) 100vw, 961px\" \/><\/h2>\n<p>Ethernet was first introduced into vehicles by BMW, with its application scenario being flashing\/programming, to meet software data updates for components like LCD instrument clusters. Compared to traditional automotive diagnostics, DoIP refers to the transmission of UDS protocol data through Ethernet communication, i.e.,\u00a0Diagnostic communication over Internet Protocol. It is itself a protocol, standardized in ISO13400.Because DoIP can transmit large amounts of data with fast response speeds and can perform remote diagnostics through Ethernet,\u00a0DoIP has become the inevitable trend for automotive diagnostics.Compared to traditional automotive systems, current automotive system frameworks all incorporate a DoIP protocol layer above TCP\/IP. To better support OBD diagnostics, remote diagnostics, FOTA and other technologies, the overall automotive architecture has been adjusted, using switches to connect MPUs, MCUs, and other Ethernet ECUs through Ethernet, while isolating external and internal networks.<\/p>\n<h2>2. DoIP Protocol Composition<\/h2>\n<p>This protocol operates above TCP\/IP. To receive DoIP protocol messages, the protocol specification requires listening to a dedicated port number\u00a013400\u00a0allocated for the DoIP protocol stack. Both UDP and TCP must listen to this receiving port, while the sending port is a random value within the range\u00a0[49152~65535].Protocol Format:DoIP messages consist of\u00a0header (8 bytes) + payload (N bytes)Protocol Header [8 bytes]\u00a0comprises four fields:<\/p>\n<ul>\n<li translate=\"no\">Protocol version [1 byte]<\/li>\n<li translate=\"no\">Inverse protocol version [1 byte]<\/li>\n<li translate=\"no\">Payload type [2 bytes]<\/li>\n<li translate=\"no\">Payload length [4 bytes]<\/li>\n<\/ul>\n<p>Payload [N bytes]\u00a0&#8211; The payload data varies according to the actual payload type.Typically, Protocol version is\u00a00x02, with values above 0x02 currently in reserved status.Inverse protocol version\u00a0is the inverted value of Protocol version; in this example, 0x02 inverted becomes\u00a00xFD.The protocol specification specifically mentions that Protocol version can be\u00a00xFF. This value serves the purpose of allowing clients and servers with mismatched protocol versions to bypass the case where requests are rejected due to protocol header version mismatch.<\/p>\n<h2>Payload Type:<\/h2>\n<p>Payload type represents the functions that the DoIP protocol stack can support.<\/p>\n<div>\n<div data-testid=\"table-container\">\n<table>\n<thead>\n<tr>\n<th>Payload Type Value<\/th>\n<th>Name<\/th>\n<th>Protocol<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0x0000<\/td>\n<td>Generic DoIP header negative acknowledgment<\/td>\n<td>TCP\/UDP<\/td>\n<\/tr>\n<tr>\n<td>0x0001<\/td>\n<td>Vehicle identification request message<\/td>\n<td>UDP<\/td>\n<\/tr>\n<tr>\n<td>0x0002<\/td>\n<td>Vehicle identification request message with EID<\/td>\n<td>UDP<\/td>\n<\/tr>\n<tr>\n<td>0x0003<\/td>\n<td>Vehicle identification request message with VIN<\/td>\n<td>UDP<\/td>\n<\/tr>\n<tr>\n<td>0x0004<\/td>\n<td>Vehicle announcement message \/ Vehicle identification response message<\/td>\n<td>UDP_Discovery \/ UDP_test_request<\/td>\n<\/tr>\n<tr>\n<td>0x0005<\/td>\n<td>Routing activation request<\/td>\n<td>TCP<\/td>\n<\/tr>\n<tr>\n<td>0x0006<\/td>\n<td>Routing activation response<\/td>\n<td>TCP<\/td>\n<\/tr>\n<tr>\n<td>0x0007<\/td>\n<td>Alive check request<\/td>\n<td>TCP<\/td>\n<\/tr>\n<tr>\n<td>0x0008<\/td>\n<td>Alive check response<\/td>\n<td>TCP<\/td>\n<\/tr>\n<tr>\n<td>0x4001<\/td>\n<td>DoIP entity status request<\/td>\n<td>UDP<\/td>\n<\/tr>\n<tr>\n<td>0x4003<\/td>\n<td>Diagnostic power mode information request<\/td>\n<td>UDP<\/td>\n<\/tr>\n<tr>\n<td>0x8001<\/td>\n<td>Diagnostic message<\/td>\n<td>TCP<\/td>\n<\/tr>\n<tr>\n<td>0x8002<\/td>\n<td>Diagnostic message positive acknowledgment<\/td>\n<td>TCP<\/td>\n<\/tr>\n<tr>\n<td>0x8003<\/td>\n<td>Diagnostic message negative acknowledgment<\/td>\n<td>TCP<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Payload length\u00a0allocates 4 bytes here, meaning DoIP messages can transmit a maximum of\u00a04GB\u00a0(0xFFFFFFFF).<\/p>\n<h2>Two Methods of Vehicle Discovery:<\/h2>\n<p>(1)\u00a0After DoIP device startup, it first broadcasts a DoIP message (vehicle announcement message, Payload Type 0x0004) via UDP to all other nodes on the network, including diagnostic tools, with destination port 13400. This message carries information about the DoIP device&#8217;s DoIP version, VIN, logical address, etc. This message is sent three times, and diagnostic tools previously listening on port 13400 receive this information and learn the basic information of the DoIP device.(2)\u00a0If the diagnostic tool doesn&#8217;t receive it, there&#8217;s another method: the diagnostic tool actively requests by broadcasting a DoIP request message (Payload Type 0x0001) via UDP with destination port 13400. The DoIP device, which has been listening on port 13400 since startup, receives this message and replies with a response carrying its own information to the diagnostic tool.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. What Can DoIP Do? Ethernet was first introduced into vehicles by BMW, with its application scenario being flashing\/programming, to meet software data updates for components like LCD instrument clusters. Compared to traditional automotive diagnostics, DoIP refers to the transmission of UDS protocol data through Ethernet communication, i.e.,\u00a0Diagnostic communication over Internet Protocol. It is itself [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5511,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"themepark_post_bcolor":"#f5f5f5","themepark_post_width":"1022px","themepark_post_img":"","themepark_post_img_po":"left","themepark_post_img_re":false,"themepark_post_img_cover":false,"themepark_post_img_fixed":false,"themepark_post_hide_title":false,"themepark_post_main_b":"","themepark_post_main_p":100,"themepark_paddingblock":false,"footnotes":""},"categories":[16],"tags":[83],"class_list":["post-5509","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-automotive-ethernet"],"metadata":{"classic-editor-remember":["classic-editor"],"_edit_lock":["1753249514:1"],"_edit_last":["1"],"_thumbnail_id":["5511"],"themepark_seo_title":["Automotive Ethernet - DoIP"],"themepark_seo_description":["Ethernet was first introduced into vehicles by BMW, with its application scenario being flashing\/programming, to meet software data updates for components like LCD instrument clusters. Compared to traditional automotive diagnostics, DoIP refers to the transmission of UDS protocol data through Ethernet communication, i.e.,\u00a0Diagnostic communication over Internet Protocol."],"themepark_seo_keyword":["Automotive Ethernet"],"catce":["sidebar-widgets4"],"_yoast_wpseo_primary_category":["16"],"_yoast_wpseo_content_score":["60"],"_yoast_wpseo_estimated-reading-time-minutes":["4"],"views":["10955"]},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Automotive Ethernet - DoIP - KEY-IOT<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.key-iot.com\/zh_tw\/blog\/automotive-ethernet-doip\/\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Automotive Ethernet - DoIP - KEY-IOT\" \/>\n<meta property=\"og:description\" content=\"1. What Can DoIP Do? Ethernet was first introduced into vehicles by BMW, with its application scenario being flashing\/programming, to meet software data updates for components like LCD instrument clusters. Compared to traditional automotive diagnostics, DoIP refers to the transmission of UDS protocol data through Ethernet communication, i.e.,\u00a0Diagnostic communication over Internet Protocol. It is itself [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.key-iot.com\/zh_tw\/blog\/automotive-ethernet-doip\/\" \/>\n<meta property=\"og:site_name\" content=\"KEY-IOT\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-23T05:45:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615.png\" \/>\n\t<meta property=\"og:image:width\" content=\"480\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"yeaplink\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"yeaplink\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9810\u4f30\u95b1\u8b80\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\u9418\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/\",\"url\":\"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/\",\"name\":\"Automotive Ethernet - DoIP - KEY-IOT\",\"isPartOf\":{\"@id\":\"https:\/\/www.key-iot.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615.png\",\"datePublished\":\"2025-07-23T05:45:52+00:00\",\"dateModified\":\"2025-07-23T05:45:52+00:00\",\"author\":{\"@id\":\"https:\/\/www.key-iot.com\/#\/schema\/person\/2fa0f8a6bd912162c7af1345175ae46d\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/#primaryimage\",\"url\":\"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615.png\",\"contentUrl\":\"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615.png\",\"width\":480,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.key-iot.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automotive Ethernet &#8211; DoIP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.key-iot.com\/#website\",\"url\":\"https:\/\/www.key-iot.com\/\",\"name\":\"KEY-IOT\",\"description\":\"Industrial Cellular Routers\/ IoT Gateway\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.key-iot.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.key-iot.com\/#\/schema\/person\/2fa0f8a6bd912162c7af1345175ae46d\",\"name\":\"yeaplink\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\/\/www.key-iot.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.key-iot.com\/wp-content\/litespeed\/avatar\/2aa1949342c2e0fbf1b6a46364d69e19.jpg?ver=1775832247\",\"contentUrl\":\"https:\/\/www.key-iot.com\/wp-content\/litespeed\/avatar\/2aa1949342c2e0fbf1b6a46364d69e19.jpg?ver=1775832247\",\"caption\":\"yeaplink\"},\"sameAs\":[\"http:\/\/8.213.193.190\"],\"url\":\"https:\/\/www.key-iot.com\/zh_tw\/author\/yeaplink\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8eca\u7528\u4e59\u592a\u7db2\u8def - DoIP - KEY-IOT","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.key-iot.com\/zh_tw\/blog\/automotive-ethernet-doip\/","og_locale":"zh_TW","og_type":"article","og_title":"Automotive Ethernet - DoIP - KEY-IOT","og_description":"1. What Can DoIP Do? Ethernet was first introduced into vehicles by BMW, with its application scenario being flashing\/programming, to meet software data updates for components like LCD instrument clusters. Compared to traditional automotive diagnostics, DoIP refers to the transmission of UDS protocol data through Ethernet communication, i.e.,\u00a0Diagnostic communication over Internet Protocol. It is itself [&hellip;]","og_url":"https:\/\/www.key-iot.com\/zh_tw\/blog\/automotive-ethernet-doip\/","og_site_name":"KEY-IOT","article_published_time":"2025-07-23T05:45:52+00:00","og_image":[{"width":480,"height":360,"url":"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615.png","type":"image\/png"}],"author":"yeaplink","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"yeaplink","\u9810\u4f30\u95b1\u8b80\u6642\u9593":"4 \u5206\u9418"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/","url":"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/","name":"\u8eca\u7528\u4e59\u592a\u7db2\u8def - DoIP - KEY-IOT","isPartOf":{"@id":"https:\/\/www.key-iot.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/#primaryimage"},"image":{"@id":"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/#primaryimage"},"thumbnailUrl":"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615.png","datePublished":"2025-07-23T05:45:52+00:00","dateModified":"2025-07-23T05:45:52+00:00","author":{"@id":"https:\/\/www.key-iot.com\/#\/schema\/person\/2fa0f8a6bd912162c7af1345175ae46d"},"breadcrumb":{"@id":"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/"]}]},{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/#primaryimage","url":"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615.png","contentUrl":"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615.png","width":480,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/www.key-iot.com\/blog\/automotive-ethernet-doip\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.key-iot.com\/"},{"@type":"ListItem","position":2,"name":"Automotive Ethernet &#8211; DoIP"}]},{"@type":"WebSite","@id":"https:\/\/www.key-iot.com\/#website","url":"https:\/\/www.key-iot.com\/","name":"KEY-IOT","description":"\u5de5\u696d\u8702\u5de2\u5f0f\u8def\u7531\u5668\/\u7269\u806f\u7db2\u9598\u9053\u5668","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.key-iot.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Person","@id":"https:\/\/www.key-iot.com\/#\/schema\/person\/2fa0f8a6bd912162c7af1345175ae46d","name":"yeaplink","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/www.key-iot.com\/#\/schema\/person\/image\/","url":"https:\/\/www.key-iot.com\/wp-content\/litespeed\/avatar\/2aa1949342c2e0fbf1b6a46364d69e19.jpg?ver=1775832247","contentUrl":"https:\/\/www.key-iot.com\/wp-content\/litespeed\/avatar\/2aa1949342c2e0fbf1b6a46364d69e19.jpg?ver=1775832247","caption":"yeaplink"},"sameAs":["http:\/\/8.213.193.190"],"url":"https:\/\/www.key-iot.com\/zh_tw\/author\/yeaplink\/"}]}},"medium_url":"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615-300x225.png","thumbnail_url":"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615-150x150.png","full_url":"https:\/\/www.key-iot.com\/wp-content\/uploads\/2025\/07\/9a7d38b163fdc66a4205e1251c79f615.png","_links":{"self":[{"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/posts\/5509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/comments?post=5509"}],"version-history":[{"count":1,"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/posts\/5509\/revisions"}],"predecessor-version":[{"id":5512,"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/posts\/5509\/revisions\/5512"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/media\/5511"}],"wp:attachment":[{"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/media?parent=5509"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/categories?post=5509"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.key-iot.com\/zh_tw\/wp-json\/wp\/v2\/tags?post=5509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}