The invention provides a container
transportation scheduling method and device, a terminal and a medium, and relates to the technical field of intelligent logistics scheduling. The method comprises the steps that a container
transportation request set containing trailer operation information is obtained, and the trailer operation information comprises a first identifier and a second identifier which indicate whether a
tractor carries a trailer with the matched size to a goods taking point or not and whether the trailer is left at a delivery point or not after delivery; based on the set, constructing a
transportation scheduling planning model with the goal of maximizing the net income, and solving by using a preset
heuristic algorithm to obtain an ideal
transportation scheduling scheme; simulating trailer resource dynamic consumption based on the initial scheme, determining a shortage request
list, and generating a trailer repositioning task set according to the shortage request
list; based on the task set, constructing a scheduling model taking minimization of total trailer
relocation cost as a target and solving the scheduling model to obtain a trailer
relocation scheduling scheme; and generating a container transportation and trailer
resource scheduling scheme based on the two schemes. According to the invention,
dynamic balance of trailer resources and maneuverability of a scheduling scheme are ensured.