Font Size: a A A

Design And Implementation Of A Services Platform Of Sensor Data Based On OSGi Service Platform

Posted on:2012-05-13Degree:MasterType:Thesis
Country:ChinaCandidate:M M LiuFull Text:PDF
GTID:2178330335950996Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Internet of Things proposed since 1999 has gradually been taken seriously in China. And the "Sense China" conception marks the Internet of Things has been the one of the five strategic industries. Internet of Things is what connect all the items through RFID, infrared sensors, global positioning systems, laser scanners or other information sensing device with Internet technology which realize intelligent information exchanging and communication,identification, location, tracking, monitoring and management. According to current general understanding of the Things of Internet, the architecture of it is divided into three layers:sensor layer, network layer and application layer. Sensor layer and network layer has a close relationshipwith the existing sensor network, but Things of Internet has distinctions on the upper layer services. If only the original sensor service system will not reflect the benefits of Things of Interne. And now, with the upgrading of the labor costs, a common, easy to expand, to re-use of the service platform will be effective to promote the development of things,as a conducive thing to the development of small companies.This topic is to explore and implement a quick and easy development and maintenance costs in extended service platform, and platform-based services only can effectively deal with sensor data storage. The main object is to provide a platform on application layer while is a way to achieve the realization and provide a stable and dynamic expansion of the service platform. That allow developers to focus more on achieving a better service, saving development cost and time. When the system can be upgraded with non-reboot for reducing the risks.The main purpose of this system is as a unified platform for the upper application and receive, store and process data from the sensor network. The other purpose is to provide a unified interface for applications and the operating environment to provide reliable data. This variety of sensor data can be encapsulated into a uniform format to deal while. The system corresponding to different applications, but also have the ability to run on different operating systems use different programming languages to provide a unified and stable service interface.In the system design and implementation process, considering the system should support dynamically extention, the existing OSGi is the best technology to choice. The software made a pluggable system. Bundle update or drop the existing system functions simply by installing new Bundle. And OSGi microkernel mechanisms to ensure the stability of the system. When system is running, the OSGi microkernel can run stable even if some of the module crash.The system design needed to be micro-kernel structure, and base on the kernel accordance with the hierarchy structure. TCP communication layer, as another user UI and sensor network interfaces to interact with the business server. OSGi layer (business layer), business server and achieve all operations here. Database layer, the system used to store all the data. Where the business layer is the core of the business logic implementation, where the business operations of each event and a number of abstract operations. If system want to perform the function of a business operations, the message should be send to event set, and then the kernel call business logic. Conversely, system can not have any new business operations, until enrollthe event to event set.There are 5 categories of Bundles Bundle distinguish from different functions the core set of events, database abstraction, operations, event and message transmitter.System design also follows the software development process, in accordance with the requirements analysis, preliminary design, detailed design and system implementation. In this article, system requirements analysis, detailed design and system realization is described in detail. Requirement analysis use UML to described. In system each functional structure design with the OSGi packaging. Total system is divided into two parts, first part is the kernel, the second part is the events. Kernel part is divided into five parts which constitute system the smallest system.And there are seven events which will be all the way to plug into the system extends the system's various functions.Finally, this system development is also a summary and outlook for the Internet of Things consider that this system has a positive role in the development. Design patterns and OSGi by the characteristics of the system level can be dynamically updated to show it. Based on the existing platform, only the second development in this also will greatly reduce the difficulty, but does not reduce system stability. Because this system is an exploration of things and more is to focus on the function of the realization, so the system performance and security improvements became a new challenge.
Keywords/Search Tags:Embedded System, Internet of Things, Java, OSGI, UML
PDF Full Text Request
Related items