https://mp.weixin.qq.com/s/IfJ3BmyTBbSIqyD30BqFbA
官網
文檔分類
按功能分

按類型分

CLASSIC PLATFORM
The AUTOSAR Classic Platform architecture distinguishes on the highest abstraction level between three software layers which run on a microcontroller: application, runtime environment (RTE) and basic software (BSW).
- The application software layer is mostly hardware independent.
- Communication between software components and access to BSW via RTE.
- The RTE represents the full interface for applications.
- The BSW is divided in three major layers and complex drivers:
- Services, ECU (Electronic Control Unit) abstraction and microcontroller abstraction.
- Services are divided furthermore into functional groups representing the infrastructure for system, memory and communication services.



下載方法
- 按提供的按鈕單獨下載每個文件夾。
https://www.autosar.org/standards/classic-platform/classic-platform-431/

這里可以點擊分類下載
2. 用Document Search搜索下載。
https://www.autosar.org/nc/document-search/
3. 利用Document Search使用腳本下載。

右擊Show more,復制鏈接地址:
解碼后為:
其中最后一個2指搜索結果第二頁。
觀察發現每頁顯示10條結果,CLASSIC PLATFORM共有221條結果,也就是總共23頁。我們可以通過腳本來批量下載這些結果。
#!/bin/bash -x PDF_KEYWORD=fileadmin fetch_page() { local u=$1 local f=$2 wget -O $f $u } fetch_pdf_of_page() { local f=$1 for u in $(cat $f | grep $PDF_KEYWORD | tr ' ' '\n' | grep $PDF_KEYWORD | cut -d '=' -f 2 | xargs echo); do t=$(basename $u) [ -e $t ] && continue wget -T 3600 https://www.autosar.org/$u & done } fetch_all_pages() { local url=$1 local num=$2 local dst=$3 for p in $(seq 1 $num); do [ -e page_$p ] && continue fetch_page $url$p page_$p fetch_pdf_of_page page_$p done } # classic DST=classic/4-3 mkdir -p $DST cd $DST && fetch_all_pages "https://www.autosar.org/nc/weiteres/search/?tx_sysgsearch_pi1[category][25]=25&%3Btx_sysgsearch_pi1[tags][0]=&tx_sysgsearch_pi1[widget]=1&tx_sysgsearch_pi1[page]=" 23 # adaptive #DST=adaptive/17-10 #mkdir -p $DST #cd $DST && fetch_all_pages "https://www.autosar.org/nc/weiteres/search/?tx_sysgsearch_pi1%5Bcategory%5D%5B118%5D=118&%3Btx_sysgsearch_pi1%5Btags%5D%5B0%5D=&tx_sysgsearch_pi1%5Bwidget%5D=1&tx_sysgsearch_pi1%5Bpage%5D=" 4 # foundation #DST=foundation/1-3 #mkdir -p $DST #cd $DST && fetch_all_pages "https://www.autosar.org/nc/document-search/?tx_sysgsearch_pi1%5Bcategory%5D%5B120%5D=120&%3Btx_sysgsearch_pi1%5Bquery%5D=&tx_sysgsearch_pi1%5Bwidget%5D=1&tx_sysgsearch_pi1%5Bpage%5D=" 2 # tests #DST=tests/1-2 #mkdir -p $DST #cd $DST && fetch_all_pages "https://www.autosar.org/nc/weiteres/search/?tx_sysgsearch_pi1%5Bcategory%5D%5B32%5D=32&%3Btx_sysgsearch_pi1%5Btags%5D%5B0%5D=&tx_sysgsearch_pi1%5Bwidget%5D=1&tx_sysgsearch_pi1%5Bpage%5D=" 2
