Dynamic Task Scheduling for Wireless Sensor Networks Based on an Improved Bat Algorithm
Wireless sensor network is a kind of wireless network that processes sensing information.Due to uneven node allocation in the process of processing,the network resource utilization rate is low,and the node energy consumption in task scheduling is high.There-fore,a dynamic task scheduling method for wireless sensor networks based on improved bat algorithm is proposed.The bat algorithm is improved by increasing the weight coefficient,reducing the node density of wireless sensor networks,defining binary variables,and de-termining task allocation nodes.According to the separable load theory,the task running time and transmission time under two kinds of clustering structure network environment are calculated,and the dynamic task scheduling scheme of wireless sensor network nodes in the intra group and inter group stages is obtained.The simulation results show that the proposed algorithm can obtain the objective function value when the number of iterations is 200.When the number of virtual machines is 1 200,the required number of wireless sensor net-work nodes is 38,and the network resource utilization rate is always higher than 68%,demonstrating that the proposed method can effec-tively reduce the energy consumption of nodes in the scheduling process and improve the network resource utilization rate.