摘要 |
A local device obtains at least one instruction for execution by a remote device (e.g., instructions to render a game screen of a video game). A packet representing the at least one instruction is created, and released towards the remote device. Creation of the packet involves consulting a packet dictionary to determine whether a packet index has already been assigned to the at least one instruction. If this is the case, the packet is formulated so that it contains the packet index; otherwise, the packet is formulated to include a function identifier and a set of parameters, which are associated with the at least one instruction. Since fewer bits are needed to encode the packet index than to encode the function identifier and the set of parameters, transmitted packets can be condensed when they represent at least one instruction for which a packet had previously been transmitted. |