跳到主要內容

臺灣博碩士論文加值系統

(44.200.86.95) 您好!臺灣時間:2024/05/20 08:09
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

: 
twitterline
研究生:蔡金亮
研究生(外文):Tsai, Chin-Liang
論文名稱:手機應用程式與 RESTful APIs 間的網路傳輸減量
論文名稱(外文):Transmission Reduction between Mobile Phone Applications and RESTful APIs
指導教授:黃俊龍黃俊龍引用關係
指導教授(外文):Huang, Jiun-Long
學位類別:碩士
校院名稱:國立交通大學
系所名稱:資訊學院資訊科技(IT)產業研發碩士專班
學門:電算機學門
學類:電算機一般學類
論文種類:學術論文
論文出版年:2010
畢業學年度:99
語文別:英文
論文頁數:41
中文關鍵詞:傳輸減量傳輸優化
外文關鍵詞:RESTRESTfulMobileAndroidTransmissionReduction
相關次數:
  • 被引用被引用:3
  • 點閱點閱:739
  • 評分評分:
  • 下載下載:35
  • 收藏至我的研究室書目清單書目收藏:1
近幾年來,越來越多的使用者使用智慧型手機等手持設備上網,使用者可以透過網路獲取他們的資訊或者是在熱門的社群網站(例如Twitter、Facebook和MySpace)上更新他們的狀態。而這些熱門的社群網站通常會提供API(Application Programming Interface)。開發人員可以使用這些 API來創建一個新的網站或是開發手機應用程式。REST(Representational State Transfer)是最常見也最多網路服務提供者所使用的API架構。儘管這些熱門的社群網站或其他網站已經存在專門供手機瀏覽的行動版本網站,讓用戶可以使用手機瀏覽器來訪問。但是使用手機應用程式透過他們提供的RESTful APIs來存取這些網站會有很多優點,比方說,手機應用程式有很炫很好用的使用者介面,他們可以與手機作業系統結合,例如開放源始碼的的Android平台。開發人員可以開發一個 RESTful客戶端應用程式來避免下載整個 HTML或JavaScript檔案所造成的網絡傳輸量。 但RESTful APIs在低頻寬的無線網路中也存在傳輸上的負擔與浪費。在本篇論文中,我們觀察到在低頻寬的無線網路中,手機應用和RESTful APIs間的傳輸負擔,然後我們提出一個系統架構,以減少這些傳輸負擔。進而加快回應時間與減少網路傳輸量。
In recent years, more and more users use the handheld devices such as smartphone to access the Internet. Users can get their data from the Internet or update their status to the hot social networking Web sites (e.g., Twitter, Facebook and MySpace). These popular social networking Web sites usually provide the API (Application Programming Interface). Developers can use these APIs to rebuild a new Web site or a mobile phone application. The REST (Representational State Transfer) scheme is most famous architecture style to call these APIs. Despite there are already exist friendly mobile version Web sites. Users can use mobile Web browser to access these hot social networking Web sites or others. But there are many advantages in using mobile phone applications to access these Web sites through the RESTful APIs they provide. For example, mobile phone applications have fantastic UI and they can integrate with the mobile phone operation system such as open-source Android platform. Developers can develop a RESTful client application to avoid to download entire HTML or Javascript files that will cause many network traffics. But RESTful APIs also have overhead in transmission. In this thesis, we observed the overhead between mobile phone applications and RESTful APIs in low-bandwidth wireless network. We proposed a system architecture to reduce these transmission overheads. And then, speed up the response time and decrease the total transmission bytes.

書名頁. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i
中文摘要. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii
英文摘要. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
誌謝. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2. Preliminaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1 Related Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1.1 Web Browsing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1.2 Web Content Adaptation . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Open API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.1 REST Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2.2 SQL-Style API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2.3 OAuth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3.1 Main Issue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3.2 Request a RESTful API . . . . . . . . . . . . . . . . . . . . . . . . 10
2.3.3 Observations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
v
3. System Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.1 Proposed System Architecture . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.2 HTTP Header Reduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3 Client-Side Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3.1 API Query Language . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3.2 Image Multi-Get Module . . . . . . . . . . . . . . . . . . . . . . . . 22
3.3.3 Gzip Compression Request . . . . . . . . . . . . . . . . . . . . . . . 25
3.3.4 Spilt Combined Image . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.4 Proxy-Side Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.4.1 Parsing the Query . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.4.2 Filtering Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.4.3 Convert Response Format . . . . . . . . . . . . . . . . . . . . . . . 27
3.4.4 Combining Images . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.4.5 OAuth Authentication . . . . . . . . . . . . . . . . . . . . . . . . . 28
4. Experimental Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.1 Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.2 Common Plain Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.3 Multiple Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.3.1 Image Quality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.3.2 Image Resize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.3.3 Normal versus AQL Picasa Application . . . . . . . . . . . . . . . . 36
5. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
vi
Bibliography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
[1] R. T. Fielding, Architectural Styles and the Design of Network-based Software Architectures. PhD thesis, UNIVERSITY OF CALIFORNIA, IRVINE, 2000.
[2] I. Kilanioti, G. Sotiropoulou, and S. Hadjiefthymiades, A client/intercept based
system for optimized wireless access to web services," in Database and Expert Systems Applications, 2005. Proceedings. Sixteenth International Workshop on, pp. 101 {105,26-26 2005.
[3] T.-Y. Chang, Z. Zhuang, A. Velayutham, and R. Sivakumar, Webaccel: Accelerating web access for low-bandwidth hosts," Computer Networks, vol. 52, no. 11, pp. 2129-2147, 2008.
[4] Open Mobile Alliance Inc., WAP FORUM. http://www.wapforum.org.
[5] B. C. Housel, G. Samaras, and D. B. Lindquist, Webexpress: A client/intercept based system for optimizing web browsing in a wireless environment," Mobile Networks and Applications, 1998.
[6] R. Han, P. Bhagwat, R. LaMaire, T. Mummert, V. Perret, and J. Rubas, Dynamic adaptation in an image transcoding proxy for mobile web browsing," IEEE Personal Communications, pp. 8-17, 1998.
[7] Y. Hwang, J. Kim, and E. Seo, Structure-aware web transcoding for mobile devices,"
IEEE Internet Computing, vol. 7, no. 5, pp. 14{21, 2003.
[8] T. Bickmore and B. N. Schilit, Digestor: Device-independent access to the world wide web," in Proc. WWW-6, pp. 655{663, 1997.
[9] O. Buyukkokten, H. Garcia-molina, and A. Paepcke, Seeing the whole in parts:
Text summarization for web browsing on handheld devices," pp. 652-662, 2000.
[10] J. Chen, B. Zhou, and H. Zhang, Function-based object model towards website adaptation," in In Proceedings of the 10th International World Wide Web Conference, pp. 587-596, ACM Press, 2001. 40
[11] Y. Chen, Detecting web page structure for adaptive viewing on small form factor devices," in In Intl. World Wide Web Conf. (WWW), pp. 225-233, ACM Press, 2003.
[12] X.-D. Gu, J. Chen, W. ying Ma, and G. liang Chen, Visual based content understanding towards web adaptation," in In Second International Conference on Adaptive Hypermedia and Adaptive Web-based Systems (AH2002, pp. 164-173, 2002.
[13] Z. Hua, X. Xie, H. Liu, H. Lu, and W.-Y. Ma, Design and performance studies of an adaptive scheme for serving dynamic web content in a mobile computing environment," IEEE Trans. Mob. Comput., vol. 5, no. 12, pp. 1650-1662, 2006.
[14] Yahoo! Query Language. http://developer.yahoo.com/yql/.
[15] Facebook Query Language. http://developers.facebook.com/docs/reference/fql/.
[16] Yahoo!奇摩生活+ API. http://tw.developer.yahoo.com/lifestyle/.
[17] P. Deutsch, Gzip le format specication version 4.3," RFC 1952, May 1996.
[18] Twitter API Documentation. http://dev.twitter.com/doc.
[19] Yahoo!奇摩知識+ API. http://tw.developer.yahoo.com/knowledge/.
[20] Best Practices for Speeding Up Your Web Site by Yahoo! Developer Network.
http://developer.yahoo.com/performance/rules.html.
4
連結至畢業學校之論文網頁點我開啟連結
註: 此連結為研究生畢業學校所提供,不一定有電子全文可供下載,若連結有誤,請點選上方之〝勘誤回報〞功能,我們會盡快修正,謝謝!
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top