The present invention relates to a screen door control method supporting both
coupling and a baggage
carriage, a device, and a medium. The method includes: S1, calculating data of a safe passenger boarding and alighting area in an onboard
electronic map library based on
train running rules and
train formations allowed for online running; S2, merging, by an
interlocking system based on the
train running rules and the train formations allowed for online running, same opening codes for actually opening screen
doors in data logic; S3, calculating, by an onboard controller, a screen door opening code based on a current actual train formation, a baggage
carriage condition, and data of a safe passenger boarding and alighting area in which the current train formation is located; and S4, driving, by the
interlocking system, a corresponding screen door to be opened. Compared with the prior art, the present invention has advantages of supporting an operation manner of replacing a first
carriage at a head or
tail of different train formations with a baggage carriage, and the like.