Method for acting as service agent, modem, and terminal by establishing a heartbeat connection with an application server
First Claim
1. A method for acting as a service agent, the method comprising:
- receiving from an application processor, by a modem, heartbeat configuration information corresponding to an application, wherein the application processor is in a sleep state after sending the heartbeat configuration information corresponding to the application, wherein the heartbeat configuration information comprises an initial heartbeat interval of the application, wherein the application comprises at least two applications;
when an initial heartbeat interval of one application of the at least two applications is not less than the preset time threshold, adjusting the initial heartbeat interval of the one application of the at least two applications; and
when the initial heartbeat interval of one application of the at least two applications is not less than the preset time threshold, establishing, by the modem according to the adjusted initial heartbeat interval, a heartbeat connection with an application server corresponding to the one application of the at least two applications, wherein the application processor is not woken up when the application has no updated content.
3 Assignments
0 Petitions
Accused Products
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.
-
Citations
21 Claims
-
1. A method for acting as a service agent, the method comprising:
-
receiving from an application processor, by a modem, heartbeat configuration information corresponding to an application, wherein the application processor is in a sleep state after sending the heartbeat configuration information corresponding to the application, wherein the heartbeat configuration information comprises an initial heartbeat interval of the application, wherein the application comprises at least two applications; when an initial heartbeat interval of one application of the at least two applications is not less than the preset time threshold, adjusting the initial heartbeat interval of the one application of the at least two applications; and when the initial heartbeat interval of one application of the at least two applications is not less than the preset time threshold, establishing, by the modem according to the adjusted initial heartbeat interval, a heartbeat connection with an application server corresponding to the one application of the at least two applications, wherein the application processor is not woken up when the application has no updated content. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A modem comprising:
-
an input device, an output device, a processor, and a memory storing program instructions to be executed in the processor, wherein the input device is configured to receive heartbeat configuration information corresponding to an application from an application processor, wherein the application processor is in a sleep state after sending the heartbeat configuration information corresponding to the application, wherein the heartbeat configuration information comprises an initial heartbeat interval of the application, wherein the application comprises at least two applications; and wherein the program instructions are configured to cause the processor to when an initial heartbeat interval of one application of the at least two applications is not less than a preset time threshold, adjust the initial heartbeat interval of the one application of the at least two applications, and establish, according to the adjusted initial heartbeat interval, a heartbeat connection with an application server corresponding to the one application of the at least two applications, wherein the application processor is not woken up when the application has no updated content. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A terminal comprising a modem and an application processor, wherein:
-
the application processor is configured to send heartbeat configuration information corresponding to an application to the modem, and is in a sleep state after sending the heartbeat configuration information corresponding to the application, and the application processor is not woken up when the application has no updated content; and the modem is configured to receive the heartbeat configuration information corresponding to the application sent by the application processor, wherein the application comprises at least two applications having corresponding initial heartbeat period, when an initial heartbeat period of one application of the at least two applications is not less than a preset time threshold, adjust the initial heartbeat period of the one application of the at least two applications, and establish, according to the adjusted initial heartbeat period, a heartbeat connection with an application server corresponding to the one application of the at least two applications. - View Dependent Claims (17, 18, 19, 20, 21)
-
Specification