Following the idea of separation of control and forwarding
the data forwarding of software-defined WSN (Wireless Sensor Network) is implemented in a flow-based manner. Therefore
nodes behavior during rule updating in software-defined WSN may violate network attribute consistency. Therefore
this paper proposes the concept of per-package forwarding consistency and proves that it can maintain the update consistency of all attributes. On this basis
a rule forwarding consistent update algorithm is proposed by introducing cache nodes and rules to simplify dependencies. The algorithm supports fast parallel updates while satisfying the per-package forwarding consistency. The experimental results show that the algorithm has obvious advantages in the rule cost