Patent ID: 7787442
Filing Date: 2010-08-31
Classification: H04L

Abstract:
1. A communication statistic information collection apparatus comprising: a flow table composed of a plurality of flow entries each defining a flow identification condition for identifying a packet flow; a statistics information table composed of a plurality of statistics information entries each storing statistics information of a plurality of information items; a searching unit for searching, by using a combination of a plurality of header information items extracted from a header of each of packets received from a network as a flow searching key, said flow table for a flow entry having the flow identification condition corresponding to the flow searching key, collecting statistics information individually for each of the packet flows, and updating the statistics information stored in one of said statistics information entries corresponding to the searched flow entry; and a statistics function control table including a plurality of statistics control entries previously registered in the table, each of the statistic control entries defining, in association with the flow identification condition, statistics control information for limiting the packets for which the statistics information is to be collected, wherein said searching unit executes searching said flow table in accordance with the flow searching key generated from the header information of each of the received packets, collecting, when the flow entry corresponding to the flow searching key is found from the flow table, the statistics information of a packet flow to update the statistics information stored in one of said statistics information entries corresponding to the searched flow entry, searching said statistics function control table when there is no flow entry corresponding to the flow searching key, collecting, when a statistics control entry corresponding to the flow searching key is found from the statistics function control table, the statistics information of a packet flow corresponding to the flow identification condition of the statistics control entry in accordance with the statistics control information shown by the statistics control entry, and updating the statistics information stored in one of said statistics information entries corresponding to the searched statistics control entry, said statistics function control table includes first and second statistics control entries each of which specifies, as the flow identification condition, a header information value of at least one of the plurality of header information items serving as the flow searching key, the statistics control information of said first statistics control entry indicates to add a new flow entry to said flow table to collect the statistics information for each of the packet flows identified by the flow searching key, and the statistics control information of said second statistics control entry indicates to generate of a copy of each of the received packets in the packet flow corresponding to the flow identification condition at a specified sampling rate, said searching unit comprises first means for adding a new flow entry having said flow searching key as the flow identification condition to said flow table when said first statistics control entry is found as corresponding to the flow searching key from said statistics function control table, and second means for starting a control operation for generating the copy of the received packet corresponding to the flow identification condition at the specified sampling rate and transferring the copy packet to another communication statistics information collection apparatus as preliminarily specified when said second statistics control entry is found as corresponding to the flow searching key from said statistics function control table, said second statistics control entry includes, as a part of the statistics control information, a condition for starting sampling to transfer a copy of the received packet generated at said specified sampling rate to said preliminarily specified statistics information collection apparatus and a sampling flag indicative of whether the sampling should be executed, and a second means of said searching unit comprises: a sampling determination unit for comparing, when said second statistics control entry is found as the statistics control entry corresponding to the flow searching key from said statistics function control table and the sampling flag is in an OFF state, the condition for starting said sampling with the statistics information shown by the statistics information entry corresponding to the second statistics control entry and changing said sampling flag to an ON state when the condition for starting the sampling is satisfied; and a sampling unit for generating a control signal to generate the copy of the received packet at the specified sampling rate when the sampling flag is in the ON state.