Aiming at the problems of large number of data transmission node deaths and large transmission energy consumption output in energy-saving clustering routing communication of wireless sensor networks, an energy-saving clustering routing algorithm for heterogeneous wireless sensor networks based on energy iteration model and bee colony optimization is proposed. Firstly, a network communication energy consumption model is constructed, and the network node distribution is optimized in time with the goal of reducing energy consumption combined with differential bee colony algorithm; then, based on the network node distribution optimization results, an energy-saving clustering method for heterogeneous wireless sensor networks is formulated, and the cluster head is determined by using the energy iteration cluster selection method, and the cluster head radius is obtained to complete the energy-saving clustering of communication nodes in heterogeneous wireless sensor networks; finally, the distance between the communication cluster head node and the base station is set, the routing level of the node communication is determined, and the energy-saving routing communication of the heterogeneous wireless sensor network is realized by combining the multi-hop routing communication mode. The experimental results show that when the method is used for network energy-saving clustering routing communication, the number of data transmission nodes that die is at most 22, and the maximum energy consumption of node transmission is 21 nJ/bit , indicating that the node communication energy-saving effect of this method is good.