Patent ID: 8171167

Claim:
A method for caching and forwarding a multimedia message, comprising: employing at least one hardware processor for: forwarding a multimedia message, comprising a message body having one or more media parts, to a destination device, comprising: (1) determining a transcoding profile corresponding to capabilities of the destination device; (2) provided the message body matches a cached message body and the transcoding profile matches a cached transcoding profile: (3) retrieving the cached message body; and (4) forwarding the multimedia message comprising the retrieved cached message body to the destination device; otherwise: (5) processing said one or more media parts of the message body, comprising: (6) retrieving available cached media files transcoded from respective source media files, which individually correspond to those said one or more media parts, and for which associated cached transcoding profiles match said transcoding profile; (7) retrieving available cached source media files, corresponding to those individual said one or more media parts for which cached media files are available but for which associated cached transcoding profiles do not match said transcoding profile; (8) transcoding the retrieved cached source media files into corresponding adapted media files in accordance with said transcoding profile; (9) transcoding remaining said one or more media parts, for which corresponding cached media files or cached source media files have not been found in the steps (6) and (7), into corresponding adapted media files in accordance with said transcoding profile; (10) forming an adapted multimedia message comprising an adapted message body having the retrieved cached available media files from the step (6), the adapted media files from the steps (8) and (9); and (11) forwarding the adapted multimedia message to the destination device.