(57) A call method and a terminal device relating to the field of terminal technologies
are provided, which constrain behavior of a VoIP application after a push end receives
a call message and wakes up a main process of the VoIP application, thereby solving
a problem of increasing overall power consumption and memory occupation caused by
abuse of VoIP messages. The method includes: installing a first application having
a VoIP call function on the terminal device; when the first application is not running
in a foreground of the terminal device, waking up, by the terminal device, a main
process of the first application, and sending, to the first application, a first call
message received through a push channel, where the first call message is used to implement
a first VoIP call; and when the first application does not execute a first incoming
call alert within preset duration in response to the first call message, keeping,
by the terminal device, a main process of the first application alive within the preset
duration, where the first incoming call alert is used to output a first incoming call
notification message for prompting a user.
|

|