Controlposts
There has to be to centers, each of one having the full control over all railway tracks.
This means, that there is a back-up system.
All trains has to have the system installed to have it working. There are no room for jokers.
For the private railroadcompanies, it will be a very cheap safety system.