Schema-based dynamic parse/build engine for parsing multi-format messages
First Claim
1. A method for parsing messages into an internal message format, comprising:
- receiving a message comprising a plurality of fields;
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; and
translating the one or more fields of the message into said internal message format using said handlers.
1 Assignment
0 Petitions
Accused Products
Abstract
A parse/build engine that can handle multi-format financial messages. The engine converts the different format messages into a common format, and the common format message is then processed by the business service application. A parser examines the message and determines an appropriate schema for the particular format of message received. The schema is a data structure in a schema registry that includes a grammar structure for the received format as well as pointers to handlers for converting the different fields of the message into the internal message format using the grammar structure (the “grammar” can include field sequence, field type, length, character encoding, optional and required fields, etc.). The handlers are individually compiled. As formats change, new formats or changes to old formats can be dynamically added to the parse/build engine by loading new schema and handlers.
212 Citations
14 Claims
-
1. A method for parsing messages into an internal message format, comprising:
-
receiving a message comprising a plurality of fields;
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; and
translating the one or more fields of the message into said internal message format using said handlers. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An engine configured to parse/build messages, the engine comprising:
-
a plurality of handlers, each handler being code for parsing at least one of the fields of a received message using grammar for said field, each said handler being separately compiled; and
a plurality of schemas for different types of messages, each schema pointing to one of said handlers and containing a grammar definition for one or more fields of a message. - View Dependent Claims (12, 13, 14)
-
Specification