Deep Reinforcement Learning for Resource Protection and Real-Time Detection in IoT Environment | Synapse