IP Library › Granted Patent US 8,886,658
Granted Patent B2
US 8,886,658 · App. 13/862,016 · Granted Nov 11, 2014

Method and device for displaying message

Inventors: Linzhou Zheng (Shenzhen, CN); Xungeng Li (Shenzhen, CN); Dan Liu (Shenzhen, CN); Yu Chen (Shenzhen, CN); Mao Wang (Shenzhen, CN); Rongde Yang (Shenzhen, CN)
Assignee: Tencent Technology (Shenzhen) Company Limited
G06F17/30477H04L51/22H04L51/04
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,886,658
App. No.
13/862,016
Granted
Nov 11, 2014
Kind
B2
Abstract

A method and device for displaying messages including receiving messages, querying and acquiring a user message memory database corresponding to a sender user number according to the sender user number carried in the messages; combining the received messages according to a preset time strategy and the acquired user message memory database; and displaying the combined message. The amount of new messages displayed in a message receiving interface list can be increased, user's chat experience can be improved, and display screen utilization rate can be improved.

Claims (50)

1. A method for displaying messages implemented by a mobile terminal having a display screen and at least one processor, comprising:

A. querying and acquiring by the processor a user message storage database corresponding to a sender user number according to the sender user number carried in received messages;

B. combining by the processor the received messages according to a preset time strategy and the acquired user message storage database;

C. displaying the combined message on the display screen;

wherein the block A specifically includes:

receiving the messages, parsing heads of the messages, acquiring the sender user number carried in the messages, querying whether a user message storage database corresponding to the sender user number is set in the mobile terminal; if a user message storage database corresponding to the sender user number is set in the mobile terminal, acquiring the user message storage database corresponding to the sender user number; if a user message storage database corresponding to the sender user number is not set in the mobile terminal, constructing a user message storage database corresponding to the sender user number;

wherein the block B specifically includes:

sequentially and class based storing the received messages in the user message storage database corresponding to the sender user number;

combining the messages which are stored by classes, according to the preset time strategy;

wherein the combining the messages which are stored by classes specifically includes:

extracting the user message storage database to obtain time information of the ith message and the (i+1)th message which are stored in sequence, wherein i is a natural number and a maximum value of (i+1) is a maximum number of messages are stored in the user message storage database;

if a difference between the time information of the ith message and the corresponding time information of the (i+1)th message is within the preset time strategy, combining the (i+1)th message into the ith message, and taking the time information of the ith message as a time information of the new combined message; and

if the difference between the time information of the ith message and the time information of the (i+1)th message is beyond the preset time strategy, making no processing.

2. The method according to claim 1 , wherein the time information includes a message sending time or a message receiving time.

3. The method according to claim 1 , wherein the displaying the combined message specifically includes:

sending new message prompt information to a user; and

receiving a display request input by the user and displaying the combined message corresponding to the display request.

4. The method according to claim 3 , wherein the user message storage database includes array, chain table and pointer.

5. A method for displaying messages implemented by a mobile terminal having a display screen and at least one processor, comprising:

A. querying and acquiring by the processor a user message storage database corresponding to a sender user number according to the sender user number carried in received messages;

B. combining by the processor the received messages according to a preset time strategy and the acquired user message storage database;

C. displaying the combined message on the display screen;

wherein the block A specifically includes:

receiving the messages, parsing heads of the messages, acquiring the sender user number carried in the messages, querying whether a user message storage database corresponding to the sender user number is set in the mobile terminal; if a user message storage database corresponding to the sender user number is set in the mobile terminal, acquiring the user message storage database corresponding to the sender user number; if a user message storage database corresponding to the sender user number is not set in the mobile terminal, constructing a user message storage database corresponding to the sender user number;

wherein the block B specifically includes:

B1. comparing a time information of a currently received message with a time information corresponding to a current message stored in the user message storage database according to the acquired sender user number, if a difference between the time information of the two is less than or equal to the preset time strategy, performing block B2; otherwise, performing block B3;

B2. combining the currently received message into the current message which are stored by classes in the user message storage database; and

B3. sequentially and class based storing the currently received message behind the current message stored in the user message storage database corresponding to the sender user number;

wherein the combining the messages which are stored by classes specifically includes:

extracting the user message storage database to obtain time information of the ith message and the (i+1)th message which are stored in sequence, wherein i is a natural number and a maximum value of (i+1) is a maximum number of messages are stored in the user message storage database;

if a difference between the time information of the ith message and the corresponding time information of the (i+1)th message is within the preset time strategy, combining the (i+1)th message into the ith message, and taking the time information of the ith message as a time information of the new combined message; and

if the difference between the time information of the ith message and the time information of the (i+1)th message is beyond the preset time strategy, making no processing.

6. The method according to claim 5 , further comprising:

setting a combined identifier in the current message stored in the user message storage database, wherein the combined identifier is configured to indicate that this message does not need further processing.

7. The method according to claim 5 , wherein the time information includes a message sending time or a message receiving time.

8. The method according to claim 6 , wherein the displaying the combined message specifically includes:

sending new message prompt information to a user; and

receiving a display request input by the user and displaying the combined message corresponding to the display request.

9. The method according to claim 8 , wherein the user message storage database includes array, chain table and pointer.

10. A device for displaying messages comprising a display screen and a processor coupled to a memory storing instructions, for executing by the processor, configured to:

query and acquire a user message storage database corresponding to a sender user number according to the sender user number carried in received messages;

combine the received messages according to a preset time strategy and the acquired user message storage database;

display the received messages on the display screen;

wherein the processor is further configured to receive the messages;

parse the received messages to obtain the sender user number carried in the messages and;

query whether a user message storage database corresponding to the sender user number is set in the device for displaying messages; if a user message storage database corresponding to the sender user number is set in the device for displaying messages sequentially and class based store the received messages in the user message storage database corresponding to the sender user number; if a user message storage database corresponding to the sender user number is not set in the device for displaying messages, construct a user message storage database corresponding to the sender user number in the device for displaying messages and storing the messages;

wherein the processor is further

configured to read the user message storage database, obtain time information of the ith message and (i+1)th message which are sequentially stored wherein i is a natural number and a maximum value of (i+1) is a maximum number of messages stored in the user message storage database;

the processor is further configured to determine whether a difference between the input time information is within the preset time strategy; if the difference between the input time information is within the preset time strategy, combine the received ith message and (i+1)th message;

wherein the processor is further configured to output new message prompt information to a user, receive a display request input by the user and display the stored messages corresponding to the display request on the display screen.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 12, 2013
From: ZHENG, LINZHOU; LI, XUNGENG; LIU, DAN; CHEN, YU; WANG, MAO; YANG, RONGDE
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 030208/0780 →
Continuity (2)
Continuation PCTCN2011078066 · Aug 5, 2011
Related Publication 20130226943A1 · Aug 29, 2013