CPC H04Q 9/00 (2013.01) [G01N 35/00871 (2013.01); G01N 2035/00881 (2013.01); G01N 2035/009 (2013.01); H04Q 2209/823 (2013.01)] | 20 Claims |
1. A network device for interpreting a first data stream, the network device comprising:
a network interface configured to receive captured data streams including the first data stream, the captured data streams sent between an instrument and a controlling device for the instrument;
memory coupled to the network interface, the memory configured to store the captured data streams; and
a processor configured to:
receive the first data stream sent by the instrument to the controlling device; and
identify data frames in the first data stream using a first process thread by:
searching for a first instance of a bit pattern in the first data stream, the first instance indicative of a relative location of a first presumed data frame;
predict a location of a second presumed data frame in the first data stream based at least partly on the relative location to the first presumed data frame;
determining whether a second instance of the bit pattern exists at the predicted location in the second presumed data frame;
in response to identifying the second instance of the bit pattern at the predicted location, increasing a count of the bit pattern and continue scanning for the bit pattern at predicted locations in presumed data frames until a threshold for the count is reached; and
in response to the threshold for the count being reached, identify the first presumed data frame and the second presumed data frame as actual identified data frames.
|