近年來,無線感測網路(WSN)已被廣泛應用於軍事、醫療和科學環境上,而其感測器通常都是由電池作為供應電源。因此,要如何延長無線感測網路的生命週期是一項重要的挑戰。但要實現這一點,我們必須考慮到無線感測網路的所有設計和通訊。其中,電源管理是能減少感測器能耗有效的方法之一。此外,電源管理可能在無線感測網路被駭客攻擊時失控。因此,我們提出了一個安全能耗管理方案,命名為可抵禦攻擊之無線感測網路能耗管理機制來處理無線感測網路的能源問題,並延長以及協調其感測節點的運行時間。最重要的是,在被攻擊的期間,此機制仍然能持續運作,而且,在無線感測網路節點處於空閒狀態時,我們提的方法能有效地使節點進入休眠狀態,然後在必要的時候喚醒他們,因此能使得節點消耗的能量更少。實驗模擬結果顯示,當被惡意攻擊時,與典型的電源管理方案相比,我們的方法仍能有效降低功耗。 Recently, wireless sensor networks (WSN) have been widely used in military, healthcare, and scientific environments and their sensors are often powered by batteries. So how to lengthen WSN’s lifetime is an important challenge. One of the solutions is reducing sensors’ energy consumption. Power management in turn is one of effective methods for lowering their consumed energy. But to achieve this, we must take into account all design and communication stages of a WSN. Also, the power management may be out of control when the WSN is now being attacked by hackers. Therefore, in this paper, we proposed a secure energy consumption management scheme, named Secure Power Management (SPM for short) to deal with the energy problem of a WSN and prolong operating time of its sensor nodes as well as coordinators. Most importantly, the SPM is still effective during being attacks. It then efficiently turns WSN nodes into sleeping mode when they are idle and wakes them up when necessary. In this mode, nodes consume less energy. A token based control policy is also developed to manage the power consumption of WSN nodes. Our simulation results show that during malicious attacks, the SPM still effectively reduces power consumption compared with that of the typical power management scheme.