计算机科学与应用

Vol.4 No.8 (August 2014)

REST风格的Web服务在移动终端的应用
Application of RESTful Web Service in Mobile Device

 

作者:

于守健 , 魏 聪 , 黄 鹏 :东华大学计算机科学与技术学院,上海

 

关键词:

REST Web服务JSON格式iOS系统Android系统文档管理系统REST Web Service JSON Format iOS System Android System Document Management System

 

摘要:

针对传统的基于等PC端的系统在开发其对应的移动版本的时候遇到的系统架构不兼容以及速度、性能、效率和易用性的问题,本文提出了基于REST风格的Web服务来解决异构平台互操作和信息共享的问题,该框架比传统的SOAP和RPC框架更加简洁易用。由于移动终端资源有限,故本文采用JSON作为数据交换的格式。最后,本文结合某公司的一个文档管理系统的需求在iOS终端和Android终端实现了一个采用REST风格的Web服务框架的移动终端的应用。

In order to solve the problem that the traditional PC-based system architecture is not compatible with the mobile system when we implement a mobile application of the corresponding PC version and the problem of speed, performance, efficiency and usability of it, we proposed a RESTful web service to deal with the issue of heterogeneous platform interoperability and information sharing, which is more compact and more usable compared with the traditional SOAP and RPC frames. Be-cause of the limited resources of the mobile device, we use JSON as data exchange format. In the end, we implement a mobile terminal application of a document management system in both iOS and Android terminal in combination of a company’s actual demand, which uses the RESTful web service framework.

文章引用:

于守健 , 魏 聪 , 黄 鹏 (2014) REST风格的Web服务在移动终端的应用。 计算机科学与应用, 4, 144-151. doi: 10.12677/CSA.2014.48021

 

参考文献

分享
Top