SCHEMA-BASED DYNAMIC PARSE/BUILD ENGINE FOR PARSING MULTI-FORMAT MESSAGES
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.
95 Citations
34 Claims
-
1-14. -14. (canceled)
-
15. A method for building an output message from an internal message format object, 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 from said internal message format object; and translating said internal message format object into said output message using said handlers. - View Dependent Claims (16, 17, 18, 19, 21, 22, 23, 24)
-
-
25. A non-transitory computer readable storage medium comprising instructions for an engine configured to build messages, the engine comprising:
-
a plurality of handlers, 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; and a plurality of schemas for different types of output messages, each schema pointing to at least one of said handlers and containing a grammar definition for one or more fields of the output message. - View Dependent Claims (26, 27, 28, 29)
-
-
30. An apparatus for building an output message from an 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 from said internal message format object; and translate said internal message format object into said output message using said handlers. - View Dependent Claims (31, 32, 33, 34)
-
Specification