The invention relates to the technical field of
network communication, and provides a hierarchical
reinforcement learning scheduling and routing method for a multi-domain TSN, and the technical scheme comprises the steps: collecting the global state information of the multi-domain TSN, and carrying out the coding
processing of the global state information to generate comprehensive
state representation; performing a cross-domain
routing decision, and outputting an inter-domain path and a time
delay budget of a cross-domain flow; executing intra-domain scheduling, determining a sending sequence and a specific path of
a domain flow, and generating gating
list configuration; through hierarchical coordination and strategy optimization, a cross-domain
routing decision and intra-domain scheduling are updated based on reward feedback of an intra-domain scheduling result; and deploying the finally updated intra-domain scheduling to a switch of the multi-domain TSN network for execution, thereby realizing deterministic transmission of the time-triggered flow. According to the invention, through a layered
agent architecture, a
hybrid neural network coding mechanism and a cross-domain collaborative optimization strategy, challenges of complexity, expandability, dynamic adaptability and the like of a joint routing and scheduling problem in a multi-domain TSN environment are effectively solved.