Patent ID: 7647420

Claim:
A control method for controlling a transmission of data in a storage device, comprising a recording unit for recording data, a buffer for temporarily storing the data read from said recording unit, and a transmission unit for transmitting the data read from said buffer to said storage device, comprising: a step of detecting data transmitted over a main communication line from a first switching device to a second switching device connected to said buffer; a step to detect whether or not any space is available in said buffer every time a predetermined reference period has passed; a step to increase the predetermined reference period if an unavailable status in said buffer is detected less than a predetermined number of times; a step to stop a transmission by said transmission unit due to a determination of a disturbance occurrence in the main communication line connected to said storage device, in response to no detection of available space in said buffer; a step to route the data in the storage device to a sub communication line other than the main communication line if error is detected, wherein the main communication line is a different line than the sub communication line; a step to detect a bandwidth of the main communication line connected to said storage device, on condition that a ratio of unused capacity of the output buffer to the maximum capacity of the output buffer, is less than a predetermined ratio; a step to store the bandwidth in a predetermined storage area for the bandwidth; a step to determine that a detected error has occurred in the main communication line if the bandwidth of the main communication line is larger than a predetermined threshold; and a step to set said reference period to be longer, compared to when said bandwidth is greater, when said bandwidth is smaller.