Determining Sampling Rate from Randomly Sampled Events

US2016294647A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016294647-A1
Application numberUS-201615176316-A
CountryUS
Kind codeA1
Filing dateJun 8, 2016
Priority dateSep 24, 2013
Publication dateOct 6, 2016
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Mechanisms are provided for determining an event rate. The mechanisms sample a sequence of events to generate a set of sampled events. At least a subset of the sampled events have associated event sequence values indicating a position of the sampled event within the sequence of events. The mechanisms group the sampled events into a plurality of event groups based on a common characteristic of the events. The mechanisms determine, for each event group, sequence values of sampled events associated with the event group. The mechanisms calculate, for each event group, an estimated event rate based on the sequence values of the sampled events associated with the event group and the total number of events in the sequence of events.

First claim

Opening claim text (preview).

1 . A method, in a data processing system comprising a processor and a memory, for determining an event rate, the method comprising: sampling, by the data processing system, a sequence of data packets at least by performing a mirroring of data packets from a plurality of normal ports of a network forwarding device to a mirror port of the network forwarding device from which the data packets are randomly sampled as a result of a number of data packets mirrored to the mirror port exceeding a saturation limit of the mirror port, to generate a set of sampled data packets, wherein at least a subset of the sampled data packets in the set of sampled data packets have associated data packet sequence values indicating a position of the sampled data packets within the sequence of data packets; grouping, by the data processing system, the sampled data packets into a plurality of data packet groups based on a common characteristic of the data packets; determining, by the data processing system, for each data packet group, sequence values of sampled data packets associated with the data packet group; and calculating, by the data processing system, for each data packet group, an estimated data packet flow rate based on the sequence values of the sampled data packets associated with the data packet group and the total number of data packets in the sequence of data packets. 2 . The method of claim 1 , wherein the sequence of data packets corresponds to a quantum of time in a series of quanta of time, and wherein the method is implemented for each quantum of time in the series of quanta of time. 3 . The method of claim 1 , wherein the network forwarding device is a network switch or network router, and wherein the data packet groups are data flows through normal ports of the network switch or network router from which the data packets are sampled. 4 . (canceled) 5 . The method of claim 1 , wherein the estimated data packet rate is a sampling rate for sampling data packets of the sequence of data packets, and wherein the method further comprises: verifying an operation of a data packet sampling algorithm based on the calculated estimated sampling rate. 6 . (canceled) 7 . The method of claim, wherein the network forwarding device is a switch and wherein the switch comprises a plurality of normal ports that are configured to be mirrored to the mirror port. 8 . The method of claim 1 , wherein calculating an estimated data packet rate comprises: determining for each data packet group, an estimate of a total number of data packets in the data packet group based on the sequence values of the sampled data packets in the corresponding data packet group; combining, across the data packet groups, the estimates of a total number of data packets in the data packet groups to generate a sum total estimate of data packets in the sequence of data packets; determining a total number of sampled data packets sampled from the sequence of data packets; calculating a sampling rate for the sequence of data packets based on a relationship of the sum total estimate of data packets in the sequence of data packets to the total number of sampled data packets sampled from the sequence of data packets; and determining the estimated data packet rate based on the sampling rate for the sequence of data packets. 9 . The method of claim 8 , wherein determining the estimated data packet rate based on the sampling rate for the sequence of data packets comprises calculating an estimate of a total number of data packets in the sequence of data packets based on a mathematical product of the sampling rate for the sequence of data packets and the total number of sampled data packets sampled from the sequence of data packets. 10 . The method of claim 8 , wherein the sequence of data packets corresponds to a quantum of time in a series of quanta of time, wherein the method is implemented for each quantum of time in the series of quanta of time, and wherein the method adjusts the determination of the estimated data packet rate for each subsequent quantum of time based on the sequence values of data packets in one or more of the previous quanta. 11 . A computer program product comprising a non-transitory computer readable medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to: receive, from a network forwarding device comprising a plurality of normal ports and a mirror port, a set of sampled data packets from a sequence of data packets via the mirror port, wherein data packets of the set of sampled data packets are randomly sampled as a result of a number of data packets mirrored to the mirror port exceeding a saturation limit of the mirror port, and wherein at least a subset of data packets in the sequence of data packets have associated data packet sequence values indicating a position of the data packet within the sequence of data packets; group the data packets into a plurality of data packet groups based on a common characteristic of the data packets; determine, for each data packet group, sequence values of sampled data packets associated with the data packet group; and calculate, for each data packet group, an estimated data packet flow rate based on the sequence values of the sampled data packets associated with the data packet group and the total number of data packets in the sequence of data packets. 12 . The computer program product of claim 11 , wherein the sequence of data packets corresponds to a quantum of time in a series of quanta of time, and wherein the method is implemented for each quantum of time in the series of quanta of time. 13 . The computer program product of claim 11 , wherein the network forwarding device is a network switch or network router, and wherein the data packet groups are data flows through normal ports of the network switch or network router from which the data packets are sampled. 14 . (canceled) 15 . The computer program product of claim 13 , wherein the estimated data packet rate is a sampling rate for sampling data packets of the sequence of data packets, and wherein the computer program product further causes the computing device to: verify an operation of a data packet sampling algorithm based on the calculated estimated sampling rate. 16 . The computer program product of claim 13 , wherein the network forwarding device is a switch, and wherein the switch comprises a plurality of normal ports that are configured to be mirrored to the mirror port. 17 . The computer program product of claim 11 , wherein the computer program product causes the computing device to calculate an estimated data packet rate at least by: determining for each data packet group, an estimate of a total number of data packets in the data packet group based on the sequence values of the sampled data packets in the corresponding data packet group; combining, across the data packet groups, the estimates of a total number of data packets in the data packet groups to generate a sum total estimate of data packets in the sequence of data packets; determining a total number of sampled data packets sampled from the sequence of data packets; calculating a sampling rate for the sequence of data packets based on a relationship of the sum total estimate of data packets in the sequence of data packets to the total number of sampled data packets sampled from the sequence of data packets; and determining the estimated data packet rate based on the sampling rate for the sequence of data packets.

Assignees

Inventors

Classifications

  • Port mirroring · CPC title

  • Packet rate · CPC title

  • Processing captured monitoring data, e.g. for logfile generation · CPC title

  • H04L43/024Primary

    by adaptive sampling · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2016294647A1 cover?
Mechanisms are provided for determining an event rate. The mechanisms sample a sequence of events to generate a set of sampled events. At least a subset of the sampled events have associated event sequence values indicating a position of the sampled event within the sequence of events. The mechanisms group the sampled events into a plurality of event groups based on a common characteristic of t…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification H04L43/024. Mapped technology areas include Electricity.
When was this patent published?
Publication date Thu Oct 06 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).