The present application relates to the technical field of supply chain management, in particular to a
medicine supply chain scheduling method and
system based on
reinforcement learning, comprising the following steps: obtaining the
temperature difference inside and outside the
carriage and the heat conduction coefficient to calculate the
heat penetration rate and the
thermal safety time limit, planning the path and correcting the speed based on the congestion index to obtain the predicted passing time, comparing the
time limit with the deadline to generate the action
mask vector, inputting the environmental parameters into the neural network to output the
score, and using the action
mask to correct and generating the scheduling instruction through the
Softmax function. In the present application, the
thermal safety time limit is accurately derived, the
thermal safety time limit and the delivery deadline are used as double constraints to construct the action
mask to eliminate invalid nodes, multi-dimensional parameters are input into the neural network and the probability distribution is generated under the mask constraint, and it is ensured that the vehicle scheduling instruction follows the
temperature control safety threshold, effectively avoiding the risk of
drug heat failure and improving the accuracy of
cold chain logistics distribution.