Message parser runtime choices
First Claim
1. A system for parsing a message against a message model, the message model comprising a choice block of element options and a guide field for guiding the parse, the system comprising:
- a processor, a computer readable memory, and a computer readable storage medium associated with a computer device;
program instructions to parse a message against a message model until a choice block of element options and an associated guide field is located in the message model;
program instructions to determine element options associated with a particular guide field value located in the message, each element option having an associated frequency of occurrence in terms of the number of times the element option has previously occurred within a body of messages;
program instructions to choose the most frequently occurring element option for the located guide field value;
program instructions to further parse the choice block of element options against the chosen element option;
program instructions to update the associated frequency of occurrence for a successfully parsed element option;
program instructions to remove the chosen element option from consideration when it is not successfully parsed against the message;
program instructions to choose the next most frequently occurring element option for that guide field value for further parsing; and
program instructions to update the associated frequency of occurrence for an unsuccessfully parsed element option,wherein the associated guide field value is a value in a range of associated guide field values,wherein the determining of the element options associated with a particular guide field value located in the message includes looking up element options in a guide field element option table, andwherein the program instructions are stored on the computer readable storage medium for execution by the processor via the computer readable memory.
1 Assignment
0 Petitions
Accused Products
Abstract
This invention relates to a system, method and computer program product for parsing a message against a message model, the message model including a choice block of element options and guide field for guiding the parse, the method including: parsing a message against a message model until the choice block of element options and associated guide field is located in the message model; determining element options associated with a particular guide field value located in the message, each element option having an associated frequency of occurring within a body of messages; choosing the most frequently occurring element option for the located guide field value; and further parsing the choice block of element options against the chosen element option.
28 Citations
12 Claims
-
1. A system for parsing a message against a message model, the message model comprising a choice block of element options and a guide field for guiding the parse, the system comprising:
-
a processor, a computer readable memory, and a computer readable storage medium associated with a computer device; program instructions to parse a message against a message model until a choice block of element options and an associated guide field is located in the message model; program instructions to determine element options associated with a particular guide field value located in the message, each element option having an associated frequency of occurrence in terms of the number of times the element option has previously occurred within a body of messages; program instructions to choose the most frequently occurring element option for the located guide field value; program instructions to further parse the choice block of element options against the chosen element option; program instructions to update the associated frequency of occurrence for a successfully parsed element option; program instructions to remove the chosen element option from consideration when it is not successfully parsed against the message; program instructions to choose the next most frequently occurring element option for that guide field value for further parsing; and program instructions to update the associated frequency of occurrence for an unsuccessfully parsed element option, wherein the associated guide field value is a value in a range of associated guide field values, wherein the determining of the element options associated with a particular guide field value located in the message includes looking up element options in a guide field element option table, and wherein the program instructions are stored on the computer readable storage medium for execution by the processor via the computer readable memory. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method for parsing a message against a message model, the message model comprising a choice block of element options and guide field for guiding the parse, the method comprising:
-
parsing, by a computer device, a message against a message model until the a choice block of element options and an associated guide field is located in the message model; determining, by the computer device, element options associated with a particular guide field value located in the message, each element option having an associated frequency of occurrence in terms of the number of times the element option has previously occurred within a body of messages; choosing, by the computer device, the most frequently occurring element option for the located guide field value; further parsing, by the computer device, the choice block of element options against the chosen element option; updating the associated frequency of occurrence for a successfully parsed element option; removing the chosen element option from consideration when it is not successfully parsed against the message; choosing the next most frequently occurring element option for that guide field value for further parsing; and updating the associated frequency of occurrence for an unsuccessfully parsed element option, wherein the associated guide field value is a value in a range of associated guide field values, and wherein the determining of the element options associated with a particular guide field value located in the message includes looking up element options in a guide field element option table. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A computer program product for parsing a message against a message model, the message model comprising a choice block of element options and guide field for guiding the parse, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
-
parse a message against a message model until a choice block of element options and an associated guide field is located in the message model; determine element options associated with a particular guide field value located in the message, each element option having an associated frequency of occurrence in terms of the number of times the element option has previously occurred within a body of messages; choose the most frequently occurring element option for the located guide field value; further parse the choice block of element options against the chosen element option; update the associated frequency of occurrence for a successfully parsed element option; remove the chosen element option from consideration when it is not successfully parsed against the message; choose the next most frequently occurring element option for that guide field value for further parsing; and update the associated frequency of occurrence for an unsuccessfully parsed element option, wherein the associated guide field value is a value in a range of associated guide field values, and wherein the determining of the element options associated with a particular guide field value located in the message includes looking up element options in a guide field element option table.
-
Specification