簡易檢索 / 詳目顯示

研究生: 余瀧濱
Long-Bin Yu
論文名稱: 於Android智慧型手機以近場通訊啟用藍芽資料傳輸之研究
A study on NFC-activated Bluetooth data transmission over Android smart phones
指導教授: 葉耀明
Yeh, Yao-Ming
學位類別: 碩士
Master
系所名稱: 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2012
畢業學年度: 100
語文別: 中文
論文頁數: 63
中文關鍵詞: AndroidNFC藍芽近場通訊
英文關鍵詞: Android, NFC, Bluetooth, near-field-communication
論文種類: 學術論文
相關次數: 點閱:183下載:27
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 藍芽技術從1999年推出後,雖有短距離高速資料傳輸的功能,但其設定步驟之繁複,儘管智慧型手機配備了藍芽技術,但仍使許多不黯科技產品的使用者仍視為畏途。自從2010年Google推出首支內建近場通訊(NFC)的Android智慧型手機Nexus S後,其簡單與易用特性,使近場通訊的應用與相關的研究如雨後春筍般地被推出。近場通訊技術除了資料傳輸之外,也可以透過控制指令的傳送來取代藍芽技術的前置動作,降低操作的複雜度,藉以增加該通訊技術的使用性。如何利用NFC來擴充與改善藍芽的技術應用為重要課題。
    本研究提出以近場通訊的點對點模式,啟用藍芽的連線與資料傳輸,可節省設定時間,且使用者不必具有連線先備知識。因應官方SDK無提供藍芽傳輸檔案的狀況,本研究發展出文字基底的傳輸檔案模組,進一步比較點對點模式與藍芽傳輸檔案的時間,結果顯示,在小於4KB時,使用點對點模式較省時,成為兩種技術的分水嶺。我們依據所發展出來的模組,開發出三項應用:孩童走失警示、繪圖接龍、翻牌遊戲。孩童走失警示系統可以偵測小孩是否距離超過藍芽連線距離,超出則響鈴提醒。繪圖接龍為兩人開啟藍芽連線,用接力的方式完成圖畫和紙筆遊戲,翻牌遊戲則是玩法類似記憶遊戲,並利用藍芽即時同步遊戲的狀態。

    Bluetooth technology was proposed in 1999. Although it can transmit in high speed within short range, nevertheless the setting procedure is complicated for users. Since Google launched the first near-field-communication (NFC) smartphones on the Android platform, the simplicity and friendly design of its user-interface makes related applications sprang up like mushrooms. NFC provides data transmission between smartphones. Beside data transmission, NFC also can activate Bluetooth communication between two smartphones by tapping the back of these two smartphones, which can reduce the complexity of Bluetooth setting procedure.
    In this thesis, we develop a system which can set up Bluetooth transition automatically by using NFC P2P mode. To cope with the problem that official SDK doesn’t provide the method of transfer files by Bluetooth, we design a text-based file transfer module. Further, we compare our module with NFC P2P mode, the result shows that 4 KB is a crossover point between NFC and Bluetooth. If file size of the data transmission is less than 4KB, then NFC provides better performance; if file size is greater than 4KB, then Bluetooth provides better performance. We also developed three applications which are based on our NFC activated transmission modules, they are “Child Guard”, “Draw Together”, and “NFC memory game”. “Child Guard” is a Bluetooth-based parent assisted software which can warn parents when their child stays in the distance more than Bluetooth reachable distance. “Draw Together” provide two users take turns to draw pictures on their smartphones. “NFC memory game” is the same as classic poker game, which matches colors in the poker cards, but the game state is synchronous using Bluetooth communication.

    第1章 緒論 1 1.1 研究背景及動機 1 1.2 研究目的 2 1.3 論文架構 3 第2章 文獻探討 4 2.1 近場通訊(Near Field Communication,NFC) 4 2.2 Android作業系統 5 2.2.1 Android系統架構 5 2.2.2 四大組件 6 2.3 藍芽(Bluetooth) 7 2.3.1 網路架構 8 2.3.2 藍芽的連接狀態 10 2.3.3 跳頻展頻(frequency-hopping spread spectrum, FHSS) 11 2.3.4 藍芽與近場通訊的比較 12 第3章 系統規劃 14 3.1 系統架構 15 3.2 藍芽連線實作與比較 17 3.3 藍芽傳輸文字實作部分 23 3.4 藍芽檔案傳輸實作部分 24 3.5 藍芽檔案傳輸測試部分 31 3.6 NFC P2P傳輸模式 34 3.7 NFC與藍芽傳輸的比較 36 第4章 系統應用 38 4.1 Child Guard 38 4.2 Draw Together 40 4.3 翻牌遊戲 44 4.4 模組整合說明 45 第5章 結論與未來發展 49 5.1 結論 49 5.2 未來發展 50 參考著作 51 附錄 53 附錄A. 系統第一層與第二層class diagram 53 附錄B. 系統係二層與第三層class diagram〈一〉 54 附錄C. 系統第二層與第三層class diagram〈二〉 55 附錄D. 連線程式nfc_btActivity.java 56

    [1]. ECMA International NFC White Paper http://www.ecma-international.org/activities/Communications/tc32-tg19-2005-012.pdf
    [2]. Charl A. Opperman, Gerhard P. Hancke, “Using NFC-enabled Phones for Remote Data Acquisition and Digital Control”, “AFRICON, 2011”, Sept 2011
    [3]. Weihua Pan, Fucai Luo, Lei Xu, “Reserch and design of chatting room system based on Android Bluetooth”, “Consumer Electronics, Communications and Networks (CECNet), 2012 2nd International Conference on”, April 2012.
    [4]. Chiu-Chiao Chung, Ching Yuan Huang, Shiau-Chin Wang, Cheng-Min Lin, ” Bluetooth-based Android Interactive Applications for Smart Living”, “Innovations in Bio-inspired Computing and Applications (IBICA), 2011 Second International Conference on”, Dec 2011
    [5]. Wu, Shyi-Shiou, Wu, Hsin-Yi, “The Design of an Intelligent Pedometer using Android”, “Innovations in Bio-inspired Computing and Applications (IBICA), 2011 Second International Conference on”, Dec 2011
    [6]. Josh Potts, Somsak Sukittanon, “Exploiting Bluetooth on Android Mobile Devices for Home Security Application”, “Southeastcon, 2012 Proceedings of IEEE”, March 2012
    [7]. Brad Boone, Chris Hayes, Corey Darr, Dale Musser, “Using Bluetooth on Android Devices to Implement Real-Time Multiplayer Games”, “http://people.cs.missouri.edu/~reu/REU11/adhocgaming/”, July 2011
    [8]. Leong, C.Y., Ong, K.C., Tan, K.K., Gan, O.P., “Near Field Communication and Bluetooth Bridge System”, “Industrial Informatics, 2006 IEEE International Conference on”, Aug 2006
    [9]. 花珀Dongle, http://flower.emome.net/product-dongle.html
    [10]. Burden, M., “Near Field Communications in Public Transport”, “RFID and Electronic Vehicle Identification in Road Transport, 2006. The Instititon of Engineering and Technology Seminar on”, Nov 2006.
    [11]. Ben Dodson Monica S. Lam., “P2P Micro-Interactions with NFC-enabled Mobile Phones”, “MobiCASE 2011”, Oct 2011
    [12]. Cihan KURNAZ, “ADD-ON APPLICATIONS FOR ANDROID”, “Ayça SANİN”, June 2008
    [13]. Benjamin Speckmann, “The Android mobile platform”, Apr 2008
    [14]. Frank Ableson, “Unlocking Android”, Apr 2009
    [15]. Yun-Cheng Chen, “Mobile Navigation Service by Bluetooth Protocol”, July 2005
    [16]. N. Golmie, “Bluetooth Dynamic Scheduling and Interference Mitigation”, “Journal Mobile Networks and Applications”, Feb 2004.
    [17]. Android Developers. (2011, Feb.). Android 2.3.3 platform (rev. 1). [Online]. Available: http://developer.android.com/sdk/android-2.3.3.html
    [18]. NFC Forum, “NFC Data Exchange Format”, http://www.maintag.fr/fichiers/pdf-fr/nfcforum-ts-ndef-1-0.pdf
    [19]. NFC Forum, “NFC Record Type Definition”, https://engineering.purdue.edu/477grp14/Specs/NFC/NFCRTD.pdf
    [20]. Apache Base64 encoding and decoding: http://commons.apache.org/codec/apidocs/org/apache/commons/codec/binary/Base64.html
    [21]. 陳宏志,近場通訊之萬用服務框架, 2009年6月
    [22]. Behrouz A. Forouzan, “Data Communications and Networking, 4e”

    下載圖示
    QR CODE