An agent-based signal processing in-node environment for real-time human activity monitoring based on wireless body sensor networks