Abstract
An adaptive heartbeat mechanism has been designed. Hosts on both sides can detect the states of connection established on General Packet Radio Service (GPRS) by exchange heartbeat packets. This mechanism can adapt to the network latency by detect the Round Trip Time (RTT) of transmission, reduce data flow by adjust sending interval and resume the connection automatically when network is at disconnection. This mechanism was integrated into a meteorology operation command system. Testing result performed on many types of mobile-phone indicate that this mechanism is cost-saving and improves the reaction speed for disconnection detection.