Abstract:A dual machine synchronization method based on peer-to-peer mode of ICE is proposed,which solves the problem of event leakage and retransmission in alarm transmission system.The reason of missing and retransmitting event is analyzed, and the synchronous data structure with the event eigenvalue and the IP address of the master station as the unique identification of event is designed in the paper. The synchronous data structure and dual machine synchronization method of ICE peer-to-peer mode is used to realize the goal of avoiding retransmission and eliminating leakage events in the dual machine switching process of alarm transmission, which ensures the data consistency of alarm transmission in the process of dual machine switching. The validity of the synchronization method and data structure is verified by simulation experiments.