WO2017028577A1 - 群组聊天内容显示方法及装置 - Google Patents

群组聊天内容显示方法及装置 Download PDF

Info

Publication number
WO2017028577A1
WO2017028577A1 PCT/CN2016/082744 CN2016082744W WO2017028577A1 WO 2017028577 A1 WO2017028577 A1 WO 2017028577A1 CN 2016082744 W CN2016082744 W CN 2016082744W WO 2017028577 A1 WO2017028577 A1 WO 2017028577A1
Authority
WO
WIPO (PCT)
Prior art keywords
specified
user
user name
group
message
Prior art date
Application number
PCT/CN2016/082744
Other languages
English (en)
French (fr)
Inventor
张雷
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2017028577A1 publication Critical patent/WO2017028577A1/zh
Priority to US15/793,341 priority Critical patent/US11068551B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences

Definitions

  • the invention belongs to the field of internet communication technologies, and in particular relates to a group chat content display method and device.
  • the embodiment of the invention provides a group chat content display method and device, which aims to solve the problem that the group chat in the prior art cannot quickly view the missing message.
  • An embodiment of the present invention provides a group chat content display method, where the method includes the following steps: receiving a query message that is input by a user and carrying a specified user name; and sending the query message to a server to request the specified user name Corresponding history chat record list; receiving a history chat record list sent by the server according to the specified user name; and displaying the history chat record list.
  • the embodiment of the invention further provides a group chat content display device, the device comprising:
  • the query message receiving module is configured to receive a query message that is input by the user and that carries the specified user name
  • the request sending module is configured to send the query message to the server to request a historical chat record list corresponding to the specified user name
  • a receiving module configured to receive a historical chat record list that is sent by the server according to the specified user name
  • a display module configured to display the historical chat record list.
  • the input query message carrying the specified user name is sent to the server, and the historical chat record list corresponding to the specified user name is requested, and the The historical chat history list is displayed, so that the recent history chat record of the specified user name can be effectively and quickly viewed.
  • FIG. 1 is a structural block diagram of an electronic terminal according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a group chat content display method according to a first embodiment of the present invention.
  • FIG. 3 is a flowchart of a group chat content display method according to a second embodiment of the present invention.
  • FIG. 4 is a schematic diagram of group chat content display in an example according to a second embodiment of the present invention.
  • FIG. 5 is a schematic diagram of group chat content display in another example according to a second embodiment of the present invention.
  • FIG. 6 is a schematic diagram of group chat content display in still another example according to a second embodiment of the present invention.
  • FIG. 7 is a flowchart of a group chat content display method according to a third embodiment of the present invention.
  • FIG. 8 is a flowchart of a group chat content display method according to a fourth embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a group chat content display apparatus according to a fifth embodiment of the present invention.
  • FIG. 10 is a structural block diagram of a group chat content display apparatus according to a sixth embodiment of the present invention.
  • FIG. 11 is a structural block diagram of a group chat content display apparatus according to a seventh embodiment of the present invention.
  • FIG. 12 is a structural block diagram of a group chat content display apparatus according to an eighth embodiment of the present invention.
  • the group chat content display method and apparatus provided by the embodiments of the present invention can be used in an electronic terminal.
  • FIG. 1 is a structural block diagram of an electronic terminal according to an embodiment of the present invention.
  • the electronic terminal 100 includes one or more (only one shown) processor 102 , memory 104 , memory controller 106 , peripheral interface 108 , RF (Radio Frequency) module 110 , network Module 112, sensor 114, input module 116, and display module 118.
  • RF Radio Frequency
  • FIG. 1 is merely illustrative, and does not limit the structure of the electronic terminal 100.
  • the electronic terminal 100 may also include more or less components than those shown in FIG. 1, or have a different configuration than that shown in FIG.
  • Specific examples of the above-described electronic terminal 100 include, but are not limited to, a handheld computer, a mobile phone, a media player, an in-vehicle device, a personal digital assistant, and various combinations of the foregoing devices.
  • peripheral interface 108 can be implemented based on the following standards: Universal Asynchronous Receiver/Transmitter (UART), General Purpose Input Output (GPIO), Serial Peripheral Interface (SPI) ), Inter-Integrated Circuit (I2C), but is not limited to the above standards.
  • peripheral interface 108 may only include a bus; in other examples, peripheral interface 108 may also include other components, such as one or more controllers, such as a display controller for connecting a liquid crystal display panel or A memory controller 106 for connecting to a memory. In addition, these controllers can also be detached from the peripheral interface 108 and integrated into the processor 102 or within a corresponding peripheral.
  • the memory 104 can be used to store software programs and modules, such as program instructions/modules corresponding to the group chat content display method/device in the embodiment of the present invention, and the processor 102 executes by executing software programs and modules stored in the memory 104.
  • Memory 104 may include high speed random access memory, and may also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 104 may further include memory remotely located relative to processor 102, which may be connected to electronic terminal 100 over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the RF module 110 is configured to receive and transmit electromagnetic waves, and realize mutual conversion between electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices.
  • the RF module 110 can include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, a memory, and the like.
  • SIM Subscriber Identity Module
  • the RF module 110 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices over a wireless network.
  • the wireless network described above may include a cellular telephone network, a wireless local area network, or a metropolitan area network.
  • the above wireless network can use various communication standards, Protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband code division multiple access (wideband code division multiple access, W-CDMA), Code division access (CDMA), time division multiple access (TDMA), wireless fidelity (Wireless, Fidelity, WiFi) (such as the American Institute of Electrical and Electronics Engineers) Standard IEEE 802.11a, IEEE 802.11b, IEEE 802.11g and/or IEEE 802.11n), Voice over internet protocal (VoIP), Worldwide Interoperability for Microwave Access (Wi-Max), other uses
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Data GSM Environment
  • W-CDMA wideband code division multiple access
  • CDMA Code division access
  • TDMA time division multiple access
  • WiFi wireless fidelity
  • VoIP Voice over internet protocal
  • Wi-Max Worldwide Interoperability for Microwave Access
  • Network module 112 is for receiving and transmitting network signals.
  • the above network signal may include a wireless signal or a wired signal.
  • the network signal is a WiFi signal. Since the working frequency of the WiFi is also in the frequency band of the radio frequency, the network module may have a hardware structure similar to the RF module 110, and may include an antenna, a radio frequency transceiver, and a digital signal. Processor, encryption/decryption chip and other components.
  • the network signal is a wired network signal.
  • network module 112 may include elements such as a processor, a random access memory, a converter, a crystal oscillator, and the like.
  • sensors 114 include, but are not limited to, light sensors, operational sensors, and other sensors.
  • the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can sense the brightness of the ambient light such that some modules executed by the processor 102 can utilize the output of the ambient light sensor to automatically adjust the displayed output.
  • the proximity sensor can turn off the display output when the electronic terminal 100 moves to the ear.
  • the gravity acceleration sensor can detect the acceleration of each direction (usually three axes). When it is still, it can detect the magnitude and direction of gravity. It can be used to identify the posture of the mobile phone (such as horizontal and vertical).
  • the input module 116 can be configured to receive input character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • the input module 116 can include a button and a touch surface.
  • the keys may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of control buttons include a "return to main screen" button, a power on/off button, a camera button, and the like.
  • the touch surface can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on any suitable object or accessory on or near the touch surface), and according to a preset
  • the program drives the corresponding connection device.
  • the touch surface may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller;
  • the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 102 is provided and can receive commands from the processor 102 and execute them.
  • touch surfaces can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input module 116 can also include other input devices. Other input devices described above include, but are not limited to, one or more of a physical keyboard, a trackball, a mouse, a joystick, and the like.
  • the display module 118 is for displaying information input by the user, information provided to the user, and various graphical user interfaces of the electronic terminal 100, which may be composed of graphics, text, icons, video, and any combination thereof.
  • display module 118 includes a display panel.
  • the display panel can be, for example, a liquid crystal display (LCD), an Organic Light-Emitting Diode Display (OLED), an Electro-Phetic Display (EPD), or the like.
  • the touch surface can be disposed on the display panel to form a whole with the display panel. body.
  • display module 118 may also include other types of display devices, including, for example, a projection display device.
  • the projection display device also needs to include some components for projection such as a lens group as compared to a general display panel.
  • the above software program and module include: an operating system and a chat content display module.
  • the operating system may be, for example, LINUX, UNIX, WINDOWS, or a mobile operating system such as Android, IOS, etc., which may include various functions for managing system (such as memory management, storage device control, power management, etc.)
  • Software components and / or drivers and can communicate with various hardware or software components to provide an operating environment for other software components.
  • the chat content display module runs on the basis of the operating system for displaying the display of the chat content in the group of the electronic terminal 100.
  • FIG. 2 is a flowchart of a group chat content display method according to a first embodiment of the present invention.
  • the method in this embodiment can be used in the electronic terminal 100 shown in FIG.
  • the method includes the following steps:
  • Step S101 Receive a query message that is input by a user and carries a specified user name.
  • the group may be any instant conversation group of more than two members. For example, QQ groups, discussion groups, and the like.
  • the method of this embodiment is used in a group session. Since group members are different from one-on-one private conversations, there may be different topics between different members. Therefore, the chat of two or more people in the group is likely to be interrupted by other topics.
  • the query message is received through a group session window input box. Further, the query message is a specified format string.
  • the specified format string carries a specified user name corresponding to the historical chat record that the user wants to query, and may receive the specified format string in a window that receives a user input character, such as a group session window input box.
  • the specified format string includes a first preset character, a specified user name, and a second preset character, wherein the first preset character and the second preset character may be the same or different.
  • the specified format string may be "@specified username@", or "#specified username #”, and the like.
  • Step S102 Send the query message to the server to request a historical chat record list corresponding to the specified user name.
  • the query message is sent to the server to request a historical chat record list corresponding to the specified user name.
  • the window receiving the user input character automatically sends a request for the history chat record list to the server by default.
  • the historical chat record list is a recent chat record
  • the chat record list of the specified time period may be set according to actual needs. For example, the specified time period may be within one hour or half a day from the current time. Further, the specified time period is a time range set by the system. Further, only the chat content posted in the group last time corresponding to the specified user name may be acquired.
  • the query message is sent to the server, it may not be displayed in the sent message display window of the group chat window.
  • Step S103 Receive a historical chat record list that is sent by the server according to the specified user name.
  • the server pulls the historical chat record list within a specified time period from the database according to the query message.
  • Step S104 Display the history chat record list.
  • the history chat record list is a chat record list corresponding to the specified user name in a specified time period, for example, may be a chat record list of the request day, or may be a chat record list within one hour,
  • the chat content posted in the group last time corresponding to the specified user name may be acquired only.
  • the historical chat record is displayed in a window for receiving a user inputting chat content, such as a group session window input box, which is only for the user to view.
  • the input query message carrying the specified user name is sent. Sending to the server, requesting a history chat record list corresponding to the specified user name, and displaying the history chat record list. Thereby, it is possible to quickly and quickly view the latest history chat history of the specified user name.
  • FIG. 3 is a flowchart of a method for displaying a group chat content according to a second embodiment of the present invention. This embodiment is similar to the technical solution of the first embodiment. As shown in FIG. 3, the method in this embodiment includes the following steps:
  • Step S101 Receive a query message that is input by a user and carries a specified user name.
  • FIG. 4 is a schematic diagram of group chat content display in an example according to a second embodiment of the present invention.
  • the transmitted message display window 11 displays the chat history that the members of the group have sent. This includes topics related to raising dogs between users with the user name "Lan” and users with the user name “Yutian”. Since the topic about raising a dog is interrupted by the topic of other group members, if the user named "Lan” wants to continue the topic about raising a dog, it is necessary to obtain the content of the reply of the user whose previous user name is "Yutian”. . As shown in FIG.
  • the query message is input in the receiving user input character window 12, for example, the character string "@Yutian@” as shown in FIG.
  • the character string "@Yutian@” may be another specified format string carrying the user name "Yutian", for example, "#Yutian#”.
  • Step S102 Send the query message to the server to request a historical chat record list corresponding to the specified user name.
  • the query message is a specified format string.
  • Step S103 Receive a historical chat record list that is sent by the server according to the specified user name.
  • Step S104 Display the history chat record list.
  • FIG. 5 is a schematic diagram of group chat content display in another example according to a second embodiment of the present invention.
  • the display is performed in the receiving user input character window 12.
  • the history chat The record is displayed in the receiving user input character window 12, and displays a list of historical chat records sent by the user named "Yutian” in the group: "Good way, what do you eat?", " Historical message 1" and "Historical message 2", etc.
  • Steps S101 to S104 are similar to the first embodiment. For further details, reference may be made to the first embodiment, and details are not described herein again.
  • Step S105 Receive a reply message input by the user according to the historical chat record list.
  • the user may reply to the historical message "Well, what do you want to eat?” in the history chat history list displayed by the user input character window 12 as shown in FIG. For example, replying to the message "It is enough to leave a bowl of rice.”
  • the historical chat record displayed by the receiving user input character window 12 is also sent to the server along with the reply message.
  • Step S106 Send the reply message to the server, so that the server sends the reply message to the corresponding account of the group.
  • FIG. 6 is a schematic diagram of group chat content display in still another example according to a second embodiment of the present invention.
  • the content of the reply message can be "Respond to Yutian. Good way, what do you want to eat?--It is enough to leave a bowl of rice.”
  • By automatically adding content “Respond to Yutian. Good way, that gives What to eat?”, so that the required reply message is targeted, and it is convenient for the members in the group to distinguish which group member of the reply message is to receive.
  • the method further includes transmitting the reply message to the server to cause the server to send the reply message to a corresponding account of the specified username.
  • the reply message can also be "returned to Yutian. Good way, what do you want to eat?--It is enough to leave a bowl of rice.” Send it directly to the user named "Yutian”. account.
  • the chat content between the user and the designated user corresponding to the specified user name may be made more consistent, and Interrupted because the other members of the group were inserted into the session.
  • FIG. 7 is a flowchart of a group chat content display method according to a third embodiment of the present invention. This embodiment is similar to the technical solution of the first embodiment. As shown in FIG. 7, the method in this embodiment includes the following steps:
  • Step S101 Receive a query message that is input by a user and carries a specified user name.
  • the query message carrying the specified user name is a specified format string, where the specified format string includes a first preset character, a specified user name, and a second preset character, wherein the first preset The character and the second preset character may be the same or different.
  • the specified format string may be: "@specify username@" or "#specify username#”.
  • the specified format string may be a string of other formats carrying the specified username, and the present invention does not limit the format of the string.
  • step S101 includes:
  • Step S1011 receiving a first preset character input by the user.
  • the first preset character is "@”.
  • Step S1012 Display a group member user name participating in the group chat for a specified time period.
  • the receiving user input character window displays the user name of the group chat person who participated in the group or the latest time period.
  • the specified time period may be within one hour of the current time, or within a half day, and the like. Further, the specified time period is a time range set by the system.
  • the receiving user input character window 12 receives the first "@” character input by the user, the user name “Yutian” is displayed in the receiving user input character window 12. , “Rex” and "Jimmy” and so on.
  • Step S1013 Receive the specified user name selected by the user, and display the specified user name after the first preset character. For example, the specified username is displayed after "@".
  • the user can select from the displayed user names.
  • the result is "@Yutian”.
  • Step S1014 Receive a second preset character that is input by the user after the displayed specified user name.
  • the second preset character is "@".
  • the query message is sent to the server to request a history chat record list corresponding to the specified user name.
  • Step S102 Send the query message to the server to request a historical chat record list corresponding to the specified user name.
  • the query message is a specified format string.
  • Step S103 Receive a historical chat record list that is sent by the server according to the specified user name.
  • Step S104 Display the history chat record list.
  • the group member user name who recently participated in the group chat can be directly obtained, so that the user can directly select the specified user name, and input the specified format character.
  • the string can directly pull the historical chat record corresponding to the specified username. Further, the historical chat record is the latest chat content, and even in a large group, if the session content is updated quickly, the previously overwhelmed chat record can be quickly viewed.
  • FIG. 8 is a flowchart of a group chat content display method according to a fourth embodiment of the present invention. This embodiment is similar to the technical solution of the first embodiment. As shown in FIG. 8, the method in this embodiment includes the following steps:
  • Step S101 Receive a query message that is input by a user and carries a specified user name.
  • Step S102 Send the query message to the server to request a historical chat record list corresponding to the specified user name.
  • the query message is a specified format string.
  • Step S103 Receive a historical chat record list that is sent by the server according to the specified user name.
  • Step S104 Display the historical chat record.
  • step S104 includes:
  • Step S1041 Display the historical chat record list in the group chat window input box.
  • the historical chat record is displayed in the receiving user input character window 12, and the historical chat record sent by the user named "Yutian” in the group is displayed, which may include: “Good way, what do you want to eat?", "History News 1" and "History News 2".
  • Step S1042 Receive a history chat record selected by the user from the history chat record list.
  • the receiving user inputs a message displayed by the character window 12, "Good way, what do you want to eat?", "Historical message 1", and “Historical message 2" are fonts that can trigger a specified operation. .
  • it can be a blue clickable font.
  • the specified operation is a receiving operation of receiving a user. If an operation of the user clicking the "good way, what do you want to eat?" message is received, the other two messages "history message 1" and “history message 2" displayed in the receiving user input character window 12 are cancelled.
  • Step S1043 Display the historical chat record in a preset format.
  • the format of the message selected by the user can also be changed. For example, if the message "Good way, what do you want to eat?" is selected by the user, the update is displayed as "Reply Yutian. Good way, what do you want to eat?".
  • the method further includes receiving reply information input by the user for the historical chat record.
  • the specified historical chat record displayed by the preset format is sent to the server as the user sends a reply message, and is sent by the server to the corresponding account of the group (as shown in FIG. 6) or The corresponding account for the specified username.
  • the obtained chat content is displayed in a specified manner, so that the user can respond to the group chat in a targeted manner, thereby improving the user experience.
  • FIG. 9 is a structural block diagram of a group chat content display apparatus according to a fifth embodiment of the present invention.
  • the apparatus of this embodiment includes: a query message receiving module 201, a request sending module 202, and a record receiving module. 203 and display module 204;
  • the query message receiving module 201 is configured to receive a query message that is input by the user and that carries the specified user name.
  • the request sending module 202 is configured to send the query message to the server to request a historical chat record list corresponding to the specified user name.
  • the query message is a specified format string.
  • the record receiving module 203 is configured to receive a history chat record list that is sent by the server according to the specified user name.
  • the display module 204 is configured to display the historical chat record list.
  • the input query message carrying the specified user name is sent to the server to request a historical chat record list corresponding to the specified user name, and the historical chat record list is displayed, thereby enabling Effectively quickly view recent history chats for a given username.
  • FIG. 10 is a structural block diagram of a group chat content display apparatus according to a sixth embodiment of the present invention.
  • the present embodiment is similar to the technical solution of the second embodiment, except that the apparatus further includes: message receiving.
  • the module 205 and the message sending module 206 are as shown in FIG.
  • the message receiving module 205 is configured to receive a reply message input by the user according to the historical chat record list.
  • the message sending module 206 is configured to send the reply message to the server, so that the server sends the reply message to a corresponding account of the group.
  • the message sending module 206 is further configured to send the reply message to the server, so that the server sends the reply message to a corresponding account of the specified username.
  • the reply is performed according to the historical chat record list corresponding to the specified user name returned by the server, so that the chat content between the user and the designated user corresponding to the specified user name is more consistent, and Interrupted because the other members of the group were inserted into the session.
  • FIG. 11 is a structural block diagram of a group chat content display apparatus according to a seventh embodiment of the present invention. This embodiment is similar to the technical solution of the third embodiment.
  • the query message carrying the specified user name is a specified format string, where the specified format string includes a first preset character, a specified user name, and a second preset character, wherein the first preset character and the second preset character Can be the same or different.
  • the specified format string may be: "@specify username@" or "#specify username#”.
  • the query message receiving module 201 includes:
  • the first receiving unit 2011 is configured to receive the first preset character input by the user.
  • the first preset character is “@”.
  • the display unit 2012 is configured to receive, by the first receiving unit 2011, the user input After a preset character, the group member user name participating in the group chat for the specified time period is displayed.
  • the second receiving unit 2013 is configured to receive the specified user name selected by the user, and the display unit 2012 is further configured to display the specified user name after the first preset character.
  • the third receiving unit 2014 is configured to receive a second preset character that is input by the user after the displayed specified user name.
  • the second preset character is "@".
  • the group member user name who recently participated in the group chat can be directly obtained, so that the user can directly select the specified user name and input the specified format character.
  • the history chat record corresponding to the specified user name may be directly pulled, and further, the historical chat record is the latest chat content, even in a large group, when the session content is updated quickly, Ability to quickly view previously overwhelmed chats.
  • FIG. 12 is a structural block diagram of a group chat content display apparatus according to an eighth embodiment of the present invention. This embodiment is similar to the technical solution of the fourth embodiment. As shown in FIG. 12, the display module 204 includes:
  • the first display unit 2041 is configured to display the historical chat record list in the group chat window input box.
  • the receiving unit 2042 is configured to receive a historical chat record selected by the user from the historical chat record list.
  • the second display unit 2043 is configured to display the historical chat record in a preset format.
  • the message receiving module 205 is further configured to receive the reply information input by the user for the historical chat record.
  • This embodiment is similar to the technical solution of the fourth embodiment, and specific details may refer to the fourth implementation. For example, it will not be described here.
  • the obtained chat content is displayed in a specified manner, so that the user can respond to the group chat in a targeted manner, thereby improving the user experience.
  • the electronic terminal includes a processor 102 and a memory 104.
  • the memory 104 is configured to store machine readable instructions, including query message receive instructions, request send instructions, record receive instructions, and display instructions that are executable by the processor 102.
  • the storage machine readable instructions further include message receiving instructions and message sending instructions that are executable by the processor 102.
  • the processor 102 is configured to read and execute a query message receiving instruction, a request sending instruction, a record receiving instruction, and a display instruction stored in the memory 104, to implement each of the group chat content display devices shown in FIG. The function of the module.
  • the processor 102 is further configured to read and execute a message receiving instruction and a message sending instruction stored in the memory 104 to implement functions of each module in the group chat content display apparatus shown in FIG.
  • an embodiment of the present invention further provides a non-transitory computer readable storage medium having computer-executable instructions stored therein, such as a non-volatile memory such as an optical disk, a hard disk, or a flash memory.
  • the above computer executable instructions include a query message receiving instruction, a request sending instruction, a record receiving instruction, and a display instruction, for completing the group chat content display method described above when the instruction is executed by a computer or a similar computing device Various operations.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明实施例提供一种群组聊天内容显示方法及装置,所述方法包括以下步骤:接收用户输入的携带指定用户名的查询消息;将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表;接收所述服务器发送的根据所述指定用户名拉取的历史聊天记录列表;以及显示所述历史聊天记录列表。

Description

群组聊天内容显示方法及装置
本申请要求于2015年8月19日提交中国专利局、申请号为201510511122.1、发明名称为“群组聊天内容显示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明属于互联网通讯技术领域,尤其涉及一种群组聊天内容显示方法及装置。
发明背景
由于网络的普及,即时通讯软件成为越来越多的人进行社交活动的重要工具。其中,在用户进行群组聊天时,由于消息更新较快,群成员发送的消息可能会被遗漏。现有技术中,要查看前面的消息只能将聊天记录往前返回一条一条地查看,然而,对于较大的群组,此种方法不能快速查看遗漏消息,效率极低。
发明内容
本发明实施例提供了一种群组聊天内容显示方法及装置,旨在解决现有技术中的群组聊天不能快速查看遗漏消息的问题。
本发明实施例提供一种群组聊天内容显示方法,所述方法包括以下步骤:接收用户输入的携带指定用户名的查询消息;将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表;接收所述服务器发送的根据所述指定用户名拉取的历史聊天记录列表;以及显示所述历史聊天记录列表。
本发明实施例还提供一种群组聊天内容显示装置,所述装置包括: 查询消息接收模块,用于接收用户输入的携带指定用户名的查询消息;请求发送模块,用于将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表;记录接收模块,用于接收所述服务器发送的根据所述指定用户名拉取的历史聊天记录列表;显示模块,用于显示所述历史聊天记录列表。
在本发明实施例所提供的群组聊天内容显示方法及装置中,将输入的携带有指定用户名的查询消息发送给服务器,请求与所述指定用户名对应的历史聊天记录列表,并将所述历史聊天记录列表进行显示,从而能够有效快速查看指定用户名的最近历史聊天记录。
为让本发明的特征和优点能更明显易懂,下文特举实施例,并配合所附图式,作详细说明如下。
附图简要说明
图1示出了本发明实施例提供的一种电子终端的结构框图。
图2为本发明第一实施例提供的群组聊天内容显示方法的流程图。
图3为本发明第二实施例提供的群组聊天内容显示方法的流程图。
图4为本发明第二实施例提供的一个实例中的群组聊天内容显示的示意图。
图5为本发明第二实施例提供的另一个实例中的群组聊天内容显示的示意图。
图6为本发明第二实施例提供的再一个实例中的群组聊天内容显示的示意图。
图7为本发明第三实施例提供的群组聊天内容显示方法的流程图。
图8为本发明第四实施例提供的群组聊天内容显示方法的流程图。
图9为本发明第五实施例提供的群组聊天内容显示装置的结构框 图。
图10为本发明第六实施例提供的群组聊天内容显示装置的结构框图。
图11为本发明第七实施例提供的群组聊天内容显示装置的结构框图。
图12为本发明第八实施例提供的群组聊天内容显示装置的结构框图。
实施本发明的方式
为更进一步阐述本发明所采取的技术手段及功效,以下结合附图及实施例,对依据本发明的具体实施方式、结构、特征及其功效,详细说明如后。
本发明实施例所提供的群组聊天内容显示方法及装置可用于电子终端。
图1示出了本发明实施例提供的一种电子终端的结构框图。如图1所示,电子终端100包括一个或多个(图中仅示出一个)处理器102、存储器104、存储控制器106,外设接口108、RF(Radio Frequency,射频)模块110、网络模块112、传感器114、输入模块116以及显示模块118。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对电子终端100的结构造成限定。例如,电子终端100还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。上述的电子终端100的具体实例包括但并不限于手持式计算机、移动电话、媒体播放器、车载设备、个人数字助理及前述装置的各种组合。
本领域普通技术人员可以理解,相对于处理器102来说,所有其他的组件均属于外设,处理器102与这些外设之间通过多个外设接口108 相耦合。外设接口108可基于以下标准实现:通用异步接收/发送装置(Universal Asynchronous Receiver/Transmitter,UART)、通用输入/输出(General Purpose Input Output,GPIO)、串行外设接口(Serial Peripheral Interface,SPI)、内部集成电路(Inter-Integrated Circuit,I2C),但并不限于上述标准。在一些实例中,外设接口108可仅包括总线;在另一些实例中,外设接口108还可包括其他元件,如一个或者多个控制器,例如用于连接液晶显示面板的显示控制器或者用于连接存储器的存储控制器106。此外,这些控制器还可以从外设接口108中脱离出来,而集成于处理器102内或者相应的外设内。
存储器104可用于存储软件程序以及模块,如本发明实施例中的群组聊天内容显示方法/装置对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的群组聊天内容显示方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至电子终端100。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
RF模块110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF模块110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF模块110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、 协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication,GSM)、增强型移动通信技术(Enhanced Data GSM Environment,EDGE),宽带码分多址技术(wideband code division multiple access,W-CDMA),码分多址技术(Code division access,CDMA)、时分多址技术(time division multiple access,TDMA),无线保真技术(Wireless,Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE 802.11a,IEEE 802.11b,IEEE802.11g和/或IEEE 802.11n)、网络电话(Voice over internet protocal,VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。
网络模块112用于接收以及发送网络信号。上述网络信号可包括无线信号或者有线信号。在一个实例中,上述网络信号为WiFi信号,由于WiFi的工作频率也处于射频的频段内,此时网络模块可具有与RF模块110类似的硬件结构,即可包括天线、射频收发器、数字信号处理器、加密/解密芯片等元件。在一个实例中,上述网络信号为有线网络信号。此时,网络模块112可包括处理器、随机存储器、转换器、晶体振荡器等元件。
传感器114的实例包括但并不限于:光传感器、运行传感器、及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可以感测环境光的明暗,进而处理器102执行的一些模块可利用环境光传感器的输出来自动调节显示的输出。接近传感器可在电子终端100移动到耳边时,关闭显示输出。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖 屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子终端100还可配置的陀螺仪、气压计、湿度计、温度计等其他传感器,在此不再赘述。
输入模块116可用于接收输入的字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入模块116可包括按键以及触控表面。按键例如可包括用于输入字符的字符按键,以及用于触发控制功能的控制按键。控制按键的实例包括“返回主屏”按键、开机/关机按键、拍照键等等。触控表面可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控表面上或在触控表面附近的操作),并根据预先设定的程序驱动相应的连接装置。可选的,触控表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器102,并能接收处理器102发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控表面。除了触控表面,输入模块116还可以包括其他输入设备。上述的其他输入设备包括但不限于物理键盘、轨迹球、鼠标、操作杆等中的一种或多种。
显示模块118用于显示由用户输入的信息、提供给用户的信息以及电子终端100的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。在一个实例中,显示模块118包括一个显示面板。显示面板例如可为一个液晶显示面板(Liquid Crystal Display,LCD)、有机发光二极管显示面板(Organic Light-Emitting Diode Display,OLED)、电泳显示面板(Electro-Phoretic Display,EPD)等。进一步地,触控表面可设置于显示面板上从而与显示面板构成一个整 体。在另一些实施例中,显示模块118还可包括其他类型的显示装置,例如包括一个投影显示装置。相比于一般的显示面板,投影显示装置还需要包括一些用于投影的部件例如透镜组。
上述的软件程序以及模块包括:操作系统以及聊天内容显示模块。本发明实施例中,操作系统例如可为LINUX,UNIX,WINDOWS,或者移动操作系统如Android,IOS等,其可包括各种用于管理系统任务(例如内存管理、存储设备控制、电源管理等)的软件组件和/或驱动,并可与各种硬件或软件组件相互通讯,从而提供其他软件组件的运行环境。聊天内容显示模块运行在操作系统的基础上,用于对电子终端100的群组中指定聊天内容的显示。
图2为本发明第一实施例提供的一种群组聊天内容显示方法的流程图,本实施例的方法可用于图1所示的电子终端100中,如图2所示,本实施例的方法包括以下步骤:
步骤S101、接收用户输入的携带指定用户名的查询消息。
在本实施例中,所述群组可以是任意超过两个成员的即时会话组。例如,QQ群组、讨论组等。本实施例的方法用在群组会话中。由于群组成员不同于一对一私聊,可能存在不同成员之间进行不同的话题。因此群组中两个人或者多个人的聊天很可能会被其它话题中断。在一个实例中,通过一个群组会话窗口输入框接收所述查询消息。进一步地,所述查询消息为指定格式字符串。详细地,所述指定格式字符串携带所述用户要查询的历史聊天记录对应的指定用户名,可以在接收用户输入字符的窗口,如群组会话窗口输入框接收所述指定格式字符串。所述指定格式字符串包括第一预设字符、指定用户名和第二预设字符,其中,第一预设字符和第二预设字符可以相同也可以不同。例如,所述指定格式字符串可以为“@指定用户名@”、或者“#指定用户名#”等。
步骤S102、将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表。
在本步骤中,在接收用户输入字符的窗口接收到所述查询消息后,则向所述服务器发送所述查询消息,以请求与所述指定用户名对应的历史聊天记录列表。在一实施例中,接收用户输入字符的窗口接收到所述查询消息后,默认自动向所述服务器发送历史聊天记录列表的请求。详细地,所述历史聊天记录列表为最近聊天记录,具体可根据实际需求设定指定时间段的聊天记录列表,例如,所述指定时间段可以是距离当前时间一小时内,或半天内等。进一步地,所述指定时间段为系统设定的时间范围。进一步地,也可以仅获取所述指定用户名对应的最近一次在所述群组发布的聊天内容。
进一步地,所述查询消息发送给所述服务器后,可以不在所述群组聊天窗口的已发送消息显示窗口中显示。
步骤S103、接收所述服务器发送的根据所述指定用户名拉取的历史聊天记录列表。
详细地,所述服务器根据所述查询消息从数据库中拉取指定时间段内的所述历史聊天记录列表。
步骤S104、显示所述历史聊天记录列表。
详细地,所述历史聊天记录列表为所述指定用户名对应的在指定时间段内的聊天记录列表,例如,可以是请求当天的聊天记录列表,也可以是一小时内的聊天记录列表,也可以仅获取所述指定用户名对应的最近一次在所述群组发布的聊天内容。
进一步地,所述历史聊天记录显示在接收用户输入聊天内容的窗口,如群组会话窗口输入框,仅供用户查看。
在本实施例的方法中,将输入的携带有指定用户名的查询消息发送 给服务器,请求与所述指定用户名对应的历史聊天记录列表,并将所述历史聊天记录列表进行显示。从而,能够有效快速查看指定用户名的最近历史聊天记录。
图3为本发明第二实施例提供的一种群组聊天内容显示方法的流程图,本实施例与第一实施例的技术方案类似。如图3所示,本实施例的方法包括如下步骤:
步骤S101、接收用户输入的携带指定用户名的查询消息。
图4为本发明第二实施例提供的一个实例中的群组聊天内容显示的示意图。如图4所示,已发送消息显示窗口11显示所述群组中成员已经发送的聊天记录。其中包括用户名为“Lan”的用户以及用户名为“Yutian”的用户之间谈论的关于养狗的话题。由于被其他群成员的话题中断所述关于养狗的话题,用户名为“Lan”的用户若想继续所述关于养狗的话题,则需要获取前面用户名为“Yutian”的用户回复的内容。如图4所示,若用户Lan想查看Yutian的历史聊天记录列表,则在接收用户输入字符窗口12中输入所述查询消息,例如,如图4所示的字符串“@Yutian@”。当然也可以是其它携带用户名“Yutian”的指定格式字符串,例如,“#Yutian#”等。
步骤S102、将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表。所述查询消息为指定格式字符串。
步骤S103、接收所述服务器发送的根据所述指定用户名拉取的历史聊天记录列表。
步骤S104、显示所述历史聊天记录列表。
图5为本发明第二实施例提供的另一个实例中的群组聊天内容显示的示意图。接收到所述服务器发送的历史聊天记录列表后,在接收用户输入字符窗口12中进行显示。详细地,如图5所示,所述历史聊天记 录显示在所述接收用户输入字符窗口12,显示了用户名为“Yutian”的用户在所述群组发送的历史聊天记录列表:其中包括:“好办法,那都给什么吃?”、“历史消息1”以及“历史消息2”等。
步骤S101至步骤S104与第一实施例类似,具体其它细节可进一步参考第一实施例,在此不再赘述。
步骤S105、接收所述用户根据所述历史聊天记录列表输入的回复消息。
在一个实例中,所述用户可根据图5所示的接收用户输入字符窗口12显示的历史聊天记录列表中的历史消息“好办法,那都给什么吃?”进行回复。例如,回复消息“留一碗米饭就够了”。
进一步地,所述接收用户输入字符窗口12显示的历史聊天记录也随着所述回复消息被发送给所述服务器。
步骤S106、将所述回复消息发送给服务器,以使所述服务器将所述回复消息发送给所述群组的对应帐户。
图6为本发明第二实施例提供的再一个实例中的群组聊天内容显示的示意图。如图6所示,回复消息的内容可以是“回复Yutian.好办法,那都给什么吃?--留一碗米饭就够了。”通过自动添加内容“回复Yutian.好办法,那都给什么吃?”,使所需回复消息有针对性,方便群组内成员分辨所述回复消息承接哪位群成员的哪一条消息。
进一步地,所述方法还包括,将所述回复消息发送给所述服务器,以使所述服务器将所述回复消息发送给所述指定用户名的对应帐户。
详细地,在一个实例中,还可以将所述回复消息“回复Yutian.好办法,那都给什么吃?--留一碗米饭就够了。”直接发送给用户名为“Yutian”对应的帐户。
进一步地,消息发送之后,可以自动开启与用户名为“Yutian”的 帐户对应的私聊窗口。
根据本实施例的方法,通过对服务器返回的所述指定用户名对应的历史聊天记录进行回复,可以使所述用户与所述指定用户名对应的指定用户之间的聊天内容更加连贯,不会因为被所述群组的其他成员插入会话而中断。
图7为本发明第三实施例提供的一种群组聊天内容显示方法的流程图,本实施例与第一实施例的技术方案类似。如图7所示,本实施例的方法包括如下步骤:
步骤S101、接收用户输入的携带指定用户名的查询消息。
在一种实施方式中,所述携带指定用户名的查询消息为指定格式字符串,所述指定格式字符串包括第一预设字符、指定用户名和第二预设字符,其中,第一预设字符和第二预设字符可以相同也可以不同。例如所述指定格式字符串可为:“@指定用户名@”或“#指定用户名#”。所述指定格式字符串可以是携带所述指定用户名的其它格式的字符串,本发明不对字符串的格式进行任何限定。
在本实施例中,所述步骤S101包括:
步骤S1011、接收所述用户输入的第一预设字符。例如,所述第一预设字符为“@”。
步骤S1012、显示指定时间段参与所述群组聊天的群成员用户名。
详细地,在接收到用户输入的第一个“@”字符后,接收用户输入字符窗口则显示最近或者指定时间段参与群组聊天人员的用户名。例如,所述指定时间段可以是距离当前时间一小时内,或半天内等。进一步地,所述指定时间段为系统设定的时间范围。在一个实例中,如图4所示,在所述接收用户输入字符窗口12接收到用户输入的第一个“@”字符后,在所述接收用户输入字符窗口12中显示用户名“Yutian”、“Rex”以及 “Jimmy”等。
步骤S1013、接收所述用户选择的所述指定用户名,并将所述指定用户名显示在所述第一预设字符后面。例如,在“@”后显示指定用户名。
所述用户可以从显示的用户名中进行选择。在一个实例中,如图4所示,所述用户选择了用户名“Yutian”,则显示结果为“@Yutian”。
步骤S1014、接收所述用户在所显示的所述指定用户名后面输入的第二预设字符。例如,所述第二预设字符为“@”。
详细地,接收到用户输入的第二个“@”字符时,将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表。
步骤S102、将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表。所述查询消息为指定格式字符串。
步骤S103、接收所述服务器发送的根据所述指定用户名拉取的历史聊天记录列表。
步骤S104、显示所述历史聊天记录列表。
关于本实施例的其它细节可进一步地参考第一、第二实施例,在此不再赘述。
根据本实施例的方法,通过输入指定格式字符串的第一预设字符,可以直接获取最近参与所述群组聊天的群成员用户名,方便用户直接选择指定用户名,并且通过输入指定格式字符串,则可以直接拉取所述指定用户名对应的历史聊天记录。进一步地,所述历史聊天记录为最近的聊天内容,即使在较大群组中,会话内容更新很快的情况下,也能够快速查看前面被淹没的聊天记录。
图8为本发明第四实施例提供的一种群组聊天内容显示方法的流程图,本实施例与第一实施例的技术方案类似。如图8所示,本实施例的方法包括如下步骤:
步骤S101、接收用户输入的携带指定用户名的查询消息。
步骤S102、将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表。所述查询消息为指定格式字符串。
步骤S103、接收所述服务器发送的根据所述指定用户名拉取的历史聊天记录列表。
步骤S104、显示所述历史聊天记录。
在本实施例中,所述步骤S104包括:
步骤S1041、将所述历史聊天记录列表显示在所述群组聊天窗口输入框中。
详细地,如图5所示,所述历史聊天记录显示在所述接收用户输入字符窗口12,显示了用户名为“Yutian”的用户在所述群组发送的历史聊天记录,其中可包括:“好办法,那都给什么吃?”、“历史消息1”以及“历史消息2”。
步骤S1042、接收所述用户从所述历史聊天记录列表中选择的历史聊天记录。
进一步地,如图5所示,所述接收用户输入字符窗口12显示的消息“好办法,那都给什么吃?”、“历史消息1”以及“历史消息2”为可触发指定操作的字体。例如,可以是蓝色可点击字体。所述指定操作为接收用户的选择操作。若接收到用户点击“好办法,那都给什么吃?”消息的操作,则取消显示另外两条在所述接收用户输入字符窗口12显示的消息“历史消息1”以及“历史消息2”。
步骤S1043、以预设格式显示所述历史聊天记录。
进一步地,还可以更改被用户选择的消息的格式。例如,若消息“好办法,那都给什么吃?”被用户选择,则更新显示为“回复Yutian.好办法,那都给什么吃?”。
进一步地,所述方法还包括接收所述用户输入的针对所述历史聊天记录的回复信息。进一步地,所述预设格式显示的所述指定历史聊天记录随着所述用户发送回复消息被发送给服务器,并通过服务器发送给所述群组的对应帐户(如图6所示)或者所述指定用户名的对应帐户。
关于本实施例的其它细节可进一步地参考第一、第二实施例,在此不再赘述。
根据本实施例的方法,通过指定方式将获取的聊天内容进行显示,使所述用户能够针对性的回复群组聊天,提高用户体验。
图9为本发明第五实施例提供的一种群组聊天内容显示装置的结构框图,如图9所示,本实施例的装置包括:查询消息接收模块201、请求发送模块202、记录接收模块203以及显示模块204;
查询消息接收模块201,用于接收用户输入的携带指定用户名的查询消息。
请求发送模块202,用于将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表。所述查询消息为指定格式字符串。
记录接收模块203,用于接收所述服务器发送的根据所述指定用户名拉取的历史聊天记录列表。
显示模块204,用于显示所述历史聊天记录列表。
本实施例与第一实施例的技术方案类似,具体细节可参考第一实施例,在此不再赘述。
利用本实施例的装置,将输入的携带有指定用户名的查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表,并将所述历史聊天记录列表进行显示,从而能够有效快速查看指定用户名的最近历史聊天记录。
图10为本发明第六实施例提供的一种群组聊天内容显示装置的结构框图,本实施例与第二实施例的技术方案类似,其不同之处在于,所述装置还包括:消息接收模块205以及消息发送模块206,如图10所示。
消息接收模块205,用于接收所述用户根据所述历史聊天记录列表输入的回复消息。
消息发送模块206,用于将所述回复消息发送给服务器,以使所述服务器将所述回复消息发送给所述群组的对应帐户。
所述消息发送模块206,还用于将所述回复消息发送给所述服务器,以使所述服务器将所述回复消息发送给所述指定用户名的对应帐户。
本实施例与第二实施例的技术方案类似,具体细节可参考第二实施例,在此不再赘述。
利用本实施例的装置,根据服务器返回的所述指定用户名对应的历史聊天记录列表进行回复,可以使所述用户与所述指定用户名对应的指定用户之间的聊天内容更加连贯,不会因为被所述群组的其他成员插入会话而中断。
图11为本发明第七实施例提供的一种群组聊天内容显示装置的结构框图,本实施例与第三实施例的技术方案类似。所述携带指定用户名的查询消息为指定格式字符串,所述指定格式字符串包括第一预设字符、指定用户名和第二预设字符,其中,第一预设字符和第二预设字符可以相同也可以不同。例如,所述指定格式字符串可为:“@指定用户名@”或“#指定用户名#”。如图11所示,所述查询消息接收模块201包括:
第一接收单元2011,用于接收所述用户输入的第一预设字符。例如所述第一预设字符为“@”。
显示单元2012,用于第一接收单元2011接收到所述用户输入的第 一预设字符后显示指定时间段参与所述群组聊天的群成员用户名。
第二接收单元2013,用于接收所述用户选择的所述指定用户名,并且显示单元2012还用于将所述指定用户名显示在所述第一预设字符后面。
第三接收单元2014,用于接收所述用户在所显示的所述指定用户名后面输入的第二预设字符。例如,所述第二预设字符为“@”。
本实施例与第三实施例的技术方案类似,具体细节可参考第三实施例,在此不再赘述。
利用本实施例的装置,通过输入指定格式字符串的第一预设字符,可以直接获取最近参与所述群组聊天的群成员用户名,方便用户直接选择指定用户名,并且通过输入指定格式字符串,则可以直接拉取所述指定用户名对应的历史聊天记录,进一步地,所述历史聊天记录为最近的聊天内容,即使在较大群组中,会话内容更新很快的情况下,也能够快速查看前面被淹没的聊天记录。
图12为本发明第八实施例提供的一种群组聊天内容显示装置的结构框图,本实施例与第四实施例的技术方案类似。如图12所示,所述显示模块204包括:
第一显示单元2041,用于将所述历史聊天记录列表显示在所述群组聊天窗口输入框中。
接收单元2042,用于接收所述用户从所述历史聊天记录列表中选择的历史聊天记录。
第二显示单元2043,用于以预设格式显示所述历史聊天记录。
进一步地,请一并参考图10,所述消息接收模块205还用于接收所述用户输入的针对所述历史聊天记录的回复信息。
本实施例与第四实施例的技术方案类似,具体细节可参考第四实施 例,在此不再赘述。
利用本实施例的装置,通过指定方式将获取的聊天内容进行显示,使所述用户能够针对性的回复群组聊天,提高用户体验。
根据图1所示的电子终端的结构,所述电子终端包括处理器102和存储器104。
所述存储器104,用于存储机器可读指令,包括可以由处理器102执行的查询消息接收指令、请求发送指令、记录接收指令和显示指令。
进一步地,所述存储机器可读指令还包括可以由处理器102执行的消息接收指令和消息发送指令。
所述处理器102,用于读取和执行所述存储器104中存储的查询消息接收指令、请求发送指令、记录接收指令和显示指令,以实现图9所示的群组聊天内容显示装置中各模块的功能。
所述处理器102,进一步用于读取和执行所述存储器104中存储的消息接收指令和消息发送指令,以实现图10所示的群组聊天内容显示装置中各模块的功能。
此外,本发明实施例还提供一种非易失性计算机可读存储介质,其内存储有计算机可执行指令,上述的计算机可读存储介质例如为非易失性存储器例如光盘、硬盘、或者闪存。上述的计算机可执行指令包括查询消息接收指令、请求发送指令、记录接收指令和显示指令,用于在所述指令被计算机或者类似的运算装置执行时,完成上述的群组聊天内容显示方法中的各种操作。
需要说明的是,本说明书中的各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同或相似的部分互相参见即可。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部 分说明即可。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括要素的过程、方法、物品或者装置中还存在另外的相同要素。
以上该,仅是本发明的实施例而已,并非对本发明作任何形式上的限制,虽然本发明已以实施例揭露如上,然而并非用以限定本发明,任何熟悉本专业的技术人员,在不脱离本发明技术方案范围内,当可利用上述揭示的技术内容做出些许更动或修饰为等同变化的等效实施例,但凡是未脱离本发明技术方案内容,依据本发明的技术实质对以上实施例所作的任何简单修改、等同变化与修饰,均仍属于本发明技术方案的范围内。

Claims (13)

  1. 一种群组聊天内容显示方法,其特征在于,所述方法包括以下步骤:
    接收用户输入的携带指定用户名的查询消息;
    将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表;
    接收所述服务器发送的根据所述指定用户名拉取的历史聊天记录列表;以及
    显示所述历史聊天记录列表。
  2. 如权利要求1所述的群组聊天内容显示方法,其特征在于,所述方法还包括:
    接收所述用户根据所述历史聊天记录列表输入的回复消息;以及
    将所述回复消息发送给服务器,以使所述服务器将所述回复消息发送给所述群组的对应帐户。
  3. 如权利要求2所述的群组聊天内容显示方法,其特征在于,还包括:将所述回复消息发送给所述服务器,以使所述服务器将所述回复消息发送给所述指定用户名的对应帐户。
  4. 如权利要求1所述的群组聊天内容显示方法,其特征在于,所述查询消息为指定格式字符串。
  5. 如权利要求4所述的群组聊天内容显示方法,其特征在于,所述指定格式字符串包括第一预设字符、指定用户名和第二预设字符,其中,第一预设字符和第二预设字符可以相同也可以不同,所述接收用户输入的携带指定用户名的查询消息包括:
    接收到所述用户输入的第一预设字符后,显示指定时间段参与所述 群组聊天的群成员用户名;
    接收所述用户选择的所述指定用户名,并将所述指定用户名显示在所述第一预设字符后面;以及
    接收所述用户在所显示的所述指定用户名后面输入的第二预设字符。
  6. 如权利要求5所述的群组聊天内容显示方法,其特征在于,所述显示所述历史聊天记录包括:
    将所述历史聊天记录列表显示在所述群组聊天窗口输入框中;
    接收所述用户从所述历史聊天记录列表中选择的历史聊天记录;以及
    以预设格式显示所述历史聊天记录;
    所述方法还包括:
    接收所述用户输入的针对所述历史聊天记录的回复信息。
  7. 一种群组聊天内容显示装置,其特征在于,所述装置包括:
    查询消息接收模块,用于接收用户输入的携带指定用户名的查询消息;
    请求发送模块,用于将所述查询消息发送给服务器,以请求与所述指定用户名对应的历史聊天记录列表;
    记录接收模块,用于接收所述服务器发送的根据所述指定用户名拉取的历史聊天记录列表;以及
    显示模块,用于显示所述历史聊天记录列表。
  8. 如权利要求7所述的群组聊天内容显示装置,其特征在于,所述装置还包括:
    消息接收模块,用于接收所述用户根据所述历史聊天记录列表输入的回复消息;以及
    消息发送模块,用于将所述回复消息发送给服务器,以使所述服务器将所述回复消息发送给所述群组的对应帐户。
  9. 如权利要求8所述的群组聊天内容显示装置,其特征在于,所述消息发送模块,还用于将所述回复消息发送给所述服务器,以使所述服务器将所述回复消息发送给所述指定用户名的对应帐户。
  10. 如权利要求7所述的群组聊天内容显示装置,其特征在于,所述查询消息为指定格式字符串。
  11. 如权利要求10所述的群组聊天内容显示装置,其特征在于,所述指定格式字符串包括第一预设字符、指定用户名和第二预设字符,其中,第一预设字符和第二预设字符可以相同也可以不同,所述查询消息接收模块包括:
    第一接收单元,用于接收所述用户输入的第一预设字符;
    显示单元,用于所述第一接收单元接收到所述用户输入的第一预设字符后显示指定时间段参与所述群组聊天的群成员用户名;
    第二接收单元,用于接收所述用户选择的所述指定用户名,所述显示单元还用于将所述指定用户名显示在所述第一预设字符后面;以及
    第三接收单元,用于接收所述用户在所显示的所述指定用户名后面输入的第二预设字符。
  12. 如权利要求11所述的群组聊天内容显示装置,其特征在于,所述显示模块包括:
    第一显示单元,用于将所述历史聊天记录列表显示在所述群组聊天窗口输入框中;
    接收单元,用于接收所述用户从所述历史聊天记录列表中选择的历史聊天记录;以及
    第二显示单元,用于以预设格式显示所述历史聊天记录;
    所述消息接收模块还用于接收所述用户输入的针对所述历史聊天记录的回复信息。
  13. 一种非易失性计算机可读存储介质,包括计算机可执行指令,当所述计算机可执行指令被执行时,完成权利要求1-9任一条所述的方法步骤。
PCT/CN2016/082744 2015-08-19 2016-05-20 群组聊天内容显示方法及装置 WO2017028577A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/793,341 US11068551B2 (en) 2015-08-19 2017-10-25 Method and apparatus for displaying contents of group chat

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510511122.1 2015-08-19
CN201510511122.1A CN106470148B (zh) 2015-08-19 2015-08-19 群组聊天内容显示方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/793,341 Continuation US11068551B2 (en) 2015-08-19 2017-10-25 Method and apparatus for displaying contents of group chat

Publications (1)

Publication Number Publication Date
WO2017028577A1 true WO2017028577A1 (zh) 2017-02-23

Family

ID=58051096

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/082744 WO2017028577A1 (zh) 2015-08-19 2016-05-20 群组聊天内容显示方法及装置

Country Status (3)

Country Link
US (1) US11068551B2 (zh)
CN (1) CN106470148B (zh)
WO (1) WO2017028577A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804434A (zh) * 2017-04-26 2018-11-13 腾讯科技(深圳)有限公司 一种消息查询方法、服务器及终端设备
CN115174503A (zh) * 2022-05-18 2022-10-11 深圳供电局有限公司 一种应急事件沟通方法、装置、存储介质和计算机设备
CN115242739A (zh) * 2022-07-28 2022-10-25 维沃移动通信有限公司 信息处理方法、装置和电子设备

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106991156B (zh) * 2017-03-29 2020-08-07 维沃移动通信有限公司 一种通讯记录检索方法及移动终端
CN107360309B (zh) * 2017-06-23 2019-11-12 珠海格力电器股份有限公司 一种会话消息的呈现方法、装置和用户终端
CN107465599A (zh) * 2017-08-15 2017-12-12 竞技世界(北京)网络技术有限公司 一种即时通讯中的日程设置方法及装置
CN109561198A (zh) * 2017-09-27 2019-04-02 阿里巴巴集团控股有限公司 消息展示方法及装置
CN109962840B (zh) * 2017-12-26 2021-07-13 福建兑信科技有限公司 一种个性化群聊信息读取系统及方法
US20190238605A1 (en) * 2018-01-31 2019-08-01 Salesforce.Com, Inc. Verification of streaming message sequence
US10895964B1 (en) * 2018-09-25 2021-01-19 Snap Inc. Interface to display shared user groups
CN109992179B (zh) * 2018-12-25 2022-03-15 创新先进技术有限公司 会话记录查找方法以及装置
CN109710154A (zh) * 2018-12-29 2019-05-03 上海掌门科技有限公司 用于展示聊天信息的方法和设备
CN109948313B (zh) * 2019-03-15 2022-11-25 江苏金智教育信息股份有限公司 一种个人信息查看赋权的方法和装置
CN109951380B (zh) * 2019-03-29 2021-11-09 上海连尚网络科技有限公司 用于查找会话消息的方法、电子设备和计算机可读介质
CN111147661B (zh) * 2019-12-10 2021-09-17 维沃移动通信有限公司 一种界面显示方法及电子设备
CN113014404B (zh) * 2019-12-19 2022-06-24 腾讯科技(深圳)有限公司 一种消息传输方法、装置、服务器以及第二客户端
CN111695070B (zh) * 2020-06-12 2024-04-05 腾讯科技(深圳)有限公司 一种在线内容显示控制方法、装置、电子设备和存储介质
CN113765773B (zh) * 2020-11-09 2023-04-07 北京沃东天骏信息技术有限公司 一种沟通记录处理方法和装置
CN112667118A (zh) * 2020-12-29 2021-04-16 上海掌门科技有限公司 显示历史聊天消息的方法、设备以及计算机可读介质
CN112866092B (zh) * 2021-01-22 2023-11-14 维沃移动通信有限公司 群聊创建方法及群聊创建装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056188A (zh) * 2006-04-10 2007-10-17 腾讯科技(深圳)有限公司 向讨论组中指定成员推送历史记录的方法及系统
CN101304454A (zh) * 2008-06-25 2008-11-12 中兴通讯股份有限公司 一种快速查看短信历史记录的方法
CN103279465A (zh) * 2012-12-18 2013-09-04 北京奇虎科技有限公司 通信历史数据的控制方法及装置
CN104699378A (zh) * 2013-12-04 2015-06-10 腾讯科技(深圳)有限公司 多人聊天中信息浏览方法和系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8751572B1 (en) * 2007-06-20 2014-06-10 Google Inc. Multi-user chat search and access to chat archive
US20140074951A1 (en) * 2012-09-12 2014-03-13 Paul Misir Enhanced chat functionality and searching
KR102208362B1 (ko) * 2013-12-16 2021-01-28 삼성전자 주식회사 전자 장치의 메시지 관리 방법 및 장치
CN106034068A (zh) * 2015-03-20 2016-10-19 阿里巴巴集团控股有限公司 群聊中进行私聊的方法、装置、客户端、服务器及系统
US10547571B2 (en) * 2015-05-06 2020-01-28 Kakao Corp. Message service providing method for message service linked to search service and message server and user terminal to perform the method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056188A (zh) * 2006-04-10 2007-10-17 腾讯科技(深圳)有限公司 向讨论组中指定成员推送历史记录的方法及系统
CN101304454A (zh) * 2008-06-25 2008-11-12 中兴通讯股份有限公司 一种快速查看短信历史记录的方法
CN103279465A (zh) * 2012-12-18 2013-09-04 北京奇虎科技有限公司 通信历史数据的控制方法及装置
CN104699378A (zh) * 2013-12-04 2015-06-10 腾讯科技(深圳)有限公司 多人聊天中信息浏览方法和系统

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804434A (zh) * 2017-04-26 2018-11-13 腾讯科技(深圳)有限公司 一种消息查询方法、服务器及终端设备
CN108804434B (zh) * 2017-04-26 2022-12-27 腾讯科技(深圳)有限公司 一种消息查询方法、服务器及终端设备
CN115174503A (zh) * 2022-05-18 2022-10-11 深圳供电局有限公司 一种应急事件沟通方法、装置、存储介质和计算机设备
CN115174503B (zh) * 2022-05-18 2024-01-19 深圳供电局有限公司 一种应急事件沟通方法、装置、存储介质和计算机设备
CN115242739A (zh) * 2022-07-28 2022-10-25 维沃移动通信有限公司 信息处理方法、装置和电子设备
CN115242739B (zh) * 2022-07-28 2024-03-22 维沃移动通信有限公司 信息处理方法、装置和电子设备

Also Published As

Publication number Publication date
CN106470148A (zh) 2017-03-01
US20180046726A1 (en) 2018-02-15
CN106470148B (zh) 2019-12-13
US11068551B2 (en) 2021-07-20

Similar Documents

Publication Publication Date Title
WO2017028577A1 (zh) 群组聊天内容显示方法及装置
AU2021269359B2 (en) Display method and apparatus
WO2016169465A1 (zh) 一种显示弹幕信息的方法、装置和系统
WO2016184302A1 (zh) 消息转发方法及电子设备
WO2016150270A1 (zh) 群组会话消息处理方法和装置
US20190306277A1 (en) Interaction between devices displaying application status information
WO2016107501A1 (zh) 智能设备控制方法及装置
WO2017041664A1 (zh) 一种征信评分确定方法、装置及存储介质
WO2019029406A1 (zh) 表情展示方法、装置、计算机可读存储介质及终端
WO2019206036A1 (zh) 消息管理方法及终端
WO2017012439A1 (zh) 图片拼接方法、终端及系统
WO2016127795A1 (zh) 业务处理方法、服务器及终端
CN110166439B (zh) 设备共享方法、终端、路由器及服务器
WO2016116041A1 (zh) 一种信息推荐的管理方法、装置和系统
WO2015143900A1 (zh) 网络会议中进行数据共享的方法、装置及系统
WO2015058613A1 (zh) 一种检测数据包的方法、装置及存储介质
WO2014206143A1 (zh) 未读消息数目显示方法、装置和设备
WO2015085951A1 (zh) 邀请好友观看视频的方法、终端、服务器及系统
WO2017012423A1 (zh) 一种显示即时通信消息的方法和终端
WO2018006841A1 (zh) 二维码信息传输方法、装置以及设备
WO2018040813A1 (zh) 音视频通信方法、终端、服务器及存储介质
WO2016119165A1 (zh) 历史聊天记录展示的方法和装置
CN110855549A (zh) 一种消息显示方法及终端设备
TW201541337A (zh) 移動終端中訊息的顯示方法、裝置和系統
TW201730739A (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: 16836442

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 06/07/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16836442

Country of ref document: EP

Kind code of ref document: A1