帳號:guest(3.139.81.220)          離開系統
字體大小: 字級放大   字級縮小   預設字形  

詳目顯示

以作者查詢圖書館館藏以作者查詢臺灣博碩士論文系統以作者查詢全國書目
作者(中文):張勇健
作者(外文):Yung-Chien Chang
論文名稱(中文):基於Android智慧型裝置與Linux嵌入系統之藍牙OBEX協定實現–以圖書館無線導覽系統為例
論文名稱(外文):Implementation of Bluetooth OBEX Protocol for Android-based Smartphones and Linux-based Embedded Systems - An Application of Library Wireless Tour Guide
指導教授(中文):蔡育仁
指導教授(外文):Yuh-Ren Tsai
口試委員(中文):黃政吉
梁耀仁
學位類別:碩士
校院名稱:國立清華大學
系所名稱:通訊工程研究所
學號:102064501
出版年(民國):105
畢業學年度:104
語文別:中文
論文頁數:75
中文關鍵詞:導覽Android藍牙OBEX
外文關鍵詞:Tour GuideAndroidBluetoothOBEX
相關次數:
  • 推薦推薦:0
  • 點閱點閱:416
  • 評分評分:*****
  • 下載下載:0
  • 收藏收藏:0
目前尚有許多的展覽場所還是以傳統的方式來進行導覽,例如解說人員、隨身的音訊播放器、書面簡介…等的方式來對博物館或者美術館…等地的展覽做進一步的介紹。雖然在近年來,隨著智慧型裝置普及度越高,與導覽相關的議題也有越來越多的探討,不過大多數的研究都需要有特定的條件才能提供導覽服務,並不能應用在許多不同的環境中,因此為了達成這個目標,本研究提出一個全面性的智慧型裝置導覽系統,以藍牙作為通訊方式來提供導覽服務以及進行檔案傳輸。
本研究是在Android智慧型裝置上開發應用程式,能夠自動透過藍牙來搜尋鄰近的範圍內是否有導覽區域並會自動下載相關的簡介資料,而藍牙的檔案傳輸功能是依據OBEX規範自行在Android上實現,可以用來接收任意的檔案。使用者介面主要是以fragment來做為顯示檔案內容的框架,能讓使用者有較好的操作體驗。用來提供導覽服務的裝置是單板電腦,會透過Linux作業系統上的藍牙相關工具來控管所連接的藍牙傳輸器,並設計shell script來自動化接聽藍牙連線、送出檔案的動作。若是直接使用OBEX工具預設的模式來傳輸檔案,所需要的傳輸時間甚長,因此本研究將OBEX中的最大傳送封包大小調整為16KB,使得所需的傳輸時間為預設模式的一半還少,大幅的降低使用者需要等待的時間。
Most of tourist sites such as aquarium, museums provide tour guide services, but these services are always inconvenient to use. For example, brief introduction books may not have enough information about the exhibits, or need to deposit a valid id before use the multimedia touring equipment. In recent year, some of smartphone-based tour guide system has been proposed however, these researches are only focus on special cases. The purpose of this project is to develop a tour guide system which can be deployed in comprehensive tourist sites.
This project can be divided into two parts: Android smartphone application design and setup tour guide service with Linux-powered embedded system. The Android application will detect the location automatically by Bluetooth, which can be used to determine whether the user is entering a tour area or not and implement the Bluetooth OBEX protocol, which can be used to transfer data when user decides to watch detail information. The embedded system should provide tour guide service automatically and a shell script is used to achieve this goal. The tour guide service in this project can manage and setup all of the Bluetooth dongle which is connected on the embedded system, register tour guide service information, listen and accept Bluetooth connection, and send files to Android application via Bluetooth OBEX. In order to reduce the time of transfer files, this project sets the maximum packet length of OBEX to 16KB and the result is satisfactory.
摘要 i
Abstract ii
致謝 iii
目錄 iv
圖目錄 vi
表目錄 vii
第1章 緒論 1
1.1 研究動機 1
1.2 研究目的 2
1.3 研究方法 4
1.4 論文架構 7
第2章 相關研究 8
第3章 研究背景 11
3.1 Android 11
3.1.1 生命週期 11
3.1.2 片段 14
3.2 Linux相關工具介紹 15
3.2.1 USB port解析 17
3.3 藍牙介紹 19
3.3.1 UUID 22
3.3.2 RSSI 24
3.3.3 COD 24
3.4 OBEX詳細規範探討 25
3.4.1 OBEX最小系統要求 25
3.4.2 OBEX物件模型 25
3.4.3 傳輸協定 28
3.4.4 OBEX 指令 31
第4章 導覽系統設計 37
4.1 系統整體架構介紹 37
4.2 單板電腦端 38
4.2.1 藍牙設定 38
4.2.2 裝置名稱命名法 38
4.2.3 COD選定 39
4.2.4 UUID設定 39
4.2.5 調整OBEX檔案傳輸速度 39
4.2.6 Shell script 程式流程 40
4.2.7 清單格式 43
4.2.8 命令格式 45
4.2.9 設定檔 47
4.3 智慧型裝置端 47
4.3.1 Android介面架構 48
4.3.2 背景服務 50
4.3.3 OBEX實現 51
4.3.4 顯示導覽資料流程 52
4.3.5 借閱資訊頁面 53
4.3.6 搜尋結果頁面 54
第5章 導覽系統運作成果分析 56
5.1 實驗設備 56
5.2 智慧型裝置應用程式執行結果 57
5.3 單板電腦執行結果 62
5.4 藍牙傳輸及系統溝通結果 64
5.4.1 最大封包大小分析 64
5.4.2 UUID實際結果 66
5.4.3 COD實際結果 67
5.4.4 清單及設定檔 68
5.5 實際傳輸流程 70
第6章 結論 72
參考資料 74
[1] 國立故宮博物院,導覽資訊,http://www.npm.gov.tw/zh-TW/Article.aspx?sNo=03000066
[2] 國立台灣美術館,導覽資訊,http://www.ntmofa.gov.tw/chinese/CP.aspx?s=212
[3] 維基百科,ZigBee基本介紹,https://en.wikipedia.org/wiki/ZigBee
[4] 維基百科,Wi-Fi基本介紹,https://en.wikipedia.org/wiki/IEEE_802.11
[5] 維基百科,藍牙基本介紹,https://en.wikipedia.org/wiki/Bluetooth
[6] 施能義、王憶萍(2012),應用 QR Code 建立雲端行動導覽系統-以彰化孔廟導覽為例。
[7] 徐盛軒、郤威麟(2015) ,應用近場通訊於行動導覽系統之研究與實作。
[8] 姚宗宇等人(2014) ,基於定位之多功能導覽系統之研製。
[9] 余瀧濱(2012) ,於Android智慧型手機以近場通訊啟用藍牙資料傳輸之研究。
[10] Android, APP開發指南,https://developer.android.com/guide/index.html
[11] Android, API說明,https://developer.android.com/reference/packages.html
[12] Linux Kernel Map, USB port說明,http://www.makelinux.net/ldd3/chp-13-sect-2
[13] Linux USB FAQ, USB介紹,http://www.linux-usb.org/FAQ.html
[14] RF Wireless World, 藍牙協定架構介紹,http://www.rfwireless-world.com/Tutorials/Bluetooth-protocol-stack.html
[15] 維基百科,UUID介紹,https://en.wikipedia.org/wiki/Universally_unique_identifier
[16] Bluetooth SIG, 藍牙COD 定義,https://www.bluetooth.com/specifications/assigned-numbers/baseband
[17] Albert Huang, An Introduction to Bluetooth Programming, https://people.csail.mit.edu/albert/bluez-intro/index.html
[18] Infrared Data Association(IrDA), Object Exchange Protocol(OBEX) ,January 3, 2003, Version 1.3。
[19] Nic Capdevila , APP涵式庫Frag-Nav, https://github.com/ncapdevi/FragNav
[20] Iiro Krankka , APP涵式庫Bottom bar, https://github.com/roughike/BottomBar
[21] Toshiro , APP涵式庫FullVideoView, https://github.com/rtoshiro/FullscreenVideoView
[22] Mike Ortiz , APP涵式庫TouchImageView, https://github.com/MikeOrtiz/TouchImageView
(此全文未開放授權)
電子全文
摘要
 
 
 
 
第一頁 上一頁 下一頁 最後一頁 top
* *