Protocol Analyzer Event-Present Flags for Trace Search

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Protocol analyzers face significant delays in searching and analyzing trace data due to slow access and transfer rates of storage devices, especially when processing large traces, which can take minutes or hours, and traditional methods require post-capture processing that further slows down the analysis.

Innovation Solution

The method involves dividing trace data into pages with separate Event-Present Flags (EP Flags) indicating the occurrence of infrequent events, allowing only relevant pages to be searched, thereby reducing the number of pages that need to be examined, and storing these flags either separately or embedded with trace data to enhance search efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional protocol analyzers search through entire trace data, then complete analysis is achieved, but search time becomes very slow (minutes or hours)

Engineering Contradiction:
Improveanalysis completenessVSAvoidsearch time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The trace data is divided into multiple pages, with each page containing a subset of trace records. Event Present Flags are maintained for each page to indicate whether specific events occur in that page. This segmentation allows the analyzer to search only relevant pages instead of scanning the entire trace, significantly reducing search time while maintaining analysis completeness.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

During trace capture, Event Present Flags are pre-computed and stored for each page to indicate the presence of specific events. This preliminary action allows the analyzer to use these flags during search operations to quickly identify which pages need to be examined, eliminating the need to scan every page from scratch and reducing overall search time.

Inventive Principle:
Principle #10Preliminary action

2Speed

If hardware search engines are used, then search speed is improved, but they can only operate on trace data in the buffer and cannot help with saved traces

Engineering Contradiction:
Improvesearch speedVSAvoidtrace processing capability
Core Design Contradiction:
SpeedVSAdaptability or versatility

Solution Approach 1:

The trace data is copied to storage devices for saving, and the Event Present Flags are also saved alongside the trace data. This copying approach allows the analyzer to quickly locate and search only relevant pages using the saved flags, enabling fast search operations on saved traces without requiring special hardware search engines, thus achieving both speed and versatility.

Inventive Principle:
Principle #26Copying

3Speed

If post-capture information gathering is performed to speed up searches, then search performance is improved, but the process becomes very time consuming (minutes or hours)

Engineering Contradiction:
Improvesearch performanceVSAvoidpost-capture processing time
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

Event Present Flags are computed and stored during the trace capture process itself, rather than performing information gathering after capture completes. This preliminary action eliminates the need for time-consuming post-capture processing, as the flags are already ready to be used for rapid search operations on the trace data.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The trace analyzer continuously maintains Event Present Flags during the capture process, keeping the search optimization data ready and up-to-date. This continuous maintenance ensures that the flags are always available for immediate use in search operations, eliminating gaps and delays that would occur with batch post-capture processing.

Inventive Principle:
Principle #20Continuity of useful action

4Speed

If Event Present Flags are stored separately from trace data, then search efficiency is improved, but trace size increases

Engineering Contradiction:
Improvesearch efficiencyVSAvoidtrace size
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

Event Present Flags are stored locally with their corresponding trace pages, creating a localized structure where flags and trace data are together. This local quality approach allows efficient search operations by keeping related data close together, while the flags remain compact and proportional to the actual trace content, minimizing the overall size increase.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS8234524B1Protocol analysis with event present flags
Publication Date: 2012.07.31 ELLISYS GRP SA
  • US8234524B1 patent drawing
  • US8234524B1 patent drawing
  • US8234524B1 patent drawing

AI summary

The present invention discloses a method to record trace data in a way that significantly reduces the time required to search for specific events, to create an index, to create a histogram, or to analyze the protocol. During capture, the analyzer recognizes infrequent events and sets an Event-Present Flag (“EP Flag”) indicating that a specific event has occurred. The trace is divided into pages, with a separate set of Event-Present Flags for each page indicating whether an event occurred in that page of the trace. This division of a trace into separate pages results in significant efficiencies.