Patent ID: 8089979

Claim:
A packet relay apparatus for performing packet relay control, comprising: an input network interface block comprising: an arrival time measurement block to measure an arrival time of each input packet to generate arrival time information, a packet classification block to classify the input packets into output-interval-control packets, which are subject to output interval control, and non-output-interval-control packets, which do not require the output interval control, to generate classification information, and a packet information assignment block to add packet information that includes the arrival time information and the classification information to the packets; an output network interface block comprising: an output-interval-control queue, a non-output-interval control queue, a packet distribution block to receive the packets which have been processed in the input network interface block and have been switched, and to place the output-interval-control packets in the output-interval-control queue and the non-output-interval-packet in the non-output-interval-control queue in accordance with the classification information, a schedule management block to perform the output interval control in accordance with the arrival time information such that an output interval of an output-interval-control packet and a next output-interval-control packet is equal to an input interval at which the output-interval-control packets were input to the apparatus, and a packet readout block to read the output-interval-control packets out of the output-interval-control queue and the non-output-interval-control packets out of the non-output-interval-control queue, in accordance with readout instructions from the schedule management block and to output the packets; and a switch block to switch the packets output from the input network interface block to the output network interface block; wherein the schedule management block calculates a time difference between the arrival time of the packet and an arrival time of a packet arrived immediately therebefore, calculates a correction time by correcting the time difference with a delay time required for packet processing in the apparatus, gives a readout instruction for the output-interval-control packet after counting of the time difference when the correction time is a zero time, and gives a readout instruction for the output-interval-control packet after counting of the correction time when the correction time is a non-zero time, wherein the delay time is a time difference between a valid readout time and a packet output time, the valid readout time indicating a time at which the readout instruction of a sending packet output a previous time is given to the packet readout block, and the packet output time indicating a time at which the sending packet is output from the packet readout block.