This invention discloses an
adaptive optimization method for edge optical links in a
data center based on deep
reinforcement learning. Using a fixed fat-tree
electrical switching plane as the underlying architecture, it achieves adaptive addition and deletion of direct optical links between edge switches through
topology control (DQN) and
optical path switching. The DQN and packet-by-
packet routing (DQN) form a two-layer collaborative decision-making structure. This invention models the
optical link addition / deletion decision as a constrained Markov
decision process, employing a dynamic candidate set mechanism to construct a low-dimensional state and action space, significantly reducing model computational complexity and training overhead. Compared to a pure electrical fat-
tree architecture, the provided dynamic candidate set DQN scheme effectively reduces average on-network latency, packet
rejection rate, and maximum
queue length under high-load scenarios. Under the same link
resource constraints, the dynamic candidate set scheme outperforms the all-
optical link pair scheme, exhibiting higher training efficiency, decision stability, and network
scalability. This invention can adaptively sense traffic distribution and schedule
optical link resources
on demand, making it suitable for real-
time control and performance optimization scenarios in high-dynamic and high-
throughput hybrid optoelectronic
data center network topologies.