Methods and systems for estimating entropy
First Claim
Patent Images
1. A method for estimating entropy configured in NetFPGA, comprising:
- setting an allowable error to deciding a sample number according to a total of packets in a stream data in a measuring module;
randomly sampling a plurality of locations in the stream data in a sampling module;
applying to a count sketch algorithm to each packet for performing the count and update in a calculation and update module;
applying the counter sketch algorithm to the each packet for performing the query according to flow IDs of the plurality of locations in a query module; and
recording each query result of the each packet onto an entropy table, obtaining an average of a counter used in each same row in the entropy table, selecting a median to be an estimation value from the averages and obtaining an estimation entropy value according to the estimation value in a storage module;
wherein the Count Sketch algorithm is used to perform the packet count query of flow ID, and then the query value is recorded onto the entropy table in sequence as to increase access time of the storage module;
wherein the size of the storage module is fixed.
1 Assignment
0 Petitions
Accused Products
Abstract
It is a challenge task to conduct Entropy computation on the attributes of packet header in high-speed networks. Motivated by Ashwin Lall et al., we present a stream-based scheme to estimate to the entropy norm based on Count Sketch algorithm. The system is implemented on a NetFPGA-10G platform. It is capable of processing IP packets and computing the entropy in 30 Gbps line rate.
-
Citations
13 Claims
-
1. A method for estimating entropy configured in NetFPGA, comprising:
-
setting an allowable error to deciding a sample number according to a total of packets in a stream data in a measuring module; randomly sampling a plurality of locations in the stream data in a sampling module; applying to a count sketch algorithm to each packet for performing the count and update in a calculation and update module; applying the counter sketch algorithm to the each packet for performing the query according to flow IDs of the plurality of locations in a query module; and recording each query result of the each packet onto an entropy table, obtaining an average of a counter used in each same row in the entropy table, selecting a median to be an estimation value from the averages and obtaining an estimation entropy value according to the estimation value in a storage module; wherein the Count Sketch algorithm is used to perform the packet count query of flow ID, and then the query value is recorded onto the entropy table in sequence as to increase access time of the storage module; wherein the size of the storage module is fixed. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for estimating entropy configured in NetFPGA, comprising:
-
a measuring module, setting an allowable error to deciding a sample number according to a total of packets in a stream data; a sampling module, coupled to the measuring module, randomly sampling a plurality of locations in the stream data; a calculation and update module, coupled to the sampling module, applying to a count sketch algorithm to each packet for performing the count and update; a query module, coupled to the calculation and update module, applying the counter sketch algorithm to the each packet for performing the query according to flow IDs of the plurality of locations; and a storage module, coupled to the query module and the calculation and update module, obtaining an average of a counter used in each same row in the entropy table, and selecting a median to be an estimation value from the averages, and obtaining an estimation entropy value according to the estimation value; wherein the Count Sketch algorithm is used to perform the packet count query of flow ID, and then the query value is recorded onto the entropy table in sequence as to increase access time of the storage module; wherein the size of the storage module is fixed. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
Specification