AUTOSAR - Standard Document Download

 Official website

https://www.autosar.org/

  

document classification

By function

 

 

By type

 

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.

 

Download method

  1. Press the button provided to download each folder individually.

    https://www.autosar.org/standards/classic-platform/classic-platform-431/

 

Click here to download

 

2. Use Document Search to search for downloads.

https://www.autosar.org/nc/document-search/

 

 3.  Use Document Search to download using script.

 

 

Right-click Show more and copy the link address:

https://www.autosar.org/nc/document-search/?tx_sysgsearch_pi1%5Bcategory%5D%5B25%5D=25&tx_sysgsearch_pi1%5Bquery%5D=&tx_sysgsearch_pi1%5Bwidget%5D=1&tx_sysgsearch_pi1%5Bpage%5D=2

After decoding it is:

https://www.autosar.org/nc/document-search/?tx_sysgsearch_pi1[category][25]=25&tx_sysgsearch_pi1[query]=&tx_sysgsearch_pi1[widget]=1&tx_sysgsearch_pi1[page]=2

The last 2 of them refers to the second page of search results.

It is observed that each page displays 10 results, and CLASSIC PLATFORM has a total of 221 results, which is a total of 23 pages. We can batch download these results through a script.

 

#!/bin/bash -x

PDF_KEYWORK=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_KEYWORK | tr ' ' '\n' | grep $PDF_KEYWORK | 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

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325386918&siteId=291194637