WO2018137207A1 - 一种消息记录合并显示方法及终端设备 - Google Patents
一种消息记录合并显示方法及终端设备 Download PDFInfo
- Publication number
- WO2018137207A1 WO2018137207A1 PCT/CN2017/072682 CN2017072682W WO2018137207A1 WO 2018137207 A1 WO2018137207 A1 WO 2018137207A1 CN 2017072682 W CN2017072682 W CN 2017072682W WO 2018137207 A1 WO2018137207 A1 WO 2018137207A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- terminal device
- time
- display
- record
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/216—Handling conversation history, e.g. grouping of messages in sessions or threads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/904—Browsing; Visualisation therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/06—Arrangements for sorting, selecting, merging, or comparing data on individual record carriers
- G06F7/08—Sorting, i.e. grouping record carriers in numerical or other ordered sequence according to the classification of at least some of the information they carry
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
Definitions
- the embodiments of the present invention relate to the field of communications, and in particular, to a message record merge display method and a terminal device.
- IM Instant Messaging
- WeChat and Fetion users can install IM applications on mobile devices, tablet devices (Pad) and other terminal devices, and use the installed IM applications to chat.
- the terminal device saves the message content of the message generated during the chat in the message record of the terminal device, and also saves the display time of the message in the message record.
- the display time of the message is specifically: the message is a message that the terminal device needs to send, and the display time is the local time of the terminal device; the message is a message received by the terminal device, and the display time is according to the server sending the message.
- terminals such as Pads
- users are increasingly using the same account to chat on different terminal devices.
- the message records generated by the user during the chat are scattered and stored in different terminal devices. If the user needs to combine the message records on different terminal devices, the message records of different terminal devices are usually combined and displayed according to the display time of the messages saved in the message records of the terminal device.
- the display time of the message is determined by the local time of the terminal device or the time zone in which the terminal device is located. If the user needs to combine the message records of different terminal devices, if the local time of the terminal device that needs to merge the message records is inconsistent, or the time zone of the terminal device that needs to merge the message records is inconsistent, the merged message record cannot be obtained. Sorting correctly according to the order in which messages are sent and received results in a messy message record.
- the embodiment of the invention provides a message record merge display method and a terminal device, which solves the problem that the display of the merged message records is confusing when the message records of different terminal devices are combined.
- the embodiment of the present invention provides the following technical solutions:
- a first aspect of the embodiments of the present invention provides a message record merge display method, including:
- the first terminal device acquires a message record of the first terminal device, and acquires a message record of the second terminal device, where the message record of the first terminal device includes: a message content of the first message and a causal time of the first message, and the second terminal device
- the message record includes: the message content of the second message and the causal time of the second message, and according to the causal time of the first message and the causal time of the second message, the message content of the first message and the message content of the second message are performed. Sorting, and displaying the message content of the first message and the message content of the second message according to the sorting.
- the first terminal device performs the message content of the first message and the message content of the second message according to the causal time of the acquired first message and the causal time of the second message. Sorting, and displaying the message content of the first message and the message content of the second message according to the sorting.
- the display time is affected by factors such as the local time of the terminal device or the time zone of the terminal device, and the resulting message records cannot be sorted and displayed correctly according to the order in which the messages are sent and received.
- the causal time of the first message is the coordinated world time when the first message is transmitted
- the causal time of the second message is the coordinated world time when the second message is transmitted.
- the first message is a message that is sent by the first terminal device
- the message record merge display method may further include: the first terminal device records the first The causal time of the message, the causal time of the first message is determined based on the initial time, the first duration, and the second duration.
- the initial time is the coordinated world when the first terminal device logs in to the IM application.
- the initial time may be that the server sends the login response to notify the first terminal device after receiving the login request sent by the first terminal device.
- the first duration is the duration from the start time to the time when the login IM application succeeds
- the start time is the time when the first terminal device is powered on
- the second duration is the first terminal device from the start time to the detection.
- the duration until the first message is sent.
- the first message is a message that is sent by the first terminal device
- the message record merge display method may further include: the first terminal device to the server Sending a first message, and receiving a causal time of the first message sent by the server, the causal time of the first message is a coordinated world time when the server receives the first message.
- the first message is a message received by the first terminal device
- the message record merge display method may further include: the first terminal device receiving the server The causal time of the first message sent, the causal time of the first message is the coordinated world time when the server sends the first message to the first terminal device.
- the message record of the first terminal device further includes a display time of the first message, in order to ensure that the display time of the merged message record is increased, and
- the message record merge display method provided by the embodiment of the present invention may further include: the first terminal device acquires the display time of the third message, and determines the display time and the third message of the first message. When the difference of the display time is greater than the preset threshold, the display time of the first message is displayed.
- the third message is a message displayed before the first message and displayed with the display time.
- the display time of the third message is included in the message record of the first terminal device or included in the message record of the second terminal device.
- the message record of the second terminal device further includes a display time of the second message, in order to ensure that the display time of the merged message record is increased
- the message record merge display method provided by the embodiment of the present invention may further include: acquiring, by the first terminal device, a display time of the fourth message, and determining a display time of the second message and the fourth time, in order to reduce the power consumption of the first terminal device.
- the display time of the second message is displayed.
- the fourth message is a message displayed before the second message and displayed with the display time.
- the display time of the fourth message is included in the message record of the first terminal device or included in the message record of the second terminal device.
- a second aspect of the embodiments of the present invention provides a terminal device, where the terminal device includes: a processor and a display.
- the processor is configured to obtain a message record of the terminal device, and obtain a message record of the second terminal device, where the message record of the terminal device includes: a message content of the first message and a causal time of the first message, where the message record of the second terminal device includes The message content of the second message and the causal time of the second message; sorting the message content of the first message and the message content of the second message according to the causal time of the first message and the causal time of the second message.
- a display configured to display the message content of the first message and the message content of the second message according to the sorting of the processor.
- the causal time of the first message is a coordinated world time when the first message is transmitted
- the causal time of the second message is a coordinated world time when the second message is transmitted.
- the first message is a message that is sent by the terminal device
- the terminal device further includes: a memory.
- the memory is configured to record a causal time of the first message, and the causal time of the first message is determined according to the initial time, the first duration, and the second duration.
- the initial time is the coordinated world time when the terminal device logs in to the IM application successfully;
- the first duration is the duration from the start time to the time when the login IM application succeeds, and the start time is the time when the terminal device is powered on;
- the duration is the duration from when the terminal device detects the first message to be sent.
- the first message is a message that is sent by the terminal device, and the terminal device further includes: a radio frequency (RF) circuit.
- the RF circuit is configured to send a first message to the server; and receive a causal time of the first message sent by the server, where the causal time of the first message is a coordinated world time when the server receives the first message.
- the first message is a message received by the terminal device, and the terminal device further includes: an RF circuit.
- the RF circuit is configured to receive a causal time of the first message sent by the server, where the causal time of the first message is a coordinated world time when the server sends the first message to the terminal device.
- the message record of the terminal device further includes a display time of the first message.
- the processor is further configured to acquire a display time of the third message, where the third message is a message displayed before the first message and the display time is displayed, and the display time of the third message is included in the message record of the terminal device or included In the message record of the second terminal device; determining a difference between the display time of the first message and the display time of the third message.
- the display is further configured to display a display time of the first message when the processor determines that the difference between the display time of the first message and the display time of the third message is greater than a preset threshold.
- the message record of the second terminal device further includes a display time of the second message.
- the processor is further configured to acquire a display time of the fourth message, where the fourth message is a message displayed before the second message and the display time is displayed, and the display time of the fourth message is included in the message record of the terminal device or included In the message record of the second terminal device; determining a difference between the display time of the second message and the display time of the fourth message.
- the display is further configured to display a display time of the second message when the processor determines that the difference between the display time of the second message and the display time of the fourth message is greater than a preset threshold.
- a third aspect of the embodiments of the present invention provides a terminal device, where the terminal device includes: acquiring a unit, and a row Sequence unit and display unit.
- the acquiring unit is configured to obtain a message record of the terminal device, and obtain a message record of the second terminal device, where the message record of the terminal device includes: a message content of the first message and a causal time of the first message, where the message record of the second terminal device includes : the message content of the second message and the causal time of the second message.
- a sorting unit configured to sort the message content of the first message acquired by the acquiring unit and the message content of the second message according to the causal time of the first message acquired by the obtaining unit and the causal time of the second message.
- a display unit configured to display the message content of the first message and the message content of the second message according to the sorting of the sorting unit.
- the causal time of the first message is the coordinated world time when the first message is transmitted
- the causal time of the second message is the coordinated world time when the second message is transmitted.
- the first message is a message that is sent by the terminal device
- the terminal device further includes: a storage unit.
- a storage unit configured to record a causal time of the first message, where the causal time of the first message is determined according to the initial time, the first duration, and the second duration.
- the initial time is the coordinated world time when the terminal device logs in to the IM application successfully
- the first duration is the duration from the start time to the time when the login IM application succeeds
- the start time is the time when the terminal device is powered on
- the duration is the duration from when the terminal device detects the first message to be sent.
- the first message is a message that is sent by the terminal device
- the terminal device further includes: a sending unit and a receiving unit.
- a sending unit configured to send a first message to the server.
- the receiving unit is configured to receive a causal time of the first message sent by the server, where the causal time of the first message is a coordinated world time when the server receives the first message.
- the first message is a message received by the terminal device, and the terminal device further includes: a receiving unit.
- the receiving unit is configured to receive a causal time of the first message sent by the server, where the causal time of the first message is a coordinated world time when the server sends the first message to the terminal device.
- the message record of the terminal device acquired by the acquiring unit further includes a display time of the first message
- the terminal device further includes: a determining unit.
- the obtaining unit is further configured to acquire a display time of the third message, where the third message is a message displayed before the first message and the display time is displayed, and the display time of the third message is included in the message record of the terminal device or included In the message record of the second terminal device.
- a determining unit configured to determine a difference between a display time of the first message and a display time of the third message acquired by the acquiring unit.
- the display unit is further configured to display the display time of the first message when the determining unit determines that the difference between the display time of the first message and the display time of the third message is greater than a preset threshold.
- the message record of the second terminal device further includes a display time of the second message.
- the obtaining unit is further configured to obtain a display time of the fourth message, where the fourth message is a message displayed before the second message and the display time is displayed, and the display time of the fourth message is included in the message record of the terminal device or included In the message record of the second terminal device.
- the determining unit is further configured to determine a difference between a display time of the second message and a display time of the fourth message acquired by the acquiring unit.
- the display unit is further configured to display the display time of the second message when the determining unit determines that the difference between the display time of the second message and the display time of the fourth message is greater than a preset threshold.
- a fourth aspect of the embodiments of the present invention provides a computer storage medium for storing the first terminal.
- Computer software instructions for the device, the computer software instructions including a program designed to perform the above message record merge display method.
- FIG. 1 is a simplified schematic diagram of a system architecture to which an embodiment of the present invention may be applied according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
- FIG. 3 is a schematic flowchart of a message record merge display method according to an embodiment of the present disclosure
- FIG. 4 is a schematic flowchart of another method for displaying and displaying a message record according to an embodiment of the present invention.
- FIG. 5 is a schematic flowchart of another method for displaying and displaying a message record according to an embodiment of the present invention.
- FIG. 6 is a schematic flowchart diagram of another message record merge display method according to an embodiment of the present invention.
- FIG. 7 is a schematic flowchart of another method for displaying and displaying a message record according to an embodiment of the present invention.
- FIG. 8 is a schematic flowchart diagram of another message record merge display method according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram of another scenario of a message record merge display method according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram of another scenario of a message record merge display method according to an embodiment of the present invention.
- FIG. 11 is a schematic structural diagram of another terminal device according to an embodiment of the present disclosure.
- FIG. 12 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
- the embodiment of the present invention provides a message record merge display method.
- the first terminal device acquires a message record of the first terminal device, and acquires a message record of the second terminal device, where the message record of the first terminal device includes: a message content of the first message and a causal time of the first message, and the second terminal device
- the message record includes: the message content of the second message and the causal time of the second message, and according to the causal time of the first message and the causal time of the second message, the message content of the first message and the message content of the second message are performed.
- Sorting and displaying the message content of the first message and the message content of the second message according to the sorting.
- the causal time of the message is the coordinated world time when the message is transmitted
- the Coordinated Universal Time is not the local time of the terminal device, or the terminal device The time zone and other factors are affected. Therefore, the combined message records according to the causal time of the message can be sorted and displayed in the order in which the messages are sent and received.
- FIG. 1 is a simplified schematic diagram of a system architecture to which embodiments of the present invention may be applied.
- the system architecture may include: a first terminal device 11, a second terminal device 12, and a server 13.
- An IM application is installed on the first terminal device 11. If the user needs to use the installed IM application to perform the chat, the user can transmit the message to the other user terminal through the first terminal device 11 after the login application is successfully applied.
- the first terminal device 11 can save the causal time, message content and display time of the message transmitted by the user through the first terminal device 11 and other user terminals in the message record.
- the display time of the message may be the local time of the first terminal device 11 according to the first terminal device 11 or the first terminal device 11 Determined at the time zone.
- the local time of the first terminal device 11 and the time zone in which the first terminal device 11 is located may be obtained by the first terminal device 11 through interaction with the server 13.
- An IM application is also installed on the second terminal device 12.
- the user can log in to the IM application on the second terminal device 12 by using the same account, and can transmit the message to the other user terminal through the second terminal device 12 after the login is successful.
- the second terminal device can save the causal time, the message content and the display time of the message transmitted by the user through the second terminal device 12 and the other user terminals in the message record.
- the message record of the first terminal device 11 and the message record of the second terminal device 12 need to be merged, if the message record of the second terminal device 12 needs to be merged into the first terminal device 11, the first terminal device 11
- the message record of the second terminal device 12 can be obtained by means of Wireless Fidelity (WiFi), Bluetooth, or the like.
- the server 13 is configured to forward the messages transmitted by the first terminal device 11 and the second terminal device 12 and other user terminals.
- the first terminal device 11 and the second terminal device 12 may be desktop, laptop, tablet, handheld computer, mobile phone, notebook computer, and ultra-mobile personal computer (UMPC). , netbooks, and cellular phones, personal digital assistants (PDAs), dedicated media players, consumer electronics, wearables, smart watches, smart glasses, and more.
- UMPC ultra-mobile personal computer
- the first terminal device 11 and the second terminal device 12 are used as a mobile phone as an example for description.
- the mobile phone may include components such as a display unit 20, an input unit 21, a processor 22, a memory 23, a power source 24, an RF circuit 25, a gravity sensor 26, an audio circuit 27, a speaker 28, a microphone 29, and the like. It can be connected by bus or directly. It will be understood by those skilled in the art that the structure of the handset shown in FIG. 2 does not constitute a limitation to the handset, and may include more components than those illustrated, or some components may be combined, or different components may be arranged.
- the display unit 20 is operatively coupled to the processor 22 for receiving the processing results returned by the processor 22 and displaying them. For example, it can be used to display images captured by the camera, as well as various menus of the phone.
- a graphical user interface is typically provided on the display unit 20 for providing an easy to use interface between the user and the operating system running on the handset.
- the display unit 20 is configured to display a message record merged according to the causal time of the message.
- the input unit 21 can be a single or multi-point input unit operatively coupled to the processor 22 for receiving input operations by the user.
- the input unit 21 may be a touch pad or touch screen placed on or in front of the display unit 20, which may collect touch operations on or near the user (such as a user using a finger, a stylus, etc., or any suitable object or
- the accessory is operated on or near the touch screen, and the corresponding connection device is driven according to a preset program.
- a touch panel or a touch screen can be implemented based on sensing techniques such as capacitive sensing, resistance sensing, surface acoustic wave sensing, pressure sensing, and light sensing.
- the touchpad or touchscreen can be integrated with the display unit 20 or can be a separate component.
- the input unit 21 is configured to receive a chat input operation of the user.
- the processor 22 is the control center of the handset, which connects various parts of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 23, and by calling stored in the memory.
- the data in 23 performs various functions of the mobile phone and processes the data, thereby performing overall monitoring of the mobile phone.
- processor 22 may include one or more processing units; processor 22 may integrate an application processor and a modem processor.
- the application processor mainly processes an operating system, a user interface, an application, and the like, and the modem processor mainly processes wireless communication. It will be appreciated that the above described modem processor may also not be integrated into the processor 22.
- the processor 22 is configured to determine a causal time and a display time of the message, obtain a message record of the mobile phone, and also used to merge message records of different mobile phones, and sort the merged message records.
- the memory 23 can be used to store data, software programs, and modules, and can be a Volotile Memory, such as a Random-Access Memory (RAM), or a Non-Volatile Memory. For example, Read-Only Memory (ROM), Flash Memory, Hard Disk Drive (HDD) or Solid-State Drive (SSD); or a combination of the above types of memory, or It can also be a removable storage medium such as a Secure Digital (SD) memory card.
- the program code is stored in the memory 23, and the program code is used to cause the processor 22 to execute the message merge display method provided by the embodiment of the present invention by executing the program code.
- the memory 23 can be used to store a message record, which can include the causal time of the message, the display time of the message, and the message content of the message.
- the RF circuit 25 can be used for transmitting and receiving information or during a call, receiving and transmitting signals, and in particular, processing the received information to the processor 22; in addition, transmitting the signals generated by the processor 22.
- RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
- LNA Low Noise Amplifier
- RF circuitry 25 can also communicate with the network and other devices via wireless communication.
- the RF circuit 25 can communicate with the server to transmit chat records with other user terminals, acquire Coordinated Universal Time, and the like.
- Gravity Sensor 26 can detect the acceleration of the mobile phone in all directions (usually three-axis). When it is still, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping). It should be noted that the mobile phone may also include other sensors, such as a pressure sensor, a light sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein.
- Audio circuitry 27, speaker 28, and microphone 29 provide an audio interface between the user and the handset.
- the audio circuit 27 can transmit the converted electrical data of the received audio data to the speaker 28 for conversion to the sound signal output by the speaker 28; on the other hand, the microphone 29 converts the collected sound signal into an electrical signal by the audio circuit 27. After receiving, it is converted into audio data, and the audio data is output to the RF circuit 25 for transmission to, for example, another mobile phone, or the audio data is output to the processor 22 for further processing.
- an operating system is running.
- a running application such as an IM application, can be installed on the operating system.
- the mobile phone may further include components such as a WiFi module, a Bluetooth module, a camera, and the like.
- the WiFi module may be a module including a driver of a WiFi chip and a WiFi chip, and the WiFi chip has the capability of running a wireless Internet standard protocol.
- PCBA Bluetooth-enabled Printed Circuit Board Assembly
- Coordinated Universal Time referred to in the embodiments of the present invention may also be referred to as World Unified Time, World Standard Time, and International Coordinated Time.
- the message record merge display method provided by the embodiment of the present invention may be used for the combined display of the message record.
- the following takes the first terminal device and the second terminal device as an example for description.
- the processor of the first terminal device can obtain the message record saved by itself, and can obtain the message record of the second terminal device through the WiFi module or the Bluetooth module.
- the message record of the first terminal device includes: a message content of the first message and a causal time of the first message, where the first message is a message generated when the user chats through the first terminal device, and the causal time of the first message is the transmission
- the message record of the second terminal device includes: a message content of the second message and a causal time of the second message, where the second message is a message generated when the user chats through the second terminal device, and the second message
- the causal time is the Coordinated Universal Time when the second message is transmitted.
- the processor of the first terminal device can obtain the chat record generated when the user chats through the second terminal device from the second terminal device directly through the WiFi module or the Bluetooth module.
- the first terminal device is the mobile phone 1
- the second terminal device is the mobile phone 2
- the distance between the mobile phone 1 and the mobile phone 2 is short.
- the user needs to merge the WeChat chat record of the mobile phone 2 to the mobile phone 1.
- the processor of the mobile phone 1 can obtain the WeChat message record of the mobile phone 2 through the WiFi module or the Bluetooth module.
- the user can connect the mobile phone 1 and the mobile phone 2 to the same WiFi network, and open the function of migrating the chat record in the WeChat of the mobile phone 2, and a two-dimensional code is generated.
- the user can log in to the WeChat of the mobile phone 1 using the same account and scan the two-dimensional code.
- the WiFi module of the mobile phone 1 can receive the WeChat chat record transmitted by the WiFi module of the mobile phone 2.
- the user can turn on the Bluetooth function of the mobile phone 1 and the mobile phone 2, and the Bluetooth module of the mobile phone 1 and the Bluetooth module of the mobile phone 2 can search, and after searching for each other, establish a connection channel. In this way, the user can find the WeChat chat record in the mobile phone 2 and select the Bluetooth module sent to the mobile phone 1 by Bluetooth.
- the Bluetooth module of the mobile phone 1 can receive the WeChat chat record sent by the Bluetooth module of the mobile phone 2.
- the processor of the first terminal device may also acquire, from the server, the chat record generated when the user chats through the second terminal device.
- the first terminal device is the mobile phone 1
- the second terminal device is the mobile phone 2
- both the mobile phone 1 and the mobile phone 2 are connected to the network as an example for description.
- the user needs to merge the WeChat chat record in the mobile phone 2 to the mobile phone 1.
- the function of uploading the message record can be opened in the WeChat of the mobile phone 2, and the mobile phone 2 can upload the chat record to the server.
- the user can log in to the WeChat of the mobile phone 1 by using the same account, and open the function of downloading the message record, and the processor of the mobile phone 1 can obtain the WeChat chat record of the mobile phone 2.
- the first terminal device is the mobile phone 1 and the second terminal device is the mobile phone 2 as an example.
- the user needs to merge the message record of the mobile phone 2 into the mobile phone 1, and the processor of the mobile phone 1 obtains the record of the self-saved message.
- the message record of the mobile phone 1 includes the message content and causal time of the message a.
- the message a is a message sent by the user through the mobile phone 1.
- the processor of the mobile phone 1 passes the WiFi module or the Bluetooth module Get the message record of the phone 2.
- the message record of the mobile phone 2 includes the message content and causal time of the message c.
- the message c is a message sent by the user through the mobile phone 2.
- the message content of the first message may be determined according to the causal time of the first message and the causal time of the second message. Sorts the message content of the second message.
- the display of the first terminal device may display the message content of the first message and the message content of the second message according to the ranking.
- FIG. 3 shows a schematic diagram of the message content of the merged message record displayed by the display of the mobile phone 1.
- the correct sort result of the message content of the merged message record is: the message content of the message a, and the message content of the message c.
- the processor of the mobile phone 1 can according to the causal time of the message a (the causal time of the message a is 9:20 am) and the causal time of the message c (the causal time of the message c is 9:50 am), according to the time from morning to night.
- the message content of message c is placed after the message content of message a.
- the display of the mobile phone 1 displays the message content of the message a and the message content of the message c according to the ranking.
- multiple messages are stored on the handset 1 and the handset 2, respectively.
- the message record of the mobile phone 1 includes the message content and causal time of the message a, the message content of the message b, and the causal time.
- the message a is a message sent by the user through the mobile phone 1
- the message b is a message received by the user through the mobile phone 1.
- the message record of the mobile phone 2 includes the message content and causal time of the message c, the message content of the message d, and the causal time.
- the message c and the message d are messages sent by the user through the mobile phone 2.
- FIG. 4 is a schematic diagram showing the content of the message of the merged message record displayed by the display of the mobile phone 1.
- the correct sort result of the message content of the merged message is: the message content of the message a, the message content of the message c, The message content of message d, the message content of message b.
- the local time of mobile phone 1 is 15:50 pm, and the local time of mobile phone 2 at the same time is 15:30 pm as an example.
- the local time of the mobile phone 1 and the mobile phone 2 may be inconsistent. So that the processor of the mobile phone 1 will send the message c (the message c is displayed in the morning) The content of the message of 10:05) and message d (the display time of the message d is 10:07 am) is before the content of the message of the previously sent message a (the display time of the message a is 10:20 am). However, in the embodiment of the present invention, the causal time of the message is not affected by the local time of the mobile phone.
- the processor of the mobile phone 1 obtains the message record of the mobile phone 1 and the message record of the mobile phone 2, according to the message a
- the causal time of message b, message c and message d sorting the message contents of message a, message b, message c and message d, and can send the message c after the message (the causal time of message c is 9:50 am
- the message content of the message d (the causal time of the message d is 9:52 am) is after the message content of the first transmitted message a (the causal time of the message a is 9:20 am).
- a scenario in which a terminal device merges and displays a message record generated by a user through two terminal device chats is taken as an example.
- the embodiment of the present invention can also be used to merge and display a message record generated by a user through three or more terminal device chats, and the specific implementation process is generated by the terminal device chatting the user through two terminal devices.
- the specific implementation of the message record for the merged display is similar, and the embodiment of the present invention will not be described in detail herein.
- the first terminal device may also display the display time of the combined message record.
- the embodiment of the present invention provides a display manner of the display time of the message.
- the message record of the mobile phone 1 acquired by the processor of the mobile phone 1 may further include the display time of the message a and the display time of the message b.
- the message record of the mobile phone 2 acquired by the processor of the mobile phone 1 may further include the display time of the message c and the display time of the message d.
- the processor of the mobile phone 1 can determine whether the display time of the message a, the message b, the message c, and the message d needs to be displayed in the following manner.
- the display time of the message a needs to be displayed. of.
- the display of the mobile phone 1 can judge the display time of the message and the display time of the message displayed before the message and displayed the display time by the processor of the mobile phone 1. Whether the difference is greater than a preset threshold, and displaying the display time of the message only when it is determined that the difference is greater than the preset threshold.
- the preset threshold is five minutes as an example. Since the difference between the display time of the message c (the display time of the message c is 10:05 am) and the display time of the message a (the display time of the message a is 10:20 am) is less than five minutes, the display of the mobile phone 1 is not displayed. The display time of message c.
- the display of the mobile phone 1 Since the display time of the message d (the display time of the message d is 10:07 am) is less than five minutes from the display time of the message a, the display of the mobile phone 1 does not display the display time of the message d. Since the display time of the message b (the display time of the message b is 15:45 pm) is greater than the display time of the message a by more than five minutes, the display of the mobile phone 1 displays the display time of the message b.
- the memory of the first terminal device and the second terminal device may also record the causal time of the message, the message content of the message, and the display time of the message.
- the embodiment of the present invention is described here by taking the first terminal device to record the causal time of the first message, the message content of the first message, and the display time of the first message.
- the user needs to use the IM application installed on the first terminal device to chat, and the IM application can be opened. Enter the login interface of the IM application.
- the IM application is described as an example of WeChat.
- FIG. 6 a schematic diagram of a login interface of WeChat displayed for the display of the first terminal device.
- the login interface includes: an input box for the login account and password, and a login button.
- the user can input the account XXX in the input box of the login account through the input unit of the first terminal device, and input the password 123 in the input box of the login password, and click the login button after the input is completed.
- the processor of the first terminal device may carry the login account and password in the login request to the server through the RF circuit of the first terminal device.
- the server may verify the validity of the user according to the login account and the password carried in the login request.
- the login response for notifying the first terminal device to log in to the IM application may be sent to the RF circuit of the first terminal device.
- the processor of the first terminal device can successfully log in to the IM application and display the contact interface.
- FIG. 7 a schematic diagram of a contact interface displayed for the display of the first terminal device.
- the contact interface at least one contact is displayed.
- the displayed contacts are exemplified by Xiaohong and Huaweing.
- the user can select the contact to enter the chat interface for chatting.
- the RF circuit of the first terminal device can transmit the message generated by the user chat with the RF circuit of the other user terminal, for example, the RF circuit of the first terminal device and the RF circuit of the other user terminal transmit the first message.
- the first message may be a message that is sent by the RF circuit of the first terminal device, or may be a message received by the RF circuit of the first terminal device.
- the memory of the first terminal device may record the causal time of the first message.
- the first message is a message sent by the RF circuit of the first terminal device.
- the user chooses to send a message to Xiao Ming, and the user can open a chat interface with Xiao Ming.
- FIG. 8 a schematic diagram of a chat interface with Xiao Ming displayed for the display of the first terminal device.
- a message input box and a send button are displayed in the chat interface.
- the user can input the message content of the first message in the message input box through the input unit of the first terminal device (eg, the message content of the first message is: in), and click the send button after the input is completed.
- the processor of the first terminal device may send the message content of the first message to the server through the RF circuit of the first terminal device when detecting the user's click on the send button.
- the causal time of the first terminal device's memory to record the first message may be implemented in the following two ways.
- the memory of the first terminal device may record the causal time of the first message.
- the causal time of the first message is determined by the processor of the first terminal device based on the initial time, the first duration, and the second duration.
- the initial time is a coordinated world time when the first terminal device logs in to the IM application successfully, and may carry the RF circuit sent to the first terminal device in the login response by the server.
- the first duration is the duration from the start time of the first terminal device to the successful login of the IM application, and the start time is the time when the first terminal device is powered on.
- the first duration may be obtained by the processor of the first terminal device when the login IM application is successful.
- the second duration is the duration from when the first terminal device detects the first message to be sent.
- the second duration may be that the processor of the first terminal device sends the cancellation Obtained at the time of interest.
- the first duration is initial second
- the second duration is now second
- the first terminal device may preset a timer to acquire the first duration and the second duration by using the timer.
- the processor of the first terminal device can start the timer when the power is detected.
- the processor of the first terminal device can read the timer time of the timer when the login IM application succeeds, and the time counted at the time is the first duration.
- the processor of the first terminal device can read the timer time of the timer when the first message needs to be sent, and the time counted at the time is the second duration.
- the following is an example of the method for setting the first duration and the second duration by using a timer in the first terminal device as an example, but the embodiment of the present invention obtains the processor of the first terminal device.
- the specific implementation of a duration and a second duration is not specifically limited.
- the first duration is the duration from when the first terminal device starts to when the login IM application succeeds.
- the initial time and the first duration are independent of the time at which the first terminal device sends the message. Therefore, after the processor of the first terminal device acquires the initial time and the first duration, the initial time and the first duration may be saved. time. In this way, when the RF circuit of the first terminal device sends another message, the processor of the first terminal device only needs to obtain the duration when the first terminal device needs to be sent from the time when the device is powered on, and according to the saved time. The initial time and the first duration can determine the causal time of other messages.
- the server may receive the message content of the first message. And causing the causal time of the first message to be sent to the RF circuit of the first terminal device in the response, and the causal time of the first message is the coordinated world time when the server receives the first message.
- the RF circuit of the first terminal device can record the causal time of the first message through the memory of the first terminal device.
- the first message is a message received by the RF circuit of the first terminal device.
- the user receives the message of Xiao Ming as an example.
- the RF circuit of the terminal device used by Xiao Ming can first send the first message to the server.
- the server may send the message content of the first message and the causal time of the first message to the RF circuit of the first terminal device, and the causal time of the first message is the coordination when the server sends the first message to the RF circuit of the first terminal device.
- World time The RF circuit of the first terminal device can record the causal time of the first message through the memory of the first terminal device.
- the coordinated world time when the server sends the first message to the RF circuit of the first terminal device is the server time
- the causal time of the first message is septime
- the first terminal device uses the received server time as the septime.
- the memory of the first terminal device may also record the display time of the first message and record the message content of the first message.
- the first message is a message sent by the RF circuit of the first terminal device
- the display time of the first message is a local time of the first terminal device when the first message needs to be sent. For example, if the local time of the first terminal device is local time and the display time of the first message is show time, the processor of the first terminal device will obtain the local time as the show time.
- the first message is a message received by an RF circuit of the first terminal device
- the display time of the first message is calculated by the processor of the first terminal device according to the coordinated world time when the server sends the first message to the first terminal device and the time zone where the first terminal device is located.
- the display time of the first message may be that the processor of the first terminal device is in accordance with the coordinated world time when the server sends the first message to the first terminal device, and between the local time of the first terminal device and the coordinated world time.
- the time zone difference is determined by the time.
- the display time of the first message is show time
- the coordinated world time when the server sends the first message to the first terminal device is server time
- the time difference between the local time of the first terminal device and the coordinated world time is X.
- the memory of the first terminal device records the causal time of the first message, and records the message content of the first message.
- the display of the first terminal device may display the message content of the first message according to the causal time of the first message.
- the display of the first terminal device may first acquire the causal time of the previous message of the first message by using the processor of the first terminal device, and display the first according to the causal time of the first message and the causal time of the previous message of the first message.
- the message content of a message is accessed from the causal time of the first message.
- the processor of the first terminal device may first acquire the display time of the message displayed before the first message and displayed the display time, and determine The display of the first terminal device displays the display time of the first message when the display time of a message and the display time of the message displayed before the first message and the display time are greater than a preset threshold.
- the first terminal device performs the message content of the first message and the message content of the second message according to the causal time of the acquired first message and the causal time of the second message. Sorting, and displaying the message content of the first message and the message content of the second message according to the sorting.
- the causal time of the message is the coordinated world time when the message is transmitted
- the Coordinated Universal Time is not the local time of the terminal device, or the terminal device The time zone and other factors are affected. Therefore, the combined message records according to the causal time of the message can be sorted and displayed in the order in which the messages are sent and received.
- the first terminal device displays the display time of the message only when the difference between the display time of the determined message and the display time of the message displayed before the message and the display time is greater than a preset threshold, so that Not only the display time of the merged message record is increased, but also the power consumption of the first terminal device is reduced.
- the embodiment of the present invention introduces the message record merge display method provided by the embodiment of the present invention according to different application scenarios. Take different scenarios as an example, and take a mobile phone as an example for illustration.
- the message record of the mobile phone 1 includes the message content of the message a', causal time and display time, the message content of the message b', the causal time and the display time, and the message content of the message c', causality Time and display time.
- the message a' and the message c' are messages sent by the user through the mobile phone 1
- the message b' is the message received by the mobile phone 1.
- the message record of the handset 2 includes the message content of the message d', the causal time and the display time, and the message content, causal time and display time of the message e.
- the message d' and the message e are messages sent by the user through the mobile phone 2 using the same account.
- the local time of the mobile phone 1 is 16:05 pm, and the local time of the mobile phone 2 at the same time is 16:35 pm as an example.
- the mobile phone 2 should display the message content of the first transmitted message d' and the message e before the message content of the post-sent message a'.
- the mobile phone 2 performs the message contents of the message a', the message b', the message c', the message d' and the message e according to the display time of the message a', the message b', the message c', the message d' and the message e, Sorting and displaying, because the local time of the mobile phone 1 and the mobile phone 2 are inconsistent, the mobile phone 2 will first send the message d' (the display time of the message d' is 15:50 pm) and the message e (the display time of the message e is The message content at 15:52 pm is displayed after the message content of the post-sent message a' (the message a' is displayed at 15:45 pm).
- the causal time of the message is not affected by the local time of the mobile phone, therefore, the mobile phone 2 will message according to the causal time of the message a', the message b', the message c', the message d' and the message e.
- the message d' sent first (the causal time of message d' is 10:20 am) and the message do not occur.
- the message content of e (the causal time of the message e is 10:22 am) is displayed after the message content of the post-sent message a' (the causal time of the message a' is 10:45 am), and the correct sort result can be displayed.
- the preset threshold is 5 minutes as an example. Since the message d' is the sorted first message, the handset 2 displays the display time of the message d'. Since the difference between the display time of the message e and the message a' and the display time of the message d' is less than five minutes, the handset 2 does not display the display time of the message e and the message a'. Since the difference between the display time of the message b' and the display time of the message d' is greater than five minutes, the handset 2 displays the display time of the message b'. Since the difference between the display time of the message c' and the display time of the message b' is less than five minutes, the handset 2 does not display the display time of the message c'. As shown in FIG. 9, a schematic diagram of an interface after the merged message displayed on the mobile phone 2 is recorded.
- Scenario 2 is a schematic diagram of a message record of the mobile phone displayed in the mobile phone in the area 1, the message record includes a message a", a message b" and a message c". wherein the message content of the message a" For: ⁇ , the display time is 15:45 pm. The message content of message b" is: What's wrong. The message content of message c" is: None, the display time is 16:00 pm.
- the local time when the mobile phone is in the area 1 is 16:05 on December 24, after the user brings the mobile phone to the area 2, the local time of the mobile phone in the area 2 is 10:00 on the morning of December 24 as an example.
- the user logs in to the IM application on the mobile phone and sends a message d" to other user terminals after the login is successful.
- the mobile phone can determine the message content of the message d": What is busy, the display time is 10:05 am on December 24, The cause and effect time is 13:00 on December 24th.
- the mobile phone should display the message content of the post message "d" after the message content of the previously sent message c".
- the phone displays the message according to the message d"
- the message d The content of the message is displayed, and the content of the message of the post-sent message d" is displayed before the message content of the message a" sent first.
- the causal time of the message is not affected by the time zone in which the mobile phone is located. Therefore, when the mobile phone displays the message content of the message d" according to the causal time of the message c” and the causal time of the message d”, Assuming that the causal time of message c" is 11:00 am on December 24, the message content of message d" is displayed after the message content of message c".
- the mobile phone does not display the display time of the message d". As shown in the figure, the mobile phone displayed on the mobile phone is in the schematic of the message record of the area 2.
- each network element for example, a terminal device, in order to implement the above functions, includes hardware structures and/or software modules corresponding to each function.
- the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
- the embodiment of the present invention may divide the function module into the terminal device according to the foregoing method example.
- each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
- FIG. 11 shows a possible structural diagram of the terminal device involved in the above and the embodiments.
- the terminal device may be the first terminal device described above.
- the terminal device may include: an obtaining unit 31, a sorting unit 32, and a display unit 33.
- the obtaining unit 31 is configured to acquire a message record of the terminal device, and obtain a message record of the second terminal device, where the message record of the terminal device includes: a message content of the first message and a causal time of the first message, and a second
- the message record of the terminal device includes: a message content of the second message and a causal time of the second message; and is further configured to acquire a display time of the third message, where the third message is displayed before the first message, and is displayed
- the time of the message, the display time of the third message is included in the message record of the terminal device or included in the message record of the second terminal device; and is also used to obtain the display time of the fourth message, and the fourth message is displayed in the second message.
- the message showing the time is displayed before, and the display time of the fourth message is included in the message record of the terminal device or included in the message record of the second terminal device.
- the sorting unit 32 is configured to sort the message content of the first message and the message content of the second message according to the causal time of the first message acquired by the obtaining unit and the causal time of the second message.
- the display unit 33 is configured to display, according to the sorting, the message content of the first message sorted by the sorting unit and the message content of the second message, and is further configured to determine, at the determining unit, the display time of the first message and the display time of the third message. When the difference is greater than the preset threshold, the display time of the first message is displayed; and is further configured to display the second message when the determining unit determines that the difference between the display time of the second message and the display time of the fourth message is greater than a preset threshold. Display time.
- the terminal device may further include: a storage unit 34, a sending unit 35, a receiving unit 36, and a determining unit 37.
- the storage unit 34 is configured to record a causal time of the first message, where the causal time of the first message is determined according to the initial time, the first duration, and the second duration.
- the sending unit 35 is configured to send the first message to the server.
- the receiving unit 36 is configured to receive a causal time of the first message sent by the server, where the causal time of the first message is a coordinated world time when the server receives the first message, or the causal time of the first message is sent by the server to the terminal device Coordinated Universal Time at the first message.
- a determining unit 37 configured to determine a difference between a display time of the first message and a display time of the third message acquired by the acquiring unit; and configured to determine a display time of the second message and a display of the fourth message acquired by the acquiring unit The difference in time.
- the terminal device provided by the embodiment of the present invention is configured to execute the foregoing message record merge display method, so that the same effect as the above message record merge display method can be achieved.
- the disclosed apparatus and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the modules or units is only a logical function division.
- there may be another division manner for example, multiple units or components may be used.
- the combination may be integrated into another device, or some features may be ignored or not performed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a readable storage medium.
- the technical solution of the embodiments of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
- a number of instructions are included to cause a device (which may be a microcontroller, chip, etc.) or a processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a mobile hard disk, a ROM, A variety of media that can store program code, such as RAM, disk, or optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
消息内容 | 因果时间 | 显示时间 | |
消息a | 你好 | 上午9:20 | 上午10:20 |
消息内容 | 因果时间 | 显示时间 | |
消息c | 在么 | 上午9:50 | 上午10:05 |
消息内容 | 因果时间 | 显示时间 | |
消息a | 你好 | 上午9:20 | 上午10:20 |
消息b | 家里 | 下午14:45 | 下午15:45 |
消息内容 | 因果时间 | 显示时间 | |
消息c | 在么 | 上午9:50 | 上午10:05 |
消息d | 在哪 | 上午9:52 | 上午10:07 |
消息内容 | 因果时间 | 显示时间 | |
消息a’ | 吃了么 | 上午10:45 | 下午15:45 |
消息b’ | 吃了 | 上午11:00 | 下午16:00 |
消息c’ | 在工作么 | 上午11:03 | 下午16:03 |
消息内容 | 因果时间 | 显示时间 | |
消息d’ | 哈喽 | 上午10:20 | 下午15:50 |
消息e | 在干什么 | 上午10:22 | 下午15:52 |
Claims (21)
- 一种消息记录合并显示方法,其特征在于,包括:第一终端设备获取所述第一终端设备的消息记录,获取第二终端设备的消息记录,所述第一终端设备的消息记录包括:第一消息的消息内容和所述第一消息的因果时间,所述第二终端设备的消息记录包括:第二消息的消息内容和所述第二消息的因果时间;所述第一终端设备根据所述第一消息的因果时间和所述第二消息的因果时间,将所述第一消息的消息内容和所述第二消息的消息内容进行排序;所述第一终端设备根据排序显示所述第一消息的消息内容和所述第二消息的消息内容。
- 根据权利要求1所述的方法,其特征在于,所述第一消息的因果时间为传输所述第一消息时的协调世界时;所述第二消息的因果时间为传输所述第二消息时的协调世界时。
- 根据权利要求1或2所述的方法,其特征在于,所述第一消息是需所述第一终端设备发送的消息,所述方法还包括:所述第一终端设备记录所述第一消息的因果时间,所述第一消息的因果时间是根据初始时间、第一持续时间和第二持续时间确定的;其中,所述初始时间为所述第一终端设备登录即时通信IM应用成功时的协调世界时,所述第一持续时间为所述第一终端设备从起始时刻到登录所述IM应用成功时的持续时间,所述起始时刻为所述第一终端设备开机的时刻,所述第二持续时间为所述第一终端设备从所述起始时刻到检测到需发送所述第一消息时的持续时间。
- 根据权利要求1或2所述的方法,其特征在于,所述第一消息是需所述第一终端设备发送的消息,所述方法还包括:所述第一终端设备向服务器发送所述第一消息;所述第一终端设备接收所述服务器发送的所述第一消息的因果时间,所述第一消息的因果时间为所述服务器接收到所述第一消息时的协调世界时。
- 根据权利要求1或2所述的方法,其特征在于,所述第一消息是所述第一终端设备接收到的消息,所述方法还包括:所述第一终端设备接收服务器发送的所述第一消息的因果时间,所述第一消息的因果时间为所述服务器向所述第一终端设备发送所述第一消息时的协调世界时。
- 根据权利要求1-5中任一项所述的方法,其特征在于,所述第一终端设备的消息记录还包括所述第一消息的显示时间,所述方法还包括:所述第一终端设备获取第三消息的显示时间,所述第三消息是显示在所述第一消息之前、且被显示了显示时间的消息,所述第三消息的显示时间包括在所述第一终端设备的消息记录中或包括在所述第二终端设备的消息记录中;所述第一终端设备在确定所述第一消息的显示时间和所述第三消息的显示时间的差值大于预设阈值时,显示所述第一消息的显示时间。
- 根据权利要求1-6中任一项所述的方法,其特征在于,所述第二终端设备的消息记录还包括所述第二消息的显示时间,所述方法还包括:所述第一终端设备获取第四消息的显示时间,所述第四消息是显示在所述第二消 息之前、且被显示了显示时间的消息,所述第四消息的显示时间包括在所述第一终端设备的消息记录中或包括在所述第二终端设备的消息记录中;所述第一终端设备在确定所述第二消息的显示时间和所述第四消息的显示时间的差值大于预设阈值时,显示所述第二消息的显示时间。
- 一种终端设备,其特征在于,所述终端设备包括:处理器和显示器;所述处理器,用于获取所述终端设备的消息记录,获取第二终端设备的消息记录,所述终端设备的消息记录包括:第一消息的消息内容和所述第一消息的因果时间,所述第二终端设备的消息记录包括:第二消息的消息内容和所述第二消息的因果时间;根据所述第一消息的因果时间和所述第二消息的因果时间,将所述第一消息的消息内容和所述第二消息的消息内容进行排序;所述显示器,用于根据所述处理器的排序显示所述第一消息的消息内容和所述第二消息的消息内容。
- 根据权利要求8所述的终端设备,其特征在于,所述第一消息的因果时间为传输所述第一消息时的协调世界时;所述第二消息的因果时间为传输所述第二消息时的协调世界时。
- 根据权利要求8或9所述的终端设备,其特征在于,所述第一消息是需所述终端设备发送的消息,所述终端设备还包括:存储器;所述存储器,用于记录所述第一消息的因果时间,所述第一消息的因果时间是根据初始时间、第一持续时间和第二持续时间确定的;其中,所述初始时间为所述终端设备登录即时通信IM应用成功时的协调世界时;所述第一持续时间为所述终端设备从起始时刻到登录所述IM应用成功时的持续时间,所述起始时刻为所述终端设备开机的时刻;所述第二持续时间为所述终端设备从所述起始时刻到检测到需发送所述第一消息时的持续时间。
- 根据权利要求8或9所述的终端设备,其特征在于,所述第一消息是需所述终端设备发送的消息,所述终端设备还包括:射频RF电路;所述RF电路,用于向服务器发送所述第一消息;接收所述服务器发送的所述第一消息的因果时间,所述第一消息的因果时间为所述服务器接收到所述第一消息时的协调世界时。
- 根据权利要求8或9所述的终端设备,其特征在于,所述第一消息是所述终端设备接收到的消息,所述终端设备还包括:射频RF电路;所述RF电路,用于接收服务器发送的所述第一消息的因果时间,所述第一消息的因果时间为所述服务器向所述终端设备发送所述第一消息时的协调世界时。
- 根据权利要求8-12中任一项所述的终端设备,其特征在于,所述终端设备的消息记录还包括所述第一消息的显示时间;所述处理器,还用于获取第三消息的显示时间,所述第三消息是显示在所述第一消息之前、且被显示了显示时间的消息,所述第三消息的显示时间包括在所述终端设备的消息记录中或包括在所述第二终端设备的消息记录中;确定所述第一消息的显示时间和所述第三消息的显示时间的差值;所述显示器,还用于在所述处理器确定出所述第一消息的显示时间和所述第三消 息的显示时间的差值大于预设阈值时,显示所述第一消息的显示时间。
- 根据权利要求8-13中任一项所述的终端设备,其特征在于,所述第二终端设备的消息记录还包括所述第二消息的显示时间;所述处理器,还用于获取第四消息的显示时间,所述第四消息是显示在所述第二消息之前、且被显示了显示时间的消息,所述第四消息的显示时间包括在所述终端设备的消息记录中或包括在所述第二终端设备的消息记录中;确定所述第二消息的显示时间和所述第四消息的显示时间的差值;所述显示器,还用于在所述处理器确定出所述第二消息的显示时间和所述第四消息的显示时间的差值大于预设阈值时,显示所述第二消息的显示时间。
- 一种终端设备,其特征在于,所述终端设备包括:获取单元、排序单元和显示单元;所述获取单元,用于获取所述终端设备的消息记录,获取第二终端设备的消息记录,所述终端设备的消息记录包括:第一消息的消息内容和所述第一消息的因果时间,所述第二终端设备的消息记录包括:第二消息的消息内容和所述第二消息的因果时间;所述排序单元,用于根据所述获取单元获取到的所述第一消息的因果时间和所述第二消息的因果时间,将所述获取单元获取到的所述第一消息的消息内容和所述第二消息的消息内容进行排序;所述显示单元,用于根据所述排序单元的排序显示所述第一消息的消息内容和所述第二消息的消息内容。
- 根据权利要求15所述的终端设备,其特征在于,所述第一消息的因果时间为传输所述第一消息时的协调世界时;所述第二消息的因果时间为传输所述第二消息时的协调世界时。
- 根据权利要求15或16所述的终端设备,其特征在于,所述第一消息是需所述终端设备发送的消息,所述终端设备还包括:存储单元;所述存储单元,用于记录所述第一消息的因果时间,所述第一消息的因果时间是根据初始时间、第一持续时间和第二持续时间确定的;其中,所述初始时间为所述终端设备登录即时通信IM应用成功时的协调世界时;所述第一持续时间为所述终端设备从起始时刻到登录所述IM应用成功时的持续时间,所述起始时刻为所述终端设备开机的时刻;所述第二持续时间为所述终端设备从所述起始时刻到检测到需发送所述第一消息时的持续时间。
- 根据权利要求15或16所述的终端设备,其特征在于,所述第一消息是需所述终端设备发送的消息,所述终端设备还包括:发送单元和接收单元;所述发送单元,用于向服务器发送所述第一消息;所述接收单元,用于接收所述服务器发送的所述第一消息的因果时间,所述第一消息的因果时间为所述服务器接收到所述第一消息时的协调世界时。
- 根据权利要求15或16所述的终端设备,其特征在于,所述第一消息是所述终端设备接收到的消息,所述终端设备还包括:接收单元;所述接收单元,用于接收服务器发送的所述第一消息的因果时间,所述第一消息的因果时间为所述服务器向所述终端设备发送所述第一消息时的协调世界时。
- 根据权利要求15-19中任一项所述的终端设备,其特征在于,所述获取单元获取到的所述终端设备的消息记录还包括所述第一消息的显示时间,所述终端设备还包括:确定单元;所述获取单元,还用于获取第三消息的显示时间,所述第三消息是显示在所述第一消息之前、且被显示了显示时间的消息,所述第三消息的显示时间包括在所述终端设备的消息记录中或包括在所述第二终端设备的消息记录中;所述确定单元,用于确定所述第一消息的显示时间和所述获取单元获取到的所述第三消息的显示时间的差值;所述显示单元,还用于在所述确定单元确定出所述第一消息的显示时间和所述第三消息的显示时间的差值大于预设阈值时,显示所述第一消息的显示时间。
- 根据权利要求15-20中任一项所述的终端设备,其特征在于,所述第二终端设备的消息记录还包括所述第二消息的显示时间;所述获取单元,还用于获取第四消息的显示时间,所述第四消息是显示在所述第二消息之前、且被显示了显示时间的消息,所述第四消息的显示时间包括在所述终端设备的消息记录中或包括在所述第二终端设备的消息记录中;所述确定单元,还用于确定所述第二消息的显示时间和所述获取单元获取到的所述第四消息的显示时间的差值;所述显示单元,还用于在所述确定单元确定出所述第二消息的显示时间和所述第四消息的显示时间的差值大于预设阈值时,显示所述第二消息的显示时间。
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201780003467.3A CN108235803B (zh) | 2017-01-25 | 2017-01-25 | 一种消息记录合并显示方法及终端设备 |
BR112019015131-1A BR112019015131A2 (pt) | 2017-01-25 | 2017-01-25 | Método de exibição e combinação de registro de mensagem e dispositivo terminal |
PCT/CN2017/072682 WO2018137207A1 (zh) | 2017-01-25 | 2017-01-25 | 一种消息记录合并显示方法及终端设备 |
JP2019540069A JP6931706B2 (ja) | 2017-01-25 | 2017-01-25 | メッセージレコードの結合と表示方法、および端末装置 |
AU2017395968A AU2017395968B2 (en) | 2017-01-25 | 2017-01-25 | Message record combination and display method and terminal device |
US16/480,971 US11057329B2 (en) | 2017-01-25 | 2017-01-25 | Message record combination and display method and terminal device |
EP17894045.8A EP3567811A4 (en) | 2017-01-25 | 2017-01-25 | MERGED DISPLAY METHOD FOR MESSAGE RECORDINGS, AND TERMINAL DEVICE |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/072682 WO2018137207A1 (zh) | 2017-01-25 | 2017-01-25 | 一种消息记录合并显示方法及终端设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018137207A1 true WO2018137207A1 (zh) | 2018-08-02 |
Family
ID=62643351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/072682 WO2018137207A1 (zh) | 2017-01-25 | 2017-01-25 | 一种消息记录合并显示方法及终端设备 |
Country Status (7)
Country | Link |
---|---|
US (1) | US11057329B2 (zh) |
EP (1) | EP3567811A4 (zh) |
JP (1) | JP6931706B2 (zh) |
CN (1) | CN108235803B (zh) |
AU (1) | AU2017395968B2 (zh) |
BR (1) | BR112019015131A2 (zh) |
WO (1) | WO2018137207A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124199A (zh) * | 2019-11-21 | 2020-05-08 | 维沃移动通信有限公司 | 一种消息显示方法及第一电子设备 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7447495B2 (ja) * | 2020-01-08 | 2024-03-12 | 富士フイルムビジネスイノベーション株式会社 | 情報処理装置及びプログラム |
CN111669316B (zh) * | 2020-06-19 | 2022-04-26 | 厦门亿联网络技术股份有限公司 | 即时消息处理方法、装置、设备、服务器及存储介质 |
CN115037835A (zh) * | 2022-06-14 | 2022-09-09 | 中国电信股份有限公司 | 一种消息显示方法、系统、装置、终端及介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050193345A1 (en) * | 2004-02-27 | 2005-09-01 | Research In Motion Limited | System and method for message display and management |
CN101416207A (zh) * | 2006-02-06 | 2009-04-22 | 谷歌公司 | 具有电子邮件和聊天消息两者的集成对话 |
CN102035756A (zh) * | 2009-10-07 | 2011-04-27 | 捷讯研究有限公司 | 用于提供时区作为即时消息收发存在的系统和方法 |
CN102447778A (zh) * | 2010-10-13 | 2012-05-09 | 腾讯科技(深圳)有限公司 | 一种展示消息的方法及消息展示装置 |
CN103167172A (zh) * | 2013-02-08 | 2013-06-19 | 广州三星通信技术研究有限公司 | 将多种聊天记录整合的方法和系统 |
US20150149561A1 (en) * | 2013-11-26 | 2015-05-28 | International Business Machines Corporation | Time conversion in an instant message |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010029455A1 (en) * | 2000-03-31 | 2001-10-11 | Chin Jeffrey J. | Method and apparatus for providing multilingual translation over a network |
US7133568B2 (en) * | 2000-08-04 | 2006-11-07 | Nikitin Alexei V | Method and apparatus for analysis of variables |
CN100473012C (zh) * | 2006-03-28 | 2009-03-25 | 腾讯科技(深圳)有限公司 | 一种消息记录合并方法及客户端 |
US7761525B2 (en) * | 2007-08-23 | 2010-07-20 | International Business Machines Corporation | System and method for providing improved time references in documents |
CN101730004A (zh) * | 2009-10-30 | 2010-06-09 | 中兴通讯股份有限公司 | 实现消息时间处理的方法及系统 |
CN103139259A (zh) * | 2011-11-30 | 2013-06-05 | 百度在线网络技术(北京)有限公司 | 一种实现低流量同步消息记录的方法和服务器 |
CN103377221B (zh) | 2012-04-24 | 2016-06-01 | 富士通株式会社 | 消息整合装置、消息整合方法以及电子设备 |
CN103812755A (zh) | 2012-11-12 | 2014-05-21 | 腾讯科技(深圳)有限公司 | 一种即时通讯应用中的消息同步方法及装置 |
JP6194459B2 (ja) | 2012-11-26 | 2017-09-13 | 株式会社コナミデジタルエンタテインメント | 表示装置、およびプログラム |
JP6296692B2 (ja) | 2013-03-29 | 2018-03-20 | 株式会社バンダイナムコエンターテインメント | サーバシステム |
JP2014198169A (ja) | 2013-03-29 | 2014-10-23 | 株式会社バンダイナムコゲームス | サーバシステム |
CN104734940A (zh) * | 2013-12-23 | 2015-06-24 | 华为技术有限公司 | 一种用于即时通讯工具的信息显示方法和用户终端 |
KR102249147B1 (ko) * | 2014-03-29 | 2021-05-07 | 삼성전자주식회사 | 복합 네트워크에서 멀티미디어 데이터 관련 정보를 송수신하기 위한 장치 및 방법과 그 구조 |
US20160224538A1 (en) | 2015-01-30 | 2016-08-04 | First Advantage Litigation Consulting Dba Consilio | Systems and methods for electronic document review |
JP2016212878A (ja) | 2015-05-08 | 2016-12-15 | Line株式会社 | メッセンジャーの表示制御方法及び通信端末 |
CN105471716A (zh) * | 2015-12-17 | 2016-04-06 | 网易(杭州)网络有限公司 | 实现跨客户端消息同步的方法、用户设备及服务器 |
-
2017
- 2017-01-25 AU AU2017395968A patent/AU2017395968B2/en active Active
- 2017-01-25 CN CN201780003467.3A patent/CN108235803B/zh active Active
- 2017-01-25 BR BR112019015131-1A patent/BR112019015131A2/pt unknown
- 2017-01-25 US US16/480,971 patent/US11057329B2/en active Active
- 2017-01-25 JP JP2019540069A patent/JP6931706B2/ja active Active
- 2017-01-25 WO PCT/CN2017/072682 patent/WO2018137207A1/zh unknown
- 2017-01-25 EP EP17894045.8A patent/EP3567811A4/en not_active Ceased
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050193345A1 (en) * | 2004-02-27 | 2005-09-01 | Research In Motion Limited | System and method for message display and management |
CN101416207A (zh) * | 2006-02-06 | 2009-04-22 | 谷歌公司 | 具有电子邮件和聊天消息两者的集成对话 |
CN102035756A (zh) * | 2009-10-07 | 2011-04-27 | 捷讯研究有限公司 | 用于提供时区作为即时消息收发存在的系统和方法 |
CN102447778A (zh) * | 2010-10-13 | 2012-05-09 | 腾讯科技(深圳)有限公司 | 一种展示消息的方法及消息展示装置 |
CN103167172A (zh) * | 2013-02-08 | 2013-06-19 | 广州三星通信技术研究有限公司 | 将多种聊天记录整合的方法和系统 |
US20150149561A1 (en) * | 2013-11-26 | 2015-05-28 | International Business Machines Corporation | Time conversion in an instant message |
Non-Patent Citations (1)
Title |
---|
See also references of EP3567811A4 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124199A (zh) * | 2019-11-21 | 2020-05-08 | 维沃移动通信有限公司 | 一种消息显示方法及第一电子设备 |
Also Published As
Publication number | Publication date |
---|---|
AU2017395968A1 (en) | 2019-08-22 |
JP2020509460A (ja) | 2020-03-26 |
CN108235803A (zh) | 2018-06-29 |
US11057329B2 (en) | 2021-07-06 |
BR112019015131A2 (pt) | 2020-03-24 |
JP6931706B2 (ja) | 2021-09-08 |
AU2017395968B2 (en) | 2020-12-10 |
US20200007483A1 (en) | 2020-01-02 |
EP3567811A4 (en) | 2019-12-18 |
CN108235803B (zh) | 2022-05-13 |
EP3567811A1 (en) | 2019-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110622123B (zh) | 一种显示方法及装置 | |
WO2016169465A1 (zh) | 一种显示弹幕信息的方法、装置和系统 | |
CN106059894B (zh) | 一种消息处理方法和装置 | |
KR102249413B1 (ko) | 이미지 공유 방법 및 전자 디바이스 | |
US11740851B2 (en) | Display method and apparatus | |
WO2018137207A1 (zh) | 一种消息记录合并显示方法及终端设备 | |
WO2018232758A1 (zh) | 一种rcs通信方法及设备 | |
CN108345422A (zh) | 应用控制方法、装置、移动终端及计算机可读介质 | |
WO2020103070A1 (zh) | 一种对应用程序进行处理的方法、装置和电子设备 | |
CN109240551A (zh) | 使用手势控制电子装置的方法及相关产品 | |
CN104809055B (zh) | 一种基于云平台的应用程序测试方法和装置 | |
CN108536415A (zh) | 应用音量控制方法、装置、移动终端及计算机可读介质 | |
CN106488391B (zh) | 一种数据迁移方法及终端设备 | |
KR101876394B1 (ko) | 단말기에 미디어 데이터를 재생하는 방법 및 장치 | |
US11147038B2 (en) | Notification message processing method and terminal | |
WO2017008613A1 (zh) | 一种推荐内容推送方法、装置及其终端、服务器和系统 | |
CN107479811A (zh) | 在会话期间建立与管理会议、记录会议的方法以及移动终端 | |
CN104168179A (zh) | 一种发送信息的方法及装置 | |
WO2015078409A1 (zh) | 收集信息的方法、装置、终端及系统 | |
CN107908664A (zh) | 信息推送方法、装置、移动终端和可读存储介质 | |
CN107689909B (zh) | 用户显示方法及装置 | |
CN109189296A (zh) | 截屏方法、装置、移动终端以及存储介质 | |
CN108769093A (zh) | 软件应用商店的推送方法、装置以及移动终端 | |
CN108833660A (zh) | 停车位信息处理方法、装置以及移动终端 | |
CN111163221B (zh) | 群组通讯录更新方法、装置、存储介质及终端设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17894045 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2019540069 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112019015131 Country of ref document: BR |
|
ENP | Entry into the national phase |
Ref document number: 2017894045 Country of ref document: EP Effective date: 20190808 |
|
ENP | Entry into the national phase |
Ref document number: 2017395968 Country of ref document: AU Date of ref document: 20170125 Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 112019015131 Country of ref document: BR Kind code of ref document: A2 Effective date: 20190723 |