| With the rapid development of China’s social economy and technology,the smart home market is getting hotter and hotter,and multimedia applications such as home theater,distance education and intelligent home devices are constantly being introduced.The amount of data transmitted by these multimedia products and home devices is evry large.It consumes a lot of network bandwidth resources and requires high real-time(such as end-to-end delay and packet loss rate).Aiming at the problem that many smart home devices in this stage have large requirements on network throughput but are sensitive to delay,this thesis proposes a robust multicast routing algorithm for multi-channel wireless mesh networks,designed a smart home system based on Zig Bee mesh network.The smart home system based on Zig Bee mesh network includes four parts,namely detection terminal,router,coordinator and monitoring terminal.The detection terminal is mainly composed of CC2530 and corresponding sensors,which is used for detecting indoor light intensity,temperature and humidity,presence or absence of fire,and presence or absence;The router is mainly composed of CC2530,which is used to for forwarding data packets in the wireless network and increasing network coverage;The coordinator is mainly composed of a STM32 controller and a power module,and functions as a "gateway + route" in the system;the monitoring terminal is composed of a PC,mainly for the display of related data such as multimedia equipment,daylighting line strength,presence or absence of fire,presence of no one,and remote control of household equipment.In addition,the software part mainly includes hardware device application layer development and client APP develo pment based on Z-stack protocol stack.Hardware device application layer software development includes Zig Bee terminal data acquisition,coordinator to form Zig Bee mesh network and embedded multi-channel wireless mesh.The network’s multicast routing algori thm ensures the quality of the mesh network service under high load.The client App mainly includes the design of the PC client interface,where in the PC client is developed based on the Qt platform using the C++ language.After the system networking test,based on the successful networking of the Zigbee mesh network smart home system,the user can remotely monitor and securely manage the indoor environment parameters and home equipment of the home system through the client.At the same time,through the Zigbee Test Tool(ZTT)released by Zigbee Alliance,the parameters such as bandwidth,throughput,and delay of the system network are obtained and analyzed.It can be seen that the designed algorithm RMRA improves the average throughput compared with MCMNTs.About 15%-30%,the delay is reduced by about 5%-10%. |