Patent ID: 9712632
Date: 2017-07-18
CPC Classifications: H04L,H04W,Y02D

Claim:
1. A method for receiving data, comprising: sending, by a mobile terminal, a first message to a push server such that the push server sends a second message to an application server when an application program on the mobile terminal is switched to a background, wherein the second message is used to instruct the application server to send, when there is data that needs to be sent to the mobile terminal, the data to the push server, wherein the application server serves the application program, wherein a heartbeat connection between the mobile terminal and the application server is discontinued when the application program on the mobile terminal is switched to the background, wherein a heartbeat connection between the push server and the application server is continued when the application program on the mobile terminal is switched to the background, and wherein a heartbeat frequency between the push server and the application server is higher than a heartbeat frequency between the mobile terminal and the application server; receiving, by the mobile terminal, the data sent by the push server through a Push mechanism when the data is less than a preset value; and receiving, by the mobile terminal, the data sent by the push server through an Internet Protocol (IP) connection when the data is greater than or equal to the preset value.