This paper introduces a deep reinforcement learning-based model for dynamic software-defined networking (SDN) controller placement, aiming to minimize OpenFlow latency in virtualized environments. It addresses the limitations of static placement strategies and current dynamic approaches by considering network state interdependencies and providing detailed implementation guidance. Experimental results show that the proposed strategy outperforms both random and generic placement methods, enhancing service agility in SDN architectures.