{"id":4723,"date":"2023-08-10T16:49:26","date_gmt":"2023-08-10T08:49:26","guid":{"rendered":"https:\/\/www.tosunai.com\/?p=4723"},"modified":"2024-09-10T18:11:10","modified_gmt":"2024-09-10T10:11:10","slug":"%e6%b1%bd%e8%bd%a6%e5%86%85%e9%83%a8%e9%80%9a%e4%bf%a1%e7%9a%84%e5%ae%89%e5%85%a8%e6%8c%91%e6%88%98%e4%b8%8esecoc%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/www.tosunai.com\/%e6%b1%bd%e8%bd%a6%e5%86%85%e9%83%a8%e9%80%9a%e4%bf%a1%e7%9a%84%e5%ae%89%e5%85%a8%e6%8c%91%e6%88%98%e4%b8%8esecoc%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88\/","title":{"rendered":"\u6c7d\u8f66\u5185\u90e8\u901a\u4fe1\u7684\u5b89\u5168\u6311\u6218\u4e0eSecOC\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"\t\t
\u5728\u4f20\u7edf\u7684\u6c7d\u8f66\u7535\u5b50\u67b6\u6784\u4e2d\uff0c\u8f66\u5185<\/font>ECU<\/font>\u6570\u91cf\u548c\u590d\u6742\u5ea6\u6709\u9650\uff0c\u901a\u8baf\u5e26\u5bbd\u4e5f\u53d7\u9650\uff0c\u56e0\u6b64\u8ba4\u4e3a\u8f66\u5185<\/font>ECU<\/font>\u95f4\u7684\u901a\u8baf\u90fd\u662f\u53ef\u4fe1\u7684\uff0c<\/font>ECU<\/font>\u8282\u70b9\u53ea\u8981\u6536\u5230\u76f8\u5e94\u7684\u62a5\u6587\uff0c\u5c31\u4f1a\u5bf9\u4e4b\u5904\u7406\u3002\u968f\u7740\u6c7d\u8f66\u884c\u4e1a\u548c\u4e92\u8054\u7f51\u7684\u4e0d\u65ad\u53d1\u5c55\uff0c\u6c7d\u8f66\u4e0d\u65ad\u5730\u53d8\u5f97\u667a\u80fd\u5316\u3001\u4e92\u8054\u7f51\u5316\uff0c\u8fd9\u79cd\u9ed8\u8ba4\u7684\u8f66\u5185\u901a\u8baf\u53d8\u5f97\u8d8a\u6765\u8d8a\u4e0d\u5b89\u5168\u3002\u5982\u679c\u5728\u8f66\u8f86\u7269\u7406\u603b\u7ebf\u4e0a\u589e\u52a0\u4e00\u4e2a\u65b0\u7684\u7ed3\u70b9\uff0c\u53d1\u9001\u5047\u5192\u7684\u4fe1\u53f7\u6216\u8005\u7be1\u6539\u5176\u5b83<\/font>ECU<\/font>\u53d1\u9001\u7684\u62a5\u6587\uff0c\u5982\u52a0\u901f\u3001\u5239\u8f66\u3001\u8f6c\u5f2f\uff0c\u800c\u8f66\u8f86\u52a8\u529b\u63a7\u5236\u76f8\u5173\u7684<\/font>E<\/font><\/span>CU<\/span>\u7167\u5355\u5168\u6536\uff0c\u90a3\u4e48\u8f66\u8f86\u5c31\u4f1a\u5931\u63a7\u3002\u56e0\u6b64\uff0c\u6025\u9700\u5b9e\u73b0\u4e00\u79cd\u5b89\u5168\u9ad8\u6548\u7684\u7b97\u6cd5\u6765\u9a8c\u8bc1\u62a5\u6587\uff0c\u786e\u8ba4\u62a5\u6587\u53d1\u9001\u65b9\u662f\u5426\u5408\u6cd5\u4ee5\u53ca\u6570\u636e\u662f\u5426\u88ab\u7be1\u6539\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u5b89\u5168\u677f\u8f7d\u901a\u4fe1<\/font> (Secure Onboard Communication<\/font>\uff0c\u7b80\u79f0 <\/font>SecOC) <\/font>\u673a\u5236\u5c31\u5e94\u8fd0\u800c\u751f\u4e86\u3002<\/font><\/span> SecOC<\/span>\u662f<\/span>Security Onboard Communication <\/span>\u7684\u7b80\u79f0\uff0c\u4e2d\u6587\u540d\u79f0\u53eb\u505a\u5b89\u5168\u8f66\u8f7d\u901a\u4fe1<\/span>,<\/span>\u662f<\/span>AUTOSAR<\/span>\u4ece<\/span>Classic Platform4.2<\/span>\u5f00\u59cb\u65b0\u589e\u7684\u4e00\u4e2a\u57fa\u7840\u6a21\u5757\uff0c\u4e3b\u8981\u7684\u4f5c\u7528\u5c31\u662f\u4e3a\u6c7d\u8f66\u5d4c\u5165\u5f0f\u7f51\u7edc\u603b\u7ebf\u4e0a\u7684\u6570\u636e\u4f20\u8f93\u63d0\u4f9b\u8eab\u4efd\u9a8c\u8bc1\u548c\u9632\u6b62\u91cd\u653e\u653b\u51fb\u7684\u529f\u80fd\u3002<\/span><\/span><\/p> SecOC <\/span>\u673a\u5236\u8981\u6c42\u5728\u534f\u8bae\u6570\u636e\u5355\u5143 <\/span>(Protocol Data Unit, <\/span>\u7b80\u79f0 <\/span>PDU) <\/span>\u7684\u53d1\u9001\u65b9\u548c\u63a5\u6536\u65b9\u7684 <\/span>ECU <\/span>\u90fd\u8981\u5b9e\u73b0 <\/span>SecOC <\/span>\u6a21\u5757\u3002<\/span><\/span><\/p> \u5728\u53d1\u9001\u65b9\uff0c<\/span>SecOC <\/span>\u6a21\u5757\u901a\u8fc7\u5411\u5f85\u53d1\u9001\u7684\u534f\u8bae\u539f\u59cb <\/span>PDU <\/span>\u6dfb\u52a0\u8ba4\u8bc1\u4fe1\u606f\u6765\u521b\u5efa\u5b89\u5168<\/span>PDU<\/span>\uff08\u89c1\u56fe\u8868<\/span>1<\/span><\/span>-2<\/span>\uff09\uff0c\u8ba4\u8bc1\u4fe1\u606f\u5305\u62ec\u65b0\u9c9c\u5ea6\u503c<\/span>(Freshness Value<\/span>\uff0c\u7b80\u79f0 <\/span>FV) <\/span>\u548c \u4fe1 \u606f \u8ba4 \u8bc1 \u7801\uff08<\/span>Message Authentication Code<\/span>\uff0c\u7b80\u79f0 <\/span>MAC<\/span>\uff09\u3002<\/span><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t FV <\/span>\u7531\u65b0\u9c9c\u5ea6\u503c\u7ba1\u7406\u6a21\u5757 <\/span>(FVM) <\/span>\u83b7\u5f97\u3002<\/span>FVM <\/span>\u5206\u4e3a <\/span>Master FVM( <\/span>\u7531\u7f51\u5173\u62c5\u4efb <\/span>) <\/span>\u548c <\/span>Slave FVM( <\/span>\u7531\u5176\u5b83\u5b9e\u73b0 <\/span>SecOC <\/span>\u673a\u5236\u7684 <\/span>ECU <\/span>\u62c5\u4efb <\/span>)<\/span>\uff0c\u524d\u8005\u4f1a\u5411\u540e\u8005\u53d1\u9001\u65b0\u9c9c\u5ea6\u503c\u540c\u6b65\u6d88\u606f\u6765\u4fdd\u8bc1<\/span>PDU <\/span>\u6536\u53d1\u7aef <\/span>FV <\/span>\u7684\u4e00\u81f4\u6027\uff0c\u540e\u8005\u5219\u5411\u524d\u8005\u53d1\u9001 <\/span>FV <\/span>\u540c\u6b65\u8bf7\u6c42\u6d88\u606f\u3002<\/span><\/span><\/p> \u5c06<\/span> PDU <\/span>\u7684\u6570\u636e\u6807\u8bc6\u7b26\u3001\u539f\u59cb <\/span>PDU <\/span>\u4ee5\u53ca\u5b8c\u6574\u65b0\u9c9c\u5ea6\u503c\u62fc\u63a5\u8d77\u6765\uff0c\u4f20\u9012\u7ed9\u8ba4\u8bc1\u7b97\u6cd5\u4ea7\u751f <\/span>MAC <\/span>\u503c\u3002<\/span><\/span><\/p> \u63a5\u6536\u65b9\u6536\u5230\u5b89\u5168<\/span> PDU <\/span>\u540e\u4f1a\u901a\u8fc7<\/span>M<\/span><\/span>AC<\/span>\u8ba4\u8bc1\u6a21\u5757\u5bf9\u5176\u65b0\u9c9c\u6027\u4e0e\u5b8c\u6574\u6027\u8fdb\u884c\u9a8c\u8bc1\uff0c\u5982\u679c\u9a8c\u8bc1\u6210\u529f\uff0c\u90a3\u4e48\u5c06\u539f\u59cb\u7684\u6570\u636e<\/span>PDU<\/span>\u4e0a\u4f20\u5230\u4e0a\u5c42\u5e94\u7528\u7684\u8f6f\u4ef6\u6a21\u5757\uff0c\u5982\u679c\u9a8c\u8bc1\u5931\u8d25\uff0c\u5219\u76f4\u63a5\u4e22\u5f03\u3002<\/span><\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t \u8be5\u89e3\u51b3\u65b9\u6848\u662f\u57fa\u4e8e<\/span>SecOC<\/span>\u65b9\u6848\u5b9e\u73b0\u8f66\u5185\u654f\u611f\u4fe1\u606f\u7684\u8ba4\u8bc1\u3002<\/span><\/span><\/p> TOSUN SecOC<\/span>\u7cfb\u7edf\u662f\u57fa\u4e8e<\/span>T<\/span><\/span>OSUN<\/span>\u540c\u661f\u81ea\u7814\u6838\u5fc3\u8f6f\u4ef6<\/span>TSMaster<\/span>\u548c<\/span>CAN<\/span>\u5de5\u5177\u5b9e\u73b0\uff0c\u80fd\u591f\u6db5\u76d6\u5f00\u53d1\u548c\u751f\u4ea7\u8fc7\u7a0b\u4e2d\u7684\u6d4b\u8bd5\u9700\u6c42\uff0c\u4e3b\u8981\u529f\u80fd\u5305\u542b\u4e3b\u8282\u70b9\u540c\u6b65\u62a5\u6587\u89e3\u6790\uff0c\u5b8c\u6574\u65b0\u9c9c\u5ea6\u503c\u751f\u6210\uff0c\u8ba1\u7b97<\/span>MAC<\/span>\u503c\uff0c\u751f\u6210\u5e76\u53d1\u9001\u5b89\u5168\u62a5\u6587\u3001\u63a5\u6536\u89e3\u6790\u9a8c\u8bc1\u5b89\u5168\u62a5\u6587\u548c\u6545\u969c\u6ce8\u5165\u529f\u80fd\u3002<\/span><\/span><\/p> \u6d4b\u8bd5\u9762\u677f\u603b\u4f53\u5982\u4e0b\u56fe\u6240\u793a\uff1a<\/span><\/b><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t \u65b0\u9c9c\u503c\u7ba1\u7406\u6a21\u5757\u5728\u6574\u8f66\u8eab\u4e0a\u4e00\u822c\u7531\u7f51\u5173\u5145\u5f53\uff0c\u8d1f\u8d23\u53d1\u9001\u540c\u6b65\u62a5\u6587\uff0c\u4fbf\u4e8e\u4ece\u8282\u70b9\u66f4\u65b0\u65b0\u9c9c\u503c\u3002\u540c\u6b65\u62a5\u6587\u7684\u4e3b\u8981\u4f5c\u7528\u662f\u4fdd\u8bc1\u5b89\u5168<\/span>PDU<\/span>\u53d1\u9001\u548c\u63a5\u6536\u7aef\u65b0\u9c9c\u5ea6\u503c\u4fe1\u606f\u7684\u4e00\u81f4\u6027\u3002<\/span><\/span><\/i><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t \u540c\u6b65\u62a5\u6587\u7684\u884c\u7a0b\u8ba1\u6570\u5668\uff08<\/span>Trip Counter<\/span>\uff09\u3001\u91cd\u7f6e\u8ba1\u6570\u5668\uff08<\/span>Reset Counter<\/span>\uff09\u548c<\/span>MAC<\/span>\u503c\uff08<\/span>Authenticator<\/span>\uff09\u957f\u5ea6\u5b9a\u4e49\u5982\u4e0b\uff1a<\/span><\/span><\/i><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t2-SecOC\u5b9e\u73b0\u539f\u7406<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\u4e8c\u3001\u540c\u661f SecOC\u6d4b\u8bd5\u89e3\u51b3\u65b9\u6848<\/b><\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t
1-\u540c\u6b65\u62a5\u6587\u63a5\u6536<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t