The application discloses a
pulse synchronization method, an electronic device, a storage medium and a program product. The method comprises the following steps: acquiring a period quantity sequence generated by local
clock counting; performing quality evaluation on a
signal according to the period quantity sequence to determine a current
signal state; determining a target count value according to the current
signal state, and latching the target count value to a corresponding cache space after a latching condition is met; acquiring a current target count value from the cache space, and outputting a
pulse synchronization signal based on the current target count value, wherein the
pulse synchronization signal is used for pulse synchronization, thereby solving the problem of inaccurate pulse signal synchronization, obtaining a stable target count value, and effectively avoiding problems such as unstable
time synchronization and poor precision caused by environmental factors; and counting the output pulse
synchronization signal through the current target count value, controlling the output of the pulse
synchronization signal, realizing pulse synchronization, and improving synchronization precision and stability.