The invention discloses an order preserving method and device,
electronic equipment and a storage medium, and belongs to the technical field of computers. The method comprises the steps that transaction layer packets are received, corresponding
authorization indication signals are generated, the
authorization indication signals are used for representing the receiving
time sequence of the corresponding transaction layer packets, the transaction layer packets are divided into first-class packets and second-class packets, the first-class packets are used for achieving one-way data issuing, and the second-class packets are used for achieving two-way data interaction; based on the
authorization indication
signal of each
transaction layer packet, recording the number of preposed first-class packets associated with each second-class packet, the authorization indication
signal of the preposed first-class packet being generated before the second-class packet; and for the processed second type of packets, when the number of the preposed first type of packets associated with the second type of packets is zero, sending the second type of packets. According to the scheme, the number of the front packets is counted by adopting the authorization indication
signal, and the order preservation is realized according to the judgment on whether the number of the front packets returns to zero or not, so that additional parameters do not need to be processed along with a pipeline, and the hardware resource overhead is reduced.