Font Size: a A A

Design And Implementation Of A Lightweight Web Service Aggregation Model

Posted on:2018-02-21Degree:MasterType:Thesis
Country:ChinaCandidate:Y GaoFull Text:PDF
GTID:2348330518496137Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With Web2.0's vigorous development, users are not just users of Web services, they become participants in the web services and even the creators.The lightweight web service aggregator we designed, adopts the user-driven network product pattern, by providing user-friendly business function modules for users, users can achieve the functions which need lots of professional computer knowledge originally, by simple operations and configurations. The lightweight web service aggregator helps users to have access to the underlying data, edit the business logic and implement the final presentation. It allows users to do whatever they want, customizing web services they need with ease.First of all, this paper designs and proposes a new service aggregation model, consisting of four layers: physical device layer, resource entity layer,service interface layer and visual design layer. Among them, the bottom layer is the physical equipment layer, it was designed mainly to connect the physical device and the system. The physical device will be packaged as a resource entity, and be connected to the platform. Resource entity layer is the place where the equipment datas and protocols are unified, at the same time the business logic designed in the business design environment be implemented. The service interface layer, mainly realizes the service package. Resource entity layer plus service interface layer, will help to change the specific equipment to abstract service. Services communicate through the restful interface. the top layer is the visual design layer, which invoke the service function through the restful API. We can see the target's display based on the results of datas processed, in the visual design layer.In order to realize the new service aggregation model, we designed and built a lightweight Internet of things service aggregation environment. By using the hierarchical and modular design idea, the lightweight Internet of things service aggregation environment is composed of two modules.Respectively, the lightweight service creation environment (LSCE) and the draggable aggregation of data presentation interface (PizzaHub). The environment not only can meet the needs of achieving business requirement in certain scenarios based of the users' requirements,but also has certain scalability and reusability.Secondly, this paper focuses on the design and implementation of the linkage of services and the implementation of the linkage business in the application scenario of home security. Equipment linkage system consists of three sub services. Respectively, the monitoring service, the video service and the photo service. By using front-end technologies and back-end technologies such as Node.js?WebSocket?FFmpeg?REST?EJS?canvas?css3 transition and animation, the equipment linkage system will be able to monitor the community security in a joint multi-dimension way,besides, it will also take a real-time control of the devices. In the end, it provides users with a user-friendly, functional- detailed equipment linkage process and display interface.At last,this paper takes a test and makes an evaluation of the equipment linkage system from the functional and performance aspects.Functional tests mainly test the function of each module and the effect when they work together. performance testing is divided into single user performance tests using Google Chrome browser's developer tools and pressure tests using a popular testing tool called LoadRunner. At last, the experimental results are analyzed.
Keywords/Search Tags:Internet of Things, service aggregation, device linkage control, service customizing
PDF Full Text Request
Related items