The present invention relates to the technical field of chips, and provides a protocol
conversion method, device, medium and product, the method comprising: receiving a write transaction transmitted based on a first
bus protocol, the write transaction at least comprising write data and a corresponding original
byte gating
signal; according to the original
byte gating
signal, searching a matched target mark identifier in a pre-established mapping relation table; according to the format requirement of the second
bus protocol, the target mark identifier is packaged into a preset field of the data packet, a target data packet serving as a protocol conversion result is generated and output, and the target mark identifier is used for indicating the validity of data bytes in the write data. According to the method and the device, the regularity of the
byte gating
signal is utilized, and the target identifier with the smaller bit width is used for replacing the original byte gating signal with the larger bit width for transmission, so that the invalid load overhead of a data packet after protocol conversion is remarkably reduced on the premise of ensuring that a data validity indication function is not lost.