主权项 |
1. A train communication system comprising:
a network that is constituted in a train formation including one or more vehicles; a communication relay device that is provided in each of the vehicles and is connected to the network; one or more terminal devices that are provided in the vehicles and are connected to the communication relay device in a same vehicle and to the network; and a position-information distribution device that is connected to the communication relay device and distributes position information indicating positions of the vehicles in the train formation, wherein the communication relay device includes
a vehicle-information storage unit that stores therein vehicle information indicating positions of the vehicles that are provided with the communication relay device in the train formation, anda position-information rewriting unit that, when having received a position information packet from the position-information distribution device,
extracts position information set in the position information packet,generates a rewritten position information packet in which a value of extracted position information is rewritten to a value of vehicle information recorded in the vehicle-information storage unit, andtransfers the rewritten position information packet, and the terminal devices
include a correspondence table in which
IP addresses that are set so as not to overlap with each other for respective types of the terminal devices and are set to correspond to the vehicle information,a value of a physical port of a communication relay device to which a terminal device is connected, andthe position information correspond to each other, anddecide IP addresses to be allocated to the terminal devices on the basis of the vehicle information from the communication relay devices and the correspondence table. |