Abstract:In recent years, internet of things(IOT) has been widely used in smart home system. Wireless sensor networks(WSNs) and ZigBee protocols are key technologies in smart home systems based on internet of things. In the actual application process, the networking algorithm of sensing layer in existing smart home systems has certain limitations. To improve the practicability of the sensing layer network, this paper proposed a key-based broadcast networking algorithm and the efficiency of network access underlying ZigBee protocol stack was im- proved. Meanwhile, the coordinator is always unstable for storing data in real applications. In view of this prob- lem, this paper, based on ZigBee protocols, put forward an improved non-volatile memory(NV) storage algorithm. The research results show that the proposed algorithm has high reliability and may effectively improve the com- munication network operability.