I feel my question is somewhat related to this, but I'm not sure how to do what I want.
I get transmissions of ~1000 bits at a time, which may be corrupted by noise. To try and infer data from partially corrupted data, I wish to try and correlate the sequence with expected patterns.
For instance I expect to find a certain subsequence in the stream, followed by a known amount of bits which hold no known structure, and then another set of expected bits. To illustrate:
1010111---n bits unexpected structure - 111000111
In the above, the two specific sequences are expected, and sometimes even the amount of unknown bits in between (n) is apriori known.
The above example is uncorrupted, but if one several bits flip, I wish to scan the stream and look for the best matching pattern.
I already built "masks" of expected patterns and I need to somehow correlate the received data against them, but I'm new to the subject and I'm not sure how to continue from here.
Since I'm new to the subject any: suggestions, references, or proposed schemes will be appreciated.