Patent ID: 9009245
Filing Date: 2015-04-14
Classification: H04L,H04W

Abstract:
1. A method for updating messages in a messenger client, comprising: judging, by a messenger client, whether the messenger client is to pull a new message or a new message notification from a messenger server according to a state of the messenger client; deciding, by the messenger client, not to pull a new message notification or a new message in response to a determination that the state of the messenger client indicates a first user interface of the messenger client is invisible; pulling, by the messenger client, a new message notification which indicates a total number of new messages from the messenger server in response to a determination that the state of the messenger client indicates the first user interface is visible but a second user interface for displaying messages is invisible; and pulling, by the messenger client, the new messages from the messenger server in response to a determination that the state of the messenger client indicates both the first user interface and the second user interface are visible; and prompting, by the messenger client, a user that there is a new message when the total number in the new message notification pulled is larger than 0 after pulling the new message notification from the messenger server.