The invention discloses a method for realizing TCP (
transmission control protocol) application heat
changeover between main equipment and standby equipment, which includes: a TCP
application module running in the main equipment sends TCP application configuration and state synchronous information to the online standby equipment in real time, and the standby equipment corrects corresponding
data structure; when TCP connection of the main equipment is successfully established / closed, a TCP / IP (
internet protocol) stack sends synchronous TCP connection information to the standby equipment, the standby equipment establishes / closes connection in the TCP / IP stack, after main and standby
changeover, the TCP / IP stack receives a TCP packet, if the TCP connection is synchronous, the TCP / IP stack receives a first data packet according to
changeover, and packet sending serial numbers and packet receiving confirming serial numbers of connection are initialized, the TCP
application module starts a
timer after changeover and starts receiving the data packets. Heat changeover between the main equipment and the standby equipment in double master
control equipment or a virtual
system can be realized by the method, reliability and availability of IP data network equipment are effectively improved, and the requirements of IP data network services are met.