The invention discloses a water
regimen data acquisition dual-
machine redundancy method and
system, and the
system comprises a main
machine and a standby
machine which are directly connected through an independent
heartbeat interface. The main machine periodically sends
heartbeat messages and local
network configuration information to the standby machine through a
heartbeat interface; and the standby machine monitors heartbeat in real time, judges that the main machine is abnormal once not receiving the heartbeat within a preset time, automatically takes over the
IP address of the main machine, actively sends an
address resolution protocol message according to pre-stored
network configuration information so as to quickly update a forwarding table of the network equipment, immediately switches the state of the standby machine to be the main state, and synchronizes the state to a
database. According to the method, automatic sub-second fault switching is achieved, the risk of key
data loss is greatly reduced, continuity and integrity of water
regimen telemetering data are guaranteed, meanwhile, the operation load of a background
database is remarkably reduced through a main and standby mode, and the reliability of water
regimen telemetering is improved. The problems that the load of the
database is too heavy and automatic seamless switching of network
channel data acquisition cannot be realized are solved.