Schema-based dynamic parse/build engine for parsing multi-format messages
First Claim
1. A method, performed by a processor, for building an output message from a common internal message format object, the method comprising:
- determining a schema for the output message, the output message comprising a plurality of fields;
retrieving a plurality of handlers based on said schema, each handler being code for building at least one field of said plurality of fields of the output message from said common internal message format object, each of said handlers being separately compiled; and
translating said common internal message format object into said output message using said handlers.
0 Assignments
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.
-
Citations
24 Claims
-
1. A method, performed by a processor, for building an output message from a common internal message format object, the method comprising:
-
determining a schema for the output message, the output message comprising a plurality of fields; retrieving a plurality of handlers based on said schema, each handler being code for building at least one field of said plurality of fields of the output message from said common internal message format object, each of said handlers being separately compiled; and translating said common internal message format object into said output message using said handlers. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. An engine configured to build messages, the engine having executable instructions stored in a non-transitory computer readable medium and further comprising:
-
a plurality of handlers stored in a handler table, each handler being code for building at least one field of an output message using grammar for said at least one field, each of said handlers being separately compiled; a plurality of schemas stored in a schema table for different types of output messages, each schema in the schema table pointing to at least one of said handlers stored in the handler table and containing a grammar definition for one or more fields of the output message; and code for a common internal message format object, said handlers being configured to populate the output message with fields from the common internal message format object. - View Dependent Claims (17, 18, 19)
-
-
20. An apparatus for building an output message from a common internal message format object, comprising:
-
a processor; and a memory coupled to said processor, said memory comprising instructions that when executed by said processor cause the processor to; determine a schema for the output message, the output message comprising a plurality of fields; retrieve a plurality of handlers based on said schema, each handler being code for building at least one field of said plurality of fields of the output message from said common internal message format object, each of said handlers being separately compiled; and translate said common internal message format object into said output message using said handlers. - View Dependent Claims (21, 22, 23, 24)
-
Specification