The invention provides an instruction synchronization method and device,
electronic equipment and a storage medium, and the method comprises the steps: obtaining an instruction type, distribution object identifiers and an
instruction sequence of an initial original instruction, and if the same distribution
object identifier has the initial original instruction with the opposite instruction type, executing the instruction synchronization; if yes, combining the initial original instructions with opposite instruction types based on the
instruction sequence to obtain a target original instruction, storing the target original instruction into a cache data sequence according to the
instruction sequence, generating a unique and progressive increasing sequence number for the target original instruction, and responding to a synchronization request of a to-be-synchronized
client to synchronize the to-be-synchronized
client. The synchronization sequence number of the to-be-synchronized
client is obtained, the target original instruction is pulled from the cache data sequence according to the synchronization sequence number, the synchronization data
list is obtained, the synchronization sequence number of the to-be-synchronized client is updated to be the maximum sequence number in the synchronization data
list, and the technical problems that
data synchronization delay is long and the data size is large are solved through the method.