官网
https://www.autosar.org/
文档分类
按功能分
按类型分
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.
下载方法
1.按提供的按钮单独下载每个文件夹。
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,复制链接地址,解码后为:
https://www.autosar.org/nc/document-search/?-xxx-[page]=2
其中最后一个2指搜索结果第二页。
观察发现每页显示10条结果,CLASSIC PLATFORM共有221条结果,也就是总共23页。我们可以通过脚本来批量下载这些结果。
#!/bin/bash -xPDF_KEYWORK=fileadminfetch_page(){ local u=$1local f=$2wget-O $f $u}fetch_pdf_of_page(){ local f=$1foruin$(cat$f |grep$PDF_KEYWORK |tr'''\n'|grep$PDF_KEYWORK |cut-d'='-f2|xargsecho);dot=$(basename$u) [-e $t ] &&continuewget-T3600https://www.autosar.org/$u &done}fetch_all_pages(){ local url=$1local num=$2local dst=$3forpin$(seq1$num);do[-e page_$p ] &&continue fetch_page $url$p page_$p fetch_pdf_of_page page_$p
done
}# classicDST=classic/4-3
mkdir-p $DSTcd $DST&& fetch_all_pages"https://www.autosar.org/nc/weiteres/search/?-xxx-[page]="23
# adaptive#DST=adaptive/17-10
#mkdir-p $DST#cd $DST&& fetch_all_pages"https://www.autosar.org/nc/weiteres/search/?-xxx-
page="4
# foundation#DST=foundation/1-3
#mkdir-p $DST#cd $DST&& fetch_all_pages"https://www.autosar.org/nc/document-search/?-xxx-
page%5D="2
# tests#DST=tests/1-2
#mkdir-p $DST#cd $DST&& fetch_all_pages"https://www.autosar.org/nc/weiteres/search/?-xxx-
page%5D="2
领取专属 10元无门槛券
私享最新 技术干货