Patent ID: 8837504
Filing Date: 2014-09-16
Classification: H04L

Abstract:
1. A relay apparatus for relaying data on a network, comprising: a buffer for storing the data temporarily; and an output mode switching unit configured to switch the output order in which the data is output from the buffer in accordance with the storage amount of the data temporarily stored in the buffer; wherein switching by the output mode switching unit includes switching between FIFO (a first-in-first-out buffering type) and FILO (a first-in-last-out buffering type); wherein the buffer has a lower limit threshold value and an upper limit threshold value which is greater than the lower limit threshold value; wherein the output mode switching unit switches the output mode to FILO when the data temporarily stored in the buffer exceeds the upper limit threshold value and switches the output mode to FIFO when the data temporarily stored in the buffer falls below the lower limit threshold value; wherein, when the data falls below the lower limit threshold value after exceeding the upper limit threshold value, the output mode switching unit discards data not exceeding the lower limit threshold value; wherein the output mode switching unit has a flag for determining whether the data falls below the lower limit threshold value after exceeding the upper limit threshold value; wherein the output mode switching unit sets the flag when the data exceeds the upper limit threshold value and then resets the flag when the data falls below the lower limit threshold value; and wherein, when the data falls below the lower limit threshold value, when the flag is set, the output mode switching unit discards the data not exceeding the lower limit threshold value.