Patent ID: 10355963

Abstract:
Embodiments of the present invention disclose a heartbeat period setting method, including: setting a heartbeat period of a tested application to T2 and performing a first heartbeat test; setting heartbeat periods of multiple applications to T1 if the first heartbeat test is not passed, and performing heartbeat services; or setting the heartbeat period of the tested application to T3 if the first heartbeat test is passed, and performing a second heartbeat test; and setting the heartbeat periods of the multiple applications to T2 if the second heartbeat test is not passed, and performing heartbeat services; or setting the heartbeat period of the tested application to T4 if the second heartbeat test is passed, and performing a third heartbeat test, where T1<T2<T3<T4. The embodiments of the present invention further disclose a corresponding mobile terminal. According to the heartbeat period setting method and the terminal in the embodiments of the present invention, applications perform heartbeat services at a same moment by using a same heartbeat period, so that energy consumption of the terminal and signaling overheads are effectively reduced, and a load on an application server can further be reduced.