To meet the human needs of all-round control of life,the intelligent home industry,as a typical business application integrating advanced technologies such as network technology,communication technology,electronic technology,sensor control technology and computer technology,incorporates intelligent factors,management factors and service factors to promote the innovation and reform of family life in the information age.In order to make the real life more informational,networked,intelligent,convenient and comfortable,and to make the best use of intelligent home platforms,it is definitely necessary to design an intelligent home gateway to serve as a communication bridge among all the distributed,heterogeneous,multi-protocol,Multi-standard home equipment and users.This intelligent home gateway requires the compatibility with multi-interface,multi-protocol,multi-communication standards,good capability of network management,strong scalability and high security.In this paper,the application and demand of intelligent home gateways in the field of intelligent home are studied in the background of the project "Promotion of Industrialization of Family Information Platform" in Guangdong Province at the provincial science and technology project in 2013,and based on the domestic and international research efforts in intelligent home gateways.A high practical scheme of the intelligent home gateway is put forward by the research,design and implementation of the intelligent home gateway based on MQTT(Message Queuing Telemetry Transport)message routing(referred to as MMR gateway).The main work of this paper is as follows:(1)An overall review on the domestic and international intelligent home systems and intelligent home gateways,and the analysis of the emerging and challenging problems in the area of intelligent home industry.(2)This paper studies the embedded technology,networking technology and Internet of Things transmission protocol applied to the intelligent home gateway,and determines the unified protocol standard of the intelligent home gateway using the MQTT protocol as the subject.(3)The review of the previous research efforts on the intelligent home gateway in the industrial community,and the proposal of the main research topic on the intelligent home gateway in this study.(4)The design of the overall architecture of the intelligent home platform based on MQTT;On the basis of this platform,the analysis of design principles and function requirements of the intelligent home gateway,and the design of the framework of the intelligent home gateway by using a hierarchical design idea;(5)According to the framework of the MMR gateway in Chapter 3,the design of the layers of the MMR gateway,including the MQTT message routing layer,multi-protocol adaptation layer,security transport layer,configuration management layer and gateway physical layer;Among them,MQTT message routing layer and multi-protocol adaptation layer are the focus of the design part.In the design process of MQTT message routing layer,the improvement of the hub-and-spoke of MQTT protocol that supports multi-layer cascaded gateway topology,multi-gateway connection network and MQTT message routing;In the design process of multi-protocol adaptation layer,the solution to the problem how the heterogeneous home appliances and multi-protocol multi-standard home appliances access to intelligent home platform.(6)According to the design,the implementation of an intelligent home gateway based on MQTT message routing,of which the layers are implemented separately,including the MQTT message routing layer,multi-protocol adaptation layer,configuration management layer and gateway physical layer.Among them,MQTT message routing layer and multi-protocol adaptation layer are the key implementation parts.(7)Detailed testing of the proposed intelligent home gateway based on MQTT message routing,mainly including equipment management and control testing,and message routing testing;The careful evaluation of testing results ultimately verify that the smart home gateway can meet the demand and has the capabilities of the MQTT message routing,good scalability and strong compatibility.In this paper,a multi-protocol intelligent home gateway that has the capabilities of the MQTT message routing,good scalability,compatibility and security is designed and implemented,and it provides a useful reference for the further research and design of the intelligent home gateway.Finally,the gateway of this paper is compared with the same type of system to verify the functional innovation of intelligent home gateway based on MQTT message routing. |