Whilst strict ASN.1 [1] decoders exist, often the larger problem is that the data to be decoded is not delivered in a ‘pure’ ASN.1 format. Often additional records, such as headers and footers, are wrapped around the ASN.1 content making the file impossible to process with straight ASN.1 decoders.
For example, an Ericsson AXEGSM file’s records might include ‘FD – file descriptor’ (marking a file’s start), ‘LD – logical descriptor’ (marking CDR records from the same network element), ASN.1 formatted call details, ‘LT – logical terminator’ (making the end of an LD block of calls), and ‘FT – file trailer’ (marking the end of a file and its related control information).
FD File Header Record
LD Header Record
ASN.1 record (binary format #1)
ASN.1 record (binary format #2)
LT End Record
LD Header Record
ASN.1 record (binary format #2)
ASN.1 record (binary format #3)
LT End Record
FT File Trailer Record
Software that might process a regular non-ASN.1 file cannot tackle the file’s ASN.1 data, and ASN.1 decoders can’t address the additional (header/trailer) records spread within the file since they are not formatted in an ASN.1 layout. As an additional complication, these files may be compressed using zip and gzip to save disk storage and transmission times.
Tools such as CR-X can natively read such mixed-format files, identifying and separating out non-ASN.1 records and making use of any business data the records contain such as sequence numbers, data sources and file identifiers. The embedded ASN.1 records can be assessed and selectively passed to the ASN.1 decoder [2] for transformation into a contemporary format (e.g. CSV or fixed field-width records). Some ASN.1 records included in the source file may not be relevant for the processing context and can be omitted from processing before incurring a decoding effort penalty.
Once processed into a contemporary format, powerful data manipulation engines such as CR-X can be used to implement business rules against the ASN.1 and related data, generating records appropriate for immediate use within processing, or subsequent transmission to a downstream application for additional business use.
Please contact us for more information on how CR-X can be used to implement business rules against the ASN.1.
Additional Resources
[1] http://en.wikipedia.org/wiki/Abstract_Syntax_Notation_One
[2] CR-X Blog on ‘ASN.1 Integration‘



