Abstract:
One embodiment of the present invention provides a system for facilitating cost-optimized mobile messaging. During operation, the system receives an encoded text message at a mobile device. Next, the system replaces a sub-string in the encoded text message with a corresponding sub-string from a data-dictionary to create a decoded text message. Finally, the system displays the decoded text message on the mobile device. Note that this helps to reduce costs since small sub-strings in the encoded text message can be replaced with large sub-strings in the decoded text message, thereby allowing a larger message to be sent via the SMS protocol without sending as many characters.