A terminal station device connected to terminal devices and an upper-level device, each of the terminal devices being connected to a respective lower-level device accommodating a plurality of user devices, the terminal station device communicating to the terminal devices by optical signals through a relay network, the terminal station device comprising: an information extraction unit that is configured to extract information on allocation of a bandwidth of uplink communication of each of the plurality of user devices from information notified by the upper-level device on the uplink communication of the plurality of user devices, a direction of the uplink communication indicating from the plurality of user devices to the upper-level device; a storage unit that is configured to store identification information of each lower-level device connected to a respective one of the terminal devices and identification information of the plurality of user devices in correlation with each other; a demand amount determination unit that is configured to calculate on a basis of the bandwidth of the uplink communication of each of the plurality of user devices and the correlation between identification information of each lower-level device and the plurality of user devices, for each of the terminal devices, a sum of the bandwidth of the uplink communication of a user device accommodated in a lower-level device connected to a relevant terminal device among the plurality of user devices, the demand amount determination unit being further configured to determine each sum of the bandwidth as a bandwidth demanded amount for the uplink communication of a respective one of the terminal devices; and a bandwidth allocation unit that is configured to calculate on a basis of the bandwidth demanded amount for the uplink communication of each of the terminal devices, for each of the terminal devices, a start time point of the uplink communication and an amount of information of signals so that a waiting period during which each of the terminal devices waits for transmission of uplink communication signals is equal in all of the terminal devices, the bandwidth allocation unit being further configured to allocate the start time point of the uplink communication and the amount of information of signals to a respective one of the terminal devices, wherein the start time point of the uplink communication indicates a time allowed to start transmission of the uplink communication in the relay network, and wherein the amount of information of signals indicates an amount of information allowed to be transmitted on the uplink communication in the relay network. an information extraction unit that is configured to extract information on allocation of a bandwidth of uplink communication of each of the plurality of user devices from information notified by the upper-level device on the uplink communication of the plurality of user devices, a direction of the uplink communication indicating from the plurality of user devices to the upper-level device; a storage unit that is configured to store identification information of each lower-level device connected to a respective one of the terminal devices and identification information of the plurality of user devices in correlation with each other; a demand amount determination unit that is configured to calculate on a basis of the bandwidth of the uplink communication of each of the plurality of user devices and the correlation between identification information of each lower-level device and the plurality of user devices, for each of the terminal devices, a sum of the bandwidth of the uplink communication of a user device accommodated in a lower-level device connected to a relevant terminal device among the plurality of user devices, the demand amount determination unit being further configured to determine each sum of the bandwidth as a bandwidth demanded amount for the uplink communication of a respective one of the terminal devices; and a bandwidth allocation unit that is configured to calculate on a basis of the bandwidth demanded amount for the uplink communication of each of the terminal devices, for each of the terminal devices, a start time point of the uplink communication and an amount of information of signals so that a waiting period during which each of the terminal devices waits for transmission of uplink communication signals is equal in all of the terminal devices, the bandwidth allocation unit being further configured to allocate the start time point of the uplink communication and the amount of information of signals to a respective one of the terminal devices, wherein the start time point of the uplink communication indicates a time allowed to start transmission of the uplink communication in the relay network, and wherein the amount of information of signals indicates an amount of information allowed to be transmitted on the uplink communication in the relay network.