The invention belongs to the technical field of
clock synchronization, and provides a
clock synchronization device and a
clock synchronization method of a distributed
system. Wherein the distributed
system comprises a master node and a plurality of slave nodes, the master node and the slave nodes are in two-way communication, and the
clock synchronization device comprises a single-core optical cable, an
optical switch and a double-frequency-mixing phase
discriminator and is used for connecting the master node and the slave nodes; the
optical switch is switched between a communication mode and a
short circuit mode; when the
optical switch is in a communication mode, the single-core optical cable is connected with the master node for transmitting and the slave node for receiving, or is connected with the slave node for transmitting and the master node for receiving; when the optical switch is in a short-circuit mode, the single-core optical cable is connected with transceiving of the master node or transceiving of the slave node; and the dual-mixing phase
discriminator is used for measuring the
phase difference between the local clock and the received
data recovery clock. According to the invention, respective transmit-receive delays of the master and slave nodes and
bidirectional transmission delays between the master and slave nodes can be obtained, the clock difference can be conveniently obtained according to the unidirectional transmission delays, and the synchronization precision is improved.