Research and implementation of micro-blog system of mobile terminal platform based on HTML5

Author
LiXiaoMing
Advisor
ZhangYiCheng , ZhangXuSheng
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
661
Citations
0

Request the full text

Abstract

Nowadays, along with the quantity of mobile terminal is rapidly increasing, thedevelopment emphasis of software industry is impelled to focus on mobile platform.Nevertheless, since there are various operate systems (e.g. iOS, Android, Palm,Symbian, and BlackBerry etc.), so one programmer should develop several kinds ofapplication based on different OS platform. This will increase the cost of developingand maintaining. So the problem of cross-platform should be solved urgently. At present,the solution of cross-platform has many disadvantages which cannot apply to a largescale system. And the technology of HTML5would become the best solution to thisproblem since it has cross-platform advantages of web application.The main goal of this paper is to realize a micro blog system associating with theTencent micro blog. This system concludes two main parts: the mobile terminal and theserver-side. The mobile terminal uses the technology of HTML5and JavaScript and theform of a browser to realize cross-platform. It uses Phonegap to realize using JavaScriptlanguage to invoke the API of mobile phone and tablet PC, and then uses compiler toolsto compile an html code to generate a mobile application. So a mobile application canbe applied to kinds of different mobile platforms and only needs to be developed once.It uses PHP language to realize the server-side of micro blog system. The server-side issimilar to an agent layer, which has two functions:1.Through the OAuth agreement visittencent microblog open platform API, to realize communication and synchronizationwith tencent microblog;2.Provide the data synchronized to mobile terminal. This paperis devoted to build a complete set of micro blog system from the server-side to web-endand cross mobile platform application. This cross-platform technical solution candecrease the cost of developing and maintaining in a large scale on mobile platform.And with this cross-platform technical solution, we can truly realize "written once, runeverywhere".

Table of contents

Summary 4-5 ABSTRACT 5-10 Chapter 1 Introduction 10-14 1.1 research background 10 <br / > 1.2 cross-platform technology status at home and abroad future directions 10-11 1.3 cross-platform 11-12 1.4 the main work of this paper 12 - 13 1.5 chapters arranged 13-14 chapter related technical and theoretical 14-27 2.1 Phonegap framework 14 2.2 principle Phonegap of 14-16 2.3 HTML5 new features 16-17 2.4 Jquery Mobile framework 17 2.5 Javascript language 17 -18 2.6 OAuth protocol 18-19 2.7 iPhone environmental 19-21 2.7.1 Xcode introduce 19 2.7. 2 build iPhone project 19-20 2.7.3 Creating phonegap application 20-21 2.7.4 deploy to the emulator 21 2.8 Android introduces 21-23 2.8.1 Android build environment 22 2.8.2 build Android applications 22-23 2.9 BlackBerry platform 23-26 2.9.1 build Blackberry applications 24-26 2.10 system background environment 26 2.11 Summary 26-27 Chapter III system Requirements Analysis 27-33 3.1 system design goals 27 3.2 specific Requirements Analysis 27-32 3.2 .1 functional requirements 27-30 3.2.2 interface requirements 30 3.2.3 interface requirements 30-32 3.2.4 performance Requirements 32 3.2.5 security requirements 32 3.3 Summary 32-33 Chapter IV system design 33-44 <br / > 4.1 system -level division 33 4.2 summary of design 33-36 4.2.1 data processing 34 4.2.2 system design background 34-35 4.2.3 mobile terminal design 35-36 4.3 detailed design 36-43 4.3.1 interface design 36-41 4.3.1.1 microblogging Tencent open platform API 36-38 4.3.1.2 data Interchange Format 38 4.3.1.3 backstage interface terminal data exchange program 38-41 4.3.2 features modular design 41-42 4.3.3 safety performance Design 42-43 4.4 Summary 43-44 Chapter V system implementation 44-72 5.1 server-side API communication 44-45 5.2 Package system API 45-46 5.3 Oauth 2.0 protocol achieve 46-48 5.4 mobile terminal 48-66 5.4.1 terminal HMTL5 main structure 48-50 5.4.2 Login Logout 50-52 5.4.3 Home timeline 52-54 5.4.4 teletext function 54-57 5.4.5 phone calls with the band diagram of a broadcast camera 57-58 5.4.6 mentioned my function 58-59 5.4 .7 private letter module 59-62 5.4.8 Search and listen functions 62-63 5.4.9 microblogging forward , comments , dialogue , collection features 63-65 5.4.10 on my functional 65-66 5.5 achieve HTML5 local storage 66-67 nbsp 5.6 Jquery Mobile -screen operation ; 67-68 5.7 140 word limit broadcast algorithm 68-69 5.8 system Security 69-71 5.8.1 XSS filter 69-70 5.8.2 refuse to CSRF attacks 70-71 5.8.3 prevent SQL injection 71 5.9 Summary 71-72 Article chapters system test optimization 72-80 6.1 testing program 72 6.2 performance test 72-74 6.3 functional Test 74 -78 6.3.1 login and logout test 74-75 6.3.2 Home timeline and on my test 75 6.3.3 broadcasting function tests 75-77 6.3.4 mentioned test 77 6.3.5 private letter module test 77 6.3.6 Search and listening test 77-78 6.4 compatibility and usability testing 78 6.5 analysis of test results 78 6.6 system optimization 78-80 <br / > 6.6.1 reduce HTTP requests 79 6.6.2 reduce traffic 79-80 Chapter VII summary and Outlook 80-81 7.1 This paper summarizes Outlook 80 7.2 technologies across mobile platforms 80-81 Thanks 81-82 References 82-84

Related dissertations

  1. Design and Implementation of Mobile Cross-platform Development System
  2. Research and Application of Video-on-Demand System Based on HTML5Cross-Platform Technology
    ChangWenYu ·Donghua University ·2013 ·Master's thesis
  3. Research on the Internet Word-of-Mouth’s Influence on Consumer Brand Attitude Based on the Platform of Microblog
    ChenYao ·Anhui University of Finance ·2014 ·Master's thesis
  4. A Research on User’s Acceptance Behavior on Mobile Travel App Based on Utaut Model
    LI KYOUNG ·Xiamen University ·2014 ·Master's thesis
  5. The Research on the Effect of Enterprise’s Microblog on Audience’s Re-diffusion Intension and Brand Attitude
  6. Study on the Impact Mechanism of the Influence of Electronic Word-of-mouth in Microblog
    SunYan ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  7. The Study of the Relationship betwee Microblog Users’ Affection Experience, Need Gratification and Satisfaction
  8. Research on Web2.0in University Library
    FanZuoZuo ·Anhui University ·2014 ·Master's thesis
  9. Research on Application of Microblog to Libraries
  10. Microblog for the Construction of Public Discourse Space
    ChenPei ·Hubei University ·2013 ·Master's thesis
  11. Research on Audiences’s Psychology and Behavior Regarding to Official Microblog of TV Entertainment Program
    WangYanRu ·Hunan University ·2013 ·Master's thesis
  12. Research on Microblog Welfare Public Communication
    ZhangJianFeng ·Hunan University ·2013 ·Master's thesis
  13. The Reseach on Media Ecology of Chinese Microblog
    ZhuangZuoHong ·Hunan University ·2013 ·Master's thesis
  14. Analysis of Microblog Platform for Advertisers to Achieve Information Satisfaction
  15. How a Public Crisis Spread on Microblog
    ZhangQinLi ·Jinan University ·2013 ·Master's thesis
  16. Research micro-blog intellectuals in the era of network public debate
    XuYan ·Shaanxi Normal University ·2013 ·Master's thesis
  17. Study on the micro-blog interaction from the perspective of social capital theory to micro-blog Sina as an example
    ZhangLinZuo ·Tianjin Normal University ·2013 ·Master's thesis
  18. Research on Influences of Microblog to Citizen Consciousness
    JinWenTao ·Hunan University ·2013 ·Master's thesis
  19. The Study on Microblog’s Ethical Phenomenons and Solution Paths in New Period
    LiQiuFang ·Wuhan University of Technology ·2013 ·Master's thesis
  20. A Research for Science Communication Based on Microblog
    XieYu ·Wuhan University of Technology ·2013 ·Master's thesis