This document discusses an energy-efficient routing algorithm for wireless sensor networks (WSNs) proposed by the authors. It begins with background on WSNs and challenges related to limited energy. Then, it discusses prior work on routing protocols like LEACH and proposes a new algorithm. The key contributions are formulating control node selection as an optimization problem considering energy and distance, and using particle swarm optimization to solve this problem. This aims to improve energy efficiency for multi-tasking in software-defined WSNs compared to traditional protocols.