Font Size: a A A

Research On Lightweight E-village Platform Based On RESTful Web Service And Application

Posted on:2017-07-29Degree:MasterType:Thesis
Country:ChinaCandidate:B F LiFull Text:PDF
GTID:2336330509961623Subject:Management Science and Engineering
Abstract/Summary:PDF Full Text Request
E-village is the “last mile” of rural E-government. It is significant for narrowing digital divide between rural and urban areas, improve information accomplishment of peasants and pushing forward rural informatization. Traditional E-village systems focuses on the business field and functional requirements. However, the lack of considering on system architecture caused various problems in practice. And those systems is enclosed so that it will lead to “Information Island”. Moreover, traditional E-village systems cannot adapt to the rapid changes of information requirements in rural area and the needs of mobile Internet. For the above problems, this paper dedicates to the research on a lightweight E-village platform, which gathers requirements from Minxing Village located in Guangzhou, from the perspective of architecture. The research is summarized as following:(1) Modeling the requirements of E-village platform. Based on the theory and approach of RUP, the functional and supplemental requirements are elicited. The functional requirements are modeling by use-case model and the supplemental requirements are describing FURPS+ model.(2) Building resource-oriented web service. On the basis of general design steps proposed by Leonard Richardson and Sam Ruby, this paper proposes a universal and iterative process of building resource-oriented web service. The process introduces Chen's notation to figure out dataset, matrix URI to identify resource, triple to describe design of resource and interface, flow chart to depict control flow and extended finite-state machine to model service workflow.(3) Discovery and integration of RESTful web service. From the perspective of resource, this paper proposes a concept of service resource. Service discovery can be transformed into service resource operation, with the concept of service resource. And a new integration approach of web service is built on service resources relationship diagram. By means of service resources relationship diagram, the relationship among services can be built. Then breadth first search algorithm is used to find out the shortest services integration path. Finally, the services on the integration path is integrated recursively.(4) Design and implementation of platform prototype. The design includes resource-oriented overall architecture design, database design and so on. Then the backend of platform is implemented with Spring framework and the web client is implemented with Angular JS. For server and client are developed independently, CORS is applied to allow client to access server in different origin. The platform implements task scheduling with Quartz. In order to improve ability of reuse, AOP is used to separate the code irrelevant to business logic, such as mail, logging. The web service in platform is secured by HTTP basic authentication. Considering the potential man-in-middle attack of HTTP basic authentication, SSL is used to encrypt the communication between server and client.
Keywords/Search Tags:RESTful web service, E-village, resource oriented architecture, web service discovery, web service integration
PDF Full Text Request
Related items