Message translation and parsing of data structures in a distributed component architecture
First Claim
1. A method for writing data into a message structure, comprising:
- receiving an inbound message having one or more delimiters;
determining whether a modifier list is to be used when parsing the inbound message into a message structure;
if a modifier list is to be used, parsing the message into the inbound message structure, wherein the inbound message structure is defined by one or more elements in the modifier list; and
if a modifier list is not to be used, parsing the message into the inbound message structure, wherein the inbound message structure is defined with default definitions for the one or more delimiters.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention is related to systems and methods that parse and/or translate inbound messages into outbound messages such that disparate computer systems can communicate intelligibly. In one embodiment, a system recursively parses the inbound message such that relatively fewer outbound message structure definitions are required and advantageously decreases the usage of resources by the system. Further, one system in accordance with the present invention allows an operator to configure the identity of a delimiter in the inbound message. The delimiter can span multiple characters and includes the logical inverse of a set of delimiters. The outbound message can be accessed at nodes within a hierarchy, as well as at leaves. Thus, a user need not know the precise location of data within the outbound message. A set of updating rules further permits the updating of an outbound message without having to re-parse an entire inbound message.
53 Citations
39 Claims
-
1. A method for writing data into a message structure, comprising:
-
receiving an inbound message having one or more delimiters;
determining whether a modifier list is to be used when parsing the inbound message into a message structure;
if a modifier list is to be used, parsing the message into the inbound message structure, wherein the inbound message structure is defined by one or more elements in the modifier list; and
if a modifier list is not to be used, parsing the message into the inbound message structure, wherein the inbound message structure is defined with default definitions for the one or more delimiters. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 22, 23)
-
-
9. A method for writing data in an inbound message to an outbound message structure, comprising:
-
receiving an inbound message having delimiters, where the delimiters are described in an event definition;
determining whether for a field in the event definition the delimiters correspond to elements in a modifier list;
parsing the inbound message to an inbound message structure, including parsing with the one or more elements of the modifier list for the determined field and using a default definition for a node in the inbound message structure otherwise, wherein parsing the inbound message defines the inbound message structure; and
mapping the inbound message structure to an outbound message structure.
-
-
10. An apparatus for storing a message, comprising:
-
a memory for storing a message structure, the message structure having a hierarchical format, including;
one or more leaves, wherein each leaf stores child data; and
one or more nodes, wherein each leaf is connected to a node and is a child of the node;
wherein each node is configured to store the child data. - View Dependent Claims (11, 12)
-
-
13. A method of parsing a message, comprising:
-
receiving an inbound message having data;
retrieving an event definition adapted to define a method of parsing the inbound message; and
parsing the inbound message according to the event definition, the parsing including parsing the data to a hierarchical message structure having nodes and leaves, each leaf corresponding to a node, the parsing including parsing the data of the inbound message to each node and at least a portion of the data in each node to a leaf associated with the node, such that the data in a leaf is also in an associated node. - View Dependent Claims (14, 15)
-
-
16. A method for updating a message structure, comprising:
-
receiving a message having updated content;
relating the message with a message structure storing data;
parsing at least a portion of the message to the message structure such that the updated content is parsed to the message structure and replaces data stored in the data structure, wherein the updated content is parsed to one or more child fields in the data structure; and
indicating that contents of a parent field corresponding to the one or more child fields storing the updated content are invalid. - View Dependent Claims (17)
-
-
18. A method of mapping a message from a first format to a second format, comprising:
-
receiving an event definition having a description of a first delimiter and a second delimiter, the second delimiter indicating a repeating message substructure;
receiving a message, wherein the message has the first delimiter and the second delimiter; and
parsing the message according to the event definition, such that data from the message is stored in leaves and nodes of a message structure, the step of parsing including;
determining a field in the inbound message as a string of characters ending with a delimiter;
determining whether the delimiter is a first delimiter or a second delimiter;
if the delimiter is a first delimiter, storing data in a leaf; and
if the delimiter is a second delimiter, appending the repeating message substructure to the message structure. - View Dependent Claims (19, 20)
-
-
21. A computer program product stored on a computer readable medium for writing data into a message structure, the computer program product including instructions operable to cause a processor to:
-
receive an inbound message having one or more delimiters;
determine whether a modifier list is to be used when parsing the inbound message into a message structure;
if a modifier list is to be used, parse the message into the inbound message structure, wherein the inbound message structure is defined by one or more elements in the modifier list; and
if a modifier list is not to be used, parse the message into the inbound message structure, wherein the inbound message structure is defined with default definitions for the one or more delimiters. - View Dependent Claims (24, 25, 26, 27, 28)
-
-
29. A computer program product stored on a computer readable medium for writing data in an inbound message to an outbound message structure, the computer program product including instructions operable to cause a processor to:
-
receive an inbound message having delimiters, where the delimiters are described in an event definition;
determine whether for a field in the event definition the delimiters correspond to elements in a modifier list;
parse the inbound message to an inbound message structure, including parsing with the one or more elements of the modifier list for the determined field and using a default definition for a node in the inbound message structure otherwise, wherein parsing the inbound message defines the inbound message structure; and
map the inbound message structure to an outbound message structure.
-
-
30. A computer program product stored on a computer readable medium for parsing a message, the computer program product including instructions operable to cause a processor to:
-
receive an inbound message having data;
retrieve an event definition adapted to define a method of parsing the inbound message; and
parse the inbound message according to the event definition, the parsing including parsing the data to a hierarchical message structure having nodes and leaves, each leaf corresponding to a node, the parsing including parsing the data of the inbound message to each node and at least a portion of the data in each node to a leaf associated with the node, such that the data in a leaf is also in an associated node. - View Dependent Claims (31, 32)
-
-
33. A computer program product stored on a computer readable medium for updating a message structure, the computer program product including instructions operable to cause a processor to:
-
receive a message having updated content;
relate the message with a message structure storing data;
parse at least a portion of the message to the message structure such that the updated content is parsed to the message structure and replaces data stored in the data structure, wherein the updated content is parsed to one or more child fields in the data structure; and
indicate that contents of a parent field correspond to the one or more child fields storing the updated content are invalid. - View Dependent Claims (34)
-
-
35. A computer program product stored on a computer readable medium for mapping a message from a first format to a second format, the computer program product including instructions operable to cause a processor to:
-
receive an event definition having a description of a first delimiter and a second delimiter, the second delimiter indicating a repeating message substructure;
receive a message, wherein the message has the first delimiter and the second delimiter; and
parse the message according to the event definition, such that data from the message is stored in leaves and nodes of a message structure, the step of parsing including;
determine a field in the inbound message as a string of characters ending with a delimiter;
determine whether the delimiter is a first delimiter or a second delimiter;
if the delimiter is a first delimiter, store data in a leaf; and
if the delimiter is a second delimiter, append the repeating message substructure to the message structure. - View Dependent Claims (36, 37)
-
-
38. A system for writing data into a message structure, comprising:
-
an inbound message structure database for storing inbound message structures;
a parsing module to receive the inbound message structure and an inbound message having one or more delimiters, wherein the parsing module is configured to determine whether a modifier list is to be used when parsing the inbound message into the message structure, if a modifier list is to be used, the parsing module parses the message into the inbound message structure, wherein the inbound message structure is defined by one or more elements in the modifier list, and if a modifier list is not to be used, the parsing module parses the message into the inbound message structure, wherein the inbound message structure is defined with default definitions for the one or more delimiters; and
a memory to store the inbound message structure having content from the inbound message.
-
-
39. A system for storing a message, comprising:
-
a memory for storing a message structure, the message structure having a hierarchical format, including;
one or more leaves, wherein each leaf stores child data; and
one or more nodes, wherein each leaf is connected to a node and is a child of the node;
wherein each node is configured to store the child data; and
a parsing module for parsing content from a message into the message structure.
-
Specification