The invention discloses an
Ethernet synchronous communication method and device based on an FPGA (
Field Programmable Gate Array) and dynamic phase shift. Data to be transmitted, which is received by a sending end, is subjected to subpackage
processing, a plurality of data packets are compressed and packaged, a dynamic phase shift
algorithm is controlled by the FPGA, a
clock signal of each packaged data packet is subjected to phase encoding, and a
clock synchronous frame is generated. And the signals are transmitted to a receiving end in parallel through a multi-channel
Ethernet. And the receiving end carries out
phase error estimation according to the synchronization header information of each coded data packet, and carries out dynamic
phase compensation on the
clock signals of the coded data packets according to an
estimation result. And based on the synchronization header information after dynamic
phase compensation, analyzing and recombining the plurality of coded data packets, and recovering the coded data packets into the original transmission data. According to the method, synchronization
delay possibly occurring in high-speed
data transmission is reduced through dynamic
phase compensation,
network communication resources are reasonably distributed and utilized through multi-channel parallel transmission, and resource waste and occupation of a large number of resources are effectively avoided.