(WSN middleware can manage the above-mentioned adversaries in several ways. First of all, it provides system abstraction, shielding the complexity and heterogeneity of the underlying hardware and network methods, so that program developers can focus more on using logic, and no longer need to understand the underlying final details)