Abstract:
The present invention discloses a method for acting as a service agent, including: receiving, by a modem, heartbeat configuration information corresponding to an application and sent by an application processor, where the application processor is in a sleep state after sending the heartbeat configuration information corresponding to the application, and establishing, by the modem according to the heartbeat configuration information corresponding to the application, a heartbeat connection with an application server corresponding to the application, so that the application processor is not woken up when the application has no updated content. Solutions provided by embodiments of the present invention can prevent an AP from being frequently woken up, thereby lowering power consumption of a terminal and extending standby time of the terminal.
Abstract:
The present invention discloses a method for acting as a service agent, including: receiving, by a modem, heartbeat configuration information corresponding to an application and sent by an application processor, where the application processor is in a sleep state after sending the heartbeat configuration information corresponding to the application, and establishing, by the modem according to the heartbeat configuration information corresponding to the application, a heartbeat connection with an application server corresponding to the application, so that the application processor is not woken up when the application has no updated content. Solutions provided by embodiments of the present invention can prevent an AP from being frequently woken up, thereby lowering power consumption of a terminal and extending standby time of the terminal.
Abstract:
The present invention discloses a data processing method, the method including obtaining an application packet sent by a network side device, obtaining a status of a screen of a terminal from a screen monitoring module in the terminal, where the status of the screen of the terminal includes a screen-on state and a screen-off state, and when the screen is in the screen-off state, skipping waking up an application processor, and temporarily storing the obtained application packet. In the data processing method provided by embodiments of the present invention, when it is obtained that the screen is in the screen-off state, the obtained application packet is temporarily stored, and an AP is not woken up, thereby reducing power consumption of the terminal.