摘要 |
Messages containing non-dictionary and dictionary data objects are quickly exchanged between sending and receiving devices. Data stores of the devices contain a common dictionary cross-referencing each of multiple data objects with a different dictionary index code. Data objects in the dictionary are likely to be frequently exchanged. Prior to transmission of data objects, the sending device searches its dictionary for each data object. Each data object may include text, graphics, program segments, or another type of data object. If the data object appears in the dictionary, the sending device obtains its dictionary index code. Next, the sending device transmits a message representing the data objects to the receiving device. The message includes multiple subparts each corresponding to a different data object. If a data object is not present in the dictionary, its subpart comprises the content of the data object without any dictionary encoding. If a data object is represented in the dictionary, its subpart comprises the data object's index code from the dictionary. Flags included in the message distinguish between dictionary and non-dictionary subparts. The receiving device interprets received messages, reviewing flags in the message to determine which subparts comprise dictionary index codes. Each index code is cross-referenced in the receiving device's dictionary to obtain the unencoded data object, which is provided as an output. Each non-dictionary data object is provided as an output directly.
|