Research and Application of Restful Web Service Based on Android Platform

Author
HuangJinChuan
Advisor
JinZuoDong
School
Southwest Jiaotong University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
495
Citations
3

Request the full text

Abstract

The use of handheld devices for mobile network applications has become a trend. By limited computing processing power and network bandwidth, makes the handheld devices is difficult to carry out a large-scale database storage and software applications, through REST style services to meet the massive data query and manipulate a good choice. Android as a new generation of handheld devices, operating systems, compared with traditional handheld operating system, open source, convenient, flexible and easy-to-use features. This paper REST-style services, and the research status of the Android platform Android platform users identity permissions verify REST REST style service calls and parsing of the XML document and application state information maintained. On this basis, the design and implementation of a campus information management system. This paper discusses the system is divided into the design and implementation of two parts, the design and implementation of the service and client. The reference to the design of object-oriented architecture design services, said the design of the system is divided into the datasets planning, system resources division, of URI design as well as resources. CRUD operations on resources corresponding to the HTTP POST, GET, PUT, and DELETE methods, for security reasons, the resources of the operating limits, some operating resources will be open only to specific types of users. The state of the resource at a time through the resource feedback in resource format more open and generic XML format. The client's design draws on the MVC architectural pattern, the view of the system, control and business model designed separately, in accordance with the system requirements for the design activity diagram based on reasonable to call REST style services to achieve the system functions. REST-style services to achieve Restlet framework to map the corresponding resource object URI template matching. The resource object call to the database using a transactional approach to ensure the uniformity of the data. Taking into account the impact on system performance of multi-user request, the underlying database connection pool technology. The implementation of the client, in accordance with the characteristics of the Android platform, the display of the dynamic interface, user management, campus bulletin, student information dissemination and query, family visits and route planning functions. Students point to the application of touch students point to the way, which makes greatly reduce the cost of deploying the system in the campus. Android platform REST-style service applications discussed research results for the current primary and secondary school management to provide a draw.

Table of contents

Abstract 6-7 Abstract 7-11 Chapter 1 Introduction 11-15 1.1 research background 1.2 research significance 11-12 1.3 status quo at home and abroad 12-13 1.3.1 REST Research 12-13 1.3.2 smartphone platform development status 13 1.4 the research content 13-14 1.5 of this article organization 14-15 Chapter 2 REST AND ANDROID analysis and research 15-32 the 2.1 REST style services related theory analysis 15-20 2.1.1 SOAP-based Web services 15-16 2.1.2 REST architecture style 16-17 2.1.3 Resource-Oriented Architecture 17-19 2.1.4 Restlet framework 19-20 2.2 ANDROID platform technical analysis 20-23 2.2.1 system for Android architecture analysis 20-22 the the 2.2.2 Android applications Component Object 22 2.2.3 Android program structure analysis 22-23 2.3 REST ANDROID platform 23-31 2.3.1 User identity permissions verify 23-24 2.3.2 REST style services call 24-26 2.3.3 XML document parsing 26-27 2.3.4 application state to maintain 27-29 2.3.5 client cache support 29-31 2.4 Summary 31-32 Chapter 3 campus information management system designed 32-57 3.1 System Requirements Analysis 32-34 3.1.1 system architecture analysis of 32-33 a 3.1.2 user types and functional requirements 33-34 3.1.3 Non-functional requirements 34 3.2 resource-oriented architecture-based server design 34-42 3.2.1 datasets planning and database design 35-38 3.2.2 resource partitioning 38-39 3.2.3 URI design and operation 39-41 3.2.4 resources designed 41-42 3.3 ANDROID client-based design 42-56 3.3.1 user interface design 43-46 3.3.2 components of the control and management 46-48 3.3.3 administrator module design 48-51 3.3.4 Teachers module design 51-54 3.3.5 Parents module design 54-56 3.3.6 request said 56 3.4 Summary 56-57 Chapter 4 campus information management system to achieve 57-80 4.1 server implementations 57-67 4.1.1 server runtime environment 57 4.1.2 Restlet Class The diagram 57-59 a 4.1.3 database connection pool and initialization 59-61 4.1.4 Resource management and routing 61-64 4.1.5 resources to achieve 64-67 4.2 client implementations 67-79 the 4.2.1 client development environment 67 4.2.2 development environment to install and configure 67-68 4.2.3 static interface implementations 68-70 4.2.4 Teacher Information query implementation 70-72 4.2.5 campus bulletin achieve 72-74 4.2.6 dynamic point to achieve 74-75 4.2.7 to the implementation of the school information query 75-76 4.2.8 scores statistics to achieve 76-77 4.2.9 home visits to the realization of the path navigation 77-79 4.3 Summary 79-80 Summary and Outlook The 80-82 the References 82-85 Acknowledgements 85-86 studying for a master's degree during the thesis 86-87

Related dissertations

  1. Research and Development of a Mobile Personal Knowledge Management System Based on Context-awareness
    HuangYuan ·Zhejiang Sci-Tech University ·2013 ·Master's thesis
  2. Research on the Status and Countermeasures of China Mobile Economy
    ZhangYuHong ·Anhui Agricultural University ·2013 ·Master's thesis
  3. Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
  4. Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
    ChenZhiMing ·Huaqiao University ·2013 ·Master's thesis
  5. Design and Implementation of Crane Monitoring System Based on Android
  6. Research and Implementation of Intelligent Video Surveillance System Based on Android
  7. Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
  8. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  9. Security Detection System Based on the Android Paltform
    ChenZuo ·Wuhan University of Technology ·2013 ·Master's thesis
  10. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis
  11. The Research of Fall Detection Based on Mobile Terminal
    ZhouMin ·Xiangtan University ·2013 ·Master's thesis
  12. Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal
    WuZhongZe ·South China University of Technology ·2013 ·Master's thesis
  13. The Smart Home Control System Based on Android System
    WuJian ·Liaoning Normal University ·2012 ·Master's thesis
  14. The Design and Implementation of Android Smart Home Control System
  15. Embedded System Applications in the Smart Home
    MingHang ·Hubei University ·2013 ·Master's thesis
  16. Design and Implementation of Intelligence Home System Based on ZigBee
  17. Design and Implementation of Smart Home System Based on Android Platform
    ZhouShiWei ·Huaqiao University ·2013 ·Master's thesis
  18. Research and Design of Embedded Intelligent Bus Station Guideboard Control System
  19. The Design and Implementation of Multi-functional Smart Home System
  20. Research on Intelligent Home Furnishing system based on Android