跳到主要內容

臺灣博碩士論文加值系統

(18.97.14.86) 您好!臺灣時間:2025/02/09 01:07
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:吳宜澧
研究生(外文):Yi-LiWu
論文名稱:Android應用伺服器之設計與實作
論文名稱(外文):The Design and Implementation of Android Application Server
指導教授:陳敬陳敬引用關係
指導教授(外文):Jing Chen
學位類別:碩士
校院名稱:國立成功大學
系所名稱:電腦與通信工程研究所
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2013
畢業學年度:101
語文別:中文
論文頁數:75
中文關鍵詞:應用伺服器Android遠端操控行動裝置裝置分享
外文關鍵詞:application serverAndroiddevice sharingmobile deviceremote control
相關次數:
  • 被引用被引用:3
  • 點閱點閱:294
  • 評分評分:
  • 下載下載:37
  • 收藏至我的研究室書目清單書目收藏:0
行動應用程式之發展因行動平台硬體仍有所限制,若將行動應用程式佈署於性能較佳之伺服器上運行可克服運算能力不足、電池容量有限等問題。伺服器端具備豐富運算資源可供行動應用程式運行,使用者則透過遠端操控技術與應用程式互動。然而當伺服器執行之行動應用程式需存取現今行動平台上常配備之感測器、震動器與GPS等裝置時,現存之遠端操控技術並不支援。為此,本論文以Android系統平台為例設計並實作一應用伺服器,並支援Android應用程式對客戶端裝置之存取。
Android應用伺服器以Android模擬器為應用程式提供運行環境,並提供遠端操控服務,使用者則透過瀏覽器進行應用程式操作。當應用程式需存取感測器、震動器等行動平台裝置時,則由Android模擬器與Android系統攔截Android應用程式之裝置存取需求;由遠端裝置管理員負責管理客戶端行動平台之連線與客戶端行動平台配備之裝置之組態,處理Android系統攔截之裝置需求傳送至客戶端行動平台。為了減少客戶端與伺服器間之資料傳輸,本論文設計採用客戶端主動更新方式將裝置讀數資料儲存於伺服器端,當應用程式進行讀取時即從本機端資料儲存區取得資料。
本論文之實作以XHTML5為基礎,XHTML5為一透過X視窗系統將單一應用程式輸出畫面傳送至客戶端瀏覽器呈現之遠端操作系統。本實作內容包含:修改Android模擬器與Android系統以達成攔截應用程式裝置存取需求、偵測與處理客戶端之裝置資料更新,管理資料之傳送以支援多人同時使用等功能。因瀏覽器對於行動平台裝置之支援尚不足,故客戶端須另外安裝一程式以進行裝置控制與資料傳送。
本論文之主要貢獻乃為行動應用程式提供一克服行動平台之硬體限制之方式;使用者可隨時以任何平台透過網際網路進行操作Android應用程式;提供應用程式行動平台裝置存取機制,使需要存取行動平台裝置之應用程式可順利運行於伺服器上。

Deploying applications on a more powerful server can overcome the hardware limitations of mobile platform. Users can run applications on the server and interact with them through remote control technology. However, existing remote control technologies do not support access to the devices that are commonly equipped on mobile platforms, such as sensors, vibrator and GPS. This thesis designs and implements an Android application server to provide Android execution environment on the server and supports access to client-side mobile devices.
The Android application server executes Android applications via the Android Emulator on a host computer and provides remote control services for the users. Users on client side interact with the applications through operating browser software. The device accessing requests of Android applications, such as reading sensor data or starting vibrator, are intercepted and redirected to the Remote Device Manager which manages the connection and status of client-side mobile devices and processes the intercepted device requests. To reduce the amount of data transmission, clients send device data to the server actively and the server allocates data buffer to store the data. Android applications on the server then receive the device data from the buffer.
The implementation is based on XHTML5, a remote control system based on X window system that sends drawing commands of applications to the browser of clients. The implementation involves: modifying Android Emulator and Android system to intercept device requests of applications, detecting and processing device data updates from client, and managing data transmission to support multi-user. The support of browser for device access is still insufficient, thus client-side platform has to install a program to assist access the devices.
The main contributions of this thesis are providing a way for mobile applications to overcome the hardware limitations, allowing users to run Android applications through any platform over Internet, and providing a device access mechanism to support applications which can effectively access remote devices.

第1章 緒論 1
1.1 研究背景 1
1.1.1 Android 3
1.2 研究動機 4
1.3 研究方法 5
1.4 章節規劃 6
第2章 相關研究 7
2.1 遠端操控相關研究與成果 7
2.1.1 VNC 7
2.1.2 X視窗系統 8
2.1.3 Remote Desktop Protocol 9
2.1.4 討論 9
2.2 裝置分享技術相關研究 10
2.2.1 USB/IP 10
2.2.2 Network Device Driver 11
2.2.3 遠端虛擬周邊裝置框架 12
2.2.4 Virtual Smartphone over IP 13
2.3 XHTML5 14
2.4 討論 15
第3章 架構與設計 17
3.1 概述 17
3.2 遠端裝置管理員 23
3.2.1 遠端裝置管理員架構與運作 23
3.2.2 遠端裝置管理員與客戶端裝置之溝通機制 25
3.2.3 遠端裝置管理員與Android模擬器間之溝通機制 27
3.3 遠端裝置存取模組 28
3.4 Android模擬器與Android系統 30
3.5 Web & Websocket伺服器 31
第4章 實作 33
4.1 實作環境 33
4.2 遠端裝置管理員實作 34
4.2.1 行動平台物件實作 35
4.2.2 遠端裝置管理員運作 36
4.2.3 連線處理程序實作 37
4.2.4 訊息處理程序實作 39
4.3 遠端裝置存取模組實作 40
4.4 Android裝置需求命令傳遞機制實作 44
4.4.1 Android模擬器與Android系統之通訊機制介紹 45
4.4.2 裝置需求攔截實作 46
4.4.2.1 感測器需求攔截實作 46
4.4.2.2 GPS需求攔截實作 48
4.4.2.3 震動器需求攔截實作 50
4.5 Web & Websocket伺服器實作 51
第5章 測試與效能分析 57
5.1 測試環境 57
5.2 功能驗證 60
5.3 效能測試 65
5.3.1 Android模擬器讀取裝置資料之效能量測 66
第6章 結論與未來展望 70
6.1 結論 70
6.2 未來展望 71
參考文獻 72

[1] Amazed Plus – Google Play, https://play.google.com/store/apps/details?id=com.hunter.amazed, accessed on 2013-06-19.
[2] Android Developer, http://developer.android.com/index.html, accessed on 2013-08-16.
[3] Android Emulator – Android Developer, http://developer.android.com/tools/help/emulator.html, accessed on 2013-06-19.
[4] Android, http://en.wikipedia.org/wiki/Android_(operating_system), accessed on 2013-05-30.
[5] Android助手 – Google Play, https://play.google.com/store/apps/details?id=com.advancedprocessmanager&hl=zh_TW, accessed on 2013-06-19.
[6] Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0.html, accessed on 2013-09-03.
[7] Barun Kumar Parichha, Timothy A. Gonsalves, “Remote Device Support in Thin Client Network, Proceedings of the Third Annual ACM Bangalore Conference, 2010.
[8] BlackBerry 10, http://en.wikipedia.org/wiki/BlackBerry_10, accessed on 2013-06-20.
[9] Cynthia Taylor, Joseph Pasquale, “A Remote I/O Solution for the Cloud, IEEE 5th International Conference on Cloud Computing (CLOUD), 2012.
[10] Cynthia Taylor, The Networked Device Driver Architecture: A Solution for Remote I/O, Ph.D. Thesis, University of California, San Diego, 2012.
[11] epoll, http://linux.die.net/man/4/epoll, accessed on 2013-05-30.
[12] Eric Y. Chen, Mistutaka Itoh, “Virtual Smartphone over IP, IEEE International Symposium on World of Wireless Mobile and Multimedia Networks (WoWMoM), 2010.
[13] Felipe Gil-Castineira, Raja Bose, “Remote Virtual Peripheral Framework - Enabling Dynamically Composed Devices, IEEE Consumer Communications and Networking Conference (CCNC), 2011.
[14] Google Maps – Google Play, https://play.google.com/store/apps/details?id=com.google.android.apps.maps&hl=en, accessed on 2013-06-19.
[15] iOS, http://en.wikipedia.org/wiki/IOS_(Apple), accessed on 2013-06-20.
[16] Jollen’s Blog – Android HAL 技術簡介, http://www.jollen.org/blog/2009/10/android-hal-status-report.html, accessed on 2013-05-30.
[17] libwebsockets, https://github.com/davidgaleano/libwebsockets, accessed on 2013-05-30.
[18] Mobile Operating System, http://en.wikipedia.org/wiki/Mobile_operating_system, accessed on 2013-06-21.
[19] NMEA protocol, http://www.tronico.fi/OH6NT/docs/NMEA0183.pdf, accessed on 2013-05-30.
[20] QEMU, http://en.wikipedia.org/wiki/QEMU, accessed on 2013-05-30.
[21] QEMUD, http://gitorious.org/0xdroid/external_qemu/blobs/3a0c4d9eed9ba76e2744258af212b8c1269a24a5/docs/ANDROID-QEMUD.TXT, accessed on 2013-05-30.
[22] RDP, http://msdn.microsoft.com/en-us/library/aa383015(VS.85).aspx, accessed on 2013-08-14.
[23] RealVNC, http://www.realvnc.com, accessed on 2013-07-05.
[24] Robert W. Scheifler, and Jim Gettys, “The X Window System, ACM Transactions on Graphics, Vol. 5, No. 2, pp. 79-109, April 1986.
[25] Takahiro Hirofuchi, Eiji Kawai, Kazutoshi Fujikawa, Hideki Sunahara, “USB/IP - a Peripheral Bus Extension for Device Sharing over IP Network, Proceedings of the FREENIX Track: 2005 USENIX Annual Technical Conference, April 2005.
[26] Tristan Richardson, Kenneth R. Wood, The RFB Protocol – version 3.3, http://grox.net/doc/apps/vnc/rfbproto.pdf, accessed on 2013-09-03.
[27] Tristan Richardson, The RFB Protocol – version 3.8, http://www.realvnc.com/docs/rfbproto.pdf, accessed on 2013-09-03.
[28] TightVNC, http://www.tightvnc.com, accessed on 2013-07-05.
[29] Tristan Richardson, Quentin Stafford-Fraser, Kenneth R. Wood, Andy Hopper, “Virtual Network Computing, IEEE Internet Computing, 1998.
[30] UltraVNC, http://www.uvnc.com, accessed on 2013-07-05.
[31] VNC, http://zh.wikipedia.org/wiki/VNC, accessed on 2013-05-30.
[32] W3 Schools - HTML5 Introduction, http://www.w3schools.com/html/html5_intro.asp, accessed on 2013-06-17.
[33] Websocket Protocol, http://tools.ietf.org/html/rfc6455, accessed on 2013-09-03.
[34] X Window System, http://en.wikipedia.org/wiki/X_window, accessed on 2013-05-30.
[35] X.Org, http://www.x.org/wiki/, accessed on 2013-05-30.
[36] 石振豪, WebOS操作環境之行動裝置虛擬桌面系統, 碩士論文, 國立成功大學, 2010.
[37] 老羅的Android之旅- Android HAL概要介紹和學習計畫, http://blog.csdn.net/luoshengyang/article/details/6567257, accessed on 2013-05-30.
[38] 林建宏, XHTML5: 基於HTML5之雲端計算環境X視窗遠端操作系統, 碩士論文, 國立成功大學, 2012.
[39] 戴驛權, X視窗應用程式分享系統之設計與實作, 碩士論文, 國立成功大學, 2010.
連結至畢業學校之論文網頁點我開啟連結
註: 此連結為研究生畢業學校所提供,不一定有電子全文可供下載,若連結有誤,請點選上方之〝勘誤回報〞功能,我們會盡快修正,謝謝!
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top
無相關期刊