Packet Capture Buffer Control With Periodic Discarding
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional packet capture devices experience data loss due to buffer overflow when the packet input rate exceeds the capture rate, leading to continuous discarding of packets, and the required buffer capacity becomes excessively large to manage the difference between input and processing speeds in high-speed networks.
Innovation Solution
A packet capture device with an output adjustment unit that decides whether to store or discard packets based on measurement intervals, using thresholds to manage packet amounts, thereby preventing continuous discarding without increasing circuit scale.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a sufficient amount of buffers is prepared to avoid continuous discarding of packets, then packet data loss is prevented, but the circuit scale becomes large
Solution Approach 1:
The patent implements periodic packet discarding at predetermined measurement intervals rather than continuous discarding. The output adjustment unit periodically checks the packet amount accumulated in the buffer and decides whether to output packets to the storage unit based on measurement results, creating a periodic action that prevents buffer overflow without requiring enormous buffer capacity
Solution Approach 2:
The patent introduces dynamic packet amount adjustment through the output adjustment unit that operates at predetermined measurement intervals. The system dynamically decides whether to output packets based on real-time measurement of packet accumulation, allowing the buffer to be emptied periodically rather than continuously, thus preventing data loss without expanding circuit scale
2Reliability
If the buffer capacity is increased to manage the difference between input rate and processing speed, then continuous discarding is prevented, but the circuit scale increases
Solution Approach 1:
Instead of requiring a continuously large buffer to handle peak input rates, the patent uses periodic measurement and discarding at predetermined intervals. This allows a smaller buffer to be used while preventing continuous discarding through periodic emptying operations controlled by the output adjustment unit
Solution Approach 2:
The system performs preliminary measurement of packet amounts at predetermined measurement intervals before making discarding decisions. This preliminary action allows the system to proactively manage buffer contents and prevent overflow without needing excessively large buffer capacity
Data Source
AI summary
A packet capture device a packet analysis unit that analyzes an input packet; a flow identification unit that identifies a flow as a capture target; an output adjustment unit that adjusts a packet amount of the flow as the capture target to be output to a storage unit; a buffer unit that temporarily accumulates a packet of the flow as the capture target; and the storage unit that stores the packet of the flow as the capture target, in which the output adjustment unit is configured to decide whether to output the packet of the flow as the capture target to the storage unit for each predetermined measurement interval on the basis of a measurement result of the packet amount of the capture target in a predetermined measurement interval, and discard the packet not to be output to the storage unit.


