大红鹰dhy登录界面「网站首页」欢迎您 /%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/ /%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/#respond Thu, 10 Aug 2023 08:49:26 +0000 /?p=4723 闅忕潃姹借溅琛屼笟鍜屼簰鑱旂綉鐨勪笉鏂彂灞曪紝姹借溅涓嶆柇鍦板彉寰楁櫤鑳藉寲銆佷簰鑱旂綉鍖栵紝杩欑榛樿鐨勮溅鍐呴€氳鍙樺緱瓒婃潵瓒婁笉瀹夊叏銆傚鏋滃湪杞﹁締鐗╃悊鎬荤嚎涓婂鍔犱竴涓柊鐨勭粨鐐?......

The post 姹借溅鍐呴儴閫氫俊鐨勫畨鍏ㄦ寫鎴樹笌SecOC瑙e喅鏂规 first appeared on 涓婃捣鍚屾槦鏅鸿兘绉戞妧鏈夐檺鍏徃.

]]>

涓€銆侀渶姹傝儗鏅?/b>
1-SecOC浜х敓鑳屾櫙

鍦ㄤ紶缁熺殑姹借溅鐢靛瓙鏋舵瀯涓紝杞﹀唴ECU鏁伴噺鍜屽鏉傚害鏈夐檺锛岄€氳甯﹀涔熷彈闄愶紝鍥犳璁や负杞﹀唴ECU闂寸殑閫氳閮芥槸鍙俊鐨勶紝ECU鑺傜偣鍙鏀跺埌鐩稿簲鐨勬姤鏂囷紝灏变細瀵逛箣澶勭悊銆傞殢鐫€姹借溅琛屼笟鍜屼簰鑱旂綉鐨勪笉鏂彂灞曪紝姹借溅涓嶆柇鍦板彉寰楁櫤鑳藉寲銆佷簰鑱旂綉鍖栵紝杩欑榛樿鐨勮溅鍐呴€氳鍙樺緱瓒婃潵瓒婁笉瀹夊叏銆傚鏋滃湪杞﹁締鐗╃悊鎬荤嚎涓婂鍔犱竴涓柊鐨勭粨鐐癸紝鍙戦€佸亣鍐掔殑淇″彿鎴栬€呯鏀瑰叾瀹傸/font>ECU鍙戦€佺殑鎶ユ枃锛屽鍔犻€熴€佸埞杞︺€佽浆寮紝鑰岃溅杈嗗姩鍔涙帶鍒剁浉鍏崇殑ECU鐓у崟鍏ㄦ敹锛岄偅涔堣溅杈嗗氨浼氬け鎺с€傚洜姝わ紝鎬ラ渶瀹炵幇涓€绉嶅畨鍏ㄩ珮鏁堢殑绠楁硶鏉ラ獙璇佹姤鏂囷紝纭鎶ユ枃鍙戦€佹柟鏄惁鍚堟硶浠ュ強鏁版嵁鏄惁琚鏀广€傚湪杩欑鎯呭喌涓嬶紝瀹夊叏鏉胯浇閫氫俊 (Secure Onboard Communication锛岀畝绉 SecOC) 鏈哄埗灏卞簲杩愯€岀敓浜嗐€侟/font>

SecOC浜х敓鑳屾櫙

2-SecOC瀹炵幇鍘熺悊

SecOC鏄?/span>Security Onboard Communication 鐨勭畝绉帮紝涓枃鍚嶇О鍙仛瀹夊叏杞﹁浇閫氫俊,鏄?/span>AUTOSAR浠嶞/span>Classic Platform4.2寮€濮嬫柊澧炵殑涓€涓熀纭€妯″潡锛屼富瑕佺殑浣滅敤灏辨槸涓烘苯杞﹀祵鍏ュ紡缃戠粶鎬荤嚎涓婄殑鏁版嵁浼犺緭鎻愪緵韬唤楠岃瘉鍜岄槻姝㈤噸鏀炬敾鍑荤殑鍔熻兘銆侟/span>

SecOC 鏈哄埗瑕佹眰鍦ㄥ崗璁暟鎹崟鍏 (Protocol Data Unit, 绠€绉 PDU) 鐨勫彂閫佹柟鍜屾帴鏀舵柟鐨 ECU 閮借瀹炵幇 SecOC 妯″潡銆侟/span>

鍦ㄥ彂閫佹柟锛孅/span>SecOC 妯″潡閫氳繃鍚戝緟鍙戦€佺殑鍗忚鍘熷 PDU 娣诲姞璁よ瘉淇℃伅鏉ュ垱寤哄畨鍏?/span>PDU锛堣鍥捐〃1-2锛夛紝璁よ瘉淇℃伅鍖呮嫭鏂伴矞搴﹀€稽/span>(Freshness Value锛岀畝绉 FV) 鍜 淇 鎭 璁 璇 鐮侊紙Message Authentication Code锛岀畝绉 MAC锛夈€侟/span>

瀹夊叏PDU鐨勬瀯寤? srcset=

FV 鐢辨柊椴滃害鍊肩鐞嗘ā鍧 (FVM) 鑾峰緱銆侟/span>FVM 鍒嗕负 Master FVM( 鐢辩綉鍏虫媴浠 ) Slave FVM( 鐢卞叾瀹冨疄鐜 SecOC 鏈哄埗鐨 ECU 鎷呬换 )锛屽墠鑰呬細鍚戝悗鑰呭彂閫佹柊椴滃害鍊煎悓姝ユ秷鎭潵淇濊瘉PDU 鏀跺彂绔 FV 鐨勪竴鑷存€э紝鍚庤€呭垯鍚戝墠鑰呭彂閫 FV 鍚屾璇锋眰娑堟伅銆侟/span>

灏咟/span> PDU 鐨勬暟鎹爣璇嗙銆佸師濮 PDU 浠ュ強瀹屾暣鏂伴矞搴﹀€兼嫾鎺ヨ捣鏉ワ紝浼犻€掔粰璁よ瘉绠楁硶浜х敓 MAC 鍊笺€侟/span>

鎺ユ敹鏂规敹鍒板畨鍏?/span> PDU 鍚庝細閫氳繃MAC璁よ瘉妯″潡瀵瑰叾鏂伴矞鎬т笌瀹屾暣鎬ц繘琛岄獙璇侊紝濡傛灉楠岃瘉鎴愬姛锛岄偅涔堝皢鍘熷鐨勬暟鎹?/span>PDU涓婁紶鍒颁笂灞傚簲鐢ㄧ殑杞欢妯″潡锛屽鏋滈獙璇佸け璐ワ紝鍒欑洿鎺ヤ涪寮冦€侟/span>

SecOC瀹炵幇鍘熺悊鍥? srcset=

浜孅b>銆佸悓鏄 SecOC娴嬭瘯瑙e喅鏂规

璇ヨВ鍐虫柟妗堟槸鍩轰簬SecOC鏂规瀹炵幇杞﹀唴鏁忔劅淇℃伅鐨勮璇併€侟/span>

TOSUN SecOC绯荤粺鏄熀浜嶞/span>TOSUN鍚屾槦鑷爺鏍稿績杞欢TSMaster鍜孅/span>CAN宸ュ叿瀹炵幇锛岃兘澶熸兜鐩栧紑鍙戝拰鐢熶骇杩囩▼涓殑娴嬭瘯闇€姹傦紝涓昏鍔熻兘鍖呭惈涓昏妭鐐瑰悓姝ユ姤鏂囪В鏋愶紝瀹屾暣鏂伴矞搴﹀€肩敓鎴愶紝璁$畻MAC鍊硷紝鐢熸垚骞跺彂閫佸畨鍏ㄦ姤鏂囥€佹帴鏀惰В鏋愰獙璇佸畨鍏ㄦ姤鏂囧拰鏁呴殰娉ㄥ叆鍔熻兘銆侟/span>

娴嬭瘯闈㈡澘鎬讳綋濡備笅鍥炬墍绀猴細

SecOC瑙e喅鏂规 娴嬭瘯鎬讳綋闈㈡澘

1-鍚屾鎶ユ枃鎺ユ敹

鏂伴矞鍊肩鐞嗘ā鍧楀湪鏁磋溅韬笂涓€鑸敱缃戝叧鍏呭綋锛岃礋璐e彂閫佸悓姝ユ姤鏂囷紝渚夸簬浠庤妭鐐规洿鏂版柊椴滃€笺€傚悓姝ユ姤鏂囩殑涓昏浣滅敤鏄繚璇佸畨鍏?/span>PDU鍙戦€佸拰鎺ユ敹绔柊椴滃害鍊间俊鎭殑涓€鑷存€с€侟/span>

SecOC瑙e喅鏂规 鍩轰簬鍚屾鐨勭粍鍚堟柊椴滃害鍊肩鐞?1)

鍚屾鎶ユ枃鐨勮绋嬭鏁板櫒锛圏/span>Trip Counter锛夈€侀噸缃鏁板櫒锛圏/span>Reset Counter锛夊拰MAC鍊硷紙Authenticator锛夐暱搴﹀畾涔夊涓嬶細

鍚屾鎶ユ枃缁撴瀯

鏈В鍐虫柟妗堥噰鐢?/span>AES128-CMAC鏍囧噯绠楁硶鍜屽熀浜庡悓姝ユ秷鎭殑澶嶅悎counter鏂伴矞搴﹀€肩鐞嗘柟妗堬紝MAC鍊艰绠楁柟寮忎负CMAC-AES128锛圏/span>DataID/Payload/FV锛孅/span>CK锛夈€侟/span>

脴聽鍥剧ず鏄?/span>TOSUN SecOC瑙e喅鏂规涓悓姝ユ姤鏂囨帴鏀剁殑婕旂ず

SecOC瑙e喅鏂规 TOSUN SecOC鍚屾鎶ユ枃鎺ユ敹(1)

绗竴閮ㄥ垎鏄剧ず琚祴浠讹紙涓昏妭鐐癸級鍙戦€佺殑鍚屾鎶ユ枃鍜屾姤鏂囪В鏋愩€侟/span>Data ID鐢变富鑺傜偣锛堣娴嬩欢/鏂伴矞鍊肩鐞嗘ā鍧楋級鍐冲畾銆侟/span>

绗簩閮ㄥ垎涓虹畻娉曡绠楃殑MAC鍊硷紝涓庢帴鏀剁殑MAC鍊煎墠涓や綅鏄竴鑷寸殑锛屽垯楠岃瘉鎴愬姛杩斿洖0锛涘惁鍒欓獙璇佸け璐ヨ繑鍥濣/span>1锛屽苟涓旈敊璇暟閲廃/span>+1銆侟/span>

2-鏂伴矞搴﹀€肩鐞咟/h4>

脴聽鍥剧ず鏄?/span>TOSUN SecOC瑙e喅鏂规涓柊椴滃害鍊肩鐞嗙殑婕旂ず

瀹屾暣鐨勬柊椴滃害鍊煎寘鎷紙64bit锛夛細琛岀▼璁℃暟鍣紙Trip Counter锛堻/span>,閲嶇疆璁℃暟鍣紙Reset Counter锛堻/span>,閲嶇疆鏍囧織鍊硷紙Reset Flag锛夊拰娑堟伅璁℃暟鍣紙Message Counter锛夈€侟/span>

SecOC鏂伴矞鍊艰绠? srcset=

1)聽琛岀▼璁℃暟鍣ㄥ拰閲嶇疆璁℃暟鍣ㄧ敱鍚屾鎶ユ枃鍐冲畾銆侟/span>

2)聽娑堟伅璁℃暟鍣ㄦ瘡鍙戦€佷竴娆″畨鍏ㄦ姤鏂囪嚜澧濣/span>1銆侟/span>

3)聽閲嶇疆鏍囧織浣嶄负閲嶇疆璁℃暟鍣ㄦ渶鍚嶞/span>2bit鏁版嵁銆侟/span>

浠庤妭鐐瑰唴瀹屾暣鐨勬柊椴滃害鍊肩敱浠ヤ笂鍥涗釜鏁版嵁鐢熸垚銆侟/span>

鏂伴矞搴﹀€煎畬鏁存暟鎹粨鏋? srcset=

3-瀹夊叏鎶ユ枃鍙戦€?/h4>

脴聽鍥剧ず鏄?/span>TOSUN SecOC瑙e喅鏂规涓畨鍏ㄦ姤鏂囧彂閫佺殑婕旂ず

SecOC瀹夊叏鎶ユ枃鍙戦€? srcset=

绗竴閮ㄥ垎璁剧疆2瀛楄妭鐨凕/span>Data ID鍜孅/span>4瀛楄妭鐨勬帶鍒朵俊鍙凤紙鍗佽繘鍒躲€佸崄鍏繘鍒惰緭鍏ュ嵆鍙級銆侟/span>

绗簩閮ㄥ垎鏄剧ず鍔犲瘑鍚庣殑MAC鍊硷紝鎴彇鐨勬柊椴滃€笺€佹埅鍙栫殑MAC鍊煎拰鍙戦€佺殑瀹夊叏鎶ユ枃锛堝畨鍏ㄦ姤鏂囩敱4涓瓧鑺傛帶鍒朵俊鍙枫€?/span>1涓瓧鑺傛埅鍙栨柊椴滃害鍊煎拰3涓瓧鑺傛埅鍙朁/span>MAC鍊肩粍鎴愶級銆侟/span>

鏈В鍐虫柟妗堢殑鏂伴矞搴﹀€煎拰MAC鍊兼埅鍙栫殑鏍囧噯鏄湪CAN鍗忚鐨勯€氫俊鏂瑰紡涓嬶紝FV鎴彇浣庝綅1瀛楄妭锛孅/span>MAC鎴彇楂樹綅3瀛楄妭銆侟/span>

SecOC鏁版嵁缁撴瀯(1)

4-瀹夊叏鎶ユ枃鎺ユ敹

脴聽鍥剧ず鏄?/span>TOSUN SecOC瑙e喅鏂规涓畨鍏ㄦ姤鏂囨帴鏀剁殑婕旂ず

SecOC瀹夊叏鎶ユ枃鎺ユ敹

绗竴閮ㄥ垎璁剧疆鎺ユ敹绔?/font>2瀛楄妭鐨凕/font>Data ID锛堝畨鍏ㄦ姤鏂囧彂閫佸拰鎺ユ敹妯″潡鐨凕/font>Data ID闇€涓€鑷达紝鍚﹀垯鍦ㄥ畨鍏ㄦ姤鏂囨帴鏀剁浼氶獙璇佸け璐ワ級锛屾樉绀哄畬鏁寸殑瀹夊叏鎶ユ枃銆侟/span>

绗簩閮ㄥ垎鏄剧ず鎺ユ敹绔殑MAC楠岃瘉缁撴灉锛岄獙璇佹垚鍔熻繑鍥濣/font>0锛屼寒缁跨伅锛涢獙璇佸け璐ヨ繑鍥濣/font>1锛屼寒绾㈢伅锛岄敊璇暟閲廃/font>+1銆侟/font>

5-鏁呴殰娉ㄥ叆娴嬭瘯

脴 鍥剧ず鏄?/span>TOSUN SecOC瑙e喅鏂规涓晠闅滄敞鍏ユ祴璇曠殑婕旂ず

SecOC鏁呴殰娉ㄥ叆闈㈡澘

鍦ㄨ闈㈡澘涓偣鍑讳换鎰忕被鍨嬫晠闅滄敞鍏ユ寜閽彲杩涜鏁呴殰娉ㄥ叆锛孅/span>鍙湅鍒般€愭帴鏀剁銆戠殑閿欒鏁伴噺澧炲姞骞朵寒绾㈢伅銆備互妫€娴嬪拰璇勪及绯荤粺鐨勫彲闈犳€у拰绋冲畾鎬э紝浠庤€屾彁楂樼郴缁熺殑璐ㄩ噺銆侟/span>

鍏朵腑鈥滄ā鎷熻繃鍘绘柊椴滃€煎彂閫佲€濇槸鎸囧皢鏂伴矞鍊肩鏀规垚涓婁竴娆″彂閫 鐨勬柊椴滃€硷紝鈥滄ā鎷熸湭鏉ユ柊椴滃€煎彂閫佲€濆悓鐞嗐€侟/font>

璇︾粏鎶ユ枃淇℃伅(1)

濡傛灉鎯虫煡鐪嬭缁嗙殑鎶ユ枃淇℃伅锛屽彲浠ュ湪鈥滄姤鏂囦俊鎭€濅腑鏌ョ湅姝g‘鍙戦€佹垨鏁呴殰娉ㄥ叆鐨勫畨鍏ㄦ姤鏂囷紝杩囨护鏍囪瘑绗︿负 2CA 鐨勬姤鏂囧嵆鍙€傚悓姝ユ姤鏂囦篃鍙煡鐪嬶紝鏍囪瘑绗︿负 25C銆侟/span>

The post 姹借溅鍐呴儴閫氫俊鐨勫畨鍏ㄦ寫鎴樹笌SecOC瑙e喅鏂规 first appeared on 涓婃捣鍚屾槦鏅鸿兘绉戞妧鏈夐檺鍏徃.

]]>
/%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/feed/ 0