×

Encoding/decoding while allowing varying message formats per message

  • US 8,145,794 B2
  • Filed: 03/14/2008
  • Issued: 03/27/2012
  • Est. Priority Date: 03/14/2008
  • Status: Active Grant
First Claim
Patent Images

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 all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×