Refresh mechanism for rate-based statistics
OwnerZhanhong XIA, Ping CHEN +1inventors
InventorsZhanhong XIA, Ping CHEN, Yunhui GAN
Life of this patent
Estimating the term…
Abstract
Rate-based statistics are aperiodically refreshed. For example, for each Internet Protocol address being monitored, a time stamp of the last (most recent) statistics object (e.g., packet) and corresponding rate-based statistics are stored. The time stamp of a new statistics object is compared with the stored time stamp. The stored time stamp may be updated, and the stored statistics may be updated or refreshed, depending on the result of the comparison.
Claims20
A system for refreshing rate-based statistics stored in a memory, said system comprising:
- a timer for providing a time value that is used to time stamp each of a plurality of statistics object, wherein said statistics objects comprise a first object and a second object that are identified as members of the same group;
- and
- a statistics updater coupled to said system timer and for aperiodically updating rate-based statistics associated with said group.
A computer-implemented method of refreshing rate-based statistics stored in a memory, said method comprising:
- accessing a value of a first time stamp corresponding to rate-based statistics associated with a group of statistics objects;
- comparing a value of a second time stamp for a first statistics object to said value of said first time stamp, wherein said first statistics object is identified as being a related to said group;
- and
- refreshing said statistics for said group to an initializing value if said value of said first time stamp and said value of said second time stamp are different and otherwise incrementing said statistics for said group.
A computer-implemented method of refreshing rate-based statistics stored in a memory, said method comprising:
- identifying a first packet and a second packet that have the same source Internet Protocol (IP) address;
- determining whether said first packet and said second packet are received during the same statistics-gathering period;
- and
- incrementing rate-based statistics associated with said source IP address if both said first packet and said second packet are in said same statistics-gathering period and otherwise initializing said statistics associated with said source IP address.
Dependencies are inferred from the claim text.