Our consultants were offering the expertise in parsing the binary files. This is a challenging activity and the most important part of the project. The problem was solved by analyzing multiple binary files and by checking each byte of the file. Our consultants created Binary Templates to parse the binary files into a data structure. Instead of scanning through a series of hex bytes as with traditional hex editors, Templates allow data to be understood and edited in a much more powerful and intuitive way. Template is executed as a program, starting from the first line of the file. Whenever a variable is declared, that variable is mapped to a set of bytes in a file. Data from that file can then be read from or written to by accessing the created variable.
Then the parsed Binary files are stored in the database for future use. The data can be retrieved by querying the database through stored procedures. Log files and text files are created as output files. In case of any errors found during parsing an e-mail notification is triggered automatically. The database is updated and managed automatically by the tool itself enabling the tool to offer robust reporting capability and storage capability. It also keeps in track of each parsed package and is mapped into the log file for future reference.
|