System and method for conditional analysis of network traffic
First Claim
1. A method, comprising:
- receiving network traffic that carries content items for processing by a network analytics system;
extracting a content item from the network traffic, wherein extracting the content item includes deriving a respective unique identifier for the content item;
in response to finding that the content item is a duplicate of previous content that was already processed by the network analytics system and cached in a cache memory, retrieving and outputting a cached analytics outcome of the content item from the cache memory;
for a given content item, counting a number of matching occurrences of the given content item, and caching the number of matching occurrences in the cache memory in association with a unique identifier of the given content item, wherein the number of matching occurrences is multiplied by a weight factor that is based on a processing time of the content item to produce a weighted number of matching occurrences; and
deleting from the cache memory the unique identifier of the given content item if the weighted number of matching occurrences during a predefined duration is lower than a predefined threshold;
wherein the network analytics system produces analytics outcomes based on an analytics rule, and comprising, upon changing the analytics rule, updating cached analytics outcomes for the content items for which the analytics rule was applied.
3 Assignments
0 Petitions
Accused Products
Abstract
Embodiments that are described herein provide improved methods and systems for analyzing network traffic. The disclosed embodiments enable an analytics system to perform complex processing to only new, first occurrences of received content, while refraining from processing duplicate instances of that content. In an embodiment, the analytics results regarding the first occurring content are reported and cached in association with the content. For any duplicate instance of the content, the analytics results are retrieved from the cache without re-processing of the duplicate content. When using the disclosed techniques, the system still processes all first occurring content but not duplicate instances of content that was previously received and processed. In the embodiments described herein, input data comprises communication packets exchanged in a communication network.
19 Citations
18 Claims
-
1. A method, comprising:
-
receiving network traffic that carries content items for processing by a network analytics system; extracting a content item from the network traffic, wherein extracting the content item includes deriving a respective unique identifier for the content item; in response to finding that the content item is a duplicate of previous content that was already processed by the network analytics system and cached in a cache memory, retrieving and outputting a cached analytics outcome of the content item from the cache memory; for a given content item, counting a number of matching occurrences of the given content item, and caching the number of matching occurrences in the cache memory in association with a unique identifier of the given content item, wherein the number of matching occurrences is multiplied by a weight factor that is based on a processing time of the content item to produce a weighted number of matching occurrences; and deleting from the cache memory the unique identifier of the given content item if the weighted number of matching occurrences during a predefined duration is lower than a predefined threshold; wherein the network analytics system produces analytics outcomes based on an analytics rule, and comprising, upon changing the analytics rule, updating cached analytics outcomes for the content items for which the analytics rule was applied. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. An apparatus, comprising:
-
an input circuit, which is configured to receive network traffic that carries content items for processing by a network analytics system; and a processor coupled to a memory, which is configured to; extract a content item from the network traffic, wherein extracting the content item includes deriving a respective unique identifier for the content item; retrieve and output a cached analytics outcome of the content item from a cache memory in response to finding that the content item is a duplicate of a previous content that was already processed by the network analytics system and cached in the cache memory; count, for a given content item, a number of matching occurrences of the given content item, and caching the number of matching occurrences in the cache memory in association with a unique identifier of the given content item, wherein the number of matching occurrences is multiplied by a weight factor that is based on a processing time of the content item to produce a weighted number of matching occurrences; and delete from the cache memory the unique identifier of the given content item if the weighted number of matching occurrences during a predefined duration is lower than a predefined threshold; wherein the network analytics system produces analytics outcomes based on an analytics rule, and comprising, upon changing the analytics rule, updating cached analytics outcomes for the content items for which the analytics rule was applied. - View Dependent Claims (17)
-
-
18. A non-transitory computer readable medium, having instructions stored thereon that, when executed by a computing system, cause the computing system to at least:
-
receive network traffic that carries content items for processing by a network analytics system; extract a content item from the network traffic, wherein extracting the content item includes deriving a respective unique identifier for the content item; retrieve and output a cached analytics outcome of the content item from a cache memory in response to finding that the content item is a duplicate of previous content that was already processed by the network analytics system and cached in the cache memory; count, for a given content item, a number of matching occurrences of the given content item, and caching the number of matching occurrences in the cache memory in association with a unique identifier of the given content item, wherein the number of matching occurrences is multiplied by a weight factor that is based on a processing time of the content item to produce a weighted number of matching occurrences; and delete from the cache memory the unique identifier of the given content item if the weighted number of matching occurrences during a predefined duration is lower than a predefined threshold; wherein the network analytics system produces analytics outcomes based on an analytics rule, and comprising, upon changing the analytics rule, updating cached analytics outcomes for the content items for which the analytics rule was applied.
-
Specification