Message record combination and display method and terminal device
AssigneeHuawei Technologies Co., Ltd.
InventorLei Mou
Life of this patent
Estimating the term…
Abstract
A first terminal device obtains a message record of the first terminal device, and obtains a message record of a second terminal device, where the message record of the first terminal device includes message content of a first message and a causal time of the first message, and the message record of the second terminal device includes message content of a second message and a causal time of the second message. The first terminal device sorts the message content of the first message and the message content of the second message based on the causal time of the first message and the causal time of the second message, and displays the message content of the first message and the message content of the second message in sequence.
Claims20
A system comprising:
- a first terminal device configured to transmit a first message comprising a first message content to a server;
- a second terminal device configured to:
- transmit a second message comprising a second message content;
- transmit a request for the first message content and the second message content;
- display the first message content and the second message content in a sequence based on a first coordinated universal time (CUT) of the first message and a second CUT of the second message;
- display a first display time of the first message content;
- and
- display a second display time of the second message content when a difference between the second display time and the first display time is greater than or equal to a preset threshold;
- wherein
- the server is configured to:
- receive the first message from the first terminal device;
- receive the second message from the second terminal device;
- receive the request from the second terminal device;
- and
- transmit, to the second terminal device in response to the request, the first message content and the second message content in the sequence.
A method comprising:
- transmitting, by a first terminal to a server, a first message comprising first message content;
- transmitting, by a second terminal to the server, a second message comprising second message content;
- receiving, by the server, the first message and the second message;
- requesting, by the second terminal from the server, the first message content and the second message content;
- transmitting, by the server to the second terminal, the first message content and the second message content in a sequence based on a first coordinated universal time (CUT) of the first message and a second CUT of the second message;
- displaying, by the second terminal, the first message content and the second message content in the sequence;
- and
- displaying, by the second terminal, a first display time of the first message content;
- and
- displaying, by the second terminal, a second display time of the second message content when a difference between the second display time and the first display time is greater than or equal to a preset threshold.
A server comprising:
- a memory comprising instructions;
- and
- a controller coupled to the memory and configured to execute the instructions to cause the server to:
- receive, from a first terminal, a first message comprising first message content;
- receive, from a second terminal, a second message comprising second message content;
- receive, from the second terminal, a request for the first message content and the second message content;
- determine a first coordinated universal time (CUT) based on an initial time, a first duration, and a second duration, wherein the initial time is a CUT at which the first terminal logs in to an instant messaging (IM) application, wherein the first duration is from a start moment at which the first terminal is powered on to the CUT at which the first terminal logs in to the IM application, and wherein the second duration is from the start moment to a moment at which the first terminal detects that the first message is to be transmitted;
- and
- transmit, to the second terminal in response to the request, the first message content and the second message content in a sequence based on the first CUT of the first message and a second CUT of the second message.
Dependencies are inferred from the claim text.