The present invention discloses a method for
synchronizing the main and auxiliary machines of substation historical events based on time segments, and relates to the technical field of
data synchronization. The synchronization method includes: dividing hierarchical time segments and initializing the synchronization object
queue; when the synchronization time arrives, judging whether the two machines need to be synchronized according to the synchronization identifier and event summary of the
time segment, and if synchronization is required, the
time segment is disassembled level by level to obtain the
minimum time segment that needs to be synchronized; according to the time period range of the
minimum time segment, the historical events of the two machines are extracted, and the historical databases of the two machines are bidirectionally compared and synchronized according to the
unique identifier of the event. The present invention solves the problem of synchronization of historical events of the main and auxiliary machines of the substation
monitoring system, and on the basis of ensuring the consistency of the historical events of the two machines, improves the comparison and synchronization efficiency of the historical events of the two machines, and ensures the reliability and efficiency of the synchronization of the historical events of the two machines.