CPC H04L 41/16 (2013.01) [H04L 45/74 (2013.01); H04L 47/28 (2013.01)] | 12 Claims |
1. A latency reduction system for network communication including a first external device, a second external device, a first communication device, and a second communication device, wherein:
the first communication device includes a first processor and a first memory storing first instructions executable by the first processor to:
store a prediction table in which a plurality of third commands including a plurality of destination addresses and a plurality of instructions are arranged in order of probability that the first external device will transmit them to the first communication device;
receive a first command input from the first external device that includes a first destination address and a first instruction content;
compare first bits of the first command with first bits of the plurality of third commands, starting with the third command having a highest transmission probability to determine a matching third command;
specify the matching third command as a second command including a second destination address and a second instruction content;
determine whether the first command and the second command match;
send a determination result as to whether the first command and the second command match to the second communication device;
determine whether execution of the second command changes information held by a register associated with the second destination address;
if the information changes, create first flag information indicating that the second command needs wait for transmission to the second communication device;
if the information does not change, create the first flag information indicating that the second command does not need to wait for transmission to the second communication device;
accordingly send the second command and the first flag information to the second communication device;
the second communication device includes a second processor and a second memory storing second instructions executable by the second processor to:
when the first flag information indicates that waiting is not required, transmit the second command to the second external device; and
when the first flag information indicates that waiting is required, temporarily stop transmitting the second command to the second external device.
|