Encoding/decoding while allowing varying message formats per message
First Claim
1. A method, implemented in a computing environment comprising at least one processor operatively coupled to a memory, for selectively encoding messages formatted with an internal format into a plurality of different external formats on a per-message basis, the method comprising:
- receiving a message formatted with an internal format at a composite encoder/decoder that comprises a plurality of constituent encoders and decoders, the encoders configured to encode messages from the internal format to a plurality of different external message formats on a per-message basis, wherein each of the plurality of constituent encoders encodes messages into at least one of the plurality of different external message formats, and wherein the internal format is processable by one or more internal system components;
consulting a per-message encoding/decoding report mechanism that includes encoding/decoding information that comprises selection of an appropriate external message format into which to encode the message as an outgoing message as well as selection of a decoding format corresponding to a response to the outgoing message, wherein the encoding information is written to the per-message encoding/decoding report mechanism by at least one of the one or more internal system components on a per-message basis;
selecting the appropriate external message format based on consulting the per-message encoding report mechanism and the encoding information, wherein selecting the appropriate external message format comprises using a content type corresponding to the message;
selecting an appropriate encoder from among the plurality of constituent encoders based on selecting the appropriate external message format, wherein the appropriate encoder encodes messages into the appropriate external message format; and
encoding the message into the outgoing message with the appropriate encoder, such that the outgoing message is formatted with the external message format.
2 Assignments
0 Petitions
Accused Products
Abstract
Encoding and/or decoding of messages. On the encoding end, a composite encoder encodes message from an internal format that is used by internal system components into an external format. However, the composite encoder may encode the outgoing messages into different external formats on a per-message basis. For incoming message, a composite decoder decodes incoming messages from any one of a plurality of external formats into the internal format also on a per-message basis. A per-message report mechanism permits internal system components and the encoding/decoding components to communicate information regarding the encoding or decoding on a per message basis. This permits a higher level of collaboration and complexity in the encoding and decoding process.
55 Citations
19 Claims
-
1. A method, implemented in a computing environment comprising at least one processor operatively coupled to a memory, for selectively encoding messages formatted with an internal format into a plurality of different external formats on a per-message basis, the method comprising:
-
receiving a message formatted with an internal format at a composite encoder/decoder that comprises a plurality of constituent encoders and decoders, the encoders configured to encode messages from the internal format to a plurality of different external message formats on a per-message basis, wherein each of the plurality of constituent encoders encodes messages into at least one of the plurality of different external message formats, and wherein the internal format is processable by one or more internal system components; consulting a per-message encoding/decoding report mechanism that includes encoding/decoding information that comprises selection of an appropriate external message format into which to encode the message as an outgoing message as well as selection of a decoding format corresponding to a response to the outgoing message, wherein the encoding information is written to the per-message encoding/decoding report mechanism by at least one of the one or more internal system components on a per-message basis; selecting the appropriate external message format based on consulting the per-message encoding report mechanism and the encoding information, wherein selecting the appropriate external message format comprises using a content type corresponding to the message; selecting an appropriate encoder from among the plurality of constituent encoders based on selecting the appropriate external message format, wherein the appropriate encoder encodes messages into the appropriate external message format; and encoding the message into the outgoing message with the appropriate encoder, such that the outgoing message is formatted with the external message format. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method, implemented within a computing environment comprising at least one processor operatively coupled to a memory, a computer-implemented method for selectively decoding messages formatted with a plurality of different external formats into an internal format on a per-message basis, the method comprising:
-
receiving an incoming message at a composite encoder/decoder, wherein the incoming message is received as a response to an outgoing message previously encoded by the composite encoder/decoder and is formatted with a particular external format selected from a plurality of different external formats, wherein the composite encoder/decoder comprises a plurality of constituent encoders and decoders, the decoders configured to decode messages from any one of the plurality of different external formats into an internal format on a per-message basis, wherein each of the plurality of constituent decoders decodes messages from at least one of the plurality of different external formats, and wherein the internal format is processable by one or more internal system components; consulting a per-message encoding/decoding report mechanism that includes encoding/decoding information that relates to the selection of an appropriate decoder with which to decode the incoming message including selection of a decoding format corresponding to the incoming message, the decoding information having been previously written to the per-message report mechanism by an internal system component in connection with the outgoing message, and wherein the composite encoder/decoder is capable of writing information regarding the decoding to the per-message encoding/decoding report mechanism that is readable by at least one of the one or more internal system components; selecting an appropriate decoder from among the plurality of constituent decoders based on consulting the per-message encoding report mechanism, including the selection of the decoding format corresponding to the incoming message, wherein the appropriate decoder decodes messages from the particular external format into the internal format; decoding the incoming message into a corresponding internal message formatted with the internal format, using the appropriate decoder; and writing information identifying the particular external format of the internal message to the encoding/decoding information, and which is used by at least one of the one or more internal system components to perform format-specific processing of the decoded message. - View Dependent Claims (12, 13, 14, 15, 18, 19)
-
-
16. One or more computer storage devices having stored thereon computer-executable instructions that, when executed by at least one processor of a computing system, causes the computing system to implement a method, comprising:
-
the computing system receiving a message formatted with an internal format at a composite encoder/decoder that comprises a plurality of constituent encoders and decoders, the encoders configured to encode messages from the internal format to a plurality of different external message formats on a per-message basis, wherein each of the plurality of constituent encoders encodes messages into at least one of the plurality of different external message formats, and wherein the internal format is processable by one or more internal system components, the computing system including one or more processors; the computing system consulting a per-message encoding/decoding report mechanism that includes encoding/decoding information that comprises specification of an appropriate external message format into which to encode the message as an outgoing message as well as specification of a decoding format corresponding to a response to the outgoing message, wherein the encoding information is written to the per-message encoding/decoding report mechanism by at least one of the one or more internal system components on a per-message basis; the computing system selecting the appropriate external message format based on consulting the per-message encoding report mechanism and the encoding information, wherein selecting the appropriate external message format comprises using a content type corresponding to the message; the computing system selecting an appropriate encoder from among the plurality of constituent encoders based on selecting the appropriate external message format, wherein the appropriate encoder encodes messages into the appropriate external message format; and the computing system encoding the message into the outgoing message with the appropriate encoder, such that the outgoing message is formatted with the external message format.
-
-
17. One or more computer storage devices having stored thereon computer-executable instructions that, when executed by at least one processor of a computing system, causes the computing system to implement a method, comprising:
-
the computing system receiving an incoming message at a composite encoder/decoder, wherein the incoming message is received as a response to an outgoing message previously encoded by the composite encoder/decoder and is formatted with a particular external format selected from a plurality of different external formats, wherein the composite encoder/decoder comprises a plurality of constituent encoders and decoders, the decoders configured to decode messages from any one of the plurality of different external formats into an internal format on a per-message basis, wherein each of the plurality of constituent decoders decodes messages from at least one of the plurality of different external formats, and wherein the internal format is processable by one or more internal system components, the computing system including one or more processors; the computing system consulting a per-message encoding/decoding report mechanism that includes encoding/decoding information that relates to the specification of an appropriate decoder with which to decode the incoming message including specification of a decoding format corresponding to the incoming message, the decoding information having been previously written to the per-message report mechanism by an internal system component in connection with the outgoing message, and wherein the composite encoder/decoder is capable of writing information regarding the decoding to the per-message encoding/decoding report mechanism that is readable at least one of the one or more internal system components; the computing system selecting an appropriate decoder from among the plurality of constituent decoders based on consulting the per-message encoding report mechanism, including selection of the decoding format corresponding to the incoming message, wherein the appropriate decoder decodes messages from the particular external format into the internal format; the computing system decoding the incoming internal message into a corresponding message formatted with the internal format, using the appropriate decoder; and the computing system writing information identifying the particular external format of the internal message to the encoding/decoding information, and which is used by at least one of the one or more internal system components to perform format-specific processing of the decoded message.
-
Specification