Patent ID: 7694287
Filing Date: 2010-04-06
Classification: G06Q,H04L

Abstract:
1. A method for parsing messages into a common canonical internal message format, comprising: receiving a message comprising a plurality of fields; storing a number of bytes of the received message as an offset; providing a plurality of handlers, each handler being code for parsing at least one of said fields using grammar for said field, each said handler being separately compiled; determining one or more schemas for the fields of the message, each schema pointing to one of said handlers and containing a grammar definition for one or more fields; translating the one or more fields of the message into said common canonical internal message format using said handlers, wherein said common canonical internal message format comprises a hierarchical structure of possible fields, and wherein said parsing is only done for the one or more fields in said message, and only corresponding fields in said common canonical internal message format are populated; and decrementing the offset as said handlers are used, wherein the translation is complete when the decremented offset equals a defined value.