Presentation is loading. Please wait.

Presentation is loading. Please wait.

教育部補助「行動寬頻尖端技術跨校教學聯盟計畫-行動寬頻網路與應用-小細胞基站聯盟中心計畫」 Small Cell創新應用與服務專題 課程單元: LTE開源軟體 - OpenAirInterface之簡介與安裝流程 計畫主持人:許蒼嶺 授課教師:李宗南、簡銘伸、李名峰 教材編撰:張為捷、陳柏宇 國立中山大學.

Similar presentations


Presentation on theme: "教育部補助「行動寬頻尖端技術跨校教學聯盟計畫-行動寬頻網路與應用-小細胞基站聯盟中心計畫」 Small Cell創新應用與服務專題 課程單元: LTE開源軟體 - OpenAirInterface之簡介與安裝流程 計畫主持人:許蒼嶺 授課教師:李宗南、簡銘伸、李名峰 教材編撰:張為捷、陳柏宇 國立中山大學."— Presentation transcript:

1 教育部補助「行動寬頻尖端技術跨校教學聯盟計畫-行動寬頻網路與應用-小細胞基站聯盟中心計畫」 Small Cell創新應用與服務專題 課程單元: LTE開源軟體 - OpenAirInterface之簡介與安裝流程 計畫主持人:許蒼嶺 授課教師:李宗南、簡銘伸、李名峰 教材編撰:張為捷、陳柏宇 國立中山大學 資訊工程系

2 大綱 OAI 簡介 OAI軟體平台 OAI架構 實作方式 安裝流程 phpmyadmin 設定(hss中的value)
Run HSS/MME 結果 SIM卡的參數設定 USRP B210 安裝 Run lte-softmodem 結果

3 簡介 開源軟體 entirely written in C. developed by OpenAir5G Lab@Eurecom
提供 open-source ecosystem for the core (EPC) and access- network (EUTRAN) protocols 號稱 “World's Most Complete Open Source LTE Base Station (eNB) Software ! ” SVN上最近版本 Oct 26, 2014 – Release 0.1 支援3GPP Release 8, 9 與部份Release 10 3 3

4 Users industrial users
Alcatel-Lucent, China Mobile, TCL, Thales, National Instruments, Orange, Intel, TCS, Canonical, Ercom, Keysight, Telekom Malaysia, Telecom Italia, Swisscom, ARELIS (Thomson Broadcast). leading research centers B-COM, Fraunhofer IIS, Frauhofer FOKUS, IMST, TNO, Winlab, Idaho National Laboratory, III, ITRI, INDT, Fundacion Sadosky and many top university labs worldwide 4 4

5 System Requirements 軟體
Ubuntu LTS/Linux Kernel version 3.17 (Recommended) 硬體 Ettus USRP B210/X300 (by Ettus Research,推薦,絕大多數Open Source支援USRP B210)或Eurocom ExpressMIMO 2 (by Eurocom,OAI專用) UE/Sim Card 5

6 OAI Software get a copy of OAI software https://github.com/
Protocol Stacks RAN OpenAir5G EPC OpenAirCN 6

7 Source Code OPENAIR0 (open-source real-time HW/SW)
OPENAIR1 (open-source real-time and offline SW, containing physical layer procedures ) OPENAIR2: (open-source real-time and offline SW, containing the LTE MAC, RLC, PDCP) OPENAIR3 (open-source Linux SW suite for cellular and MESH networks) OPENAIR-CN (a small-scale 3GPP-EPC implementation, including MME, P and S-Gateway and HSS components) TARGETS : different top-level target designs (emulator, RTAI, etc.) RTAI, abbreviated from real-time application interface, is a real-time extension for the Linux kernel, which lets users write applications with strict timing constraints for Linux. Like Linux itself the RTAI software is a community effort. RTAI provides deterministic response to interrupts, POSIX-compliant and native RTAI real-time tasks. 7 7

8 RAN Source Code PHY (Physical) MAC (Medium Access Control)
PDCP (Packet Data Convergence Protocol) RLC (Radio Link Control) RRC (Radio Resource Control) 8

9 OAI軟體平台 PDCP 子層的主要功能為協助傳輸第三層的資料,並對資料 進行:加/解密,完整性保護/驗證,檔頭壓縮,及過時資料丟棄等處理。而 RLC 子層的主要功能在於對封包進行切割/組裝, 重新排序以確保資料的順序性, 並利用自動重傳請求機制確保資料的正確性

10 OAI軟體平台 SCTP:可靠、高效、有序的數據傳輸協議

11 OAI架構

12 實作方式

13 硬體設備 ExpressMIMO2 USRP B210 USRP X300

14 eNB and UE 配置 Commercial UE <-> OAI eNB + Commercial EPC
Commercial UE <-> OAI eNB + OAI EPC Commercial UE <-> Commercial eNB + OAI EPC OAI UE <-> Commercial eNB + OAI EPC (experimental) OAI UE <-> Commercial eNB + Commercial EPC (experimental) OAI UE <-> OAI eNB + Commercial EPC (experimental) OAI UE <-> OAI eNB + OAI EPC OAI UE <-> OAI eNB

15 安裝流程

16 Hardware Requirements

17 Ubuntu Kernel version 3.17

18 Disable CPU Frequency scaling

19 Get stable version of OpenAir Code
Checkout RAN repository (eNB RAN + UE RAN) $git clone  Checkout EPC (Core Network) repository git clone  optionally (openair-cn build script can install it for you): git clone 

20 Building OAI executables Command
eNB Build Examples $cd cmake_targets $./build_oai -I --install-optional-packages (need to run only once) $./build_oai -h (for more options) Install, Build eNB package installation + USRP Driver installation : $./build_oai -I --install-optional-packages -w USRP Build LTE Simulations (L3/L2/L1) $cd lte_noS1_build_oai $mkdir build $cd build $cmake .. $make lte-softmodem -j4

21 Build the EPC modules $ git clone  $ cd YOUR_openair-cn_DIRECTORY $ cd SCRIPTS $ ./build_epc -i (Need to run only once to install missing packages) $ ./build_hss -i (Need to run only once to install missing packages)

22 eNB without S1 interface
S1AP and GTP protocols 被繞過 ,eNB 交換 IP packets 在上層透過OAI network device driver 。 要設定無線連結,需要OAI UE 與 network device driver 和 不要NAS protocol。 GPRS 隧道協議(英語:GPRS Tunnelling Protocol,簡稱:GTP)是一組基於 IP 的通信協議,用於在 GSM、UMTS 和 LTE 網絡中承載 GPRS 網路附加儲存(Network Attached Storage,NAS)[1],是一種專門的資料儲存技術的名稱,它可以直接連接在電腦網路上面,對異質網路使用者提供了集中式資料存取服務。

23 eNB with S1 interface eNB建立與S1AP和GTP protocols 和EPC互動。
不同的EPC可以連接到OAI的eNB。 eNB with all-in-one OAI EPC platform eNB with separate EPC platform

24 eNB with all-in-one OAI EPC platform
S11 interface 是虛擬的,S11傳送訊息不用透 過網路層但是要透過inter-task interface (ITTI) 在 Middleware。

25 eNB with separate EPC platform
開發中

26 EURECOM EPC EURECOM EPC提供MME和GW功能,並且與 EURECOM HSS互動。
S11介面是虛擬的,即S11 message 不經過網 路層。 SGW和PGW合併在一起,在兩個功能實體之 間沒有S5或S8接口。

27 EURECOM EPC 和 HSS EPC 和 HSS 在同一台主機上,要用TCP 在 S6a interface 。
EPC 和 HSS 在不同主機上,要用SCTP在S6a interface,使得網路擷取在S1-MME的傳輸相 對簡單。

28 OAI 架構和參數設定 PyBOMBS is a command-line tool for Linuxes (and some Unixes) from the GNU Radio ecosystem and will do a source build of UHD,

29 phpMyadmin login 127.0.0.1/phpmyadmin (在Browser輸入) 使用者名稱: root(預設)
密碼 : (自己設定值)

30 phpmyadmin 登入後畫面

31 phpmyadmin table value
 table mmeidentity enter the record corresponding to your MME table pdn enter the record allowing an IMSI to connect to an APN  table users enter the record corresponding to your USIM card

32 Config own MME on phpadmin

33 Add IMEI & SIM card   Make sure mmeidentity in ALL sim cards is 2

34 Create HSS

35 Building HSS  Change the configure file hss hss.conf

36 Run HSS

37 Run HSS openair-cn/cmake_targets tools/ $ ./build_hss -c –l
$ ./run_hss -g

38 Building the MME-GW Configure MME
 configure in file openair-cn/BUILD/EPC/epc.local.enb.conf 做參數的設定(E.g. ipv4的IP)

39 Build MME-GW command Build MME Run MME
 ~/openair-cn/SCRIPTS/build_epc -c -l Run MME  ~/openair-cn/SCRIPTS/run_epc -l -g

40 Run EPC

41 Run MME

42 一旦HSS跟EPC彼此有註冊到的話,就會顯示STATE_OPEN

43 EPC 這邊也會開始等待UE的request

44 Building lte_softmodem
$ cd ~/openairinterface $ source oaienv (每次做build之前最好再下一次command) $ cd cmake_targets $ ./build_oai -I -g --eNB -x --install-system-files -w USRP --install-optional-packages 就會產生出lte_softmodem的執行檔

45 Run lte_softmodem

46 SIM 卡資訊 shell > mysql -u root -p mysql > use oai_db;
mysql > INSERT INTO users (`imsi`, `msisdn`, `imei`, `imei_sv`, `ms_ps_status`, `rau_tau_timer`, `ue_ambr_ul`, `ue_ambr_dl`, `access_restriction`, `mme_cap`, `mmeidentity_idmmeidentity`, `key`, `RFSP-Index`, `urrp_mme`, `sqn`, `rand`, `OPc`) VALUES (‘ ’, ‘ ’, NULL, NULL, ‘PURGED’, ‘120’, ‘ ’, ‘ ’, ‘47’, ‘ ’, ‘3’, 0x8BAF473F2F8FD09487CCCBD7097C6862, '1', '0', '',0x , '');

47 SIM卡 IN 資料庫

48 lte-softmodem(eNB+EPC 同一台)

49 lte-softmodem(eNB+EPC 同一台)

50 lte-softmodem(eNB+EPC 同一台)

51 lte-softmodem(eNB+EPC 不同台)

52 lte-softmodem(eNB+EPC 不同台)

53 USRP B210 53

54 Ettus Research

55 Setting up the dependencies
$ sudo apt-get install libboost-all-dev libusb dev python-mako doxygen python-docutils cmake build-essential

56 Using PyBOMBS Getting the source code PyBOMBS $ ./pybombs install uhd
$git clone git://github.com/EttusResearch/uhd.git PyBOMBS command-line tool for Linux $ ./pybombs install uhd PyBOMBS is a command-line tool for Linuxes (and some Unixes) from the GNU Radio ecosystem and will do a source build of UHD,

57 Install GnuRadio

58 Install GnuRadio

59 GnuRadio

60 Build Instructions Generate Makefiles with CMake Build and install
$cd <uhd-repo-path>/host $mkdir build $cd build $cmake ../ Build and install $make $make test $cd build $sudo make install Setup the library path (Linux) $sudo ldconfig

61 Build Instructions

62 Instructions

63 官網與其他網站差別在於---相依套件不同


Download ppt "教育部補助「行動寬頻尖端技術跨校教學聯盟計畫-行動寬頻網路與應用-小細胞基站聯盟中心計畫」 Small Cell創新應用與服務專題 課程單元: LTE開源軟體 - OpenAirInterface之簡介與安裝流程 計畫主持人:許蒼嶺 授課教師:李宗南、簡銘伸、李名峰 教材編撰:張為捷、陳柏宇 國立中山大學."

Similar presentations


Ads by Google