The invention belongs to the technical field of
train communication network scheduling. The invention provides a
train-mounted communication network scheduling method and
system. The method comprises the following steps: acquiring a communication data flow in a
train communication network; the
data stream is divided into a periodic
data stream and a non-periodic
data stream, and the periodic data
stream is divided into a first-level periodic data
stream and a second-level periodic data
stream; dividing each basic time slot into a first-level time slice, a second-level time slice and a third-level time slice, and respectively transmitting the three data streams; according to an inter-time-slot load balancing
algorithm, the periodic data streams are distributed, starting and stopping gating time of each time slice is set, three-level time slices are reserved for the non-periodic data streams, and a gating
list of communication scheduling is obtained; and when the aperiodic data stream is present, scheduling optimization is carried out on the aperiodic data stream by adopting a trust mechanism to obtain final scheduling configuration. According to the method, important and real-
time data are ensured to be transmitted preferentially, and real-
time response and long-term scheduling balance of aperiodic data streams are realized.