Font Size: a A A

Research On Smart Home Middleware Based On UPnP And Multi-protocol Support

Posted on:2017-12-11Degree:MasterType:Thesis
Country:ChinaCandidate:B HuaFull Text:PDF
GTID:2322330536453081Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the continuous development of the Internet of Things,the connection among devices is more and more important.And it is a trend to connect all the things together.As an important branch of Io T,Smart Home industry has an incredible innovation and growth in these years.The Smart Home appliances are no long isolated any more,human and devices are i nteracting with each other in order to meet the need of human life.Middleware technology has been proved to effectively shield a variety of platforms and multi-protocol differences,reduce the burden on software developers.In order to integrate all the heterogeneous devices in home network seamlessly,this paper study the exist smart home Middleware projects at first,and then make comparison and ana lysis,and then this paper proposed a Middleware model named MW4SH(Middleware for Smart Home)for smart home system.And then,this papper make a detailed design and implementation of MW4SH.MW4SH is a service-oriented,rules engine supported,p2p supported,multi-protocol supported,safe,strong,stable and scalable software architecture.The main work of this papper includes:(1)Study on the best Smart Home Middleware projects,and introduce the core technology,and make a comparison of them on whether it is easy to use,interoperability,privacy and security,scalability,fault tolerance and energy conservation six aspects.And then make an demand analysis of Smart Home Middleware from two aspects: functional requirements and case analysis.(2)Make a research and make an analysis on networking technology,stardards of mutual communication,technology of Middleware,network penetration technology and rule engine.And it includes that UPnP and OSGi Framework has great advanges in the area of Smart Home Middleware.(3)This paper proposed a Smart Home Middleware model called MW4SH including Physical Device Layer,Device Network Layer,Device Abstract Layer,Bridge Layer,Fault Tolerance Layer,Service Layer and Controller Layer based on the SOA and modular development technology of six excellent Smart Home Middleware projects referenced in Chapter 2.And then make a detailed design of MW4SH.The Service Layer is the core part of MW4SH,including six parts: Event Manager,Service Manager,P2P Modular,Repository Modular,security Modular and Rules Engine.(4)MW4SH was implemented based on UPnP standard and OSGi Framework.In the Device Abstract Layer,we abstract a device based on its function,and classify device function into catergories,all the devices can be combined with different device function.In the Bridge Layer,this paper make a definition of Service APIs,we only need to implement these APIs according to actual needs for devices so that devices can be accessed in MW4SH.Devices are divided into UPnP device and non-UPnP device in Service Manager,device presentation in MW4SH in the form of service.It supports discovery and cancellation of devices,UPnP device was implemented based on jUPnP library.In Event Management component,this paper defined serval events of device and device function.And it was implemented based on subscription and distribution mechanism of OSGi Event Admin.In repository co mponent,we keep track of the current status of all devices in one bundle and save it to the disk every certain amount of time.The Rule Engine was implimented based on Xtext and Xbase,increasing the home automation in Smart Home System.In the P2P component,the communication between controller and gateways can be directly with UDP socket with the Smart Home center service agency.This Paper implements a control Layer(including Command Servlet and Web App Servlet)for SM4SH based on Jetty.(5)Finally,MW4SH was tested in the aspect of device networking,P2P and rule engine.The result of the test proved the correctness,the interoperability,security,scalability etc.of MW4SH.In this papper,we designed and implemented a middleware for Smart Home System,which is based on UPnP and support muti-protocol.This research fills up the blank and provides a useful reference for the development of Smart Home industry in our country.
Keywords/Search Tags:Internet of Things, Smart Home Middleware, Heterogeneous network, Heter ogeneous devices, Integration seamlessly, MW4SH
PDF Full Text Request
Related items