Method and system for storing packet flows
First Claim
Patent Images
1. A method for storing and retrieving a packet flow, the method comprising:
- receiving a packet from a network;
hashing values of one or more fields in the received packet so as to select a storage bucket from a plurality of buckets;
storing the packet in the selected storage bucket, wherein a bucket record associated with the selected storage bucket includes a flow index determined based on the values of the one or more fields in the packet;
obtaining values of one or more parameters;
selecting a retrieval bucket from the plurality of buckets by hashing the values of the one or more parameters;
determining whether a bucket record associated with the retrieval bucket contains a flow index associated with the values of the one or more parameters; and
if the bucket record associated with the retrieval bucket contains a flow index associated with the values of the one or more parameters, retrieving at least a portion of the packet flow from the retrieval bucket;
wherein the retrieval bucket is one of a plurality of retrieval buckets selected by hashing the values of the one or more parameters, and the packet flow is retrieved from the plurality of retrieval buckets ordered by time.
4 Assignments
0 Petitions
Accused Products
Abstract
A method for storing a plurality of packets includes receiving a packets from a network, applying a hash function to values of one or more fields in the packet so as define a hash key and to select a storage bucket from a plurality of buckets, and adding the packet to the storage bucket. A bucket record associated with the storage bucket includes a flow index determined based on the values of the one or more fields in the packet.
-
Citations
6 Claims
-
1. A method for storing and retrieving a packet flow, the method comprising:
-
receiving a packet from a network; hashing values of one or more fields in the received packet so as to select a storage bucket from a plurality of buckets; storing the packet in the selected storage bucket, wherein a bucket record associated with the selected storage bucket includes a flow index determined based on the values of the one or more fields in the packet; obtaining values of one or more parameters; selecting a retrieval bucket from the plurality of buckets by hashing the values of the one or more parameters; determining whether a bucket record associated with the retrieval bucket contains a flow index associated with the values of the one or more parameters; and if the bucket record associated with the retrieval bucket contains a flow index associated with the values of the one or more parameters, retrieving at least a portion of the packet flow from the retrieval bucket; wherein the retrieval bucket is one of a plurality of retrieval buckets selected by hashing the values of the one or more parameters, and the packet flow is retrieved from the plurality of retrieval buckets ordered by time. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification