Font Size: a A A

Design And Implementation Of Restful And Json Based Open Apis For Super Color-Ring-Back-Tone Platform

Posted on:2014-02-13Degree:MasterType:Thesis
Country:ChinaCandidate:P X LuFull Text:PDF
GTID:2248330398472266Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Nowadays, software architectural style in Web world has changed too much imperceptibly. There are two features belong to software architectural style in Web world, firstly it comes the distributed computing, secondly it is the loose coupling. Along with the rapid developing of Internet, especially the rising of concept of Web2.0, the conventional distributed computing architectual styles such as DO(Distributed Object)、Web Services which have been developing for over10years, run across the bottle neck, the industry needs a completely new architectural style which is, at the same time, more loose coupled to supply a gap exited in the traditional ones for a long time, and to meets today’s Internet’s need.In2000, Roy.Thomas.Fielding gained his Ph.D by posting a paper which caused a sensation in the industry. In that paper he advocated to use a new、light-weighted、more loose coupled architectural style to do the information exchange through the Web. REST, which stands for REpresentational state transfer, came into people’s eyes, and it really has been growed a lot over these years.Super color-ring-back-tone (known as Chao Ji Xuan Ling in Chinese, it will be abbreviated to super-crbt in the rest of this paper) is a new value-added product proposed by China Unicom in2010which is based on CRBT(Color Ring Back Tone). It plays a additional7seconds ring ahead of normal CRBT ring, and meets the requirements of users shch as variety and individuation. Super-crbt allows users to make a ring by writing a section of text on the super-crbt platform and set it as super-crbt ring. Besides, super-crbt provides lots of setting condition, for instance, date ring、period ring, etc. These conditions could satisfy users’ requirements, and because of user could make his ring by himself, it makes users involve in the producing of CRBT rings, this helped to rise the ratio of people who changed his rings in total users and the acceptability of super-crbt itself. Super-crbt adopted Center-Provinces two-tier architecture and adopted conventional Web Services or DO style to implement the ineraction between modules. Along with the expansion of the scale of the super-crbt platform, shortcomings exist in many interfaces is more and more exposed. Super-crbt platform needs a completely new architectural style to finish the technical bottle neck.This article discusses center on the transfer of super-crbt platform interfaces from Web Services to REST. The first chapter introduces the concept of super-crbt、the attributes of system architecture and the implementation of interfaces. The second chapter gives a brief review about architectural style in Web, leads to REST style. The third one introduces super-crbt system architectural style and anaylizes interfaces’s implementation, after comparing features between interfaces based on SOAP and REST, proposes to replace interfaces currently exist on Super-crbt platform with REST interfaces. The fourth chapter is the very kernel one, which illustrates the design and implementation of RESTful and JSON based Open APIs on super-crbt platform in detail. Firstly, there is a introduction to the recognization of resources on the platform. Secondly, based on first step, it comes the design of URI and representation, and the interaction between interfaces and design of modules. Finally, implementation carried out on the base of Jersey framework. The fifth chapter discusses the users’ identification on super-crbt platform from the security view, briefly discusses the flow of verification and authorization based on OAuth、the implementation and the deployment. The last chapter is a summary and outlook about REST’s application in post and telecommunication industry.
Keywords/Search Tags:REST, ROA, URI, representation, JAX-RS
PDF Full Text Request
Related items