×

Schema-based dynamic parse/build engine for parsing multi-format messages

  • US 7,694,287 B2
  • Filed: 06/29/2005
  • Issued: 04/06/2010
  • Est. Priority Date: 06/29/2005
  • Status: Active Grant
First Claim
Patent Images

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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×