Patent Document ID: 6154156
Application ID: 09264188

Base Claim:
1. A message processing device for sending and receiving a message composed of one or more elements between different kinds of devices, comprising: parse tree holding means having a function of holding a parse tree generated from syntax descriptions defining structure of a message sent or received; parse tree scanning means connected to said parse tree holding means and having a function of, as message data to be processed is applied, scanning said parse tree to encode and decode a value and outputting encoded and decoded values; preamble processing means connected to said parse tree scanning means and having a function of processing a preamble field of a message for use in indicating whether an element exists or not in message data sent or received; and index processing means connected to said parse tree scanning means and having a function of processing an index field of a message for use in indicating what number of element is selected in message data whose one of a plurality of elements is selected to be sent or received.

---

Claim 10:
10. The message processing device as set forth in claim 1, wherein in the encoding of a message, when message data is applied, examination is made whether a node of the parse tree being currently scanned is a node corresponding to a selected element and when the node is not the corresponding node, said index processing means adds 1 to a current index value and said parse tree scanning means scans the subsequent node of the parse tree to again return to the examination whether the node being scanned corresponds to the selected element, and when the node is the corresponding node, said index processing means encodes the current index value and said parse tree scanning means encodes the element in question to output the encoding results of the index value and the element in question linked together.