| Smart home system based on Internet of Things technology combines the characteristics of the Internet of Things(Io T) and the specific requirements of the household application. It has a more rich content and function than the traditional smart home system. It allows household objects to be sensed and controlled remotely across existing network infrastructure, such as Internet, 3G network, and home wireless sensor networks. It enables objects to exchange data with the manufacturer, operator and other connected devices. It can provide increased quality of life for persons.This paper analyzes the existing home networking solutions and short-range wireless communication technology, proposes to construct a home wireless sensor network using ZigBee technology, to realize the automatic discovery, management and centralized control of multiple sensing devices in the home. Then put forward the solution that using internet TV set or the internet set-top box as the residential gateway, to build the home networking system. This paper describes the design and development of ZigBee communication software, the network topology which is suitable for home environment, the automatic detection and automatic configuration of the sensor devices. Then describes the design and implementation of the hardware module running ZigBee communication software,which is integrated into different types of home devices. This paper describes the design and development of the embedded Io T middleware which runs on the internet set-top box. The embedded Io T middleware system is based on DPWS framework, using service oriented concept, to provide a unified format for the function of sensor devices and home sensor networks, and can shield the heterogeneity of the underlying hardware platform and network protocol, and simplify the development and deployment of the application.Finally, by using the embedded Io T middleware and the ZigBee module which is connected with the USB interface of the internet set-top box, this system realizes data communication between Internet and ZigBee network. Compared with the single function of the traditional residential gateway equipment, it can reduce the cost of the application of the home Io T system. |