The invention provides a
data transmission verification method and device,
electronic equipment and a storage medium, and relates to the technical field of
network communication, a unique connection identifier is allocated in a connection establishment stage of two communication parties, and a serial number field is designed as a combination of
message length information and a random number; a connection identifier and a serial number field are packaged at the head and the
tail of the data message respectively, a type-length-value structure message is carried in the middle of the data message, and the consistency of the connection identifier and the serial number field at the head and the
tail of the data message is verified after the received message is de-packaged; and when
verification fails, the current connection is terminated, and the connection is triggered to be reestablished to retransmit data, so that the problems that
packet loss, data tampering or errors are easy to occur during RoCE
data transmission in the prior art, and a traditional
verification mode is high in calculation complexity, large in occupied bandwidth and high in reliability can be solved. And a traditional
retransmission mode is easy to cause
system performance reduction or
system abnormity caused by access of a wrong
memory address.